diff options
author | Ken Foskey <waratah@openoffice.org> | 2002-10-03 11:29:49 +0000 |
---|---|---|
committer | Ken Foskey <waratah@openoffice.org> | 2002-10-03 11:29:49 +0000 |
commit | fa2027fb0ac817455bb289345c369f8dbc378ee2 (patch) | |
tree | a3f1d877495079497766073f4f3f68000dfbd423 /dmake/aclocal.m4 | |
parent | cd4c8bcdb73c5e3db92bd4333e40cfb20b34d6a0 (diff) |
dmake: This is a reworked version of the configure process, without automake and aclocal
Diffstat (limited to 'dmake/aclocal.m4')
-rwxr-xr-x | dmake/aclocal.m4 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dmake/aclocal.m4 b/dmake/aclocal.m4 index 8a9e9015a70c..e15fbf32a326 100755 --- a/dmake/aclocal.m4 +++ b/dmake/aclocal.m4 @@ -505,3 +505,23 @@ else $1_FALSE= fi]) +# Add --enable-maintainer-mode option to configure. +# From Jim Meyering + +# serial 1 + +AC_DEFUN([AM_MAINTAINER_MODE], +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode is disabled by default + 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) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST(MAINT)dnl +] +) + |