Line | |
---|
1 | # Add --enable-maintainer-mode option to configure.
|
---|
2 | # From Jim Meyering
|
---|
3 |
|
---|
4 | # serial 1
|
---|
5 |
|
---|
6 | AC_DEFUN([AM_MAINTAINER_MODE],
|
---|
7 | [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
---|
8 | dnl maintainer-mode is disabled by default
|
---|
9 | AC_ARG_ENABLE(maintainer-mode,
|
---|
10 | [ --enable-maintainer-mode enable make rules and dependencies not useful
|
---|
11 | (and sometimes confusing) to the casual installer],
|
---|
12 | USE_MAINTAINER_MODE=$enableval,
|
---|
13 | USE_MAINTAINER_MODE=no)
|
---|
14 | AC_MSG_RESULT($USE_MAINTAINER_MODE)
|
---|
15 | AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes)
|
---|
16 | MAINT=$MAINTAINER_MODE_TRUE
|
---|
17 | AC_SUBST(MAINT)dnl
|
---|
18 | ]
|
---|
19 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.