1703
1704
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1704
# Keeping the `.' argument allows $(mkdir_p) to be used without
1705
# argument. Indeed, we sometimes output rules like
1705
# We used to keeping the `.' as first argument, in order to
1706
# allow $(mkdir_p) to be used without argument. As in
1706
1707
# $(mkdir_p) $(somedir)
1707
# where $(somedir) is conditionally defined.
1708
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1709
# expensive solution, as it forces Make to start a sub-shell.)
1710
mkdir_p='mkdir -p -- .'
1708
# where $(somedir) is conditionally defined. However this is wrong
1710
# 1. if the package is installed by a user who cannot write `.'
1711
# make install will fail,
1712
# 2. the above comment should most certainly read
1713
# $(mkdir_p) $(DESTDIR)$(somedir)
1714
# so it does not work when $(somedir) is undefined and
1715
# $(DESTDIR) is not.
1716
# To support the latter case, we have to write
1717
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1718
# so the `.' trick is pointless.
1719
mkdir_p='mkdir -p --'
1712
1721
# On NextStep and OpenStep, the `mkdir' command does not
1713
1722
# recognize any option. It will interpret all options as
4587
4610
CFLAGS="$SAVE_CFLAGS"
4613
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4614
if test -n "$ac_tool_prefix"; then
4615
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4616
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4617
echo "$as_me:$LINENO: checking for $ac_word" >&5
4618
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4619
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4620
echo $ECHO_N "(cached) $ECHO_C" >&6
4622
if test -n "$DLLTOOL"; then
4623
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629
test -z "$as_dir" && as_dir=.
4630
for ac_exec_ext in '' $ac_executable_extensions; do
4631
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4632
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4633
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641
DLLTOOL=$ac_cv_prog_DLLTOOL
4642
if test -n "$DLLTOOL"; then
4643
echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4644
echo "${ECHO_T}$DLLTOOL" >&6
4646
echo "$as_me:$LINENO: result: no" >&5
4647
echo "${ECHO_T}no" >&6
4651
if test -z "$ac_cv_prog_DLLTOOL"; then
4652
ac_ct_DLLTOOL=$DLLTOOL
4653
# Extract the first word of "dlltool", so it can be a program name with args.
4654
set dummy dlltool; ac_word=$2
4655
echo "$as_me:$LINENO: checking for $ac_word" >&5
4656
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4657
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4658
echo $ECHO_N "(cached) $ECHO_C" >&6
4660
if test -n "$ac_ct_DLLTOOL"; then
4661
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667
test -z "$as_dir" && as_dir=.
4668
for ac_exec_ext in '' $ac_executable_extensions; do
4669
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4670
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4671
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677
test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
4680
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4681
if test -n "$ac_ct_DLLTOOL"; then
4682
echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4683
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4685
echo "$as_me:$LINENO: result: no" >&5
4686
echo "${ECHO_T}no" >&6
4689
DLLTOOL=$ac_ct_DLLTOOL
4691
DLLTOOL="$ac_cv_prog_DLLTOOL"
4694
if test -n "$ac_tool_prefix"; then
4695
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4696
set dummy ${ac_tool_prefix}as; ac_word=$2
4697
echo "$as_me:$LINENO: checking for $ac_word" >&5
4698
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4699
if test "${ac_cv_prog_AS+set}" = set; then
4700
echo $ECHO_N "(cached) $ECHO_C" >&6
4702
if test -n "$AS"; then
4703
ac_cv_prog_AS="$AS" # Let the user override the test.
4705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709
test -z "$as_dir" && as_dir=.
4710
for ac_exec_ext in '' $ac_executable_extensions; do
4711
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4712
ac_cv_prog_AS="${ac_tool_prefix}as"
4713
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722
if test -n "$AS"; then
4723
echo "$as_me:$LINENO: result: $AS" >&5
4724
echo "${ECHO_T}$AS" >&6
4726
echo "$as_me:$LINENO: result: no" >&5
4727
echo "${ECHO_T}no" >&6
4731
if test -z "$ac_cv_prog_AS"; then
4733
# Extract the first word of "as", so it can be a program name with args.
4734
set dummy as; ac_word=$2
4735
echo "$as_me:$LINENO: checking for $ac_word" >&5
4736
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4737
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4738
echo $ECHO_N "(cached) $ECHO_C" >&6
4740
if test -n "$ac_ct_AS"; then
4741
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747
test -z "$as_dir" && as_dir=.
4748
for ac_exec_ext in '' $ac_executable_extensions; do
4749
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4750
ac_cv_prog_ac_ct_AS="as"
4751
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4757
test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
4760
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4761
if test -n "$ac_ct_AS"; then
4762
echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4763
echo "${ECHO_T}$ac_ct_AS" >&6
4765
echo "$as_me:$LINENO: result: no" >&5
4766
echo "${ECHO_T}no" >&6
4774
if test -n "$ac_tool_prefix"; then
4775
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4776
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4777
echo "$as_me:$LINENO: checking for $ac_word" >&5
4778
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4779
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4780
echo $ECHO_N "(cached) $ECHO_C" >&6
4782
if test -n "$OBJDUMP"; then
4783
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789
test -z "$as_dir" && as_dir=.
4790
for ac_exec_ext in '' $ac_executable_extensions; do
4791
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4792
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4793
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4801
OBJDUMP=$ac_cv_prog_OBJDUMP
4802
if test -n "$OBJDUMP"; then
4803
echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4804
echo "${ECHO_T}$OBJDUMP" >&6
4806
echo "$as_me:$LINENO: result: no" >&5
4807
echo "${ECHO_T}no" >&6
4811
if test -z "$ac_cv_prog_OBJDUMP"; then
4812
ac_ct_OBJDUMP=$OBJDUMP
4813
# Extract the first word of "objdump", so it can be a program name with args.
4814
set dummy objdump; ac_word=$2
4815
echo "$as_me:$LINENO: checking for $ac_word" >&5
4816
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4817
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4818
echo $ECHO_N "(cached) $ECHO_C" >&6
4820
if test -n "$ac_ct_OBJDUMP"; then
4821
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4823
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827
test -z "$as_dir" && as_dir=.
4828
for ac_exec_ext in '' $ac_executable_extensions; do
4829
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4830
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4831
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4837
test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4840
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4841
if test -n "$ac_ct_OBJDUMP"; then
4842
echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4843
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4845
echo "$as_me:$LINENO: result: no" >&5
4846
echo "${ECHO_T}no" >&6
4849
OBJDUMP=$ac_ct_OBJDUMP
4851
OBJDUMP="$ac_cv_prog_OBJDUMP"
5486
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5487
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5488
(test "X$CXX" != "Xg++"))) ; then
5490
ac_cpp='$CXXCPP $CPPFLAGS'
5491
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5492
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5493
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5494
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5495
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5496
if test -z "$CXXCPP"; then
5497
if test "${ac_cv_prog_CXXCPP+set}" = set; then
5498
echo $ECHO_N "(cached) $ECHO_C" >&6
5500
# Double quotes because CXXCPP needs to be expanded
5501
for CXXCPP in "$CXX -E" "/lib/cpp"
5504
for ac_cxx_preproc_warn_flag in '' yes
5506
# Use a header file that comes with gcc, so configuring glibc
5507
# with a fresh cross-compiler works.
5508
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5509
# <limits.h> exists even on freestanding compilers.
5510
# On the NeXT, cc -E runs the code through the compiler's parser,
5511
# not just through cpp. "Syntax error" is here to catch this case.
5512
cat >conftest.$ac_ext <<_ACEOF
5515
cat confdefs.h >>conftest.$ac_ext
5516
cat >>conftest.$ac_ext <<_ACEOF
5517
/* end confdefs.h. */
5519
# include <limits.h>
5521
# include <assert.h>
5525
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5526
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5528
grep -v '^ *+' conftest.er1 >conftest.err
5530
cat conftest.err >&5
5531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532
(exit $ac_status); } >/dev/null; then
5533
if test -s conftest.err; then
5534
ac_cpp_err=$ac_cxx_preproc_warn_flag
5535
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5542
if test -z "$ac_cpp_err"; then
5545
echo "$as_me: failed program was:" >&5
5546
sed 's/^/| /' conftest.$ac_ext >&5
5548
# Broken: fails on valid input.
5551
rm -f conftest.err conftest.$ac_ext
5553
# OK, works on sane cases. Now check whether non-existent headers
5554
# can be detected and how.
5555
cat >conftest.$ac_ext <<_ACEOF
5558
cat confdefs.h >>conftest.$ac_ext
5559
cat >>conftest.$ac_ext <<_ACEOF
5560
/* end confdefs.h. */
5561
#include <ac_nonexistent.h>
5563
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5564
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5566
grep -v '^ *+' conftest.er1 >conftest.err
5568
cat conftest.err >&5
5569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570
(exit $ac_status); } >/dev/null; then
5571
if test -s conftest.err; then
5572
ac_cpp_err=$ac_cxx_preproc_warn_flag
5573
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5580
if test -z "$ac_cpp_err"; then
5581
# Broken: success on invalid input.
5584
echo "$as_me: failed program was:" >&5
5585
sed 's/^/| /' conftest.$ac_ext >&5
5587
# Passes both tests.
5591
rm -f conftest.err conftest.$ac_ext
5594
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5595
rm -f conftest.err conftest.$ac_ext
5596
if $ac_preproc_ok; then
5601
ac_cv_prog_CXXCPP=$CXXCPP
5604
CXXCPP=$ac_cv_prog_CXXCPP
5606
ac_cv_prog_CXXCPP=$CXXCPP
5608
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5609
echo "${ECHO_T}$CXXCPP" >&6
5611
for ac_cxx_preproc_warn_flag in '' yes
5613
# Use a header file that comes with gcc, so configuring glibc
5614
# with a fresh cross-compiler works.
5615
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5616
# <limits.h> exists even on freestanding compilers.
5617
# On the NeXT, cc -E runs the code through the compiler's parser,
5618
# not just through cpp. "Syntax error" is here to catch this case.
5619
cat >conftest.$ac_ext <<_ACEOF
5622
cat confdefs.h >>conftest.$ac_ext
5623
cat >>conftest.$ac_ext <<_ACEOF
5624
/* end confdefs.h. */
5626
# include <limits.h>
5628
# include <assert.h>
5632
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5633
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5635
grep -v '^ *+' conftest.er1 >conftest.err
5637
cat conftest.err >&5
5638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639
(exit $ac_status); } >/dev/null; then
5640
if test -s conftest.err; then
5641
ac_cpp_err=$ac_cxx_preproc_warn_flag
5642
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5649
if test -z "$ac_cpp_err"; then
5652
echo "$as_me: failed program was:" >&5
5653
sed 's/^/| /' conftest.$ac_ext >&5
5655
# Broken: fails on valid input.
5658
rm -f conftest.err conftest.$ac_ext
5660
# OK, works on sane cases. Now check whether non-existent headers
5661
# can be detected and how.
5662
cat >conftest.$ac_ext <<_ACEOF
5665
cat confdefs.h >>conftest.$ac_ext
5666
cat >>conftest.$ac_ext <<_ACEOF
5667
/* end confdefs.h. */
5668
#include <ac_nonexistent.h>
5670
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5671
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5673
grep -v '^ *+' conftest.er1 >conftest.err
5675
cat conftest.err >&5
5676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677
(exit $ac_status); } >/dev/null; then
5678
if test -s conftest.err; then
5679
ac_cpp_err=$ac_cxx_preproc_warn_flag
5680
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5687
if test -z "$ac_cpp_err"; then
5688
# Broken: success on invalid input.
5691
echo "$as_me: failed program was:" >&5
5692
sed 's/^/| /' conftest.$ac_ext >&5
5694
# Passes both tests.
5698
rm -f conftest.err conftest.$ac_ext
5701
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5702
rm -f conftest.err conftest.$ac_ext
5703
if $ac_preproc_ok; then
5706
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5707
See \`config.log' for more details." >&5
5708
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5709
See \`config.log' for more details." >&2;}
5710
{ (exit 1); exit 1; }; }
5714
ac_cpp='$CXXCPP $CPPFLAGS'
5715
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5716
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5717
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5221
5723
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5222
5724
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7168
7703
darwin* | rhapsody*)
7169
if test "$GXX" = yes ; then
7705
rhapsody* | darwin1.[012])
7706
allow_undefined_flag='${wl}-undefined ${wl}suppress'
7709
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7710
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7712
case ${MACOSX_DEPLOYMENT_TARGET} in
7714
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7717
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7170
7723
archive_cmds_need_lc=no
7172
rhapsody* | darwin1.[012])
7173
allow_undefined_flag='-undefined suppress'
7176
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7177
allow_undefined_flag='-flat_namespace -undefined suppress'
7179
case ${MACOSX_DEPLOYMENT_TARGET} in
7181
allow_undefined_flag='-flat_namespace -undefined suppress'
7184
allow_undefined_flag='-undefined dynamic_lookup'
7190
lt_int_apple_cc_single_mod=no
7191
output_verbose_link_cmd='echo'
7192
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7193
lt_int_apple_cc_single_mod=yes
7195
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7196
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7198
archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7200
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7201
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7202
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7203
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7205
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7207
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7208
7724
hardcode_direct=no
7209
7725
hardcode_automatic=yes
7210
7726
hardcode_shlibpath_var=unsupported
7211
whole_archive_flag_spec='-all_load $convenience'
7727
whole_archive_flag_spec=''
7212
7728
link_all_deplibs=yes
7729
if test "$GCC" = yes ; then
7730
output_verbose_link_cmd='echo'
7731
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7732
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7733
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7734
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7735
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7737
case "$cc_basename" in
7739
output_verbose_link_cmd='echo'
7740
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7741
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7742
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7743
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7744
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9047
9583
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9048
9584
test "$enable_shared" = yes && enable_static=no
9051
darwin* | rhapsody*)
9052
if test "$GCC" = yes; then
9053
archive_cmds_need_lc=no
9055
rhapsody* | darwin1.[012])
9056
allow_undefined_flag='-undefined suppress'
9059
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9060
allow_undefined_flag='-flat_namespace -undefined suppress'
9062
case ${MACOSX_DEPLOYMENT_TARGET} in
9064
allow_undefined_flag='-flat_namespace -undefined suppress'
9067
allow_undefined_flag='-undefined dynamic_lookup'
9073
output_verbose_link_cmd='echo'
9074
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9075
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9076
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9077
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9078
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9080
hardcode_automatic=yes
9081
hardcode_shlibpath_var=unsupported
9082
whole_archive_flag_spec='-all_load $convenience'
9083
link_all_deplibs=yes
9089
9588
echo "$as_me:$LINENO: result: $enable_shared" >&5
10127
10629
ld_shlibs_CXX=no
10131
darwin* | rhapsody*)
10132
if test "$GXX" = yes; then
10133
archive_cmds_need_lc_CXX=no
10135
rhapsody* | darwin1.[012])
10136
allow_undefined_flag_CXX='-undefined suppress'
10139
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10140
allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10142
case ${MACOSX_DEPLOYMENT_TARGET} in
10144
allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10147
allow_undefined_flag_CXX='-undefined dynamic_lookup'
10632
darwin* | rhapsody*)
10634
rhapsody* | darwin1.[012])
10635
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10638
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10639
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10641
case ${MACOSX_DEPLOYMENT_TARGET} in
10643
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10646
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10153
lt_int_apple_cc_single_mod=no
10154
output_verbose_link_cmd='echo'
10155
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10156
lt_int_apple_cc_single_mod=yes
10158
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10159
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10161
archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10163
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10652
archive_cmds_need_lc_CXX=no
10653
hardcode_direct_CXX=no
10654
hardcode_automatic_CXX=yes
10655
hardcode_shlibpath_var_CXX=unsupported
10656
whole_archive_flag_spec_CXX=''
10657
link_all_deplibs_CXX=yes
10165
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10166
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10167
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10169
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10171
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10172
hardcode_direct_CXX=no
10173
hardcode_automatic_CXX=yes
10174
hardcode_shlibpath_var_CXX=unsupported
10175
whole_archive_flag_spec_CXX='-all_load $convenience'
10176
link_all_deplibs_CXX=yes
10659
if test "$GXX" = yes ; then
10660
lt_int_apple_cc_single_mod=no
10661
output_verbose_link_cmd='echo'
10662
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10663
lt_int_apple_cc_single_mod=yes
10665
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10666
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10668
archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10670
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10671
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10672
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10673
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10675
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10677
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10679
case "$cc_basename" in
10681
output_verbose_link_cmd='echo'
10682
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10683
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10684
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10685
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10686
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10183
10696
case $cc_basename in
14015
14575
darwin* | rhapsody*)
14016
if test "$GXX" = yes ; then
14577
rhapsody* | darwin1.[012])
14578
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14581
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14582
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14584
case ${MACOSX_DEPLOYMENT_TARGET} in
14586
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14589
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14017
14595
archive_cmds_need_lc_F77=no
14019
rhapsody* | darwin1.[012])
14020
allow_undefined_flag_F77='-undefined suppress'
14023
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14024
allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14026
case ${MACOSX_DEPLOYMENT_TARGET} in
14028
allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14031
allow_undefined_flag_F77='-undefined dynamic_lookup'
14037
lt_int_apple_cc_single_mod=no
14038
output_verbose_link_cmd='echo'
14039
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14040
lt_int_apple_cc_single_mod=yes
14042
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14043
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14045
archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14047
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14048
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14049
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14050
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14052
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14054
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14055
14596
hardcode_direct_F77=no
14056
14597
hardcode_automatic_F77=yes
14057
14598
hardcode_shlibpath_var_F77=unsupported
14058
whole_archive_flag_spec_F77='-all_load $convenience'
14599
whole_archive_flag_spec_F77=''
14059
14600
link_all_deplibs_F77=yes
14601
if test "$GCC" = yes ; then
14602
output_verbose_link_cmd='echo'
14603
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14604
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14605
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14606
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14607
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14609
case "$cc_basename" in
14611
output_verbose_link_cmd='echo'
14612
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14613
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14614
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14615
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14616
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16362
16933
darwin* | rhapsody*)
16363
if test "$GXX" = yes ; then
16935
rhapsody* | darwin1.[012])
16936
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16939
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16940
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16942
case ${MACOSX_DEPLOYMENT_TARGET} in
16944
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16947
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
16364
16953
archive_cmds_need_lc_GCJ=no
16366
rhapsody* | darwin1.[012])
16367
allow_undefined_flag_GCJ='-undefined suppress'
16370
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16371
allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16373
case ${MACOSX_DEPLOYMENT_TARGET} in
16375
allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16378
allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16384
lt_int_apple_cc_single_mod=no
16385
output_verbose_link_cmd='echo'
16386
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16387
lt_int_apple_cc_single_mod=yes
16389
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16390
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16392
archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16394
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16395
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16396
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16397
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16399
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16401
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16402
16954
hardcode_direct_GCJ=no
16403
16955
hardcode_automatic_GCJ=yes
16404
16956
hardcode_shlibpath_var_GCJ=unsupported
16405
whole_archive_flag_spec_GCJ='-all_load $convenience'
16957
whole_archive_flag_spec_GCJ=''
16406
16958
link_all_deplibs_GCJ=yes
16959
if test "$GCC" = yes ; then
16960
output_verbose_link_cmd='echo'
16961
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16962
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16963
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16964
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16965
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16967
case "$cc_basename" in
16969
output_verbose_link_cmd='echo'
16970
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16971
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16972
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16973
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16974
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19702
echo "$as_me:$LINENO: checking for some Win32 platform" >&5
19703
echo $ECHO_N "checking for some Win32 platform... $ECHO_C" >&6
19705
*-*-mingw*|*-*-cygwin*)
19712
echo "$as_me:$LINENO: result: $platform_win32" >&5
19713
echo "${ECHO_T}$platform_win32" >&6
19716
if test "$platform_win32" = "yes"; then
19717
PLATFORM_WIN32_TRUE=
19718
PLATFORM_WIN32_FALSE='#'
19720
PLATFORM_WIN32_TRUE='#'
19721
PLATFORM_WIN32_FALSE=
19725
# Ensure MSVC-compatible struct packing convention is used when
19726
# compiling for Win32 with gcc.
19727
# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
19728
# gcc2 uses "-fnative-struct".
19729
if test x"$platform_win32" = xyes; then
19730
if test x"$GCC" = xyes; then
19732
echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5
19733
echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6
19734
if test -z "$ac_cv_prog_CC"; then
19737
our_gcc="$ac_cv_prog_CC"
19739
case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
19741
if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
19742
msnative_struct='-fnative-struct'
19746
if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
19747
msnative_struct='-mms-bitfields'
19751
if test x"$msnative_struct" = x ; then
19752
echo "$as_me:$LINENO: result: no way" >&5
19753
echo "${ECHO_T}no way" >&6
19754
{ echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
19755
echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
19757
CXXFLAGS="$CXXFLAGS $msnative_struct"
19758
echo "$as_me:$LINENO: result: ${msnative_struct}" >&5
19759
echo "${ECHO_T}${msnative_struct}" >&6
20020
glibmm_perl_result=no
20022
for ac_prog in perl perl5
20024
# Extract the first word of "$ac_prog", so it can be a program name with args.
20025
set dummy $ac_prog; ac_word=$2
20026
echo "$as_me:$LINENO: checking for $ac_word" >&5
20027
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20028
if test "${ac_cv_path_PERL_PATH+set}" = set; then
20029
echo $ECHO_N "(cached) $ECHO_C" >&6
20033
ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
20036
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20037
for as_dir in $PATH
20040
test -z "$as_dir" && as_dir=.
20041
for ac_exec_ext in '' $ac_executable_extensions; do
20042
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20043
ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
20044
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20053
PERL_PATH=$ac_cv_path_PERL_PATH
20055
if test -n "$PERL_PATH"; then
20056
echo "$as_me:$LINENO: result: $PERL_PATH" >&5
20057
echo "${ECHO_T}$PERL_PATH" >&6
20059
echo "$as_me:$LINENO: result: no" >&5
20060
echo "${ECHO_T}no" >&6
20063
test -n "$PERL_PATH" && break
20065
test -n "$PERL_PATH" || PERL_PATH="not found"
20068
if test "x$PERL_PATH" != "xnot found"; then
20070
echo "$as_me:$LINENO: checking whether Perl is new enough" >&5
20071
echo $ECHO_N "checking whether Perl is new enough... $ECHO_C" >&6
20072
if test "${glibmm_cv_perl_version_5_6_0+set}" = set; then
20073
echo $ECHO_N "(cached) $ECHO_C" >&6
20076
glibmm_cv_perl_version_5_6_0=no
20077
"$PERL_PATH" -e "require v5.6.0; exit 0;" >/dev/null 2>&1 && glibmm_cv_perl_version_5_6_0=yes
20080
echo "$as_me:$LINENO: result: $glibmm_cv_perl_version_5_6_0" >&5
20081
echo "${ECHO_T}$glibmm_cv_perl_version_5_6_0" >&6
20082
test "x${glibmm_cv_perl_version_5_6_0}" = xyes && glibmm_perl_result=yes
20086
# Make sure we have something sensible, even if it doesn't work.
20091
if test "x$glibmm_perl_result" = xno && test "x$USE_MAINTAINER_MODE" = xyes; then
20093
{ { echo "$as_me:$LINENO: error:
20094
*** Perl >= 5.6.0 is required for building $PACKAGE in maintainer-mode.
20096
echo "$as_me: error:
20097
*** Perl >= 5.6.0 is required for building $PACKAGE in maintainer-mode.
20099
{ (exit 1); exit 1; }; }
19385
20106
# Dummy conditional just to make automake-1.4 happy.
19386
20107
# We need an always-false condition in docs/Makefile.am.
20007
20738
"examples/sax_exception/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/sax_exception/Makefile" ;;
20008
20739
"examples/import_node/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/import_node/Makefile" ;;
20009
20740
"examples/textreader/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/textreader/Makefile" ;;
20741
"examples/dtdvalidation/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/dtdvalidation/Makefile" ;;
20010
20742
"win32_msvc6/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32_msvc6/Makefile" ;;
20011
20743
"win32_msvc6/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32_msvc6/examples/Makefile" ;;
20744
"MSVC_Net2003/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/Makefile" ;;
20745
"MSVC_Net2003/libxml++/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/libxml++/Makefile" ;;
20746
"MSVC_Net2003/libxml++/libxml++.rc" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/libxml++/libxml++.rc" ;;
20747
"MSVC_Net2003/gendef/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gendef/Makefile" ;;
20748
"MSVC_Net2003/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/Makefile" ;;
20749
"MSVC_Net2003/examples/dom_build/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/dom_build/Makefile" ;;
20750
"MSVC_Net2003/examples/dom_parse_entities/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/dom_parse_entities/Makefile" ;;
20751
"MSVC_Net2003/examples/dom_parser/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/dom_parser/Makefile" ;;
20752
"MSVC_Net2003/examples/dom_read_write/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/dom_read_write/Makefile" ;;
20753
"MSVC_Net2003/examples/dom_xpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/dom_xpath/Makefile" ;;
20754
"MSVC_Net2003/examples/dtdvalidation/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/dtdvalidation/Makefile" ;;
20755
"MSVC_Net2003/examples/import_node/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/import_node/Makefile" ;;
20756
"MSVC_Net2003/examples/sax_exception/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/sax_exception/Makefile" ;;
20757
"MSVC_Net2003/examples/sax_parser/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/sax_parser/Makefile" ;;
20758
"MSVC_Net2003/examples/sax_parser_build_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/sax_parser_build_dom/Makefile" ;;
20759
"MSVC_Net2003/examples/sax_parser_entities/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/sax_parser_entities/Makefile" ;;
20760
"MSVC_Net2003/examples/textreader/Makefile" ) CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/textreader/Makefile" ;;
20012
20761
"libxml++-2.6.pc" ) CONFIG_FILES="$CONFIG_FILES libxml++-2.6.pc" ;;
20013
20762
"libxml++.spec" ) CONFIG_FILES="$CONFIG_FILES libxml++.spec" ;;
20014
20763
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20158
20910
s,@ac_ct_AR@,$ac_ct_AR,;t t
20159
20911
s,@RANLIB@,$RANLIB,;t t
20160
20912
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20913
s,@DLLTOOL@,$DLLTOOL,;t t
20914
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20916
s,@ac_ct_AS@,$ac_ct_AS,;t t
20917
s,@OBJDUMP@,$OBJDUMP,;t t
20918
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
20161
20919
s,@CPP@,$CPP,;t t
20162
20920
s,@F77@,$F77,;t t
20163
20921
s,@FFLAGS@,$FFLAGS,;t t
20164
20922
s,@ac_ct_F77@,$ac_ct_F77,;t t
20165
20923
s,@LIBTOOL@,$LIBTOOL,;t t
20924
s,@PLATFORM_WIN32_TRUE@,$PLATFORM_WIN32_TRUE,;t t
20925
s,@PLATFORM_WIN32_FALSE@,$PLATFORM_WIN32_FALSE,;t t
20166
20926
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20167
20927
s,@LIBXML_CFLAGS@,$LIBXML_CFLAGS,;t t
20168
20928
s,@LIBXML_LIBS@,$LIBXML_LIBS,;t t
20929
s,@PERL_PATH@,$PERL_PATH,;t t
20169
20930
s,@LIBXMLCPP_FALSE_TRUE@,$LIBXMLCPP_FALSE_TRUE,;t t
20170
20931
s,@LIBXMLCPP_FALSE_FALSE@,$LIBXMLCPP_FALSE_FALSE,;t t
20171
20932
s,@LIBOBJS@,$LIBOBJS,;t t
20550
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
20551
# Extract the definition of DEP_FILES from the Makefile without
21311
# Extract the definition of DEPDIR, am__include, and am__quote
21312
# from the Makefile without running `make'.
20553
21313
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20554
21314
test -z "$DEPDIR" && continue
21315
am__include=`sed -n 's/^am__include = //p' < "$mf"`
21316
test -z "am__include" && continue
21317
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20555
21318
# When using ansi2knr, U may be empty or an underscore; expand it
20556
21319
U=`sed -n 's/^U = //p' < "$mf"`
20557
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
20558
# We invoke sed twice because it is the simplest approach to
20559
# changing $(DEPDIR) to its actual value in the expansion.
20560
for file in `sed -n '
20561
/^DEP_FILES = .*\\\\$/ {
20570
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
21320
# Find all dependency output files, they are included files with
21321
# $(DEPDIR) in their names. We invoke sed twice because it is the
21322
# simplest approach to changing $(DEPDIR) to its actual value in the
21324
for file in `sed -n "
21325
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20571
21326
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20572
21327
# Make sure the directory exists.
20573
21328
test -f "$dirpart/$file" && continue