| 1 |
# generated automatically by aclocal 1.8.3 -*- Autoconf -*- |
# generated automatically by aclocal 1.9.2 -*- 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 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
| 33 |
# ---------------------------- |
# ---------------------------- |
| 34 |
# Automake X.Y traces this macro to ensure aclocal.m4 has been |
# Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 35 |
# generated from the m4 files accompanying Automake X.Y. |
# generated from the m4 files accompanying Automake X.Y. |
| 36 |
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) |
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) |
| 37 |
|
|
| 38 |
# AM_SET_CURRENT_AUTOMAKE_VERSION |
# AM_SET_CURRENT_AUTOMAKE_VERSION |
| 39 |
# ------------------------------- |
# ------------------------------- |
| 40 |
# Call AM_AUTOMAKE_VERSION so it can be traced. |
# Call AM_AUTOMAKE_VERSION so it can be traced. |
| 41 |
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
| 42 |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 43 |
[AM_AUTOMAKE_VERSION([1.8.3])]) |
[AM_AUTOMAKE_VERSION([1.9.2])]) |
| 44 |
|
|
| 45 |
# AM_AUX_DIR_EXPAND |
# AM_AUX_DIR_EXPAND |
| 46 |
|
|
| 108 |
|
|
| 109 |
# AM_CONDITIONAL -*- Autoconf -*- |
# AM_CONDITIONAL -*- Autoconf -*- |
| 110 |
|
|
| 111 |
# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. |
# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. |
| 112 |
|
|
| 113 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
| 114 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
| 145 |
fi |
fi |
| 146 |
AC_CONFIG_COMMANDS_PRE( |
AC_CONFIG_COMMANDS_PRE( |
| 147 |
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
| 148 |
AC_MSG_ERROR([conditional "$1" was never defined. |
AC_MSG_ERROR([[conditional "$1" was never defined. |
| 149 |
Usually this means the macro was only invoked conditionally.]) |
Usually this means the macro was only invoked conditionally.]]) |
| 150 |
fi])]) |
fi])]) |
| 151 |
|
|
| 152 |
# serial 7 -*- Autoconf -*- |
# serial 7 -*- Autoconf -*- |
| 266 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 267 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 268 |
# icc doesn't choke on unknown options, it will just issue warnings |
# icc doesn't choke on unknown options, it will just issue warnings |
| 269 |
# (even with -Werror). So we grep stderr for any message |
# or remarks (even with -Werror). So we grep stderr for any message |
| 270 |
# that says an option was ignored. |
# that says an option was ignored or not supported. |
| 271 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
| 272 |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
| 273 |
|
# The diagnosis changed in icc 8.0: |
| 274 |
|
# icc: Command line remark: option '-MP' not supported |
| 275 |
|
if (grep 'ignoring option' conftest.err || |
| 276 |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 277 |
am_cv_$1_dependencies_compiler_type=$depmode |
am_cv_$1_dependencies_compiler_type=$depmode |
| 278 |
break |
break |
| 279 |
fi |
fi |
| 319 |
|
|
| 320 |
# Generate code to set up dependency tracking. -*- Autoconf -*- |
# Generate code to set up dependency tracking. -*- Autoconf -*- |
| 321 |
|
|
| 322 |
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 |
| 323 |
|
# Free Software Foundation, Inc. |
| 324 |
|
|
| 325 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
| 326 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
| 356 |
else |
else |
| 357 |
continue |
continue |
| 358 |
fi |
fi |
| 359 |
grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue |
# Extract the definition of DEPDIR, am__include, and am__quote |
| 360 |
# Extract the definition of DEP_FILES from the Makefile without |
# from the Makefile without running `make'. |
|
# running `make'. |
|
| 361 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 362 |
test -z "$DEPDIR" && continue |
test -z "$DEPDIR" && continue |
| 363 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 364 |
|
test -z "am__include" && continue |
| 365 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 366 |
# When using ansi2knr, U may be empty or an underscore; expand it |
# When using ansi2knr, U may be empty or an underscore; expand it |
| 367 |
U=`sed -n 's/^U = //p' < "$mf"` |
U=`sed -n 's/^U = //p' < "$mf"` |
| 368 |
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
# Find all dependency output files, they are included files with |
| 369 |
# We invoke sed twice because it is the simplest approach to |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 370 |
# changing $(DEPDIR) to its actual value in the expansion. |
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 371 |
for file in `sed -n ' |
# expansion. |
| 372 |
/^DEP_FILES = .*\\\\$/ { |
for file in `sed -n " |
| 373 |
s/^DEP_FILES = // |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
:loop |
|
|
s/\\\\$// |
|
|
p |
|
|
n |
|
|
/\\\\$/ b loop |
|
|
p |
|
|
} |
|
|
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
|
| 374 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 375 |
# Make sure the directory exists. |
# Make sure the directory exists. |
| 376 |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
| 401 |
# This macro actually does too much some checks are only needed if |
# This macro actually does too much some checks are only needed if |
| 402 |
# 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. |
| 403 |
|
|
| 404 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 |
| 405 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
| 406 |
|
|
| 407 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
| 477 |
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
| 478 |
AM_MISSING_PROG(AUTOHEADER, autoheader) |
AM_MISSING_PROG(AUTOHEADER, autoheader) |
| 479 |
AM_MISSING_PROG(MAKEINFO, makeinfo) |
AM_MISSING_PROG(MAKEINFO, makeinfo) |
|
AM_MISSING_PROG(AMTAR, tar) |
|
| 480 |
AM_PROG_INSTALL_SH |
AM_PROG_INSTALL_SH |
| 481 |
AM_PROG_INSTALL_STRIP |
AM_PROG_INSTALL_STRIP |
| 482 |
AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
| 485 |
AC_REQUIRE([AC_PROG_AWK])dnl |
AC_REQUIRE([AC_PROG_AWK])dnl |
| 486 |
AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
| 487 |
AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 488 |
|
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
| 489 |
|
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
| 490 |
|
[_AM_PROG_TAR([v7])])]) |
| 491 |
_AM_IF_OPTION([no-dependencies],, |
_AM_IF_OPTION([no-dependencies],, |
| 492 |
[AC_PROVIDE_IFELSE([AC_PROG_CC], |
[AC_PROVIDE_IFELSE([AC_PROG_CC], |
| 493 |
[_AM_DEPENDENCIES(CC)], |
[_AM_DEPENDENCIES(CC)], |
| 730 |
# this.) |
# this.) |
| 731 |
AC_DEFUN([AM_PROG_MKDIR_P], |
AC_DEFUN([AM_PROG_MKDIR_P], |
| 732 |
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
| 733 |
# Keeping the `.' argument allows $(mkdir_p) to be used without |
# We used to keeping the `.' as first argument, in order to |
| 734 |
# argument. Indeed, we sometimes output rules like |
# allow $(mkdir_p) to be used without argument. As in |
| 735 |
# $(mkdir_p) $(somedir) |
# $(mkdir_p) $(somedir) |
| 736 |
# where $(somedir) is conditionally defined. |
# where $(somedir) is conditionally defined. However this is wrong |
| 737 |
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more |
# for two reasons: |
| 738 |
# expensive solution, as it forces Make to start a sub-shell.) |
# 1. if the package is installed by a user who cannot write `.' |
| 739 |
mkdir_p='mkdir -p -- .' |
# make install will fail, |
| 740 |
|
# 2. the above comment should most certainly read |
| 741 |
|
# $(mkdir_p) $(DESTDIR)$(somedir) |
| 742 |
|
# so it does not work when $(somedir) is undefined and |
| 743 |
|
# $(DESTDIR) is not. |
| 744 |
|
# To support the latter case, we have to write |
| 745 |
|
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
| 746 |
|
# so the `.' trick is pointless. |
| 747 |
|
mkdir_p='mkdir -p --' |
| 748 |
else |
else |
| 749 |
# On NextStep and OpenStep, the `mkdir' command does not |
# On NextStep and OpenStep, the `mkdir' command does not |
| 750 |
# recognize any option. It will interpret all options as |
# recognize any option. It will interpret all options as |
| 910 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
| 911 |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 912 |
|
|
| 913 |
|
# Check how to create a tarball. -*- Autoconf -*- |
| 914 |
|
|
| 915 |
|
# Copyright (C) 2004 Free Software Foundation, Inc. |
| 916 |
|
|
| 917 |
|
# This program is free software; you can redistribute it and/or modify |
| 918 |
|
# it under the terms of the GNU General Public License as published by |
| 919 |
|
# the Free Software Foundation; either version 2, or (at your option) |
| 920 |
|
# any later version. |
| 921 |
|
|
| 922 |
|
# This program is distributed in the hope that it will be useful, |
| 923 |
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 924 |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 925 |
|
# GNU General Public License for more details. |
| 926 |
|
|
| 927 |
|
# You should have received a copy of the GNU General Public License |
| 928 |
|
# along with this program; if not, write to the Free Software |
| 929 |
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
| 930 |
|
# 02111-1307, USA. |
| 931 |
|
|
| 932 |
|
# serial 1 |
| 933 |
|
|
| 934 |
|
|
| 935 |
|
# _AM_PROG_TAR(FORMAT) |
| 936 |
|
# -------------------- |
| 937 |
|
# Check how to create a tarball in format FORMAT. |
| 938 |
|
# FORMAT should be one of `v7', `ustar', or `pax'. |
| 939 |
|
# |
| 940 |
|
# Substitute a variable $(am__tar) that is a command |
| 941 |
|
# writing to stdout a FORMAT-tarball containing the directory |
| 942 |
|
# $tardir. |
| 943 |
|
# tardir=directory && $(am__tar) > result.tar |
| 944 |
|
# |
| 945 |
|
# Substitute a variable $(am__untar) that extract such |
| 946 |
|
# a tarball read from stdin. |
| 947 |
|
# $(am__untar) < result.tar |
| 948 |
|
AC_DEFUN([_AM_PROG_TAR], |
| 949 |
|
[# Always define AMTAR for backward compatibility. |
| 950 |
|
AM_MISSING_PROG([AMTAR], [tar]) |
| 951 |
|
m4_if([$1], [v7], |
| 952 |
|
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], |
| 953 |
|
[m4_case([$1], [ustar],, [pax],, |
| 954 |
|
[m4_fatal([Unknown tar format])]) |
| 955 |
|
AC_MSG_CHECKING([how to create a $1 tar archive]) |
| 956 |
|
# Loop over all known methods to create a tar archive until one works. |
| 957 |
|
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
| 958 |
|
_am_tools=${am_cv_prog_tar_$1-$_am_tools} |
| 959 |
|
# Do not fold the above two line into one, because Tru64 sh and |
| 960 |
|
# Solaris sh will not grok spaces in the rhs of `-'. |
| 961 |
|
for _am_tool in $_am_tools |
| 962 |
|
do |
| 963 |
|
case $_am_tool in |
| 964 |
|
gnutar) |
| 965 |
|
for _am_tar in tar gnutar gtar; |
| 966 |
|
do |
| 967 |
|
AM_RUN_LOG([$_am_tar --version]) && break |
| 968 |
|
done |
| 969 |
|
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
| 970 |
|
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
| 971 |
|
am__untar="$_am_tar -xf -" |
| 972 |
|
;; |
| 973 |
|
plaintar) |
| 974 |
|
# Must skip GNU tar: if it does not support --format= it doesn't create |
| 975 |
|
# ustar tarball either. |
| 976 |
|
(tar --version) >/dev/null 2>&1 && continue |
| 977 |
|
am__tar='tar chf - "$$tardir"' |
| 978 |
|
am__tar_='tar chf - "$tardir"' |
| 979 |
|
am__untar='tar xf -' |
| 980 |
|
;; |
| 981 |
|
pax) |
| 982 |
|
am__tar='pax -L -x $1 -w "$$tardir"' |
| 983 |
|
am__tar_='pax -L -x $1 -w "$tardir"' |
| 984 |
|
am__untar='pax -r' |
| 985 |
|
;; |
| 986 |
|
cpio) |
| 987 |
|
am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
| 988 |
|
am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
| 989 |
|
am__untar='cpio -i -H $1 -d' |
| 990 |
|
;; |
| 991 |
|
none) |
| 992 |
|
am__tar=false |
| 993 |
|
am__tar_=false |
| 994 |
|
am__untar=false |
| 995 |
|
;; |
| 996 |
|
esac |
| 997 |
|
|
| 998 |
|
# If the value was cached, stop now. We just wanted to have am__tar |
| 999 |
|
# and am__untar set. |
| 1000 |
|
test -n "${am_cv_prog_tar_$1}" && break |
| 1001 |
|
|
| 1002 |
|
# tar/untar a dummy directory, and stop if the command works |
| 1003 |
|
rm -rf conftest.dir |
| 1004 |
|
mkdir conftest.dir |
| 1005 |
|
echo GrepMe > conftest.dir/file |
| 1006 |
|
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
| 1007 |
|
rm -rf conftest.dir |
| 1008 |
|
if test -s conftest.tar; then |
| 1009 |
|
AM_RUN_LOG([$am__untar <conftest.tar]) |
| 1010 |
|
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
| 1011 |
|
fi |
| 1012 |
|
done |
| 1013 |
|
rm -rf conftest.dir |
| 1014 |
|
|
| 1015 |
|
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
| 1016 |
|
AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
| 1017 |
|
AC_SUBST([am__tar]) |
| 1018 |
|
AC_SUBST([am__untar]) |
| 1019 |
|
]) # _AM_PROG_TAR |
| 1020 |
|
|