changeset 52028:64a5bcc93508

Add --enable-maintainer-mode, substitute MAINT.
author Andreas Schwab <schwab@suse.de>
date Wed, 23 Jul 2003 11:16:16 +0000
parents 7a8f8df10a26
children d3f844766f69
files configure.in
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Jul 23 09:22:55 2003 +0000
+++ b/configure.in	Wed Jul 23 11:16:16 2003 +0000
@@ -125,6 +125,18 @@
                           specify install directory for Emacs.app on Mac OS X]],
 [ carbon_appdir_x=${enableval}])
 
+AC_ARG_ENABLE(maintainer-mode,
+[  --enable-maintainer-mode enable make rules and dependencies not useful
+                          (and sometimes confusing) to the casual installer],
+      USE_MAINTAINER_MODE=$enableval,
+      USE_MAINTAINER_MODE=no)
+if test $USE_MAINTAINER_MODE = yes; then
+  MAINT=
+else
+  MAINT=#
+fi
+AC_SUBST(MAINT)
+
 #### Make srcdir absolute, if it isn't already.  It's important to
 #### avoid running the path through pwd unnecessarily, since pwd can
 #### give you automounter prefixes, which can go away.  We do all this