1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
1
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
3
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
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
[m4_warning([this file was generated for autoconf 2.61.
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'.])])
22
14
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
23
15
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
7705
7697
])# PKG_CHECK_MODULES
7707
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
7699
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
7709
7701
# This file is free software; the Free Software Foundation
7710
7702
# gives unlimited permission to copy and/or distribute it,
7714
7706
# ----------------------------
7715
7707
# Automake X.Y traces this macro to ensure aclocal.m4 has been
7716
7708
# generated from the m4 files accompanying Automake X.Y.
7717
# (This private macro should not be called outside this file.)
7718
AC_DEFUN([AM_AUTOMAKE_VERSION],
7719
[am__api_version='1.10'
7720
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7721
dnl require some minimum version. Point them to the right macro.
7722
m4_if([$1], [1.10.1], [],
7723
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7726
# _AM_AUTOCONF_VERSION(VERSION)
7727
# -----------------------------
7728
# aclocal traces this macro to find the Autoconf version.
7729
# This is a private macro too. Using m4_define simplifies
7730
# the logic in aclocal, which can simply ignore this definition.
7731
m4_define([_AM_AUTOCONF_VERSION], [])
7709
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
7733
7711
# AM_SET_CURRENT_AUTOMAKE_VERSION
7734
7712
# -------------------------------
7735
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7713
# Call AM_AUTOMAKE_VERSION so it can be traced.
7736
7714
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7737
7715
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7738
[AM_AUTOMAKE_VERSION([1.10.1])dnl
7739
m4_ifndef([AC_AUTOCONF_VERSION],
7740
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
7741
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7716
[AM_AUTOMAKE_VERSION([1.9.6])])
7743
7718
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
7796
7771
# AM_CONDITIONAL -*- Autoconf -*-
7798
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
7773
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
7799
7774
# Free Software Foundation, Inc.
7801
7776
# This file is free software; the Free Software Foundation
7802
7777
# gives unlimited permission to copy and/or distribute it,
7803
7778
# with or without modifications, as long as this notice is preserved.
7807
7782
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
7808
7783
# -------------------------------------
7828
7801
Usually this means the macro was only invoked conditionally.]])
7831
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7805
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7832
7806
# Free Software Foundation, Inc.
7834
7808
# This file is free software; the Free Software Foundation
7835
7809
# gives unlimited permission to copy and/or distribute it,
7836
7810
# with or without modifications, as long as this notice is preserved.
7840
7814
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
7841
7815
# written in clear, in which case automake, when reading aclocal.m4,
7863
7837
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
7864
7838
[$1], CXX, [depcc="$CXX" am_compiler_list=],
7865
7839
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
7866
[$1], UPC, [depcc="$UPC" am_compiler_list=],
7867
7840
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
7868
7841
[depcc="$$1" am_compiler_list=])
8008
7979
# some people rename them; so instead we look at the file content.
8009
7980
# Grep'ing the first line is not enough: some people post-process
8010
7981
# each Makefile.in and add a new line on top of each file to say so.
8011
# Grep'ing the whole file is not good either: AIX grep has a line
8012
# limit of 2048, but all sed's we know have understand at least 4000.
8013
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7982
# So let's grep whole file.
7983
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8014
7984
dirpart=`AS_DIRNAME("$mf")`
8070
8040
# Do all the work for Automake. -*- Autoconf -*-
8072
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8073
# 2005, 2006, 2008 Free Software Foundation, Inc.
8042
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
8043
# Free Software Foundation, Inc.
8075
8045
# This file is free software; the Free Software Foundation
8076
8046
# gives unlimited permission to copy and/or distribute it,
8077
8047
# with or without modifications, as long as this notice is preserved.
8081
8051
# This macro actually does too much. Some checks are only needed if
8082
8052
# your package does certain things. But this isn't really a big deal.
8093
8063
# arguments mandatory, and then we can depend on a new Autoconf
8094
8064
# release and drop the old call support.
8095
8065
AC_DEFUN([AM_INIT_AUTOMAKE],
8096
[AC_PREREQ([2.60])dnl
8066
[AC_PREREQ([2.58])dnl
8097
8067
dnl Autoconf wants to disallow AM_ names. We explicitly allow
8098
8068
dnl the ones we care about.
8099
8069
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8100
8070
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
8101
8071
AC_REQUIRE([AC_PROG_INSTALL])dnl
8102
if test "`cd $srcdir && pwd`" != "`pwd`"; then
8103
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8104
# is not polluted with repeated "-I."
8105
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
8106
# test to see if srcdir already configured
8107
if test -f $srcdir/config.status; then
8108
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8072
# test to see if srcdir already configured
8073
if test "`cd $srcdir && pwd`" != "`pwd`" &&
8074
test -f $srcdir/config.status; then
8075
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8112
8078
# test whether we have cygpath
8126
8092
AC_SUBST([PACKAGE], [$1])dnl
8127
8093
AC_SUBST([VERSION], [$2])],
8128
8094
[_AM_SET_OPTIONS([$1])dnl
8129
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
8130
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
8131
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
8132
8095
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8133
8096
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
8181
8140
# our stamp files there.
8182
8141
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
8183
8142
[# Compute $1's index in $config_headers.
8185
8143
_am_stamp_count=1
8186
8144
for _am_header in $config_headers :; do
8187
8145
case $_am_header in
8188
$_am_arg | $_am_arg:* )
8191
8149
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
8194
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
8152
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
8196
8154
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8312
8270
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
8314
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
8272
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
8315
8273
# Free Software Foundation, Inc.
8317
8275
# This file is free software; the Free Software Foundation
8318
8276
# gives unlimited permission to copy and/or distribute it,
8319
8277
# with or without modifications, as long as this notice is preserved.
8323
8281
# AM_MISSING_PROG(NAME, PROGRAM)
8324
8282
# ------------------------------
8334
8292
# If it does, set am_missing_run to use it, otherwise, to nothing.
8335
8293
AC_DEFUN([AM_MISSING_HAS_RUN],
8336
8294
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8337
AC_REQUIRE_AUX_FILE([missing])dnl
8338
8295
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
8339
8296
# Use eval to expand $SHELL
8340
8297
if eval "$MISSING --run true"; then
8348
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8305
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
8350
8307
# This file is free software; the Free Software Foundation
8351
8308
# gives unlimited permission to copy and/or distribute it,
8354
8311
# AM_PROG_MKDIR_P
8355
8312
# ---------------
8356
# Check for `mkdir -p'.
8313
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
8315
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
8316
# created by `make install' are always world readable, even if the
8317
# installer happens to have an overly restrictive umask (e.g. 077).
8318
# This was a mistake. There are at least two reasons why we must not
8320
# - it causes special bits like SGID to be ignored,
8321
# - it may be too restrictive (some setups expect 775 directories).
8323
# Do not use -m 0755 and let people choose whatever they expect by
8326
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
8327
# Some implementations (such as Solaris 8's) are not thread-safe: if a
8328
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
8329
# concurrently, both version can detect that a/ is missing, but only
8330
# one can create it and the other will error out. Consequently we
8331
# restrict ourselves to GNU make (using the --version option ensures
8357
8333
AC_DEFUN([AM_PROG_MKDIR_P],
8358
[AC_PREREQ([2.60])dnl
8359
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
8360
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
8361
dnl while keeping a definition of mkdir_p for backward compatibility.
8362
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
8363
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
8364
dnl Makefile.ins that do not define MKDIR_P, so we do our own
8365
dnl adjustment using top_builddir (which is defined more often than
8367
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
8369
[[\\/$]]* | ?:[[\\/]]*) ;;
8370
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8334
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
8335
# We used to keeping the `.' as first argument, in order to
8336
# allow $(mkdir_p) to be used without argument. As in
8337
# $(mkdir_p) $(somedir)
8338
# where $(somedir) is conditionally defined. However this is wrong
8340
# 1. if the package is installed by a user who cannot write `.'
8341
# make install will fail,
8342
# 2. the above comment should most certainly read
8343
# $(mkdir_p) $(DESTDIR)$(somedir)
8344
# so it does not work when $(somedir) is undefined and
8345
# $(DESTDIR) is not.
8346
# To support the latter case, we have to write
8347
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
8348
# so the `.' trick is pointless.
8349
mkdir_p='mkdir -p --'
8351
# On NextStep and OpenStep, the `mkdir' command does not
8352
# recognize any option. It will interpret all options as
8353
# directories to create, and then abort because `.' already
8355
for d in ./-p ./--version;
8357
test -d $d && rmdir $d
8359
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
8360
if test -f "$ac_aux_dir/mkinstalldirs"; then
8361
mkdir_p='$(mkinstalldirs)'
8363
mkdir_p='$(install_sh) -d'
8366
AC_SUBST([mkdir_p])])
8374
8368
# Helper functions for option handling. -*- Autoconf -*-
8662
8656
if test "$cross_compiling" != no; then
8663
8657
AC_CHECK_TOOL([STRIP], [strip], :)
8665
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8659
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8666
8660
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8668
# Copyright (C) 2006 Free Software Foundation, Inc.
8670
# This file is free software; the Free Software Foundation
8671
# gives unlimited permission to copy and/or distribute it,
8672
# with or without modifications, as long as this notice is preserved.
8674
# _AM_SUBST_NOTMAKE(VARIABLE)
8675
# ---------------------------
8676
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8677
# This macro is traced by Automake.
8678
AC_DEFUN([_AM_SUBST_NOTMAKE])
8680
8662
# Check how to create a tarball. -*- Autoconf -*-
8682
8664
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.