325
325
rmdir .tst 2>/dev/null
326
326
AC_SUBST([am__leading_dot])])
328
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
331
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
332
# Free Software Foundation, Inc.
334
# This file is free software; the Free Software Foundation
335
# gives unlimited permission to copy and/or distribute it,
336
# with or without modifications, as long as this notice is preserved.
340
# AM_MAINTAINER_MODE([DEFAULT-MODE])
341
# ----------------------------------
342
# Control maintainer-specific portions of Makefiles.
343
# Default is to disable them, unless `enable' is passed literally.
344
# For symmetry, `disable' may be passed as well. Anyway, the user
345
# can override the default with the --enable/--disable switch.
346
AC_DEFUN([AM_MAINTAINER_MODE],
347
[m4_case(m4_default([$1], [disable]),
348
[enable], [m4_define([am_maintainer_other], [disable])],
349
[disable], [m4_define([am_maintainer_other], [enable])],
350
[m4_define([am_maintainer_other], [enable])
351
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
352
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
353
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
354
AC_ARG_ENABLE([maintainer-mode],
355
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
356
(and sometimes confusing) to the casual installer],
357
[USE_MAINTAINER_MODE=$enableval],
358
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
359
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
360
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
361
MAINT=$MAINTAINER_MODE_TRUE
366
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
328
368
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
330
370
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008