528
544
# Sed expression to map a string onto a valid variable name.
529
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
547
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
550
test -n "$DJDIR" || exec 7<&0 </dev/null
8660
ac_cpp='$CXXCPP $CPPFLAGS'
8661
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8662
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8663
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8664
if test -z "$CXX"; then
8665
if test -n "$CCC"; then
8668
if test -n "$ac_tool_prefix"; then
8669
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8671
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8672
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8674
$as_echo_n "checking for $ac_word... " >&6; }
8675
if test "${ac_cv_prog_CXX+set}" = set; then :
8676
$as_echo_n "(cached) " >&6
8678
if test -n "$CXX"; then
8679
ac_cv_prog_CXX="$CXX" # Let the user override the test.
8681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8685
test -z "$as_dir" && as_dir=.
8686
for ac_exec_ext in '' $ac_executable_extensions; do
8687
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8688
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8689
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8699
if test -n "$CXX"; then
8700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8701
$as_echo "$CXX" >&6; }
8703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704
$as_echo "no" >&6; }
8708
test -n "$CXX" && break
8711
if test -z "$CXX"; then
8713
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8715
# Extract the first word of "$ac_prog", so it can be a program name with args.
8716
set dummy $ac_prog; ac_word=$2
8717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8718
$as_echo_n "checking for $ac_word... " >&6; }
8719
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8720
$as_echo_n "(cached) " >&6
8722
if test -n "$ac_ct_CXX"; then
8723
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8725
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8729
test -z "$as_dir" && as_dir=.
8730
for ac_exec_ext in '' $ac_executable_extensions; do
8731
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8732
ac_cv_prog_ac_ct_CXX="$ac_prog"
8733
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8742
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8743
if test -n "$ac_ct_CXX"; then
8744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8745
$as_echo "$ac_ct_CXX" >&6; }
8747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748
$as_echo "no" >&6; }
8752
test -n "$ac_ct_CXX" && break
8755
if test "x$ac_ct_CXX" = x; then
8758
case $cross_compiling:$ac_tool_warned in
8760
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8761
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8762
ac_tool_warned=yes ;;
8770
# Provide some information about the compiler.
8771
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8774
for ac_option in --version -v -V -qversion; do
8775
{ { ac_try="$ac_compiler $ac_option >&5"
8777
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8778
*) ac_try_echo=$ac_try;;
8780
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8781
$as_echo "$ac_try_echo"; } >&5
8782
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
8784
if test -s conftest.err; then
8786
... rest of stderr output deleted ...
8787
10q' conftest.err >conftest.er1
8788
cat conftest.er1 >&5
8790
rm -f conftest.er1 conftest.err
8791
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8792
test $ac_status = 0; }
8795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8796
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8797
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8798
$as_echo_n "(cached) " >&6
8800
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801
/* end confdefs.h. */
8814
if ac_fn_cxx_try_compile "$LINENO"; then :
8819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8820
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8824
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8825
if test $ac_compiler_gnu = yes; then
8830
ac_test_CXXFLAGS=${CXXFLAGS+set}
8831
ac_save_CXXFLAGS=$CXXFLAGS
8832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8833
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
8834
if test "${ac_cv_prog_cxx_g+set}" = set; then :
8835
$as_echo_n "(cached) " >&6
8837
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8838
ac_cxx_werror_flag=yes
8841
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842
/* end confdefs.h. */
8852
if ac_fn_cxx_try_compile "$LINENO"; then :
8853
ac_cv_prog_cxx_g=yes
8856
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857
/* end confdefs.h. */
8867
if ac_fn_cxx_try_compile "$LINENO"; then :
8870
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8872
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873
/* end confdefs.h. */
8883
if ac_fn_cxx_try_compile "$LINENO"; then :
8884
ac_cv_prog_cxx_g=yes
8886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8888
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8890
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8891
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8894
$as_echo "$ac_cv_prog_cxx_g" >&6; }
8895
if test "$ac_test_CXXFLAGS" = set; then
8896
CXXFLAGS=$ac_save_CXXFLAGS
8897
elif test $ac_cv_prog_cxx_g = yes; then
8898
if test "$GXX" = yes; then
8904
if test "$GXX" = yes; then
8911
ac_cpp='$CPP $CPPFLAGS'
8912
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8913
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8914
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8916
depcc="$CXX" am_compiler_list=
8918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8919
$as_echo_n "checking dependency style of $depcc... " >&6; }
8920
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
8921
$as_echo_n "(cached) " >&6
8923
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8924
# We make a subdir and do the tests there. Otherwise we can end up
8925
# making bogus files that we don't know about and never remove. For
8926
# instance it was reported that on HP-UX the gcc test will end up
8927
# making a dummy file named `D' -- because `-MD' means `put the output
8930
# Copy depcomp to subdir because otherwise we won't find it if we're
8931
# using a relative directory.
8932
cp "$am_depcomp" conftest.dir
8934
# We will build objects and dependencies in a subdirectory because
8935
# it helps to detect inapplicable dependency modes. For instance
8936
# both Tru64's cc and ICC support -MD to output dependencies as a
8937
# side effect of compilation, but ICC will put the dependencies in
8938
# the current directory while Tru64 will put them in the object
8942
am_cv_CXX_dependencies_compiler_type=none
8943
if test "$am_compiler_list" = ""; then
8944
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8947
case " $depcc " in #(
8948
*\ -arch\ *\ -arch\ *) am__universal=true ;;
8951
for depmode in $am_compiler_list; do
8952
# Setup a source with many dependencies, because some compilers
8953
# like to wrap large dependency lists on column 80 (with \), and
8954
# we should not choose a depcomp mode which is confused by this.
8956
# We need to recreate these files for each test, as the compiler may
8957
# overwrite some of them when testing with obscure command lines.
8958
# This happens at least with the AIX C compiler.
8960
for i in 1 2 3 4 5 6; do
8961
echo '#include "conftst'$i'.h"' >> sub/conftest.c
8962
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8963
# Solaris 8's {/usr,}/bin/sh.
8964
touch sub/conftst$i.h
8966
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8968
# We check with `-c' and `-o' for the sake of the "dashmstdout"
8969
# mode. It turns out that the SunPro C++ compiler does not properly
8970
# handle `-M -o', and we need to detect this. Also, some Intel
8971
# versions had trouble with output in subdirs
8972
am__obj=sub/conftest.${OBJEXT-o}
8973
am__minus_obj="-o $am__obj"
8976
# This depmode causes a compiler race in universal mode.
8977
test "$am__universal" = false || continue
8980
# after this tag, mechanisms are not by side-effect, so they'll
8981
# only be used when explicitly requested
8982
if test "x$enable_dependency_tracking" = xyes; then
8988
msvisualcpp | msvcmsys)
8989
# This compiler won't grok `-c -o', but also, the minuso test has
8990
# not run yet. These depmodes are late enough in the game, and
8991
# so weak that their functioning should not be impacted.
8992
am__obj=conftest.${OBJEXT-o}
8997
if depmode=$depmode \
8998
source=sub/conftest.c object=$am__obj \
8999
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9000
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9001
>/dev/null 2>conftest.err &&
9002
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9003
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9004
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9005
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9006
# icc doesn't choke on unknown options, it will just issue warnings
9007
# or remarks (even with -Werror). So we grep stderr for any message
9008
# that says an option was ignored or not supported.
9009
# When given -MP, icc 7.0 and 7.1 complain thusly:
9010
# icc: Command line warning: ignoring option '-M'; no argument required
9011
# The diagnosis changed in icc 8.0:
9012
# icc: Command line remark: option '-MP' not supported
9013
if (grep 'ignoring option' conftest.err ||
9014
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9015
am_cv_CXX_dependencies_compiler_type=$depmode
9024
am_cv_CXX_dependencies_compiler_type=none
9028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
9029
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
9030
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9033
test "x$enable_dependency_tracking" != xno \
9034
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9035
am__fastdepCXX_TRUE=
9036
am__fastdepCXX_FALSE='#'
9038
am__fastdepCXX_TRUE='#'
9039
am__fastdepCXX_FALSE=
9043
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9044
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9045
(test "X$CXX" != "Xg++"))) ; then
9047
ac_cpp='$CXXCPP $CPPFLAGS'
9048
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9049
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9050
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
9052
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9053
if test -z "$CXXCPP"; then
9054
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
9055
$as_echo_n "(cached) " >&6
9057
# Double quotes because CXXCPP needs to be expanded
9058
for CXXCPP in "$CXX -E" "/lib/cpp"
9061
for ac_cxx_preproc_warn_flag in '' yes
9063
# Use a header file that comes with gcc, so configuring glibc
9064
# with a fresh cross-compiler works.
9065
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9066
# <limits.h> exists even on freestanding compilers.
9067
# On the NeXT, cc -E runs the code through the compiler's parser,
9068
# not just through cpp. "Syntax error" is here to catch this case.
9069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070
/* end confdefs.h. */
9072
# include <limits.h>
9074
# include <assert.h>
9078
if ac_fn_cxx_try_cpp "$LINENO"; then :
9081
# Broken: fails on valid input.
9084
rm -f conftest.err conftest.i conftest.$ac_ext
9086
# OK, works on sane cases. Now check whether nonexistent headers
9087
# can be detected and how.
9088
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089
/* end confdefs.h. */
9090
#include <ac_nonexistent.h>
9092
if ac_fn_cxx_try_cpp "$LINENO"; then :
9093
# Broken: success on invalid input.
9096
# Passes both tests.
9100
rm -f conftest.err conftest.i conftest.$ac_ext
9103
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9104
rm -f conftest.i conftest.err conftest.$ac_ext
9105
if $ac_preproc_ok; then :
9110
ac_cv_prog_CXXCPP=$CXXCPP
9113
CXXCPP=$ac_cv_prog_CXXCPP
9115
ac_cv_prog_CXXCPP=$CXXCPP
9117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
9118
$as_echo "$CXXCPP" >&6; }
9120
for ac_cxx_preproc_warn_flag in '' yes
9122
# Use a header file that comes with gcc, so configuring glibc
9123
# with a fresh cross-compiler works.
9124
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9125
# <limits.h> exists even on freestanding compilers.
9126
# On the NeXT, cc -E runs the code through the compiler's parser,
9127
# not just through cpp. "Syntax error" is here to catch this case.
9128
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129
/* end confdefs.h. */
9131
# include <limits.h>
9133
# include <assert.h>
9137
if ac_fn_cxx_try_cpp "$LINENO"; then :
9140
# Broken: fails on valid input.
9143
rm -f conftest.err conftest.i conftest.$ac_ext
9145
# OK, works on sane cases. Now check whether nonexistent headers
9146
# can be detected and how.
9147
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148
/* end confdefs.h. */
9149
#include <ac_nonexistent.h>
9151
if ac_fn_cxx_try_cpp "$LINENO"; then :
9152
# Broken: success on invalid input.
9155
# Passes both tests.
9159
rm -f conftest.err conftest.i conftest.$ac_ext
9162
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9163
rm -f conftest.i conftest.err conftest.$ac_ext
9164
if $ac_preproc_ok; then :
9167
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9168
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9169
_lt_caught_CXX_error=yes; }
9173
ac_cpp='$CPP $CPPFLAGS'
9174
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9175
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9176
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9179
_lt_caught_CXX_error=yes
9160
func_stripname_cnf ()
9163
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9164
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9166
} # func_stripname_cnf
23011
23611
sed_quote_subst='$sed_quote_subst'
23012
23612
double_quote_subst='$double_quote_subst'
23013
23613
delay_variable_subst='$delay_variable_subst'
23014
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
23015
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
23016
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
23017
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
23018
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
23019
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
23020
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
23021
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
23022
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
23023
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
23024
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
23025
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
23026
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
23027
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
23028
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
23029
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
23030
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
23031
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
23032
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
23033
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
23034
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
23035
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
23036
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
23037
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
23038
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
23039
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
23040
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
23041
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23042
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
23043
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
23044
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
23045
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
23046
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23047
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
23048
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
23049
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23050
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23051
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23052
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
23053
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23054
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
23055
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
23056
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
23057
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
23058
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"`'
23059
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"`'
23060
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
23061
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
23062
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
23063
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
23064
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
23065
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
23066
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
23067
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
23068
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
23069
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
23070
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
23071
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
23072
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
23073
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23074
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
23075
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
23076
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23077
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23078
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
23079
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
23080
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23081
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23082
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
23083
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23084
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23085
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23086
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23087
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23088
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23089
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
23090
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23091
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23092
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23093
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
23094
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
23095
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
23096
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
23097
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
23098
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23099
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
23100
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
23101
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
23102
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
23103
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
23104
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23105
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23106
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23107
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23108
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
23109
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
23110
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23111
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
23112
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
23113
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23114
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23115
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
23116
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23117
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
23118
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23119
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23120
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23121
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23122
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
23123
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
23124
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23125
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23126
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
23127
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
23128
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
23129
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
23130
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
23131
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
23132
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
23133
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
23134
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
23135
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
23136
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
23137
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
23138
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23139
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23140
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23141
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23142
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23143
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23144
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23145
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23146
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23147
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23148
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23149
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23150
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23151
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23152
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23153
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23154
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23155
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23156
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23157
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23158
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23159
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23160
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23161
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23162
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23163
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23164
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23165
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23166
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23167
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23168
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23169
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23170
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23171
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23172
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23173
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23174
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23175
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23176
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23177
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23178
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23179
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23180
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23181
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23182
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23183
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23184
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23614
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23615
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23616
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23617
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23618
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23619
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23620
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23621
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23622
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23623
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23624
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23625
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23626
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23627
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23628
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23629
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23630
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23631
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23632
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23633
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23634
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23635
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23636
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23637
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23638
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23639
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23640
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23641
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23642
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23643
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23644
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23645
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23646
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23647
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23648
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23649
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23650
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23651
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23652
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23653
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23654
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23655
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23656
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23657
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23658
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23659
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23660
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23661
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23662
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23663
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23664
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23665
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23666
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23667
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23668
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23669
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
23670
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23671
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23672
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23673
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23674
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23675
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23676
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23677
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23678
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23679
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23680
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23681
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23682
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23683
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23684
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23685
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23686
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23687
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23688
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23689
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23690
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23691
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23692
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23693
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23694
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23695
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23696
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23697
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23698
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23699
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23700
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23701
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23702
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23703
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23704
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
23705
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23706
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23707
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23708
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23709
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23710
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23711
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23712
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23713
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23714
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23715
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23716
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23717
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23718
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23719
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23720
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23721
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23722
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23723
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23724
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23725
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23726
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23727
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23728
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23729
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23730
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23731
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23732
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23733
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23734
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23735
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23736
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23737
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
23738
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23739
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23740
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23741
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23742
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23743
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23744
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
23745
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
23746
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
23747
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
23748
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
23749
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
23750
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
23751
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
23752
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23753
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23754
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
23755
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
23756
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
23757
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
23758
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
23759
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
23760
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
23761
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
23762
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
23763
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23764
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23765
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
23766
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23767
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23768
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23769
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23770
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23771
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23772
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
23773
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23774
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23775
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23776
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
23777
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
23778
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
23779
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
23780
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
23781
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
23782
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
23783
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
23784
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
23785
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
23786
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23787
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23788
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23789
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23790
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23791
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
23792
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
23793
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
23794
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23795
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23796
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
23797
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
23798
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23187
23801
LTCFLAGS='$LTCFLAGS'
23188
23802
compiler='$compiler_DEFAULT'
23804
# A function that is used when there is no print builtin or printf.
23805
func_fallback_echo ()
23807
eval 'cat <<_LTECHO_EOF
23190
23812
# Quote evaled strings.
24403
25071
# if finds mixed CR/LF and LF-only lines. Since sed operates in
24404
25072
# text mode, it properly converts lines to CR/LF. This bash problem
24405
25073
# is reportedly fixed, but why not run on old versions too?
24406
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24407
|| (rm -f "$cfgfile"; exit 1)
24411
cat << \_LT_EOF >> "$cfgfile"
24413
# func_dirname file append nondir_replacement
24414
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
24415
# otherwise set result to NONDIR_REPLACEMENT.
24419
*/*) func_dirname_result="${1%/*}${2}" ;;
24420
* ) func_dirname_result="${3}" ;;
24424
# func_basename file
24427
func_basename_result="${1##*/}"
24430
# func_dirname_and_basename file append nondir_replacement
24431
# perform func_basename and func_dirname in a single function
24433
# dirname: Compute the dirname of FILE. If nonempty,
24434
# add APPEND to the result, otherwise set result
24435
# to NONDIR_REPLACEMENT.
24436
# value returned in "$func_dirname_result"
24437
# basename: Compute filename of FILE.
24438
# value retuned in "$func_basename_result"
24439
# Implementation must be kept synchronized with func_dirname
24440
# and func_basename. For efficiency, we do not delegate to
24441
# those functions but instead duplicate the functionality here.
24442
func_dirname_and_basename ()
24445
*/*) func_dirname_result="${1%/*}${2}" ;;
24446
* ) func_dirname_result="${3}" ;;
24448
func_basename_result="${1##*/}"
24451
# func_stripname prefix suffix name
24452
# strip PREFIX and SUFFIX off of NAME.
24453
# PREFIX and SUFFIX must not contain globbing or regex special
24454
# characters, hashes, percent signs, but SUFFIX may contain a leading
24455
# dot (in which case that matches only a dot).
24458
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24459
# positional parameters, so assign one to ordinary parameter first.
24460
func_stripname_result=${3}
24461
func_stripname_result=${func_stripname_result#"${1}"}
24462
func_stripname_result=${func_stripname_result%"${2}"}
24468
func_opt_split_opt=${1%%=*}
24469
func_opt_split_arg=${1#*=}
24476
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
24477
*) func_lo2o_result=${1} ;;
24481
# func_xform libobj-or-source
24484
func_xform_result=${1%.*}.lo
24487
# func_arith arithmetic-term...
24490
func_arith_result=$(( $* ))
24494
# STRING may not start with a hyphen.
24497
func_len_result=${#1}
24502
*) # Bourne compatible functions.
24503
cat << \_LT_EOF >> "$cfgfile"
24505
# func_dirname file append nondir_replacement
24506
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
24507
# otherwise set result to NONDIR_REPLACEMENT.
24510
# Extract subdirectory from the argument.
24511
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24512
if test "X$func_dirname_result" = "X${1}"; then
24513
func_dirname_result="${3}"
24515
func_dirname_result="$func_dirname_result${2}"
24519
# func_basename file
24522
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
24526
# func_stripname prefix suffix name
24527
# strip PREFIX and SUFFIX off of NAME.
24528
# PREFIX and SUFFIX must not contain globbing or regex special
24529
# characters, hashes, percent signs, but SUFFIX may contain a leading
24530
# dot (in which case that matches only a dot).
24531
# func_strip_suffix prefix name
24535
.*) func_stripname_result=`$ECHO "X${3}" \
24536
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24537
*) func_stripname_result=`$ECHO "X${3}" \
24538
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24543
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
24544
my_sed_long_arg='1s/^-[^=]*=//'
24549
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24550
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24556
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24559
# func_xform libobj-or-source
24562
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24565
# func_arith arithmetic-term...
24568
func_arith_result=`expr "$@"`
24572
# STRING may not start with a hyphen.
24575
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24581
case $lt_shell_append in
24583
cat << \_LT_EOF >> "$cfgfile"
24585
# func_append var value
24586
# Append VALUE to the end of shell variable VAR.
24594
cat << \_LT_EOF >> "$cfgfile"
24596
# func_append var value
24597
# Append VALUE to the end of shell variable VAR.
24608
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24609
|| (rm -f "$cfgfile"; exit 1)
24611
mv -f "$cfgfile" "$ofile" ||
25074
sed '$q' "$ltmain" >> "$cfgfile" \
25075
|| (rm -f "$cfgfile"; exit 1)
25077
if test x"$xsi_shell" = xyes; then
25078
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
25082
\ */*) func_dirname_result="${1%/*}${2}" ;;\
25083
\ * ) func_dirname_result="${3}" ;;\
25085
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
25086
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25087
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25088
test 0 -eq $? || _lt_function_replace_fail=:
25091
sed -e '/^func_basename ()$/,/^} # func_basename /c\
25094
\ func_basename_result="${1##*/}"\
25095
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
25096
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25097
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25098
test 0 -eq $? || _lt_function_replace_fail=:
25101
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
25102
func_dirname_and_basename ()\
25105
\ */*) func_dirname_result="${1%/*}${2}" ;;\
25106
\ * ) func_dirname_result="${3}" ;;\
25108
\ func_basename_result="${1##*/}"\
25109
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25110
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25111
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25112
test 0 -eq $? || _lt_function_replace_fail=:
25115
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25118
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25119
\ # positional parameters, so assign one to ordinary parameter first.\
25120
\ func_stripname_result=${3}\
25121
\ func_stripname_result=${func_stripname_result#"${1}"}\
25122
\ func_stripname_result=${func_stripname_result%"${2}"}\
25123
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25124
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25125
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25126
test 0 -eq $? || _lt_function_replace_fail=:
25129
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25130
func_split_long_opt ()\
25132
\ func_split_long_opt_name=${1%%=*}\
25133
\ func_split_long_opt_arg=${1#*=}\
25134
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25135
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25136
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25137
test 0 -eq $? || _lt_function_replace_fail=:
25140
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25141
func_split_short_opt ()\
25143
\ func_split_short_opt_arg=${1#??}\
25144
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25145
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25146
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25147
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25148
test 0 -eq $? || _lt_function_replace_fail=:
25151
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
25155
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
25156
\ *) func_lo2o_result=${1} ;;\
25158
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
25159
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25160
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25161
test 0 -eq $? || _lt_function_replace_fail=:
25164
sed -e '/^func_xform ()$/,/^} # func_xform /c\
25167
func_xform_result=${1%.*}.lo\
25168
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
25169
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25170
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25171
test 0 -eq $? || _lt_function_replace_fail=:
25174
sed -e '/^func_arith ()$/,/^} # func_arith /c\
25177
func_arith_result=$(( $* ))\
25178
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
25179
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25180
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25181
test 0 -eq $? || _lt_function_replace_fail=:
25184
sed -e '/^func_len ()$/,/^} # func_len /c\
25187
func_len_result=${#1}\
25188
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
25189
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25190
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25191
test 0 -eq $? || _lt_function_replace_fail=:
25195
if test x"$lt_shell_append" = xyes; then
25196
sed -e '/^func_append ()$/,/^} # func_append /c\
25199
eval "${1}+=\\${2}"\
25200
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
25201
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25202
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25203
test 0 -eq $? || _lt_function_replace_fail=:
25206
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
25207
func_append_quoted ()\
25209
\ func_quote_for_eval "${2}"\
25210
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
25211
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
25212
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25213
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25214
test 0 -eq $? || _lt_function_replace_fail=:
25217
# Save a `func_append' function call where possible by direct use of '+='
25218
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
25219
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25220
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25221
test 0 -eq $? || _lt_function_replace_fail=:
25223
# Save a `func_append' function call even when '+=' is not available
25224
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
25225
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25226
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25227
test 0 -eq $? || _lt_function_replace_fail=:
25230
if test x"$_lt_function_replace_fail" = x":"; then
25231
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
25232
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
25236
mv -f "$cfgfile" "$ofile" ||
24612
25237
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24613
25238
chmod +x "$ofile"