7050
rhapsody* | darwin*)
7051
if test -n "$ac_tool_prefix"; then
7052
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7053
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7054
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7055
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7056
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7057
echo $ECHO_N "(cached) $ECHO_C" >&6
7059
if test -n "$DSYMUTIL"; then
7060
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066
test -z "$as_dir" && as_dir=.
7067
for ac_exec_ext in '' $ac_executable_extensions; do
7068
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7069
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7070
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7079
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7080
if test -n "$DSYMUTIL"; then
7081
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7082
echo "${ECHO_T}$DSYMUTIL" >&6; }
7084
{ echo "$as_me:$LINENO: result: no" >&5
7085
echo "${ECHO_T}no" >&6; }
7090
if test -z "$ac_cv_prog_DSYMUTIL"; then
7091
ac_ct_DSYMUTIL=$DSYMUTIL
7092
# Extract the first word of "dsymutil", so it can be a program name with args.
7093
set dummy dsymutil; ac_word=$2
7094
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7095
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7096
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7097
echo $ECHO_N "(cached) $ECHO_C" >&6
7099
if test -n "$ac_ct_DSYMUTIL"; then
7100
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106
test -z "$as_dir" && as_dir=.
7107
for ac_exec_ext in '' $ac_executable_extensions; do
7108
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7109
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7110
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7119
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7120
if test -n "$ac_ct_DSYMUTIL"; then
7121
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7122
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7124
{ echo "$as_me:$LINENO: result: no" >&5
7125
echo "${ECHO_T}no" >&6; }
7128
if test "x$ac_ct_DSYMUTIL" = x; then
7131
case $cross_compiling:$ac_tool_warned in
7133
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7134
whose name does not start with the host triplet. If you think this
7135
configuration is useful to you, please write to autoconf@gnu.org." >&5
7136
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7137
whose name does not start with the host triplet. If you think this
7138
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7139
ac_tool_warned=yes ;;
7141
DSYMUTIL=$ac_ct_DSYMUTIL
7144
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7147
if test -n "$ac_tool_prefix"; then
7148
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7149
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7150
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7151
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7152
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7153
echo $ECHO_N "(cached) $ECHO_C" >&6
7155
if test -n "$NMEDIT"; then
7156
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162
test -z "$as_dir" && as_dir=.
7163
for ac_exec_ext in '' $ac_executable_extensions; do
7164
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7166
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7175
NMEDIT=$ac_cv_prog_NMEDIT
7176
if test -n "$NMEDIT"; then
7177
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5
7178
echo "${ECHO_T}$NMEDIT" >&6; }
7180
{ echo "$as_me:$LINENO: result: no" >&5
7181
echo "${ECHO_T}no" >&6; }
7186
if test -z "$ac_cv_prog_NMEDIT"; then
7187
ac_ct_NMEDIT=$NMEDIT
7188
# Extract the first word of "nmedit", so it can be a program name with args.
7189
set dummy nmedit; ac_word=$2
7190
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7191
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7192
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7193
echo $ECHO_N "(cached) $ECHO_C" >&6
7195
if test -n "$ac_ct_NMEDIT"; then
7196
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7198
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202
test -z "$as_dir" && as_dir=.
7203
for ac_exec_ext in '' $ac_executable_extensions; do
7204
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7206
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7215
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7216
if test -n "$ac_ct_NMEDIT"; then
7217
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7218
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7220
{ echo "$as_me:$LINENO: result: no" >&5
7221
echo "${ECHO_T}no" >&6; }
7224
if test "x$ac_ct_NMEDIT" = x; then
7227
case $cross_compiling:$ac_tool_warned in
7229
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7230
whose name does not start with the host triplet. If you think this
7231
configuration is useful to you, please write to autoconf@gnu.org." >&5
7232
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7233
whose name does not start with the host triplet. If you think this
7234
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7235
ac_tool_warned=yes ;;
7237
NMEDIT=$ac_ct_NMEDIT
7240
NMEDIT="$ac_cv_prog_NMEDIT"
7244
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7245
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7246
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7247
echo $ECHO_N "(cached) $ECHO_C" >&6
7249
lt_cv_apple_cc_single_mod=no
7250
if test -z "${LT_MULTI_MODULE}"; then
7251
# By default we will add the -single_module flag. You can override
7252
# by either setting the environment variable LT_MULTI_MODULE
7253
# non-empty at configure time, or by adding -multi_module to the
7255
echo "int foo(void){return 1;}" > conftest.c
7256
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7257
-dynamiclib ${wl}-single_module conftest.c
7258
if test -f libconftest.dylib; then
7259
lt_cv_apple_cc_single_mod=yes
7260
rm -rf libconftest.dylib*
7265
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7266
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7267
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7268
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7269
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7270
echo $ECHO_N "(cached) $ECHO_C" >&6
7272
lt_cv_ld_exported_symbols_list=no
7273
save_LDFLAGS=$LDFLAGS
7274
echo "_main" > conftest.sym
7275
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7276
cat >conftest.$ac_ext <<_ACEOF
7279
cat confdefs.h >>conftest.$ac_ext
7280
cat >>conftest.$ac_ext <<_ACEOF
7281
/* end confdefs.h. */
7291
rm -f conftest.$ac_objext conftest$ac_exeext
7292
if { (ac_try="$ac_link"
7294
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7295
*) ac_try_echo=$ac_try;;
7297
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7298
(eval "$ac_link") 2>conftest.er1
7300
grep -v '^ *+' conftest.er1 >conftest.err
7302
cat conftest.err >&5
7303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304
(exit $ac_status); } && {
7305
test -z "$ac_c_werror_flag" ||
7306
test ! -s conftest.err
7307
} && test -s conftest$ac_exeext &&
7308
$as_test_x conftest$ac_exeext; then
7309
lt_cv_ld_exported_symbols_list=yes
7311
echo "$as_me: failed program was:" >&5
7312
sed 's/^/| /' conftest.$ac_ext >&5
7314
lt_cv_ld_exported_symbols_list=no
7317
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7318
conftest$ac_exeext conftest.$ac_ext
7319
LDFLAGS="$save_LDFLAGS"
7322
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7323
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7325
rhapsody* | darwin1.[0123])
7326
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7328
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7330
# if running on 10.5 or later, the deployment target defaults
7331
# to the OS version, if on x86, and 10.4, the deployment
7332
# target defaults to 10.4. Don't you love it?
7333
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7334
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7335
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7337
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7339
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7343
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7344
_lt_dar_single_mod='$single_module'
7346
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7347
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7349
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7351
if test "$DSYMUTIL" != ":"; then
7352
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7043
7360
enable_dlopen=no
7044
7361
enable_win32_dll=no
11233
11571
darwin* | rhapsody*)
11235
rhapsody* | darwin1.[012])
11236
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11239
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11240
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11242
case ${MACOSX_DEPLOYMENT_TARGET} in
11244
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11247
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11253
11572
archive_cmds_need_lc_CXX=no
11254
11573
hardcode_direct_CXX=no
11255
11574
hardcode_automatic_CXX=yes
11256
11575
hardcode_shlibpath_var_CXX=unsupported
11257
11576
whole_archive_flag_spec_CXX=''
11258
11577
link_all_deplibs_CXX=yes
11260
if test "$GXX" = yes ; then
11261
lt_int_apple_cc_single_mod=no
11578
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11579
if test "$GXX" = yes ; then
11262
11580
output_verbose_link_cmd='echo'
11263
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11264
lt_int_apple_cc_single_mod=yes
11581
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11582
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11583
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11584
module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11585
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11586
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${_lt_dsymutil}"
11587
archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
11266
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11267
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11269
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'
11271
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11272
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11273
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11274
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}'
11276
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}'
11278
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}'
11280
11590
case $cc_basename in
22046
22425
ECHO!$ECHO$ac_delim
22047
22426
AR!$AR$ac_delim
22048
22427
RANLIB!$RANLIB$ac_delim
22428
DSYMUTIL!$DSYMUTIL$ac_delim
22429
NMEDIT!$NMEDIT$ac_delim
22049
22430
CPP!$CPP$ac_delim
22050
22431
CXX!$CXX$ac_delim
22051
22432
CXXFLAGS!$CXXFLAGS$ac_delim
22052
22433
ac_ct_CXX!$ac_ct_CXX$ac_delim
22053
22434
CXXDEPMODE!$CXXDEPMODE$ac_delim
22437
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22439
elif $ac_last_try; then
22440
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22441
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22442
{ (exit 1); exit 1; }; }
22444
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22448
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22449
if test -n "$ac_eof"; then
22450
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22451
ac_eof=`expr $ac_eof + 1`
22454
cat >>$CONFIG_STATUS <<_ACEOF
22455
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22456
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22459
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22460
s/^/s,@/; s/!/@,|#_!!_#|/
22463
s/'"$ac_delim"'$/,g/; t
22465
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22466
' >>$CONFIG_STATUS <conf$$subs.sed
22467
rm -f conf$$subs.sed
22468
cat >>$CONFIG_STATUS <<_ACEOF
22474
for ac_last_try in false false false false false :; do
22475
cat >conf$$subs.sed <<_ACEOF
22054
22476
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22055
22477
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22058
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22060
elif $ac_last_try; then
22061
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22062
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22063
{ (exit 1); exit 1; }; }
22065
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22069
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22070
if test -n "$ac_eof"; then
22071
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22072
ac_eof=`expr $ac_eof + 1`
22075
cat >>$CONFIG_STATUS <<_ACEOF
22076
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22077
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22080
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22081
s/^/s,@/; s/!/@,|#_!!_#|/
22084
s/'"$ac_delim"'$/,g/; t
22086
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22087
' >>$CONFIG_STATUS <conf$$subs.sed
22088
rm -f conf$$subs.sed
22089
cat >>$CONFIG_STATUS <<_ACEOF
22095
for ac_last_try in false false false false false :; do
22096
cat >conf$$subs.sed <<_ACEOF
22097
22478
CXXCPP!$CXXCPP$ac_delim
22098
22479
F77!$F77$ac_delim
22099
22480
FFLAGS!$FFLAGS$ac_delim