]> git.eshelyaron.com Git - emacs.git/commitdiff
Add --enable-maintainer-mode, substitute MAINT.
authorAndreas Schwab <schwab@suse.de>
Wed, 23 Jul 2003 11:16:16 +0000 (11:16 +0000)
committerAndreas Schwab <schwab@suse.de>
Wed, 23 Jul 2003 11:16:16 +0000 (11:16 +0000)
configure.in

index e71fbc37919eb2378a9137ac64fd9a1d0152f0f7..f364f685be97a9af9715fc511638833551eef9c5 100644 (file)
@@ -125,6 +125,18 @@ AC_ARG_ENABLE(carbon-app,
                           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