]>
Commit | Line | Data |
---|---|---|
22e05272 JM |
1 | # generated automatically by aclocal 1.15.1 -*- Autoconf -*- |
2 | ||
3 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
dd365157 | 4 | |
dd365157 MS |
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. | |
8 | ||
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. | |
13 | ||
22e05272 | 14 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
5b043f08 | 15 | # AM_CONDITIONAL -*- Autoconf -*- |
dd365157 | 16 | |
22e05272 | 17 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. |
5b043f08 GK |
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. | |
dd365157 | 22 | |
dd365157 MS |
23 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
24 | # ------------------------------------- | |
25 | # Define a conditional. | |
26 | AC_DEFUN([AM_CONDITIONAL], | |
22e05272 JM |
27 | [AC_PREREQ([2.52])dnl |
28 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
29 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
5213506e RW |
30 | AC_SUBST([$1_TRUE])dnl |
31 | AC_SUBST([$1_FALSE])dnl | |
32 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
33 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
34 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
dd365157 MS |
35 | if $2; then |
36 | $1_TRUE= | |
37 | $1_FALSE='#' | |
38 | else | |
39 | $1_TRUE='#' | |
40 | $1_FALSE= | |
41 | fi | |
42 | AC_CONFIG_COMMANDS_PRE( | |
43 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
44 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
45 | Usually this means the macro was only invoked conditionally.]]) | |
46 | fi])]) | |
47 | ||
5b043f08 | 48 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
dd365157 MS |
49 | # From Jim Meyering |
50 | ||
22e05272 | 51 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. |
5b043f08 GK |
52 | # |
53 | # This file is free software; the Free Software Foundation | |
54 | # gives unlimited permission to copy and/or distribute it, | |
55 | # with or without modifications, as long as this notice is preserved. | |
dd365157 | 56 | |
5213506e RW |
57 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) |
58 | # ---------------------------------- | |
59 | # Control maintainer-specific portions of Makefiles. | |
22e05272 JM |
60 | # Default is to disable them, unless 'enable' is passed literally. |
61 | # For symmetry, 'disable' may be passed as well. Anyway, the user | |
5213506e | 62 | # can override the default with the --enable/--disable switch. |
dd365157 | 63 | AC_DEFUN([AM_MAINTAINER_MODE], |
5213506e RW |
64 | [m4_case(m4_default([$1], [disable]), |
65 | [enable], [m4_define([am_maintainer_other], [disable])], | |
66 | [disable], [m4_define([am_maintainer_other], [enable])], | |
67 | [m4_define([am_maintainer_other], [enable]) | |
68 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | |
2394528d | 69 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
5213506e RW |
70 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
71 | AC_ARG_ENABLE([maintainer-mode], | |
22e05272 JM |
72 | [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], |
73 | am_maintainer_other[ make rules and dependencies not useful | |
74 | (and sometimes confusing) to the casual installer])], | |
75 | [USE_MAINTAINER_MODE=$enableval], | |
76 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
dd365157 | 77 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
5213506e | 78 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
dd365157 | 79 | MAINT=$MAINTAINER_MODE_TRUE |
5213506e | 80 | AC_SUBST([MAINT])dnl |
dd365157 MS |
81 | ] |
82 | ) | |
83 | ||
22e05272 | 84 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. |
5b043f08 GK |
85 | # |
86 | # This file is free software; the Free Software Foundation | |
87 | # gives unlimited permission to copy and/or distribute it, | |
88 | # with or without modifications, as long as this notice is preserved. | |
89 | ||
22e05272 JM |
90 | # _AM_PROG_CC_C_O |
91 | # --------------- | |
92 | # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | |
93 | # to automatically call this. | |
94 | AC_DEFUN([_AM_PROG_CC_C_O], | |
95 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
5213506e | 96 | AC_REQUIRE_AUX_FILE([compile])dnl |
22e05272 JM |
97 | AC_LANG_PUSH([C])dnl |
98 | AC_CACHE_CHECK( | |
99 | [whether $CC understands -c and -o together], | |
100 | [am_cv_prog_cc_c_o], | |
101 | [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | |
102 | # Make sure it works both with $CC and with simple cc. | |
103 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
104 | # compilers refuse to overwrite an existing .o file with -o, | |
105 | # though they will create one. | |
106 | am_cv_prog_cc_c_o=yes | |
107 | for am_i in 1 2; do | |
108 | if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | |
109 | && test -f conftest2.$ac_objext; then | |
110 | : OK | |
111 | else | |
112 | am_cv_prog_cc_c_o=no | |
113 | break | |
114 | fi | |
115 | done | |
116 | rm -f core conftest* | |
117 | unset am_i]) | |
118 | if test "$am_cv_prog_cc_c_o" != yes; then | |
dd365157 MS |
119 | # Losing compiler, so override with the script. |
120 | # FIXME: It is wrong to rewrite CC. | |
121 | # But if we don't then we get into trouble of one sort or another. | |
122 | # A longer-term fix would be to have automake use am__CC in this case, | |
123 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
124 | CC="$am_aux_dir/compile $CC" | |
125 | fi | |
22e05272 | 126 | AC_LANG_POP([C])]) |
dd365157 | 127 | |
22e05272 JM |
128 | # For backward compatibility. |
129 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | |
130 | ||
131 | # Copyright (C) 2006-2017 Free Software Foundation, Inc. | |
5213506e RW |
132 | # |
133 | # This file is free software; the Free Software Foundation | |
134 | # gives unlimited permission to copy and/or distribute it, | |
135 | # with or without modifications, as long as this notice is preserved. | |
136 | ||
5213506e RW |
137 | # _AM_SUBST_NOTMAKE(VARIABLE) |
138 | # --------------------------- | |
139 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
140 | # This macro is traced by Automake. | |
141 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
142 | ||
143 | # AM_SUBST_NOTMAKE(VARIABLE) | |
2394528d | 144 | # -------------------------- |
5213506e RW |
145 | # Public sister of _AM_SUBST_NOTMAKE. |
146 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
147 | ||
1cf3d07d SE |
148 | m4_include([../ltoptions.m4]) |
149 | m4_include([../ltsugar.m4]) | |
150 | m4_include([../ltversion.m4]) | |
12a27363 | 151 | m4_include([../lt~obsolete.m4]) |
22e05272 JM |
152 | m4_include([../config/cet.m4]) |
153 | m4_include([../config/lthostflags.m4]) | |
154 | m4_include([../config/multi.m4]) | |
155 | m4_include([../config/override.m4]) | |
e8e66971 | 156 | m4_include([../config/toolexeclibdir.m4]) |
dd365157 | 157 | m4_include([acinclude.m4]) |