[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_OUTPUT_COMMANDS
From: |
Akim Demaille |
Subject: |
Re: AC_OUTPUT_COMMANDS |
Date: |
24 Jan 2001 14:28:13 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake) |
>>>>> "Akim" == Akim Demaille <address@hidden> writes:
Akim> As for INSTALL, I'll do that in a separate patch, that one is
Akim> big enough as is.
FYI:
Index: ChangeLog
from Akim Demaille <address@hidden>
Preserve INSTALL too.
* acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_INSTALL for internal
computations, and therefore use INSTALL where ac_given_INSTALL
was.
(_AC_OUTPUT_SUBDIRS): There is no point in computing INSTALL in
here. It's not even used.
Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.679
diff -u -u -r1.679 acgeneral.m4
--- acgeneral.m4 2001/01/24 13:19:11 1.679
+++ acgeneral.m4 2001/01/24 13:27:08
@@ -3633,8 +3633,8 @@
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 @@
* ) 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 @@
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 @@
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 @@
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 @@
*) # 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.
- Re: AC_OUTPUT_COMMANDS, (continued)
- Re: AC_OUTPUT_COMMANDS, Akim Demaille, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Alexandre Oliva, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Akim Demaille, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Akim Demaille, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Akim Demaille, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Alexandre Oliva, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Akim Demaille, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Akim Demaille, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Ralf Corsepius, 2001/01/24
- Re: AC_OUTPUT_COMMANDS, Akim Demaille, 2001/01/24
- Re: AC_OUTPUT_COMMANDS,
Akim Demaille <=