This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Small configure tweak
- From: Keith Seitz <keiths at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 14 Aug 2002 10:49:03 -0700 (PDT)
- Subject: [PATCH] Small configure tweak
Hi,
I've committed the following simple patch, which allows AC_ARG_ENABLE
scripts to add directories to GDB's SUBDIR variable.
Keith
ChangeLog
2002-08-14 Keith Seitz <keiths@redhat.com>
* configure.in: Move SUBDIRS to near top of the file so that
--enable options may add things to it.
If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs.
* configure: Regenerate.
Patch
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.89
diff -p -r1.89 configure.in
*** configure.in 9 Jul 2002 22:59:36 -0000 1.89
--- configure.in 14 Aug 2002 17:40:52 -0000
*************** CONFIG_CLEAN=
*** 52,57 ****
--- 52,58 ----
CONFIG_INSTALL=
CONFIG_UNINSTALL=
+ SUBDIRS="doc testsuite nlm"
configdirs="doc testsuite"
AC_ARG_ENABLE(multi-ice,
*************** if test "${enable_gdbtk}" = "yes"; then
*** 1087,1092 ****
--- 1088,1096 ----
fi
fi
fi
+
+ SUBDIRS="${SUBDIRS} gdbtk"
+ configdirs="${configdirs} gdbtk"
fi
AC_SUBST(X_CFLAGS)
*************** case "${GDB_MULTI_ARCH}" in
*** 1293,1299 ****
*) AC_MSG_ERROR("GDB: Unknown GDB_MULTI_ARCH value ${GDB_MULTI_ARCH}");;
esac
- SUBDIRS="doc testsuite nlm"
if test "${enable_multi_ice}" = "yes"; then
SUBDIRS="${SUBDIRS} multi-ice"
fi
--- 1297,1302 ----