1 |
# generated automatically by aclocal 1.10 -*- Autoconf -*- |
# generated automatically by aclocal 1.10.3 -*- Autoconf -*- |
2 |
|
|
3 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
4 |
# 2005, 2006 Free Software Foundation, Inc. |
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
5 |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
6 |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
7 |
# with or without modifications, as long as this notice is preserved. |
# with or without modifications, as long as this notice is preserved. |
11 |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
12 |
# PARTICULAR PURPOSE. |
# PARTICULAR PURPOSE. |
13 |
|
|
14 |
m4_if(m4_PACKAGE_VERSION, [2.61],, |
m4_ifndef([AC_AUTOCONF_VERSION], |
15 |
[m4_fatal([this file was generated for autoconf 2.61. |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
16 |
You have another version of autoconf. If you want to use that, |
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
17 |
you should regenerate the build system entirely.], [63])]) |
[m4_warning([this file was generated for autoconf 2.68. |
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 Free Software Foundation, Inc. |
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
23 |
# |
# |
24 |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
25 |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
34 |
[am__api_version='1.10' |
[am__api_version='1.10' |
35 |
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
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. |
dnl require some minimum version. Point them to the right macro. |
37 |
m4_if([$1], [1.10], [], |
m4_if([$1], [1.10.3], [], |
38 |
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 |
]) |
]) |
40 |
|
|
48 |
# AM_SET_CURRENT_AUTOMAKE_VERSION |
# AM_SET_CURRENT_AUTOMAKE_VERSION |
49 |
# ------------------------------- |
# ------------------------------- |
50 |
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 |
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 |
[AM_AUTOMAKE_VERSION([1.10])dnl |
[AM_AUTOMAKE_VERSION([1.10.3])dnl |
54 |
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) |
m4_ifndef([AC_AUTOCONF_VERSION], |
55 |
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 |
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
57 |
|
|
58 |
# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 |
|
|
143 |
Usually this means the macro was only invoked conditionally.]]) |
Usually this means the macro was only invoked conditionally.]]) |
144 |
fi])]) |
fi])]) |
145 |
|
|
146 |
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 |
147 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
148 |
# |
# |
149 |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
150 |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
151 |
# with or without modifications, as long as this notice is preserved. |
# with or without modifications, as long as this notice is preserved. |
152 |
|
|
153 |
# serial 9 |
# serial 10 |
154 |
|
|
155 |
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
# 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, |
# written in clear, in which case automake, when reading aclocal.m4, |
207 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
208 |
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
209 |
fi |
fi |
210 |
|
am__universal=false |
211 |
|
m4_case([$1], [CC], |
212 |
|
[case " $depcc " in #( |
213 |
|
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
214 |
|
esac], |
215 |
|
[CXX], |
216 |
|
[case " $depcc " in #( |
217 |
|
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
218 |
|
esac]) |
219 |
|
|
220 |
for depmode in $am_compiler_list; do |
for depmode in $am_compiler_list; do |
221 |
# Setup a source with many dependencies, because some compilers |
# Setup a source with many dependencies, because some compilers |
222 |
# like to wrap large dependency lists on column 80 (with \), and |
# like to wrap large dependency lists on column 80 (with \), and |
234 |
done |
done |
235 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
236 |
|
|
237 |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
238 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
239 |
|
# handle `-M -o', and we need to detect this. Also, some Intel |
240 |
|
# versions had trouble with output in subdirs |
241 |
|
am__obj=sub/conftest.${OBJEXT-o} |
242 |
|
am__minus_obj="-o $am__obj" |
243 |
case $depmode in |
case $depmode in |
244 |
|
gcc) |
245 |
|
# This depmode causes a compiler race in universal mode. |
246 |
|
test "$am__universal" = false || continue |
247 |
|
;; |
248 |
nosideeffect) |
nosideeffect) |
249 |
# after this tag, mechanisms are not by side-effect, so they'll |
# after this tag, mechanisms are not by side-effect, so they'll |
250 |
# only be used when explicitly requested |
# only be used when explicitly requested |
254 |
break |
break |
255 |
fi |
fi |
256 |
;; |
;; |
257 |
|
msvisualcpp | msvcmsys) |
258 |
|
# This compiler won't grok `-c -o', but also, the minuso test has |
259 |
|
# not run yet. These depmodes are late enough in the game, and |
260 |
|
# so weak that their functioning should not be impacted. |
261 |
|
am__obj=conftest.${OBJEXT-o} |
262 |
|
am__minus_obj= |
263 |
|
;; |
264 |
none) break ;; |
none) break ;; |
265 |
esac |
esac |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly |
|
|
# handle `-M -o', and we need to detect this. |
|
266 |
if depmode=$depmode \ |
if depmode=$depmode \ |
267 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
source=sub/conftest.c object=$am__obj \ |
268 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
269 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
270 |
>/dev/null 2>conftest.err && |
>/dev/null 2>conftest.err && |
271 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
272 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
273 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
274 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
275 |
# icc doesn't choke on unknown options, it will just issue warnings |
# icc doesn't choke on unknown options, it will just issue warnings |
276 |
# or remarks (even with -Werror). So we grep stderr for any message |
# or remarks (even with -Werror). So we grep stderr for any message |
327 |
|
|
328 |
# Generate code to set up dependency tracking. -*- Autoconf -*- |
# Generate code to set up dependency tracking. -*- Autoconf -*- |
329 |
|
|
330 |
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
331 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
332 |
# |
# |
333 |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
334 |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
335 |
# with or without modifications, as long as this notice is preserved. |
# with or without modifications, as long as this notice is preserved. |
336 |
|
|
337 |
#serial 3 |
#serial 5 |
338 |
|
|
339 |
# _AM_OUTPUT_DEPENDENCY_COMMANDS |
# _AM_OUTPUT_DEPENDENCY_COMMANDS |
340 |
# ------------------------------ |
# ------------------------------ |
341 |
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
342 |
[for mf in $CONFIG_FILES; do |
[{ |
343 |
# Strip MF so we end up with the name of the file. |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
344 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
# are listed without --file. Let's play safe and only enable the eval |
345 |
# Check whether this is an Automake generated Makefile or not. |
# if we detect the quoting. |
346 |
# We used to match only the files named `Makefile.in', but |
case $CONFIG_FILES in |
347 |
# some people rename them; so instead we look at the file content. |
*\'*) eval set x "$CONFIG_FILES" ;; |
348 |
# Grep'ing the first line is not enough: some people post-process |
*) set x $CONFIG_FILES ;; |
349 |
# each Makefile.in and add a new line on top of each file to say so. |
esac |
350 |
# Grep'ing the whole file is not good either: AIX grep has a line |
shift |
351 |
# limit of 2048, but all sed's we know have understand at least 4000. |
for mf |
352 |
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then |
do |
353 |
dirpart=`AS_DIRNAME("$mf")` |
# Strip MF so we end up with the name of the file. |
354 |
else |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
355 |
continue |
# Check whether this is an Automake generated Makefile or not. |
356 |
fi |
# We used to match only the files named `Makefile.in', but |
357 |
# Extract the definition of DEPDIR, am__include, and am__quote |
# some people rename them; so instead we look at the file content. |
358 |
# from the Makefile without running `make'. |
# Grep'ing the first line is not enough: some people post-process |
359 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
# each Makefile.in and add a new line on top of each file to say so. |
360 |
test -z "$DEPDIR" && continue |
# Grep'ing the whole file is not good either: AIX grep has a line |
361 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
# limit of 2048, but all sed's we know have understand at least 4000. |
362 |
test -z "am__include" && continue |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
363 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
dirpart=`AS_DIRNAME("$mf")` |
364 |
# When using ansi2knr, U may be empty or an underscore; expand it |
else |
365 |
U=`sed -n 's/^U = //p' < "$mf"` |
continue |
366 |
# Find all dependency output files, they are included files with |
fi |
367 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# Extract the definition of DEPDIR, am__include, and am__quote |
368 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# from the Makefile without running `make'. |
369 |
# expansion. |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
370 |
for file in `sed -n " |
test -z "$DEPDIR" && continue |
371 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
372 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
test -z "am__include" && continue |
373 |
# Make sure the directory exists. |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
374 |
test -f "$dirpart/$file" && continue |
# When using ansi2knr, U may be empty or an underscore; expand it |
375 |
fdir=`AS_DIRNAME(["$file"])` |
U=`sed -n 's/^U = //p' < "$mf"` |
376 |
AS_MKDIR_P([$dirpart/$fdir]) |
# Find all dependency output files, they are included files with |
377 |
# echo "creating $dirpart/$file" |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
378 |
echo '# dummy' > "$dirpart/$file" |
# simplest approach to changing $(DEPDIR) to its actual value in the |
379 |
|
# expansion. |
380 |
|
for file in `sed -n " |
381 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
382 |
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
383 |
|
# Make sure the directory exists. |
384 |
|
test -f "$dirpart/$file" && continue |
385 |
|
fdir=`AS_DIRNAME(["$file"])` |
386 |
|
AS_MKDIR_P([$dirpart/$fdir]) |
387 |
|
# echo "creating $dirpart/$file" |
388 |
|
echo '# dummy' > "$dirpart/$file" |
389 |
|
done |
390 |
done |
done |
391 |
done |
} |
392 |
])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
393 |
|
|
394 |
|
|
408 |
# Do all the work for Automake. -*- Autoconf -*- |
# Do all the work for Automake. -*- Autoconf -*- |
409 |
|
|
410 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
411 |
# 2005, 2006 Free Software Foundation, Inc. |
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. |
412 |
# |
# |
413 |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
414 |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
415 |
# with or without modifications, as long as this notice is preserved. |
# with or without modifications, as long as this notice is preserved. |
416 |
|
|
417 |
# serial 12 |
# serial 13 |
418 |
|
|
419 |
# This macro actually does too much. Some checks are only needed if |
# This macro actually does too much. Some checks are only needed if |
420 |
# your package does certain things. But this isn't really a big deal. |
# your package does certain things. But this isn't really a big deal. |
482 |
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
483 |
AM_MISSING_PROG(AUTOHEADER, autoheader) |
AM_MISSING_PROG(AUTOHEADER, autoheader) |
484 |
AM_MISSING_PROG(MAKEINFO, makeinfo) |
AM_MISSING_PROG(MAKEINFO, makeinfo) |
485 |
AM_PROG_INSTALL_SH |
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
486 |
AM_PROG_INSTALL_STRIP |
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
487 |
AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
488 |
# We need awk for the "check" target. The system "awk" is bad on |
# We need awk for the "check" target. The system "awk" is bad on |
489 |
# some platforms. |
# some platforms. |
519 |
# our stamp files there. |
# our stamp files there. |
520 |
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
521 |
[# Compute $1's index in $config_headers. |
[# Compute $1's index in $config_headers. |
522 |
|
_am_arg=$1 |
523 |
_am_stamp_count=1 |
_am_stamp_count=1 |
524 |
for _am_header in $config_headers :; do |
for _am_header in $config_headers :; do |
525 |
case $_am_header in |
case $_am_header in |
526 |
$1 | $1:* ) |
$_am_arg | $_am_arg:* ) |
527 |
break ;; |
break ;; |
528 |
* ) |
* ) |
529 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
530 |
esac |
esac |
531 |
done |
done |
532 |
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) |
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
533 |
|
|
534 |
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
535 |
# |
# |
711 |
|
|
712 |
# Helper functions for option handling. -*- Autoconf -*- |
# Helper functions for option handling. -*- Autoconf -*- |
713 |
|
|
714 |
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. |
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. |
715 |
# |
# |
716 |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
717 |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
718 |
# with or without modifications, as long as this notice is preserved. |
# with or without modifications, as long as this notice is preserved. |
719 |
|
|
720 |
# serial 3 |
# serial 4 |
721 |
|
|
722 |
# _AM_MANGLE_OPTION(NAME) |
# _AM_MANGLE_OPTION(NAME) |
723 |
# ----------------------- |
# ----------------------- |
734 |
# ---------------------------------- |
# ---------------------------------- |
735 |
# OPTIONS is a space-separated list of Automake options. |
# OPTIONS is a space-separated list of Automake options. |
736 |
AC_DEFUN([_AM_SET_OPTIONS], |
AC_DEFUN([_AM_SET_OPTIONS], |
737 |
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
738 |
|
|
739 |
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
740 |
# ------------------------------------------- |
# ------------------------------------------- |
830 |
|
|
831 |
# _AM_SUBST_NOTMAKE(VARIABLE) |
# _AM_SUBST_NOTMAKE(VARIABLE) |
832 |
# --------------------------- |
# --------------------------- |
833 |
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. |
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
834 |
# This macro is traced by Automake. |
# This macro is traced by Automake. |
835 |
AC_DEFUN([_AM_SUBST_NOTMAKE]) |
AC_DEFUN([_AM_SUBST_NOTMAKE]) |
836 |
|
|