+2001-01-24 Akim Demaille <akim@epita.fr>
+
+ Preserve INSTALL too.
+
+ * acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_INSTALL for internal
+ computations, and therefore use INSTALL where ac_given_INSTALL
+ was used.
+ (_AC_OUTPUT_SUBDIRS): There is no point in computing INSTALL in
+ here. It's not even used.
+
2001-01-24 Akim Demaille <akim@epita.fr>
While preserved in configure, srcdir is trashed in config.status.
srcdir=$srcdir
AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
[dnl Leave those double quotes here: this $INSTALL is evaluated in a
-dnl here document, wbich might result in `srcdir=/bin/install -c'.
-ac_given_INSTALL="$INSTALL"
+dnl here document, which might result in `INSTALL=/bin/install -c'.
+INSTALL="$INSTALL"
])dnl
EOF
* ) ac_file_in=$ac_file.in ;;
esac
- # Adjust a relative ac_srcdir, ac_top_srcdir, and INSTALL for
- # subdirectories.
+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
ac_dir=`AS_DIRNAME(["$ac_file"])`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
AS_MKDIR_P(["$ac_dir"])
esac
AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
-[ case $ac_given_INSTALL in
- [[\\/$]]* | ?:[[\\/]]* ) INSTALL=$ac_given_INSTALL ;;
- *) INSTALL=$ac_dots$ac_given_INSTALL ;;
+[ case $INSTALL in
+ [[\\/$]]* | ?:[[\\/]]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_dots$INSTALL ;;
esac
])dnl
s,@configure_input@,$configure_input,;t t
s,@srcdir@,$ac_srcdir,;t t
s,@top_srcdir@,$ac_top_srcdir,;t t
-AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$INSTALL,;t t
+AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$ac_INSTALL,;t t
])dnl
dnl The parens around the eval prevent an "illegal io" in Ultrix sh.
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
esac
done
-AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
-[ ac_given_INSTALL=$INSTALL
-])dnl
-
for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
# Do not complain, so a configure script can configure whichever
*) # Relative path.
ac_sub_cache_file=$ac_dots$cache_file ;;
esac
-AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
-[ case $ac_given_INSTALL in
- [[\\/$]]* | ?:[[\\/]]*) INSTALL=$ac_given_INSTALL ;;
- *) INSTALL=$ac_dots$ac_given_INSTALL ;;
- esac
-])dnl
AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir])
# The eval makes quoting arguments work.
srcdir=$srcdir
AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
[dnl Leave those double quotes here: this $INSTALL is evaluated in a
-dnl here document, wbich might result in `srcdir=/bin/install -c'.
-ac_given_INSTALL="$INSTALL"
+dnl here document, which might result in `INSTALL=/bin/install -c'.
+INSTALL="$INSTALL"
])dnl
EOF
* ) ac_file_in=$ac_file.in ;;
esac
- # Adjust a relative ac_srcdir, ac_top_srcdir, and INSTALL for
- # subdirectories.
+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
ac_dir=`AS_DIRNAME(["$ac_file"])`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
AS_MKDIR_P(["$ac_dir"])
esac
AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
-[ case $ac_given_INSTALL in
- [[\\/$]]* | ?:[[\\/]]* ) INSTALL=$ac_given_INSTALL ;;
- *) INSTALL=$ac_dots$ac_given_INSTALL ;;
+[ case $INSTALL in
+ [[\\/$]]* | ?:[[\\/]]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_dots$INSTALL ;;
esac
])dnl
s,@configure_input@,$configure_input,;t t
s,@srcdir@,$ac_srcdir,;t t
s,@top_srcdir@,$ac_top_srcdir,;t t
-AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$INSTALL,;t t
+AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$ac_INSTALL,;t t
])dnl
dnl The parens around the eval prevent an "illegal io" in Ultrix sh.
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
esac
done
-AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
-[ ac_given_INSTALL=$INSTALL
-])dnl
-
for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
# Do not complain, so a configure script can configure whichever
*) # Relative path.
ac_sub_cache_file=$ac_dots$cache_file ;;
esac
-AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
-[ case $ac_given_INSTALL in
- [[\\/$]]* | ?:[[\\/]]*) INSTALL=$ac_given_INSTALL ;;
- *) INSTALL=$ac_dots$ac_given_INSTALL ;;
- esac
-])dnl
AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir])
# The eval makes quoting arguments work.