aboutsummaryrefslogtreecommitdiff
path: root/etc/configure.in
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-07-30 22:44:50 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-07-30 22:44:50 +0000
commit1983cb9a6259358af5c98891aa05a1b2e8736875 (patch)
tree3a2dd851d840adbc7787ced4130f2b41d717bdab /etc/configure.in
parent5bb4d8dedf5ac57875bdcf0928a2bd9e128ee069 (diff)
downloadgdb-1983cb9a6259358af5c98891aa05a1b2e8736875.zip
gdb-1983cb9a6259358af5c98891aa05a1b2e8736875.tar.gz
gdb-1983cb9a6259358af5c98891aa05a1b2e8736875.tar.bz2
intl/
* Makefile.in (aclocal_deps): New variable. ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax. libdecnumber/ * Makefile.in (aclocal_deps): New variable. ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax. etc/ * Makefile.in (AUTOCONF, configure_deps): New variables. ($(srcdir)/configure, config.status): New rules. (Makefile): Depend on config.status. * configure.in: Accept --enable-maintainer-mode, set and substitute MAINT accordingly. gdb/ * Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, aclocal_m4_deps) (AUTOCONF, configure_deps, AUTOHEADER): New variables. ($(srcdir)/aclocal.m4, $(srcdir)/configure, $(srcdir)/config.in) (am--refresh): New rules. (stamp-h, config.status): List config.in and configure including $(srcdir)/ prefix. * aclocal.m4: Regenerate. * configure: Regenerate.
Diffstat (limited to 'etc/configure.in')
-rw-r--r--etc/configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/configure.in b/etc/configure.in
index 7285d37..6b94aac 100644
--- a/etc/configure.in
+++ b/etc/configure.in
@@ -4,6 +4,21 @@ AC_INIT(Makefile.in)
AC_PROG_INSTALL
+# Command-line options.
+# Very limited version of AC_MAINTAINER_MODE.
+AC_ARG_ENABLE([maintainer-mode],
+ [AC_HELP_STRING([--enable-maintainer-mode],
+ [enable make rules and dependencies not useful (and
+ sometimes confusing) to the casual installer])],
+ [case ${enable_maintainer_mode} in
+ yes) MAINT='' ;;
+ no) MAINT='#' ;;
+ *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;;
+ esac
+ maintainer_mode=${enableval}],
+ [MAINT='#'])
+AC_SUBST([MAINT])dnl
+
AC_SUBST(datarootdir)
AC_SUBST(docdir)
AC_SUBST(htmldir)