version 1.2, 2003/03/07 03:12:22 |
version 1.3, 2003/03/17 14:33:47 |
|
|
fi]) |
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 |
|
] |
|
) |
|
|