Install msysDTK-1.0.1
[msysgit.git] / share / aclocal-1.7 / maintainer.m4
blobf63e673602e6418ff76eefc17d7d06e8497d7d6c
1 # Add --enable-maintainer-mode option to configure.
2 # From Jim Meyering
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)
9 # any later version.
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
19 # 02111-1307, USA.
21 # serial 2
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
34   AC_SUBST(MAINT)dnl
38 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])