1
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008 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'.])])
14
22
# Configure paths for GLIB
15
23
# Owen Taylor 1997-2001
7876
7884
])# PKG_CHECK_MODULES
7878
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
7886
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
7880
7888
# This file is free software; the Free Software Foundation
7881
7889
# gives unlimited permission to copy and/or distribute it,
7885
7893
# ----------------------------
7886
7894
# Automake X.Y traces this macro to ensure aclocal.m4 has been
7887
7895
# generated from the m4 files accompanying Automake X.Y.
7888
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
7896
# (This private macro should not be called outside this file.)
7897
AC_DEFUN([AM_AUTOMAKE_VERSION],
7898
[am__api_version='1.10'
7899
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7900
dnl require some minimum version. Point them to the right macro.
7901
m4_if([$1], [1.10.1], [],
7902
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7905
# _AM_AUTOCONF_VERSION(VERSION)
7906
# -----------------------------
7907
# aclocal traces this macro to find the Autoconf version.
7908
# This is a private macro too. Using m4_define simplifies
7909
# the logic in aclocal, which can simply ignore this definition.
7910
m4_define([_AM_AUTOCONF_VERSION], [])
7890
7912
# AM_SET_CURRENT_AUTOMAKE_VERSION
7891
7913
# -------------------------------
7892
# Call AM_AUTOMAKE_VERSION so it can be traced.
7914
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7893
7915
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7894
7916
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7895
[AM_AUTOMAKE_VERSION([1.9.6])])
7917
[AM_AUTOMAKE_VERSION([1.10.1])dnl
7918
m4_ifndef([AC_AUTOCONF_VERSION],
7919
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
7920
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7897
7922
# Figure out how to run the assembler. -*- Autoconf -*-
7899
# Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
7924
# Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7901
7926
# This file is free software; the Free Software Foundation
7902
7927
# gives unlimited permission to copy and/or distribute it,
7903
7928
# with or without modifications, as long as this notice is preserved.
7968
7994
am_aux_dir=`cd $ac_aux_dir && pwd`
7972
# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
7973
# Free Software Foundation, Inc.
7975
# This file is free software; the Free Software Foundation
7976
# gives unlimited permission to copy and/or distribute it,
7977
# with or without modifications, as long as this notice is preserved.
7981
# This was merged into AC_PROG_CC in Autoconf.
7983
AU_DEFUN([AM_PROG_CC_STDC],
7985
AC_DIAGNOSE([obsolete], [$0:
7986
your code should no longer depend upon `am_cv_prog_cc_stdc', but upon
7987
`ac_cv_prog_cc_stdc'. Remove this warning and the assignment when
7988
you adjust the code. You can also remove the above call to
7989
AC_PROG_CC if you already called it elsewhere.])
7990
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
7992
AU_DEFUN([fp_PROG_CC_STDC])
7994
7997
# AM_CONDITIONAL -*- Autoconf -*-
7996
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
7999
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
7997
8000
# Free Software Foundation, Inc.
7999
8002
# This file is free software; the Free Software Foundation
8000
8003
# gives unlimited permission to copy and/or distribute it,
8001
8004
# with or without modifications, as long as this notice is preserved.
8005
8008
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8006
8009
# -------------------------------------
8024
8029
Usually this means the macro was only invoked conditionally.]])
8028
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
8032
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
8029
8033
# Free Software Foundation, Inc.
8031
8035
# This file is free software; the Free Software Foundation
8032
8036
# gives unlimited permission to copy and/or distribute it,
8033
8037
# with or without modifications, as long as this notice is preserved.
8037
8041
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8038
8042
# written in clear, in which case automake, when reading aclocal.m4,
8060
8064
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
8061
8065
[$1], CXX, [depcc="$CXX" am_compiler_list=],
8062
8066
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
8067
[$1], UPC, [depcc="$UPC" am_compiler_list=],
8063
8068
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
8064
8069
[depcc="$$1" am_compiler_list=])
8202
8209
# some people rename them; so instead we look at the file content.
8203
8210
# Grep'ing the first line is not enough: some people post-process
8204
8211
# each Makefile.in and add a new line on top of each file to say so.
8205
# So let's grep whole file.
8206
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8212
# Grep'ing the whole file is not good either: AIX grep has a line
8213
# limit of 2048, but all sed's we know have understand at least 4000.
8214
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8207
8215
dirpart=`AS_DIRNAME("$mf")`
8263
8271
# Do all the work for Automake. -*- Autoconf -*-
8265
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
8266
# Free Software Foundation, Inc.
8273
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8274
# 2005, 2006, 2008 Free Software Foundation, Inc.
8268
8276
# This file is free software; the Free Software Foundation
8269
8277
# gives unlimited permission to copy and/or distribute it,
8270
8278
# with or without modifications, as long as this notice is preserved.
8274
8282
# This macro actually does too much. Some checks are only needed if
8275
8283
# your package does certain things. But this isn't really a big deal.
8286
8294
# arguments mandatory, and then we can depend on a new Autoconf
8287
8295
# release and drop the old call support.
8288
8296
AC_DEFUN([AM_INIT_AUTOMAKE],
8289
[AC_PREREQ([2.58])dnl
8297
[AC_PREREQ([2.60])dnl
8290
8298
dnl Autoconf wants to disallow AM_ names. We explicitly allow
8291
8299
dnl the ones we care about.
8292
8300
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8293
8301
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
8294
8302
AC_REQUIRE([AC_PROG_INSTALL])dnl
8295
# test to see if srcdir already configured
8296
if test "`cd $srcdir && pwd`" != "`pwd`" &&
8297
test -f $srcdir/config.status; then
8298
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8303
if test "`cd $srcdir && pwd`" != "`pwd`"; then
8304
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8305
# is not polluted with repeated "-I."
8306
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
8307
# test to see if srcdir already configured
8308
if test -f $srcdir/config.status; then
8309
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8301
8313
# test whether we have cygpath
8315
8327
AC_SUBST([PACKAGE], [$1])dnl
8316
8328
AC_SUBST([VERSION], [$2])],
8317
8329
[_AM_SET_OPTIONS([$1])dnl
8330
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
8331
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
8332
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
8318
8333
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8319
8334
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
8363
8382
# our stamp files there.
8364
8383
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
8365
8384
[# Compute $1's index in $config_headers.
8366
8386
_am_stamp_count=1
8367
8387
for _am_header in $config_headers :; do
8368
8388
case $_am_header in
8389
$_am_arg | $_am_arg:* )
8372
8392
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
8375
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
8395
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
8377
8397
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8490
8510
rm -f confinc confmf
8513
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
8514
# Free Software Foundation, Inc.
8516
# This file is free software; the Free Software Foundation
8517
# gives unlimited permission to copy and/or distribute it,
8518
# with or without modifications, as long as this notice is preserved.
8524
# Like AC_PROG_CC_C_O, but changed for automake.
8525
AC_DEFUN([AM_PROG_CC_C_O],
8526
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
8527
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8528
AC_REQUIRE_AUX_FILE([compile])dnl
8529
# FIXME: we rely on the cache variable name because
8530
# there is no other way.
8532
ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
8533
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
8534
# Losing compiler, so override with the script.
8535
# FIXME: It is wrong to rewrite CC.
8536
# But if we don't then we get into trouble of one sort or another.
8537
# A longer-term fix would be to have automake use am__CC in this case,
8538
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
8539
CC="$am_aux_dir/compile $CC"
8541
dnl Make sure AC_PROG_CC is never called again, or it will override our
8543
m4_define([AC_PROG_CC],
8544
[m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
8493
8547
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
8495
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
8549
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
8496
8550
# Free Software Foundation, Inc.
8498
8552
# This file is free software; the Free Software Foundation
8499
8553
# gives unlimited permission to copy and/or distribute it,
8500
8554
# with or without modifications, as long as this notice is preserved.
8504
8558
# AM_MISSING_PROG(NAME, PROGRAM)
8505
8559
# ------------------------------
8515
8569
# If it does, set am_missing_run to use it, otherwise, to nothing.
8516
8570
AC_DEFUN([AM_MISSING_HAS_RUN],
8517
8571
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8572
AC_REQUIRE_AUX_FILE([missing])dnl
8518
8573
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
8519
8574
# Use eval to expand $SHELL
8520
8575
if eval "$MISSING --run true"; then
8528
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
8583
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8530
8585
# This file is free software; the Free Software Foundation
8531
8586
# gives unlimited permission to copy and/or distribute it,
8534
8589
# AM_PROG_MKDIR_P
8535
8590
# ---------------
8536
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
8538
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
8539
# created by `make install' are always world readable, even if the
8540
# installer happens to have an overly restrictive umask (e.g. 077).
8541
# This was a mistake. There are at least two reasons why we must not
8543
# - it causes special bits like SGID to be ignored,
8544
# - it may be too restrictive (some setups expect 775 directories).
8546
# Do not use -m 0755 and let people choose whatever they expect by
8549
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
8550
# Some implementations (such as Solaris 8's) are not thread-safe: if a
8551
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
8552
# concurrently, both version can detect that a/ is missing, but only
8553
# one can create it and the other will error out. Consequently we
8554
# restrict ourselves to GNU make (using the --version option ensures
8591
# Check for `mkdir -p'.
8556
8592
AC_DEFUN([AM_PROG_MKDIR_P],
8557
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
8558
# We used to keeping the `.' as first argument, in order to
8559
# allow $(mkdir_p) to be used without argument. As in
8560
# $(mkdir_p) $(somedir)
8561
# where $(somedir) is conditionally defined. However this is wrong
8563
# 1. if the package is installed by a user who cannot write `.'
8564
# make install will fail,
8565
# 2. the above comment should most certainly read
8566
# $(mkdir_p) $(DESTDIR)$(somedir)
8567
# so it does not work when $(somedir) is undefined and
8568
# $(DESTDIR) is not.
8569
# To support the latter case, we have to write
8570
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
8571
# so the `.' trick is pointless.
8572
mkdir_p='mkdir -p --'
8574
# On NextStep and OpenStep, the `mkdir' command does not
8575
# recognize any option. It will interpret all options as
8576
# directories to create, and then abort because `.' already
8578
for d in ./-p ./--version;
8580
test -d $d && rmdir $d
8582
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
8583
if test -f "$ac_aux_dir/mkinstalldirs"; then
8584
mkdir_p='$(mkinstalldirs)'
8586
mkdir_p='$(install_sh) -d'
8589
AC_SUBST([mkdir_p])])
8593
[AC_PREREQ([2.60])dnl
8594
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
8595
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
8596
dnl while keeping a definition of mkdir_p for backward compatibility.
8597
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
8598
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
8599
dnl Makefile.ins that do not define MKDIR_P, so we do our own
8600
dnl adjustment using top_builddir (which is defined more often than
8602
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
8604
[[\\/$]]* | ?:[[\\/]]*) ;;
8605
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8591
8609
# Helper functions for option handling. -*- Autoconf -*-
8879
8897
if test "$cross_compiling" != no; then
8880
8898
AC_CHECK_TOOL([STRIP], [strip], :)
8882
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8900
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8883
8901
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8903
# Copyright (C) 2006 Free Software Foundation, Inc.
8905
# This file is free software; the Free Software Foundation
8906
# gives unlimited permission to copy and/or distribute it,
8907
# with or without modifications, as long as this notice is preserved.
8909
# _AM_SUBST_NOTMAKE(VARIABLE)
8910
# ---------------------------
8911
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8912
# This macro is traced by Automake.
8913
AC_DEFUN([_AM_SUBST_NOTMAKE])
8885
8915
# Check how to create a tarball. -*- Autoconf -*-
8887
8917
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.