From: Akim Demaille Date: Wed, 24 Jan 2001 13:41:52 +0000 (+0000) Subject: Preserve INSTALL too. X-Git-Tag: autoconf-2.50~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7579cc0d645c8b0262ce357195c37f2ceab3f4e7;p=thirdparty%2Fautoconf.git 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. --- diff --git a/ChangeLog b/ChangeLog index 89b124a75..1372c0fba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2001-01-24 Akim Demaille + + 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 While preserved in configure, srcdir is trashed in config.status. diff --git a/acgeneral.m4 b/acgeneral.m4 index a306eb5b4..4c27b9707 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -3633,8 +3633,8 @@ Configured on host $ac_hostname by 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 @@ -3893,8 +3893,7 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue * ) 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"]) @@ -3921,9 +3920,9 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 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 @@ -3974,7 +3973,7 @@ cat >>$CONFIG_STATUS <<\EOF 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 @@ -4369,10 +4368,6 @@ if test "$no_recursion" != yes; then 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 @@ -4427,12 +4422,6 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL], *) # 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. diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index a306eb5b4..4c27b9707 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -3633,8 +3633,8 @@ Configured on host $ac_hostname by 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 @@ -3893,8 +3893,7 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue * ) 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"]) @@ -3921,9 +3920,9 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 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 @@ -3974,7 +3973,7 @@ cat >>$CONFIG_STATUS <<\EOF 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 @@ -4369,10 +4368,6 @@ if test "$no_recursion" != yes; then 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 @@ -4427,12 +4422,6 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL], *) # 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.