aboutsummaryrefslogtreecommitdiff
path: root/libltdl/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libltdl/aclocal.m4')
-rw-r--r--libltdl/aclocal.m4644
1 files changed, 294 insertions, 350 deletions
diff --git a/libltdl/aclocal.m4 b/libltdl/aclocal.m4
index 4f3077ba..a3321548 100644
--- a/libltdl/aclocal.m4
+++ b/libltdl/aclocal.m4
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.8.5 -*- Autoconf -*- 1# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2 2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# Free Software Foundation, Inc. 4# 2005 Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation 5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it, 6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved. 7# with or without modifications, as long as this notice is preserved.
@@ -13,7 +13,7 @@
13 13
14# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 14# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
15 15
16# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL 16# serial 48 AC_PROG_LIBTOOL
17 17
18 18
19# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 19# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
@@ -1397,6 +1397,18 @@ freebsd1*)
1397 dynamic_linker=no 1397 dynamic_linker=no
1398 ;; 1398 ;;
1399 1399
1400kfreebsd*-gnu)
1401 version_type=linux
1402 need_lib_prefix=no
1403 need_version=no
1404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1405 soname_spec='${libname}${release}${shared_ext}$major'
1406 shlibpath_var=LD_LIBRARY_PATH
1407 shlibpath_overrides_runpath=no
1408 hardcode_into_libs=yes
1409 dynamic_linker='GNU ld.so'
1410 ;;
1411
1400freebsd* | dragonfly*) 1412freebsd* | dragonfly*)
1401 # DragonFly does not have aout. When/if they implement a new 1413 # DragonFly does not have aout. When/if they implement a new
1402 # versioning mechanism, adjust this. 1414 # versioning mechanism, adjust this.
@@ -1552,7 +1564,7 @@ linux*oldld* | linux*aout* | linux*coff*)
1552 ;; 1564 ;;
1553 1565
1554# This must be Linux ELF. 1566# This must be Linux ELF.
1555linux* | k*bsd*-gnu) 1567linux*)
1556 version_type=linux 1568 version_type=linux
1557 need_lib_prefix=no 1569 need_lib_prefix=no
1558 need_version=no 1570 need_version=no
@@ -1566,10 +1578,27 @@ linux* | k*bsd*-gnu)
1566 # before this can be enabled. 1578 # before this can be enabled.
1567 hardcode_into_libs=yes 1579 hardcode_into_libs=yes
1568 1580
1581 # find out which ABI we are using
1582 libsuff=
1583 case "$host_cpu" in
1584 x86_64*|s390x*|powerpc64*)
1585 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1586 if AC_TRY_EVAL(ac_compile); then
1587 case `/usr/bin/file conftest.$ac_objext` in
1588 *64-bit*)
1589 libsuff=64
1590 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
1591 ;;
1592 esac
1593 fi
1594 rm -rf conftest*
1595 ;;
1596 esac
1597
1569 # Append ld.so.conf contents to the search path 1598 # Append ld.so.conf contents to the search path
1570 if test -f /etc/ld.so.conf; then 1599 if test -f /etc/ld.so.conf; then
1571 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 1600 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1572 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 1601 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
1573 fi 1602 fi
1574 1603
1575 # We used to test for /lib/ld.so.1 and disable shared libraries on 1604 # We used to test for /lib/ld.so.1 and disable shared libraries on
@@ -1581,7 +1610,7 @@ linux* | k*bsd*-gnu)
1581 dynamic_linker='GNU/Linux ld.so' 1610 dynamic_linker='GNU/Linux ld.so'
1582 ;; 1611 ;;
1583 1612
1584netbsdelf*-gnu) 1613knetbsd*-gnu)
1585 version_type=linux 1614 version_type=linux
1586 need_lib_prefix=no 1615 need_lib_prefix=no
1587 need_version=no 1616 need_version=no
@@ -1590,7 +1619,7 @@ netbsdelf*-gnu)
1590 shlibpath_var=LD_LIBRARY_PATH 1619 shlibpath_var=LD_LIBRARY_PATH
1591 shlibpath_overrides_runpath=no 1620 shlibpath_overrides_runpath=no
1592 hardcode_into_libs=yes 1621 hardcode_into_libs=yes
1593 dynamic_linker='NetBSD ld.elf_so' 1622 dynamic_linker='GNU ld.so'
1594 ;; 1623 ;;
1595 1624
1596netbsd*) 1625netbsd*)
@@ -2298,7 +2327,7 @@ darwin* | rhapsody*)
2298 lt_cv_deplibs_check_method=pass_all 2327 lt_cv_deplibs_check_method=pass_all
2299 ;; 2328 ;;
2300 2329
2301freebsd* | dragonfly*) 2330freebsd* | kfreebsd*-gnu | dragonfly*)
2302 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2331 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2303 case $host_cpu in 2332 case $host_cpu in
2304 i*86 ) 2333 i*86 )
@@ -2352,11 +2381,11 @@ irix5* | irix6* | nonstopux*)
2352 ;; 2381 ;;
2353 2382
2354# This must be Linux ELF. 2383# This must be Linux ELF.
2355linux* | k*bsd*-gnu) 2384linux*)
2356 lt_cv_deplibs_check_method=pass_all 2385 lt_cv_deplibs_check_method=pass_all
2357 ;; 2386 ;;
2358 2387
2359netbsd* | netbsdelf*-gnu) 2388netbsd*)
2360 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2389 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2361 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 2390 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2362 else 2391 else
@@ -3104,7 +3133,7 @@ case $host_os in
3104 freebsd-elf*) 3133 freebsd-elf*)
3105 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3134 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3106 ;; 3135 ;;
3107 freebsd* | dragonfly*) 3136 freebsd* | kfreebsd*-gnu | dragonfly*)
3108 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 3137 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3109 # conventions 3138 # conventions
3110 _LT_AC_TAGVAR(ld_shlibs, $1)=yes 3139 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
@@ -3263,7 +3292,7 @@ case $host_os in
3263 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 3292 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3264 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 3293 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3265 ;; 3294 ;;
3266 linux* | k*bsd*-gnu) 3295 linux*)
3267 case $cc_basename in 3296 case $cc_basename in
3268 KCC*) 3297 KCC*)
3269 # Kuck and Associates, Inc. (KAI) C++ Compiler 3298 # Kuck and Associates, Inc. (KAI) C++ Compiler
@@ -3365,7 +3394,7 @@ case $host_os in
3365 ;; 3394 ;;
3366 esac 3395 esac
3367 ;; 3396 ;;
3368 netbsd* | netbsdelf*-gnu) 3397 netbsd*)
3369 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 3398 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3370 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 3399 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3371 wlarc= 3400 wlarc=
@@ -4630,7 +4659,7 @@ hpux*) # Its linker distinguishes data from code symbols
4630 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 4659 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4631 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 4660 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4632 ;; 4661 ;;
4633linux* | k*bsd*-gnu) 4662linux*)
4634 if test "$host_cpu" = ia64; then 4663 if test "$host_cpu" = ia64; then
4635 symcode='[[ABCDGIRSTW]]' 4664 symcode='[[ABCDGIRSTW]]'
4636 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 4665 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
@@ -4903,7 +4932,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
4903 ;; 4932 ;;
4904 esac 4933 esac
4905 ;; 4934 ;;
4906 freebsd* | dragonfly*) 4935 freebsd* | kfreebsd*-gnu | dragonfly*)
4907 # FreeBSD uses GNU C++ 4936 # FreeBSD uses GNU C++
4908 ;; 4937 ;;
4909 hpux9* | hpux10* | hpux11*) 4938 hpux9* | hpux10* | hpux11*)
@@ -4946,7 +4975,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
4946 ;; 4975 ;;
4947 esac 4976 esac
4948 ;; 4977 ;;
4949 linux* | k*bsd*-gnu) 4978 linux*)
4950 case $cc_basename in 4979 case $cc_basename in
4951 KCC*) 4980 KCC*)
4952 # KAI C++ Compiler 4981 # KAI C++ Compiler
@@ -4989,7 +5018,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
4989 ;; 5018 ;;
4990 esac 5019 esac
4991 ;; 5020 ;;
4992 netbsd* | netbsdelf*-gnu) 5021 netbsd*)
4993 ;; 5022 ;;
4994 osf3* | osf4* | osf5*) 5023 osf3* | osf4* | osf5*)
4995 case $cc_basename in 5024 case $cc_basename in
@@ -5200,7 +5229,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
5200 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 5229 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5201 ;; 5230 ;;
5202 5231
5203 linux* | k*bsd*-gnu) 5232 linux*)
5204 case $cc_basename in 5233 case $cc_basename in
5205 icc* | ecc*) 5234 icc* | ecc*)
5206 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5235 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -5341,9 +5370,6 @@ ifelse([$1],[CXX],[
5341 cygwin* | mingw*) 5370 cygwin* | mingw*)
5342 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' 5371 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5343 ;; 5372 ;;
5344 linux* | k*bsd*-gnu)
5345 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5346 ;;
5347 *) 5373 *)
5348 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5374 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5349 ;; 5375 ;;
@@ -5514,7 +5540,7 @@ EOF
5514 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 5540 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5515 ;; 5541 ;;
5516 5542
5517 linux* | k*bsd*-gnu) 5543 linux*)
5518 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 5544 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5519 tmp_addflag= 5545 tmp_addflag=
5520 case $cc_basename,$host_cpu in 5546 case $cc_basename,$host_cpu in
@@ -5540,13 +5566,12 @@ EOF
5540 $echo "local: *; };" >> $output_objdir/$libname.ver~ 5566 $echo "local: *; };" >> $output_objdir/$libname.ver~
5541 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 5567 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5542 fi 5568 fi
5543 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5544 else 5569 else
5545 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5570 _LT_AC_TAGVAR(ld_shlibs, $1)=no
5546 fi 5571 fi
5547 ;; 5572 ;;
5548 5573
5549 netbsd* | netbsdelf*-gnu) 5574 netbsd*)
5550 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 5575 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5551 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 5576 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5552 wlarc= 5577 wlarc=
@@ -5876,7 +5901,7 @@ _LT_EOF
5876 ;; 5901 ;;
5877 5902
5878 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 5903 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5879 freebsd* | dragonfly*) 5904 freebsd* | kfreebsd*-gnu | dragonfly*)
5880 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 5905 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5881 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 5906 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5882 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 5907 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
@@ -5978,7 +6003,7 @@ _LT_EOF
5978 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 6003 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5979 ;; 6004 ;;
5980 6005
5981 netbsd* | netbsdelf*-gnu) 6006 netbsd*)
5982 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 6007 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5983 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 6008 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5984 else 6009 else
@@ -6503,7 +6528,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
6503 # If you are looking for one http://www.opendarwin.org/projects/dlcompat 6528 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
6504 libltdl_cv_sys_dlopen_deplibs=yes 6529 libltdl_cv_sys_dlopen_deplibs=yes
6505 ;; 6530 ;;
6506 gnu* | linux* | k*bsd*-gnu) 6531 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
6507 # GNU and its variants, using gnu ld.so (Glibc) 6532 # GNU and its variants, using gnu ld.so (Glibc)
6508 libltdl_cv_sys_dlopen_deplibs=yes 6533 libltdl_cv_sys_dlopen_deplibs=yes
6509 ;; 6534 ;;
@@ -6523,7 +6548,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
6523 # at 6.2 and later dlopen does load deplibs. 6548 # at 6.2 and later dlopen does load deplibs.
6524 libltdl_cv_sys_dlopen_deplibs=yes 6549 libltdl_cv_sys_dlopen_deplibs=yes
6525 ;; 6550 ;;
6526 netbsd* | netbsdelf*-gnu) 6551 netbsd*)
6527 libltdl_cv_sys_dlopen_deplibs=yes 6552 libltdl_cv_sys_dlopen_deplibs=yes
6528 ;; 6553 ;;
6529 openbsd*) 6554 openbsd*)
@@ -6796,55 +6821,32 @@ AC_CHECK_TYPES([error_t],
6796AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify]) 6821AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify])
6797])# AC_LTDL_FUNC_ARGZ 6822])# AC_LTDL_FUNC_ARGZ
6798 6823
6799# -*- Autoconf -*- 6824# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
6800# Copyright (C) 2002, 2003 Free Software Foundation, Inc. 6825#
6801# Generated from amversion.in; do not edit by hand. 6826# This file is free software; the Free Software Foundation
6802 6827# gives unlimited permission to copy and/or distribute it,
6803# This program is free software; you can redistribute it and/or modify 6828# with or without modifications, as long as this notice is preserved.
6804# it under the terms of the GNU General Public License as published by
6805# the Free Software Foundation; either version 2, or (at your option)
6806# any later version.
6807
6808# This program is distributed in the hope that it will be useful,
6809# but WITHOUT ANY WARRANTY; without even the implied warranty of
6810# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6811# GNU General Public License for more details.
6812
6813# You should have received a copy of the GNU General Public License
6814# along with this program; if not, write to the Free Software
6815# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6816 6829
6817# AM_AUTOMAKE_VERSION(VERSION) 6830# AM_AUTOMAKE_VERSION(VERSION)
6818# ---------------------------- 6831# ----------------------------
6819# Automake X.Y traces this macro to ensure aclocal.m4 has been 6832# Automake X.Y traces this macro to ensure aclocal.m4 has been
6820# generated from the m4 files accompanying Automake X.Y. 6833# generated from the m4 files accompanying Automake X.Y.
6821AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) 6834AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
6822 6835
6823# AM_SET_CURRENT_AUTOMAKE_VERSION 6836# AM_SET_CURRENT_AUTOMAKE_VERSION
6824# ------------------------------- 6837# -------------------------------
6825# Call AM_AUTOMAKE_VERSION so it can be traced. 6838# Call AM_AUTOMAKE_VERSION so it can be traced.
6826# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 6839# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6827AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 6840AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6828 [AM_AUTOMAKE_VERSION([1.8.5])]) 6841 [AM_AUTOMAKE_VERSION([1.9.6])])
6829
6830# AM_AUX_DIR_EXPAND
6831 6842
6832# Copyright (C) 2001, 2003 Free Software Foundation, Inc. 6843# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6833 6844
6834# This program is free software; you can redistribute it and/or modify 6845# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
6835# it under the terms of the GNU General Public License as published by 6846#
6836# the Free Software Foundation; either version 2, or (at your option) 6847# This file is free software; the Free Software Foundation
6837# any later version. 6848# gives unlimited permission to copy and/or distribute it,
6838 6849# with or without modifications, as long as this notice is preserved.
6839# This program is distributed in the hope that it will be useful,
6840# but WITHOUT ANY WARRANTY; without even the implied warranty of
6841# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6842# GNU General Public License for more details.
6843
6844# You should have received a copy of the GNU General Public License
6845# along with this program; if not, write to the Free Software
6846# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6847# 02111-1307, USA.
6848 6850
6849# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 6851# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
6850# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 6852# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
@@ -6891,26 +6893,16 @@ AC_PREREQ([2.50])dnl
6891am_aux_dir=`cd $ac_aux_dir && pwd` 6893am_aux_dir=`cd $ac_aux_dir && pwd`
6892]) 6894])
6893 6895
6894# AM_CONDITIONAL -*- Autoconf -*- 6896# AM_CONDITIONAL -*- Autoconf -*-
6895 6897
6896# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 6898# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
6897 6899# Free Software Foundation, Inc.
6898# This program is free software; you can redistribute it and/or modify 6900#
6899# it under the terms of the GNU General Public License as published by 6901# This file is free software; the Free Software Foundation
6900# the Free Software Foundation; either version 2, or (at your option) 6902# gives unlimited permission to copy and/or distribute it,
6901# any later version. 6903# with or without modifications, as long as this notice is preserved.
6902
6903# This program is distributed in the hope that it will be useful,
6904# but WITHOUT ANY WARRANTY; without even the implied warranty of
6905# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6906# GNU General Public License for more details.
6907
6908# You should have received a copy of the GNU General Public License
6909# along with this program; if not, write to the Free Software
6910# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6911# 02111-1307, USA.
6912 6904
6913# serial 6 6905# serial 7
6914 6906
6915# AM_CONDITIONAL(NAME, SHELL-CONDITION) 6907# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6916# ------------------------------------- 6908# -------------------------------------
@@ -6930,30 +6922,19 @@ else
6930fi 6922fi
6931AC_CONFIG_COMMANDS_PRE( 6923AC_CONFIG_COMMANDS_PRE(
6932[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 6924[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
6933 AC_MSG_ERROR([conditional "$1" was never defined. 6925 AC_MSG_ERROR([[conditional "$1" was never defined.
6934Usually this means the macro was only invoked conditionally.]) 6926Usually this means the macro was only invoked conditionally.]])
6935fi])]) 6927fi])])
6936 6928
6937# serial 7 -*- Autoconf -*-
6938 6929
6939# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 6930# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
6940# Free Software Foundation, Inc. 6931# Free Software Foundation, Inc.
6932#
6933# This file is free software; the Free Software Foundation
6934# gives unlimited permission to copy and/or distribute it,
6935# with or without modifications, as long as this notice is preserved.
6941 6936
6942# This program is free software; you can redistribute it and/or modify 6937# serial 8
6943# it under the terms of the GNU General Public License as published by
6944# the Free Software Foundation; either version 2, or (at your option)
6945# any later version.
6946
6947# This program is distributed in the hope that it will be useful,
6948# but WITHOUT ANY WARRANTY; without even the implied warranty of
6949# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6950# GNU General Public License for more details.
6951
6952# You should have received a copy of the GNU General Public License
6953# along with this program; if not, write to the Free Software
6954# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6955# 02111-1307, USA.
6956
6957 6938
6958# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 6939# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6959# written in clear, in which case automake, when reading aclocal.m4, 6940# written in clear, in which case automake, when reading aclocal.m4,
@@ -6962,7 +6943,6 @@ fi])])
6962# CC etc. in the Makefile, will ask for an AC_PROG_CC use... 6943# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
6963 6944
6964 6945
6965
6966# _AM_DEPENDENCIES(NAME) 6946# _AM_DEPENDENCIES(NAME)
6967# ---------------------- 6947# ----------------------
6968# See how the compiler implements dependency checking. 6948# See how the compiler implements dependency checking.
@@ -7102,26 +7082,16 @@ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
7102AC_SUBST([AMDEPBACKSLASH]) 7082AC_SUBST([AMDEPBACKSLASH])
7103]) 7083])
7104 7084
7105# Generate code to set up dependency tracking. -*- Autoconf -*- 7085# Generate code to set up dependency tracking. -*- Autoconf -*-
7106
7107# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
7108 7086
7109# This program is free software; you can redistribute it and/or modify 7087# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7110# it under the terms of the GNU General Public License as published by 7088# Free Software Foundation, Inc.
7111# the Free Software Foundation; either version 2, or (at your option) 7089#
7112# any later version. 7090# This file is free software; the Free Software Foundation
7113 7091# gives unlimited permission to copy and/or distribute it,
7114# This program is distributed in the hope that it will be useful, 7092# with or without modifications, as long as this notice is preserved.
7115# but WITHOUT ANY WARRANTY; without even the implied warranty of
7116# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7117# GNU General Public License for more details.
7118
7119# You should have received a copy of the GNU General Public License
7120# along with this program; if not, write to the Free Software
7121# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7122# 02111-1307, USA.
7123 7093
7124#serial 2 7094#serial 3
7125 7095
7126# _AM_OUTPUT_DEPENDENCY_COMMANDS 7096# _AM_OUTPUT_DEPENDENCY_COMMANDS
7127# ------------------------------ 7097# ------------------------------
@@ -7140,27 +7110,21 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
7140 else 7110 else
7141 continue 7111 continue
7142 fi 7112 fi
7143 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue 7113 # Extract the definition of DEPDIR, am__include, and am__quote
7144 # Extract the definition of DEP_FILES from the Makefile without 7114 # from the Makefile without running `make'.
7145 # running `make'.
7146 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7115 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7147 test -z "$DEPDIR" && continue 7116 test -z "$DEPDIR" && continue
7117 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7118 test -z "am__include" && continue
7119 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7148 # When using ansi2knr, U may be empty or an underscore; expand it 7120 # When using ansi2knr, U may be empty or an underscore; expand it
7149 U=`sed -n 's/^U = //p' < "$mf"` 7121 U=`sed -n 's/^U = //p' < "$mf"`
7150 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 7122 # Find all dependency output files, they are included files with
7151 # We invoke sed twice because it is the simplest approach to 7123 # $(DEPDIR) in their names. We invoke sed twice because it is the
7152 # changing $(DEPDIR) to its actual value in the expansion. 7124 # simplest approach to changing $(DEPDIR) to its actual value in the
7153 for file in `sed -n ' 7125 # expansion.
7154 /^DEP_FILES = .*\\\\$/ { 7126 for file in `sed -n "
7155 s/^DEP_FILES = // 7127 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7156 :loop
7157 s/\\\\$//
7158 p
7159 n
7160 /\\\\$/ b loop
7161 p
7162 }
7163 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7164 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7128 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7165 # Make sure the directory exists. 7129 # Make sure the directory exists.
7166 test -f "$dirpart/$file" && continue 7130 test -f "$dirpart/$file" && continue
@@ -7186,54 +7150,31 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
7186 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 7150 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
7187]) 7151])
7188 7152
7189# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- 7153# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
7190 7154# Free Software Foundation, Inc.
7191# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 7155#
7192 7156# This file is free software; the Free Software Foundation
7193# This program is free software; you can redistribute it and/or modify 7157# gives unlimited permission to copy and/or distribute it,
7194# it under the terms of the GNU General Public License as published by 7158# with or without modifications, as long as this notice is preserved.
7195# the Free Software Foundation; either version 2, or (at your option)
7196# any later version.
7197
7198# This program is distributed in the hope that it will be useful,
7199# but WITHOUT ANY WARRANTY; without even the implied warranty of
7200# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7201# GNU General Public License for more details.
7202
7203# You should have received a copy of the GNU General Public License
7204# along with this program; if not, write to the Free Software
7205# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7206# 02111-1307, USA.
7207 7159
7208# serial 7 7160# serial 8
7209 7161
7210# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. 7162# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
7211AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) 7163AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
7212 7164
7213# Do all the work for Automake. -*- Autoconf -*- 7165# Do all the work for Automake. -*- Autoconf -*-
7214 7166
7215# This macro actually does too much some checks are only needed if 7167# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
7216# your package does certain things. But this isn't really a big deal.
7217
7218# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
7219# Free Software Foundation, Inc. 7168# Free Software Foundation, Inc.
7169#
7170# This file is free software; the Free Software Foundation
7171# gives unlimited permission to copy and/or distribute it,
7172# with or without modifications, as long as this notice is preserved.
7220 7173
7221# This program is free software; you can redistribute it and/or modify 7174# serial 12
7222# it under the terms of the GNU General Public License as published by
7223# the Free Software Foundation; either version 2, or (at your option)
7224# any later version.
7225
7226# This program is distributed in the hope that it will be useful,
7227# but WITHOUT ANY WARRANTY; without even the implied warranty of
7228# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7229# GNU General Public License for more details.
7230
7231# You should have received a copy of the GNU General Public License
7232# along with this program; if not, write to the Free Software
7233# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7234# 02111-1307, USA.
7235 7175
7236# serial 11 7176# This macro actually does too much. Some checks are only needed if
7177# your package does certain things. But this isn't really a big deal.
7237 7178
7238# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 7179# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
7239# AM_INIT_AUTOMAKE([OPTIONS]) 7180# AM_INIT_AUTOMAKE([OPTIONS])
@@ -7291,7 +7232,6 @@ AM_MISSING_PROG(AUTOCONF, autoconf)
7291AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 7232AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
7292AM_MISSING_PROG(AUTOHEADER, autoheader) 7233AM_MISSING_PROG(AUTOHEADER, autoheader)
7293AM_MISSING_PROG(MAKEINFO, makeinfo) 7234AM_MISSING_PROG(MAKEINFO, makeinfo)
7294AM_MISSING_PROG(AMTAR, tar)
7295AM_PROG_INSTALL_SH 7235AM_PROG_INSTALL_SH
7296AM_PROG_INSTALL_STRIP 7236AM_PROG_INSTALL_STRIP
7297AC_REQUIRE([AM_PROG_MKDIR_P])dnl 7237AC_REQUIRE([AM_PROG_MKDIR_P])dnl
@@ -7300,7 +7240,9 @@ AC_REQUIRE([AM_PROG_MKDIR_P])dnl
7300AC_REQUIRE([AC_PROG_AWK])dnl 7240AC_REQUIRE([AC_PROG_AWK])dnl
7301AC_REQUIRE([AC_PROG_MAKE_SET])dnl 7241AC_REQUIRE([AC_PROG_MAKE_SET])dnl
7302AC_REQUIRE([AM_SET_LEADING_DOT])dnl 7242AC_REQUIRE([AM_SET_LEADING_DOT])dnl
7303 7243_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
7244 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
7245 [_AM_PROG_TAR([v7])])])
7304_AM_IF_OPTION([no-dependencies],, 7246_AM_IF_OPTION([no-dependencies],,
7305[AC_PROVIDE_IFELSE([AC_PROG_CC], 7247[AC_PROVIDE_IFELSE([AC_PROG_CC],
7306 [_AM_DEPENDENCIES(CC)], 7248 [_AM_DEPENDENCIES(CC)],
@@ -7334,51 +7276,27 @@ for _am_header in $config_headers :; do
7334done 7276done
7335echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 7277echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
7336 7278
7279# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7280#
7281# This file is free software; the Free Software Foundation
7282# gives unlimited permission to copy and/or distribute it,
7283# with or without modifications, as long as this notice is preserved.
7284
7337# AM_PROG_INSTALL_SH 7285# AM_PROG_INSTALL_SH
7338# ------------------ 7286# ------------------
7339# Define $install_sh. 7287# Define $install_sh.
7340
7341# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
7342
7343# This program is free software; you can redistribute it and/or modify
7344# it under the terms of the GNU General Public License as published by
7345# the Free Software Foundation; either version 2, or (at your option)
7346# any later version.
7347
7348# This program is distributed in the hope that it will be useful,
7349# but WITHOUT ANY WARRANTY; without even the implied warranty of
7350# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7351# GNU General Public License for more details.
7352
7353# You should have received a copy of the GNU General Public License
7354# along with this program; if not, write to the Free Software
7355# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7356# 02111-1307, USA.
7357
7358AC_DEFUN([AM_PROG_INSTALL_SH], 7288AC_DEFUN([AM_PROG_INSTALL_SH],
7359[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 7289[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
7360install_sh=${install_sh-"$am_aux_dir/install-sh"} 7290install_sh=${install_sh-"$am_aux_dir/install-sh"}
7361AC_SUBST(install_sh)]) 7291AC_SUBST(install_sh)])
7362 7292
7363# -*- Autoconf -*- 7293# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
7364# Copyright (C) 2003 Free Software Foundation, Inc. 7294#
7365 7295# This file is free software; the Free Software Foundation
7366# This program is free software; you can redistribute it and/or modify 7296# gives unlimited permission to copy and/or distribute it,
7367# it under the terms of the GNU General Public License as published by 7297# with or without modifications, as long as this notice is preserved.
7368# the Free Software Foundation; either version 2, or (at your option)
7369# any later version.
7370
7371# This program is distributed in the hope that it will be useful,
7372# but WITHOUT ANY WARRANTY; without even the implied warranty of
7373# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7374# GNU General Public License for more details.
7375
7376# You should have received a copy of the GNU General Public License
7377# along with this program; if not, write to the Free Software
7378# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7379# 02111-1307, USA.
7380 7298
7381# serial 1 7299# serial 2
7382 7300
7383# Check whether the underlying file-system supports filenames 7301# Check whether the underlying file-system supports filenames
7384# with a leading dot. For instance MS-DOS doesn't. 7302# with a leading dot. For instance MS-DOS doesn't.
@@ -7393,28 +7311,17 @@ fi
7393rmdir .tst 2>/dev/null 7311rmdir .tst 2>/dev/null
7394AC_SUBST([am__leading_dot])]) 7312AC_SUBST([am__leading_dot])])
7395 7313
7396# Add --enable-maintainer-mode option to configure. 7314# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
7397# From Jim Meyering 7315# From Jim Meyering
7398 7316
7399# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 7317# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
7400# Free Software Foundation, Inc. 7318# Free Software Foundation, Inc.
7319#
7320# This file is free software; the Free Software Foundation
7321# gives unlimited permission to copy and/or distribute it,
7322# with or without modifications, as long as this notice is preserved.
7401 7323
7402# This program is free software; you can redistribute it and/or modify 7324# serial 4
7403# it under the terms of the GNU General Public License as published by
7404# the Free Software Foundation; either version 2, or (at your option)
7405# any later version.
7406
7407# This program is distributed in the hope that it will be useful,
7408# but WITHOUT ANY WARRANTY; without even the implied warranty of
7409# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7410# GNU General Public License for more details.
7411
7412# You should have received a copy of the GNU General Public License
7413# along with this program; if not, write to the Free Software
7414# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7415# 02111-1307, USA.
7416
7417# serial 3
7418 7325
7419AC_DEFUN([AM_MAINTAINER_MODE], 7326AC_DEFUN([AM_MAINTAINER_MODE],
7420[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 7327[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
@@ -7433,26 +7340,15 @@ AC_DEFUN([AM_MAINTAINER_MODE],
7433 7340
7434AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) 7341AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
7435 7342
7436# Check to see how 'make' treats includes. -*- Autoconf -*- 7343# Check to see how 'make' treats includes. -*- Autoconf -*-
7437 7344
7438# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 7345# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
7439 7346#
7440# This program is free software; you can redistribute it and/or modify 7347# This file is free software; the Free Software Foundation
7441# it under the terms of the GNU General Public License as published by 7348# gives unlimited permission to copy and/or distribute it,
7442# the Free Software Foundation; either version 2, or (at your option) 7349# with or without modifications, as long as this notice is preserved.
7443# any later version.
7444
7445# This program is distributed in the hope that it will be useful,
7446# but WITHOUT ANY WARRANTY; without even the implied warranty of
7447# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7448# GNU General Public License for more details.
7449
7450# You should have received a copy of the GNU General Public License
7451# along with this program; if not, write to the Free Software
7452# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7453# 02111-1307, USA.
7454 7350
7455# serial 2 7351# serial 3
7456 7352
7457# AM_MAKE_INCLUDE() 7353# AM_MAKE_INCLUDE()
7458# ----------------- 7354# -----------------
@@ -7496,27 +7392,16 @@ AC_MSG_RESULT([$_am_result])
7496rm -f confinc confmf 7392rm -f confinc confmf
7497]) 7393])
7498 7394
7499# -*- Autoconf -*- 7395# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
7500
7501 7396
7502# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. 7397# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
7503 7398# Free Software Foundation, Inc.
7504# This program is free software; you can redistribute it and/or modify 7399#
7505# it under the terms of the GNU General Public License as published by 7400# This file is free software; the Free Software Foundation
7506# the Free Software Foundation; either version 2, or (at your option) 7401# gives unlimited permission to copy and/or distribute it,
7507# any later version. 7402# with or without modifications, as long as this notice is preserved.
7508
7509# This program is distributed in the hope that it will be useful,
7510# but WITHOUT ANY WARRANTY; without even the implied warranty of
7511# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7512# GNU General Public License for more details.
7513
7514# You should have received a copy of the GNU General Public License
7515# along with this program; if not, write to the Free Software
7516# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7517# 02111-1307, USA.
7518 7403
7519# serial 3 7404# serial 4
7520 7405
7521# AM_MISSING_PROG(NAME, PROGRAM) 7406# AM_MISSING_PROG(NAME, PROGRAM)
7522# ------------------------------ 7407# ------------------------------
@@ -7542,27 +7427,16 @@ else
7542fi 7427fi
7543]) 7428])
7544 7429
7430# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
7431#
7432# This file is free software; the Free Software Foundation
7433# gives unlimited permission to copy and/or distribute it,
7434# with or without modifications, as long as this notice is preserved.
7435
7545# AM_PROG_MKDIR_P 7436# AM_PROG_MKDIR_P
7546# --------------- 7437# ---------------
7547# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. 7438# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
7548 7439#
7549# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
7550
7551# This program is free software; you can redistribute it and/or modify
7552# it under the terms of the GNU General Public License as published by
7553# the Free Software Foundation; either version 2, or (at your option)
7554# any later version.
7555
7556# This program is distributed in the hope that it will be useful,
7557# but WITHOUT ANY WARRANTY; without even the implied warranty of
7558# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7559# GNU General Public License for more details.
7560
7561# You should have received a copy of the GNU General Public License
7562# along with this program; if not, write to the Free Software
7563# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7564# 02111-1307, USA.
7565
7566# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories 7440# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
7567# created by `make install' are always world readable, even if the 7441# created by `make install' are always world readable, even if the
7568# installer happens to have an overly restrictive umask (e.g. 077). 7442# installer happens to have an overly restrictive umask (e.g. 077).
@@ -7583,13 +7457,21 @@ fi
7583# this.) 7457# this.)
7584AC_DEFUN([AM_PROG_MKDIR_P], 7458AC_DEFUN([AM_PROG_MKDIR_P],
7585[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 7459[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7586 # Keeping the `.' argument allows $(mkdir_p) to be used without 7460 # We used to keeping the `.' as first argument, in order to
7587 # argument. Indeed, we sometimes output rules like 7461 # allow $(mkdir_p) to be used without argument. As in
7588 # $(mkdir_p) $(somedir) 7462 # $(mkdir_p) $(somedir)
7589 # where $(somedir) is conditionally defined. 7463 # where $(somedir) is conditionally defined. However this is wrong
7590 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 7464 # for two reasons:
7591 # expensive solution, as it forces Make to start a sub-shell.) 7465 # 1. if the package is installed by a user who cannot write `.'
7592 mkdir_p='mkdir -p -- .' 7466 # make install will fail,
7467 # 2. the above comment should most certainly read
7468 # $(mkdir_p) $(DESTDIR)$(somedir)
7469 # so it does not work when $(somedir) is undefined and
7470 # $(DESTDIR) is not.
7471 # To support the latter case, we have to write
7472 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7473 # so the `.' trick is pointless.
7474 mkdir_p='mkdir -p --'
7593else 7475else
7594 # On NextStep and OpenStep, the `mkdir' command does not 7476 # On NextStep and OpenStep, the `mkdir' command does not
7595 # recognize any option. It will interpret all options as 7477 # recognize any option. It will interpret all options as
@@ -7608,26 +7490,15 @@ else
7608fi 7490fi
7609AC_SUBST([mkdir_p])]) 7491AC_SUBST([mkdir_p])])
7610 7492
7611# Helper functions for option handling. -*- Autoconf -*- 7493# Helper functions for option handling. -*- Autoconf -*-
7612
7613# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
7614
7615# This program is free software; you can redistribute it and/or modify
7616# it under the terms of the GNU General Public License as published by
7617# the Free Software Foundation; either version 2, or (at your option)
7618# any later version.
7619
7620# This program is distributed in the hope that it will be useful,
7621# but WITHOUT ANY WARRANTY; without even the implied warranty of
7622# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7623# GNU General Public License for more details.
7624 7494
7625# You should have received a copy of the GNU General Public License 7495# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
7626# along with this program; if not, write to the Free Software 7496#
7627# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 7497# This file is free software; the Free Software Foundation
7628# 02111-1307, USA. 7498# gives unlimited permission to copy and/or distribute it,
7499# with or without modifications, as long as this notice is preserved.
7629 7500
7630# serial 2 7501# serial 3
7631 7502
7632# _AM_MANGLE_OPTION(NAME) 7503# _AM_MANGLE_OPTION(NAME)
7633# ----------------------- 7504# -----------------------
@@ -7652,28 +7523,16 @@ AC_DEFUN([_AM_SET_OPTIONS],
7652AC_DEFUN([_AM_IF_OPTION], 7523AC_DEFUN([_AM_IF_OPTION],
7653[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 7524[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
7654 7525
7655# 7526# Check to make sure that the build environment is sane. -*- Autoconf -*-
7656# Check to make sure that the build environment is sane.
7657#
7658
7659# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
7660
7661# This program is free software; you can redistribute it and/or modify
7662# it under the terms of the GNU General Public License as published by
7663# the Free Software Foundation; either version 2, or (at your option)
7664# any later version.
7665 7527
7666# This program is distributed in the hope that it will be useful, 7528# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
7667# but WITHOUT ANY WARRANTY; without even the implied warranty of 7529# Free Software Foundation, Inc.
7668# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 7530#
7669# GNU General Public License for more details. 7531# This file is free software; the Free Software Foundation
7670 7532# gives unlimited permission to copy and/or distribute it,
7671# You should have received a copy of the GNU General Public License 7533# with or without modifications, as long as this notice is preserved.
7672# along with this program; if not, write to the Free Software
7673# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7674# 02111-1307, USA.
7675 7534
7676# serial 3 7535# serial 4
7677 7536
7678# AM_SANITY_CHECK 7537# AM_SANITY_CHECK
7679# --------------- 7538# ---------------
@@ -7716,25 +7575,14 @@ Check your system clock])
7716fi 7575fi
7717AC_MSG_RESULT(yes)]) 7576AC_MSG_RESULT(yes)])
7718 7577
7719# AM_PROG_INSTALL_STRIP 7578# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7720 7579#
7721# Copyright (C) 2001, 2003 Free Software Foundation, Inc. 7580# This file is free software; the Free Software Foundation
7722 7581# gives unlimited permission to copy and/or distribute it,
7723# This program is free software; you can redistribute it and/or modify 7582# with or without modifications, as long as this notice is preserved.
7724# it under the terms of the GNU General Public License as published by
7725# the Free Software Foundation; either version 2, or (at your option)
7726# any later version.
7727
7728# This program is distributed in the hope that it will be useful,
7729# but WITHOUT ANY WARRANTY; without even the implied warranty of
7730# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7731# GNU General Public License for more details.
7732
7733# You should have received a copy of the GNU General Public License
7734# along with this program; if not, write to the Free Software
7735# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7736# 02111-1307, USA.
7737 7583
7584# AM_PROG_INSTALL_STRIP
7585# ---------------------
7738# One issue with vendor `install' (even GNU) is that you can't 7586# One issue with vendor `install' (even GNU) is that you can't
7739# specify the program used to strip binaries. This is especially 7587# specify the program used to strip binaries. This is especially
7740# annoying in cross-compiling environments, where the build's strip 7588# annoying in cross-compiling environments, where the build's strip
@@ -7755,3 +7603,99 @@ fi
7755INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 7603INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7756AC_SUBST([INSTALL_STRIP_PROGRAM])]) 7604AC_SUBST([INSTALL_STRIP_PROGRAM])])
7757 7605
7606# Check how to create a tarball. -*- Autoconf -*-
7607
7608# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
7609#
7610# This file is free software; the Free Software Foundation
7611# gives unlimited permission to copy and/or distribute it,
7612# with or without modifications, as long as this notice is preserved.
7613
7614# serial 2
7615
7616# _AM_PROG_TAR(FORMAT)
7617# --------------------
7618# Check how to create a tarball in format FORMAT.
7619# FORMAT should be one of `v7', `ustar', or `pax'.
7620#
7621# Substitute a variable $(am__tar) that is a command
7622# writing to stdout a FORMAT-tarball containing the directory
7623# $tardir.
7624# tardir=directory && $(am__tar) > result.tar
7625#
7626# Substitute a variable $(am__untar) that extract such
7627# a tarball read from stdin.
7628# $(am__untar) < result.tar
7629AC_DEFUN([_AM_PROG_TAR],
7630[# Always define AMTAR for backward compatibility.
7631AM_MISSING_PROG([AMTAR], [tar])
7632m4_if([$1], [v7],
7633 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
7634 [m4_case([$1], [ustar],, [pax],,
7635 [m4_fatal([Unknown tar format])])
7636AC_MSG_CHECKING([how to create a $1 tar archive])
7637# Loop over all known methods to create a tar archive until one works.
7638_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
7639_am_tools=${am_cv_prog_tar_$1-$_am_tools}
7640# Do not fold the above two line into one, because Tru64 sh and
7641# Solaris sh will not grok spaces in the rhs of `-'.
7642for _am_tool in $_am_tools
7643do
7644 case $_am_tool in
7645 gnutar)
7646 for _am_tar in tar gnutar gtar;
7647 do
7648 AM_RUN_LOG([$_am_tar --version]) && break
7649 done
7650 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
7651 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
7652 am__untar="$_am_tar -xf -"
7653 ;;
7654 plaintar)
7655 # Must skip GNU tar: if it does not support --format= it doesn't create
7656 # ustar tarball either.
7657 (tar --version) >/dev/null 2>&1 && continue
7658 am__tar='tar chf - "$$tardir"'
7659 am__tar_='tar chf - "$tardir"'
7660 am__untar='tar xf -'
7661 ;;
7662 pax)
7663 am__tar='pax -L -x $1 -w "$$tardir"'
7664 am__tar_='pax -L -x $1 -w "$tardir"'
7665 am__untar='pax -r'
7666 ;;
7667 cpio)
7668 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
7669 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
7670 am__untar='cpio -i -H $1 -d'
7671 ;;
7672 none)
7673 am__tar=false
7674 am__tar_=false
7675 am__untar=false
7676 ;;
7677 esac
7678
7679 # If the value was cached, stop now. We just wanted to have am__tar
7680 # and am__untar set.
7681 test -n "${am_cv_prog_tar_$1}" && break
7682
7683 # tar/untar a dummy directory, and stop if the command works
7684 rm -rf conftest.dir
7685 mkdir conftest.dir
7686 echo GrepMe > conftest.dir/file
7687 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
7688 rm -rf conftest.dir
7689 if test -s conftest.tar; then
7690 AM_RUN_LOG([$am__untar <conftest.tar])
7691 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
7692 fi
7693done
7694rm -rf conftest.dir
7695
7696AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
7697AC_MSG_RESULT([$am_cv_prog_tar_$1])])
7698AC_SUBST([am__tar])
7699AC_SUBST([am__untar])
7700]) # _AM_PROG_TAR
7701