From: Glenn Morris Date: Wed, 23 Oct 2013 22:02:42 +0000 (-0400) Subject: configure.ac: Tweak previous change X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1168 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fb6f3c4a164df27150517cd10741f50a8b82f442;p=emacs.git configure.ac: Tweak previous change --- diff --git a/configure.ac b/configure.ac index 74ac7695cdc..6a2beb70703 100644 --- a/configure.ac +++ b/configure.ac @@ -74,8 +74,12 @@ dnl --program-transform-name options AC_ARG_PROGRAM dnl http://debbugs.gnu.org/15260 -for var in "`pwd`" "`cd \"$srcdir\"; pwd`" "$bindir" \ - "$datadir" "$sharedstatedir" "$libexecdir"; do +dnl I think we have to check, eg, both exec_prefix and bindir, +dnl because the latter by default is not yet expanded, but the user +dnl may have specified a value for it via --bindir. +dnl Note that abs_srcdir and abs_builddir are not yet defined. :( +for var in "`pwd`" "`cd \"$srcdir\"; pwd`" "$prefix" "$exec_prefix" \ + "$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do dnl configure sets LC_ALL=C early on, so this range should work. case "$var" in