]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (lt_cv_file_magic_cmd): Don't use '${MAGIC_CMD}' or
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 30 Sep 2000 05:21:57 +0000 (05:21 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 30 Sep 2000 05:21:57 +0000 (05:21 +0000)
'${OBJDUMP}'; Solaris' /bin/sh loses with `}' in cache files.
(ac_cv_path_MAGIC_CMD): Renamed to lt_cv_path_MAGIC_CMD.

ChangeLog
libtool.m4

index 8cb713f1a66863929249aa6e18b383300e7ebbdd..de3b44eddeb1c032adbbae059baa4536550ae0e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       * libtool.m4 (lt_cv_file_magic_cmd): Don't use '${MAGIC_CMD}' or
+       '${OBJDUMP}'; Solaris' /bin/sh loses with `}' in cache files.
+       (ac_cv_path_MAGIC_CMD): Renamed to lt_cv_path_MAGIC_CMD.
+
 2000-09-28  Gary V. Vaughan  <gvv@techie.com>
 
        * libtool.m4 (MAGIC_CMD): Don't use MAGIC, since BSD versions of
index 29dbdef62ca1f26a5029b551a199b895de24e2a8..8724376888b6f3e7119bdea946666d94c965024e 100644 (file)
@@ -57,7 +57,7 @@ _LT_AC_PROG_ECHO_BACKSLASH
 # Only perform the check for file, if the check method requires it
 case "$deplibs_check_method" in
 file_magic*)
-  if test "$file_magic_cmd" = '${MAGIC_CMD}'; then
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     AC_PATH_MAGIC
   fi
   ;;
@@ -2741,7 +2741,7 @@ AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   ;;
   ?:/*)
-  ac_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
   ;;
   *)
   ac_save_MAGIC_CMD="$MAGIC_CMD"
@@ -2908,7 +2908,7 @@ test -n "$reload_flag" && reload_flag=" $reload_flag"
 AC_DEFUN(AC_DEPLIBS_CHECK_METHOD,
 [AC_CACHE_CHECK([how to recognise dependant libraries],
 lt_cv_deplibs_check_method,
-[lt_cv_file_magic_cmd='${MAGIC_CMD}'
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
 lt_cv_file_magic_test_file=
 lt_cv_deplibs_check_method='unknown'
 # Need to set the preceding variable on all platforms that support
@@ -2939,7 +2939,7 @@ bsdi4*)
 
 cygwin* | mingw* | pw32*)
   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
   ;;
 
 freebsd*)