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, 350 insertions, 294 deletions
diff --git a/libltdl/aclocal.m4 b/libltdl/aclocal.m4
index a3321548..4f3077ba 100644
--- a/libltdl/aclocal.m4
+++ b/libltdl/aclocal.m4
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.9.6 -*- Autoconf -*- 1# generated automatically by aclocal 1.8.5 -*- 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# 2005 Free Software Foundation, Inc. 4# 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 AC_PROG_LIBTOOL 16# serial 48 Debian 1.5.22-4 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,18 +1397,6 @@ 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
1412freebsd* | dragonfly*) 1400freebsd* | dragonfly*)
1413 # DragonFly does not have aout. When/if they implement a new 1401 # DragonFly does not have aout. When/if they implement a new
1414 # versioning mechanism, adjust this. 1402 # versioning mechanism, adjust this.
@@ -1564,7 +1552,7 @@ linux*oldld* | linux*aout* | linux*coff*)
1564 ;; 1552 ;;
1565 1553
1566# This must be Linux ELF. 1554# This must be Linux ELF.
1567linux*) 1555linux* | k*bsd*-gnu)
1568 version_type=linux 1556 version_type=linux
1569 need_lib_prefix=no 1557 need_lib_prefix=no
1570 need_version=no 1558 need_version=no
@@ -1578,27 +1566,10 @@ linux*)
1578 # before this can be enabled. 1566 # before this can be enabled.
1579 hardcode_into_libs=yes 1567 hardcode_into_libs=yes
1580 1568
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
1598 # Append ld.so.conf contents to the search path 1569 # Append ld.so.conf contents to the search path
1599 if test -f /etc/ld.so.conf; then 1570 if test -f /etc/ld.so.conf; then
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' ' '` 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' ' '`
1601 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 1572 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1602 fi 1573 fi
1603 1574
1604 # We used to test for /lib/ld.so.1 and disable shared libraries on 1575 # We used to test for /lib/ld.so.1 and disable shared libraries on
@@ -1610,7 +1581,7 @@ linux*)
1610 dynamic_linker='GNU/Linux ld.so' 1581 dynamic_linker='GNU/Linux ld.so'
1611 ;; 1582 ;;
1612 1583
1613knetbsd*-gnu) 1584netbsdelf*-gnu)
1614 version_type=linux 1585 version_type=linux
1615 need_lib_prefix=no 1586 need_lib_prefix=no
1616 need_version=no 1587 need_version=no
@@ -1619,7 +1590,7 @@ knetbsd*-gnu)
1619 shlibpath_var=LD_LIBRARY_PATH 1590 shlibpath_var=LD_LIBRARY_PATH
1620 shlibpath_overrides_runpath=no 1591 shlibpath_overrides_runpath=no
1621 hardcode_into_libs=yes 1592 hardcode_into_libs=yes
1622 dynamic_linker='GNU ld.so' 1593 dynamic_linker='NetBSD ld.elf_so'
1623 ;; 1594 ;;
1624 1595
1625netbsd*) 1596netbsd*)
@@ -2327,7 +2298,7 @@ darwin* | rhapsody*)
2327 lt_cv_deplibs_check_method=pass_all 2298 lt_cv_deplibs_check_method=pass_all
2328 ;; 2299 ;;
2329 2300
2330freebsd* | kfreebsd*-gnu | dragonfly*) 2301freebsd* | dragonfly*)
2331 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2302 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2332 case $host_cpu in 2303 case $host_cpu in
2333 i*86 ) 2304 i*86 )
@@ -2381,11 +2352,11 @@ irix5* | irix6* | nonstopux*)
2381 ;; 2352 ;;
2382 2353
2383# This must be Linux ELF. 2354# This must be Linux ELF.
2384linux*) 2355linux* | k*bsd*-gnu)
2385 lt_cv_deplibs_check_method=pass_all 2356 lt_cv_deplibs_check_method=pass_all
2386 ;; 2357 ;;
2387 2358
2388netbsd*) 2359netbsd* | netbsdelf*-gnu)
2389 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2360 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2390 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 2361 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2391 else 2362 else
@@ -3133,7 +3104,7 @@ case $host_os in
3133 freebsd-elf*) 3104 freebsd-elf*)
3134 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3105 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3135 ;; 3106 ;;
3136 freebsd* | kfreebsd*-gnu | dragonfly*) 3107 freebsd* | dragonfly*)
3137 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 3108 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3138 # conventions 3109 # conventions
3139 _LT_AC_TAGVAR(ld_shlibs, $1)=yes 3110 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
@@ -3292,7 +3263,7 @@ case $host_os in
3292 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 3263 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3293 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 3264 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3294 ;; 3265 ;;
3295 linux*) 3266 linux* | k*bsd*-gnu)
3296 case $cc_basename in 3267 case $cc_basename in
3297 KCC*) 3268 KCC*)
3298 # Kuck and Associates, Inc. (KAI) C++ Compiler 3269 # Kuck and Associates, Inc. (KAI) C++ Compiler
@@ -3394,7 +3365,7 @@ case $host_os in
3394 ;; 3365 ;;
3395 esac 3366 esac
3396 ;; 3367 ;;
3397 netbsd*) 3368 netbsd* | netbsdelf*-gnu)
3398 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 3369 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3399 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 3370 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3400 wlarc= 3371 wlarc=
@@ -4659,7 +4630,7 @@ hpux*) # Its linker distinguishes data from code symbols
4659 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 4630 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/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'" 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'"
4661 ;; 4632 ;;
4662linux*) 4633linux* | k*bsd*-gnu)
4663 if test "$host_cpu" = ia64; then 4634 if test "$host_cpu" = ia64; then
4664 symcode='[[ABCDGIRSTW]]' 4635 symcode='[[ABCDGIRSTW]]'
4665 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 4636 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
@@ -4932,7 +4903,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
4932 ;; 4903 ;;
4933 esac 4904 esac
4934 ;; 4905 ;;
4935 freebsd* | kfreebsd*-gnu | dragonfly*) 4906 freebsd* | dragonfly*)
4936 # FreeBSD uses GNU C++ 4907 # FreeBSD uses GNU C++
4937 ;; 4908 ;;
4938 hpux9* | hpux10* | hpux11*) 4909 hpux9* | hpux10* | hpux11*)
@@ -4975,7 +4946,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
4975 ;; 4946 ;;
4976 esac 4947 esac
4977 ;; 4948 ;;
4978 linux*) 4949 linux* | k*bsd*-gnu)
4979 case $cc_basename in 4950 case $cc_basename in
4980 KCC*) 4951 KCC*)
4981 # KAI C++ Compiler 4952 # KAI C++ Compiler
@@ -5018,7 +4989,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
5018 ;; 4989 ;;
5019 esac 4990 esac
5020 ;; 4991 ;;
5021 netbsd*) 4992 netbsd* | netbsdelf*-gnu)
5022 ;; 4993 ;;
5023 osf3* | osf4* | osf5*) 4994 osf3* | osf4* | osf5*)
5024 case $cc_basename in 4995 case $cc_basename in
@@ -5229,7 +5200,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
5229 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 5200 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5230 ;; 5201 ;;
5231 5202
5232 linux*) 5203 linux* | k*bsd*-gnu)
5233 case $cc_basename in 5204 case $cc_basename in
5234 icc* | ecc*) 5205 icc* | ecc*)
5235 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5206 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -5370,6 +5341,9 @@ ifelse([$1],[CXX],[
5370 cygwin* | mingw*) 5341 cygwin* | mingw*)
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' 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'
5372 ;; 5343 ;;
5344 linux* | k*bsd*-gnu)
5345 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5346 ;;
5373 *) 5347 *)
5374 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5348 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5375 ;; 5349 ;;
@@ -5540,7 +5514,7 @@ EOF
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' 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'
5541 ;; 5515 ;;
5542 5516
5543 linux*) 5517 linux* | k*bsd*-gnu)
5544 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 5518 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5545 tmp_addflag= 5519 tmp_addflag=
5546 case $cc_basename,$host_cpu in 5520 case $cc_basename,$host_cpu in
@@ -5566,12 +5540,13 @@ EOF
5566 $echo "local: *; };" >> $output_objdir/$libname.ver~ 5540 $echo "local: *; };" >> $output_objdir/$libname.ver~
5567 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 5541 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5568 fi 5542 fi
5543 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5569 else 5544 else
5570 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5545 _LT_AC_TAGVAR(ld_shlibs, $1)=no
5571 fi 5546 fi
5572 ;; 5547 ;;
5573 5548
5574 netbsd*) 5549 netbsd* | netbsdelf*-gnu)
5575 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 5550 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5576 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 5551 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5577 wlarc= 5552 wlarc=
@@ -5901,7 +5876,7 @@ _LT_EOF
5901 ;; 5876 ;;
5902 5877
5903 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 5878 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5904 freebsd* | kfreebsd*-gnu | dragonfly*) 5879 freebsd* | dragonfly*)
5905 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 5880 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5906 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 5881 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5907 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 5882 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
@@ -6003,7 +5978,7 @@ _LT_EOF
6003 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 5978 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6004 ;; 5979 ;;
6005 5980
6006 netbsd*) 5981 netbsd* | netbsdelf*-gnu)
6007 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 5982 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6008 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 5983 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6009 else 5984 else
@@ -6528,7 +6503,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
6528 # If you are looking for one http://www.opendarwin.org/projects/dlcompat 6503 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
6529 libltdl_cv_sys_dlopen_deplibs=yes 6504 libltdl_cv_sys_dlopen_deplibs=yes
6530 ;; 6505 ;;
6531 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu) 6506 gnu* | linux* | k*bsd*-gnu)
6532 # GNU and its variants, using gnu ld.so (Glibc) 6507 # GNU and its variants, using gnu ld.so (Glibc)
6533 libltdl_cv_sys_dlopen_deplibs=yes 6508 libltdl_cv_sys_dlopen_deplibs=yes
6534 ;; 6509 ;;
@@ -6548,7 +6523,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
6548 # at 6.2 and later dlopen does load deplibs. 6523 # at 6.2 and later dlopen does load deplibs.
6549 libltdl_cv_sys_dlopen_deplibs=yes 6524 libltdl_cv_sys_dlopen_deplibs=yes
6550 ;; 6525 ;;
6551 netbsd*) 6526 netbsd* | netbsdelf*-gnu)
6552 libltdl_cv_sys_dlopen_deplibs=yes 6527 libltdl_cv_sys_dlopen_deplibs=yes
6553 ;; 6528 ;;
6554 openbsd*) 6529 openbsd*)
@@ -6821,32 +6796,55 @@ AC_CHECK_TYPES([error_t],
6821AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify]) 6796AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify])
6822])# AC_LTDL_FUNC_ARGZ 6797])# AC_LTDL_FUNC_ARGZ
6823 6798
6824# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. 6799# -*- Autoconf -*-
6825# 6800# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
6826# This file is free software; the Free Software Foundation 6801# Generated from amversion.in; do not edit by hand.
6827# gives unlimited permission to copy and/or distribute it, 6802
6828# with or without modifications, as long as this notice is preserved. 6803# This program is free software; you can redistribute it and/or modify
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
6829 6816
6830# AM_AUTOMAKE_VERSION(VERSION) 6817# AM_AUTOMAKE_VERSION(VERSION)
6831# ---------------------------- 6818# ----------------------------
6832# Automake X.Y traces this macro to ensure aclocal.m4 has been 6819# Automake X.Y traces this macro to ensure aclocal.m4 has been
6833# generated from the m4 files accompanying Automake X.Y. 6820# generated from the m4 files accompanying Automake X.Y.
6834AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) 6821AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
6835 6822
6836# AM_SET_CURRENT_AUTOMAKE_VERSION 6823# AM_SET_CURRENT_AUTOMAKE_VERSION
6837# ------------------------------- 6824# -------------------------------
6838# Call AM_AUTOMAKE_VERSION so it can be traced. 6825# Call AM_AUTOMAKE_VERSION so it can be traced.
6839# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 6826# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6840AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 6827AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6841 [AM_AUTOMAKE_VERSION([1.9.6])]) 6828 [AM_AUTOMAKE_VERSION([1.8.5])])
6842 6829
6843# AM_AUX_DIR_EXPAND -*- Autoconf -*- 6830# AM_AUX_DIR_EXPAND
6844 6831
6845# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 6832# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
6846# 6833
6847# This file is free software; the Free Software Foundation 6834# This program is free software; you can redistribute it and/or modify
6848# gives unlimited permission to copy and/or distribute it, 6835# it under the terms of the GNU General Public License as published by
6849# with or without modifications, as long as this notice is preserved. 6836# the Free Software Foundation; either version 2, or (at your option)
6837# any later version.
6838
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.
6850 6848
6851# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 6849# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
6852# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 6850# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
@@ -6893,16 +6891,26 @@ AC_PREREQ([2.50])dnl
6893am_aux_dir=`cd $ac_aux_dir && pwd` 6891am_aux_dir=`cd $ac_aux_dir && pwd`
6894]) 6892])
6895 6893
6896# AM_CONDITIONAL -*- Autoconf -*- 6894# AM_CONDITIONAL -*- Autoconf -*-
6897 6895
6898# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 6896# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
6899# Free Software Foundation, Inc.
6900#
6901# This file is free software; the Free Software Foundation
6902# gives unlimited permission to copy and/or distribute it,
6903# with or without modifications, as long as this notice is preserved.
6904 6897
6905# serial 7 6898# This program is free software; you can redistribute it and/or modify
6899# it under the terms of the GNU General Public License as published by
6900# the Free Software Foundation; either version 2, or (at your option)
6901# any later version.
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
6913# serial 6
6906 6914
6907# AM_CONDITIONAL(NAME, SHELL-CONDITION) 6915# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6908# ------------------------------------- 6916# -------------------------------------
@@ -6922,19 +6930,30 @@ else
6922fi 6930fi
6923AC_CONFIG_COMMANDS_PRE( 6931AC_CONFIG_COMMANDS_PRE(
6924[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 6932[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
6925 AC_MSG_ERROR([[conditional "$1" was never defined. 6933 AC_MSG_ERROR([conditional "$1" was never defined.
6926Usually this means the macro was only invoked conditionally.]]) 6934Usually this means the macro was only invoked conditionally.])
6927fi])]) 6935fi])])
6928 6936
6937# serial 7 -*- Autoconf -*-
6929 6938
6930# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 6939# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
6931# Free Software Foundation, Inc. 6940# 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.
6936 6941
6937# serial 8 6942# This program is free software; you can redistribute it and/or modify
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
6938 6957
6939# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 6958# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6940# written in clear, in which case automake, when reading aclocal.m4, 6959# written in clear, in which case automake, when reading aclocal.m4,
@@ -6943,6 +6962,7 @@ fi])])
6943# CC etc. in the Makefile, will ask for an AC_PROG_CC use... 6962# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
6944 6963
6945 6964
6965
6946# _AM_DEPENDENCIES(NAME) 6966# _AM_DEPENDENCIES(NAME)
6947# ---------------------- 6967# ----------------------
6948# See how the compiler implements dependency checking. 6968# See how the compiler implements dependency checking.
@@ -7082,16 +7102,26 @@ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
7082AC_SUBST([AMDEPBACKSLASH]) 7102AC_SUBST([AMDEPBACKSLASH])
7083]) 7103])
7084 7104
7085# Generate code to set up dependency tracking. -*- Autoconf -*- 7105# Generate code to set up dependency tracking. -*- Autoconf -*-
7086 7106
7087# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 7107# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
7088# Free Software Foundation, Inc. 7108
7089# 7109# This program is free software; you can redistribute it and/or modify
7090# This file is free software; the Free Software Foundation 7110# it under the terms of the GNU General Public License as published by
7091# gives unlimited permission to copy and/or distribute it, 7111# the Free Software Foundation; either version 2, or (at your option)
7092# with or without modifications, as long as this notice is preserved. 7112# any later version.
7113
7114# This program is distributed in the hope that it will be useful,
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.
7093 7118
7094#serial 3 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
7124#serial 2
7095 7125
7096# _AM_OUTPUT_DEPENDENCY_COMMANDS 7126# _AM_OUTPUT_DEPENDENCY_COMMANDS
7097# ------------------------------ 7127# ------------------------------
@@ -7110,21 +7140,27 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
7110 else 7140 else
7111 continue 7141 continue
7112 fi 7142 fi
7113 # Extract the definition of DEPDIR, am__include, and am__quote 7143 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
7114 # from the Makefile without running `make'. 7144 # Extract the definition of DEP_FILES from the Makefile without
7145 # running `make'.
7115 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7146 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7116 test -z "$DEPDIR" && continue 7147 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"`
7120 # When using ansi2knr, U may be empty or an underscore; expand it 7148 # When using ansi2knr, U may be empty or an underscore; expand it
7121 U=`sed -n 's/^U = //p' < "$mf"` 7149 U=`sed -n 's/^U = //p' < "$mf"`
7122 # Find all dependency output files, they are included files with 7150 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7123 # $(DEPDIR) in their names. We invoke sed twice because it is the 7151 # We invoke sed twice because it is the simplest approach to
7124 # simplest approach to changing $(DEPDIR) to its actual value in the 7152 # changing $(DEPDIR) to its actual value in the expansion.
7125 # expansion. 7153 for file in `sed -n '
7126 for file in `sed -n " 7154 /^DEP_FILES = .*\\\\$/ {
7127 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7155 s/^DEP_FILES = //
7156 :loop
7157 s/\\\\$//
7158 p
7159 n
7160 /\\\\$/ b loop
7161 p
7162 }
7163 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7128 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7164 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7129 # Make sure the directory exists. 7165 # Make sure the directory exists.
7130 test -f "$dirpart/$file" && continue 7166 test -f "$dirpart/$file" && continue
@@ -7150,31 +7186,54 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
7150 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 7186 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
7151]) 7187])
7152 7188
7153# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 7189# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
7154# Free Software Foundation, Inc.
7155#
7156# This file is free software; the Free Software Foundation
7157# gives unlimited permission to copy and/or distribute it,
7158# with or without modifications, as long as this notice is preserved.
7159 7190
7160# serial 8 7191# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
7192
7193# This program is free software; you can redistribute it and/or modify
7194# it under the terms of the GNU General Public License as published by
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
7208# serial 7
7161 7209
7162# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. 7210# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
7163AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) 7211AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
7164 7212
7165# Do all the work for Automake. -*- Autoconf -*- 7213# Do all the work for Automake. -*- Autoconf -*-
7166 7214
7167# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 7215# This macro actually does too much some checks are only needed if
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
7168# Free Software Foundation, Inc. 7219# 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.
7173 7220
7174# serial 12 7221# This program is free software; you can redistribute it and/or modify
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.
7175 7225
7176# This macro actually does too much. Some checks are only needed if 7226# This program is distributed in the hope that it will be useful,
7177# your package does certain things. But this isn't really a big deal. 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
7236# serial 11
7178 7237
7179# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 7238# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
7180# AM_INIT_AUTOMAKE([OPTIONS]) 7239# AM_INIT_AUTOMAKE([OPTIONS])
@@ -7232,6 +7291,7 @@ AM_MISSING_PROG(AUTOCONF, autoconf)
7232AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 7291AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
7233AM_MISSING_PROG(AUTOHEADER, autoheader) 7292AM_MISSING_PROG(AUTOHEADER, autoheader)
7234AM_MISSING_PROG(MAKEINFO, makeinfo) 7293AM_MISSING_PROG(MAKEINFO, makeinfo)
7294AM_MISSING_PROG(AMTAR, tar)
7235AM_PROG_INSTALL_SH 7295AM_PROG_INSTALL_SH
7236AM_PROG_INSTALL_STRIP 7296AM_PROG_INSTALL_STRIP
7237AC_REQUIRE([AM_PROG_MKDIR_P])dnl 7297AC_REQUIRE([AM_PROG_MKDIR_P])dnl
@@ -7240,9 +7300,7 @@ AC_REQUIRE([AM_PROG_MKDIR_P])dnl
7240AC_REQUIRE([AC_PROG_AWK])dnl 7300AC_REQUIRE([AC_PROG_AWK])dnl
7241AC_REQUIRE([AC_PROG_MAKE_SET])dnl 7301AC_REQUIRE([AC_PROG_MAKE_SET])dnl
7242AC_REQUIRE([AM_SET_LEADING_DOT])dnl 7302AC_REQUIRE([AM_SET_LEADING_DOT])dnl
7243_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 7303
7244 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
7245 [_AM_PROG_TAR([v7])])])
7246_AM_IF_OPTION([no-dependencies],, 7304_AM_IF_OPTION([no-dependencies],,
7247[AC_PROVIDE_IFELSE([AC_PROG_CC], 7305[AC_PROVIDE_IFELSE([AC_PROG_CC],
7248 [_AM_DEPENDENCIES(CC)], 7306 [_AM_DEPENDENCIES(CC)],
@@ -7276,27 +7334,51 @@ for _am_header in $config_headers :; do
7276done 7334done
7277echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 7335echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
7278 7336
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
7285# AM_PROG_INSTALL_SH 7337# AM_PROG_INSTALL_SH
7286# ------------------ 7338# ------------------
7287# Define $install_sh. 7339# 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
7288AC_DEFUN([AM_PROG_INSTALL_SH], 7358AC_DEFUN([AM_PROG_INSTALL_SH],
7289[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 7359[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
7290install_sh=${install_sh-"$am_aux_dir/install-sh"} 7360install_sh=${install_sh-"$am_aux_dir/install-sh"}
7291AC_SUBST(install_sh)]) 7361AC_SUBST(install_sh)])
7292 7362
7293# Copyright (C) 2003, 2005 Free Software Foundation, Inc. 7363# -*- Autoconf -*-
7294# 7364# Copyright (C) 2003 Free Software Foundation, Inc.
7295# This file is free software; the Free Software Foundation
7296# gives unlimited permission to copy and/or distribute it,
7297# with or without modifications, as long as this notice is preserved.
7298 7365
7299# serial 2 7366# This program is free software; you can redistribute it and/or modify
7367# it under the terms of the GNU General Public License as published by
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
7381# serial 1
7300 7382
7301# Check whether the underlying file-system supports filenames 7383# Check whether the underlying file-system supports filenames
7302# with a leading dot. For instance MS-DOS doesn't. 7384# with a leading dot. For instance MS-DOS doesn't.
@@ -7311,17 +7393,28 @@ fi
7311rmdir .tst 2>/dev/null 7393rmdir .tst 2>/dev/null
7312AC_SUBST([am__leading_dot])]) 7394AC_SUBST([am__leading_dot])])
7313 7395
7314# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- 7396# Add --enable-maintainer-mode option to configure.
7315# From Jim Meyering 7397# From Jim Meyering
7316 7398
7317# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 7399# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
7318# Free Software Foundation, Inc. 7400# 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.
7323 7401
7324# serial 4 7402# This program is free software; you can redistribute it and/or modify
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
7325 7418
7326AC_DEFUN([AM_MAINTAINER_MODE], 7419AC_DEFUN([AM_MAINTAINER_MODE],
7327[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 7420[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
@@ -7340,15 +7433,26 @@ AC_DEFUN([AM_MAINTAINER_MODE],
7340 7433
7341AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) 7434AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
7342 7435
7343# Check to see how 'make' treats includes. -*- Autoconf -*- 7436# Check to see how 'make' treats includes. -*- Autoconf -*-
7344 7437
7345# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 7438# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
7346#
7347# This file is free software; the Free Software Foundation
7348# gives unlimited permission to copy and/or distribute it,
7349# with or without modifications, as long as this notice is preserved.
7350 7439
7351# serial 3 7440# This program is free software; you can redistribute it and/or modify
7441# it under the terms of the GNU General Public License as published by
7442# the Free Software Foundation; either version 2, or (at your option)
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
7455# serial 2
7352 7456
7353# AM_MAKE_INCLUDE() 7457# AM_MAKE_INCLUDE()
7354# ----------------- 7458# -----------------
@@ -7392,16 +7496,27 @@ AC_MSG_RESULT([$_am_result])
7392rm -f confinc confmf 7496rm -f confinc confmf
7393]) 7497])
7394 7498
7395# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 7499# -*- Autoconf -*-
7396 7500
7397# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
7398# Free Software Foundation, Inc.
7399#
7400# This file is free software; the Free Software Foundation
7401# gives unlimited permission to copy and/or distribute it,
7402# with or without modifications, as long as this notice is preserved.
7403 7501
7404# serial 4 7502# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
7503
7504# This program is free software; you can redistribute it and/or modify
7505# it under the terms of the GNU General Public License as published by
7506# the Free Software Foundation; either version 2, or (at your option)
7507# any later version.
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
7519# serial 3
7405 7520
7406# AM_MISSING_PROG(NAME, PROGRAM) 7521# AM_MISSING_PROG(NAME, PROGRAM)
7407# ------------------------------ 7522# ------------------------------
@@ -7427,16 +7542,27 @@ else
7427fi 7542fi
7428]) 7543])
7429 7544
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
7436# AM_PROG_MKDIR_P 7545# AM_PROG_MKDIR_P
7437# --------------- 7546# ---------------
7438# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. 7547# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
7439# 7548
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
7440# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories 7566# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
7441# created by `make install' are always world readable, even if the 7567# created by `make install' are always world readable, even if the
7442# installer happens to have an overly restrictive umask (e.g. 077). 7568# installer happens to have an overly restrictive umask (e.g. 077).
@@ -7457,21 +7583,13 @@ fi
7457# this.) 7583# this.)
7458AC_DEFUN([AM_PROG_MKDIR_P], 7584AC_DEFUN([AM_PROG_MKDIR_P],
7459[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 7585[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7460 # We used to keeping the `.' as first argument, in order to 7586 # Keeping the `.' argument allows $(mkdir_p) to be used without
7461 # allow $(mkdir_p) to be used without argument. As in 7587 # argument. Indeed, we sometimes output rules like
7462 # $(mkdir_p) $(somedir) 7588 # $(mkdir_p) $(somedir)
7463 # where $(somedir) is conditionally defined. However this is wrong 7589 # where $(somedir) is conditionally defined.
7464 # for two reasons: 7590 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
7465 # 1. if the package is installed by a user who cannot write `.' 7591 # expensive solution, as it forces Make to start a sub-shell.)
7466 # make install will fail, 7592 mkdir_p='mkdir -p -- .'
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 --'
7475else 7593else
7476 # On NextStep and OpenStep, the `mkdir' command does not 7594 # On NextStep and OpenStep, the `mkdir' command does not
7477 # recognize any option. It will interpret all options as 7595 # recognize any option. It will interpret all options as
@@ -7490,15 +7608,26 @@ else
7490fi 7608fi
7491AC_SUBST([mkdir_p])]) 7609AC_SUBST([mkdir_p])])
7492 7610
7493# Helper functions for option handling. -*- Autoconf -*- 7611# Helper functions for option handling. -*- Autoconf -*-
7494 7612
7495# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 7613# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
7496#
7497# This file is free software; the Free Software Foundation
7498# gives unlimited permission to copy and/or distribute it,
7499# with or without modifications, as long as this notice is preserved.
7500 7614
7501# serial 3 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
7625# You should have received a copy of the GNU General Public License
7626# along with this program; if not, write to the Free Software
7627# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
7628# 02111-1307, USA.
7629
7630# serial 2
7502 7631
7503# _AM_MANGLE_OPTION(NAME) 7632# _AM_MANGLE_OPTION(NAME)
7504# ----------------------- 7633# -----------------------
@@ -7523,16 +7652,28 @@ AC_DEFUN([_AM_SET_OPTIONS],
7523AC_DEFUN([_AM_IF_OPTION], 7652AC_DEFUN([_AM_IF_OPTION],
7524[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 7653[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
7525 7654
7526# Check to make sure that the build environment is sane. -*- Autoconf -*-
7527
7528# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
7529# Free Software Foundation, Inc.
7530# 7655#
7531# This file is free software; the Free Software Foundation 7656# Check to make sure that the build environment is sane.
7532# gives unlimited permission to copy and/or distribute it, 7657#
7533# with or without modifications, as long as this notice is preserved.
7534 7658
7535# serial 4 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
7666# This program is distributed in the hope that it will be useful,
7667# but WITHOUT ANY WARRANTY; without even the implied warranty of
7668# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7669# GNU General Public License for more details.
7670
7671# You should have received a copy of the GNU General Public License
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
7676# serial 3
7536 7677
7537# AM_SANITY_CHECK 7678# AM_SANITY_CHECK
7538# --------------- 7679# ---------------
@@ -7575,14 +7716,25 @@ Check your system clock])
7575fi 7716fi
7576AC_MSG_RESULT(yes)]) 7717AC_MSG_RESULT(yes)])
7577 7718
7578# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7579#
7580# This file is free software; the Free Software Foundation
7581# gives unlimited permission to copy and/or distribute it,
7582# with or without modifications, as long as this notice is preserved.
7583
7584# AM_PROG_INSTALL_STRIP 7719# AM_PROG_INSTALL_STRIP
7585# --------------------- 7720
7721# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
7722
7723# This program is free software; you can redistribute it and/or modify
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
7586# One issue with vendor `install' (even GNU) is that you can't 7738# One issue with vendor `install' (even GNU) is that you can't
7587# specify the program used to strip binaries. This is especially 7739# specify the program used to strip binaries. This is especially
7588# annoying in cross-compiling environments, where the build's strip 7740# annoying in cross-compiling environments, where the build's strip
@@ -7603,99 +7755,3 @@ fi
7603INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 7755INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7604AC_SUBST([INSTALL_STRIP_PROGRAM])]) 7756AC_SUBST([INSTALL_STRIP_PROGRAM])])
7605 7757
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