588
588
# if CDPATH is set.
589
589
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591
if test -z "$ECHO"; then
592
if test "X${echo_test_string+set}" != Xset; then
593
# find a string as large as possible, as long as the shell can cope with it
594
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
echo_test_string=`eval $cmd` &&
598
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
605
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# The Solaris, AIX, and Digital Unix default echo programs unquote
611
# backslashes. This makes it impossible to quote backslashes using
612
# echo "$something" | sed 's/\\/\\\\/g'
614
# So, first we look for a working echo in the user's PATH.
616
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
for dir in $PATH /usr/ucb; do
591
if test -z "$lt_ECHO"; then
592
if test "X${echo_test_string+set}" != Xset; then
593
# find a string as large as possible, as long as the shell can cope with it
594
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
604
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606
test "X$echo_testing_string" = "X$echo_test_string"; then
609
# The Solaris, AIX, and Digital Unix default echo programs unquote
610
# backslashes. This makes it impossible to quote backslashes using
611
# echo "$something" | sed 's/\\/\\\\/g'
613
# So, first we look for a working echo in the user's PATH.
615
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616
for dir in $PATH /usr/ucb; do
618
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621
test "X$echo_testing_string" = "X$echo_test_string"; then
618
626
IFS="$lt_save_ifs"
619
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
test "X$echo_testing_string" = "X$echo_test_string"; then
629
if test "X$echo" = Xecho; then
630
# We didn't find a better echo, so look for alternatives.
631
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
test "X$echo_testing_string" = "X$echo_test_string"; then
634
# This shell has a builtin print -r that does the trick.
636
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
test "X$CONFIG_SHELL" != X/bin/ksh; then
638
# If we have ksh, try running configure again with it.
639
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
export ORIGINAL_CONFIG_SHELL
641
CONFIG_SHELL=/bin/ksh
643
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
test "X$echo_testing_string" = "X$echo_test_string"; then
652
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
test "X$echo_testing_string" = 'X\t' &&
654
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
test "X$echo_testing_string" = "X$echo_test_string"; then
656
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658
SHELL="$CONFIG_SHELL"
660
echo="$CONFIG_SHELL $0 --fallback-echo"
661
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
test "X$echo_testing_string" = 'X\t' &&
663
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
test "X$echo_testing_string" = "X$echo_test_string"; then
665
echo="$CONFIG_SHELL $0 --fallback-echo"
628
if test "X$ECHO" = Xecho; then
629
# We didn't find a better echo, so look for alternatives.
630
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632
test "X$echo_testing_string" = "X$echo_test_string"; then
633
# This shell has a builtin print -r that does the trick.
635
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636
test "X$CONFIG_SHELL" != X/bin/ksh; then
637
# If we have ksh, try running configure again with it.
638
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639
export ORIGINAL_CONFIG_SHELL
640
CONFIG_SHELL=/bin/ksh
642
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667
# maybe with a smaller string...
670
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
646
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648
test "X$echo_testing_string" = "X$echo_test_string"; then
651
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652
test "X$echo_testing_string" = 'X\t' &&
653
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654
test "X$echo_testing_string" = "X$echo_test_string"; then
655
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
SHELL="$CONFIG_SHELL"
659
ECHO="$CONFIG_SHELL $0 --fallback-echo"
660
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661
test "X$echo_testing_string" = 'X\t' &&
662
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663
test "X$echo_testing_string" = "X$echo_test_string"; then
664
ECHO="$CONFIG_SHELL $0 --fallback-echo"
666
# maybe with a smaller string...
669
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
677
if test "$prev" != 'sed 50q "$0"'; then
678
echo_test_string=`eval $prev`
679
export echo_test_string
680
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
# Oops. We lost completely, so just stick with echo.
678
if test "$prev" != 'sed 50q "$0"'; then
679
echo_test_string=`eval $prev`
680
export echo_test_string
681
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683
# Oops. We lost completely, so just stick with echo.
692
691
# Copy echo and quote the copy suitably for passing to libtool from
693
692
# the Makefile, instead of quoting the original, which is used later.
695
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
694
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
2599
2607
LIBOIL_LIBVERSION="3:0:3"
2605
# Check whether --enable-shared was given.
2606
if test "${enable_shared+set}" = set; then
2607
enableval=$enable_shared; p=${PACKAGE-default}
2609
yes) enable_shared=yes ;;
2610
no) enable_shared=no ;;
2613
# Look at the argument we got. We use all the common list separators.
2614
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2615
for pkg in $enableval; do
2617
if test "X$pkg" = "X$p"; then
2629
# Check whether --enable-static was given.
2630
if test "${enable_static+set}" = set; then
2631
enableval=$enable_static; p=${PACKAGE-default}
2633
yes) enable_static=yes ;;
2634
no) enable_static=no ;;
2637
# Look at the argument we got. We use all the common list separators.
2638
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2639
for pkg in $enableval; do
2641
if test "X$pkg" = "X$p"; then
2653
# Check whether --enable-fast-install was given.
2654
if test "${enable_fast_install+set}" = set; then
2655
enableval=$enable_fast_install; p=${PACKAGE-default}
2657
yes) enable_fast_install=yes ;;
2658
no) enable_fast_install=no ;;
2660
enable_fast_install=no
2661
# Look at the argument we got. We use all the common list separators.
2662
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2663
for pkg in $enableval; do
2665
if test "X$pkg" = "X$p"; then
2666
enable_fast_install=yes
2673
enable_fast_install=yes
2609
enable_win32_dll=yes
2612
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
2613
if test -n "$ac_tool_prefix"; then
2614
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2615
set dummy ${ac_tool_prefix}as; ac_word=$2
2616
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2617
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2618
if test "${ac_cv_prog_AS+set}" = set; then
2619
echo $ECHO_N "(cached) $ECHO_C" >&6
2621
if test -n "$AS"; then
2622
ac_cv_prog_AS="$AS" # Let the user override the test.
2624
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628
test -z "$as_dir" && as_dir=.
2629
for ac_exec_ext in '' $ac_executable_extensions; do
2630
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631
ac_cv_prog_AS="${ac_tool_prefix}as"
2632
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2642
if test -n "$AS"; then
2643
{ echo "$as_me:$LINENO: result: $AS" >&5
2644
echo "${ECHO_T}$AS" >&6; }
2646
{ echo "$as_me:$LINENO: result: no" >&5
2647
echo "${ECHO_T}no" >&6; }
2652
if test -z "$ac_cv_prog_AS"; then
2654
# Extract the first word of "as", so it can be a program name with args.
2655
set dummy as; ac_word=$2
2656
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2657
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2658
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2659
echo $ECHO_N "(cached) $ECHO_C" >&6
2661
if test -n "$ac_ct_AS"; then
2662
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2664
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668
test -z "$as_dir" && as_dir=.
2669
for ac_exec_ext in '' $ac_executable_extensions; do
2670
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671
ac_cv_prog_ac_ct_AS="as"
2672
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681
ac_ct_AS=$ac_cv_prog_ac_ct_AS
2682
if test -n "$ac_ct_AS"; then
2683
{ echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2684
echo "${ECHO_T}$ac_ct_AS" >&6; }
2686
{ echo "$as_me:$LINENO: result: no" >&5
2687
echo "${ECHO_T}no" >&6; }
2690
if test "x$ac_ct_AS" = x; then
2693
case $cross_compiling:$ac_tool_warned in
2695
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2696
whose name does not start with the host triplet. If you think this
2697
configuration is useful to you, please write to autoconf@gnu.org." >&5
2698
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2699
whose name does not start with the host triplet. If you think this
2700
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2701
ac_tool_warned=yes ;;
2709
if test -n "$ac_tool_prefix"; then
2710
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2711
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
2712
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2713
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2714
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
2715
echo $ECHO_N "(cached) $ECHO_C" >&6
2717
if test -n "$DLLTOOL"; then
2718
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724
test -z "$as_dir" && as_dir=.
2725
for ac_exec_ext in '' $ac_executable_extensions; do
2726
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
2728
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737
DLLTOOL=$ac_cv_prog_DLLTOOL
2738
if test -n "$DLLTOOL"; then
2739
{ echo "$as_me:$LINENO: result: $DLLTOOL" >&5
2740
echo "${ECHO_T}$DLLTOOL" >&6; }
2742
{ echo "$as_me:$LINENO: result: no" >&5
2743
echo "${ECHO_T}no" >&6; }
2748
if test -z "$ac_cv_prog_DLLTOOL"; then
2749
ac_ct_DLLTOOL=$DLLTOOL
2750
# Extract the first word of "dlltool", so it can be a program name with args.
2751
set dummy dlltool; ac_word=$2
2752
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2754
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
2755
echo $ECHO_N "(cached) $ECHO_C" >&6
2757
if test -n "$ac_ct_DLLTOOL"; then
2758
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
2760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764
test -z "$as_dir" && as_dir=.
2765
for ac_exec_ext in '' $ac_executable_extensions; do
2766
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
2768
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
2778
if test -n "$ac_ct_DLLTOOL"; then
2779
{ echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
2780
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
2782
{ echo "$as_me:$LINENO: result: no" >&5
2783
echo "${ECHO_T}no" >&6; }
2786
if test "x$ac_ct_DLLTOOL" = x; then
2789
case $cross_compiling:$ac_tool_warned in
2791
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2792
whose name does not start with the host triplet. If you think this
2793
configuration is useful to you, please write to autoconf@gnu.org." >&5
2794
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2795
whose name does not start with the host triplet. If you think this
2796
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2797
ac_tool_warned=yes ;;
2799
DLLTOOL=$ac_ct_DLLTOOL
2802
DLLTOOL="$ac_cv_prog_DLLTOOL"
2805
if test -n "$ac_tool_prefix"; then
2806
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2807
set dummy ${ac_tool_prefix}objdump; ac_word=$2
2808
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2809
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2810
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
2811
echo $ECHO_N "(cached) $ECHO_C" >&6
2813
if test -n "$OBJDUMP"; then
2814
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820
test -z "$as_dir" && as_dir=.
2821
for ac_exec_ext in '' $ac_executable_extensions; do
2822
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
2824
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2833
OBJDUMP=$ac_cv_prog_OBJDUMP
2834
if test -n "$OBJDUMP"; then
2835
{ echo "$as_me:$LINENO: result: $OBJDUMP" >&5
2836
echo "${ECHO_T}$OBJDUMP" >&6; }
2838
{ echo "$as_me:$LINENO: result: no" >&5
2839
echo "${ECHO_T}no" >&6; }
2844
if test -z "$ac_cv_prog_OBJDUMP"; then
2845
ac_ct_OBJDUMP=$OBJDUMP
2846
# Extract the first word of "objdump", so it can be a program name with args.
2847
set dummy objdump; ac_word=$2
2848
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2849
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2850
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
2851
echo $ECHO_N "(cached) $ECHO_C" >&6
2853
if test -n "$ac_ct_OBJDUMP"; then
2854
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
2856
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860
test -z "$as_dir" && as_dir=.
2861
for ac_exec_ext in '' $ac_executable_extensions; do
2862
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863
ac_cv_prog_ac_ct_OBJDUMP="objdump"
2864
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2873
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
2874
if test -n "$ac_ct_OBJDUMP"; then
2875
{ echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
2876
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
2878
{ echo "$as_me:$LINENO: result: no" >&5
2879
echo "${ECHO_T}no" >&6; }
2882
if test "x$ac_ct_OBJDUMP" = x; then
2885
case $cross_compiling:$ac_tool_warned in
2887
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2888
whose name does not start with the host triplet. If you think this
2889
configuration is useful to you, please write to autoconf@gnu.org." >&5
2890
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2891
whose name does not start with the host triplet. If you think this
2892
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2893
ac_tool_warned=yes ;;
2895
OBJDUMP=$ac_ct_OBJDUMP
2898
OBJDUMP="$ac_cv_prog_OBJDUMP"
2904
test -z "$AS" && AS=as
2910
test -z "$DLLTOOL" && DLLTOOL=dlltool
2916
test -z "$OBJDUMP" && OBJDUMP=objdump
2928
{ echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2929
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2934
macro_version='2.2.4'
2935
macro_revision='1.2976'
2949
ltmain="$ac_aux_dir/ltmain.sh"
2677
2951
DEPDIR="${am__leading_dot}deps"
4184
4721
echo "${ECHO_T}no, using $LN_S" >&6; }
4724
# find the maximum length of command line arguments
4725
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4726
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4727
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4728
echo $ECHO_N "(cached) $ECHO_C" >&6
4735
# On DJGPP, this test can blow up pretty badly due to problems in libc
4736
# (any single argument exceeding 2000 bytes causes a buffer overrun
4737
# during glob expansion). Even if it were fixed, the result of this
4738
# check would be larger than it should be.
4739
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4743
# Under GNU Hurd, this test is not required because there is
4744
# no limit to the length of command line arguments.
4745
# Libtool will interpret -1 as no limit whatsoever
4746
lt_cv_sys_max_cmd_len=-1;
4750
# On Win9x/ME, this test blows up -- it succeeds, but takes
4751
# about 5 minutes as the teststring grows exponentially.
4752
# Worse, since 9x/ME are not pre-emptively multitasking,
4753
# you end up with a "frozen" computer, even though with patience
4754
# the test eventually succeeds (with a max line length of 256k).
4755
# Instead, let's just punt: use the minimum linelength reported by
4756
# all of the supported platforms: 8192 (on NT/2K/XP).
4757
lt_cv_sys_max_cmd_len=8192;
4761
# On AmigaOS with pdksh, this test takes hours, literally.
4762
# So we just punt and use a minimum line length of 8192.
4763
lt_cv_sys_max_cmd_len=8192;
4766
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4767
# This has been around since 386BSD, at least. Likely further.
4768
if test -x /sbin/sysctl; then
4769
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4770
elif test -x /usr/sbin/sysctl; then
4771
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4773
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4775
# And add a safety zone
4776
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4777
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4781
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4782
lt_cv_sys_max_cmd_len=196608
4786
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4787
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4788
# nice to cause kernel panics so lets avoid the loop below.
4789
# First set a reasonable default.
4790
lt_cv_sys_max_cmd_len=16384
4792
if test -x /sbin/sysconfig; then
4793
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4794
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4799
lt_cv_sys_max_cmd_len=102400
4801
sysv5* | sco5v6* | sysv4.2uw2*)
4802
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4803
if test -n "$kargmax"; then
4804
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4806
lt_cv_sys_max_cmd_len=32768
4810
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4811
if test -n "$lt_cv_sys_max_cmd_len"; then
4812
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4813
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4815
# Make teststring a little bigger before we do anything with it.
4816
# a 1K string should be a reasonable start.
4817
for i in 1 2 3 4 5 6 7 8 ; do
4818
teststring=$teststring$teststring
4820
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4821
# If test is not a shell built-in, we'll probably end up computing a
4822
# maximum length that is only half of the actual maximum length, but
4824
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4825
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4826
test $i != 17 # 1/2 MB should be enough
4829
teststring=$teststring$teststring
4831
# Only check the string length outside the loop.
4832
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4834
# Add a significant safety factor because C++ compilers can tack on
4835
# massive amounts of additional arguments before passing them to the
4836
# linker. It appears as though 1/2 is a usable value.
4837
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4844
if test -n $lt_cv_sys_max_cmd_len ; then
4845
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4846
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4848
{ echo "$as_me:$LINENO: result: none" >&5
4849
echo "${ECHO_T}none" >&6; }
4851
max_cmd_len=$lt_cv_sys_max_cmd_len
4862
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4863
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4864
# Try some XSI features
4867
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4869
&& eval 'test $(( 1 + 1 )) -eq 2 \
4870
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4872
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
4873
echo "${ECHO_T}$xsi_shell" >&6; }
4876
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4877
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4879
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4881
&& lt_shell_append=yes
4882
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4883
echo "${ECHO_T}$lt_shell_append" >&6; }
4886
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4896
# test EBCDIC or ASCII
4897
case `echo X|tr X '\101'` in
4898
A) # ASCII based system
4899
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4900
lt_SP2NL='tr \040 \012'
4901
lt_NL2SP='tr \015\012 \040\040'
4903
*) # EBCDIC based system
4904
lt_SP2NL='tr \100 \n'
4905
lt_NL2SP='tr \r\n \100\100'
4917
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4918
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4919
if test "${lt_cv_ld_reload_flag+set}" = set; then
4920
echo $ECHO_N "(cached) $ECHO_C" >&6
4922
lt_cv_ld_reload_flag='-r'
4924
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4925
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4926
reload_flag=$lt_cv_ld_reload_flag
4927
case $reload_flag in
4929
*) reload_flag=" $reload_flag" ;;
4931
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4934
if test "$GCC" = yes; then
4935
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4937
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4187
4951
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4188
4952
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4189
4953
if test "${lt_cv_deplibs_check_method+set}" = set; then
5158
if test -n "$ac_tool_prefix"; then
5159
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5160
set dummy ${ac_tool_prefix}ar; ac_word=$2
5161
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5162
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5163
if test "${ac_cv_prog_AR+set}" = set; then
5164
echo $ECHO_N "(cached) $ECHO_C" >&6
5166
if test -n "$AR"; then
5167
ac_cv_prog_AR="$AR" # Let the user override the test.
5169
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173
test -z "$as_dir" && as_dir=.
5174
for ac_exec_ext in '' $ac_executable_extensions; do
5175
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5176
ac_cv_prog_AR="${ac_tool_prefix}ar"
5177
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5187
if test -n "$AR"; then
5188
{ echo "$as_me:$LINENO: result: $AR" >&5
5189
echo "${ECHO_T}$AR" >&6; }
5191
{ echo "$as_me:$LINENO: result: no" >&5
5192
echo "${ECHO_T}no" >&6; }
5197
if test -z "$ac_cv_prog_AR"; then
5199
# Extract the first word of "ar", so it can be a program name with args.
5200
set dummy ar; ac_word=$2
5201
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5202
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5203
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5204
echo $ECHO_N "(cached) $ECHO_C" >&6
5206
if test -n "$ac_ct_AR"; then
5207
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5209
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213
test -z "$as_dir" && as_dir=.
5214
for ac_exec_ext in '' $ac_executable_extensions; do
5215
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216
ac_cv_prog_ac_ct_AR="ar"
5217
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5226
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5227
if test -n "$ac_ct_AR"; then
5228
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5229
echo "${ECHO_T}$ac_ct_AR" >&6; }
5231
{ echo "$as_me:$LINENO: result: no" >&5
5232
echo "${ECHO_T}no" >&6; }
5235
if test "x$ac_ct_AR" = x; then
5238
case $cross_compiling:$ac_tool_warned in
5240
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5241
whose name does not start with the host triplet. If you think this
5242
configuration is useful to you, please write to autoconf@gnu.org." >&5
5243
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5244
whose name does not start with the host triplet. If you think this
5245
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5246
ac_tool_warned=yes ;;
5254
test -z "$AR" && AR=ar
5255
test -z "$AR_FLAGS" && AR_FLAGS=cru
5267
if test -n "$ac_tool_prefix"; then
5268
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5269
set dummy ${ac_tool_prefix}strip; ac_word=$2
5270
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5271
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5272
if test "${ac_cv_prog_STRIP+set}" = set; then
5273
echo $ECHO_N "(cached) $ECHO_C" >&6
5275
if test -n "$STRIP"; then
5276
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5278
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282
test -z "$as_dir" && as_dir=.
5283
for ac_exec_ext in '' $ac_executable_extensions; do
5284
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5285
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5286
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5295
STRIP=$ac_cv_prog_STRIP
5296
if test -n "$STRIP"; then
5297
{ echo "$as_me:$LINENO: result: $STRIP" >&5
5298
echo "${ECHO_T}$STRIP" >&6; }
5300
{ echo "$as_me:$LINENO: result: no" >&5
5301
echo "${ECHO_T}no" >&6; }
5306
if test -z "$ac_cv_prog_STRIP"; then
5308
# Extract the first word of "strip", so it can be a program name with args.
5309
set dummy strip; ac_word=$2
5310
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5312
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5313
echo $ECHO_N "(cached) $ECHO_C" >&6
5315
if test -n "$ac_ct_STRIP"; then
5316
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322
test -z "$as_dir" && as_dir=.
5323
for ac_exec_ext in '' $ac_executable_extensions; do
5324
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325
ac_cv_prog_ac_ct_STRIP="strip"
5326
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5336
if test -n "$ac_ct_STRIP"; then
5337
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5338
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5340
{ echo "$as_me:$LINENO: result: no" >&5
5341
echo "${ECHO_T}no" >&6; }
5344
if test "x$ac_ct_STRIP" = x; then
5347
case $cross_compiling:$ac_tool_warned in
5349
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5350
whose name does not start with the host triplet. If you think this
5351
configuration is useful to you, please write to autoconf@gnu.org." >&5
5352
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5353
whose name does not start with the host triplet. If you think this
5354
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5355
ac_tool_warned=yes ;;
5360
STRIP="$ac_cv_prog_STRIP"
5363
test -z "$STRIP" && STRIP=:
5370
if test -n "$ac_tool_prefix"; then
5371
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5372
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5373
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5374
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5375
if test "${ac_cv_prog_RANLIB+set}" = set; then
5376
echo $ECHO_N "(cached) $ECHO_C" >&6
5378
if test -n "$RANLIB"; then
5379
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385
test -z "$as_dir" && as_dir=.
5386
for ac_exec_ext in '' $ac_executable_extensions; do
5387
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5388
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5389
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5398
RANLIB=$ac_cv_prog_RANLIB
5399
if test -n "$RANLIB"; then
5400
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
5401
echo "${ECHO_T}$RANLIB" >&6; }
5403
{ echo "$as_me:$LINENO: result: no" >&5
5404
echo "${ECHO_T}no" >&6; }
5409
if test -z "$ac_cv_prog_RANLIB"; then
5410
ac_ct_RANLIB=$RANLIB
5411
# Extract the first word of "ranlib", so it can be a program name with args.
5412
set dummy ranlib; ac_word=$2
5413
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5414
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5415
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5416
echo $ECHO_N "(cached) $ECHO_C" >&6
5418
if test -n "$ac_ct_RANLIB"; then
5419
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425
test -z "$as_dir" && as_dir=.
5426
for ac_exec_ext in '' $ac_executable_extensions; do
5427
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5428
ac_cv_prog_ac_ct_RANLIB="ranlib"
5429
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5438
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5439
if test -n "$ac_ct_RANLIB"; then
5440
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5441
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5443
{ echo "$as_me:$LINENO: result: no" >&5
5444
echo "${ECHO_T}no" >&6; }
5447
if test "x$ac_ct_RANLIB" = x; then
5450
case $cross_compiling:$ac_tool_warned in
5452
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5453
whose name does not start with the host triplet. If you think this
5454
configuration is useful to you, please write to autoconf@gnu.org." >&5
5455
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5456
whose name does not start with the host triplet. If you think this
5457
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5458
ac_tool_warned=yes ;;
5460
RANLIB=$ac_ct_RANLIB
5463
RANLIB="$ac_cv_prog_RANLIB"
5466
test -z "$RANLIB" && RANLIB=:
5473
# Determine commands to create old-style static archives.
5474
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5475
old_postinstall_cmds='chmod 644 $oldlib'
5476
old_postuninstall_cmds=
5478
if test -n "$RANLIB"; then
5481
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5484
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5487
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4382
5523
# If no C compiler was specified, use CC.
4383
5524
LTCC=${LTCC-"$CC"}
4392
# Check whether --enable-libtool-lock was given.
4393
if test "${enable_libtool_lock+set}" = set; then
4394
enableval=$enable_libtool_lock;
4397
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4399
# Some flags need to be propagated to the compiler or linker for good
4403
# Find out which ABI we are using.
4404
echo 'int i;' > conftest.$ac_ext
4405
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406
(eval $ac_compile) 2>&5
4408
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409
(exit $ac_status); }; then
4410
case `/usr/bin/file conftest.$ac_objext` in
4422
# Find out which ABI we are using.
4423
echo '#line 4423 "configure"' > conftest.$ac_ext
4424
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4425
(eval $ac_compile) 2>&5
4427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428
(exit $ac_status); }; then
4429
if test "$lt_cv_prog_gnu_ld" = yes; then
4430
case `/usr/bin/file conftest.$ac_objext` in
4432
LD="${LD-ld} -melf32bsmip"
4435
LD="${LD-ld} -melf32bmipn32"
4438
LD="${LD-ld} -melf64bmip"
4442
case `/usr/bin/file conftest.$ac_objext` in
4458
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4459
s390*-*linux*|sparc*-*linux*)
4460
# Find out which ABI we are using.
4461
echo 'int i;' > conftest.$ac_ext
4462
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463
(eval $ac_compile) 2>&5
4465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466
(exit $ac_status); }; then
4467
case `/usr/bin/file conftest.o` in
4470
x86_64-*kfreebsd*-gnu)
4471
LD="${LD-ld} -m elf_i386_fbsd"
4474
LD="${LD-ld} -m elf_i386"
4476
ppc64-*linux*|powerpc64-*linux*)
4477
LD="${LD-ld} -m elf32ppclinux"
4480
LD="${LD-ld} -m elf_s390"
4483
LD="${LD-ld} -m elf32_sparc"
4489
x86_64-*kfreebsd*-gnu)
4490
LD="${LD-ld} -m elf_x86_64_fbsd"
4493
LD="${LD-ld} -m elf_x86_64"
4495
ppc*-*linux*|powerpc*-*linux*)
4496
LD="${LD-ld} -m elf64ppc"
4499
LD="${LD-ld} -m elf64_s390"
4502
LD="${LD-ld} -m elf64_sparc"
4512
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
4513
SAVE_CFLAGS="$CFLAGS"
4514
CFLAGS="$CFLAGS -belf"
4515
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4516
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4517
if test "${lt_cv_cc_needs_belf+set}" = set; then
4518
echo $ECHO_N "(cached) $ECHO_C" >&6
4521
ac_cpp='$CPP $CPPFLAGS'
4522
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4526
cat >conftest.$ac_ext <<_ACEOF
4529
cat confdefs.h >>conftest.$ac_ext
4530
cat >>conftest.$ac_ext <<_ACEOF
4531
/* end confdefs.h. */
4541
rm -f conftest.$ac_objext conftest$ac_exeext
4542
if { (ac_try="$ac_link"
4544
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4545
*) ac_try_echo=$ac_try;;
4547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4548
(eval "$ac_link") 2>conftest.er1
4550
grep -v '^ *+' conftest.er1 >conftest.err
4552
cat conftest.err >&5
4553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554
(exit $ac_status); } && {
4555
test -z "$ac_c_werror_flag" ||
4556
test ! -s conftest.err
4557
} && test -s conftest$ac_exeext &&
4558
$as_test_x conftest$ac_exeext; then
4559
lt_cv_cc_needs_belf=yes
4561
echo "$as_me: failed program was:" >&5
4562
sed 's/^/| /' conftest.$ac_ext >&5
4564
lt_cv_cc_needs_belf=no
4567
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4568
conftest$ac_exeext conftest.$ac_ext
4570
ac_cpp='$CPP $CPPFLAGS'
4571
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4577
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4578
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4579
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4580
CFLAGS="$SAVE_CFLAGS"
4584
# Find out which ABI we are using.
4585
echo 'int i;' > conftest.$ac_ext
4586
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587
(eval $ac_compile) 2>&5
4589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590
(exit $ac_status); }; then
4591
case `/usr/bin/file conftest.o` in
4593
case $lt_cv_prog_gnu_ld in
4594
yes*) LD="${LD-ld} -m elf64_sparc" ;;
4596
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4607
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4608
if test -n "$ac_tool_prefix"; then
4609
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4610
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4611
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4612
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4613
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4614
echo $ECHO_N "(cached) $ECHO_C" >&6
4616
if test -n "$DLLTOOL"; then
4617
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4619
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623
test -z "$as_dir" && as_dir=.
4624
for ac_exec_ext in '' $ac_executable_extensions; do
4625
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4627
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4636
DLLTOOL=$ac_cv_prog_DLLTOOL
4637
if test -n "$DLLTOOL"; then
4638
{ echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4639
echo "${ECHO_T}$DLLTOOL" >&6; }
4641
{ echo "$as_me:$LINENO: result: no" >&5
4642
echo "${ECHO_T}no" >&6; }
4647
if test -z "$ac_cv_prog_DLLTOOL"; then
4648
ac_ct_DLLTOOL=$DLLTOOL
4649
# Extract the first word of "dlltool", so it can be a program name with args.
4650
set dummy dlltool; ac_word=$2
4651
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4652
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4653
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4654
echo $ECHO_N "(cached) $ECHO_C" >&6
4656
if test -n "$ac_ct_DLLTOOL"; then
4657
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4659
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663
test -z "$as_dir" && as_dir=.
4664
for ac_exec_ext in '' $ac_executable_extensions; do
4665
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4667
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4676
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4677
if test -n "$ac_ct_DLLTOOL"; then
4678
{ echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4679
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4681
{ echo "$as_me:$LINENO: result: no" >&5
4682
echo "${ECHO_T}no" >&6; }
4685
if test "x$ac_ct_DLLTOOL" = x; then
4688
case $cross_compiling:$ac_tool_warned in
4690
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4691
whose name does not start with the host triplet. If you think this
4692
configuration is useful to you, please write to autoconf@gnu.org." >&5
4693
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4694
whose name does not start with the host triplet. If you think this
4695
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4696
ac_tool_warned=yes ;;
4698
DLLTOOL=$ac_ct_DLLTOOL
4701
DLLTOOL="$ac_cv_prog_DLLTOOL"
4704
if test -n "$ac_tool_prefix"; then
4705
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4706
set dummy ${ac_tool_prefix}as; ac_word=$2
4707
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4708
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4709
if test "${ac_cv_prog_AS+set}" = set; then
4710
echo $ECHO_N "(cached) $ECHO_C" >&6
4712
if test -n "$AS"; then
4713
ac_cv_prog_AS="$AS" # Let the user override the test.
4715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719
test -z "$as_dir" && as_dir=.
4720
for ac_exec_ext in '' $ac_executable_extensions; do
4721
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4722
ac_cv_prog_AS="${ac_tool_prefix}as"
4723
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4733
if test -n "$AS"; then
4734
{ echo "$as_me:$LINENO: result: $AS" >&5
4735
echo "${ECHO_T}$AS" >&6; }
4737
{ echo "$as_me:$LINENO: result: no" >&5
4738
echo "${ECHO_T}no" >&6; }
4743
if test -z "$ac_cv_prog_AS"; then
4745
# Extract the first word of "as", so it can be a program name with args.
4746
set dummy as; ac_word=$2
4747
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4748
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4749
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4750
echo $ECHO_N "(cached) $ECHO_C" >&6
4752
if test -n "$ac_ct_AS"; then
4753
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759
test -z "$as_dir" && as_dir=.
4760
for ac_exec_ext in '' $ac_executable_extensions; do
4761
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4762
ac_cv_prog_ac_ct_AS="as"
4763
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4772
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4773
if test -n "$ac_ct_AS"; then
4774
{ echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4775
echo "${ECHO_T}$ac_ct_AS" >&6; }
4777
{ echo "$as_me:$LINENO: result: no" >&5
4778
echo "${ECHO_T}no" >&6; }
4781
if test "x$ac_ct_AS" = x; then
4784
case $cross_compiling:$ac_tool_warned in
4786
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4787
whose name does not start with the host triplet. If you think this
4788
configuration is useful to you, please write to autoconf@gnu.org." >&5
4789
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4790
whose name does not start with the host triplet. If you think this
4791
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4792
ac_tool_warned=yes ;;
4800
if test -n "$ac_tool_prefix"; then
4801
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4802
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4803
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4804
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4805
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4806
echo $ECHO_N "(cached) $ECHO_C" >&6
4808
if test -n "$OBJDUMP"; then
4809
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815
test -z "$as_dir" && as_dir=.
4816
for ac_exec_ext in '' $ac_executable_extensions; do
4817
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4818
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4819
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4828
OBJDUMP=$ac_cv_prog_OBJDUMP
4829
if test -n "$OBJDUMP"; then
4830
{ echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4831
echo "${ECHO_T}$OBJDUMP" >&6; }
4833
{ echo "$as_me:$LINENO: result: no" >&5
4834
echo "${ECHO_T}no" >&6; }
4839
if test -z "$ac_cv_prog_OBJDUMP"; then
4840
ac_ct_OBJDUMP=$OBJDUMP
4841
# Extract the first word of "objdump", so it can be a program name with args.
4842
set dummy objdump; ac_word=$2
4843
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4844
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4845
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4846
echo $ECHO_N "(cached) $ECHO_C" >&6
4848
if test -n "$ac_ct_OBJDUMP"; then
4849
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4855
test -z "$as_dir" && as_dir=.
4856
for ac_exec_ext in '' $ac_executable_extensions; do
4857
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4858
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4859
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4868
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4869
if test -n "$ac_ct_OBJDUMP"; then
4870
{ echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4871
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4873
{ echo "$as_me:$LINENO: result: no" >&5
4874
echo "${ECHO_T}no" >&6; }
4877
if test "x$ac_ct_OBJDUMP" = x; then
4880
case $cross_compiling:$ac_tool_warned in
4882
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4883
whose name does not start with the host triplet. If you think this
4884
configuration is useful to you, please write to autoconf@gnu.org." >&5
4885
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4886
whose name does not start with the host triplet. If you think this
4887
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4888
ac_tool_warned=yes ;;
4890
OBJDUMP=$ac_ct_OBJDUMP
4893
OBJDUMP="$ac_cv_prog_OBJDUMP"
4900
need_locks="$enable_libtool_lock"
4904
ac_cpp='$CPP $CPPFLAGS'
4905
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4908
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4909
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4910
# On Suns, sometimes $CPP names a directory.
4911
if test -n "$CPP" && test -d "$CPP"; then
4914
if test -z "$CPP"; then
4915
if test "${ac_cv_prog_CPP+set}" = set; then
4916
echo $ECHO_N "(cached) $ECHO_C" >&6
4918
# Double quotes because CPP needs to be expanded
4919
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4922
for ac_c_preproc_warn_flag in '' yes
4924
# Use a header file that comes with gcc, so configuring glibc
4925
# with a fresh cross-compiler works.
4926
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4927
# <limits.h> exists even on freestanding compilers.
4928
# On the NeXT, cc -E runs the code through the compiler's parser,
4929
# not just through cpp. "Syntax error" is here to catch this case.
4930
cat >conftest.$ac_ext <<_ACEOF
4933
cat confdefs.h >>conftest.$ac_ext
4934
cat >>conftest.$ac_ext <<_ACEOF
4935
/* end confdefs.h. */
4937
# include <limits.h>
4939
# include <assert.h>
4943
if { (ac_try="$ac_cpp conftest.$ac_ext"
4945
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4946
*) ac_try_echo=$ac_try;;
4948
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4949
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4951
grep -v '^ *+' conftest.er1 >conftest.err
4953
cat conftest.err >&5
4954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955
(exit $ac_status); } >/dev/null && {
4956
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4957
test ! -s conftest.err
4961
echo "$as_me: failed program was:" >&5
4962
sed 's/^/| /' conftest.$ac_ext >&5
4964
# Broken: fails on valid input.
4968
rm -f conftest.err conftest.$ac_ext
4970
# OK, works on sane cases. Now check whether nonexistent headers
4971
# can be detected and how.
4972
cat >conftest.$ac_ext <<_ACEOF
4975
cat confdefs.h >>conftest.$ac_ext
4976
cat >>conftest.$ac_ext <<_ACEOF
4977
/* end confdefs.h. */
4978
#include <ac_nonexistent.h>
4980
if { (ac_try="$ac_cpp conftest.$ac_ext"
4982
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983
*) ac_try_echo=$ac_try;;
4985
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4986
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4988
grep -v '^ *+' conftest.er1 >conftest.err
4990
cat conftest.err >&5
4991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992
(exit $ac_status); } >/dev/null && {
4993
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4994
test ! -s conftest.err
4996
# Broken: success on invalid input.
4999
echo "$as_me: failed program was:" >&5
5000
sed 's/^/| /' conftest.$ac_ext >&5
5002
# Passes both tests.
5007
rm -f conftest.err conftest.$ac_ext
5010
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5011
rm -f conftest.err conftest.$ac_ext
5012
if $ac_preproc_ok; then
5024
{ echo "$as_me:$LINENO: result: $CPP" >&5
5025
echo "${ECHO_T}$CPP" >&6; }
5027
for ac_c_preproc_warn_flag in '' yes
5029
# Use a header file that comes with gcc, so configuring glibc
5030
# with a fresh cross-compiler works.
5031
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5032
# <limits.h> exists even on freestanding compilers.
5033
# On the NeXT, cc -E runs the code through the compiler's parser,
5034
# not just through cpp. "Syntax error" is here to catch this case.
5035
cat >conftest.$ac_ext <<_ACEOF
5038
cat confdefs.h >>conftest.$ac_ext
5039
cat >>conftest.$ac_ext <<_ACEOF
5040
/* end confdefs.h. */
5042
# include <limits.h>
5044
# include <assert.h>
5048
if { (ac_try="$ac_cpp conftest.$ac_ext"
5050
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5051
*) ac_try_echo=$ac_try;;
5053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5054
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5056
grep -v '^ *+' conftest.er1 >conftest.err
5058
cat conftest.err >&5
5059
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060
(exit $ac_status); } >/dev/null && {
5061
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5062
test ! -s conftest.err
5066
echo "$as_me: failed program was:" >&5
5067
sed 's/^/| /' conftest.$ac_ext >&5
5069
# Broken: fails on valid input.
5073
rm -f conftest.err conftest.$ac_ext
5075
# OK, works on sane cases. Now check whether nonexistent headers
5076
# can be detected and how.
5077
cat >conftest.$ac_ext <<_ACEOF
5080
cat confdefs.h >>conftest.$ac_ext
5081
cat >>conftest.$ac_ext <<_ACEOF
5082
/* end confdefs.h. */
5083
#include <ac_nonexistent.h>
5085
if { (ac_try="$ac_cpp conftest.$ac_ext"
5087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5088
*) ac_try_echo=$ac_try;;
5090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5091
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5093
grep -v '^ *+' conftest.er1 >conftest.err
5095
cat conftest.err >&5
5096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097
(exit $ac_status); } >/dev/null && {
5098
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5099
test ! -s conftest.err
5101
# Broken: success on invalid input.
5104
echo "$as_me: failed program was:" >&5
5105
sed 's/^/| /' conftest.$ac_ext >&5
5107
# Passes both tests.
5112
rm -f conftest.err conftest.$ac_ext
5115
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5116
rm -f conftest.err conftest.$ac_ext
5117
if $ac_preproc_ok; then
5120
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5121
See \`config.log' for more details." >&5
5122
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5123
See \`config.log' for more details." >&2;}
5124
{ (exit 1); exit 1; }; }
5128
ac_cpp='$CPP $CPPFLAGS'
5129
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5135
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5136
if test "${ac_cv_header_stdc+set}" = set; then
5137
echo $ECHO_N "(cached) $ECHO_C" >&6
5139
cat >conftest.$ac_ext <<_ACEOF
5142
cat confdefs.h >>conftest.$ac_ext
5143
cat >>conftest.$ac_ext <<_ACEOF
5144
/* end confdefs.h. */
5158
rm -f conftest.$ac_objext
5159
if { (ac_try="$ac_compile"
5161
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5162
*) ac_try_echo=$ac_try;;
5164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5165
(eval "$ac_compile") 2>conftest.er1
5167
grep -v '^ *+' conftest.er1 >conftest.err
5169
cat conftest.err >&5
5170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171
(exit $ac_status); } && {
5172
test -z "$ac_c_werror_flag" ||
5173
test ! -s conftest.err
5174
} && test -s conftest.$ac_objext; then
5175
ac_cv_header_stdc=yes
5177
echo "$as_me: failed program was:" >&5
5178
sed 's/^/| /' conftest.$ac_ext >&5
5180
ac_cv_header_stdc=no
5183
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5185
if test $ac_cv_header_stdc = yes; then
5186
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5187
cat >conftest.$ac_ext <<_ACEOF
5190
cat confdefs.h >>conftest.$ac_ext
5191
cat >>conftest.$ac_ext <<_ACEOF
5192
/* end confdefs.h. */
5196
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5197
$EGREP "memchr" >/dev/null 2>&1; then
5200
ac_cv_header_stdc=no
5206
if test $ac_cv_header_stdc = yes; then
5207
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5208
cat >conftest.$ac_ext <<_ACEOF
5211
cat confdefs.h >>conftest.$ac_ext
5212
cat >>conftest.$ac_ext <<_ACEOF
5213
/* end confdefs.h. */
5217
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5218
$EGREP "free" >/dev/null 2>&1; then
5221
ac_cv_header_stdc=no
5227
if test $ac_cv_header_stdc = yes; then
5228
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5229
if test "$cross_compiling" = yes; then
5232
cat >conftest.$ac_ext <<_ACEOF
5235
cat confdefs.h >>conftest.$ac_ext
5236
cat >>conftest.$ac_ext <<_ACEOF
5237
/* end confdefs.h. */
5240
#if ((' ' & 0x0FF) == 0x020)
5241
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5242
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5244
# define ISLOWER(c) \
5245
(('a' <= (c) && (c) <= 'i') \
5246
|| ('j' <= (c) && (c) <= 'r') \
5247
|| ('s' <= (c) && (c) <= 'z'))
5248
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5251
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5256
for (i = 0; i < 256; i++)
5257
if (XOR (islower (i), ISLOWER (i))
5258
|| toupper (i) != TOUPPER (i))
5263
rm -f conftest$ac_exeext
5264
if { (ac_try="$ac_link"
5266
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267
*) ac_try_echo=$ac_try;;
5269
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5270
(eval "$ac_link") 2>&5
5272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5274
{ (case "(($ac_try" in
5275
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276
*) ac_try_echo=$ac_try;;
5278
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5279
(eval "$ac_try") 2>&5
5281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282
(exit $ac_status); }; }; then
5285
echo "$as_me: program exited with status $ac_status" >&5
5286
echo "$as_me: failed program was:" >&5
5287
sed 's/^/| /' conftest.$ac_ext >&5
5290
ac_cv_header_stdc=no
5292
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5298
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5299
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5300
if test $ac_cv_header_stdc = yes; then
5302
cat >>confdefs.h <<\_ACEOF
5303
#define STDC_HEADERS 1
5308
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5318
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5319
inttypes.h stdint.h unistd.h
5321
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5322
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5323
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5324
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5325
echo $ECHO_N "(cached) $ECHO_C" >&6
5327
cat >conftest.$ac_ext <<_ACEOF
5330
cat confdefs.h >>conftest.$ac_ext
5331
cat >>conftest.$ac_ext <<_ACEOF
5332
/* end confdefs.h. */
5333
$ac_includes_default
5335
#include <$ac_header>
5337
rm -f conftest.$ac_objext
5338
if { (ac_try="$ac_compile"
5340
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5341
*) ac_try_echo=$ac_try;;
5343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5344
(eval "$ac_compile") 2>conftest.er1
5346
grep -v '^ *+' conftest.er1 >conftest.err
5348
cat conftest.err >&5
5349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350
(exit $ac_status); } && {
5351
test -z "$ac_c_werror_flag" ||
5352
test ! -s conftest.err
5353
} && test -s conftest.$ac_objext; then
5354
eval "$as_ac_Header=yes"
5356
echo "$as_me: failed program was:" >&5
5357
sed 's/^/| /' conftest.$ac_ext >&5
5359
eval "$as_ac_Header=no"
5362
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364
ac_res=`eval echo '${'$as_ac_Header'}'`
5365
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5366
echo "${ECHO_T}$ac_res" >&6; }
5367
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5368
cat >>confdefs.h <<_ACEOF
5369
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5378
for ac_header in dlfcn.h
5380
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5381
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5382
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5383
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5384
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5385
echo $ECHO_N "(cached) $ECHO_C" >&6
5387
ac_res=`eval echo '${'$as_ac_Header'}'`
5388
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5389
echo "${ECHO_T}$ac_res" >&6; }
5391
# Is the header compilable?
5392
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5393
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5394
cat >conftest.$ac_ext <<_ACEOF
5397
cat confdefs.h >>conftest.$ac_ext
5398
cat >>conftest.$ac_ext <<_ACEOF
5399
/* end confdefs.h. */
5400
$ac_includes_default
5401
#include <$ac_header>
5403
rm -f conftest.$ac_objext
5404
if { (ac_try="$ac_compile"
5406
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5407
*) ac_try_echo=$ac_try;;
5409
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5410
(eval "$ac_compile") 2>conftest.er1
5412
grep -v '^ *+' conftest.er1 >conftest.err
5414
cat conftest.err >&5
5415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416
(exit $ac_status); } && {
5417
test -z "$ac_c_werror_flag" ||
5418
test ! -s conftest.err
5419
} && test -s conftest.$ac_objext; then
5420
ac_header_compiler=yes
5422
echo "$as_me: failed program was:" >&5
5423
sed 's/^/| /' conftest.$ac_ext >&5
5425
ac_header_compiler=no
5428
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5429
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5430
echo "${ECHO_T}$ac_header_compiler" >&6; }
5432
# Is the header present?
5433
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5434
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5435
cat >conftest.$ac_ext <<_ACEOF
5438
cat confdefs.h >>conftest.$ac_ext
5439
cat >>conftest.$ac_ext <<_ACEOF
5440
/* end confdefs.h. */
5441
#include <$ac_header>
5443
if { (ac_try="$ac_cpp conftest.$ac_ext"
5445
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5446
*) ac_try_echo=$ac_try;;
5448
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5451
grep -v '^ *+' conftest.er1 >conftest.err
5453
cat conftest.err >&5
5454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455
(exit $ac_status); } >/dev/null && {
5456
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5457
test ! -s conftest.err
5459
ac_header_preproc=yes
5461
echo "$as_me: failed program was:" >&5
5462
sed 's/^/| /' conftest.$ac_ext >&5
5464
ac_header_preproc=no
5467
rm -f conftest.err conftest.$ac_ext
5468
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5469
echo "${ECHO_T}$ac_header_preproc" >&6; }
5471
# So? What about this header?
5472
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5474
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5475
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5476
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5477
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5478
ac_header_preproc=yes
5481
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5482
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5483
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5484
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5485
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5486
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5487
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5488
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5489
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5490
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5491
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5492
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5496
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5497
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5498
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5499
echo $ECHO_N "(cached) $ECHO_C" >&6
5501
eval "$as_ac_Header=\$ac_header_preproc"
5503
ac_res=`eval echo '${'$as_ac_Header'}'`
5504
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5505
echo "${ECHO_T}$ac_res" >&6; }
5508
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5509
cat >>confdefs.h <<_ACEOF
5510
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5518
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5519
# find the maximum length of command line arguments
5520
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5521
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5522
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5523
echo $ECHO_N "(cached) $ECHO_C" >&6
5530
# On DJGPP, this test can blow up pretty badly due to problems in libc
5531
# (any single argument exceeding 2000 bytes causes a buffer overrun
5532
# during glob expansion). Even if it were fixed, the result of this
5533
# check would be larger than it should be.
5534
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5538
# Under GNU Hurd, this test is not required because there is
5539
# no limit to the length of command line arguments.
5540
# Libtool will interpret -1 as no limit whatsoever
5541
lt_cv_sys_max_cmd_len=-1;
5545
# On Win9x/ME, this test blows up -- it succeeds, but takes
5546
# about 5 minutes as the teststring grows exponentially.
5547
# Worse, since 9x/ME are not pre-emptively multitasking,
5548
# you end up with a "frozen" computer, even though with patience
5549
# the test eventually succeeds (with a max line length of 256k).
5550
# Instead, let's just punt: use the minimum linelength reported by
5551
# all of the supported platforms: 8192 (on NT/2K/XP).
5552
lt_cv_sys_max_cmd_len=8192;
5556
# On AmigaOS with pdksh, this test takes hours, literally.
5557
# So we just punt and use a minimum line length of 8192.
5558
lt_cv_sys_max_cmd_len=8192;
5561
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5562
# This has been around since 386BSD, at least. Likely further.
5563
if test -x /sbin/sysctl; then
5564
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5565
elif test -x /usr/sbin/sysctl; then
5566
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5568
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5570
# And add a safety zone
5571
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5572
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5576
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5577
lt_cv_sys_max_cmd_len=196608
5581
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5582
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5583
# nice to cause kernel panics so lets avoid the loop below.
5584
# First set a reasonable default.
5585
lt_cv_sys_max_cmd_len=16384
5587
if test -x /sbin/sysconfig; then
5588
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5589
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5594
lt_cv_sys_max_cmd_len=102400
5596
sysv5* | sco5v6* | sysv4.2uw2*)
5597
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5598
if test -n "$kargmax"; then
5599
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5601
lt_cv_sys_max_cmd_len=32768
5605
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5606
if test -n "$lt_cv_sys_max_cmd_len"; then
5607
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5608
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5610
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5611
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5612
= "XX$teststring") >/dev/null 2>&1 &&
5613
new_result=`expr "X$teststring" : ".*" 2>&1` &&
5614
lt_cv_sys_max_cmd_len=$new_result &&
5615
test $i != 17 # 1/2 MB should be enough
5618
teststring=$teststring$teststring
5621
# Add a significant safety factor because C++ compilers can tack on massive
5622
# amounts of additional arguments before passing them to the linker.
5623
# It appears as though 1/2 is a usable value.
5624
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5631
if test -n $lt_cv_sys_max_cmd_len ; then
5632
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5633
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5635
{ echo "$as_me:$LINENO: result: none" >&5
5636
echo "${ECHO_T}none" >&6; }
5643
5533
# Check for command to grab the raw symbol name followed by C symbol from nm.
5644
5534
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5645
5535
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5853
5758
echo "${ECHO_T}ok" >&6; }
5856
{ echo "$as_me:$LINENO: checking for objdir" >&5
5857
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5858
if test "${lt_cv_objdir+set}" = set; then
5859
echo $ECHO_N "(cached) $ECHO_C" >&6
5861
rm -f .libs 2>/dev/null
5862
mkdir .libs 2>/dev/null
5863
if test -d .libs; then
5866
# MS-DOS does not allow filenames that begin with a dot.
5869
rmdir .libs 2>/dev/null
5871
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5872
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5873
objdir=$lt_cv_objdir
5881
# AIX sometimes has problems with the GCC collect2 program. For some
5882
# reason, if we set the COLLECT_NAMES environment variable, the problems
5883
# vanish in a puff of smoke.
5884
if test "X${COLLECT_NAMES+set}" != Xset; then
5886
export COLLECT_NAMES
5891
# Sed substitution that helps us do robust quoting. It backslashifies
5892
# metacharacters that are still active within double-quoted strings.
5893
Xsed='sed -e 1s/^X//'
5894
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5896
# Same as above, but do not quote variable references.
5897
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5899
# Sed substitution to delay expansion of an escaped shell variable in a
5900
# double_quote_subst'ed string.
5901
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5903
# Sed substitution to avoid accidental globbing in evaled expressions
5904
no_glob_subst='s/\*/\\\*/g'
5910
default_ofile=libtool
5911
can_build_shared=yes
5913
# All known linkers require a `.a' archive for static linking (except MSVC,
5914
# which needs '.lib').
5916
ltmain="$ac_aux_dir/ltmain.sh"
5917
ofile="$default_ofile"
5918
with_gnu_ld="$lt_cv_prog_gnu_ld"
5920
if test -n "$ac_tool_prefix"; then
5921
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5922
set dummy ${ac_tool_prefix}ar; ac_word=$2
5923
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5924
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5925
if test "${ac_cv_prog_AR+set}" = set; then
5926
echo $ECHO_N "(cached) $ECHO_C" >&6
5928
if test -n "$AR"; then
5929
ac_cv_prog_AR="$AR" # Let the user override the test.
5931
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935
test -z "$as_dir" && as_dir=.
5936
for ac_exec_ext in '' $ac_executable_extensions; do
5937
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5938
ac_cv_prog_AR="${ac_tool_prefix}ar"
5939
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5949
if test -n "$AR"; then
5950
{ echo "$as_me:$LINENO: result: $AR" >&5
5951
echo "${ECHO_T}$AR" >&6; }
5953
{ echo "$as_me:$LINENO: result: no" >&5
5954
echo "${ECHO_T}no" >&6; }
5959
if test -z "$ac_cv_prog_AR"; then
5961
# Extract the first word of "ar", so it can be a program name with args.
5962
set dummy ar; ac_word=$2
5963
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5964
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5965
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5966
echo $ECHO_N "(cached) $ECHO_C" >&6
5968
if test -n "$ac_ct_AR"; then
5969
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975
test -z "$as_dir" && as_dir=.
5976
for ac_exec_ext in '' $ac_executable_extensions; do
5977
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5978
ac_cv_prog_ac_ct_AR="ar"
5979
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5988
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5989
if test -n "$ac_ct_AR"; then
5990
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5991
echo "${ECHO_T}$ac_ct_AR" >&6; }
5993
{ echo "$as_me:$LINENO: result: no" >&5
5994
echo "${ECHO_T}no" >&6; }
5997
if test "x$ac_ct_AR" = x; then
6000
case $cross_compiling:$ac_tool_warned in
6002
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6003
whose name does not start with the host triplet. If you think this
6004
configuration is useful to you, please write to autoconf@gnu.org." >&5
6005
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6006
whose name does not start with the host triplet. If you think this
6007
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6008
ac_tool_warned=yes ;;
6016
if test -n "$ac_tool_prefix"; then
6017
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6018
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6019
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6020
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021
if test "${ac_cv_prog_RANLIB+set}" = set; then
6022
echo $ECHO_N "(cached) $ECHO_C" >&6
6024
if test -n "$RANLIB"; then
6025
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031
test -z "$as_dir" && as_dir=.
6032
for ac_exec_ext in '' $ac_executable_extensions; do
6033
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6035
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044
RANLIB=$ac_cv_prog_RANLIB
6045
if test -n "$RANLIB"; then
6046
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
6047
echo "${ECHO_T}$RANLIB" >&6; }
6049
{ echo "$as_me:$LINENO: result: no" >&5
6050
echo "${ECHO_T}no" >&6; }
6055
if test -z "$ac_cv_prog_RANLIB"; then
6056
ac_ct_RANLIB=$RANLIB
6057
# Extract the first word of "ranlib", so it can be a program name with args.
6058
set dummy ranlib; ac_word=$2
6059
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6060
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6061
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6062
echo $ECHO_N "(cached) $ECHO_C" >&6
6064
if test -n "$ac_ct_RANLIB"; then
6065
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6067
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071
test -z "$as_dir" && as_dir=.
6072
for ac_exec_ext in '' $ac_executable_extensions; do
6073
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074
ac_cv_prog_ac_ct_RANLIB="ranlib"
6075
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6084
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6085
if test -n "$ac_ct_RANLIB"; then
6086
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6087
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6089
{ echo "$as_me:$LINENO: result: no" >&5
6090
echo "${ECHO_T}no" >&6; }
6093
if test "x$ac_ct_RANLIB" = x; then
6096
case $cross_compiling:$ac_tool_warned in
6098
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6099
whose name does not start with the host triplet. If you think this
6100
configuration is useful to you, please write to autoconf@gnu.org." >&5
6101
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6102
whose name does not start with the host triplet. If you think this
6103
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6104
ac_tool_warned=yes ;;
6106
RANLIB=$ac_ct_RANLIB
6109
RANLIB="$ac_cv_prog_RANLIB"
6112
if test -n "$ac_tool_prefix"; then
6113
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6114
set dummy ${ac_tool_prefix}strip; ac_word=$2
6115
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6116
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6117
if test "${ac_cv_prog_STRIP+set}" = set; then
6118
echo $ECHO_N "(cached) $ECHO_C" >&6
6120
if test -n "$STRIP"; then
6121
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127
test -z "$as_dir" && as_dir=.
6128
for ac_exec_ext in '' $ac_executable_extensions; do
6129
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6130
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6131
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6140
STRIP=$ac_cv_prog_STRIP
6141
if test -n "$STRIP"; then
6142
{ echo "$as_me:$LINENO: result: $STRIP" >&5
6143
echo "${ECHO_T}$STRIP" >&6; }
6145
{ echo "$as_me:$LINENO: result: no" >&5
6146
echo "${ECHO_T}no" >&6; }
6151
if test -z "$ac_cv_prog_STRIP"; then
6153
# Extract the first word of "strip", so it can be a program name with args.
6154
set dummy strip; ac_word=$2
6155
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6156
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6158
echo $ECHO_N "(cached) $ECHO_C" >&6
6160
if test -n "$ac_ct_STRIP"; then
6161
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167
test -z "$as_dir" && as_dir=.
6168
for ac_exec_ext in '' $ac_executable_extensions; do
6169
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6170
ac_cv_prog_ac_ct_STRIP="strip"
6171
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6180
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6181
if test -n "$ac_ct_STRIP"; then
6182
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6183
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6185
{ echo "$as_me:$LINENO: result: no" >&5
6186
echo "${ECHO_T}no" >&6; }
6189
if test "x$ac_ct_STRIP" = x; then
6192
case $cross_compiling:$ac_tool_warned in
6194
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6195
whose name does not start with the host triplet. If you think this
6196
configuration is useful to you, please write to autoconf@gnu.org." >&5
6197
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6198
whose name does not start with the host triplet. If you think this
6199
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6200
ac_tool_warned=yes ;;
6205
STRIP="$ac_cv_prog_STRIP"
6210
old_CFLAGS="$CFLAGS"
6212
# Set sane defaults for various variables
6213
test -z "$AR" && AR=ar
6214
test -z "$AR_FLAGS" && AR_FLAGS=cru
6215
test -z "$AS" && AS=as
6216
test -z "$CC" && CC=cc
6217
test -z "$LTCC" && LTCC=$CC
6218
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6219
test -z "$DLLTOOL" && DLLTOOL=dlltool
6220
test -z "$LD" && LD=ld
6221
test -z "$LN_S" && LN_S="ln -s"
6222
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6223
test -z "$NM" && NM=nm
6224
test -z "$SED" && SED=sed
6225
test -z "$OBJDUMP" && OBJDUMP=objdump
6226
test -z "$RANLIB" && RANLIB=:
6227
test -z "$STRIP" && STRIP=:
6228
test -z "$ac_objext" && ac_objext=o
6230
# Determine commands to create old-style static archives.
6231
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6232
old_postinstall_cmds='chmod 644 $oldlib'
6233
old_postuninstall_cmds=
6235
if test -n "$RANLIB"; then
6238
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6241
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6244
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6247
for cc_temp in $compiler""; do
6249
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6250
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6255
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6258
# Only perform the check for file, if the check method requires it
6259
case $deplibs_check_method in
6261
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6262
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6263
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6264
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6265
echo $ECHO_N "(cached) $ECHO_C" >&6
6269
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6272
lt_save_MAGIC_CMD="$MAGIC_CMD"
6273
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6274
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6275
for ac_dir in $ac_dummy; do
6277
test -z "$ac_dir" && ac_dir=.
6278
if test -f $ac_dir/${ac_tool_prefix}file; then
6279
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6280
if test -n "$file_magic_test_file"; then
6281
case $deplibs_check_method in
6283
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6284
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6285
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6286
$EGREP "$file_magic_regex" > /dev/null; then
6291
*** Warning: the command libtool uses to detect shared libraries,
6292
*** $file_magic_cmd, produces output that libtool cannot recognize.
6293
*** The result is that libtool may fail to recognize shared libraries
6294
*** as such. This will affect the creation of libtool libraries that
6295
*** depend on shared libraries, but programs linked with such libtool
6296
*** libraries will work regardless of this problem. Nevertheless, you
6297
*** may want to report the problem to your system manager and/or to
6298
*** bug-libtool@gnu.org
6308
MAGIC_CMD="$lt_save_MAGIC_CMD"
6313
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6314
if test -n "$MAGIC_CMD"; then
6315
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6316
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6318
{ echo "$as_me:$LINENO: result: no" >&5
6319
echo "${ECHO_T}no" >&6; }
6322
if test -z "$lt_cv_path_MAGIC_CMD"; then
6323
if test -n "$ac_tool_prefix"; then
6324
{ echo "$as_me:$LINENO: checking for file" >&5
6325
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6326
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6327
echo $ECHO_N "(cached) $ECHO_C" >&6
6331
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6334
lt_save_MAGIC_CMD="$MAGIC_CMD"
6335
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6336
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6337
for ac_dir in $ac_dummy; do
6339
test -z "$ac_dir" && ac_dir=.
6340
if test -f $ac_dir/file; then
6341
lt_cv_path_MAGIC_CMD="$ac_dir/file"
6342
if test -n "$file_magic_test_file"; then
6343
case $deplibs_check_method in
6345
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6346
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6347
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6348
$EGREP "$file_magic_regex" > /dev/null; then
6353
*** Warning: the command libtool uses to detect shared libraries,
6354
*** $file_magic_cmd, produces output that libtool cannot recognize.
6355
*** The result is that libtool may fail to recognize shared libraries
6356
*** as such. This will affect the creation of libtool libraries that
6357
*** depend on shared libraries, but programs linked with such libtool
6358
*** libraries will work regardless of this problem. Nevertheless, you
6359
*** may want to report the problem to your system manager and/or to
6360
*** bug-libtool@gnu.org
6370
MAGIC_CMD="$lt_save_MAGIC_CMD"
6375
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6376
if test -n "$MAGIC_CMD"; then
6377
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6378
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6380
{ echo "$as_me:$LINENO: result: no" >&5
6381
echo "${ECHO_T}no" >&6; }
5783
# Check whether --enable-libtool-lock was given.
5784
if test "${enable_libtool_lock+set}" = set; then
5785
enableval=$enable_libtool_lock;
5788
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5790
# Some flags need to be propagated to the compiler or linker for good
5794
# Find out which ABI we are using.
5795
echo 'int i;' > conftest.$ac_ext
5796
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5797
(eval $ac_compile) 2>&5
5799
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800
(exit $ac_status); }; then
5801
case `/usr/bin/file conftest.$ac_objext` in
5813
# Find out which ABI we are using.
5814
echo '#line 5814 "configure"' > conftest.$ac_ext
5815
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5816
(eval $ac_compile) 2>&5
5818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819
(exit $ac_status); }; then
5820
if test "$lt_cv_prog_gnu_ld" = yes; then
5821
case `/usr/bin/file conftest.$ac_objext` in
5823
LD="${LD-ld} -melf32bsmip"
5826
LD="${LD-ld} -melf32bmipn32"
5829
LD="${LD-ld} -melf64bmip"
5833
case `/usr/bin/file conftest.$ac_objext` in
5849
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5850
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5851
# Find out which ABI we are using.
5852
echo 'int i;' > conftest.$ac_ext
5853
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5854
(eval $ac_compile) 2>&5
5856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857
(exit $ac_status); }; then
5858
case `/usr/bin/file conftest.o` in
5861
x86_64-*kfreebsd*-gnu)
5862
LD="${LD-ld} -m elf_i386_fbsd"
5865
LD="${LD-ld} -m elf_i386"
5867
ppc64-*linux*|powerpc64-*linux*)
5868
LD="${LD-ld} -m elf32ppclinux"
5871
LD="${LD-ld} -m elf_s390"
5874
LD="${LD-ld} -m elf32_sparc"
5880
x86_64-*kfreebsd*-gnu)
5881
LD="${LD-ld} -m elf_x86_64_fbsd"
5884
LD="${LD-ld} -m elf_x86_64"
5886
ppc*-*linux*|powerpc*-*linux*)
5887
LD="${LD-ld} -m elf64ppc"
5889
s390*-*linux*|s390*-*tpf*)
5890
LD="${LD-ld} -m elf64_s390"
5893
LD="${LD-ld} -m elf64_sparc"
5903
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
5904
SAVE_CFLAGS="$CFLAGS"
5905
CFLAGS="$CFLAGS -belf"
5906
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5907
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5908
if test "${lt_cv_cc_needs_belf+set}" = set; then
5909
echo $ECHO_N "(cached) $ECHO_C" >&6
5912
ac_cpp='$CPP $CPPFLAGS'
5913
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5914
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5915
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5917
cat >conftest.$ac_ext <<_ACEOF
5920
cat confdefs.h >>conftest.$ac_ext
5921
cat >>conftest.$ac_ext <<_ACEOF
5922
/* end confdefs.h. */
5932
rm -f conftest.$ac_objext conftest$ac_exeext
5933
if { (ac_try="$ac_link"
5935
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5936
*) ac_try_echo=$ac_try;;
5938
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5939
(eval "$ac_link") 2>conftest.er1
5941
grep -v '^ *+' conftest.er1 >conftest.err
5943
cat conftest.err >&5
5944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945
(exit $ac_status); } && {
5946
test -z "$ac_c_werror_flag" ||
5947
test ! -s conftest.err
5948
} && test -s conftest$ac_exeext &&
5949
$as_test_x conftest$ac_exeext; then
5950
lt_cv_cc_needs_belf=yes
5952
echo "$as_me: failed program was:" >&5
5953
sed 's/^/| /' conftest.$ac_ext >&5
5955
lt_cv_cc_needs_belf=no
5958
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5959
conftest$ac_exeext conftest.$ac_ext
5961
ac_cpp='$CPP $CPPFLAGS'
5962
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5963
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5964
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5967
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5968
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5969
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5970
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5971
CFLAGS="$SAVE_CFLAGS"
5975
# Find out which ABI we are using.
5976
echo 'int i;' > conftest.$ac_ext
5977
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5978
(eval $ac_compile) 2>&5
5980
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981
(exit $ac_status); }; then
5982
case `/usr/bin/file conftest.o` in
5984
case $lt_cv_prog_gnu_ld in
5985
yes*) LD="${LD-ld} -m elf64_sparc" ;;
5987
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5999
need_locks="$enable_libtool_lock"
6394
6002
case $host_os in
6585
6193
NMEDIT="$ac_cv_prog_NMEDIT"
6196
if test -n "$ac_tool_prefix"; then
6197
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6198
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6199
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6200
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6201
if test "${ac_cv_prog_LIPO+set}" = set; then
6202
echo $ECHO_N "(cached) $ECHO_C" >&6
6204
if test -n "$LIPO"; then
6205
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6207
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211
test -z "$as_dir" && as_dir=.
6212
for ac_exec_ext in '' $ac_executable_extensions; do
6213
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6214
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6215
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6224
LIPO=$ac_cv_prog_LIPO
6225
if test -n "$LIPO"; then
6226
{ echo "$as_me:$LINENO: result: $LIPO" >&5
6227
echo "${ECHO_T}$LIPO" >&6; }
6229
{ echo "$as_me:$LINENO: result: no" >&5
6230
echo "${ECHO_T}no" >&6; }
6235
if test -z "$ac_cv_prog_LIPO"; then
6237
# Extract the first word of "lipo", so it can be a program name with args.
6238
set dummy lipo; ac_word=$2
6239
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6240
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6241
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6242
echo $ECHO_N "(cached) $ECHO_C" >&6
6244
if test -n "$ac_ct_LIPO"; then
6245
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6247
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251
test -z "$as_dir" && as_dir=.
6252
for ac_exec_ext in '' $ac_executable_extensions; do
6253
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254
ac_cv_prog_ac_ct_LIPO="lipo"
6255
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6264
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6265
if test -n "$ac_ct_LIPO"; then
6266
{ echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6267
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6269
{ echo "$as_me:$LINENO: result: no" >&5
6270
echo "${ECHO_T}no" >&6; }
6273
if test "x$ac_ct_LIPO" = x; then
6276
case $cross_compiling:$ac_tool_warned in
6278
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6279
whose name does not start with the host triplet. If you think this
6280
configuration is useful to you, please write to autoconf@gnu.org." >&5
6281
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6282
whose name does not start with the host triplet. If you think this
6283
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6284
ac_tool_warned=yes ;;
6289
LIPO="$ac_cv_prog_LIPO"
6292
if test -n "$ac_tool_prefix"; then
6293
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6294
set dummy ${ac_tool_prefix}otool; ac_word=$2
6295
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6296
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6297
if test "${ac_cv_prog_OTOOL+set}" = set; then
6298
echo $ECHO_N "(cached) $ECHO_C" >&6
6300
if test -n "$OTOOL"; then
6301
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6303
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307
test -z "$as_dir" && as_dir=.
6308
for ac_exec_ext in '' $ac_executable_extensions; do
6309
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6310
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6311
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6320
OTOOL=$ac_cv_prog_OTOOL
6321
if test -n "$OTOOL"; then
6322
{ echo "$as_me:$LINENO: result: $OTOOL" >&5
6323
echo "${ECHO_T}$OTOOL" >&6; }
6325
{ echo "$as_me:$LINENO: result: no" >&5
6326
echo "${ECHO_T}no" >&6; }
6331
if test -z "$ac_cv_prog_OTOOL"; then
6333
# Extract the first word of "otool", so it can be a program name with args.
6334
set dummy otool; ac_word=$2
6335
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6336
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6337
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6338
echo $ECHO_N "(cached) $ECHO_C" >&6
6340
if test -n "$ac_ct_OTOOL"; then
6341
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6343
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347
test -z "$as_dir" && as_dir=.
6348
for ac_exec_ext in '' $ac_executable_extensions; do
6349
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6350
ac_cv_prog_ac_ct_OTOOL="otool"
6351
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6360
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6361
if test -n "$ac_ct_OTOOL"; then
6362
{ echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6363
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6365
{ echo "$as_me:$LINENO: result: no" >&5
6366
echo "${ECHO_T}no" >&6; }
6369
if test "x$ac_ct_OTOOL" = x; then
6372
case $cross_compiling:$ac_tool_warned in
6374
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6375
whose name does not start with the host triplet. If you think this
6376
configuration is useful to you, please write to autoconf@gnu.org." >&5
6377
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6378
whose name does not start with the host triplet. If you think this
6379
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6380
ac_tool_warned=yes ;;
6385
OTOOL="$ac_cv_prog_OTOOL"
6388
if test -n "$ac_tool_prefix"; then
6389
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6390
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6391
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6392
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6393
if test "${ac_cv_prog_OTOOL64+set}" = set; then
6394
echo $ECHO_N "(cached) $ECHO_C" >&6
6396
if test -n "$OTOOL64"; then
6397
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403
test -z "$as_dir" && as_dir=.
6404
for ac_exec_ext in '' $ac_executable_extensions; do
6405
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6406
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6407
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6416
OTOOL64=$ac_cv_prog_OTOOL64
6417
if test -n "$OTOOL64"; then
6418
{ echo "$as_me:$LINENO: result: $OTOOL64" >&5
6419
echo "${ECHO_T}$OTOOL64" >&6; }
6421
{ echo "$as_me:$LINENO: result: no" >&5
6422
echo "${ECHO_T}no" >&6; }
6427
if test -z "$ac_cv_prog_OTOOL64"; then
6428
ac_ct_OTOOL64=$OTOOL64
6429
# Extract the first word of "otool64", so it can be a program name with args.
6430
set dummy otool64; ac_word=$2
6431
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6432
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6433
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6434
echo $ECHO_N "(cached) $ECHO_C" >&6
6436
if test -n "$ac_ct_OTOOL64"; then
6437
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6439
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443
test -z "$as_dir" && as_dir=.
6444
for ac_exec_ext in '' $ac_executable_extensions; do
6445
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6446
ac_cv_prog_ac_ct_OTOOL64="otool64"
6447
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6456
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6457
if test -n "$ac_ct_OTOOL64"; then
6458
{ echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6459
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6461
{ echo "$as_me:$LINENO: result: no" >&5
6462
echo "${ECHO_T}no" >&6; }
6465
if test "x$ac_ct_OTOOL64" = x; then
6468
case $cross_compiling:$ac_tool_warned in
6470
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6471
whose name does not start with the host triplet. If you think this
6472
configuration is useful to you, please write to autoconf@gnu.org." >&5
6473
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6474
whose name does not start with the host triplet. If you think this
6475
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6476
ac_tool_warned=yes ;;
6478
OTOOL64=$ac_ct_OTOOL64
6481
OTOOL64="$ac_cv_prog_OTOOL64"
6589
6510
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6590
6511
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6691
6618
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6692
6619
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6694
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
6621
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6696
6623
if test "$DSYMUTIL" != ":"; then
6697
_lt_dsymutil="~$DSYMUTIL \$lib || :"
6624
_lt_dsymutil='~$DSYMUTIL $lib || :'
6706
enable_win32_dll=yes
6708
# Check whether --enable-libtool-lock was given.
6709
if test "${enable_libtool_lock+set}" = set; then
6710
enableval=$enable_libtool_lock;
6713
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6632
ac_cpp='$CPP $CPPFLAGS'
6633
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6634
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6635
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6636
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6637
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6638
# On Suns, sometimes $CPP names a directory.
6639
if test -n "$CPP" && test -d "$CPP"; then
6642
if test -z "$CPP"; then
6643
if test "${ac_cv_prog_CPP+set}" = set; then
6644
echo $ECHO_N "(cached) $ECHO_C" >&6
6646
# Double quotes because CPP needs to be expanded
6647
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6650
for ac_c_preproc_warn_flag in '' yes
6652
# Use a header file that comes with gcc, so configuring glibc
6653
# with a fresh cross-compiler works.
6654
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6655
# <limits.h> exists even on freestanding compilers.
6656
# On the NeXT, cc -E runs the code through the compiler's parser,
6657
# not just through cpp. "Syntax error" is here to catch this case.
6658
cat >conftest.$ac_ext <<_ACEOF
6661
cat confdefs.h >>conftest.$ac_ext
6662
cat >>conftest.$ac_ext <<_ACEOF
6663
/* end confdefs.h. */
6665
# include <limits.h>
6667
# include <assert.h>
6671
if { (ac_try="$ac_cpp conftest.$ac_ext"
6673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6674
*) ac_try_echo=$ac_try;;
6676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6677
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6679
grep -v '^ *+' conftest.er1 >conftest.err
6681
cat conftest.err >&5
6682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683
(exit $ac_status); } >/dev/null && {
6684
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6685
test ! -s conftest.err
6689
echo "$as_me: failed program was:" >&5
6690
sed 's/^/| /' conftest.$ac_ext >&5
6692
# Broken: fails on valid input.
6696
rm -f conftest.err conftest.$ac_ext
6698
# OK, works on sane cases. Now check whether nonexistent headers
6699
# can be detected and how.
6700
cat >conftest.$ac_ext <<_ACEOF
6703
cat confdefs.h >>conftest.$ac_ext
6704
cat >>conftest.$ac_ext <<_ACEOF
6705
/* end confdefs.h. */
6706
#include <ac_nonexistent.h>
6708
if { (ac_try="$ac_cpp conftest.$ac_ext"
6710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6711
*) ac_try_echo=$ac_try;;
6713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6714
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6716
grep -v '^ *+' conftest.er1 >conftest.err
6718
cat conftest.err >&5
6719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720
(exit $ac_status); } >/dev/null && {
6721
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6722
test ! -s conftest.err
6724
# Broken: success on invalid input.
6727
echo "$as_me: failed program was:" >&5
6728
sed 's/^/| /' conftest.$ac_ext >&5
6730
# Passes both tests.
6735
rm -f conftest.err conftest.$ac_ext
6738
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6739
rm -f conftest.err conftest.$ac_ext
6740
if $ac_preproc_ok; then
6752
{ echo "$as_me:$LINENO: result: $CPP" >&5
6753
echo "${ECHO_T}$CPP" >&6; }
6755
for ac_c_preproc_warn_flag in '' yes
6757
# Use a header file that comes with gcc, so configuring glibc
6758
# with a fresh cross-compiler works.
6759
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6760
# <limits.h> exists even on freestanding compilers.
6761
# On the NeXT, cc -E runs the code through the compiler's parser,
6762
# not just through cpp. "Syntax error" is here to catch this case.
6763
cat >conftest.$ac_ext <<_ACEOF
6766
cat confdefs.h >>conftest.$ac_ext
6767
cat >>conftest.$ac_ext <<_ACEOF
6768
/* end confdefs.h. */
6770
# include <limits.h>
6772
# include <assert.h>
6776
if { (ac_try="$ac_cpp conftest.$ac_ext"
6778
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6779
*) ac_try_echo=$ac_try;;
6781
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6782
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6784
grep -v '^ *+' conftest.er1 >conftest.err
6786
cat conftest.err >&5
6787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788
(exit $ac_status); } >/dev/null && {
6789
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6790
test ! -s conftest.err
6794
echo "$as_me: failed program was:" >&5
6795
sed 's/^/| /' conftest.$ac_ext >&5
6797
# Broken: fails on valid input.
6801
rm -f conftest.err conftest.$ac_ext
6803
# OK, works on sane cases. Now check whether nonexistent headers
6804
# can be detected and how.
6805
cat >conftest.$ac_ext <<_ACEOF
6808
cat confdefs.h >>conftest.$ac_ext
6809
cat >>conftest.$ac_ext <<_ACEOF
6810
/* end confdefs.h. */
6811
#include <ac_nonexistent.h>
6813
if { (ac_try="$ac_cpp conftest.$ac_ext"
6815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6816
*) ac_try_echo=$ac_try;;
6818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6819
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6821
grep -v '^ *+' conftest.er1 >conftest.err
6823
cat conftest.err >&5
6824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825
(exit $ac_status); } >/dev/null && {
6826
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6827
test ! -s conftest.err
6829
# Broken: success on invalid input.
6832
echo "$as_me: failed program was:" >&5
6833
sed 's/^/| /' conftest.$ac_ext >&5
6835
# Passes both tests.
6840
rm -f conftest.err conftest.$ac_ext
6843
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6844
rm -f conftest.err conftest.$ac_ext
6845
if $ac_preproc_ok; then
6848
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6849
See \`config.log' for more details." >&5
6850
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6851
See \`config.log' for more details." >&2;}
6852
{ (exit 1); exit 1; }; }
6856
ac_cpp='$CPP $CPPFLAGS'
6857
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6858
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6859
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6862
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6863
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6864
if test "${ac_cv_header_stdc+set}" = set; then
6865
echo $ECHO_N "(cached) $ECHO_C" >&6
6867
cat >conftest.$ac_ext <<_ACEOF
6870
cat confdefs.h >>conftest.$ac_ext
6871
cat >>conftest.$ac_ext <<_ACEOF
6872
/* end confdefs.h. */
6886
rm -f conftest.$ac_objext
6887
if { (ac_try="$ac_compile"
6889
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890
*) ac_try_echo=$ac_try;;
6892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893
(eval "$ac_compile") 2>conftest.er1
6895
grep -v '^ *+' conftest.er1 >conftest.err
6897
cat conftest.err >&5
6898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899
(exit $ac_status); } && {
6900
test -z "$ac_c_werror_flag" ||
6901
test ! -s conftest.err
6902
} && test -s conftest.$ac_objext; then
6903
ac_cv_header_stdc=yes
6905
echo "$as_me: failed program was:" >&5
6906
sed 's/^/| /' conftest.$ac_ext >&5
6908
ac_cv_header_stdc=no
6911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6913
if test $ac_cv_header_stdc = yes; then
6914
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6915
cat >conftest.$ac_ext <<_ACEOF
6918
cat confdefs.h >>conftest.$ac_ext
6919
cat >>conftest.$ac_ext <<_ACEOF
6920
/* end confdefs.h. */
6924
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6925
$EGREP "memchr" >/dev/null 2>&1; then
6928
ac_cv_header_stdc=no
6934
if test $ac_cv_header_stdc = yes; then
6935
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6936
cat >conftest.$ac_ext <<_ACEOF
6939
cat confdefs.h >>conftest.$ac_ext
6940
cat >>conftest.$ac_ext <<_ACEOF
6941
/* end confdefs.h. */
6945
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6946
$EGREP "free" >/dev/null 2>&1; then
6949
ac_cv_header_stdc=no
6955
if test $ac_cv_header_stdc = yes; then
6956
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6957
if test "$cross_compiling" = yes; then
6960
cat >conftest.$ac_ext <<_ACEOF
6963
cat confdefs.h >>conftest.$ac_ext
6964
cat >>conftest.$ac_ext <<_ACEOF
6965
/* end confdefs.h. */
6968
#if ((' ' & 0x0FF) == 0x020)
6969
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6970
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6972
# define ISLOWER(c) \
6973
(('a' <= (c) && (c) <= 'i') \
6974
|| ('j' <= (c) && (c) <= 'r') \
6975
|| ('s' <= (c) && (c) <= 'z'))
6976
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6979
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6984
for (i = 0; i < 256; i++)
6985
if (XOR (islower (i), ISLOWER (i))
6986
|| toupper (i) != TOUPPER (i))
6991
rm -f conftest$ac_exeext
6992
if { (ac_try="$ac_link"
6994
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6995
*) ac_try_echo=$ac_try;;
6997
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6998
(eval "$ac_link") 2>&5
7000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7002
{ (case "(($ac_try" in
7003
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7004
*) ac_try_echo=$ac_try;;
7006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7007
(eval "$ac_try") 2>&5
7009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010
(exit $ac_status); }; }; then
7013
echo "$as_me: program exited with status $ac_status" >&5
7014
echo "$as_me: failed program was:" >&5
7015
sed 's/^/| /' conftest.$ac_ext >&5
7018
ac_cv_header_stdc=no
7020
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7026
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7027
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7028
if test $ac_cv_header_stdc = yes; then
7030
cat >>confdefs.h <<\_ACEOF
7031
#define STDC_HEADERS 1
7036
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7046
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7047
inttypes.h stdint.h unistd.h
7049
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7050
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7051
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7052
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7053
echo $ECHO_N "(cached) $ECHO_C" >&6
7055
cat >conftest.$ac_ext <<_ACEOF
7058
cat confdefs.h >>conftest.$ac_ext
7059
cat >>conftest.$ac_ext <<_ACEOF
7060
/* end confdefs.h. */
7061
$ac_includes_default
7063
#include <$ac_header>
7065
rm -f conftest.$ac_objext
7066
if { (ac_try="$ac_compile"
7068
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7069
*) ac_try_echo=$ac_try;;
7071
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7072
(eval "$ac_compile") 2>conftest.er1
7074
grep -v '^ *+' conftest.er1 >conftest.err
7076
cat conftest.err >&5
7077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078
(exit $ac_status); } && {
7079
test -z "$ac_c_werror_flag" ||
7080
test ! -s conftest.err
7081
} && test -s conftest.$ac_objext; then
7082
eval "$as_ac_Header=yes"
7084
echo "$as_me: failed program was:" >&5
7085
sed 's/^/| /' conftest.$ac_ext >&5
7087
eval "$as_ac_Header=no"
7090
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7092
ac_res=`eval echo '${'$as_ac_Header'}'`
7093
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7094
echo "${ECHO_T}$ac_res" >&6; }
7095
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7096
cat >>confdefs.h <<_ACEOF
7097
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7106
for ac_header in dlfcn.h
7108
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7109
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7110
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7111
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7112
echo $ECHO_N "(cached) $ECHO_C" >&6
7114
cat >conftest.$ac_ext <<_ACEOF
7117
cat confdefs.h >>conftest.$ac_ext
7118
cat >>conftest.$ac_ext <<_ACEOF
7119
/* end confdefs.h. */
7120
$ac_includes_default
7122
#include <$ac_header>
7124
rm -f conftest.$ac_objext
7125
if { (ac_try="$ac_compile"
7127
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7128
*) ac_try_echo=$ac_try;;
7130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7131
(eval "$ac_compile") 2>conftest.er1
7133
grep -v '^ *+' conftest.er1 >conftest.err
7135
cat conftest.err >&5
7136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137
(exit $ac_status); } && {
7138
test -z "$ac_c_werror_flag" ||
7139
test ! -s conftest.err
7140
} && test -s conftest.$ac_objext; then
7141
eval "$as_ac_Header=yes"
7143
echo "$as_me: failed program was:" >&5
7144
sed 's/^/| /' conftest.$ac_ext >&5
7146
eval "$as_ac_Header=no"
7149
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151
ac_res=`eval echo '${'$as_ac_Header'}'`
7152
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7153
echo "${ECHO_T}$ac_res" >&6; }
7154
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7155
cat >>confdefs.h <<_ACEOF
7156
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7173
# Check whether --enable-shared was given.
7174
if test "${enable_shared+set}" = set; then
7175
enableval=$enable_shared; p=${PACKAGE-default}
7177
yes) enable_shared=yes ;;
7178
no) enable_shared=no ;;
7181
# Look at the argument we got. We use all the common list separators.
7182
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7183
for pkg in $enableval; do
7185
if test "X$pkg" = "X$p"; then
7204
# Check whether --enable-static was given.
7205
if test "${enable_static+set}" = set; then
7206
enableval=$enable_static; p=${PACKAGE-default}
7208
yes) enable_static=yes ;;
7209
no) enable_static=no ;;
7212
# Look at the argument we got. We use all the common list separators.
7213
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7214
for pkg in $enableval; do
7216
if test "X$pkg" = "X$p"; then
6716
7236
# Check whether --with-pic was given.
6720
7240
pic_mode=default
6723
7244
test -z "$pic_mode" && pic_mode=default
7252
# Check whether --enable-fast-install was given.
7253
if test "${enable_fast_install+set}" = set; then
7254
enableval=$enable_fast_install; p=${PACKAGE-default}
7256
yes) enable_fast_install=yes ;;
7257
no) enable_fast_install=no ;;
7259
enable_fast_install=no
7260
# Look at the argument we got. We use all the common list separators.
7261
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7262
for pkg in $enableval; do
7264
if test "X$pkg" = "X$p"; then
7265
enable_fast_install=yes
7272
enable_fast_install=yes
7285
# This can be used to rebuild libtool when needed
7286
LIBTOOL_DEPS="$ltmain"
7288
# Always use our own libtool.
7289
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7315
test -z "$LN_S" && LN_S="ln -s"
7330
if test -n "${ZSH_VERSION+set}" ; then
7331
setopt NO_GLOB_SUBST
7334
{ echo "$as_me:$LINENO: checking for objdir" >&5
7335
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7336
if test "${lt_cv_objdir+set}" = set; then
7337
echo $ECHO_N "(cached) $ECHO_C" >&6
7339
rm -f .libs 2>/dev/null
7340
mkdir .libs 2>/dev/null
7341
if test -d .libs; then
7344
# MS-DOS does not allow filenames that begin with a dot.
7347
rmdir .libs 2>/dev/null
7349
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7350
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7351
objdir=$lt_cv_objdir
7357
cat >>confdefs.h <<_ACEOF
7358
#define LT_OBJDIR "$lt_cv_objdir/"
7379
# AIX sometimes has problems with the GCC collect2 program. For some
7380
# reason, if we set the COLLECT_NAMES environment variable, the problems
7381
# vanish in a puff of smoke.
7382
if test "X${COLLECT_NAMES+set}" != Xset; then
7384
export COLLECT_NAMES
7389
# Sed substitution that helps us do robust quoting. It backslashifies
7390
# metacharacters that are still active within double-quoted strings.
7391
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7393
# Same as above, but do not quote variable references.
7394
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7396
# Sed substitution to delay expansion of an escaped shell variable in a
7397
# double_quote_subst'ed string.
7398
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7400
# Sed substitution to delay expansion of an escaped single quote.
7401
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7403
# Sed substitution to avoid accidental globbing in evaled expressions
7404
no_glob_subst='s/\*/\\\*/g'
7408
can_build_shared=yes
7410
# All known linkers require a `.a' archive for static linking (except MSVC,
7411
# which needs '.lib').
7414
with_gnu_ld="$lt_cv_prog_gnu_ld"
7417
old_CFLAGS="$CFLAGS"
7419
# Set sane defaults for various variables
7420
test -z "$CC" && CC=cc
7421
test -z "$LTCC" && LTCC=$CC
7422
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7423
test -z "$LD" && LD=ld
7424
test -z "$ac_objext" && ac_objext=o
7426
for cc_temp in $compiler""; do
7428
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7429
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7434
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7437
# Only perform the check for file, if the check method requires it
7438
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7439
case $deplibs_check_method in
7441
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7442
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7443
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7444
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7445
echo $ECHO_N "(cached) $ECHO_C" >&6
7449
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7452
lt_save_MAGIC_CMD="$MAGIC_CMD"
7453
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7454
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7455
for ac_dir in $ac_dummy; do
7457
test -z "$ac_dir" && ac_dir=.
7458
if test -f $ac_dir/${ac_tool_prefix}file; then
7459
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7460
if test -n "$file_magic_test_file"; then
7461
case $deplibs_check_method in
7463
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7464
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7465
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7466
$EGREP "$file_magic_regex" > /dev/null; then
7471
*** Warning: the command libtool uses to detect shared libraries,
7472
*** $file_magic_cmd, produces output that libtool cannot recognize.
7473
*** The result is that libtool may fail to recognize shared libraries
7474
*** as such. This will affect the creation of libtool libraries that
7475
*** depend on shared libraries, but programs linked with such libtool
7476
*** libraries will work regardless of this problem. Nevertheless, you
7477
*** may want to report the problem to your system manager and/or to
7478
*** bug-libtool@gnu.org
7488
MAGIC_CMD="$lt_save_MAGIC_CMD"
7493
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7494
if test -n "$MAGIC_CMD"; then
7495
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7496
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7498
{ echo "$as_me:$LINENO: result: no" >&5
7499
echo "${ECHO_T}no" >&6; }
7506
if test -z "$lt_cv_path_MAGIC_CMD"; then
7507
if test -n "$ac_tool_prefix"; then
7508
{ echo "$as_me:$LINENO: checking for file" >&5
7509
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7510
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7511
echo $ECHO_N "(cached) $ECHO_C" >&6
7515
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7518
lt_save_MAGIC_CMD="$MAGIC_CMD"
7519
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7520
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7521
for ac_dir in $ac_dummy; do
7523
test -z "$ac_dir" && ac_dir=.
7524
if test -f $ac_dir/file; then
7525
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7526
if test -n "$file_magic_test_file"; then
7527
case $deplibs_check_method in
7529
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7530
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7531
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7532
$EGREP "$file_magic_regex" > /dev/null; then
7537
*** Warning: the command libtool uses to detect shared libraries,
7538
*** $file_magic_cmd, produces output that libtool cannot recognize.
7539
*** The result is that libtool may fail to recognize shared libraries
7540
*** as such. This will affect the creation of libtool libraries that
7541
*** depend on shared libraries, but programs linked with such libtool
7542
*** libraries will work regardless of this problem. Nevertheless, you
7543
*** may want to report the problem to your system manager and/or to
7544
*** bug-libtool@gnu.org
7554
MAGIC_CMD="$lt_save_MAGIC_CMD"
7559
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7560
if test -n "$MAGIC_CMD"; then
7561
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7562
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7564
{ echo "$as_me:$LINENO: result: no" >&5
7565
echo "${ECHO_T}no" >&6; }
6725
7578
# Use C for the default configuration in the libtool script
6727
7580
lt_save_CC="$CC"
6729
7582
ac_cpp='$CPP $CPPFLAGS'
9775
# Report which library types will actually be built
9776
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11131
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11132
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11133
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11134
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11135
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11136
{ echo "$as_me:$LINENO: result: yes" >&5
11137
echo "${ECHO_T}yes" >&6; }
11139
# FIXME - insert some real tests, host_os isn't really good enough
11142
if test -n "$STRIP" ; then
11143
striplib="$STRIP -x"
11144
old_striplib="$STRIP -S"
11145
{ echo "$as_me:$LINENO: result: yes" >&5
11146
echo "${ECHO_T}yes" >&6; }
11148
{ echo "$as_me:$LINENO: result: no" >&5
11149
echo "${ECHO_T}no" >&6; }
11153
{ echo "$as_me:$LINENO: result: no" >&5
11154
echo "${ECHO_T}no" >&6; }
11170
# Report which library types will actually be built
11171
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9777
11172
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9778
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11173
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
9779
11174
echo "${ECHO_T}$can_build_shared" >&6; }
9781
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11176
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9782
11177
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9783
test "$can_build_shared" = "no" && enable_shared=no
9785
# On AIX, shared libraries and static libraries use the same namespace, and
9786
# are all built from PIC.
9789
test "$enable_shared" = yes && enable_static=no
9790
if test -n "$RANLIB"; then
9791
archive_cmds="$archive_cmds~\$RANLIB \$lib"
9792
postinstall_cmds='$RANLIB $lib'
9797
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11178
test "$can_build_shared" = "no" && enable_shared=no
11180
# On AIX, shared libraries and static libraries use the same namespace, and
11181
# are all built from PIC.
9798
11184
test "$enable_shared" = yes && enable_static=no
9802
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11185
if test -n "$RANLIB"; then
11186
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11187
postinstall_cmds='$RANLIB $lib'
11192
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11193
test "$enable_shared" = yes && enable_static=no
11197
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
9803
11198
echo "${ECHO_T}$enable_shared" >&6; }
9805
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11200
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9806
11201
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9807
# Make sure either enable_shared or enable_static is yes.
9808
test "$enable_shared" = yes || enable_static=yes
9809
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11202
# Make sure either enable_shared or enable_static is yes.
11203
test "$enable_shared" = yes || enable_static=yes
11204
{ echo "$as_me:$LINENO: result: $enable_static" >&5
9810
11205
echo "${ECHO_T}$enable_static" >&6; }
9812
# The else clause should only fire when bootstrapping the
9813
# libtool distribution, otherwise you forgot to ship ltmain.sh
9814
# with your package, and you will get complaints that there are
9815
# no rules to generate ltmain.sh.
9816
if test -f "$ltmain"; then
9817
# See if we are running on zsh, and set the options which allow our commands through
9818
# without removal of \ escapes.
9819
if test -n "${ZSH_VERSION+set}" ; then
9820
setopt NO_GLOB_SUBST
9822
# Now quote all the things that may contain metacharacters while being
9823
# careful not to overquote the AC_SUBSTed values. We take copies of the
9824
# variables and quote the copies for generation of the libtool script.
9825
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9827
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9828
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9829
deplibs_check_method reload_flag reload_cmds need_locks \
9830
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9831
lt_cv_sys_global_symbol_to_c_name_address \
9832
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9833
old_postinstall_cmds old_postuninstall_cmds \
9837
lt_prog_compiler_wl \
9838
lt_prog_compiler_pic \
9839
lt_prog_compiler_static \
9840
lt_prog_compiler_no_builtin_flag \
9841
export_dynamic_flag_spec \
9842
thread_safe_flag_spec \
9843
whole_archive_flag_spec \
9844
enable_shared_with_static_runtimes \
9846
old_archive_from_new_cmds \
9851
compiler_lib_search_path \
9852
compiler_lib_search_dirs \
9854
archive_expsym_cmds \
9856
postuninstall_cmds \
9857
old_archive_from_expsyms_cmds \
9858
allow_undefined_flag \
9860
export_symbols_cmds \
9861
hardcode_libdir_flag_spec \
9862
hardcode_libdir_flag_spec_ld \
9863
hardcode_libdir_separator \
9864
hardcode_automatic \
9866
module_expsym_cmds \
9867
lt_cv_prog_compiler_c_o \
9873
old_archive_cmds | \
9874
old_archive_from_new_cmds | \
9876
archive_expsym_cmds | \
9878
module_expsym_cmds | \
9879
old_archive_from_expsyms_cmds | \
9880
export_symbols_cmds | \
9881
extract_expsyms_cmds | reload_cmds | finish_cmds | \
9882
postinstall_cmds | postuninstall_cmds | \
9883
old_postinstall_cmds | old_postuninstall_cmds | \
9884
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9885
# Double-quote double-evaled strings.
9886
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9889
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9895
*'\$0 --fallback-echo"')
9896
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9901
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9903
{ echo "$as_me:$LINENO: creating $ofile" >&5
9904
echo "$as_me: creating $ofile" >&6;}
9906
cat <<__EOF__ >> "$cfgfile"
9909
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9910
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9911
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9913
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9914
# Free Software Foundation, Inc.
9916
# This file is part of GNU Libtool:
9917
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9919
# This program is free software; you can redistribute it and/or modify
9920
# it under the terms of the GNU General Public License as published by
9921
# the Free Software Foundation; either version 2 of the License, or
9922
# (at your option) any later version.
9924
# This program is distributed in the hope that it will be useful, but
9925
# WITHOUT ANY WARRANTY; without even the implied warranty of
9926
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9927
# General Public License for more details.
9929
# You should have received a copy of the GNU General Public License
9930
# along with this program; if not, write to the Free Software
9931
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9933
# As a special exception to the GNU General Public License, if you
9934
# distribute this file as part of a program that contains a
9935
# configuration script generated by Autoconf, you may include it under
9936
# the same distribution terms that you use for the rest of that program.
9938
# A sed program that does not truncate output.
9941
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9942
Xsed="$SED -e 1s/^X//"
9944
# The HP-UX ksh and POSIX shell print the target directory to stdout
9946
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9948
# The names of the tagged configurations supported by this script.
9951
# ### BEGIN LIBTOOL CONFIG
9953
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9955
# Shell to use when invoking shell scripts.
9958
# Whether or not to build shared libraries.
9959
build_libtool_libs=$enable_shared
9961
# Whether or not to build static libraries.
9962
build_old_libs=$enable_static
9964
# Whether or not to add -lc for building shared libraries.
9965
build_libtool_need_lc=$archive_cmds_need_lc
9967
# Whether or not to disallow shared libs when runtime libs are static
9968
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9970
# Whether or not to optimize for fast installation.
9971
fast_install=$enable_fast_install
9974
host_alias=$host_alias
9979
build_alias=$build_alias
9983
# An echo program that does not interpret backslashes.
9988
AR_FLAGS=$lt_AR_FLAGS
9993
# LTCC compiler flags.
9994
LTCFLAGS=$lt_LTCFLAGS
9996
# A language-specific compiler.
9999
# Is the compiler the GNU C compiler?
10005
# The linker used to build libraries.
10008
# Whether we need hard or soft links.
10011
# A BSD-compatible nm program.
10014
# A symbol stripping program
10017
# Used to examine libraries when file_magic_cmd begins "file"
10018
MAGIC_CMD=$MAGIC_CMD
10020
# Used on cygwin: DLL creation program.
10023
# Used on cygwin: object dumper.
10026
# Used on cygwin: assembler.
10029
# The name of the directory that contains temporary libtool files.
10032
# How to create reloadable object files.
10033
reload_flag=$lt_reload_flag
10034
reload_cmds=$lt_reload_cmds
10036
# How to pass a linker flag through the compiler.
10037
wl=$lt_lt_prog_compiler_wl
10039
# Object file suffix (normally "o").
10040
objext="$ac_objext"
10042
# Old archive suffix (normally "a").
10045
# Shared library suffix (normally ".so").
10046
shrext_cmds='$shrext_cmds'
10048
# Executable file suffix (normally "").
10051
# Additional compiler flags for building library objects.
10052
pic_flag=$lt_lt_prog_compiler_pic
10055
# What is the maximum length of a command?
10056
max_cmd_len=$lt_cv_sys_max_cmd_len
10058
# Does compiler simultaneously support -c and -o options?
10059
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10061
# Must we lock files when doing compilation?
10062
need_locks=$lt_need_locks
10064
# Do we need the lib prefix for modules?
10065
need_lib_prefix=$need_lib_prefix
10067
# Do we need a version for libraries?
10068
need_version=$need_version
10070
# Whether dlopen is supported.
10071
dlopen_support=$enable_dlopen
10073
# Whether dlopen of programs is supported.
10074
dlopen_self=$enable_dlopen_self
10076
# Whether dlopen of statically linked programs is supported.
10077
dlopen_self_static=$enable_dlopen_self_static
10079
# Compiler flag to prevent dynamic linking.
10080
link_static_flag=$lt_lt_prog_compiler_static
10082
# Compiler flag to turn off builtin functions.
10083
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10085
# Compiler flag to allow reflexive dlopens.
10086
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10088
# Compiler flag to generate shared objects directly from archives.
10089
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10091
# Compiler flag to generate thread-safe objects.
10092
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10094
# Library versioning type.
10095
version_type=$version_type
10097
# Format of library name prefix.
10098
libname_spec=$lt_libname_spec
10100
# List of archive names. First name is the real one, the rest are links.
10101
# The last name is the one that the linker finds with -lNAME.
10102
library_names_spec=$lt_library_names_spec
10104
# The coded name of the library, if different from the real name.
10105
soname_spec=$lt_soname_spec
10107
# Commands used to build and install an old-style archive.
10109
old_archive_cmds=$lt_old_archive_cmds
10110
old_postinstall_cmds=$lt_old_postinstall_cmds
10111
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10113
# Create an old-style archive from a shared archive.
10114
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10116
# Create a temporary old-style archive to link instead of a shared archive.
10117
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10119
# Commands used to build and install a shared archive.
10120
archive_cmds=$lt_archive_cmds
10121
archive_expsym_cmds=$lt_archive_expsym_cmds
10122
postinstall_cmds=$lt_postinstall_cmds
10123
postuninstall_cmds=$lt_postuninstall_cmds
10125
# Commands used to build a loadable module (assumed same as above if empty)
10126
module_cmds=$lt_module_cmds
10127
module_expsym_cmds=$lt_module_expsym_cmds
10129
# Commands to strip libraries.
10130
old_striplib=$lt_old_striplib
10131
striplib=$lt_striplib
10133
# Dependencies to place before the objects being linked to create a
10135
predep_objects=$lt_predep_objects
10137
# Dependencies to place after the objects being linked to create a
10139
postdep_objects=$lt_postdep_objects
10141
# Dependencies to place before the objects being linked to create a
10143
predeps=$lt_predeps
10145
# Dependencies to place after the objects being linked to create a
10147
postdeps=$lt_postdeps
10149
# The directories searched by this compiler when creating a shared
10151
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10153
# The library search path used internally by the compiler when linking
10154
# a shared library.
10155
compiler_lib_search_path=$lt_compiler_lib_search_path
10157
# Method to check whether dependent libraries are shared objects.
10158
deplibs_check_method=$lt_deplibs_check_method
10160
# Command to use when deplibs_check_method == file_magic.
10161
file_magic_cmd=$lt_file_magic_cmd
10163
# Flag that allows shared libraries with undefined symbols to be built.
10164
allow_undefined_flag=$lt_allow_undefined_flag
10166
# Flag that forces no undefined symbols.
10167
no_undefined_flag=$lt_no_undefined_flag
10169
# Commands used to finish a libtool library installation in a directory.
10170
finish_cmds=$lt_finish_cmds
10172
# Same as above, but a single script fragment to be evaled but not shown.
10173
finish_eval=$lt_finish_eval
10175
# Take the output of nm and produce a listing of raw symbols and C names.
10176
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10178
# Transform the output of nm in a proper C declaration
10179
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10181
# Transform the output of nm in a C name address pair
10182
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10184
# This is the shared library runtime path variable.
10185
runpath_var=$runpath_var
10187
# This is the shared library path variable.
10188
shlibpath_var=$shlibpath_var
10190
# Is shlibpath searched before the hard-coded library search path?
10191
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10193
# How to hardcode a shared library path into an executable.
10194
hardcode_action=$hardcode_action
10196
# Whether we should hardcode library paths into libraries.
10197
hardcode_into_libs=$hardcode_into_libs
10199
# Flag to hardcode \$libdir into a binary during linking.
10200
# This must work even if \$libdir does not exist.
10201
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10203
# If ld is used when linking, flag to hardcode \$libdir into
10204
# a binary during linking. This must work even if \$libdir does
10206
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10208
# Whether we need a single -rpath flag with a separated argument.
10209
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10211
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10212
# resulting binary.
10213
hardcode_direct=$hardcode_direct
10215
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10216
# resulting binary.
10217
hardcode_minus_L=$hardcode_minus_L
10219
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10220
# the resulting binary.
10221
hardcode_shlibpath_var=$hardcode_shlibpath_var
10223
# Set to yes if building a shared library automatically hardcodes DIR into the library
10224
# and all subsequent libraries and executables linked against it.
10225
hardcode_automatic=$hardcode_automatic
10227
# Variables whose values should be saved in libtool wrapper scripts and
10228
# restored at relink time.
10229
variables_saved_for_relink="$variables_saved_for_relink"
10231
# Whether libtool must link a program against all its dependency libraries.
10232
link_all_deplibs=$link_all_deplibs
10234
# Compile-time system search path for libraries
10235
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10237
# Run-time system search path for libraries
10238
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10240
# Fix the shell variable \$srcfile for the compiler.
10241
fix_srcfile_path=$lt_fix_srcfile_path
10243
# Set to yes if exported symbols are required.
10244
always_export_symbols=$always_export_symbols
10246
# The commands to list exported symbols.
10247
export_symbols_cmds=$lt_export_symbols_cmds
10249
# The commands to extract the exported symbol list from a shared archive.
10250
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10252
# Symbols that should not be listed in the preloaded symbols.
10253
exclude_expsyms=$lt_exclude_expsyms
10255
# Symbols that must always be exported.
10256
include_expsyms=$lt_include_expsyms
10258
# ### END LIBTOOL CONFIG
10265
cat <<\EOF >> "$cfgfile"
10267
# AIX sometimes has problems with the GCC collect2 program. For some
10268
# reason, if we set the COLLECT_NAMES environment variable, the problems
10269
# vanish in a puff of smoke.
10270
if test "X${COLLECT_NAMES+set}" != Xset; then
10272
export COLLECT_NAMES
10278
# We use sed instead of cat because bash on DJGPP gets confused if
10279
# if finds mixed CR/LF and LF-only lines. Since sed operates in
10280
# text mode, it properly converts lines to CR/LF. This bash problem
10281
# is reportedly fixed, but why not run on old versions too?
10282
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10284
mv -f "$cfgfile" "$ofile" || \
10285
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10289
# If there is no Makefile yet, we rely on a make rule to execute
10290
# `config.status --recheck' to rerun these tests and create the
10291
# libtool script then.
10292
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10293
if test -f "$ltmain_in"; then
10294
test -f Makefile && make "$ltmain"
10300
11212
ac_cpp='$CPP $CPPFLAGS'
10301
11213
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17981
18875
# INIT-COMMANDS
17983
18877
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18880
# The HP-UX ksh and POSIX shell print the target directory to stdout
18881
# if CDPATH is set.
18882
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18884
sed_quote_subst='$sed_quote_subst'
18885
double_quote_subst='$double_quote_subst'
18886
delay_variable_subst='$delay_variable_subst'
18887
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
18888
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18889
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18890
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18891
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18892
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18893
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18894
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18895
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18896
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18897
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18898
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18899
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18900
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18901
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18902
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18903
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18904
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18905
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18906
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18907
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18908
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18909
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18910
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18911
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18912
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18913
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18914
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18915
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18916
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18917
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18918
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18919
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18920
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18921
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18922
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18923
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18924
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18925
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18926
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18927
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18928
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18929
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18930
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18931
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18932
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18933
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
18934
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18935
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18936
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18937
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18938
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18939
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18940
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18941
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18942
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18943
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18944
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18945
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18946
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18947
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18948
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18949
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18950
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18951
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18952
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18953
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18954
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18955
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18956
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18957
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18958
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18959
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18960
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18961
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18962
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18963
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18964
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18965
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18966
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18967
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18968
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18969
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18970
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18971
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18972
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18973
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18974
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18975
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18976
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18977
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18978
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18979
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18980
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18981
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18982
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18983
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18984
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18985
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18986
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18987
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18988
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18989
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18990
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18991
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18992
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18993
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18994
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18995
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18996
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18997
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18998
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18999
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19000
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19001
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19002
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19003
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19004
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19005
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19006
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19009
LTCFLAGS='$LTCFLAGS'
19010
compiler='$compiler_DEFAULT'
19012
# Quote evaled strings.
19023
deplibs_check_method \
19032
lt_cv_sys_global_symbol_pipe \
19033
lt_cv_sys_global_symbol_to_cdecl \
19034
lt_cv_sys_global_symbol_to_c_name_address \
19035
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19038
lt_prog_compiler_no_builtin_flag \
19039
lt_prog_compiler_wl \
19040
lt_prog_compiler_pic \
19041
lt_prog_compiler_static \
19042
lt_cv_prog_compiler_c_o \
19050
export_dynamic_flag_spec \
19051
whole_archive_flag_spec \
19052
compiler_needs_object \
19054
allow_undefined_flag \
19055
no_undefined_flag \
19056
hardcode_libdir_flag_spec \
19057
hardcode_libdir_flag_spec_ld \
19058
hardcode_libdir_separator \
19063
variables_saved_for_relink \
19065
library_names_spec \
19070
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19071
*[\\\\\\\`\\"\\\$]*)
19072
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19075
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19080
# Double-quote double-evaled strings.
19081
for var in reload_cmds \
19082
old_postinstall_cmds \
19083
old_postuninstall_cmds \
19085
extract_expsyms_cmds \
19086
old_archive_from_new_cmds \
19087
old_archive_from_expsyms_cmds \
19089
archive_expsym_cmds \
19091
module_expsym_cmds \
19092
export_symbols_cmds \
19095
postuninstall_cmds \
19097
sys_lib_search_path_spec \
19098
sys_lib_dlsearch_path_spec; do
19099
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19100
*[\\\\\\\`\\"\\\$]*)
19101
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19104
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19109
# Fix-up fallback echo if it was mangled by the above quoting rules.
19111
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19115
ac_aux_dir='$ac_aux_dir'
19116
xsi_shell='$xsi_shell'
19117
lt_shell_append='$lt_shell_append'
19119
# See if we are running on zsh, and set the options which allow our
19120
# commands through without removal of \ escapes INIT.
19121
if test -n "\${ZSH_VERSION+set}" ; then
19122
setopt NO_GLOB_SUBST
19128
TIMESTAMP='$TIMESTAMP'
17984
19134
# variables for create stdint.h replacement
17985
19135
PACKAGE="$PACKAGE"
17986
19136
VERSION="$VERSION"
20048
# See if we are running on zsh, and set the options which allow our
20049
# commands through without removal of \ escapes.
20050
if test -n "${ZSH_VERSION+set}" ; then
20051
setopt NO_GLOB_SUBST
20054
cfgfile="${ofile}T"
20055
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20058
cat <<_LT_EOF >> "$cfgfile"
20061
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20062
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20063
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20064
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20066
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20067
# 2006, 2007, 2008 Free Software Foundation, Inc.
20068
# Written by Gordon Matzigkeit, 1996
20070
# This file is part of GNU Libtool.
20072
# GNU Libtool is free software; you can redistribute it and/or
20073
# modify it under the terms of the GNU General Public License as
20074
# published by the Free Software Foundation; either version 2 of
20075
# the License, or (at your option) any later version.
20077
# As a special exception to the GNU General Public License,
20078
# if you distribute this file as part of a program or library that
20079
# is built using GNU Libtool, you may include this file under the
20080
# same distribution terms that you use for the rest of that program.
20082
# GNU Libtool is distributed in the hope that it will be useful,
20083
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20084
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20085
# GNU General Public License for more details.
20087
# You should have received a copy of the GNU General Public License
20088
# along with GNU Libtool; see the file COPYING. If not, a copy
20089
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20090
# obtained by writing to the Free Software Foundation, Inc.,
20091
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20094
# The names of the tagged configurations supported by this script.
20097
# ### BEGIN LIBTOOL CONFIG
20099
# Assembler program.
20102
# DLL creation program.
20105
# Object dumper program.
20108
# Which release of libtool.m4 was used?
20109
macro_version=$macro_version
20110
macro_revision=$macro_revision
20112
# Whether or not to build shared libraries.
20113
build_libtool_libs=$enable_shared
20115
# Whether or not to build static libraries.
20116
build_old_libs=$enable_static
20118
# What type of objects to build.
20121
# Whether or not to optimize for fast installation.
20122
fast_install=$enable_fast_install
20125
host_alias=$host_alias
20129
# The build system.
20130
build_alias=$build_alias
20134
# A sed program that does not truncate output.
20137
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20138
Xsed="\$SED -e 1s/^X//"
20140
# A grep program that handles long lines.
20146
# A literal string matcher.
20149
# A BSD- or MS-compatible name lister.
20152
# Whether we need soft or hard links.
20155
# What is the maximum length of a command?
20156
max_cmd_len=$max_cmd_len
20158
# Object file suffix (normally "o").
20161
# Executable file suffix (normally "").
20164
# whether the shell understands "unset".
20167
# turn spaces into newlines.
20170
# turn newlines into spaces.
20173
# How to create reloadable object files.
20174
reload_flag=$lt_reload_flag
20175
reload_cmds=$lt_reload_cmds
20177
# Method to check whether dependent libraries are shared objects.
20178
deplibs_check_method=$lt_deplibs_check_method
20180
# Command to use when deplibs_check_method == "file_magic".
20181
file_magic_cmd=$lt_file_magic_cmd
20185
AR_FLAGS=$lt_AR_FLAGS
20187
# A symbol stripping program.
20190
# Commands used to install an old-style archive.
20192
old_postinstall_cmds=$lt_old_postinstall_cmds
20193
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20198
# LTCC compiler flags.
20199
LTCFLAGS=$lt_CFLAGS
20201
# Take the output of nm and produce a listing of raw symbols and C names.
20202
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20204
# Transform the output of nm in a proper C declaration.
20205
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20207
# Transform the output of nm in a C name address pair.
20208
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20210
# Transform the output of nm in a C name address pair when lib prefix is needed.
20211
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20213
# The name of the directory that contains temporary libtool files.
20216
# Shell to use when invoking shell scripts.
20219
# An echo program that does not interpret backslashes.
20222
# Used to examine libraries when file_magic_cmd begins with "file".
20223
MAGIC_CMD=$MAGIC_CMD
20225
# Must we lock files when doing compilation?
20226
need_locks=$lt_need_locks
20228
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20229
DSYMUTIL=$lt_DSYMUTIL
20231
# Tool to change global to local symbols on Mac OS X.
20234
# Tool to manipulate fat objects and archives on Mac OS X.
20237
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20240
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20241
OTOOL64=$lt_OTOOL64
20243
# Old archive suffix (normally "a").
20246
# Shared library suffix (normally ".so").
20247
shrext_cmds=$lt_shrext_cmds
20249
# The commands to extract the exported symbol list from a shared archive.
20250
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20252
# Variables whose values should be saved in libtool wrapper scripts and
20253
# restored at link time.
20254
variables_saved_for_relink=$lt_variables_saved_for_relink
20256
# Do we need the "lib" prefix for modules?
20257
need_lib_prefix=$need_lib_prefix
20259
# Do we need a version for libraries?
20260
need_version=$need_version
20262
# Library versioning type.
20263
version_type=$version_type
20265
# Shared library runtime path variable.
20266
runpath_var=$runpath_var
20268
# Shared library path variable.
20269
shlibpath_var=$shlibpath_var
20271
# Is shlibpath searched before the hard-coded library search path?
20272
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20274
# Format of library name prefix.
20275
libname_spec=$lt_libname_spec
20277
# List of archive names. First name is the real one, the rest are links.
20278
# The last name is the one that the linker finds with -lNAME
20279
library_names_spec=$lt_library_names_spec
20281
# The coded name of the library, if different from the real name.
20282
soname_spec=$lt_soname_spec
20284
# Command to use after installation of a shared archive.
20285
postinstall_cmds=$lt_postinstall_cmds
20287
# Command to use after uninstallation of a shared archive.
20288
postuninstall_cmds=$lt_postuninstall_cmds
20290
# Commands used to finish a libtool library installation in a directory.
20291
finish_cmds=$lt_finish_cmds
20293
# As "finish_cmds", except a single script fragment to be evaled but
20295
finish_eval=$lt_finish_eval
20297
# Whether we should hardcode library paths into libraries.
20298
hardcode_into_libs=$hardcode_into_libs
20300
# Compile-time system search path for libraries.
20301
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20303
# Run-time system search path for libraries.
20304
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20306
# Whether dlopen is supported.
20307
dlopen_support=$enable_dlopen
20309
# Whether dlopen of programs is supported.
20310
dlopen_self=$enable_dlopen_self
20312
# Whether dlopen of statically linked programs is supported.
20313
dlopen_self_static=$enable_dlopen_self_static
20315
# Commands to strip libraries.
20316
old_striplib=$lt_old_striplib
20317
striplib=$lt_striplib
20320
# The linker used to build libraries.
20323
# Commands used to build an old-style archive.
20324
old_archive_cmds=$lt_old_archive_cmds
20326
# A language specific compiler.
20329
# Is the compiler the GNU compiler?
20332
# Compiler flag to turn off builtin functions.
20333
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20335
# How to pass a linker flag through the compiler.
20336
wl=$lt_lt_prog_compiler_wl
20338
# Additional compiler flags for building library objects.
20339
pic_flag=$lt_lt_prog_compiler_pic
20341
# Compiler flag to prevent dynamic linking.
20342
link_static_flag=$lt_lt_prog_compiler_static
20344
# Does compiler simultaneously support -c and -o options?
20345
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20347
# Whether or not to add -lc for building shared libraries.
20348
build_libtool_need_lc=$archive_cmds_need_lc
20350
# Whether or not to disallow shared libs when runtime libs are static.
20351
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20353
# Compiler flag to allow reflexive dlopens.
20354
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20356
# Compiler flag to generate shared objects directly from archives.
20357
whole_archive_flag_spec=$lt_whole_archive_flag_spec
20359
# Whether the compiler copes with passing no objects directly.
20360
compiler_needs_object=$lt_compiler_needs_object
20362
# Create an old-style archive from a shared archive.
20363
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20365
# Create a temporary old-style archive to link instead of a shared archive.
20366
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20368
# Commands used to build a shared archive.
20369
archive_cmds=$lt_archive_cmds
20370
archive_expsym_cmds=$lt_archive_expsym_cmds
20372
# Commands used to build a loadable module if different from building
20373
# a shared archive.
20374
module_cmds=$lt_module_cmds
20375
module_expsym_cmds=$lt_module_expsym_cmds
20377
# Whether we are building with GNU ld or not.
20378
with_gnu_ld=$lt_with_gnu_ld
20380
# Flag that allows shared libraries with undefined symbols to be built.
20381
allow_undefined_flag=$lt_allow_undefined_flag
20383
# Flag that enforces no undefined symbols.
20384
no_undefined_flag=$lt_no_undefined_flag
20386
# Flag to hardcode \$libdir into a binary during linking.
20387
# This must work even if \$libdir does not exist
20388
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20390
# If ld is used when linking, flag to hardcode \$libdir into a binary
20391
# during linking. This must work even if \$libdir does not exist.
20392
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20394
# Whether we need a single "-rpath" flag with a separated argument.
20395
hardcode_libdir_separator=$lt_hardcode_libdir_separator
20397
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20398
# DIR into the resulting binary.
20399
hardcode_direct=$hardcode_direct
20401
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20402
# DIR into the resulting binary and the resulting library dependency is
20403
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20404
# library is relocated.
20405
hardcode_direct_absolute=$hardcode_direct_absolute
20407
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20408
# into the resulting binary.
20409
hardcode_minus_L=$hardcode_minus_L
20411
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20412
# into the resulting binary.
20413
hardcode_shlibpath_var=$hardcode_shlibpath_var
20415
# Set to "yes" if building a shared library automatically hardcodes DIR
20416
# into the library and all subsequent libraries and executables linked
20418
hardcode_automatic=$hardcode_automatic
20420
# Set to yes if linker adds runtime paths of dependent libraries
20421
# to runtime path list.
20422
inherit_rpath=$inherit_rpath
20424
# Whether libtool must link a program against all its dependency libraries.
20425
link_all_deplibs=$link_all_deplibs
20427
# Fix the shell variable \$srcfile for the compiler.
20428
fix_srcfile_path=$lt_fix_srcfile_path
20430
# Set to "yes" if exported symbols are required.
20431
always_export_symbols=$always_export_symbols
20433
# The commands to list exported symbols.
20434
export_symbols_cmds=$lt_export_symbols_cmds
20436
# Symbols that should not be listed in the preloaded symbols.
20437
exclude_expsyms=$lt_exclude_expsyms
20439
# Symbols that must always be exported.
20440
include_expsyms=$lt_include_expsyms
20442
# Commands necessary for linking programs (against libraries) with templates.
20443
prelink_cmds=$lt_prelink_cmds
20445
# Specify filename containing input files.
20446
file_list_spec=$lt_file_list_spec
20448
# How to hardcode a shared library path into an executable.
20449
hardcode_action=$hardcode_action
20451
# ### END LIBTOOL CONFIG
20457
cat <<\_LT_EOF >> "$cfgfile"
20458
# AIX sometimes has problems with the GCC collect2 program. For some
20459
# reason, if we set the COLLECT_NAMES environment variable, the problems
20460
# vanish in a puff of smoke.
20461
if test "X${COLLECT_NAMES+set}" != Xset; then
20463
export COLLECT_NAMES
20470
ltmain="$ac_aux_dir/ltmain.sh"
20473
# We use sed instead of cat because bash on DJGPP gets confused if
20474
# if finds mixed CR/LF and LF-only lines. Since sed operates in
20475
# text mode, it properly converts lines to CR/LF. This bash problem
20476
# is reportedly fixed, but why not run on old versions too?
20477
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20478
|| (rm -f "$cfgfile"; exit 1)
20482
cat << \_LT_EOF >> "$cfgfile"
20484
# func_dirname file append nondir_replacement
20485
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20486
# otherwise set result to NONDIR_REPLACEMENT.
20490
*/*) func_dirname_result="${1%/*}${2}" ;;
20491
* ) func_dirname_result="${3}" ;;
20495
# func_basename file
20498
func_basename_result="${1##*/}"
20501
# func_dirname_and_basename file append nondir_replacement
20502
# perform func_basename and func_dirname in a single function
20504
# dirname: Compute the dirname of FILE. If nonempty,
20505
# add APPEND to the result, otherwise set result
20506
# to NONDIR_REPLACEMENT.
20507
# value returned in "$func_dirname_result"
20508
# basename: Compute filename of FILE.
20509
# value retuned in "$func_basename_result"
20510
# Implementation must be kept synchronized with func_dirname
20511
# and func_basename. For efficiency, we do not delegate to
20512
# those functions but instead duplicate the functionality here.
20513
func_dirname_and_basename ()
20516
*/*) func_dirname_result="${1%/*}${2}" ;;
20517
* ) func_dirname_result="${3}" ;;
20519
func_basename_result="${1##*/}"
20522
# func_stripname prefix suffix name
20523
# strip PREFIX and SUFFIX off of NAME.
20524
# PREFIX and SUFFIX must not contain globbing or regex special
20525
# characters, hashes, percent signs, but SUFFIX may contain a leading
20526
# dot (in which case that matches only a dot).
20529
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20530
# positional parameters, so assign one to ordinary parameter first.
20531
func_stripname_result=${3}
20532
func_stripname_result=${func_stripname_result#"${1}"}
20533
func_stripname_result=${func_stripname_result%"${2}"}
20539
func_opt_split_opt=${1%%=*}
20540
func_opt_split_arg=${1#*=}
20547
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20548
*) func_lo2o_result=${1} ;;
20552
# func_xform libobj-or-source
20555
func_xform_result=${1%.*}.lo
20558
# func_arith arithmetic-term...
20561
func_arith_result=$(( $* ))
20565
# STRING may not start with a hyphen.
20568
func_len_result=${#1}
20573
*) # Bourne compatible functions.
20574
cat << \_LT_EOF >> "$cfgfile"
20576
# func_dirname file append nondir_replacement
20577
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20578
# otherwise set result to NONDIR_REPLACEMENT.
20581
# Extract subdirectory from the argument.
20582
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20583
if test "X$func_dirname_result" = "X${1}"; then
20584
func_dirname_result="${3}"
20586
func_dirname_result="$func_dirname_result${2}"
20590
# func_basename file
20593
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20597
# func_stripname prefix suffix name
20598
# strip PREFIX and SUFFIX off of NAME.
20599
# PREFIX and SUFFIX must not contain globbing or regex special
20600
# characters, hashes, percent signs, but SUFFIX may contain a leading
20601
# dot (in which case that matches only a dot).
20602
# func_strip_suffix prefix name
20606
.*) func_stripname_result=`$ECHO "X${3}" \
20607
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20608
*) func_stripname_result=`$ECHO "X${3}" \
20609
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20614
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20615
my_sed_long_arg='1s/^-[^=]*=//'
20620
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20621
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20627
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20630
# func_xform libobj-or-source
20633
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20636
# func_arith arithmetic-term...
20639
func_arith_result=`expr "$@"`
20643
# STRING may not start with a hyphen.
20646
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20652
case $lt_shell_append in
20654
cat << \_LT_EOF >> "$cfgfile"
20656
# func_append var value
20657
# Append VALUE to the end of shell variable VAR.
20665
cat << \_LT_EOF >> "$cfgfile"
20667
# func_append var value
20668
# Append VALUE to the end of shell variable VAR.
20679
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20680
|| (rm -f "$cfgfile"; exit 1)
20682
mv -f "$cfgfile" "$ofile" ||
20683
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18886
20687
"$ac_stdint_h":C)
18887
20688
{ echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
18888
20689
echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}