1
# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005 Free Software Foundation, Inc.
4
# 2005, 2006 Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
14
m4_if(m4_PACKAGE_VERSION, [2.61],,
15
[m4_fatal([this file was generated for autoconf 2.61.
16
You have another version of autoconf. If you want to use that,
17
you should regenerate the build system entirely.], [63])])
14
19
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
16
# serial 47 AC_PROG_LIBTOOL
21
# serial 48 AC_PROG_LIBTOOL
19
24
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
650
675
LDFLAGS="$LDFLAGS $3"
651
676
printf "$lt_simple_link_test_code" > conftest.$ac_ext
652
677
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
653
# The compiler can only warn and ignore the option if not recognized
678
# The linker can only warn and ignore the option if not recognized
654
679
# So say no if there are warnings
655
680
if test -s conftest.err; then
656
681
# Append any errors to the config.log.
657
682
cat conftest.err 1>&AS_MESSAGE_LOG_FD
658
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
659
$SED '/^$/d' conftest.err >conftest.er2
683
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
684
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
660
685
if diff conftest.exp conftest.er2 >/dev/null; then
725
750
elif test -x /usr/sbin/sysctl; then
726
751
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
728
lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
753
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
730
755
# And add a safety zone
731
756
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
732
757
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
761
# We know the value 262144 and hardcode it with a safety zone (like BSD)
762
lt_cv_sys_max_cmd_len=196608
735
766
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
736
767
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
737
768
# nice to cause kernel panics so lets avoid the loop below.
738
769
# First set a reasonable default.
739
770
lt_cv_sys_max_cmd_len=16384
741
772
if test -x /sbin/sysconfig; then
742
773
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
743
774
*1*) lt_cv_sys_max_cmd_len=-1 ;;
779
lt_cv_sys_max_cmd_len=102400
781
sysv5* | sco5v6* | sysv4.2uw2*)
782
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
783
if test -n "$kargmax"; then
784
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
786
lt_cv_sys_max_cmd_len=32768
748
790
# If test is not a shell built-in, we'll probably end up computing a
749
791
# maximum length that is only half of the actual maximum length, but
1016
1060
# The compiler can only warn and ignore the option if not recognized
1017
1061
# So say no if there are warnings
1018
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
1019
$SED '/^$/d' out/conftest.err >out/conftest.er2
1020
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1062
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1063
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1064
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1021
1065
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1068
chmod u+w . 2>&AS_MESSAGE_LOG_FD
1026
1070
# SGI C++ compiler will create directory out/ii_files/ for
1027
1071
# template instantiation
1334
1379
soname_spec='${libname}${release}${major}$shared_ext'
1335
1380
shlibpath_overrides_runpath=yes
1336
1381
shlibpath_var=DYLD_LIBRARY_PATH
1337
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1382
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1338
1383
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1339
1384
if test "$GCC" = yes; then
1340
1385
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
1514
1583
# before this can be enabled.
1515
1584
hardcode_into_libs=yes
1517
# find out which ABI we are using
1520
x86_64*|s390x*|powerpc64*)
1521
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1522
if AC_TRY_EVAL(ac_compile); then
1523
case `/usr/bin/file conftest.$ac_objext` in
1526
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
1534
1586
# Append ld.so.conf contents to the search path
1535
1587
if test -f /etc/ld.so.conf; then
1536
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/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1537
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
1588
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' ' '`
1589
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1540
1592
# We used to test for /lib/ld.so.1 and disable shared libraries on
1752
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1753
version_type=freebsd-elf
1756
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1757
soname_spec='${libname}${release}${shared_ext}$major'
1758
shlibpath_var=LD_LIBRARY_PATH
1759
hardcode_into_libs=yes
1760
if test "$with_gnu_ld" = yes; then
1761
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1762
shlibpath_overrides_runpath=no
1764
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1765
shlibpath_overrides_runpath=yes
1768
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1772
sys_lib_dlsearch_path_spec='/usr/lib'
1703
1776
version_type=linux
1704
1777
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2369
2454
# Let the user override the test.
2370
2455
lt_cv_path_NM="$NM"
2372
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2373
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
2375
test -z "$ac_dir" && ac_dir=.
2376
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
2377
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2378
# Check to see if the nm accepts a BSD-compat flag.
2379
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
2380
# nm: unknown option "B" ignored
2381
# Tru64's nm complains that /dev/null is an invalid object file
2382
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2383
*/dev/null* | *'Invalid file or object type'*)
2384
lt_cv_path_NM="$tmp_nm -B"
2388
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2390
lt_cv_path_NM="$tmp_nm -p"
2457
lt_nm_to_check="${ac_tool_prefix}nm"
2458
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2459
lt_nm_to_check="$lt_nm_to_check nm"
2461
for lt_tmp_nm in $lt_nm_to_check; do
2462
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2463
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2465
test -z "$ac_dir" && ac_dir=.
2466
tmp_nm="$ac_dir/$lt_tmp_nm"
2467
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2468
# Check to see if the nm accepts a BSD-compat flag.
2469
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
2470
# nm: unknown option "B" ignored
2471
# Tru64's nm complains that /dev/null is an invalid object file
2472
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2473
*/dev/null* | *'Invalid file or object type'*)
2474
lt_cv_path_NM="$tmp_nm -B"
2394
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2395
continue # so that we can try to find one that supports BSD flags
2478
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2480
lt_cv_path_NM="$tmp_nm -p"
2484
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2485
continue # so that we can try to find one that supports BSD flags
2402
2494
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2404
2496
NM="$lt_cv_path_NM"
2430
2522
# -----------------------------------
2431
2523
# sets LIBLTDL to the link flags for the libltdl convenience library and
2432
2524
# LTDLINCL to the include flags for the libltdl header and adds
2433
# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
2434
# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
2435
# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
2436
# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
2437
# '${top_srcdir}/' (note the single quotes!). If your package is not
2438
# flat and you're not using automake, define top_builddir and
2439
# top_srcdir appropriately in the Makefiles.
2525
# --enable-ltdl-convenience to the configure arguments. Note that
2526
# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
2527
# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
2528
# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
2529
# (note the single quotes!). If your package is not flat and you're not
2530
# using automake, define top_builddir and top_srcdir appropriately in
2440
2532
AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
2441
2533
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2442
2534
case $enable_ltdl_convenience in
2455
2547
# -----------------------------------
2456
2548
# sets LIBLTDL to the link flags for the libltdl installable library and
2457
2549
# LTDLINCL to the include flags for the libltdl header and adds
2458
# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
2459
# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
2460
# DIRECTORY is not provided and an installed libltdl is not found, it is
2461
# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
2462
# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
2463
# quotes!). If your package is not flat and you're not using automake,
2464
# define top_builddir and top_srcdir appropriately in the Makefiles.
2550
# --enable-ltdl-install to the configure arguments. Note that
2551
# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
2552
# and an installed libltdl is not found, it is assumed to be `libltdl'.
2553
# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
2554
# '${top_srcdir}/' (note the single quotes!). If your package is not
2555
# flat and you're not using automake, define top_builddir and top_srcdir
2556
# appropriately in the Makefiles.
2465
2557
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
2466
2558
AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
2467
2559
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2590
2682
_LT_COMPILER_BOILERPLATE
2591
2683
_LT_LINKER_BOILERPLATE
2594
# Check for any special shared library compilation flags.
2596
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
2597
if test "$GCC" = no; then
2600
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
2604
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
2605
AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
2606
if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
2608
AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
2609
_LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
2615
# Check to make sure the static flag actually works.
2617
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
2618
_LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
2619
$_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
2621
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
2624
2685
AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2625
2686
AC_LIBTOOL_PROG_COMPILER_PIC($1)
2626
2687
AC_LIBTOOL_PROG_CC_C_O($1)
2904
2968
_LT_AC_SYS_LIBPATH_AIX
2905
2969
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2907
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2971
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2909
2973
if test "$host_cpu" = ia64; then
2910
2974
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2911
2975
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
2912
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
2976
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
2914
2978
# Determine the default libpath from the value encoded in an empty executable.
2915
2979
_LT_AC_SYS_LIBPATH_AIX
2918
2982
# -berok will link without error, but may produce a broken library.
2919
2983
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2920
2984
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2921
# -bexpall does not export symbols beginning with underscore (_)
2922
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
2923
2985
# Exported symbols can be pulled into shared objects from archives
2924
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
2986
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2925
2987
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
2926
# This is similar to how AIX traditionally builds it's shared libraries.
2927
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
2988
# This is similar to how AIX traditionally builds its shared libraries.
2989
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
2995
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
2996
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
2997
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
2998
# support --undefined. This deserves some investigation. FIXME
2999
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3001
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2932
3006
case $cc_basename in
3000
3073
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3002
3075
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3003
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3076
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3004
3077
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3005
3078
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3013
3086
output_verbose_link_cmd='echo'
3014
3087
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
3015
3088
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3016
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3089
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3017
3090
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3018
3091
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3094
3167
hpux10*|hpux11*)
3095
3168
if test $with_gnu_ld = no; then
3098
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3169
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3170
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3099
3174
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3100
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3103
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3106
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3107
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3108
3177
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3114
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3115
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3118
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3119
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3120
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3121
# but as the default
3122
# location of the library.
3183
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3184
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3125
3187
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
3244
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3245
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3246
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3247
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3248
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3249
# Instead, shared libraries are loaded at an image base (0x10000000 by
3250
# default) and relocated if they conflict, which is a slow very memory
3251
# consuming and fragmenting process. To avoid this, we pick a random,
3252
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3253
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
3254
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
3255
_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'
3175
3257
irix5* | irix6*)
3176
3258
case $cc_basename in
3254
3336
# Portland Group C++ compiler
3255
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3256
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
3337
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3338
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
3258
3340
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3259
3341
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3260
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3342
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3489
3558
case $cc_basename in
3491
3560
# Sun C++ 4.2, 5.x and Centerline C++
3561
_LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
3492
3562
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3493
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3563
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3494
3564
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3495
$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3565
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3497
3567
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3498
3568
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3513
3583
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3515
# Commands to make compiler produce verbose output that lists
3516
# what "hidden" libraries, object files and flags are used when
3517
# linking a shared library.
3519
# There doesn't appear to be a way to prevent this compiler from
3520
# explicitly linking system object files so we need to strip them
3521
# from the output so that they don't get included in the library
3523
output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3585
output_verbose_link_cmd='echo'
3525
3587
# Archives containing C++ object files must be created using
3526
3588
# "CC -xar", where "CC" is the Sun C++ compiler. This is
3569
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
3570
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3631
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
3632
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3633
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3634
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3635
runpath_var='LD_RUN_PATH'
3637
case $cc_basename in
3639
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3640
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3643
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3644
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3648
sysv5* | sco3.2v5* | sco5v6*)
3649
# Note: We can NOT use -z defs as we might desire, because we do not
3650
# link with -lc, and that would cause any symbols used from libc to
3651
# always be unresolved, which means just about no library would
3652
# ever link correctly. If we're not using GNU ld we use -z text
3653
# though, which does catch some bad symbols but isn't as heavy-handed
3655
# For security reasons, it is highly recommended that you always
3656
# use absolute paths for naming shared libraries, and exclude the
3657
# DT_RUNPATH tag from executables and libraries. But doing so
3658
# requires that you compile everything twice, which is a pain.
3659
# So that behaviour is only enabled if SCOABSPATH is set to a
3660
# non-empty value in the environment. Most likely only useful for
3661
# creating official distributions of packages.
3662
# This is a hack until libtool officially supports absolute path
3663
# names for shared libraries.
3664
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3665
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
3666
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3667
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3668
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3669
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3670
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3671
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3672
runpath_var='LD_RUN_PATH'
3674
case $cc_basename in
3676
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3677
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3680
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3681
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3573
3686
case $cc_basename in
3754
3865
$rm -f confest.$objext
3867
# PORTME: override above test on systems where it is broken
3871
# Interix 3.5 installs completely hosed .la files for C++, so rather than
3872
# hack all around it, let's just trust "g++" to DTRT.
3873
_LT_AC_TAGVAR(predep_objects,$1)=
3874
_LT_AC_TAGVAR(postdep_objects,$1)=
3875
_LT_AC_TAGVAR(postdeps,$1)=
3879
case $cc_basename in
3881
# Adding this requires a known-good setup of shared libraries for
3882
# Sun compiler versions before 5.6, else PIC objects from an old
3883
# archive will be linked into the output, leading to subtle bugs.
3884
_LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
3756
3891
case " $_LT_AC_TAGVAR(postdeps, $1) " in
3757
3892
*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
3759
3894
])# AC_LIBTOOL_POSTDEP_PREDEP
3761
3896
# AC_LIBTOOL_LANG_F77_CONFIG
3762
# ------------------------
3897
# --------------------------
3763
3898
# Ensure that the configuration vars for the C compiler are
3764
3899
# suitably defined. Those variables are subsequently used by
3765
3900
# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4782
4927
case $cc_basename in
4784
4929
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4785
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
4930
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4786
4931
if test "$host_cpu" != ia64; then
4787
4932
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4791
4936
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4792
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
4937
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4794
4939
hppa*64*|ia64*)
4795
4940
# +Z the default
5072
5224
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5073
5225
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5075
pgcc* | pgf77* | pgf90*)
5227
pgcc* | pgf77* | pgf90* | pgf95*)
5076
5228
# Portland Group compilers (*not* the Pentium gcc compiler,
5077
5229
# which looks to be a dead project)
5078
5230
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5079
5231
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5080
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5232
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5083
5235
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5169
5322
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
5327
# Check to make sure the static flag actually works.
5329
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5330
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5331
_LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
5332
$lt_tmp_static_flag,
5334
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5331
5498
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5333
5500
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5334
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5501
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5335
5502
# If the export-symbols file already is a .def file (1st line
5336
5503
# is EXPORTS), use it as is; otherwise, prepend...
5337
5504
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5340
5507
echo EXPORTS > $output_objdir/$soname.def;
5341
5508
cat $export_symbols >> $output_objdir/$soname.def;
5343
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5510
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5345
5512
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5517
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5518
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5519
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5520
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5521
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5522
# Instead, shared libraries are loaded at an image base (0x10000000 by
5523
# default) and relocated if they conflict, which is a slow very memory
5524
# consuming and fragmenting process. To avoid this, we pick a random,
5525
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5526
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
5527
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5528
_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'
5350
5532
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5352
5534
case $cc_basename,$host_cpu in
5353
5535
pgcc*) # Portland Group C compiler
5354
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5536
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5537
tmp_addflag=' $pic_flag'
5356
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
5357
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5358
tmp_addflag=' -fpic -Mnomain' ;;
5539
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
5540
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5541
tmp_addflag=' $pic_flag -Mnomain' ;;
5359
5542
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
5360
5543
tmp_addflag=' -i_dynamic' ;;
5361
5544
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
5593
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5594
case `$LD -v 2>&1` in
5595
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5596
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5599
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
5600
*** reliably create shared libraries on SCO systems. Therefore, libtool
5601
*** is disabling shared libraries support. We urge you to upgrade GNU
5602
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5603
*** your PATH or compiler configuration so that the native linker is
5604
*** used, and then restart.
5609
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5610
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
5611
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
5612
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
5614
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5411
5621
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5541
5753
# Determine the default libpath from the value encoded in an empty executable.
5542
5754
_LT_AC_SYS_LIBPATH_AIX
5543
5755
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5544
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5756
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5546
5758
if test "$host_cpu" = ia64; then
5547
5759
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5548
5760
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5549
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5761
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
5551
5763
# Determine the default libpath from the value encoded in an empty executable.
5552
5764
_LT_AC_SYS_LIBPATH_AIX
5555
5767
# -berok will link without error, but may produce a broken library.
5556
5768
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5557
5769
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5558
# -bexpall does not export symbols beginning with underscore (_)
5559
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
5560
5770
# Exported symbols can be pulled into shared objects from archives
5561
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
5771
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5562
5772
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5563
# This is similar to how AIX traditionally builds it's shared libraries.
5564
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5773
# This is similar to how AIX traditionally builds its shared libraries.
5774
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5629
5839
output_verbose_link_cmd='echo'
5630
5840
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5631
5841
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5632
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
5842
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5633
5843
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5634
5844
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5638
5848
output_verbose_link_cmd='echo'
5639
5849
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
5640
5850
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5641
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
5851
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5642
5852
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5643
5853
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5702
5912
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5706
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5916
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5917
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5919
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5921
if test "$with_gnu_ld" = no; then
5922
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5923
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5925
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5926
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5928
# hardcode_minus_L: Not really in the search PATH,
5929
# but as the default location of the library.
5930
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5935
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5709
5938
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5941
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5712
5944
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5718
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
5950
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5953
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5721
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5956
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5725
5960
if test "$with_gnu_ld" = no; then
5728
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5961
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5962
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5729
5966
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5730
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5731
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5732
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5735
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5736
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5737
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5739
# hardcode_minus_L: Not really in the search PATH,
5740
# but as the default location of the library.
5741
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5967
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5968
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5744
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5745
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5746
5971
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5747
5972
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5941
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5942
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5943
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5944
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5945
hardcode_runpath_var=yes
5946
runpath_var=LD_RUN_PATH
5949
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
5950
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
5951
if test "$GCC" = yes; then
5952
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5954
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5956
runpath_var='LD_RUN_PATH'
5957
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5961
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
5962
# $CC -shared without GNU ld will not create a library from C++
5963
# object files and a static libstdc++, better avoid it by now
5964
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5965
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5966
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5967
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5968
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5969
runpath_var='LD_RUN_PATH'
6157
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
6158
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6159
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6160
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6161
runpath_var='LD_RUN_PATH'
6163
if test "$GCC" = yes; then
6164
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6165
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6167
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6168
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6172
sysv5* | sco3.2v5* | sco5v6*)
6173
# Note: We can NOT use -z defs as we might desire, because we do not
6174
# link with -lc, and that would cause any symbols used from libc to
6175
# always be unresolved, which means just about no library would
6176
# ever link correctly. If we're not using GNU ld we use -z text
6177
# though, which does catch some bad symbols but isn't as heavy-handed
6179
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6180
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6181
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6182
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6183
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
6184
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6185
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6186
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6187
runpath_var='LD_RUN_PATH'
6189
if test "$GCC" = yes; then
6190
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6191
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6193
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6194
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6338
6560
# ----------------------------
6339
6561
# Automake X.Y traces this macro to ensure aclocal.m4 has been
6340
6562
# generated from the m4 files accompanying Automake X.Y.
6341
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
6563
# (This private macro should not be called outside this file.)
6564
AC_DEFUN([AM_AUTOMAKE_VERSION],
6565
[am__api_version='1.10'
6566
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
6567
dnl require some minimum version. Point them to the right macro.
6568
m4_if([$1], [1.10], [],
6569
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
6572
# _AM_AUTOCONF_VERSION(VERSION)
6573
# -----------------------------
6574
# aclocal traces this macro to find the Autoconf version.
6575
# This is a private macro too. Using m4_define simplifies
6576
# the logic in aclocal, which can simply ignore this definition.
6577
m4_define([_AM_AUTOCONF_VERSION], [])
6343
6579
# AM_SET_CURRENT_AUTOMAKE_VERSION
6344
6580
# -------------------------------
6345
# Call AM_AUTOMAKE_VERSION so it can be traced.
6581
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
6346
6582
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6347
6583
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6348
[AM_AUTOMAKE_VERSION([1.9.5])])
6584
[AM_AUTOMAKE_VERSION([1.10])dnl
6585
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
6350
6587
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6403
6640
# AM_CONDITIONAL -*- Autoconf -*-
6405
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
6642
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
6406
6643
# Free Software Foundation, Inc.
6408
6645
# This file is free software; the Free Software Foundation
6409
6646
# gives unlimited permission to copy and/or distribute it,
6410
6647
# with or without modifications, as long as this notice is preserved.
6414
6651
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6415
6652
# -------------------------------------
6433
6672
Usually this means the macro was only invoked conditionally.]])
6437
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
6675
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6438
6676
# Free Software Foundation, Inc.
6440
6678
# This file is free software; the Free Software Foundation
6441
6679
# gives unlimited permission to copy and/or distribute it,
6442
6680
# with or without modifications, as long as this notice is preserved.
6446
6684
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6447
6685
# written in clear, in which case automake, when reading aclocal.m4,
6469
6707
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
6470
6708
[$1], CXX, [depcc="$CXX" am_compiler_list=],
6471
6709
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
6710
[$1], UPC, [depcc="$UPC" am_compiler_list=],
6472
6711
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
6473
6712
[depcc="$$1" am_compiler_list=])
6660
6902
# Do all the work for Automake. -*- Autoconf -*-
6662
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
6663
# Free Software Foundation, Inc.
6904
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
6905
# 2005, 2006 Free Software Foundation, Inc.
6665
6907
# This file is free software; the Free Software Foundation
6666
6908
# gives unlimited permission to copy and/or distribute it,
6683
6925
# arguments mandatory, and then we can depend on a new Autoconf
6684
6926
# release and drop the old call support.
6685
6927
AC_DEFUN([AM_INIT_AUTOMAKE],
6686
[AC_PREREQ([2.58])dnl
6928
[AC_PREREQ([2.60])dnl
6687
6929
dnl Autoconf wants to disallow AM_ names. We explicitly allow
6688
6930
dnl the ones we care about.
6689
6931
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
6690
6932
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
6691
6933
AC_REQUIRE([AC_PROG_INSTALL])dnl
6692
# test to see if srcdir already configured
6693
if test "`cd $srcdir && pwd`" != "`pwd`" &&
6694
test -f $srcdir/config.status; then
6695
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
6934
if test "`cd $srcdir && pwd`" != "`pwd`"; then
6935
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6936
# is not polluted with repeated "-I."
6937
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
6938
# test to see if srcdir already configured
6939
if test -f $srcdir/config.status; then
6940
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
6698
6944
# test whether we have cygpath
6712
6958
AC_SUBST([PACKAGE], [$1])dnl
6713
6959
AC_SUBST([VERSION], [$2])],
6714
6960
[_AM_SET_OPTIONS([$1])dnl
6961
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
6962
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
6963
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
6715
6964
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
6716
6965
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
6890
7143
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
6892
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
7145
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
6893
7146
# Free Software Foundation, Inc.
6895
7148
# This file is free software; the Free Software Foundation
6896
7149
# gives unlimited permission to copy and/or distribute it,
6897
7150
# with or without modifications, as long as this notice is preserved.
6901
7154
# AM_MISSING_PROG(NAME, PROGRAM)
6902
7155
# ------------------------------
6931
7185
# AM_PROG_MKDIR_P
6932
7186
# ---------------
6933
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
6935
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
6936
# created by `make install' are always world readable, even if the
6937
# installer happens to have an overly restrictive umask (e.g. 077).
6938
# This was a mistake. There are at least two reasons why we must not
6940
# - it causes special bits like SGID to be ignored,
6941
# - it may be too restrictive (some setups expect 775 directories).
6943
# Do not use -m 0755 and let people choose whatever they expect by
6946
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
6947
# Some implementations (such as Solaris 8's) are not thread-safe: if a
6948
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
6949
# concurrently, both version can detect that a/ is missing, but only
6950
# one can create it and the other will error out. Consequently we
6951
# restrict ourselves to GNU make (using the --version option ensures
7187
# Check for `mkdir -p'.
6953
7188
AC_DEFUN([AM_PROG_MKDIR_P],
6954
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
6955
# We used to keeping the `.' as first argument, in order to
6956
# allow $(mkdir_p) to be used without argument. As in
6957
# $(mkdir_p) $(somedir)
6958
# where $(somedir) is conditionally defined. However this is wrong
6960
# 1. if the package is installed by a user who cannot write `.'
6961
# make install will fail,
6962
# 2. the above comment should most certainly read
6963
# $(mkdir_p) $(DESTDIR)$(somedir)
6964
# so it does not work when $(somedir) is undefined and
6965
# $(DESTDIR) is not.
6966
# To support the latter case, we have to write
6967
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
6968
# so the `.' trick is pointless.
6969
mkdir_p='mkdir -p --'
6971
# On NextStep and OpenStep, the `mkdir' command does not
6972
# recognize any option. It will interpret all options as
6973
# directories to create, and then abort because `.' already
6975
for d in ./-p ./--version;
6977
test -d $d && rmdir $d
6979
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6980
if test -f "$ac_aux_dir/mkinstalldirs"; then
6981
mkdir_p='$(mkinstalldirs)'
6983
mkdir_p='$(install_sh) -d'
6986
AC_SUBST([mkdir_p])])
7189
[AC_PREREQ([2.60])dnl
7190
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
7191
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
7192
dnl while keeping a definition of mkdir_p for backward compatibility.
7193
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
7194
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
7195
dnl Makefile.ins that do not define MKDIR_P, so we do our own
7196
dnl adjustment using top_builddir (which is defined more often than
7198
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
7200
[[\\/$]]* | ?:[[\\/]]*) ;;
7201
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
6988
7205
# Helper functions for option handling. -*- Autoconf -*-
7018
7235
AC_DEFUN([_AM_IF_OPTION],
7019
7236
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
7021
# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005
7238
# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2006
7022
7239
# Free Software Foundation, Inc.
7024
7241
# This file is free software; the Free Software Foundation
7025
7242
# gives unlimited permission to copy and/or distribute it,
7026
7243
# with or without modifications, as long as this notice is preserved.
7030
7247
AC_DEFUN([AM_C_PROTOTYPES],
7031
7248
[AC_REQUIRE([AC_C_PROTOTYPES])
7120
7338
if test "$cross_compiling" != no; then
7121
7339
AC_CHECK_TOOL([STRIP], [strip], :)
7123
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7341
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
7124
7342
AC_SUBST([INSTALL_STRIP_PROGRAM])])
7344
# Copyright (C) 2006 Free Software Foundation, Inc.
7346
# This file is free software; the Free Software Foundation
7347
# gives unlimited permission to copy and/or distribute it,
7348
# with or without modifications, as long as this notice is preserved.
7350
# _AM_SUBST_NOTMAKE(VARIABLE)
7351
# ---------------------------
7352
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
7353
# This macro is traced by Automake.
7354
AC_DEFUN([_AM_SUBST_NOTMAKE])
7126
7356
# Check how to create a tarball. -*- Autoconf -*-
7128
7358
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.