summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2018-01-25 10:41:27 +0100
committerAndreas Schwab <schwab@suse.de>2018-01-25 17:20:28 +0100
commit128c43a2d6308668032b285ca08228bebf26e74e (patch)
tree912e647884e97aebf86dba8c66ab295f2ed2b486 /aclocal.m4
parent86530b9fed4466a7c05e20ec4d5fd89b4dc41fa6 (diff)
LIBC_SLIBDIR_RTLDDIR: substitute arguments in single quotes
The arguments of the LIBC_SLIBDIR_RTLDDIR macro are used both in unquoted and single quoted context, so that neither shell nor makefile variable references work. Consistently put them in single quotes so that they can refer to makefile variables.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index fe2a3713cc..08fa1ac6d0 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -293,8 +293,8 @@ AC_DEFUN([LIBC_SLIBDIR_RTLDDIR],
[test -n "$libc_cv_slibdir" ||
case "$prefix" in
/usr | /usr/)
- libc_cv_slibdir=/$1
- libc_cv_rtlddir=/$2
+ libc_cv_slibdir='/$1'
+ libc_cv_rtlddir='/$2'
if test "$libdir" = '${exec_prefix}/lib'; then
libdir='${exec_prefix}/$1';
# Locale data can be shared between 32-bit and 64-bit libraries.