OLD | NEW |
1 # generated automatically by aclocal 1.10.1 -*- Autoconf -*- | 1 # generated automatically by aclocal 1.9.6 -*- Autoconf -*- |
2 | 2 |
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
4 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | 4 # 2005 Free Software Foundation, Inc. |
5 # This file is free software; the Free Software Foundation | 5 # This file is free software; the Free Software Foundation |
6 # gives unlimited permission to copy and/or distribute it, | 6 # gives unlimited permission to copy and/or distribute it, |
7 # with or without modifications, as long as this notice is preserved. | 7 # with or without modifications, as long as this notice is preserved. |
8 | 8 |
9 # This program is distributed in the hope that it will be useful, | 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 | 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
12 # PARTICULAR PURPOSE. | 12 # PARTICULAR PURPOSE. |
13 | 13 |
14 m4_ifndef([AC_AUTOCONF_VERSION], | 14 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. |
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
16 m4_if(AC_AUTOCONF_VERSION, [2.65],, | |
17 [m4_warning([this file was generated for autoconf 2.65. | |
18 You have another version of autoconf. It may work, but is not guaranteed to. | |
19 If you have problems, you may need to regenerate the build system entirely. | |
20 To do so, use the procedure documented by the package, typically `autoreconf'.])
]) | |
21 | |
22 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. | |
23 # | 15 # |
24 # This file is free software; the Free Software Foundation | 16 # This file is free software; the Free Software Foundation |
25 # gives unlimited permission to copy and/or distribute it, | 17 # gives unlimited permission to copy and/or distribute it, |
26 # with or without modifications, as long as this notice is preserved. | 18 # with or without modifications, as long as this notice is preserved. |
27 | 19 |
28 # AM_AUTOMAKE_VERSION(VERSION) | 20 # AM_AUTOMAKE_VERSION(VERSION) |
29 # ---------------------------- | 21 # ---------------------------- |
30 # Automake X.Y traces this macro to ensure aclocal.m4 has been | 22 # Automake X.Y traces this macro to ensure aclocal.m4 has been |
31 # generated from the m4 files accompanying Automake X.Y. | 23 # generated from the m4 files accompanying Automake X.Y. |
32 # (This private macro should not be called outside this file.) | 24 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) |
33 AC_DEFUN([AM_AUTOMAKE_VERSION], | |
34 [am__api_version='1.10' | |
35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | |
36 dnl require some minimum version. Point them to the right macro. | |
37 m4_if([$1], [1.10.1], [], | |
38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | |
39 ]) | |
40 | |
41 # _AM_AUTOCONF_VERSION(VERSION) | |
42 # ----------------------------- | |
43 # aclocal traces this macro to find the Autoconf version. | |
44 # This is a private macro too. Using m4_define simplifies | |
45 # the logic in aclocal, which can simply ignore this definition. | |
46 m4_define([_AM_AUTOCONF_VERSION], []) | |
47 | 25 |
48 # AM_SET_CURRENT_AUTOMAKE_VERSION | 26 # AM_SET_CURRENT_AUTOMAKE_VERSION |
49 # ------------------------------- | 27 # ------------------------------- |
50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | 28 # Call AM_AUTOMAKE_VERSION so it can be traced. |
51 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. | 29 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
52 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | 30 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 [AM_AUTOMAKE_VERSION([1.10.1])dnl | 31 » [AM_AUTOMAKE_VERSION([1.9.6])]) |
54 m4_ifndef([AC_AUTOCONF_VERSION], | |
55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
56 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) | |
57 | 32 |
58 # AM_AUX_DIR_EXPAND -*- Autoconf -*- | 33 # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 | 34 |
60 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | 35 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
61 # | 36 # |
62 # This file is free software; the Free Software Foundation | 37 # This file is free software; the Free Software Foundation |
63 # gives unlimited permission to copy and/or distribute it, | 38 # gives unlimited permission to copy and/or distribute it, |
64 # with or without modifications, as long as this notice is preserved. | 39 # with or without modifications, as long as this notice is preserved. |
65 | 40 |
66 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | 41 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 78 |
104 AC_DEFUN([AM_AUX_DIR_EXPAND], | 79 AC_DEFUN([AM_AUX_DIR_EXPAND], |
105 [dnl Rely on autoconf to set up CDPATH properly. | 80 [dnl Rely on autoconf to set up CDPATH properly. |
106 AC_PREREQ([2.50])dnl | 81 AC_PREREQ([2.50])dnl |
107 # expand $ac_aux_dir to an absolute path | 82 # expand $ac_aux_dir to an absolute path |
108 am_aux_dir=`cd $ac_aux_dir && pwd` | 83 am_aux_dir=`cd $ac_aux_dir && pwd` |
109 ]) | 84 ]) |
110 | 85 |
111 # AM_CONDITIONAL -*- Autoconf -*- | 86 # AM_CONDITIONAL -*- Autoconf -*- |
112 | 87 |
113 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 | 88 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 |
114 # Free Software Foundation, Inc. | 89 # Free Software Foundation, Inc. |
115 # | 90 # |
116 # This file is free software; the Free Software Foundation | 91 # This file is free software; the Free Software Foundation |
117 # gives unlimited permission to copy and/or distribute it, | 92 # gives unlimited permission to copy and/or distribute it, |
118 # with or without modifications, as long as this notice is preserved. | 93 # with or without modifications, as long as this notice is preserved. |
119 | 94 |
120 # serial 8 | 95 # serial 7 |
121 | 96 |
122 # AM_CONDITIONAL(NAME, SHELL-CONDITION) | 97 # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
123 # ------------------------------------- | 98 # ------------------------------------- |
124 # Define a conditional. | 99 # Define a conditional. |
125 AC_DEFUN([AM_CONDITIONAL], | 100 AC_DEFUN([AM_CONDITIONAL], |
126 [AC_PREREQ(2.52)dnl | 101 [AC_PREREQ(2.52)dnl |
127 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | 102 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
128 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | 103 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
129 AC_SUBST([$1_TRUE])dnl | 104 AC_SUBST([$1_TRUE]) |
130 AC_SUBST([$1_FALSE])dnl | 105 AC_SUBST([$1_FALSE]) |
131 _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
132 _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
133 if $2; then | 106 if $2; then |
134 $1_TRUE= | 107 $1_TRUE= |
135 $1_FALSE='#' | 108 $1_FALSE='#' |
136 else | 109 else |
137 $1_TRUE='#' | 110 $1_TRUE='#' |
138 $1_FALSE= | 111 $1_FALSE= |
139 fi | 112 fi |
140 AC_CONFIG_COMMANDS_PRE( | 113 AC_CONFIG_COMMANDS_PRE( |
141 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | 114 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
142 AC_MSG_ERROR([[conditional "$1" was never defined. | 115 AC_MSG_ERROR([[conditional "$1" was never defined. |
143 Usually this means the macro was only invoked conditionally.]]) | 116 Usually this means the macro was only invoked conditionally.]]) |
144 fi])]) | 117 fi])]) |
145 | 118 |
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | 119 |
| 120 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
147 # Free Software Foundation, Inc. | 121 # Free Software Foundation, Inc. |
148 # | 122 # |
149 # This file is free software; the Free Software Foundation | 123 # This file is free software; the Free Software Foundation |
150 # gives unlimited permission to copy and/or distribute it, | 124 # gives unlimited permission to copy and/or distribute it, |
151 # with or without modifications, as long as this notice is preserved. | 125 # with or without modifications, as long as this notice is preserved. |
152 | 126 |
153 # serial 9 | 127 # serial 8 |
154 | 128 |
155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | 129 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
156 # written in clear, in which case automake, when reading aclocal.m4, | 130 # written in clear, in which case automake, when reading aclocal.m4, |
157 # will think it sees a *use*, and therefore will trigger all it's | 131 # will think it sees a *use*, and therefore will trigger all it's |
158 # C support machinery. Also note that it means that autoscan, seeing | 132 # C support machinery. Also note that it means that autoscan, seeing |
159 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | 133 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
160 | 134 |
161 | 135 |
162 # _AM_DEPENDENCIES(NAME) | 136 # _AM_DEPENDENCIES(NAME) |
163 # ---------------------- | 137 # ---------------------- |
164 # See how the compiler implements dependency checking. | 138 # See how the compiler implements dependency checking. |
165 # NAME is "CC", "CXX", "GCJ", or "OBJC". | 139 # NAME is "CC", "CXX", "GCJ", or "OBJC". |
166 # We try a few techniques and use that to set a single cache variable. | 140 # We try a few techniques and use that to set a single cache variable. |
167 # | 141 # |
168 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | 142 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
169 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | 143 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
170 # dependency, and given that the user is not expected to run this macro, | 144 # dependency, and given that the user is not expected to run this macro, |
171 # just rely on AC_PROG_CC. | 145 # just rely on AC_PROG_CC. |
172 AC_DEFUN([_AM_DEPENDENCIES], | 146 AC_DEFUN([_AM_DEPENDENCIES], |
173 [AC_REQUIRE([AM_SET_DEPDIR])dnl | 147 [AC_REQUIRE([AM_SET_DEPDIR])dnl |
174 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | 148 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
175 AC_REQUIRE([AM_MAKE_INCLUDE])dnl | 149 AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
176 AC_REQUIRE([AM_DEP_TRACK])dnl | 150 AC_REQUIRE([AM_DEP_TRACK])dnl |
177 | 151 |
178 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | 152 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
179 [$1], CXX, [depcc="$CXX" am_compiler_list=], | 153 [$1], CXX, [depcc="$CXX" am_compiler_list=], |
180 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | 154 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
181 [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
182 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | 155 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
183 [depcc="$$1" am_compiler_list=]) | 156 [depcc="$$1" am_compiler_list=]) |
184 | 157 |
185 AC_CACHE_CHECK([dependency style of $depcc], | 158 AC_CACHE_CHECK([dependency style of $depcc], |
186 [am_cv_$1_dependencies_compiler_type], | 159 [am_cv_$1_dependencies_compiler_type], |
187 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 160 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
188 # We make a subdir and do the tests there. Otherwise we can end up | 161 # We make a subdir and do the tests there. Otherwise we can end up |
189 # making bogus files that we don't know about and never remove. For | 162 # making bogus files that we don't know about and never remove. For |
190 # instance it was reported that on HP-UX the gcc test will end up | 163 # instance it was reported that on HP-UX the gcc test will end up |
191 # making a dummy file named `D' -- because `-MD' means `put the output | 164 # making a dummy file named `D' -- because `-MD' means `put the output |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 none) break ;; | 210 none) break ;; |
238 esac | 211 esac |
239 # We check with `-c' and `-o' for the sake of the "dashmstdout" | 212 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
240 # mode. It turns out that the SunPro C++ compiler does not properly | 213 # mode. It turns out that the SunPro C++ compiler does not properly |
241 # handle `-M -o', and we need to detect this. | 214 # handle `-M -o', and we need to detect this. |
242 if depmode=$depmode \ | 215 if depmode=$depmode \ |
243 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 216 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
244 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 217 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
245 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 218 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
246 >/dev/null 2>conftest.err && | 219 >/dev/null 2>conftest.err && |
247 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
248 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 220 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
249 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 221 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
250 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 222 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
251 # icc doesn't choke on unknown options, it will just issue warnings | 223 # icc doesn't choke on unknown options, it will just issue warnings |
252 # or remarks (even with -Werror). So we grep stderr for any message | 224 # or remarks (even with -Werror). So we grep stderr for any message |
253 # that says an option was ignored or not supported. | 225 # that says an option was ignored or not supported. |
254 # When given -MP, icc 7.0 and 7.1 complain thusly: | 226 # When given -MP, icc 7.0 and 7.1 complain thusly: |
255 # icc: Command line warning: ignoring option '-M'; no argument required | 227 # icc: Command line warning: ignoring option '-M'; no argument required |
256 # The diagnosis changed in icc 8.0: | 228 # The diagnosis changed in icc 8.0: |
257 # icc: Command line remark: option '-MP' not supported | 229 # icc: Command line remark: option '-MP' not supported |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 # ------------ | 262 # ------------ |
291 AC_DEFUN([AM_DEP_TRACK], | 263 AC_DEFUN([AM_DEP_TRACK], |
292 [AC_ARG_ENABLE(dependency-tracking, | 264 [AC_ARG_ENABLE(dependency-tracking, |
293 [ --disable-dependency-tracking speeds up one-time build | 265 [ --disable-dependency-tracking speeds up one-time build |
294 --enable-dependency-tracking do not reject slow dependency extractors]) | 266 --enable-dependency-tracking do not reject slow dependency extractors]) |
295 if test "x$enable_dependency_tracking" != xno; then | 267 if test "x$enable_dependency_tracking" != xno; then |
296 am_depcomp="$ac_aux_dir/depcomp" | 268 am_depcomp="$ac_aux_dir/depcomp" |
297 AMDEPBACKSLASH='\' | 269 AMDEPBACKSLASH='\' |
298 fi | 270 fi |
299 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | 271 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
300 AC_SUBST([AMDEPBACKSLASH])dnl | 272 AC_SUBST([AMDEPBACKSLASH]) |
301 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
302 ]) | 273 ]) |
303 | 274 |
304 # Generate code to set up dependency tracking. -*- Autoconf -*- | 275 # Generate code to set up dependency tracking. -*- Autoconf -*- |
305 | 276 |
306 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 277 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
307 # Free Software Foundation, Inc. | 278 # Free Software Foundation, Inc. |
308 # | 279 # |
309 # This file is free software; the Free Software Foundation | 280 # This file is free software; the Free Software Foundation |
310 # gives unlimited permission to copy and/or distribute it, | 281 # gives unlimited permission to copy and/or distribute it, |
311 # with or without modifications, as long as this notice is preserved. | 282 # with or without modifications, as long as this notice is preserved. |
312 | 283 |
313 #serial 3 | 284 #serial 3 |
314 | 285 |
315 # _AM_OUTPUT_DEPENDENCY_COMMANDS | 286 # _AM_OUTPUT_DEPENDENCY_COMMANDS |
316 # ------------------------------ | 287 # ------------------------------ |
317 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | 288 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
318 [for mf in $CONFIG_FILES; do | 289 [for mf in $CONFIG_FILES; do |
319 # Strip MF so we end up with the name of the file. | 290 # Strip MF so we end up with the name of the file. |
320 mf=`echo "$mf" | sed -e 's/:.*$//'` | 291 mf=`echo "$mf" | sed -e 's/:.*$//'` |
321 # Check whether this is an Automake generated Makefile or not. | 292 # Check whether this is an Automake generated Makefile or not. |
322 # We used to match only the files named `Makefile.in', but | 293 # We used to match only the files named `Makefile.in', but |
323 # some people rename them; so instead we look at the file content. | 294 # some people rename them; so instead we look at the file content. |
324 # Grep'ing the first line is not enough: some people post-process | 295 # Grep'ing the first line is not enough: some people post-process |
325 # each Makefile.in and add a new line on top of each file to say so. | 296 # each Makefile.in and add a new line on top of each file to say so. |
326 # Grep'ing the whole file is not good either: AIX grep has a line | 297 # So let's grep whole file. |
327 # limit of 2048, but all sed's we know have understand at least 4000. | 298 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
328 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1;
then | |
329 dirpart=`AS_DIRNAME("$mf")` | 299 dirpart=`AS_DIRNAME("$mf")` |
330 else | 300 else |
331 continue | 301 continue |
332 fi | 302 fi |
333 # Extract the definition of DEPDIR, am__include, and am__quote | 303 # Extract the definition of DEPDIR, am__include, and am__quote |
334 # from the Makefile without running `make'. | 304 # from the Makefile without running `make'. |
335 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 305 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
336 test -z "$DEPDIR" && continue | 306 test -z "$DEPDIR" && continue |
337 am__include=`sed -n 's/^am__include = //p' < "$mf"` | 307 am__include=`sed -n 's/^am__include = //p' < "$mf"` |
338 test -z "am__include" && continue | 308 test -z "am__include" && continue |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 # gives unlimited permission to copy and/or distribute it, | 347 # gives unlimited permission to copy and/or distribute it, |
378 # with or without modifications, as long as this notice is preserved. | 348 # with or without modifications, as long as this notice is preserved. |
379 | 349 |
380 # serial 8 | 350 # serial 8 |
381 | 351 |
382 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. | 352 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. |
383 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) | 353 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |
384 | 354 |
385 # Do all the work for Automake. -*- Autoconf -*- | 355 # Do all the work for Automake. -*- Autoconf -*- |
386 | 356 |
387 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 357 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
388 # 2005, 2006, 2008 Free Software Foundation, Inc. | 358 # Free Software Foundation, Inc. |
389 # | 359 # |
390 # This file is free software; the Free Software Foundation | 360 # This file is free software; the Free Software Foundation |
391 # gives unlimited permission to copy and/or distribute it, | 361 # gives unlimited permission to copy and/or distribute it, |
392 # with or without modifications, as long as this notice is preserved. | 362 # with or without modifications, as long as this notice is preserved. |
393 | 363 |
394 # serial 13 | 364 # serial 12 |
395 | 365 |
396 # This macro actually does too much. Some checks are only needed if | 366 # This macro actually does too much. Some checks are only needed if |
397 # your package does certain things. But this isn't really a big deal. | 367 # your package does certain things. But this isn't really a big deal. |
398 | 368 |
399 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | 369 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
400 # AM_INIT_AUTOMAKE([OPTIONS]) | 370 # AM_INIT_AUTOMAKE([OPTIONS]) |
401 # ----------------------------------------------- | 371 # ----------------------------------------------- |
402 # The call with PACKAGE and VERSION arguments is the old style | 372 # The call with PACKAGE and VERSION arguments is the old style |
403 # call (pre autoconf-2.50), which is being phased out. PACKAGE | 373 # call (pre autoconf-2.50), which is being phased out. PACKAGE |
404 # and VERSION should now be passed to AC_INIT and removed from | 374 # and VERSION should now be passed to AC_INIT and removed from |
405 # the call to AM_INIT_AUTOMAKE. | 375 # the call to AM_INIT_AUTOMAKE. |
406 # We support both call styles for the transition. After | 376 # We support both call styles for the transition. After |
407 # the next Automake release, Autoconf can make the AC_INIT | 377 # the next Automake release, Autoconf can make the AC_INIT |
408 # arguments mandatory, and then we can depend on a new Autoconf | 378 # arguments mandatory, and then we can depend on a new Autoconf |
409 # release and drop the old call support. | 379 # release and drop the old call support. |
410 AC_DEFUN([AM_INIT_AUTOMAKE], | 380 AC_DEFUN([AM_INIT_AUTOMAKE], |
411 [AC_PREREQ([2.60])dnl | 381 [AC_PREREQ([2.58])dnl |
412 dnl Autoconf wants to disallow AM_ names. We explicitly allow | 382 dnl Autoconf wants to disallow AM_ names. We explicitly allow |
413 dnl the ones we care about. | 383 dnl the ones we care about. |
414 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | 384 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
415 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | 385 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
416 AC_REQUIRE([AC_PROG_INSTALL])dnl | 386 AC_REQUIRE([AC_PROG_INSTALL])dnl |
417 if test "`cd $srcdir && pwd`" != "`pwd`"; then | 387 # test to see if srcdir already configured |
418 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | 388 if test "`cd $srcdir && pwd`" != "`pwd`" && |
419 # is not polluted with repeated "-I." | 389 test -f $srcdir/config.status; then |
420 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | 390 AC_MSG_ERROR([source directory already configured; run "make distclean" there
first]) |
421 # test to see if srcdir already configured | |
422 if test -f $srcdir/config.status; then | |
423 AC_MSG_ERROR([source directory already configured; run "make distclean" ther
e first]) | |
424 fi | |
425 fi | 391 fi |
426 | 392 |
427 # test whether we have cygpath | 393 # test whether we have cygpath |
428 if test -z "$CYGPATH_W"; then | 394 if test -z "$CYGPATH_W"; then |
429 if (cygpath --version) >/dev/null 2>/dev/null; then | 395 if (cygpath --version) >/dev/null 2>/dev/null; then |
430 CYGPATH_W='cygpath -w' | 396 CYGPATH_W='cygpath -w' |
431 else | 397 else |
432 CYGPATH_W=echo | 398 CYGPATH_W=echo |
433 fi | 399 fi |
434 fi | 400 fi |
435 AC_SUBST([CYGPATH_W]) | 401 AC_SUBST([CYGPATH_W]) |
436 | 402 |
437 # Define the identity of the package. | 403 # Define the identity of the package. |
438 dnl Distinguish between old-style and new-style calls. | 404 dnl Distinguish between old-style and new-style calls. |
439 m4_ifval([$2], | 405 m4_ifval([$2], |
440 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | 406 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
441 AC_SUBST([PACKAGE], [$1])dnl | 407 AC_SUBST([PACKAGE], [$1])dnl |
442 AC_SUBST([VERSION], [$2])], | 408 AC_SUBST([VERSION], [$2])], |
443 [_AM_SET_OPTIONS([$1])dnl | 409 [_AM_SET_OPTIONS([$1])dnl |
444 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | |
445 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
446 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | |
447 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | 410 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
448 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | 411 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
449 | 412 |
450 _AM_IF_OPTION([no-define],, | 413 _AM_IF_OPTION([no-define],, |
451 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | 414 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
452 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | 415 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |
453 | 416 |
454 # Some tools Automake needs. | 417 # Some tools Automake needs. |
455 AC_REQUIRE([AM_SANITY_CHECK])dnl | 418 AC_REQUIRE([AM_SANITY_CHECK])dnl |
456 AC_REQUIRE([AC_ARG_PROGRAM])dnl | 419 AC_REQUIRE([AC_ARG_PROGRAM])dnl |
(...skipping 15 matching lines...) Expand all Loading... |
472 [_AM_PROG_TAR([v7])])]) | 435 [_AM_PROG_TAR([v7])])]) |
473 _AM_IF_OPTION([no-dependencies],, | 436 _AM_IF_OPTION([no-dependencies],, |
474 [AC_PROVIDE_IFELSE([AC_PROG_CC], | 437 [AC_PROVIDE_IFELSE([AC_PROG_CC], |
475 [_AM_DEPENDENCIES(CC)], | 438 [_AM_DEPENDENCIES(CC)], |
476 [define([AC_PROG_CC], | 439 [define([AC_PROG_CC], |
477 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | 440 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
478 AC_PROVIDE_IFELSE([AC_PROG_CXX], | 441 AC_PROVIDE_IFELSE([AC_PROG_CXX], |
479 [_AM_DEPENDENCIES(CXX)], | 442 [_AM_DEPENDENCIES(CXX)], |
480 [define([AC_PROG_CXX], | 443 [define([AC_PROG_CXX], |
481 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | 444 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
482 AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
483 [_AM_DEPENDENCIES(OBJC)], | |
484 [define([AC_PROG_OBJC], | |
485 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
486 ]) | 445 ]) |
487 ]) | 446 ]) |
488 | 447 |
489 | 448 |
490 # When config.status generates a header, we must update the stamp-h file. | 449 # When config.status generates a header, we must update the stamp-h file. |
491 # This file resides in the same directory as the config header | 450 # This file resides in the same directory as the config header |
492 # that is generated. The stamp files are numbered to have different names. | 451 # that is generated. The stamp files are numbered to have different names. |
493 | 452 |
494 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | 453 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
495 # loop where config.status creates the headers, so we can generate | 454 # loop where config.status creates the headers, so we can generate |
496 # our stamp files there. | 455 # our stamp files there. |
497 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | 456 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
498 [# Compute $1's index in $config_headers. | 457 [# Compute $1's index in $config_headers. |
499 _am_arg=$1 | |
500 _am_stamp_count=1 | 458 _am_stamp_count=1 |
501 for _am_header in $config_headers :; do | 459 for _am_header in $config_headers :; do |
502 case $_am_header in | 460 case $_am_header in |
503 $_am_arg | $_am_arg:* ) | 461 $1 | $1:* ) |
504 break ;; | 462 break ;; |
505 * ) | 463 * ) |
506 _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 464 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
507 esac | 465 esac |
508 done | 466 done |
509 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
unt]) | 467 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) |
510 | 468 |
511 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | 469 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
512 # | 470 # |
513 # This file is free software; the Free Software Foundation | 471 # This file is free software; the Free Software Foundation |
514 # gives unlimited permission to copy and/or distribute it, | 472 # gives unlimited permission to copy and/or distribute it, |
515 # with or without modifications, as long as this notice is preserved. | 473 # with or without modifications, as long as this notice is preserved. |
516 | 474 |
517 # AM_PROG_INSTALL_SH | 475 # AM_PROG_INSTALL_SH |
518 # ------------------ | 476 # ------------------ |
519 # Define $install_sh. | 477 # Define $install_sh. |
520 AC_DEFUN([AM_PROG_INSTALL_SH], | 478 AC_DEFUN([AM_PROG_INSTALL_SH], |
521 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 479 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
522 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | 480 install_sh=${install_sh-"$am_aux_dir/install-sh"} |
523 AC_SUBST(install_sh)]) | 481 AC_SUBST(install_sh)]) |
524 | 482 |
525 # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | 483 # Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
526 # | 484 # |
527 # This file is free software; the Free Software Foundation | 485 # This file is free software; the Free Software Foundation |
528 # gives unlimited permission to copy and/or distribute it, | 486 # gives unlimited permission to copy and/or distribute it, |
529 # with or without modifications, as long as this notice is preserved. | 487 # with or without modifications, as long as this notice is preserved. |
530 | 488 |
531 # serial 2 | 489 # serial 2 |
532 | 490 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 am__quote="\"" | 546 am__quote="\"" |
589 _am_result=BSD | 547 _am_result=BSD |
590 fi | 548 fi |
591 fi | 549 fi |
592 AC_SUBST([am__include]) | 550 AC_SUBST([am__include]) |
593 AC_SUBST([am__quote]) | 551 AC_SUBST([am__quote]) |
594 AC_MSG_RESULT([$_am_result]) | 552 AC_MSG_RESULT([$_am_result]) |
595 rm -f confinc confmf | 553 rm -f confinc confmf |
596 ]) | 554 ]) |
597 | 555 |
598 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 | 556 # Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. |
599 # Free Software Foundation, Inc. | |
600 # | 557 # |
601 # This file is free software; the Free Software Foundation | 558 # This file is free software; the Free Software Foundation |
602 # gives unlimited permission to copy and/or distribute it, | 559 # gives unlimited permission to copy and/or distribute it, |
603 # with or without modifications, as long as this notice is preserved. | 560 # with or without modifications, as long as this notice is preserved. |
604 | 561 |
605 # serial 5 | 562 # serial 3 |
606 | 563 |
607 # AM_PROG_CC_C_O | 564 # AM_PROG_CC_C_O |
608 # -------------- | 565 # -------------- |
609 # Like AC_PROG_CC_C_O, but changed for automake. | 566 # Like AC_PROG_CC_C_O, but changed for automake. |
610 AC_DEFUN([AM_PROG_CC_C_O], | 567 AC_DEFUN([AM_PROG_CC_C_O], |
611 [AC_REQUIRE([AC_PROG_CC_C_O])dnl | 568 [AC_REQUIRE([AC_PROG_CC_C_O])dnl |
612 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 569 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
613 AC_REQUIRE_AUX_FILE([compile])dnl | |
614 # FIXME: we rely on the cache variable name because | 570 # FIXME: we rely on the cache variable name because |
615 # there is no other way. | 571 # there is no other way. |
616 set dummy $CC | 572 set dummy $CC |
617 ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` | 573 ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` |
618 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then | 574 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then |
619 # Losing compiler, so override with the script. | 575 # Losing compiler, so override with the script. |
620 # FIXME: It is wrong to rewrite CC. | 576 # FIXME: It is wrong to rewrite CC. |
621 # But if we don't then we get into trouble of one sort or another. | 577 # But if we don't then we get into trouble of one sort or another. |
622 # A longer-term fix would be to have automake use am__CC in this case, | 578 # A longer-term fix would be to have automake use am__CC in this case, |
623 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | 579 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
624 CC="$am_aux_dir/compile $CC" | 580 CC="$am_aux_dir/compile $CC" |
625 fi | 581 fi |
626 dnl Make sure AC_PROG_CC is never called again, or it will override our | |
627 dnl setting of CC. | |
628 m4_define([AC_PROG_CC], | |
629 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) | |
630 ]) | 582 ]) |
631 | 583 |
632 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | 584 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
633 | 585 |
634 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 | 586 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 |
635 # Free Software Foundation, Inc. | 587 # Free Software Foundation, Inc. |
636 # | 588 # |
637 # This file is free software; the Free Software Foundation | 589 # This file is free software; the Free Software Foundation |
638 # gives unlimited permission to copy and/or distribute it, | 590 # gives unlimited permission to copy and/or distribute it, |
639 # with or without modifications, as long as this notice is preserved. | 591 # with or without modifications, as long as this notice is preserved. |
640 | 592 |
641 # serial 5 | 593 # serial 4 |
642 | 594 |
643 # AM_MISSING_PROG(NAME, PROGRAM) | 595 # AM_MISSING_PROG(NAME, PROGRAM) |
644 # ------------------------------ | 596 # ------------------------------ |
645 AC_DEFUN([AM_MISSING_PROG], | 597 AC_DEFUN([AM_MISSING_PROG], |
646 [AC_REQUIRE([AM_MISSING_HAS_RUN]) | 598 [AC_REQUIRE([AM_MISSING_HAS_RUN]) |
647 $1=${$1-"${am_missing_run}$2"} | 599 $1=${$1-"${am_missing_run}$2"} |
648 AC_SUBST($1)]) | 600 AC_SUBST($1)]) |
649 | 601 |
650 | 602 |
651 # AM_MISSING_HAS_RUN | 603 # AM_MISSING_HAS_RUN |
652 # ------------------ | 604 # ------------------ |
653 # Define MISSING if not defined so far and test if it supports --run. | 605 # Define MISSING if not defined so far and test if it supports --run. |
654 # If it does, set am_missing_run to use it, otherwise, to nothing. | 606 # If it does, set am_missing_run to use it, otherwise, to nothing. |
655 AC_DEFUN([AM_MISSING_HAS_RUN], | 607 AC_DEFUN([AM_MISSING_HAS_RUN], |
656 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 608 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
657 AC_REQUIRE_AUX_FILE([missing])dnl | |
658 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 609 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
659 # Use eval to expand $SHELL | 610 # Use eval to expand $SHELL |
660 if eval "$MISSING --run true"; then | 611 if eval "$MISSING --run true"; then |
661 am_missing_run="$MISSING --run " | 612 am_missing_run="$MISSING --run " |
662 else | 613 else |
663 am_missing_run= | 614 am_missing_run= |
664 AC_MSG_WARN([`missing' script is too old or missing]) | 615 AC_MSG_WARN([`missing' script is too old or missing]) |
665 fi | 616 fi |
666 ]) | 617 ]) |
667 | 618 |
668 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 619 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
669 # | 620 # |
670 # This file is free software; the Free Software Foundation | 621 # This file is free software; the Free Software Foundation |
671 # gives unlimited permission to copy and/or distribute it, | 622 # gives unlimited permission to copy and/or distribute it, |
672 # with or without modifications, as long as this notice is preserved. | 623 # with or without modifications, as long as this notice is preserved. |
673 | 624 |
674 # AM_PROG_MKDIR_P | 625 # AM_PROG_MKDIR_P |
675 # --------------- | 626 # --------------- |
676 # Check for `mkdir -p'. | 627 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. |
| 628 # |
| 629 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories |
| 630 # created by `make install' are always world readable, even if the |
| 631 # installer happens to have an overly restrictive umask (e.g. 077). |
| 632 # This was a mistake. There are at least two reasons why we must not |
| 633 # use `-m 0755': |
| 634 # - it causes special bits like SGID to be ignored, |
| 635 # - it may be too restrictive (some setups expect 775 directories). |
| 636 # |
| 637 # Do not use -m 0755 and let people choose whatever they expect by |
| 638 # setting umask. |
| 639 # |
| 640 # We cannot accept any implementation of `mkdir' that recognizes `-p'. |
| 641 # Some implementations (such as Solaris 8's) are not thread-safe: if a |
| 642 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' |
| 643 # concurrently, both version can detect that a/ is missing, but only |
| 644 # one can create it and the other will error out. Consequently we |
| 645 # restrict ourselves to GNU make (using the --version option ensures |
| 646 # this.) |
677 AC_DEFUN([AM_PROG_MKDIR_P], | 647 AC_DEFUN([AM_PROG_MKDIR_P], |
678 [AC_PREREQ([2.60])dnl | 648 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
679 AC_REQUIRE([AC_PROG_MKDIR_P])dnl | 649 # We used to keeping the `.' as first argument, in order to |
680 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | 650 # allow $(mkdir_p) to be used without argument. As in |
681 dnl while keeping a definition of mkdir_p for backward compatibility. | 651 # $(mkdir_p) $(somedir) |
682 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | 652 # where $(somedir) is conditionally defined. However this is wrong |
683 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | 653 # for two reasons: |
684 dnl Makefile.ins that do not define MKDIR_P, so we do our own | 654 # 1. if the package is installed by a user who cannot write `.' |
685 dnl adjustment using top_builddir (which is defined more often than | 655 # make install will fail, |
686 dnl MKDIR_P). | 656 # 2. the above comment should most certainly read |
687 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | 657 # $(mkdir_p) $(DESTDIR)$(somedir) |
688 case $mkdir_p in | 658 # so it does not work when $(somedir) is undefined and |
689 [[\\/$]]* | ?:[[\\/]]*) ;; | 659 # $(DESTDIR) is not. |
690 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | 660 # To support the latter case, we have to write |
691 esac | 661 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
692 ]) | 662 # so the `.' trick is pointless. |
| 663 mkdir_p='mkdir -p --' |
| 664 else |
| 665 # On NextStep and OpenStep, the `mkdir' command does not |
| 666 # recognize any option. It will interpret all options as |
| 667 # directories to create, and then abort because `.' already |
| 668 # exists. |
| 669 for d in ./-p ./--version; |
| 670 do |
| 671 test -d $d && rmdir $d |
| 672 done |
| 673 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
| 674 if test -f "$ac_aux_dir/mkinstalldirs"; then |
| 675 mkdir_p='$(mkinstalldirs)' |
| 676 else |
| 677 mkdir_p='$(install_sh) -d' |
| 678 fi |
| 679 fi |
| 680 AC_SUBST([mkdir_p])]) |
693 | 681 |
694 # Helper functions for option handling. -*- Autoconf -*- | 682 # Helper functions for option handling. -*- Autoconf -*- |
695 | 683 |
696 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. | 684 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. |
697 # | 685 # |
698 # This file is free software; the Free Software Foundation | 686 # This file is free software; the Free Software Foundation |
699 # gives unlimited permission to copy and/or distribute it, | 687 # gives unlimited permission to copy and/or distribute it, |
700 # with or without modifications, as long as this notice is preserved. | 688 # with or without modifications, as long as this notice is preserved. |
701 | 689 |
702 # serial 3 | 690 # serial 3 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 AC_DEFUN([AM_PROG_INSTALL_STRIP], | 782 AC_DEFUN([AM_PROG_INSTALL_STRIP], |
795 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | 783 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
796 # Installed binaries are usually stripped using `strip' when the user | 784 # Installed binaries are usually stripped using `strip' when the user |
797 # run `make install-strip'. However `strip' might not be the right | 785 # run `make install-strip'. However `strip' might not be the right |
798 # tool to use in cross-compilation environments, therefore Automake | 786 # tool to use in cross-compilation environments, therefore Automake |
799 # will honor the `STRIP' environment variable to overrule this program. | 787 # will honor the `STRIP' environment variable to overrule this program. |
800 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | 788 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |
801 if test "$cross_compiling" != no; then | 789 if test "$cross_compiling" != no; then |
802 AC_CHECK_TOOL([STRIP], [strip], :) | 790 AC_CHECK_TOOL([STRIP], [strip], :) |
803 fi | 791 fi |
804 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 792 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
805 AC_SUBST([INSTALL_STRIP_PROGRAM])]) | 793 AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
806 | 794 |
807 # Copyright (C) 2006 Free Software Foundation, Inc. | |
808 # | |
809 # This file is free software; the Free Software Foundation | |
810 # gives unlimited permission to copy and/or distribute it, | |
811 # with or without modifications, as long as this notice is preserved. | |
812 | |
813 # _AM_SUBST_NOTMAKE(VARIABLE) | |
814 # --------------------------- | |
815 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
816 # This macro is traced by Automake. | |
817 AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
818 | |
819 # Check how to create a tarball. -*- Autoconf -*- | 795 # Check how to create a tarball. -*- Autoconf -*- |
820 | 796 |
821 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | 797 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
822 # | 798 # |
823 # This file is free software; the Free Software Foundation | 799 # This file is free software; the Free Software Foundation |
824 # gives unlimited permission to copy and/or distribute it, | 800 # gives unlimited permission to copy and/or distribute it, |
825 # with or without modifications, as long as this notice is preserved. | 801 # with or without modifications, as long as this notice is preserved. |
826 | 802 |
827 # serial 2 | 803 # serial 2 |
828 | 804 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 m4_include([m4/install_prefix.m4]) | 895 m4_include([m4/install_prefix.m4]) |
920 m4_include([m4/libtool.m4]) | 896 m4_include([m4/libtool.m4]) |
921 m4_include([m4/ltoptions.m4]) | 897 m4_include([m4/ltoptions.m4]) |
922 m4_include([m4/ltsugar.m4]) | 898 m4_include([m4/ltsugar.m4]) |
923 m4_include([m4/ltversion.m4]) | 899 m4_include([m4/ltversion.m4]) |
924 m4_include([m4/lt~obsolete.m4]) | 900 m4_include([m4/lt~obsolete.m4]) |
925 m4_include([m4/namespaces.m4]) | 901 m4_include([m4/namespaces.m4]) |
926 m4_include([m4/pc_from_ucontext.m4]) | 902 m4_include([m4/pc_from_ucontext.m4]) |
927 m4_include([m4/program_invocation_name.m4]) | 903 m4_include([m4/program_invocation_name.m4]) |
928 m4_include([m4/stl_namespace.m4]) | 904 m4_include([m4/stl_namespace.m4]) |
OLD | NEW |