Commit | Line | Data |
---|---|---|
2e8cf49e NC |
1 | # generated automatically by aclocal 1.11.6 -*- Autoconf -*- |
2 | ||
3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
4 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | |
5 | # Inc. | |
6 | # This file is free software; the Free Software Foundation | |
7 | # gives unlimited permission to copy and/or distribute it, | |
8 | # with or without modifications, as long as this notice is preserved. | |
9 | ||
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | # PARTICULAR PURPOSE. | |
14 | ||
15 | # AM_CONDITIONAL -*- Autoconf -*- | |
16 | ||
17 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
18 | # Free Software Foundation, Inc. | |
19 | # | |
20 | # This file is free software; the Free Software Foundation | |
21 | # gives unlimited permission to copy and/or distribute it, | |
22 | # with or without modifications, as long as this notice is preserved. | |
23 | ||
24 | # serial 9 | |
25 | ||
26 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | |
27 | # ------------------------------------- | |
28 | # Define a conditional. | |
29 | AC_DEFUN([AM_CONDITIONAL], | |
30 | [AC_PREREQ(2.52)dnl | |
31 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
32 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
33 | AC_SUBST([$1_TRUE])dnl | |
34 | AC_SUBST([$1_FALSE])dnl | |
35 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
36 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
37 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
38 | if $2; then | |
39 | $1_TRUE= | |
40 | $1_FALSE='#' | |
41 | else | |
42 | $1_TRUE='#' | |
43 | $1_FALSE= | |
44 | fi | |
45 | AC_CONFIG_COMMANDS_PRE( | |
46 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
47 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
48 | Usually this means the macro was only invoked conditionally.]]) | |
49 | fi])]) | |
50 | ||
51 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | |
52 | # From Jim Meyering | |
53 | ||
54 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, | |
55 | # 2011 Free Software Foundation, Inc. | |
56 | # | |
57 | # This file is free software; the Free Software Foundation | |
58 | # gives unlimited permission to copy and/or distribute it, | |
59 | # with or without modifications, as long as this notice is preserved. | |
60 | ||
61 | # serial 5 | |
62 | ||
63 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) | |
64 | # ---------------------------------- | |
65 | # Control maintainer-specific portions of Makefiles. | |
66 | # Default is to disable them, unless `enable' is passed literally. | |
67 | # For symmetry, `disable' may be passed as well. Anyway, the user | |
68 | # can override the default with the --enable/--disable switch. | |
69 | AC_DEFUN([AM_MAINTAINER_MODE], | |
70 | [m4_case(m4_default([$1], [disable]), | |
71 | [enable], [m4_define([am_maintainer_other], [disable])], | |
72 | [disable], [m4_define([am_maintainer_other], [enable])], | |
73 | [m4_define([am_maintainer_other], [enable]) | |
74 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | |
75 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | |
76 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed | |
77 | AC_ARG_ENABLE([maintainer-mode], | |
78 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | |
79 | (and sometimes confusing) to the casual installer], | |
80 | [USE_MAINTAINER_MODE=$enableval], | |
81 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
82 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | |
83 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | |
84 | MAINT=$MAINTAINER_MODE_TRUE | |
85 | AC_SUBST([MAINT])dnl | |
86 | ] | |
87 | ) | |
88 | ||
89 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | |
90 | ||
91 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | |
92 | # | |
93 | # This file is free software; the Free Software Foundation | |
94 | # gives unlimited permission to copy and/or distribute it, | |
95 | # with or without modifications, as long as this notice is preserved. | |
96 | ||
97 | # serial 3 | |
98 | ||
99 | # _AM_SUBST_NOTMAKE(VARIABLE) | |
100 | # --------------------------- | |
101 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
102 | # This macro is traced by Automake. | |
103 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
104 | ||
105 | # AM_SUBST_NOTMAKE(VARIABLE) | |
106 | # -------------------------- | |
107 | # Public sister of _AM_SUBST_NOTMAKE. | |
108 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
109 | ||
110 | m4_include([../../config/lead-dot.m4]) |