1
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1
# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005 Free Software Foundation, Inc.
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4
# 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.
633
625
])# AC_LIBTOOL_SETUP
638
AC_DEFUN([_LT_VERSION_CHECK],
639
[AC_MSG_CHECKING([for correct ltmain.sh version])
640
if test "x$ltmain" = "x" ; then
644
*** @<:@Gentoo@:>@ sanity check failed! ***
645
*** \$ltmain is not defined, please check the patch for consistency! ***
648
gentoo_lt_version="1.5.22"
649
gentoo_ltmain_version=`sed -n '/^[[ ]]*VERSION=/{s/^[[ ]]*VERSION=//;p;q;}' "$ltmain"`
650
if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
654
*** @<:@Gentoo@:>@ sanity check failed! ***
655
*** libtool.m4 and ltmain.sh have a version mismatch! ***
656
*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
660
libtoolize --copy --force
662
if appropriate, please contact the maintainer of this
663
package (or your distribution) for help.
668
])# _LT_VERSION_CHECK
671
628
# _LT_AC_SYS_COMPILER
672
629
# -------------------
673
630
AC_DEFUN([_LT_AC_SYS_COMPILER],
1802
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
1803
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1804
supports_anon_versioning=no
1805
case `$LD -v 2>/dev/null` in
1806
*\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
1807
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1808
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1809
*\ 2.11.*) ;; # other 2.11 versions
1810
*) supports_anon_versioning=yes ;;
1812
if test $supports_anon_versioning = yes; then
1813
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
1814
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1815
$echo "local: *; };" >> $output_objdir/$libname.ver~
1816
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1818
$archive_expsym_cmds="$archive_cmds"
1826
1759
library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
6365
6304
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6366
freebsd* | kfreebsd*-gnu | dragonfly*)
6367
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6368
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6369
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6370
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6305
freebsd* | dragonfly*)
6306
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6307
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6308
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6309
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6312
# GNU/kFreeBSD uses gcc -shared to do shared libraries.
6314
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6315
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6316
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6317
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6318
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
6867
6815
AC_MSG_RESULT([$SED])
6870
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
6872
# This file is free software; the Free Software Foundation
6873
# gives unlimited permission to copy and/or distribute it,
6874
# with or without modifications, as long as this notice is preserved.
6819
# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
6820
# Generated from amversion.in; do not edit by hand.
6822
# This program is free software; you can redistribute it and/or modify
6823
# it under the terms of the GNU General Public License as published by
6824
# the Free Software Foundation; either version 2, or (at your option)
6825
# any later version.
6827
# This program is distributed in the hope that it will be useful,
6828
# but WITHOUT ANY WARRANTY; without even the implied warranty of
6829
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6830
# GNU General Public License for more details.
6832
# You should have received a copy of the GNU General Public License
6833
# along with this program; if not, write to the Free Software
6834
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6876
6836
# AM_AUTOMAKE_VERSION(VERSION)
6877
6837
# ----------------------------
6878
6838
# Automake X.Y traces this macro to ensure aclocal.m4 has been
6879
6839
# generated from the m4 files accompanying Automake X.Y.
6880
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
6840
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
6882
6842
# AM_SET_CURRENT_AUTOMAKE_VERSION
6883
6843
# -------------------------------
6884
6844
# Call AM_AUTOMAKE_VERSION so it can be traced.
6885
6845
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6886
6846
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6887
[AM_AUTOMAKE_VERSION([1.9.6])])
6889
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6891
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
6893
# This file is free software; the Free Software Foundation
6894
# gives unlimited permission to copy and/or distribute it,
6895
# with or without modifications, as long as this notice is preserved.
6847
[AM_AUTOMAKE_VERSION([1.8.5])])
6851
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
6853
# This program is free software; you can redistribute it and/or modify
6854
# it under the terms of the GNU General Public License as published by
6855
# the Free Software Foundation; either version 2, or (at your option)
6856
# any later version.
6858
# This program is distributed in the hope that it will be useful,
6859
# but WITHOUT ANY WARRANTY; without even the implied warranty of
6860
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6861
# GNU General Public License for more details.
6863
# You should have received a copy of the GNU General Public License
6864
# along with this program; if not, write to the Free Software
6865
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6897
6868
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
6898
6869
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
6939
6910
am_aux_dir=`cd $ac_aux_dir && pwd`
6942
# AM_CONDITIONAL -*- Autoconf -*-
6944
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
6945
# Free Software Foundation, Inc.
6947
# This file is free software; the Free Software Foundation
6948
# gives unlimited permission to copy and/or distribute it,
6949
# with or without modifications, as long as this notice is preserved.
6913
# AM_CONDITIONAL -*- Autoconf -*-
6915
# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
6917
# This program is free software; you can redistribute it and/or modify
6918
# it under the terms of the GNU General Public License as published by
6919
# the Free Software Foundation; either version 2, or (at your option)
6920
# any later version.
6922
# This program is distributed in the hope that it will be useful,
6923
# but WITHOUT ANY WARRANTY; without even the implied warranty of
6924
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6925
# GNU General Public License for more details.
6927
# You should have received a copy of the GNU General Public License
6928
# along with this program; if not, write to the Free Software
6929
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6953
6934
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6954
6935
# -------------------------------------
6969
6950
AC_CONFIG_COMMANDS_PRE(
6970
6951
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
6971
AC_MSG_ERROR([[conditional "$1" was never defined.
6972
Usually this means the macro was only invoked conditionally.]])
6952
AC_MSG_ERROR([conditional "$1" was never defined.
6953
Usually this means the macro was only invoked conditionally.])
6956
# serial 7 -*- Autoconf -*-
6976
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
6958
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
6977
6959
# Free Software Foundation, Inc.
6979
# This file is free software; the Free Software Foundation
6980
# gives unlimited permission to copy and/or distribute it,
6981
# with or without modifications, as long as this notice is preserved.
6961
# This program is free software; you can redistribute it and/or modify
6962
# it under the terms of the GNU General Public License as published by
6963
# the Free Software Foundation; either version 2, or (at your option)
6964
# any later version.
6966
# This program is distributed in the hope that it will be useful,
6967
# but WITHOUT ANY WARRANTY; without even the implied warranty of
6968
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6969
# GNU General Public License for more details.
6971
# You should have received a copy of the GNU General Public License
6972
# along with this program; if not, write to the Free Software
6973
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6985
6977
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6986
6978
# written in clear, in which case automake, when reading aclocal.m4,
7128
7121
AC_SUBST([AMDEPBACKSLASH])
7131
# Generate code to set up dependency tracking. -*- Autoconf -*-
7133
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7134
# Free Software Foundation, Inc.
7136
# This file is free software; the Free Software Foundation
7137
# gives unlimited permission to copy and/or distribute it,
7138
# with or without modifications, as long as this notice is preserved.
7124
# Generate code to set up dependency tracking. -*- Autoconf -*-
7126
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
7128
# This program is free software; you can redistribute it and/or modify
7129
# it under the terms of the GNU General Public License as published by
7130
# the Free Software Foundation; either version 2, or (at your option)
7131
# any later version.
7133
# This program is distributed in the hope that it will be useful,
7134
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7135
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7136
# GNU General Public License for more details.
7138
# You should have received a copy of the GNU General Public License
7139
# along with this program; if not, write to the Free Software
7140
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7142
7145
# _AM_OUTPUT_DEPENDENCY_COMMANDS
7143
7146
# ------------------------------
7159
# Extract the definition of DEPDIR, am__include, and am__quote
7160
# from the Makefile without running `make'.
7162
grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
7163
# Extract the definition of DEP_FILES from the Makefile without
7161
7165
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7162
7166
test -z "$DEPDIR" && continue
7163
am__include=`sed -n 's/^am__include = //p' < "$mf"`
7164
test -z "am__include" && continue
7165
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7166
7167
# When using ansi2knr, U may be empty or an underscore; expand it
7167
7168
U=`sed -n 's/^U = //p' < "$mf"`
7168
# Find all dependency output files, they are included files with
7169
# $(DEPDIR) in their names. We invoke sed twice because it is the
7170
# simplest approach to changing $(DEPDIR) to its actual value in the
7172
for file in `sed -n "
7173
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7169
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7170
# We invoke sed twice because it is the simplest approach to
7171
# changing $(DEPDIR) to its actual value in the expansion.
7172
for file in `sed -n '
7173
/^DEP_FILES = .*\\\\$/ {
7182
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7174
7183
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7175
7184
# Make sure the directory exists.
7176
7185
test -f "$dirpart/$file" && continue
7196
7205
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
7199
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
7200
# Free Software Foundation, Inc.
7202
# This file is free software; the Free Software Foundation
7203
# gives unlimited permission to copy and/or distribute it,
7204
# with or without modifications, as long as this notice is preserved.
7208
# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
7210
# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
7212
# This program is free software; you can redistribute it and/or modify
7213
# it under the terms of the GNU General Public License as published by
7214
# the Free Software Foundation; either version 2, or (at your option)
7215
# any later version.
7217
# This program is distributed in the hope that it will be useful,
7218
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7219
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7220
# GNU General Public License for more details.
7222
# You should have received a copy of the GNU General Public License
7223
# along with this program; if not, write to the Free Software
7224
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7208
7229
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
7209
7230
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
7211
# Do all the work for Automake. -*- Autoconf -*-
7213
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
7214
# Free Software Foundation, Inc.
7216
# This file is free software; the Free Software Foundation
7217
# gives unlimited permission to copy and/or distribute it,
7218
# with or without modifications, as long as this notice is preserved.
7222
# This macro actually does too much. Some checks are only needed if
7232
# Do all the work for Automake. -*- Autoconf -*-
7234
# This macro actually does too much some checks are only needed if
7223
7235
# your package does certain things. But this isn't really a big deal.
7237
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
7238
# Free Software Foundation, Inc.
7240
# This program is free software; you can redistribute it and/or modify
7241
# it under the terms of the GNU General Public License as published by
7242
# the Free Software Foundation; either version 2, or (at your option)
7243
# any later version.
7245
# This program is distributed in the hope that it will be useful,
7246
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7247
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7248
# GNU General Public License for more details.
7250
# You should have received a copy of the GNU General Public License
7251
# along with this program; if not, write to the Free Software
7252
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7225
7257
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
7226
7258
# AM_INIT_AUTOMAKE([OPTIONS])
7227
7259
# -----------------------------------------------
7323
7354
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
7325
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7327
# This file is free software; the Free Software Foundation
7328
# gives unlimited permission to copy and/or distribute it,
7329
# with or without modifications, as long as this notice is preserved.
7331
7356
# AM_PROG_INSTALL_SH
7332
7357
# ------------------
7333
7358
# Define $install_sh.
7360
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
7362
# This program is free software; you can redistribute it and/or modify
7363
# it under the terms of the GNU General Public License as published by
7364
# the Free Software Foundation; either version 2, or (at your option)
7365
# any later version.
7367
# This program is distributed in the hope that it will be useful,
7368
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7369
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7370
# GNU General Public License for more details.
7372
# You should have received a copy of the GNU General Public License
7373
# along with this program; if not, write to the Free Software
7374
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7334
7377
AC_DEFUN([AM_PROG_INSTALL_SH],
7335
7378
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
7336
7379
install_sh=${install_sh-"$am_aux_dir/install-sh"}
7337
7380
AC_SUBST(install_sh)])
7339
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
7341
# This file is free software; the Free Software Foundation
7342
# gives unlimited permission to copy and/or distribute it,
7343
# with or without modifications, as long as this notice is preserved.
7383
# Copyright (C) 2003 Free Software Foundation, Inc.
7385
# This program is free software; you can redistribute it and/or modify
7386
# it under the terms of the GNU General Public License as published by
7387
# the Free Software Foundation; either version 2, or (at your option)
7388
# any later version.
7390
# This program is distributed in the hope that it will be useful,
7391
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7392
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7393
# GNU General Public License for more details.
7395
# You should have received a copy of the GNU General Public License
7396
# along with this program; if not, write to the Free Software
7397
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7347
7402
# Check whether the underlying file-system supports filenames
7348
7403
# with a leading dot. For instance MS-DOS doesn't.
7357
7412
rmdir .tst 2>/dev/null
7358
7413
AC_SUBST([am__leading_dot])])
7360
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
7415
# Add --enable-maintainer-mode option to configure.
7361
7416
# From Jim Meyering
7363
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
7418
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
7364
7419
# Free Software Foundation, Inc.
7366
# This file is free software; the Free Software Foundation
7367
# gives unlimited permission to copy and/or distribute it,
7368
# with or without modifications, as long as this notice is preserved.
7421
# This program is free software; you can redistribute it and/or modify
7422
# it under the terms of the GNU General Public License as published by
7423
# the Free Software Foundation; either version 2, or (at your option)
7424
# any later version.
7426
# This program is distributed in the hope that it will be useful,
7427
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7428
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7429
# GNU General Public License for more details.
7431
# You should have received a copy of the GNU General Public License
7432
# along with this program; if not, write to the Free Software
7433
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7372
7438
AC_DEFUN([AM_MAINTAINER_MODE],
7373
7439
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
7387
7453
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
7389
# Check to see how 'make' treats includes. -*- Autoconf -*-
7391
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
7393
# This file is free software; the Free Software Foundation
7394
# gives unlimited permission to copy and/or distribute it,
7395
# with or without modifications, as long as this notice is preserved.
7455
# Check to see how 'make' treats includes. -*- Autoconf -*-
7457
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
7459
# This program is free software; you can redistribute it and/or modify
7460
# it under the terms of the GNU General Public License as published by
7461
# the Free Software Foundation; either version 2, or (at your option)
7462
# any later version.
7464
# This program is distributed in the hope that it will be useful,
7465
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7466
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7467
# GNU General Public License for more details.
7469
# You should have received a copy of the GNU General Public License
7470
# along with this program; if not, write to the Free Software
7471
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7399
7476
# AM_MAKE_INCLUDE()
7400
7477
# -----------------
7438
7515
rm -f confinc confmf
7441
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
7443
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
7444
# Free Software Foundation, Inc.
7446
# This file is free software; the Free Software Foundation
7447
# gives unlimited permission to copy and/or distribute it,
7448
# with or without modifications, as long as this notice is preserved.
7521
# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
7523
# This program is free software; you can redistribute it and/or modify
7524
# it under the terms of the GNU General Public License as published by
7525
# the Free Software Foundation; either version 2, or (at your option)
7526
# any later version.
7528
# This program is distributed in the hope that it will be useful,
7529
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7530
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7531
# GNU General Public License for more details.
7533
# You should have received a copy of the GNU General Public License
7534
# along with this program; if not, write to the Free Software
7535
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7452
7540
# AM_MISSING_PROG(NAME, PROGRAM)
7453
7541
# ------------------------------
7476
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
7478
# This file is free software; the Free Software Foundation
7479
# gives unlimited permission to copy and/or distribute it,
7480
# with or without modifications, as long as this notice is preserved.
7482
7564
# AM_PROG_MKDIR_P
7483
7565
# ---------------
7484
7566
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
7568
# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
7570
# This program is free software; you can redistribute it and/or modify
7571
# it under the terms of the GNU General Public License as published by
7572
# the Free Software Foundation; either version 2, or (at your option)
7573
# any later version.
7575
# This program is distributed in the hope that it will be useful,
7576
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7577
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7578
# GNU General Public License for more details.
7580
# You should have received a copy of the GNU General Public License
7581
# along with this program; if not, write to the Free Software
7582
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7486
7585
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
7487
7586
# created by `make install' are always world readable, even if the
7488
7587
# installer happens to have an overly restrictive umask (e.g. 077).
7504
7603
AC_DEFUN([AM_PROG_MKDIR_P],
7505
7604
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7506
# We used to keeping the `.' as first argument, in order to
7507
# allow $(mkdir_p) to be used without argument. As in
7605
# Keeping the `.' argument allows $(mkdir_p) to be used without
7606
# argument. Indeed, we sometimes output rules like
7508
7607
# $(mkdir_p) $(somedir)
7509
# where $(somedir) is conditionally defined. However this is wrong
7511
# 1. if the package is installed by a user who cannot write `.'
7512
# make install will fail,
7513
# 2. the above comment should most certainly read
7514
# $(mkdir_p) $(DESTDIR)$(somedir)
7515
# so it does not work when $(somedir) is undefined and
7516
# $(DESTDIR) is not.
7517
# To support the latter case, we have to write
7518
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7519
# so the `.' trick is pointless.
7520
mkdir_p='mkdir -p --'
7608
# where $(somedir) is conditionally defined.
7609
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
7610
# expensive solution, as it forces Make to start a sub-shell.)
7611
mkdir_p='mkdir -p -- .'
7522
7613
# On NextStep and OpenStep, the `mkdir' command does not
7523
7614
# recognize any option. It will interpret all options as
7537
7628
AC_SUBST([mkdir_p])])
7539
# Helper functions for option handling. -*- Autoconf -*-
7541
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
7543
# This file is free software; the Free Software Foundation
7544
# gives unlimited permission to copy and/or distribute it,
7545
# with or without modifications, as long as this notice is preserved.
7630
# Helper functions for option handling. -*- Autoconf -*-
7632
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
7634
# This program is free software; you can redistribute it and/or modify
7635
# it under the terms of the GNU General Public License as published by
7636
# the Free Software Foundation; either version 2, or (at your option)
7637
# any later version.
7639
# This program is distributed in the hope that it will be useful,
7640
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7641
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7642
# GNU General Public License for more details.
7644
# You should have received a copy of the GNU General Public License
7645
# along with this program; if not, write to the Free Software
7646
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7549
7651
# _AM_MANGLE_OPTION(NAME)
7550
7652
# -----------------------
7569
7671
AC_DEFUN([_AM_IF_OPTION],
7570
7672
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
7572
# Check to make sure that the build environment is sane. -*- Autoconf -*-
7574
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
7575
# Free Software Foundation, Inc.
7577
# This file is free software; the Free Software Foundation
7578
# gives unlimited permission to copy and/or distribute it,
7579
# with or without modifications, as long as this notice is preserved.
7675
# Check to make sure that the build environment is sane.
7678
# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
7680
# This program is free software; you can redistribute it and/or modify
7681
# it under the terms of the GNU General Public License as published by
7682
# the Free Software Foundation; either version 2, or (at your option)
7683
# any later version.
7685
# This program is distributed in the hope that it will be useful,
7686
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7687
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7688
# GNU General Public License for more details.
7690
# You should have received a copy of the GNU General Public License
7691
# along with this program; if not, write to the Free Software
7692
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7583
7697
# AM_SANITY_CHECK
7584
7698
# ---------------
7622
7736
AC_MSG_RESULT(yes)])
7624
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7626
# This file is free software; the Free Software Foundation
7627
# gives unlimited permission to copy and/or distribute it,
7628
# with or without modifications, as long as this notice is preserved.
7630
7738
# AM_PROG_INSTALL_STRIP
7631
# ---------------------
7740
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
7742
# This program is free software; you can redistribute it and/or modify
7743
# it under the terms of the GNU General Public License as published by
7744
# the Free Software Foundation; either version 2, or (at your option)
7745
# any later version.
7747
# This program is distributed in the hope that it will be useful,
7748
# but WITHOUT ANY WARRANTY; without even the implied warranty of
7749
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7750
# GNU General Public License for more details.
7752
# You should have received a copy of the GNU General Public License
7753
# along with this program; if not, write to the Free Software
7754
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7632
7757
# One issue with vendor `install' (even GNU) is that you can't
7633
7758
# specify the program used to strip binaries. This is especially
7634
7759
# annoying in cross-compiling environments, where the build's strip
7649
7774
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7650
7775
AC_SUBST([INSTALL_STRIP_PROGRAM])])
7652
# Check how to create a tarball. -*- Autoconf -*-
7654
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
7656
# This file is free software; the Free Software Foundation
7657
# gives unlimited permission to copy and/or distribute it,
7658
# with or without modifications, as long as this notice is preserved.
7662
# _AM_PROG_TAR(FORMAT)
7663
# --------------------
7664
# Check how to create a tarball in format FORMAT.
7665
# FORMAT should be one of `v7', `ustar', or `pax'.
7667
# Substitute a variable $(am__tar) that is a command
7668
# writing to stdout a FORMAT-tarball containing the directory
7670
# tardir=directory && $(am__tar) > result.tar
7672
# Substitute a variable $(am__untar) that extract such
7673
# a tarball read from stdin.
7674
# $(am__untar) < result.tar
7675
AC_DEFUN([_AM_PROG_TAR],
7676
[# Always define AMTAR for backward compatibility.
7677
AM_MISSING_PROG([AMTAR], [tar])
7679
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
7680
[m4_case([$1], [ustar],, [pax],,
7681
[m4_fatal([Unknown tar format])])
7682
AC_MSG_CHECKING([how to create a $1 tar archive])
7683
# Loop over all known methods to create a tar archive until one works.
7684
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
7685
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
7686
# Do not fold the above two line into one, because Tru64 sh and
7687
# Solaris sh will not grok spaces in the rhs of `-'.
7688
for _am_tool in $_am_tools
7692
for _am_tar in tar gnutar gtar;
7694
AM_RUN_LOG([$_am_tar --version]) && break
7696
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
7697
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
7698
am__untar="$_am_tar -xf -"
7701
# Must skip GNU tar: if it does not support --format= it doesn't create
7702
# ustar tarball either.
7703
(tar --version) >/dev/null 2>&1 && continue
7704
am__tar='tar chf - "$$tardir"'
7705
am__tar_='tar chf - "$tardir"'
7706
am__untar='tar xf -'
7709
am__tar='pax -L -x $1 -w "$$tardir"'
7710
am__tar_='pax -L -x $1 -w "$tardir"'
7714
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
7715
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
7716
am__untar='cpio -i -H $1 -d'
7725
# If the value was cached, stop now. We just wanted to have am__tar
7726
# and am__untar set.
7727
test -n "${am_cv_prog_tar_$1}" && break
7729
# tar/untar a dummy directory, and stop if the command works
7732
echo GrepMe > conftest.dir/file
7733
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
7735
if test -s conftest.tar; then
7736
AM_RUN_LOG([$am__untar <conftest.tar])
7737
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
7742
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
7743
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
7745
AC_SUBST([am__untar])
7748
dnl $Id: xdt-depends.m4 2273 2005-01-31 19:38:09Z benny $
7777
dnl $Id: xdt-depends.m4 20306 2006-03-09 18:39:28Z benny $
7750
7779
dnl Copyright (c) 2002-2005
7751
7780
dnl The Xfce development team. All rights reserved.