before SUBSTin in the Makefile.
* ltconfig.in (reload_flag): Prepend a blank if it doesn't start
with one.
+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.
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
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