Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r857638d r44f44617  
    703703AC_SUBST([am__leading_dot])])
    704704
     705# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
     706# From Jim Meyering
     707
     708# Copyright (C) 1996-2014 Free Software Foundation, Inc.
     709#
     710# This file is free software; the Free Software Foundation
     711# gives unlimited permission to copy and/or distribute it,
     712# with or without modifications, as long as this notice is preserved.
     713
     714# AM_MAINTAINER_MODE([DEFAULT-MODE])
     715# ----------------------------------
     716# Control maintainer-specific portions of Makefiles.
     717# Default is to disable them, unless 'enable' is passed literally.
     718# For symmetry, 'disable' may be passed as well.  Anyway, the user
     719# can override the default with the --enable/--disable switch.
     720AC_DEFUN([AM_MAINTAINER_MODE],
     721[m4_case(m4_default([$1], [disable]),
     722       [enable], [m4_define([am_maintainer_other], [disable])],
     723       [disable], [m4_define([am_maintainer_other], [enable])],
     724       [m4_define([am_maintainer_other], [enable])
     725        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
     726AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
     727  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
     728  AC_ARG_ENABLE([maintainer-mode],
     729    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
     730      am_maintainer_other[ make rules and dependencies not useful
     731      (and sometimes confusing) to the casual installer])],
     732    [USE_MAINTAINER_MODE=$enableval],
     733    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
     734  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
     735  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
     736  MAINT=$MAINTAINER_MODE_TRUE
     737  AC_SUBST([MAINT])dnl
     738]
     739)
     740
    705741# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    706742
Note: See TracChangeset for help on using the changeset viewer.