5106
5120
lt_cv_sys_max_cmd_len=8192;
5123
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5124
# This has been around since 386BSD, at least. Likely further.
5125
if test -x /sbin/sysctl; then
5126
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5127
elif test -x /usr/sbin/sysctl; then
5128
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5130
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5132
# And add a safety zone
5133
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5134
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5137
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5138
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5139
# nice to cause kernel panics so lets avoid the loop below.
5140
# First set a reasonable default.
5141
lt_cv_sys_max_cmd_len=16384
5143
if test -x /sbin/sysconfig; then
5144
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5145
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5110
5150
# If test is not a shell built-in, we'll probably end up computing a
5111
5151
# maximum length that is only half of the actual maximum length, but
5112
5152
# we can't tell.
5113
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5153
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5154
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5114
5155
= "XX$teststring") >/dev/null 2>&1 &&
5115
5156
new_result=`expr "X$teststring" : ".*" 2>&1` &&
5116
5157
lt_cv_sys_max_cmd_len=$new_result &&
5951
6029
# with a dollar sign (not a hyphen), so the echo should work correctly.
5952
6030
# The option is referenced via a variable to avoid confusing sed.
5953
6031
lt_compile=`echo "$ac_compile" | $SED \
5954
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6032
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5955
6033
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5956
6034
-e 's:$: $lt_compiler_flag:'`
5957
(eval echo "\"\$as_me:5957: $lt_compile\"" >&5)
6035
(eval echo "\"\$as_me:6035: $lt_compile\"" >&5)
5958
6036
(eval "$lt_compile" 2>conftest.err)
5960
6038
cat conftest.err >&5
5961
echo "$as_me:5961: \$? = $ac_status" >&5
6039
echo "$as_me:6039: \$? = $ac_status" >&5
5962
6040
if (exit $ac_status) && test -s "$ac_outfile"; then
5963
6041
# The compiler can only warn and ignore the option if not recognized
5964
# So say no if there are warnings
5965
if test ! -s conftest.err; then
6042
# So say no if there are warnings other than the usual output.
6043
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6044
$SED '/^$/d' conftest.err >conftest.er2
6045
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
5966
6046
lt_cv_prog_compiler_rtti_exceptions=yes
6184
6291
# with a dollar sign (not a hyphen), so the echo should work correctly.
6185
6292
# The option is referenced via a variable to avoid confusing sed.
6186
6293
lt_compile=`echo "$ac_compile" | $SED \
6187
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6294
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6188
6295
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6189
6296
-e 's:$: $lt_compiler_flag:'`
6190
(eval echo "\"\$as_me:6190: $lt_compile\"" >&5)
6297
(eval echo "\"\$as_me:6297: $lt_compile\"" >&5)
6191
6298
(eval "$lt_compile" 2>conftest.err)
6193
6300
cat conftest.err >&5
6194
echo "$as_me:6194: \$? = $ac_status" >&5
6301
echo "$as_me:6301: \$? = $ac_status" >&5
6195
6302
if (exit $ac_status) && test -s "$ac_outfile"; then
6196
6303
# The compiler can only warn and ignore the option if not recognized
6197
# So say no if there are warnings
6198
if test ! -s conftest.err; then
6304
# So say no if there are warnings other than the usual output.
6305
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6306
$SED '/^$/d' conftest.err >conftest.er2
6307
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6199
6308
lt_prog_compiler_pic_works=yes
6244
6353
# Note that $ac_compile itself does not contain backslashes and begins
6245
6354
# with a dollar sign (not a hyphen), so the echo should work correctly.
6246
6355
lt_compile=`echo "$ac_compile" | $SED \
6247
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6356
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6248
6357
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6249
6358
-e 's:$: $lt_compiler_flag:'`
6250
(eval echo "\"\$as_me:6250: $lt_compile\"" >&5)
6359
(eval echo "\"\$as_me:6359: $lt_compile\"" >&5)
6251
6360
(eval "$lt_compile" 2>out/conftest.err)
6253
6362
cat out/conftest.err >&5
6254
echo "$as_me:6254: \$? = $ac_status" >&5
6363
echo "$as_me:6363: \$? = $ac_status" >&5
6255
6364
if (exit $ac_status) && test -s out/conftest2.$ac_objext
6257
6366
# The compiler can only warn and ignore the option if not recognized
6258
6367
# So say no if there are warnings
6259
if test ! -s out/conftest.err; then
6368
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6369
$SED '/^$/d' out/conftest.err >out/conftest.er2
6370
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6260
6371
lt_cv_prog_compiler_c_o=yes
6265
6376
# SGI C++ compiler will create directory out/ii_files/ for
6266
6377
# template instantiation
6356
6477
# If archive_cmds runs LD, not CC, wlarc should be empty
6480
# Set some defaults for GNU ld with shared library support. These
6481
# are reset later if shared libraries are not supported. Putting them
6482
# here allows them to be overridden if necessary.
6483
runpath_var=LD_RUN_PATH
6484
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6485
export_dynamic_flag_spec='${wl}--export-dynamic'
6486
# ancient GNU ld didn't support --whole-archive et. al.
6487
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6488
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6490
whole_archive_flag_spec=
6492
supports_anon_versioning=no
6493
case `$LD -v 2>/dev/null` in
6494
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6495
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6496
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6497
*\ 2.11.*) ;; # other 2.11 versions
6498
*) supports_anon_versioning=yes ;;
6359
6501
# See if GNU ld supports shared libraries.
6360
6502
case $host_os in
6361
6503
aix3* | aix4* | aix5*)
6570
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6572
case $cc_basename,$host_cpu in
6573
pgcc*) # Portland Group C compiler
6574
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6575
tmp_addflag=' $pic_flag'
6577
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6578
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6579
tmp_addflag=' $pic_flag -Mnomain' ;;
6580
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6581
tmp_addflag=' -i_dynamic' ;;
6582
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6583
tmp_addflag=' -i_dynamic -nofor_main' ;;
6584
ifc* | ifort*) # Intel Fortran compiler
6585
tmp_addflag=' -nofor_main' ;;
6587
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6589
if test $supports_anon_versioning = yes; then
6590
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6591
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6592
$echo "local: *; };" >> $output_objdir/$libname.ver~
6593
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6427
6601
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6428
6602
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6429
6603
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6462
6636
hardcode_shlibpath_var=no
6466
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6467
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6468
archive_cmds="$tmp_archive_cmds"
6469
supports_anon_versioning=no
6470
case `$LD -v 2>/dev/null` in
6471
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6472
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6473
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6474
*\ 2.11.*) ;; # other 2.11 versions
6475
*) supports_anon_versioning=yes ;;
6477
if test $supports_anon_versioning = yes; then
6478
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6479
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6480
$echo "local: *; };" >> $output_objdir/$libname.ver~
6481
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6483
archive_expsym_cmds="$tmp_archive_cmds"
6492
6640
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6493
6641
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6778
6924
darwin* | rhapsody*)
6779
if test "$GXX" = yes ; then
6926
rhapsody* | darwin1.[012])
6927
allow_undefined_flag='${wl}-undefined ${wl}suppress'
6930
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6931
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6933
case ${MACOSX_DEPLOYMENT_TARGET} in
6935
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6938
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
6780
6944
archive_cmds_need_lc=no
6782
rhapsody* | darwin1.[012])
6783
allow_undefined_flag='-undefined suppress'
6786
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6787
allow_undefined_flag='-flat_namespace -undefined suppress'
6789
case ${MACOSX_DEPLOYMENT_TARGET} in
6791
allow_undefined_flag='-flat_namespace -undefined suppress'
6794
allow_undefined_flag='-undefined dynamic_lookup'
6800
lt_int_apple_cc_single_mod=no
6801
output_verbose_link_cmd='echo'
6802
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
6803
lt_int_apple_cc_single_mod=yes
6805
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6806
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6808
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'
6810
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6811
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
6812
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6813
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}'
6815
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}'
6817
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}'
6818
6945
hardcode_direct=no
6819
6946
hardcode_automatic=yes
6820
6947
hardcode_shlibpath_var=unsupported
6821
whole_archive_flag_spec='-all_load $convenience'
6948
whole_archive_flag_spec=''
6822
6949
link_all_deplibs=yes
6950
if test "$GCC" = yes ; then
6951
output_verbose_link_cmd='echo'
6952
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6953
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6954
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6955
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}'
6956
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}'
6958
case $cc_basename in
6960
output_verbose_link_cmd='echo'
6961
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6962
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6963
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6964
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}'
6965
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}'
8662
8835
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8663
8836
test "$enable_shared" = yes && enable_static=no
8666
darwin* | rhapsody*)
8667
if test "$GCC" = yes; then
8668
archive_cmds_need_lc=no
8670
rhapsody* | darwin1.[012])
8671
allow_undefined_flag='-undefined suppress'
8674
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8675
allow_undefined_flag='-flat_namespace -undefined suppress'
8677
case ${MACOSX_DEPLOYMENT_TARGET} in
8679
allow_undefined_flag='-flat_namespace -undefined suppress'
8682
allow_undefined_flag='-undefined dynamic_lookup'
8688
output_verbose_link_cmd='echo'
8689
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8690
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8691
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8692
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}'
8693
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}'
8695
hardcode_automatic=yes
8696
hardcode_shlibpath_var=unsupported
8697
whole_archive_flag_spec='-all_load $convenience'
8698
link_all_deplibs=yes
8704
8840
echo "$as_me:$LINENO: result: $enable_shared" >&5
9740
9911
ld_shlibs_CXX=no
9744
darwin* | rhapsody*)
9745
if test "$GXX" = yes; then
9746
archive_cmds_need_lc_CXX=no
9748
rhapsody* | darwin1.[012])
9749
allow_undefined_flag_CXX='-undefined suppress'
9752
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9753
allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9755
case ${MACOSX_DEPLOYMENT_TARGET} in
9757
allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9760
allow_undefined_flag_CXX='-undefined dynamic_lookup'
9914
darwin* | rhapsody*)
9916
rhapsody* | darwin1.[012])
9917
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
9920
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9921
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9923
case ${MACOSX_DEPLOYMENT_TARGET} in
9925
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9928
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
9766
lt_int_apple_cc_single_mod=no
9767
output_verbose_link_cmd='echo'
9768
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9769
lt_int_apple_cc_single_mod=yes
9771
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9772
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9774
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'
9776
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9934
archive_cmds_need_lc_CXX=no
9935
hardcode_direct_CXX=no
9936
hardcode_automatic_CXX=yes
9937
hardcode_shlibpath_var_CXX=unsupported
9938
whole_archive_flag_spec_CXX=''
9939
link_all_deplibs_CXX=yes
9778
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9779
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9780
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}'
9782
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}'
9784
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}'
9785
hardcode_direct_CXX=no
9786
hardcode_automatic_CXX=yes
9787
hardcode_shlibpath_var_CXX=unsupported
9788
whole_archive_flag_spec_CXX='-all_load $convenience'
9789
link_all_deplibs_CXX=yes
9941
if test "$GXX" = yes ; then
9942
lt_int_apple_cc_single_mod=no
9943
output_verbose_link_cmd='echo'
9944
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
9945
lt_int_apple_cc_single_mod=yes
9947
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9948
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9950
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'
9952
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9953
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9954
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9955
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}'
9957
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}'
9959
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}'
9961
case $cc_basename in
9963
output_verbose_link_cmd='echo'
9964
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'
9965
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9966
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9967
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}'
9968
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}'
9796
9978
case $cc_basename in
9798
9980
# FIXME: insert proper C++ library support
9799
9981
ld_shlibs_CXX=no
9802
9984
# Green Hills C++ Compiler
9803
9985
# FIXME: insert proper C++ library support
9804
9986
ld_shlibs_CXX=no
9993
10175
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
9994
10176
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
9998
10180
with_gnu_ld=yes
10181
# version 8.0 and above of icpc choke on multiply defined symbols
10182
# if we add $predep_objects and $postdep_objects, however 7.1 and
10183
# earlier do not add the objects themselves.
10184
case `$CC -V 2>&1` in
10186
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10189
*) # Version 8.0 or newer
10192
ia64*) tmp_idyn=' -i_dynamic';;
10194
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10195
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9999
10198
archive_cmds_need_lc_CXX=no
10000
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10001
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10002
10199
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10003
10200
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10004
10201
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10204
# Portland Group C++ compiler
10205
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10206
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10208
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10209
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10210
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10008
10214
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10009
10215
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10217
10439
case $cc_basename in
10219
10441
# Sun C++ 4.2, 5.x and Centerline C++
10442
archive_cmds_need_lc_CXX=yes
10220
10443
no_undefined_flag_CXX=' -zdefs'
10221
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10444
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10222
10445
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10223
$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10446
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10225
10448
hardcode_libdir_flag_spec_CXX='-R$libdir'
10226
10449
hardcode_shlibpath_var_CXX=no
10227
10450
case $host_os in
10228
solaris2.0-5 | solaris2.0-5.*) ;;
10451
solaris2.[0-5] | solaris2.[0-5].*) ;;
10230
10453
# The C++ compiler is used as linker so we must use $wl
10231
10454
# flag to pass the commands to the underlying system
10455
# linker. We must also pass each convience library through
10456
# to the system linker between allextract/defaultextract.
10457
# The C++ compiler will combine linker options so we
10458
# cannot just pass the convience library names through
10233
10460
# Supported since Solaris 2.6 (maybe 2.5.1?)
10234
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10461
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10237
10464
link_all_deplibs_CXX=yes
10239
# Commands to make compiler produce verbose output that lists
10240
# what "hidden" libraries, object files and flags are used when
10241
# linking a shared library.
10243
# There doesn't appear to be a way to prevent this compiler from
10244
# explicitly linking system object files so we need to strip them
10245
# from the output so that they don't get included in the library
10247
output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10466
output_verbose_link_cmd='echo'
10249
10468
# Archives containing C++ object files must be created using
10250
10469
# "CC -xar", where "CC" is the Sun C++ compiler. This is
10711
10960
# with a dollar sign (not a hyphen), so the echo should work correctly.
10712
10961
# The option is referenced via a variable to avoid confusing sed.
10713
10962
lt_compile=`echo "$ac_compile" | $SED \
10714
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10963
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10715
10964
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10716
10965
-e 's:$: $lt_compiler_flag:'`
10717
(eval echo "\"\$as_me:10717: $lt_compile\"" >&5)
10966
(eval echo "\"\$as_me:10966: $lt_compile\"" >&5)
10718
10967
(eval "$lt_compile" 2>conftest.err)
10720
10969
cat conftest.err >&5
10721
echo "$as_me:10721: \$? = $ac_status" >&5
10970
echo "$as_me:10970: \$? = $ac_status" >&5
10722
10971
if (exit $ac_status) && test -s "$ac_outfile"; then
10723
10972
# The compiler can only warn and ignore the option if not recognized
10724
# So say no if there are warnings
10725
if test ! -s conftest.err; then
10973
# So say no if there are warnings other than the usual output.
10974
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
10975
$SED '/^$/d' conftest.err >conftest.er2
10976
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
10726
10977
lt_prog_compiler_pic_works_CXX=yes
10771
11022
# Note that $ac_compile itself does not contain backslashes and begins
10772
11023
# with a dollar sign (not a hyphen), so the echo should work correctly.
10773
11024
lt_compile=`echo "$ac_compile" | $SED \
10774
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11025
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10775
11026
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10776
11027
-e 's:$: $lt_compiler_flag:'`
10777
(eval echo "\"\$as_me:10777: $lt_compile\"" >&5)
11028
(eval echo "\"\$as_me:11028: $lt_compile\"" >&5)
10778
11029
(eval "$lt_compile" 2>out/conftest.err)
10780
11031
cat out/conftest.err >&5
10781
echo "$as_me:10781: \$? = $ac_status" >&5
11032
echo "$as_me:11032: \$? = $ac_status" >&5
10782
11033
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10784
11035
# The compiler can only warn and ignore the option if not recognized
10785
11036
# So say no if there are warnings
10786
if test ! -s out/conftest.err; then
11037
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
11038
$SED '/^$/d' out/conftest.err >out/conftest.er2
11039
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10787
11040
lt_cv_prog_compiler_c_o_CXX=yes
10791
11044
$rm conftest*
10792
11045
# SGI C++ compiler will create directory out/ii_files/ for
10793
11046
# template instantiation
13092
# save warnings/boilerplate of simple test code
13093
ac_outfile=conftest.$ac_objext
13094
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13095
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13096
_lt_compiler_boilerplate=`cat conftest.err`
13099
ac_outfile=conftest.$ac_objext
13100
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13101
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13102
_lt_linker_boilerplate=`cat conftest.err`
12819
13106
# Allow CC to be a program name with arguments.
12820
13107
lt_save_CC="$CC"
12821
13108
CC=${F77-"f77"}
12823
13110
compiler_F77=$CC
12824
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13111
for cc_temp in $compiler""; do
13113
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13114
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13119
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12826
13122
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12827
13123
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13065
13390
# with a dollar sign (not a hyphen), so the echo should work correctly.
13066
13391
# The option is referenced via a variable to avoid confusing sed.
13067
13392
lt_compile=`echo "$ac_compile" | $SED \
13068
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13393
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13069
13394
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13070
13395
-e 's:$: $lt_compiler_flag:'`
13071
(eval echo "\"\$as_me:13071: $lt_compile\"" >&5)
13396
(eval echo "\"\$as_me:13396: $lt_compile\"" >&5)
13072
13397
(eval "$lt_compile" 2>conftest.err)
13074
13399
cat conftest.err >&5
13075
echo "$as_me:13075: \$? = $ac_status" >&5
13400
echo "$as_me:13400: \$? = $ac_status" >&5
13076
13401
if (exit $ac_status) && test -s "$ac_outfile"; then
13077
13402
# The compiler can only warn and ignore the option if not recognized
13078
# So say no if there are warnings
13079
if test ! -s conftest.err; then
13403
# So say no if there are warnings other than the usual output.
13404
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13405
$SED '/^$/d' conftest.err >conftest.er2
13406
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13080
13407
lt_prog_compiler_pic_works_F77=yes
13125
13452
# Note that $ac_compile itself does not contain backslashes and begins
13126
13453
# with a dollar sign (not a hyphen), so the echo should work correctly.
13127
13454
lt_compile=`echo "$ac_compile" | $SED \
13128
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13455
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13129
13456
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13130
13457
-e 's:$: $lt_compiler_flag:'`
13131
(eval echo "\"\$as_me:13131: $lt_compile\"" >&5)
13458
(eval echo "\"\$as_me:13458: $lt_compile\"" >&5)
13132
13459
(eval "$lt_compile" 2>out/conftest.err)
13134
13461
cat out/conftest.err >&5
13135
echo "$as_me:13135: \$? = $ac_status" >&5
13462
echo "$as_me:13462: \$? = $ac_status" >&5
13136
13463
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13138
13465
# The compiler can only warn and ignore the option if not recognized
13139
13466
# So say no if there are warnings
13140
if test ! -s out/conftest.err; then
13467
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13468
$SED '/^$/d' out/conftest.err >out/conftest.er2
13469
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13141
13470
lt_cv_prog_compiler_c_o_F77=yes
13145
13474
$rm conftest*
13146
13475
# SGI C++ compiler will create directory out/ii_files/ for
13147
13476
# template instantiation
13237
13576
# If archive_cmds runs LD, not CC, wlarc should be empty
13238
13577
wlarc='${wl}'
13579
# Set some defaults for GNU ld with shared library support. These
13580
# are reset later if shared libraries are not supported. Putting them
13581
# here allows them to be overridden if necessary.
13582
runpath_var=LD_RUN_PATH
13583
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13584
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13585
# ancient GNU ld didn't support --whole-archive et. al.
13586
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13587
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13589
whole_archive_flag_spec_F77=
13591
supports_anon_versioning=no
13592
case `$LD -v 2>/dev/null` in
13593
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13594
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13595
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13596
*\ 2.11.*) ;; # other 2.11 versions
13597
*) supports_anon_versioning=yes ;;
13240
13600
# See if GNU ld supports shared libraries.
13241
13601
case $host_os in
13242
13602
aix3* | aix4* | aix5*)
13302
13662
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13669
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13671
case $cc_basename,$host_cpu in
13672
pgcc*) # Portland Group C compiler
13673
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13674
tmp_addflag=' $pic_flag'
13676
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13677
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13678
tmp_addflag=' $pic_flag -Mnomain' ;;
13679
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13680
tmp_addflag=' -i_dynamic' ;;
13681
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13682
tmp_addflag=' -i_dynamic -nofor_main' ;;
13683
ifc* | ifort*) # Intel Fortran compiler
13684
tmp_addflag=' -nofor_main' ;;
13686
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13688
if test $supports_anon_versioning = yes; then
13689
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13690
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13691
$echo "local: *; };" >> $output_objdir/$libname.ver~
13692
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13694
link_all_deplibs_F77=no
13343
13735
hardcode_shlibpath_var_F77=no
13347
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13348
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13349
archive_cmds_F77="$tmp_archive_cmds"
13350
supports_anon_versioning=no
13351
case `$LD -v 2>/dev/null` in
13352
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13353
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13354
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13355
*\ 2.11.*) ;; # other 2.11 versions
13356
*) supports_anon_versioning=yes ;;
13358
if test $supports_anon_versioning = yes; then
13359
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13360
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13361
$echo "local: *; };" >> $output_objdir/$libname.ver~
13362
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13364
archive_expsym_cmds_F77="$tmp_archive_cmds"
13366
link_all_deplibs_F77=no
13373
13739
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13374
13740
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13632
13996
old_archive_From_new_cmds_F77='true'
13633
13997
# FIXME: Should let the user specify the lib program.
13634
13998
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13635
fix_srcfile_path='`cygpath -w "$srcfile"`'
13999
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13636
14000
enable_shared_with_static_runtimes_F77=yes
13639
14003
darwin* | rhapsody*)
13640
if test "$GXX" = yes ; then
14005
rhapsody* | darwin1.[012])
14006
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14009
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14010
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14012
case ${MACOSX_DEPLOYMENT_TARGET} in
14014
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14017
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
13641
14023
archive_cmds_need_lc_F77=no
13643
rhapsody* | darwin1.[012])
13644
allow_undefined_flag_F77='-undefined suppress'
13647
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13648
allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13650
case ${MACOSX_DEPLOYMENT_TARGET} in
13652
allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13655
allow_undefined_flag_F77='-undefined dynamic_lookup'
13661
lt_int_apple_cc_single_mod=no
13662
output_verbose_link_cmd='echo'
13663
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13664
lt_int_apple_cc_single_mod=yes
13666
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13667
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13669
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'
13671
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13672
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13673
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13674
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}'
13676
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}'
13678
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}'
13679
14024
hardcode_direct_F77=no
13680
14025
hardcode_automatic_F77=yes
13681
14026
hardcode_shlibpath_var_F77=unsupported
13682
whole_archive_flag_spec_F77='-all_load $convenience'
14027
whole_archive_flag_spec_F77=''
13683
14028
link_all_deplibs_F77=yes
14029
if test "$GCC" = yes ; then
14030
output_verbose_link_cmd='echo'
14031
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14032
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14033
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14034
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}'
14035
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}'
14037
case $cc_basename in
14039
output_verbose_link_cmd='echo'
14040
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14041
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14042
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14043
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}'
14044
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}'
15539
# save warnings/boilerplate of simple test code
15540
ac_outfile=conftest.$ac_objext
15541
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15542
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15543
_lt_compiler_boilerplate=`cat conftest.err`
15546
ac_outfile=conftest.$ac_objext
15547
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15548
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15549
_lt_linker_boilerplate=`cat conftest.err`
15142
15553
# Allow CC to be a program name with arguments.
15143
15554
lt_save_CC="$CC"
15144
15555
CC=${GCJ-"gcj"}
15146
15557
compiler_GCJ=$CC
15558
for cc_temp in $compiler""; do
15560
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15561
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15566
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15148
15569
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15149
15570
archive_cmds_need_lc_GCJ=no
15572
old_archive_cmds_GCJ=$old_archive_cmds
15151
15574
## CAVEAT EMPTOR:
15152
15575
## There is no encapsulation within the following macros, do not change
15153
15576
## the running order or otherwise move them around unless you know exactly
15174
15597
# with a dollar sign (not a hyphen), so the echo should work correctly.
15175
15598
# The option is referenced via a variable to avoid confusing sed.
15176
15599
lt_compile=`echo "$ac_compile" | $SED \
15177
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15600
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15178
15601
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15179
15602
-e 's:$: $lt_compiler_flag:'`
15180
(eval echo "\"\$as_me:15180: $lt_compile\"" >&5)
15603
(eval echo "\"\$as_me:15603: $lt_compile\"" >&5)
15181
15604
(eval "$lt_compile" 2>conftest.err)
15183
15606
cat conftest.err >&5
15184
echo "$as_me:15184: \$? = $ac_status" >&5
15607
echo "$as_me:15607: \$? = $ac_status" >&5
15185
15608
if (exit $ac_status) && test -s "$ac_outfile"; then
15186
15609
# The compiler can only warn and ignore the option if not recognized
15187
# So say no if there are warnings
15188
if test ! -s conftest.err; then
15610
# So say no if there are warnings other than the usual output.
15611
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15612
$SED '/^$/d' conftest.err >conftest.er2
15613
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15189
15614
lt_cv_prog_compiler_rtti_exceptions=yes
15407
15859
# with a dollar sign (not a hyphen), so the echo should work correctly.
15408
15860
# The option is referenced via a variable to avoid confusing sed.
15409
15861
lt_compile=`echo "$ac_compile" | $SED \
15410
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15862
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15411
15863
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15412
15864
-e 's:$: $lt_compiler_flag:'`
15413
(eval echo "\"\$as_me:15413: $lt_compile\"" >&5)
15865
(eval echo "\"\$as_me:15865: $lt_compile\"" >&5)
15414
15866
(eval "$lt_compile" 2>conftest.err)
15416
15868
cat conftest.err >&5
15417
echo "$as_me:15417: \$? = $ac_status" >&5
15869
echo "$as_me:15869: \$? = $ac_status" >&5
15418
15870
if (exit $ac_status) && test -s "$ac_outfile"; then
15419
15871
# The compiler can only warn and ignore the option if not recognized
15420
# So say no if there are warnings
15421
if test ! -s conftest.err; then
15872
# So say no if there are warnings other than the usual output.
15873
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15874
$SED '/^$/d' conftest.err >conftest.er2
15875
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15422
15876
lt_prog_compiler_pic_works_GCJ=yes
15467
15921
# Note that $ac_compile itself does not contain backslashes and begins
15468
15922
# with a dollar sign (not a hyphen), so the echo should work correctly.
15469
15923
lt_compile=`echo "$ac_compile" | $SED \
15470
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15924
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15471
15925
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15472
15926
-e 's:$: $lt_compiler_flag:'`
15473
(eval echo "\"\$as_me:15473: $lt_compile\"" >&5)
15927
(eval echo "\"\$as_me:15927: $lt_compile\"" >&5)
15474
15928
(eval "$lt_compile" 2>out/conftest.err)
15476
15930
cat out/conftest.err >&5
15477
echo "$as_me:15477: \$? = $ac_status" >&5
15931
echo "$as_me:15931: \$? = $ac_status" >&5
15478
15932
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15480
15934
# The compiler can only warn and ignore the option if not recognized
15481
15935
# So say no if there are warnings
15482
if test ! -s out/conftest.err; then
15936
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
15937
$SED '/^$/d' out/conftest.err >out/conftest.er2
15938
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15483
15939
lt_cv_prog_compiler_c_o_GCJ=yes
15487
15943
$rm conftest*
15488
15944
# SGI C++ compiler will create directory out/ii_files/ for
15489
15945
# template instantiation
15579
16045
# If archive_cmds runs LD, not CC, wlarc should be empty
15580
16046
wlarc='${wl}'
16048
# Set some defaults for GNU ld with shared library support. These
16049
# are reset later if shared libraries are not supported. Putting them
16050
# here allows them to be overridden if necessary.
16051
runpath_var=LD_RUN_PATH
16052
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16053
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16054
# ancient GNU ld didn't support --whole-archive et. al.
16055
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16056
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16058
whole_archive_flag_spec_GCJ=
16060
supports_anon_versioning=no
16061
case `$LD -v 2>/dev/null` in
16062
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16063
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16064
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16065
*\ 2.11.*) ;; # other 2.11 versions
16066
*) supports_anon_versioning=yes ;;
15582
16069
# See if GNU ld supports shared libraries.
15583
16070
case $host_os in
15584
16071
aix3* | aix4* | aix5*)
15644
16131
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16138
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16140
case $cc_basename,$host_cpu in
16141
pgcc*) # Portland Group C compiler
16142
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16143
tmp_addflag=' $pic_flag'
16145
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
16146
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16147
tmp_addflag=' $pic_flag -Mnomain' ;;
16148
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16149
tmp_addflag=' -i_dynamic' ;;
16150
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16151
tmp_addflag=' -i_dynamic -nofor_main' ;;
16152
ifc* | ifort*) # Intel Fortran compiler
16153
tmp_addflag=' -nofor_main' ;;
16155
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16157
if test $supports_anon_versioning = yes; then
16158
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16159
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16160
$echo "local: *; };" >> $output_objdir/$libname.ver~
16161
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16163
link_all_deplibs_GCJ=no
15685
16204
hardcode_shlibpath_var_GCJ=no
15689
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15690
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15691
archive_cmds_GCJ="$tmp_archive_cmds"
15692
supports_anon_versioning=no
15693
case `$LD -v 2>/dev/null` in
15694
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15695
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15696
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15697
*\ 2.11.*) ;; # other 2.11 versions
15698
*) supports_anon_versioning=yes ;;
15700
if test $supports_anon_versioning = yes; then
15701
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15702
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15703
$echo "local: *; };" >> $output_objdir/$libname.ver~
15704
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15706
archive_expsym_cmds_GCJ="$tmp_archive_cmds"
15708
link_all_deplibs_GCJ=no
15715
16208
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15716
16209
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15994
16485
old_archive_From_new_cmds_GCJ='true'
15995
16486
# FIXME: Should let the user specify the lib program.
15996
16487
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15997
fix_srcfile_path='`cygpath -w "$srcfile"`'
16488
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
15998
16489
enable_shared_with_static_runtimes_GCJ=yes
16001
16492
darwin* | rhapsody*)
16002
if test "$GXX" = yes ; then
16494
rhapsody* | darwin1.[012])
16495
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16498
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16499
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16501
case ${MACOSX_DEPLOYMENT_TARGET} in
16503
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16506
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
16003
16512
archive_cmds_need_lc_GCJ=no
16005
rhapsody* | darwin1.[012])
16006
allow_undefined_flag_GCJ='-undefined suppress'
16009
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16010
allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16012
case ${MACOSX_DEPLOYMENT_TARGET} in
16014
allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16017
allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16023
lt_int_apple_cc_single_mod=no
16024
output_verbose_link_cmd='echo'
16025
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16026
lt_int_apple_cc_single_mod=yes
16028
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16029
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16031
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'
16033
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16034
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16035
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16036
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}'
16038
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}'
16040
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}'
16041
16513
hardcode_direct_GCJ=no
16042
16514
hardcode_automatic_GCJ=yes
16043
16515
hardcode_shlibpath_var_GCJ=unsupported
16044
whole_archive_flag_spec_GCJ='-all_load $convenience'
16516
whole_archive_flag_spec_GCJ=''
16045
16517
link_all_deplibs_GCJ=yes
16518
if test "$GCC" = yes ; then
16519
output_verbose_link_cmd='echo'
16520
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16521
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16522
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16523
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}'
16524
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}'
16526
case $cc_basename in
16528
output_verbose_link_cmd='echo'
16529
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16530
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16531
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16532
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}'
16533
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}'