2255
2259
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2258
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2259
# We used to keeping the `.' as first argument, in order to
2260
# allow $(mkdir_p) to be used without argument. As in
2261
# $(mkdir_p) $(somedir)
2262
# where $(somedir) is conditionally defined. However this is wrong
2264
# 1. if the package is installed by a user who cannot write `.'
2265
# make install will fail,
2266
# 2. the above comment should most certainly read
2267
# $(mkdir_p) $(DESTDIR)$(somedir)
2268
# so it does not work when $(somedir) is undefined and
2269
# $(DESTDIR) is not.
2270
# To support the latter case, we have to write
2271
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2272
# so the `.' trick is pointless.
2273
mkdir_p='mkdir -p --'
2262
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2263
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2264
if test -z "$MKDIR_P"; then
2265
if test "${ac_cv_path_mkdir+set}" = set; then
2266
echo $ECHO_N "(cached) $ECHO_C" >&6
2275
# On NextStep and OpenStep, the `mkdir' command does not
2276
# recognize any option. It will interpret all options as
2277
# directories to create, and then abort because `.' already
2279
for d in ./-p ./--version;
2281
test -d $d && rmdir $d
2283
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2284
if test -f "$ac_aux_dir/mkinstalldirs"; then
2285
mkdir_p='$(mkinstalldirs)'
2268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2272
test -z "$as_dir" && as_dir=.
2273
for ac_prog in mkdir gmkdir; do
2274
for ac_exec_ext in '' $ac_executable_extensions; do
2275
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2276
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2277
'mkdir (GNU coreutils) '* | \
2278
'mkdir (coreutils) '* | \
2279
'mkdir (fileutils) '4.1*)
2280
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2290
if test "${ac_cv_path_mkdir+set}" = set; then
2291
MKDIR_P="$ac_cv_path_mkdir -p"
2287
mkdir_p='$(install_sh) -d'
2293
# As a last resort, use the slow shell script. Don't cache a
2294
# value for MKDIR_P within a source directory, because that will
2295
# break other packages using the cache if that directory is
2296
# removed, or if the value is a relative name.
2297
test -d ./--version && rmdir ./--version
2298
MKDIR_P="$ac_install_sh -d"
2301
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2302
echo "${ECHO_T}$MKDIR_P" >&6; }
2306
[\\/$]* | ?:[\\/]*) ;;
2307
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2291
2310
for ac_prog in gawk mawk nawk awk
7036
rhapsody* | darwin*)
7037
if test -n "$ac_tool_prefix"; then
7038
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7039
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7040
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7041
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7042
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7043
echo $ECHO_N "(cached) $ECHO_C" >&6
7045
if test -n "$DSYMUTIL"; then
7046
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7048
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052
test -z "$as_dir" && as_dir=.
7053
for ac_exec_ext in '' $ac_executable_extensions; do
7054
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7055
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7056
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7065
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7066
if test -n "$DSYMUTIL"; then
7067
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7068
echo "${ECHO_T}$DSYMUTIL" >&6; }
7070
{ echo "$as_me:$LINENO: result: no" >&5
7071
echo "${ECHO_T}no" >&6; }
7076
if test -z "$ac_cv_prog_DSYMUTIL"; then
7077
ac_ct_DSYMUTIL=$DSYMUTIL
7078
# Extract the first word of "dsymutil", so it can be a program name with args.
7079
set dummy dsymutil; ac_word=$2
7080
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7081
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7082
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7083
echo $ECHO_N "(cached) $ECHO_C" >&6
7085
if test -n "$ac_ct_DSYMUTIL"; then
7086
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092
test -z "$as_dir" && as_dir=.
7093
for ac_exec_ext in '' $ac_executable_extensions; do
7094
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7096
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7105
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7106
if test -n "$ac_ct_DSYMUTIL"; then
7107
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7108
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7110
{ echo "$as_me:$LINENO: result: no" >&5
7111
echo "${ECHO_T}no" >&6; }
7114
if test "x$ac_ct_DSYMUTIL" = x; then
7117
case $cross_compiling:$ac_tool_warned in
7119
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7120
whose name does not start with the host triplet. If you think this
7121
configuration is useful to you, please write to autoconf@gnu.org." >&5
7122
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7123
whose name does not start with the host triplet. If you think this
7124
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7125
ac_tool_warned=yes ;;
7127
DSYMUTIL=$ac_ct_DSYMUTIL
7130
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7133
if test -n "$ac_tool_prefix"; then
7134
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7135
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7136
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7137
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7138
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7139
echo $ECHO_N "(cached) $ECHO_C" >&6
7141
if test -n "$NMEDIT"; then
7142
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148
test -z "$as_dir" && as_dir=.
7149
for ac_exec_ext in '' $ac_executable_extensions; do
7150
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7152
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7161
NMEDIT=$ac_cv_prog_NMEDIT
7162
if test -n "$NMEDIT"; then
7163
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5
7164
echo "${ECHO_T}$NMEDIT" >&6; }
7166
{ echo "$as_me:$LINENO: result: no" >&5
7167
echo "${ECHO_T}no" >&6; }
7172
if test -z "$ac_cv_prog_NMEDIT"; then
7173
ac_ct_NMEDIT=$NMEDIT
7174
# Extract the first word of "nmedit", so it can be a program name with args.
7175
set dummy nmedit; ac_word=$2
7176
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7177
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7178
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7179
echo $ECHO_N "(cached) $ECHO_C" >&6
7181
if test -n "$ac_ct_NMEDIT"; then
7182
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188
test -z "$as_dir" && as_dir=.
7189
for ac_exec_ext in '' $ac_executable_extensions; do
7190
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7191
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7192
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7201
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7202
if test -n "$ac_ct_NMEDIT"; then
7203
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7204
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7206
{ echo "$as_me:$LINENO: result: no" >&5
7207
echo "${ECHO_T}no" >&6; }
7210
if test "x$ac_ct_NMEDIT" = x; then
7213
case $cross_compiling:$ac_tool_warned in
7215
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7216
whose name does not start with the host triplet. If you think this
7217
configuration is useful to you, please write to autoconf@gnu.org." >&5
7218
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7219
whose name does not start with the host triplet. If you think this
7220
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7221
ac_tool_warned=yes ;;
7223
NMEDIT=$ac_ct_NMEDIT
7226
NMEDIT="$ac_cv_prog_NMEDIT"
7230
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7231
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7232
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7233
echo $ECHO_N "(cached) $ECHO_C" >&6
7235
lt_cv_apple_cc_single_mod=no
7236
if test -z "${LT_MULTI_MODULE}"; then
7237
# By default we will add the -single_module flag. You can override
7238
# by either setting the environment variable LT_MULTI_MODULE
7239
# non-empty at configure time, or by adding -multi_module to the
7241
echo "int foo(void){return 1;}" > conftest.c
7242
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7243
-dynamiclib ${wl}-single_module conftest.c
7244
if test -f libconftest.dylib; then
7245
lt_cv_apple_cc_single_mod=yes
7246
rm -rf libconftest.dylib*
7251
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7252
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7253
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7254
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7255
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7256
echo $ECHO_N "(cached) $ECHO_C" >&6
7258
lt_cv_ld_exported_symbols_list=no
7259
save_LDFLAGS=$LDFLAGS
7260
echo "_main" > conftest.sym
7261
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7262
cat >conftest.$ac_ext <<_ACEOF
7265
cat confdefs.h >>conftest.$ac_ext
7266
cat >>conftest.$ac_ext <<_ACEOF
7267
/* end confdefs.h. */
7277
rm -f conftest.$ac_objext conftest$ac_exeext
7278
if { (ac_try="$ac_link"
7280
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7281
*) ac_try_echo=$ac_try;;
7283
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7284
(eval "$ac_link") 2>conftest.er1
7286
grep -v '^ *+' conftest.er1 >conftest.err
7288
cat conftest.err >&5
7289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290
(exit $ac_status); } && {
7291
test -z "$ac_c_werror_flag" ||
7292
test ! -s conftest.err
7293
} && test -s conftest$ac_exeext &&
7294
$as_test_x conftest$ac_exeext; then
7295
lt_cv_ld_exported_symbols_list=yes
7297
echo "$as_me: failed program was:" >&5
7298
sed 's/^/| /' conftest.$ac_ext >&5
7300
lt_cv_ld_exported_symbols_list=no
7303
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7304
conftest$ac_exeext conftest.$ac_ext
7305
LDFLAGS="$save_LDFLAGS"
7308
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7309
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7311
rhapsody* | darwin1.[0123])
7312
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7314
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7316
# if running on 10.5 or later, the deployment target defaults
7317
# to the OS version, if on x86, and 10.4, the deployment
7318
# target defaults to 10.4. Don't you love it?
7319
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7320
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7321
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7323
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7325
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7329
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7330
_lt_dar_single_mod='$single_module'
7332
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7333
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7335
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7337
if test "$DSYMUTIL" != ":"; then
7338
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7012
7346
enable_dlopen=no
7013
7347
enable_win32_dll=no
11202
11557
darwin* | rhapsody*)
11204
rhapsody* | darwin1.[012])
11205
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11208
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11209
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11211
case ${MACOSX_DEPLOYMENT_TARGET} in
11213
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11216
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11222
11558
archive_cmds_need_lc_CXX=no
11223
11559
hardcode_direct_CXX=no
11224
11560
hardcode_automatic_CXX=yes
11225
11561
hardcode_shlibpath_var_CXX=unsupported
11226
11562
whole_archive_flag_spec_CXX=''
11227
11563
link_all_deplibs_CXX=yes
11229
if test "$GXX" = yes ; then
11230
lt_int_apple_cc_single_mod=no
11564
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11565
if test "$GXX" = yes ; then
11231
11566
output_verbose_link_cmd='echo'
11232
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11233
lt_int_apple_cc_single_mod=yes
11567
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}"
11568
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11569
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}"
11570
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}"
11571
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11572
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}"
11573
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}"
11235
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11236
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11238
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'
11240
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11241
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11242
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11243
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}'
11245
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}'
11247
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}'
11249
11576
case $cc_basename in
20016
20412
# Checks for library functions.
20018
for ac_header in stdlib.h
20020
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20021
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20022
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20023
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20024
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20025
echo $ECHO_N "(cached) $ECHO_C" >&6
20027
ac_res=`eval echo '${'$as_ac_Header'}'`
20028
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20029
echo "${ECHO_T}$ac_res" >&6; }
20031
# Is the header compilable?
20032
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20033
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20034
cat >conftest.$ac_ext <<_ACEOF
20037
cat confdefs.h >>conftest.$ac_ext
20038
cat >>conftest.$ac_ext <<_ACEOF
20039
/* end confdefs.h. */
20040
$ac_includes_default
20041
#include <$ac_header>
20043
rm -f conftest.$ac_objext
20044
if { (ac_try="$ac_compile"
20045
case "(($ac_try" in
20046
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20047
*) ac_try_echo=$ac_try;;
20049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050
(eval "$ac_compile") 2>conftest.er1
20052
grep -v '^ *+' conftest.er1 >conftest.err
20054
cat conftest.err >&5
20055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056
(exit $ac_status); } && {
20057
test -z "$ac_c_werror_flag" ||
20058
test ! -s conftest.err
20059
} && test -s conftest.$ac_objext; then
20060
ac_header_compiler=yes
20062
echo "$as_me: failed program was:" >&5
20063
sed 's/^/| /' conftest.$ac_ext >&5
20065
ac_header_compiler=no
20068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20070
echo "${ECHO_T}$ac_header_compiler" >&6; }
20072
# Is the header present?
20073
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20074
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20075
cat >conftest.$ac_ext <<_ACEOF
20078
cat confdefs.h >>conftest.$ac_ext
20079
cat >>conftest.$ac_ext <<_ACEOF
20080
/* end confdefs.h. */
20081
#include <$ac_header>
20083
if { (ac_try="$ac_cpp conftest.$ac_ext"
20084
case "(($ac_try" in
20085
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086
*) ac_try_echo=$ac_try;;
20088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20091
grep -v '^ *+' conftest.er1 >conftest.err
20093
cat conftest.err >&5
20094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095
(exit $ac_status); } >/dev/null && {
20096
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20097
test ! -s conftest.err
20099
ac_header_preproc=yes
20101
echo "$as_me: failed program was:" >&5
20102
sed 's/^/| /' conftest.$ac_ext >&5
20104
ac_header_preproc=no
20107
rm -f conftest.err conftest.$ac_ext
20108
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20109
echo "${ECHO_T}$ac_header_preproc" >&6; }
20111
# So? What about this header?
20112
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20114
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20115
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20116
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20117
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20118
ac_header_preproc=yes
20121
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20122
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20123
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20124
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20125
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20126
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20127
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20128
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20129
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20130
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20131
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20132
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20134
## ---------------------------------------------- ##
20135
## Report this to sheitmann@users.sourceforge.net ##
20136
## ---------------------------------------------- ##
20138
) | sed "s/^/$as_me: WARNING: /" >&2
20141
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20142
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20143
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20144
echo $ECHO_N "(cached) $ECHO_C" >&6
20146
eval "$as_ac_Header=\$ac_header_preproc"
20148
ac_res=`eval echo '${'$as_ac_Header'}'`
20149
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20150
echo "${ECHO_T}$ac_res" >&6; }
20153
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20154
cat >>confdefs.h <<_ACEOF
20155
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20162
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
20163
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
20164
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
20165
echo $ECHO_N "(cached) $ECHO_C" >&6
20167
if test "$cross_compiling" = yes; then
20168
ac_cv_func_malloc_0_nonnull=no
20170
cat >conftest.$ac_ext <<_ACEOF
20173
cat confdefs.h >>conftest.$ac_ext
20174
cat >>conftest.$ac_ext <<_ACEOF
20175
/* end confdefs.h. */
20176
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
20177
# include <stdlib.h>
20185
return ! malloc (0);
20190
rm -f conftest$ac_exeext
20191
if { (ac_try="$ac_link"
20192
case "(($ac_try" in
20193
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194
*) ac_try_echo=$ac_try;;
20196
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197
(eval "$ac_link") 2>&5
20199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20201
{ (case "(($ac_try" in
20202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20203
*) ac_try_echo=$ac_try;;
20205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20206
(eval "$ac_try") 2>&5
20208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209
(exit $ac_status); }; }; then
20210
ac_cv_func_malloc_0_nonnull=yes
20212
echo "$as_me: program exited with status $ac_status" >&5
20213
echo "$as_me: failed program was:" >&5
20214
sed 's/^/| /' conftest.$ac_ext >&5
20216
( exit $ac_status )
20217
ac_cv_func_malloc_0_nonnull=no
20219
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20224
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
20225
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
20226
if test $ac_cv_func_malloc_0_nonnull = yes; then
20228
cat >>confdefs.h <<\_ACEOF
20229
#define HAVE_MALLOC 1
20233
cat >>confdefs.h <<\_ACEOF
20234
#define HAVE_MALLOC 0
20237
case " $LIBOBJS " in
20238
*" malloc.$ac_objext "* ) ;;
20239
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
20244
cat >>confdefs.h <<\_ACEOF
20245
#define malloc rpl_malloc
20253
20414
for ac_func in strftime
20255
20416
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21845
22003
ECHO!$ECHO$ac_delim
21846
22004
AR!$AR$ac_delim
21847
22005
RANLIB!$RANLIB$ac_delim
22006
DSYMUTIL!$DSYMUTIL$ac_delim
22007
NMEDIT!$NMEDIT$ac_delim
21848
22008
CPP!$CPP$ac_delim
22011
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22013
elif $ac_last_try; then
22014
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22015
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22016
{ (exit 1); exit 1; }; }
22018
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22022
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22023
if test -n "$ac_eof"; then
22024
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22025
ac_eof=`expr $ac_eof + 1`
22028
cat >>$CONFIG_STATUS <<_ACEOF
22029
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22030
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22033
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22034
s/^/s,@/; s/!/@,|#_!!_#|/
22037
s/'"$ac_delim"'$/,g/; t
22039
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22040
' >>$CONFIG_STATUS <conf$$subs.sed
22041
rm -f conf$$subs.sed
22042
cat >>$CONFIG_STATUS <<_ACEOF
22048
for ac_last_try in false false false false false :; do
22049
cat >conf$$subs.sed <<_ACEOF
21849
22050
CXX!$CXX$ac_delim
21850
22051
CXXFLAGS!$CXXFLAGS$ac_delim
21851
22052
ac_ct_CXX!$ac_ct_CXX$ac_delim
21854
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21856
elif $ac_last_try; then
21857
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21858
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21859
{ (exit 1); exit 1; }; }
21861
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21865
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21866
if test -n "$ac_eof"; then
21867
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21868
ac_eof=`expr $ac_eof + 1`
21871
cat >>$CONFIG_STATUS <<_ACEOF
21872
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21873
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21876
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21877
s/^/s,@/; s/!/@,|#_!!_#|/
21880
s/'"$ac_delim"'$/,g/; t
21882
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21883
' >>$CONFIG_STATUS <conf$$subs.sed
21884
rm -f conf$$subs.sed
21885
cat >>$CONFIG_STATUS <<_ACEOF
21891
for ac_last_try in false false false false false :; do
21892
cat >conf$$subs.sed <<_ACEOF
21893
22053
CXXDEPMODE!$CXXDEPMODE$ac_delim
21894
22054
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21895
22055
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim