| Hi!
|
| This patch makes autoconf prefer configure.gnu over configure when
| configuring subdirectories; this is usefull if these subdirectories also
| contain packages not using autoconf.
|
| This patch originates from the GeekGadgets project
| (http://www.ninemoons.com/GG/).
I don't understand this `configure.gnu' stuff. Why is not named
configure? This name is not reserved to Autoconf.
I'm not convinced Autoconf should be adjusted to this kind of
extensions.
| This is basically a resend of a part of
| <[EMAIL PROTECTED]>.
|
| Index: ChangeLog
| from Rüdiger Kuhlmann <[EMAIL PROTECTED]>
| * acgeneral.m4(_AC_OUTPUT_SUBDIRS): check for configure.in as well
Your ChangeLog seems wrong.
| Index: acgeneral.m4
| ===================================================================
| RCS file: /cvs/autoconf/acgeneral.m4,v
| retrieving revision 1.545
| diff -u -r1.545 acgeneral.m4
| --- acgeneral.m4 2000/08/07 12:33:18 1.545
| +++ acgeneral.m4 2000/09/08 18:48:26
| @@ -5146,7 +5146,9 @@
| esac
|
| # Check for guested configure; otherwise get Cygnus style configure.
| - if test -f $ac_sub_srcdir/configure; then
| + if test -f $ac_sub_srcdir/configure.gnu; then
| + ac_sub_configure="$SHELL $ac_sub_srcdir/configure.gnu"
| + elif test -f $ac_sub_srcdir/configure; then
| ac_sub_configure="$SHELL $ac_sub_srcdir/configure"
| elif test -f $ac_sub_srcdir/configure.in; then
| ac_sub_configure=$ac_configure
This is wrong: you should update the --help recursion too.
Akim