1 |
# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- |
# aclocal.m4t generated automatically by aclocal 1.6.3 -*- Autoconf -*- |
2 |
|
|
3 |
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
4 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
837 |
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
838 |
|
|
839 |
# serial 47 AC_PROG_LIBTOOL |
# serial 47 AC_PROG_LIBTOOL |
840 |
# Debian $Rev: 74 $ |
# Debian $Rev: 149 $ |
841 |
|
|
842 |
|
|
843 |
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) |
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) |
1654 |
lt_cv_dlopen_self=yes |
lt_cv_dlopen_self=yes |
1655 |
]) |
]) |
1656 |
;; |
;; |
1657 |
|
|
1658 |
*) |
*) |
1659 |
AC_CHECK_FUNC([shl_load], |
AC_CHECK_FUNC([shl_load], |
1660 |
[lt_cv_dlopen="shl_load"], |
[lt_cv_dlopen="shl_load"], |
1894 |
*) |
*) |
1895 |
AC_MSG_RESULT([no]) |
AC_MSG_RESULT([no]) |
1896 |
;; |
;; |
1897 |
esac |
esac |
1898 |
fi |
fi |
1899 |
])# AC_LIBTOOL_SYS_LIB_STRIP |
])# AC_LIBTOOL_SYS_LIB_STRIP |
1900 |
|
|
2263 |
# before this can be enabled. |
# before this can be enabled. |
2264 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
2265 |
|
|
2266 |
|
# Append ld.so.conf contents to the search path |
2267 |
|
if test -f /etc/ld.so.conf; then |
2268 |
|
ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf` |
2269 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
2270 |
|
fi |
2271 |
|
|
2272 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
2273 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
2274 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
2278 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
2279 |
;; |
;; |
2280 |
|
|
2281 |
|
knetbsd*-gnu) |
2282 |
|
version_type=linux |
2283 |
|
need_lib_prefix=no |
2284 |
|
need_version=no |
2285 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
2286 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
2287 |
|
shlibpath_var=LD_LIBRARY_PATH |
2288 |
|
shlibpath_overrides_runpath=no |
2289 |
|
hardcode_into_libs=yes |
2290 |
|
dynamic_linker='GNU ld.so' |
2291 |
|
;; |
2292 |
|
|
2293 |
netbsd*) |
netbsd*) |
2294 |
version_type=sunos |
version_type=sunos |
2295 |
need_lib_prefix=no |
need_lib_prefix=no |
2328 |
openbsd*) |
openbsd*) |
2329 |
version_type=sunos |
version_type=sunos |
2330 |
need_lib_prefix=no |
need_lib_prefix=no |
2331 |
need_version=no |
need_version=yes |
2332 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
2333 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
2334 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
2938 |
lt_cv_file_magic_test_file=/shlib/libc.so |
lt_cv_file_magic_test_file=/shlib/libc.so |
2939 |
;; |
;; |
2940 |
|
|
2941 |
cygwin* | mingw* | pw32*) |
cygwin*) |
2942 |
# win32_libid is a shell function defined in ltmain.sh |
# win32_libid is a shell function defined in ltmain.sh |
2943 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
2944 |
lt_cv_file_magic_cmd='win32_libid' |
lt_cv_file_magic_cmd='win32_libid' |
2945 |
;; |
;; |
2946 |
|
|
2947 |
|
mingw* | pw32*) |
2948 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
2949 |
|
# win32_libid shell function, so use a weaker test based on 'objdump'. |
2950 |
|
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
2951 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
2952 |
|
;; |
2953 |
|
|
2954 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
|
# this will be overwritten by pass_all, but leave it in just in case |
|
|
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
|
|
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
|
case "$host_os" in |
|
|
rhapsody* | darwin1.[[012]]) |
|
|
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` |
|
|
;; |
|
|
*) # Darwin 1.3 on |
|
|
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' |
|
|
;; |
|
|
esac |
|
2955 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
2956 |
;; |
;; |
2957 |
|
|
2994 |
;; |
;; |
2995 |
|
|
2996 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
2997 |
case $host_os in |
case $LD in |
2998 |
irix5* | nonstopux*) |
*-32|*"-32 ") libmagic=32-bit;; |
2999 |
# this will be overridden with pass_all, but let us keep it just in case |
*-n32|*"-n32 ") libmagic=N32;; |
3000 |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
*-64|*"-64 ") libmagic=64-bit;; |
3001 |
;; |
*) libmagic=never-match;; |
|
*) |
|
|
case $LD in |
|
|
*-32|*"-32 ") libmagic=32-bit;; |
|
|
*-n32|*"-n32 ") libmagic=N32;; |
|
|
*-64|*"-64 ") libmagic=64-bit;; |
|
|
*) libmagic=never-match;; |
|
|
esac |
|
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" |
|
|
;; |
|
3002 |
esac |
esac |
|
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` |
|
3003 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
3004 |
;; |
;; |
3005 |
|
|
3006 |
# This must be Linux ELF. |
# This must be Linux ELF. |
3007 |
linux*) |
linux*) |
|
# linux always uses pass_all now, this code is the old way (tm) |
|
|
case $host_cpu in |
|
|
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*) |
|
|
lt_cv_deplibs_check_method=pass_all ;; |
|
|
*) |
|
|
# glibc up to 2.1.1 does not perform some relocations on ARM |
|
|
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; |
|
|
esac |
|
3008 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
|
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
|
3009 |
;; |
;; |
3010 |
|
|
3011 |
netbsd*) |
netbsd*) |
3037 |
;; |
;; |
3038 |
|
|
3039 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' |
|
|
lt_cv_file_magic_test_file=/shlib/libc.so |
|
3040 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
3041 |
;; |
;; |
3042 |
|
|
3046 |
|
|
3047 |
solaris*) |
solaris*) |
3048 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
|
lt_cv_file_magic_test_file=/lib/libc.so |
|
3049 |
;; |
;; |
3050 |
|
|
3051 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
3311 |
fi |
fi |
3312 |
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then |
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then |
3313 |
AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) |
AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) |
3314 |
if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : |
if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : |
3315 |
else |
else |
3316 |
AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) |
AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) |
3317 |
_LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no |
_LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no |
3379 |
;; |
;; |
3380 |
10.*) |
10.*) |
3381 |
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' |
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' |
3382 |
;; |
;; |
3383 |
esac |
esac |
3384 |
fi |
fi |
3385 |
;; |
;; |
3397 |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
3398 |
else |
else |
3399 |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
3400 |
fi |
fi |
3401 |
;; |
;; |
3402 |
esac |
esac |
3403 |
AC_MSG_RESULT([$enable_shared]) |
AC_MSG_RESULT([$enable_shared]) |
3404 |
|
|
3716 |
;; |
;; |
3717 |
10.*) |
10.*) |
3718 |
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' |
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' |
3719 |
;; |
;; |
3720 |
esac |
esac |
3721 |
fi |
fi |
3722 |
;; |
;; |
4646 |
# without removal of \ escapes. |
# without removal of \ escapes. |
4647 |
if test -n "${ZSH_VERSION+set}" ; then |
if test -n "${ZSH_VERSION+set}" ; then |
4648 |
setopt NO_GLOB_SUBST |
setopt NO_GLOB_SUBST |
4649 |
fi |
fi |
4650 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
4651 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
4652 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
4701 |
_LT_AC_TAGVAR(archive_cmds, $1) | \ |
_LT_AC_TAGVAR(archive_cmds, $1) | \ |
4702 |
_LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ |
_LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ |
4703 |
_LT_AC_TAGVAR(module_cmds, $1) | \ |
_LT_AC_TAGVAR(module_cmds, $1) | \ |
4704 |
_LT_AC_TAGVAR(module_expsym_cmds, $1) | \ |
_LT_AC_TAGVAR(module_expsym_cmds, $1) | \ |
4705 |
_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ |
_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ |
4706 |
_LT_AC_TAGVAR(export_symbols_cmds, $1) | \ |
_LT_AC_TAGVAR(export_symbols_cmds, $1) | \ |
4707 |
extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
5467 |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
5468 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
5469 |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
5470 |
;; |
;; |
5471 |
cxx) |
cxx) |
5472 |
# Compaq C++ |
# Compaq C++ |
5473 |
# Make sure the PIC flag is empty. It appears that all Alpha |
# Make sure the PIC flag is empty. It appears that all Alpha |
5827 |
_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown |
_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown |
5828 |
_LT_AC_TAGVAR(hardcode_automatic, $1)=no |
_LT_AC_TAGVAR(hardcode_automatic, $1)=no |
5829 |
_LT_AC_TAGVAR(module_cmds, $1)= |
_LT_AC_TAGVAR(module_cmds, $1)= |
5830 |
_LT_AC_TAGVAR(module_expsym_cmds, $1)= |
_LT_AC_TAGVAR(module_expsym_cmds, $1)= |
5831 |
_LT_AC_TAGVAR(always_export_symbols, $1)=no |
_LT_AC_TAGVAR(always_export_symbols, $1)=no |
5832 |
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
5833 |
# include_expsyms should be a list of space-separated symbols to be *always* |
# include_expsyms should be a list of space-separated symbols to be *always* |
6199 |
;; |
;; |
6200 |
10.*) |
10.*) |
6201 |
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' |
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' |
6202 |
;; |
;; |
6203 |
esac |
esac |
6204 |
fi |
fi |
6205 |
;; |
;; |
6227 |
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
6228 |
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' |
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' |
6229 |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
6230 |
else |
else |
6231 |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
6232 |
fi |
fi |
6233 |
;; |
;; |
6234 |
|
|
6235 |
dgux*) |
dgux*) |
6579 |
AC_MSG_CHECKING([whether -lc should be explicitly linked in]) |
AC_MSG_CHECKING([whether -lc should be explicitly linked in]) |
6580 |
$rm conftest* |
$rm conftest* |
6581 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
6582 |
|
|
6583 |
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then |
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then |
6584 |
soname=conftest |
soname=conftest |
6585 |
lib=conftest |
lib=conftest |