1 # Add --enable-maintainer-mode option to configure.
4 # Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2, or (at your option)
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23 AC_DEFUN([AM_MAINTAINER_MODE],
24 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
25 dnl maintainer-mode is disabled by default
26 AC_ARG_ENABLE(maintainer-mode,
27 [ --enable-maintainer-mode enable make rules and dependencies not useful
28 (and sometimes confusing) to the casual installer],
29 USE_MAINTAINER_MODE=$enableval,
30 USE_MAINTAINER_MODE=no)
31 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
32 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
33 MAINT=$MAINTAINER_MODE_TRUE
38 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])