Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r107b01a r44f44617  
    127127# Expand $ac_aux_dir to an absolute path.
    128128am_aux_dir=`cd "$ac_aux_dir" && pwd`
     129])
     130
     131# AM_COND_IF                                            -*- Autoconf -*-
     132
     133# Copyright (C) 2008-2014 Free Software Foundation, Inc.
     134#
     135# This file is free software; the Free Software Foundation
     136# gives unlimited permission to copy and/or distribute it,
     137# with or without modifications, as long as this notice is preserved.
     138
     139# _AM_COND_IF
     140# _AM_COND_ELSE
     141# _AM_COND_ENDIF
     142# --------------
     143# These macros are only used for tracing.
     144m4_define([_AM_COND_IF])
     145m4_define([_AM_COND_ELSE])
     146m4_define([_AM_COND_ENDIF])
     147
     148# AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
     149# ---------------------------------------
     150# If the shell condition COND is true, execute IF-TRUE, otherwise execute
     151# IF-FALSE.  Allow automake to learn about conditional instantiating macros
     152# (the AC_CONFIG_FOOS).
     153AC_DEFUN([AM_COND_IF],
     154[m4_ifndef([_AM_COND_VALUE_$1],
     155           [m4_fatal([$0: no such condition "$1"])])dnl
     156_AM_COND_IF([$1])dnl
     157if test -z "$$1_TRUE"; then :
     158  m4_n([$2])[]dnl
     159m4_ifval([$3],
     160[_AM_COND_ELSE([$1])dnl
     161else
     162  $3
     163])dnl
     164_AM_COND_ENDIF([$1])dnl
     165fi[]dnl
    129166])
    130167
     
    666703AC_SUBST([am__leading_dot])])
    667704
     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
    668741# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    669742
     
    11711244]) # _AM_PROG_TAR
    11721245
    1173 m4_include([automake/libtool.m4])
    1174 m4_include([automake/ltoptions.m4])
    1175 m4_include([automake/ltsugar.m4])
    1176 m4_include([automake/ltversion.m4])
    1177 m4_include([automake/lt~obsolete.m4])
Note: See TracChangeset for help on using the changeset viewer.