1 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
4 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
5 # Free Software Foundation, Inc.
7 # This file is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
13 AC_DEFUN([AM_MAINTAINER_MODE],
14 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
15 dnl maintainer-mode is disabled by default
16 AC_ARG_ENABLE(maintainer-mode,
17 [ --enable-maintainer-mode enable make rules and dependencies not useful
18 (and sometimes confusing) to the casual installer],
19 USE_MAINTAINER_MODE=$enableval,
20 USE_MAINTAINER_MODE=no)
21 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
22 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
23 MAINT=$MAINTAINER_MODE_TRUE
28 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])