7015
rhapsody* | darwin*)
7016
if test -n "$ac_tool_prefix"; then
7017
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7018
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7019
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7020
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7021
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7022
echo $ECHO_N "(cached) $ECHO_C" >&6
7024
if test -n "$DSYMUTIL"; then
7025
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031
test -z "$as_dir" && as_dir=.
7032
for ac_exec_ext in '' $ac_executable_extensions; do
7033
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7035
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7044
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7045
if test -n "$DSYMUTIL"; then
7046
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7047
echo "${ECHO_T}$DSYMUTIL" >&6; }
7049
{ echo "$as_me:$LINENO: result: no" >&5
7050
echo "${ECHO_T}no" >&6; }
7055
if test -z "$ac_cv_prog_DSYMUTIL"; then
7056
ac_ct_DSYMUTIL=$DSYMUTIL
7057
# Extract the first word of "dsymutil", so it can be a program name with args.
7058
set dummy dsymutil; ac_word=$2
7059
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7060
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7061
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7062
echo $ECHO_N "(cached) $ECHO_C" >&6
7064
if test -n "$ac_ct_DSYMUTIL"; then
7065
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7067
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071
test -z "$as_dir" && as_dir=.
7072
for ac_exec_ext in '' $ac_executable_extensions; do
7073
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7075
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7084
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7085
if test -n "$ac_ct_DSYMUTIL"; then
7086
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7087
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7089
{ echo "$as_me:$LINENO: result: no" >&5
7090
echo "${ECHO_T}no" >&6; }
7093
if test "x$ac_ct_DSYMUTIL" = x; then
7096
case $cross_compiling:$ac_tool_warned in
7098
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7099
whose name does not start with the host triplet. If you think this
7100
configuration is useful to you, please write to autoconf@gnu.org." >&5
7101
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7102
whose name does not start with the host triplet. If you think this
7103
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7104
ac_tool_warned=yes ;;
7106
DSYMUTIL=$ac_ct_DSYMUTIL
7109
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7112
if test -n "$ac_tool_prefix"; then
7113
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7114
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7115
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7116
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7117
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7118
echo $ECHO_N "(cached) $ECHO_C" >&6
7120
if test -n "$NMEDIT"; then
7121
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127
test -z "$as_dir" && as_dir=.
7128
for ac_exec_ext in '' $ac_executable_extensions; do
7129
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7131
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7140
NMEDIT=$ac_cv_prog_NMEDIT
7141
if test -n "$NMEDIT"; then
7142
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5
7143
echo "${ECHO_T}$NMEDIT" >&6; }
7145
{ echo "$as_me:$LINENO: result: no" >&5
7146
echo "${ECHO_T}no" >&6; }
7151
if test -z "$ac_cv_prog_NMEDIT"; then
7152
ac_ct_NMEDIT=$NMEDIT
7153
# Extract the first word of "nmedit", so it can be a program name with args.
7154
set dummy nmedit; ac_word=$2
7155
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7156
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7157
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7158
echo $ECHO_N "(cached) $ECHO_C" >&6
7160
if test -n "$ac_ct_NMEDIT"; then
7161
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167
test -z "$as_dir" && as_dir=.
7168
for ac_exec_ext in '' $ac_executable_extensions; do
7169
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7170
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7171
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7180
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7181
if test -n "$ac_ct_NMEDIT"; then
7182
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7183
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7185
{ echo "$as_me:$LINENO: result: no" >&5
7186
echo "${ECHO_T}no" >&6; }
7189
if test "x$ac_ct_NMEDIT" = x; then
7192
case $cross_compiling:$ac_tool_warned in
7194
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7195
whose name does not start with the host triplet. If you think this
7196
configuration is useful to you, please write to autoconf@gnu.org." >&5
7197
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7198
whose name does not start with the host triplet. If you think this
7199
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7200
ac_tool_warned=yes ;;
7202
NMEDIT=$ac_ct_NMEDIT
7205
NMEDIT="$ac_cv_prog_NMEDIT"
7209
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7210
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7211
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7212
echo $ECHO_N "(cached) $ECHO_C" >&6
7214
lt_cv_apple_cc_single_mod=no
7215
if test -z "${LT_MULTI_MODULE}"; then
7216
# By default we will add the -single_module flag. You can override
7217
# by either setting the environment variable LT_MULTI_MODULE
7218
# non-empty at configure time, or by adding -multi_module to the
7220
echo "int foo(void){return 1;}" > conftest.c
7221
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7222
-dynamiclib ${wl}-single_module conftest.c
7223
if test -f libconftest.dylib; then
7224
lt_cv_apple_cc_single_mod=yes
7225
rm -rf libconftest.dylib*
7230
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7231
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7232
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7233
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7234
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7235
echo $ECHO_N "(cached) $ECHO_C" >&6
7237
lt_cv_ld_exported_symbols_list=no
7238
save_LDFLAGS=$LDFLAGS
7239
echo "_main" > conftest.sym
7240
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7241
cat >conftest.$ac_ext <<_ACEOF
7244
cat confdefs.h >>conftest.$ac_ext
7245
cat >>conftest.$ac_ext <<_ACEOF
7246
/* end confdefs.h. */
7256
rm -f conftest.$ac_objext conftest$ac_exeext
7257
if { (ac_try="$ac_link"
7259
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7260
*) ac_try_echo=$ac_try;;
7262
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7263
(eval "$ac_link") 2>conftest.er1
7265
grep -v '^ *+' conftest.er1 >conftest.err
7267
cat conftest.err >&5
7268
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269
(exit $ac_status); } && {
7270
test -z "$ac_c_werror_flag" ||
7271
test ! -s conftest.err
7272
} && test -s conftest$ac_exeext &&
7273
$as_test_x conftest$ac_exeext; then
7274
lt_cv_ld_exported_symbols_list=yes
7276
echo "$as_me: failed program was:" >&5
7277
sed 's/^/| /' conftest.$ac_ext >&5
7279
lt_cv_ld_exported_symbols_list=no
7282
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7283
conftest$ac_exeext conftest.$ac_ext
7284
LDFLAGS="$save_LDFLAGS"
7287
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7288
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7290
rhapsody* | darwin1.[0123])
7291
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7293
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7295
# if running on 10.5 or later, the deployment target defaults
7296
# to the OS version, if on x86, and 10.4, the deployment
7297
# target defaults to 10.4. Don't you love it?
7298
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7299
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7300
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7302
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7304
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7308
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7309
_lt_dar_single_mod='$single_module'
7311
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7312
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7314
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7316
if test "$DSYMUTIL" != ":"; then
7317
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7008
7325
enable_dlopen=no
7009
7326
enable_win32_dll=no
11198
11536
darwin* | rhapsody*)
11200
rhapsody* | darwin1.[012])
11201
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11204
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11205
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11207
case ${MACOSX_DEPLOYMENT_TARGET} in
11209
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11212
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11218
11537
archive_cmds_need_lc_CXX=no
11219
11538
hardcode_direct_CXX=no
11220
11539
hardcode_automatic_CXX=yes
11221
11540
hardcode_shlibpath_var_CXX=unsupported
11222
11541
whole_archive_flag_spec_CXX=''
11223
11542
link_all_deplibs_CXX=yes
11225
if test "$GXX" = yes ; then
11226
lt_int_apple_cc_single_mod=no
11543
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11544
if test "$GXX" = yes ; then
11227
11545
output_verbose_link_cmd='echo'
11228
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11229
lt_int_apple_cc_single_mod=yes
11546
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}"
11547
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11548
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}"
11549
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}"
11550
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11551
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}"
11552
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}"
11231
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11232
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11234
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'
11236
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11237
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11238
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11239
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}'
11241
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}'
11243
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}'
11245
11555
case $cc_basename in
23992
24371
ECHO!$ECHO$ac_delim
23993
24372
AR!$AR$ac_delim
23994
24373
RANLIB!$RANLIB$ac_delim
24374
DSYMUTIL!$DSYMUTIL$ac_delim
24375
NMEDIT!$NMEDIT$ac_delim
23995
24376
CPP!$CPP$ac_delim
23996
24377
CXX!$CXX$ac_delim
24380
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24382
elif $ac_last_try; then
24383
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24384
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24385
{ (exit 1); exit 1; }; }
24387
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24391
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24392
if test -n "$ac_eof"; then
24393
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24394
ac_eof=`expr $ac_eof + 1`
24397
cat >>$CONFIG_STATUS <<_ACEOF
24398
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24399
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24402
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24403
s/^/s,@/; s/!/@,|#_!!_#|/
24406
s/'"$ac_delim"'$/,g/; t
24408
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24409
' >>$CONFIG_STATUS <conf$$subs.sed
24410
rm -f conf$$subs.sed
24411
cat >>$CONFIG_STATUS <<_ACEOF
24417
for ac_last_try in false false false false false :; do
24418
cat >conf$$subs.sed <<_ACEOF
23997
24419
CXXFLAGS!$CXXFLAGS$ac_delim
23998
24420
ac_ct_CXX!$ac_ct_CXX$ac_delim
24001
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24003
elif $ac_last_try; then
24004
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24005
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24006
{ (exit 1); exit 1; }; }
24008
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24012
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24013
if test -n "$ac_eof"; then
24014
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24015
ac_eof=`expr $ac_eof + 1`
24018
cat >>$CONFIG_STATUS <<_ACEOF
24019
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24020
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24023
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24024
s/^/s,@/; s/!/@,|#_!!_#|/
24027
s/'"$ac_delim"'$/,g/; t
24029
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24030
' >>$CONFIG_STATUS <conf$$subs.sed
24031
rm -f conf$$subs.sed
24032
cat >>$CONFIG_STATUS <<_ACEOF
24038
for ac_last_try in false false false false false :; do
24039
cat >conf$$subs.sed <<_ACEOF
24040
24421
CXXDEPMODE!$CXXDEPMODE$ac_delim
24041
24422
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24042
24423
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim