summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2008-01-18 09:25:02 +0200
committerGuillem Jover <guillem@debian.org>2008-01-18 09:25:30 +0200
commit05f5eb2927fcc973e8ba0679d0904846e26ca79f (patch)
treebdcf9a6499be9d71377d89ab5f7f7a6bc363b914 /m4
parent503c90889ea252e3467189f9002e6e40f4c2aeaa (diff)
downloaddpkg-05f5eb2927fcc973e8ba0679d0904846e26ca79f.tar.gz
Do not use backticks inside double quotes in m4 files
Fix portability issues with ancient shells on HP-UX. Closes: #24514
Diffstat (limited to 'm4')
-rw-r--r--m4/arch.m44
-rw-r--r--m4/libs.m44
2 files changed, 4 insertions, 4 deletions
diff --git a/m4/arch.m4 b/m4/arch.m4
index e6f242a0b..2f3ae5f73 100644
--- a/m4/arch.m4
+++ b/m4/arch.m4
@@ -4,8 +4,8 @@
# the target architecture, to avoid duplicating its logic.
AC_DEFUN([_DPKG_ARCHITECTURE], [
AC_REQUIRE([AC_CANONICAL_SYSTEM])dnl
-$2="`cd $srcdir/scripts; \
- PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$target -q$1 2>/dev/null`"
+$2=`cd $srcdir/scripts; \
+ PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$target -q$1 2>/dev/null`
])# _DPKG_ARCHITECURE
# DPKG_CPU_TYPE
diff --git a/m4/libs.m4 b/m4/libs.m4
index 3a1531b35..1bb1cea6c 100644
--- a/m4/libs.m4
+++ b/m4/libs.m4
@@ -71,9 +71,9 @@ if test "x$with_selinux" != "xno"; then
[AC_DEFINE(WITH_SELINUX, 1,
[Define to 1 to compile in SELinux support])
if test "x$with_selinux" = "xstatic"; then
- dpkg_selinux_libs="-Wl,-Bstatic `pkg-config --static --libs libselinux` -Wl,-Bdynamic"
+ dpkg_selinux_libs="-Wl,-Bstatic "`pkg-config --static --libs libselinux`" -Wl,-Bdynamic"
else
- dpkg_selinux_libs="`pkg-config --libs libselinux`"
+ dpkg_selinux_libs=`pkg-config --libs libselinux`
fi
SELINUX_LIBS="${SELINUX_LIBS:+$SELINUX_LIBS }$dpkg_selinux_libs"
with_selinux="yes"],