]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* configure.in (file_magic_cmd, reload_flag): Duplicate `$'s
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Tue, 20 Mar 2001 05:44:23 +0000 (05:44 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 20 Mar 2001 05:44:23 +0000 (05:44 +0000)
before SUBSTin in the Makefile.
* ltconfig.in (reload_flag): Prepend a blank if it doesn't start
with one.

ChangeLog
configure.in
ltconfig.in

index d7c4ecffefbe1bce58b9309784e6b8989476d533..c8abbf8e3e6872b1fd588493dfbd85f912ff2859 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-03-20  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * configure.in (file_magic_cmd, reload_flag): Duplicate `$'s
+       before SUBSTin in the Makefile.
+       * ltconfig.in (reload_flag): Prepend a blank if it doesn't start
+       with one.
+       
 2001-03-16  Albert Chin  <china@thewrittenword.com>
        
        * ltcf-cxx.sh (archive_cmds) [HP-UX, GCC]: Link with -fPIC.
index 88250c51c0bab57eacf05e32bf87ee0288226ede..177d71b220320ce364ec47a1f877b8d470e39853 100644 (file)
@@ -86,6 +86,13 @@ done
 AC_SUBST(ACINCLUDE_M4_LIST)
 AC_SUBST(DIST_MAKEFILE_LIST)
 
+dnl Quote these variables
+for var in file_magic_cmd reload_flag; do
+  eval val=\$$var
+[ val=`echo "X$val" | sed -e '1s,^X,,' -e 's,[$],$$,g'`]
+  eval $var=\$val
+done  
+
 AC_OUTPUT_COMMANDS([
   test -f ${saved_top_srcdir}/ltconfig || ${MAKE-make} ${saved_top_srcdir}/ltconfig
   test -f ${saved_top_srcdir}/ltmain.sh || ${MAKE-make} ${saved_top_srcdir}/ltmain.sh
index 80b1408f088e8ed25454946bf30e5aaa17619b10..4d5882be794e0cfaafb47f186ba0a92466756cda 100755 (executable)
@@ -950,6 +950,10 @@ else
   echo "${ac_t}no" 1>&6
 fi
 
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 test -z "$deplibs_check_method" && deplibs_check_method=unknown