annotate libobjc/aclocal.m4 @ 118:fd00160c1b76

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