Mercurial > hg > CbC > CbC_gcc
comparison libobjc/aclocal.m4 @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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_AUX_DIR_EXPAND -*- Autoconf -*- | |
16 | |
17 # Copyright (C) 2001, 2003, 2005, 2011 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. | |
22 | |
23 # serial 1 | |
24 | |
25 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | |
26 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
27 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
28 # | |
29 # Of course, Automake must honor this variable whenever it calls a | |
30 # tool from the auxiliary directory. The problem is that $srcdir (and | |
31 # therefore $ac_aux_dir as well) can be either absolute or relative, | |
32 # depending on how configure is run. This is pretty annoying, since | |
33 # it makes $ac_aux_dir quite unusable in subdirectories: in the top | |
34 # source directory, any form will work fine, but in subdirectories a | |
35 # relative path needs to be adjusted first. | |
36 # | |
37 # $ac_aux_dir/missing | |
38 # fails when called from a subdirectory if $ac_aux_dir is relative | |
39 # $top_srcdir/$ac_aux_dir/missing | |
40 # fails if $ac_aux_dir is absolute, | |
41 # fails when called from a subdirectory in a VPATH build with | |
42 # a relative $ac_aux_dir | |
43 # | |
44 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | |
45 # are both prefixed by $srcdir. In an in-source build this is usually | |
46 # harmless because $srcdir is `.', but things will broke when you | |
47 # start a VPATH build or use an absolute $srcdir. | |
48 # | |
49 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | |
50 # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | |
51 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | |
52 # and then we would define $MISSING as | |
53 # MISSING="\${SHELL} $am_aux_dir/missing" | |
54 # This will work as long as MISSING is not called from configure, because | |
55 # unfortunately $(top_srcdir) has no meaning in configure. | |
56 # However there are other variables, like CC, which are often used in | |
57 # configure, and could therefore not use this "fixed" $ac_aux_dir. | |
58 # | |
59 # Another solution, used here, is to always expand $ac_aux_dir to an | |
60 # absolute PATH. The drawback is that using absolute paths prevent a | |
61 # configured tree to be moved without reconfiguration. | |
62 | |
63 AC_DEFUN([AM_AUX_DIR_EXPAND], | |
64 [dnl Rely on autoconf to set up CDPATH properly. | |
65 AC_PREREQ([2.50])dnl | |
66 # expand $ac_aux_dir to an absolute path | |
67 am_aux_dir=`cd $ac_aux_dir && pwd` | |
68 ]) | |
69 | |
70 # AM_CONDITIONAL -*- Autoconf -*- | |
71 | |
72 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
73 # Free Software Foundation, Inc. | |
74 # | |
75 # This file is free software; the Free Software Foundation | |
76 # gives unlimited permission to copy and/or distribute it, | |
77 # with or without modifications, as long as this notice is preserved. | |
78 | |
79 # serial 9 | |
80 | |
81 # AM_CONDITIONAL(NAME, SHELL-CONDITION) | |
82 # ------------------------------------- | |
83 # Define a conditional. | |
84 AC_DEFUN([AM_CONDITIONAL], | |
85 [AC_PREREQ(2.52)dnl | |
86 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
87 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
88 AC_SUBST([$1_TRUE])dnl | |
89 AC_SUBST([$1_FALSE])dnl | |
90 _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
91 _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
92 m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
93 if $2; then | |
94 $1_TRUE= | |
95 $1_FALSE='#' | |
96 else | |
97 $1_TRUE='#' | |
98 $1_FALSE= | |
99 fi | |
100 AC_CONFIG_COMMANDS_PRE( | |
101 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
102 AC_MSG_ERROR([[conditional "$1" was never defined. | |
103 Usually this means the macro was only invoked conditionally.]]) | |
104 fi])]) | |
105 | |
106 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | |
107 # From Jim Meyering | |
108 | |
109 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, | |
110 # 2011 Free Software Foundation, Inc. | |
111 # | |
112 # This file is free software; the Free Software Foundation | |
113 # gives unlimited permission to copy and/or distribute it, | |
114 # with or without modifications, as long as this notice is preserved. | |
115 | |
116 # serial 5 | |
117 | |
118 # AM_MAINTAINER_MODE([DEFAULT-MODE]) | |
119 # ---------------------------------- | |
120 # Control maintainer-specific portions of Makefiles. | |
121 # Default is to disable them, unless `enable' is passed literally. | |
122 # For symmetry, `disable' may be passed as well. Anyway, the user | |
123 # can override the default with the --enable/--disable switch. | |
124 AC_DEFUN([AM_MAINTAINER_MODE], | |
125 [m4_case(m4_default([$1], [disable]), | |
126 [enable], [m4_define([am_maintainer_other], [disable])], | |
127 [disable], [m4_define([am_maintainer_other], [enable])], | |
128 [m4_define([am_maintainer_other], [enable]) | |
129 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | |
130 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | |
131 dnl maintainer-mode's default is 'disable' unless 'enable' is passed | |
132 AC_ARG_ENABLE([maintainer-mode], | |
133 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | |
134 (and sometimes confusing) to the casual installer], | |
135 [USE_MAINTAINER_MODE=$enableval], | |
136 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
137 AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | |
138 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | |
139 MAINT=$MAINTAINER_MODE_TRUE | |
140 AC_SUBST([MAINT])dnl | |
141 ] | |
142 ) | |
143 | |
144 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | |
145 | |
146 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
147 # Free Software Foundation, Inc. | |
148 # | |
149 # This file is free software; the Free Software Foundation | |
150 # gives unlimited permission to copy and/or distribute it, | |
151 # with or without modifications, as long as this notice is preserved. | |
152 | |
153 # serial 6 | |
154 | |
155 # AM_PROG_CC_C_O | |
156 # -------------- | |
157 # Like AC_PROG_CC_C_O, but changed for automake. | |
158 AC_DEFUN([AM_PROG_CC_C_O], | |
159 [AC_REQUIRE([AC_PROG_CC_C_O])dnl | |
160 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
161 AC_REQUIRE_AUX_FILE([compile])dnl | |
162 # FIXME: we rely on the cache variable name because | |
163 # there is no other way. | |
164 set dummy $CC | |
165 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` | |
166 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o | |
167 if test "$am_t" != yes; then | |
168 # Losing compiler, so override with the script. | |
169 # FIXME: It is wrong to rewrite CC. | |
170 # But if we don't then we get into trouble of one sort or another. | |
171 # A longer-term fix would be to have automake use am__CC in this case, | |
172 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
173 CC="$am_aux_dir/compile $CC" | |
174 fi | |
175 dnl Make sure AC_PROG_CC is never called again, or it will override our | |
176 dnl setting of CC. | |
177 m4_define([AC_PROG_CC], | |
178 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) | |
179 ]) | |
180 | |
181 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | |
182 # | |
183 # This file is free software; the Free Software Foundation | |
184 # gives unlimited permission to copy and/or distribute it, | |
185 # with or without modifications, as long as this notice is preserved. | |
186 | |
187 # serial 3 | |
188 | |
189 # _AM_SUBST_NOTMAKE(VARIABLE) | |
190 # --------------------------- | |
191 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
192 # This macro is traced by Automake. | |
193 AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
194 | |
195 # AM_SUBST_NOTMAKE(VARIABLE) | |
196 # -------------------------- | |
197 # Public sister of _AM_SUBST_NOTMAKE. | |
198 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
199 | |
200 m4_include([../config/lthostflags.m4]) | |
201 m4_include([../config/multi.m4]) | |
202 m4_include([../config/override.m4]) | |
203 m4_include([../ltoptions.m4]) | |
204 m4_include([../ltsugar.m4]) | |
205 m4_include([../ltversion.m4]) | |
206 m4_include([../lt~obsolete.m4]) | |
207 m4_include([acinclude.m4]) |