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