+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
# 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
;;
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"
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
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* )