67
132
# Name of the executable.
68
as_me=`$as_basename "$0" ||
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
132
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
227
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
158
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
164
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
174
s,^['$as_cr_digits']*\n,,
175
454
' >$as_me.lineno &&
176
chmod +x $as_me.lineno ||
455
chmod +x "$as_me.lineno" ||
177
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
{ (exit 1); exit 1; }; }
180
459
# Don't try to exec as it changes $[0], causing all sort of problems
181
460
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
461
# original and so on. Autoconf is especially sensitive to this).
184
463
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
196
if expr a : '\(a\)' >/dev/null 2>&1; then
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
202
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
203
499
echo >conf$$.file
204
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
220
516
if mkdir -p . 2>/dev/null; then
858
1362
test "$silent" = yes && exec 6>/dev/null
1365
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1366
ac_ls_di=`ls -di .` &&
1367
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1368
{ echo "$as_me: error: Working directory cannot be determined" >&2
1369
{ (exit 1); exit 1; }; }
1370
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1371
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1372
{ (exit 1); exit 1; }; }
861
1375
# Find the source files, if location was not specified.
862
1376
if test -z "$srcdir"; then
863
1377
ac_srcdir_defaulted=yes
864
# Try the directory containing this script, then its parent.
865
ac_confdir=`(dirname "$0") 2>/dev/null ||
1378
# Try the directory containing this script, then the parent directory.
1379
ac_confdir=`$as_dirname -- "$0" ||
866
1380
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867
1381
X"$0" : 'X\(//\)[^/]' \| \
868
1382
X"$0" : 'X\(//\)$' \| \
869
X"$0" : 'X\(/\)' \| \
870
. : '\(.\)' 2>/dev/null ||
1383
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
872
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
874
/^X\(\/\/\)$/{ s//\1/; q; }
875
/^X\(\/\).*/{ s//\1/; q; }
1385
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
877
1402
srcdir=$ac_confdir
878
if test ! -r $srcdir/$ac_unique_file; then
1403
if test ! -r "$srcdir/$ac_unique_file"; then
882
1407
ac_srcdir_defaulted=no
884
if test ! -r $srcdir/$ac_unique_file; then
885
if test "$ac_srcdir_defaulted" = yes; then
886
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887
{ (exit 1); exit 1; }; }
889
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890
{ (exit 1); exit 1; }; }
893
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895
{ (exit 1); exit 1; }; }
896
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897
ac_env_build_alias_set=${build_alias+set}
898
ac_env_build_alias_value=$build_alias
899
ac_cv_env_build_alias_set=${build_alias+set}
900
ac_cv_env_build_alias_value=$build_alias
901
ac_env_host_alias_set=${host_alias+set}
902
ac_env_host_alias_value=$host_alias
903
ac_cv_env_host_alias_set=${host_alias+set}
904
ac_cv_env_host_alias_value=$host_alias
905
ac_env_target_alias_set=${target_alias+set}
906
ac_env_target_alias_value=$target_alias
907
ac_cv_env_target_alias_set=${target_alias+set}
908
ac_cv_env_target_alias_value=$target_alias
909
ac_env_CC_set=${CC+set}
911
ac_cv_env_CC_set=${CC+set}
912
ac_cv_env_CC_value=$CC
913
ac_env_CFLAGS_set=${CFLAGS+set}
914
ac_env_CFLAGS_value=$CFLAGS
915
ac_cv_env_CFLAGS_set=${CFLAGS+set}
916
ac_cv_env_CFLAGS_value=$CFLAGS
917
ac_env_LDFLAGS_set=${LDFLAGS+set}
918
ac_env_LDFLAGS_value=$LDFLAGS
919
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920
ac_cv_env_LDFLAGS_value=$LDFLAGS
921
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922
ac_env_CPPFLAGS_value=$CPPFLAGS
923
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925
ac_env_CPP_set=${CPP+set}
926
ac_env_CPP_value=$CPP
927
ac_cv_env_CPP_set=${CPP+set}
928
ac_cv_env_CPP_value=$CPP
929
ac_env_CXX_set=${CXX+set}
930
ac_env_CXX_value=$CXX
931
ac_cv_env_CXX_set=${CXX+set}
932
ac_cv_env_CXX_value=$CXX
933
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
934
ac_env_CXXFLAGS_value=$CXXFLAGS
935
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
936
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
937
ac_env_CXXCPP_set=${CXXCPP+set}
938
ac_env_CXXCPP_value=$CXXCPP
939
ac_cv_env_CXXCPP_set=${CXXCPP+set}
940
ac_cv_env_CXXCPP_value=$CXXCPP
941
ac_env_F77_set=${F77+set}
942
ac_env_F77_value=$F77
943
ac_cv_env_F77_set=${F77+set}
944
ac_cv_env_F77_value=$F77
945
ac_env_FFLAGS_set=${FFLAGS+set}
946
ac_env_FFLAGS_value=$FFLAGS
947
ac_cv_env_FFLAGS_set=${FFLAGS+set}
948
ac_cv_env_FFLAGS_value=$FFLAGS
949
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
950
ac_env_PKG_CONFIG_value=$PKG_CONFIG
951
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
952
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
953
ac_env_FAM_CFLAGS_set=${FAM_CFLAGS+set}
954
ac_env_FAM_CFLAGS_value=$FAM_CFLAGS
955
ac_cv_env_FAM_CFLAGS_set=${FAM_CFLAGS+set}
956
ac_cv_env_FAM_CFLAGS_value=$FAM_CFLAGS
957
ac_env_FAM_LIBS_set=${FAM_LIBS+set}
958
ac_env_FAM_LIBS_value=$FAM_LIBS
959
ac_cv_env_FAM_LIBS_set=${FAM_LIBS+set}
960
ac_cv_env_FAM_LIBS_value=$FAM_LIBS
961
ac_env_XML_CFLAGS_set=${XML_CFLAGS+set}
962
ac_env_XML_CFLAGS_value=$XML_CFLAGS
963
ac_cv_env_XML_CFLAGS_set=${XML_CFLAGS+set}
964
ac_cv_env_XML_CFLAGS_value=$XML_CFLAGS
965
ac_env_XML_LIBS_set=${XML_LIBS+set}
966
ac_env_XML_LIBS_value=$XML_LIBS
967
ac_cv_env_XML_LIBS_set=${XML_LIBS+set}
968
ac_cv_env_XML_LIBS_value=$XML_LIBS
969
ac_env_SQLITE_CFLAGS_set=${SQLITE_CFLAGS+set}
970
ac_env_SQLITE_CFLAGS_value=$SQLITE_CFLAGS
971
ac_cv_env_SQLITE_CFLAGS_set=${SQLITE_CFLAGS+set}
972
ac_cv_env_SQLITE_CFLAGS_value=$SQLITE_CFLAGS
973
ac_env_SQLITE_LIBS_set=${SQLITE_LIBS+set}
974
ac_env_SQLITE_LIBS_value=$SQLITE_LIBS
975
ac_cv_env_SQLITE_LIBS_set=${SQLITE_LIBS+set}
976
ac_cv_env_SQLITE_LIBS_value=$SQLITE_LIBS
977
ac_env_LUA_CFLAGS_set=${LUA_CFLAGS+set}
978
ac_env_LUA_CFLAGS_value=$LUA_CFLAGS
979
ac_cv_env_LUA_CFLAGS_set=${LUA_CFLAGS+set}
980
ac_cv_env_LUA_CFLAGS_value=$LUA_CFLAGS
981
ac_env_LUA_LIBS_set=${LUA_LIBS+set}
982
ac_env_LUA_LIBS_value=$LUA_LIBS
983
ac_cv_env_LUA_LIBS_set=${LUA_LIBS+set}
984
ac_cv_env_LUA_LIBS_value=$LUA_LIBS
1409
if test ! -r "$srcdir/$ac_unique_file"; then
1410
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1411
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1412
{ (exit 1); exit 1; }; }
1414
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1416
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1417
{ (exit 1); exit 1; }; }
1419
# When building in place, set srcdir=.
1420
if test "$ac_abs_confdir" = "$ac_pwd"; then
1423
# Remove unnecessary trailing slashes from srcdir.
1424
# Double slashes in file names in object file debugging info
1425
# mess up M-x gdb in Emacs.
1427
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1429
for ac_var in $ac_precious_vars; do
1430
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1431
eval ac_env_${ac_var}_value=\$${ac_var}
1432
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1433
eval ac_cv_env_${ac_var}_value=\$${ac_var}
987
1437
# Report the --help message.
1586
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1587
if test -f $ac_dir/install-sh; then
2018
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2019
if test -f "$ac_dir/install-sh"; then
1588
2020
ac_aux_dir=$ac_dir
1589
2021
ac_install_sh="$ac_aux_dir/install-sh -c"
1591
elif test -f $ac_dir/install.sh; then
2023
elif test -f "$ac_dir/install.sh"; then
1592
2024
ac_aux_dir=$ac_dir
1593
2025
ac_install_sh="$ac_aux_dir/install.sh -c"
1595
elif test -f $ac_dir/shtool; then
2027
elif test -f "$ac_dir/shtool"; then
1596
2028
ac_aux_dir=$ac_dir
1597
2029
ac_install_sh="$ac_aux_dir/shtool install -c"
1601
2033
if test -z "$ac_aux_dir"; then
1602
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1603
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2034
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2035
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1604
2036
{ (exit 1); exit 1; }; }
1606
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1607
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1608
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2039
# These three variables are undocumented and unsupported,
2040
# and are intended to be withdrawn in a future Autoconf release.
2041
# They can cause serious problems if a builder's source tree is in a directory
2042
# whose full name contains unusual characters.
2043
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2044
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2045
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1610
2048
# Make sure we can run config.sub.
1611
$ac_config_sub sun4 >/dev/null 2>&1 ||
1612
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1613
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2049
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2050
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2051
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1614
2052
{ (exit 1); exit 1; }; }
1616
echo "$as_me:$LINENO: checking build system type" >&5
1617
echo $ECHO_N "checking build system type... $ECHO_C" >&6
2054
{ echo "$as_me:$LINENO: checking build system type" >&5
2055
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1618
2056
if test "${ac_cv_build+set}" = set; then
1619
2057
echo $ECHO_N "(cached) $ECHO_C" >&6
1621
ac_cv_build_alias=$build_alias
1622
test -z "$ac_cv_build_alias" &&
1623
ac_cv_build_alias=`$ac_config_guess`
1624
test -z "$ac_cv_build_alias" &&
2059
ac_build_alias=$build_alias
2060
test "x$ac_build_alias" = x &&
2061
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2062
test "x$ac_build_alias" = x &&
1625
2063
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1626
2064
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1627
2065
{ (exit 1); exit 1; }; }
1628
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1629
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1630
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2066
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2067
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2068
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1631
2069
{ (exit 1); exit 1; }; }
1634
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1635
echo "${ECHO_T}$ac_cv_build" >&6
2072
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2073
echo "${ECHO_T}$ac_cv_build" >&6; }
2074
case $ac_cv_build in
2076
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2077
echo "$as_me: error: invalid value of canonical build" >&2;}
2078
{ (exit 1); exit 1; }; };;
1636
2080
build=$ac_cv_build
1637
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1638
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1639
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1642
echo "$as_me:$LINENO: checking host system type" >&5
1643
echo $ECHO_N "checking host system type... $ECHO_C" >&6
2081
ac_save_IFS=$IFS; IFS='-'
2087
# Remember, the first character of IFS is used to create $*,
2088
# except with old shells:
2091
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2094
{ echo "$as_me:$LINENO: checking host system type" >&5
2095
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1644
2096
if test "${ac_cv_host+set}" = set; then
1645
2097
echo $ECHO_N "(cached) $ECHO_C" >&6
1647
ac_cv_host_alias=$host_alias
1648
test -z "$ac_cv_host_alias" &&
1649
ac_cv_host_alias=$ac_cv_build_alias
1650
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1651
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1652
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2099
if test "x$host_alias" = x; then
2100
ac_cv_host=$ac_cv_build
2102
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2103
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2104
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1653
2105
{ (exit 1); exit 1; }; }
1656
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1657
echo "${ECHO_T}$ac_cv_host" >&6
2109
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2110
echo "${ECHO_T}$ac_cv_host" >&6; }
2113
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2114
echo "$as_me: error: invalid value of canonical host" >&2;}
2115
{ (exit 1); exit 1; }; };;
1658
2117
host=$ac_cv_host
1659
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1660
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1661
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1664
echo "$as_me:$LINENO: checking target system type" >&5
1665
echo $ECHO_N "checking target system type... $ECHO_C" >&6
2118
ac_save_IFS=$IFS; IFS='-'
2124
# Remember, the first character of IFS is used to create $*,
2125
# except with old shells:
2128
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2131
{ echo "$as_me:$LINENO: checking target system type" >&5
2132
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1666
2133
if test "${ac_cv_target+set}" = set; then
1667
2134
echo $ECHO_N "(cached) $ECHO_C" >&6
1669
ac_cv_target_alias=$target_alias
1670
test "x$ac_cv_target_alias" = "x" &&
1671
ac_cv_target_alias=$ac_cv_host_alias
1672
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1673
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1674
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2136
if test "x$target_alias" = x; then
2137
ac_cv_target=$ac_cv_host
2139
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2140
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2141
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1675
2142
{ (exit 1); exit 1; }; }
1678
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1679
echo "${ECHO_T}$ac_cv_target" >&6
2146
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2147
echo "${ECHO_T}$ac_cv_target" >&6; }
2148
case $ac_cv_target in
2150
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2151
echo "$as_me: error: invalid value of canonical target" >&2;}
2152
{ (exit 1); exit 1; }; };;
1680
2154
target=$ac_cv_target
1681
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1682
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1683
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2155
ac_save_IFS=$IFS; IFS='-'
2161
# Remember, the first character of IFS is used to create $*,
2162
# except with old shells:
2165
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1686
2168
# The aliases save the names the user supplied, while $host etc.
2860
# Don't try gcc -ansi; that turns off useful extensions and
2861
# breaks some systems' header files.
2862
# AIX -qlanglvl=ansi
2863
# Ultrix and OSF/1 -std1
2864
# HP-UX 10.20 and later -Ae
2865
# HP-UX older versions -Aa -D_HPUX_SOURCE
2866
# SVR4 -Xc -D__EXTENSIONS__
2867
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3517
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3518
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2869
3520
CC="$ac_save_CC $ac_arg"
2870
3521
rm -f conftest.$ac_objext
2871
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2872
(eval $ac_compile) 2>conftest.er1
3522
if { (ac_try="$ac_compile"
3524
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525
*) ac_try_echo=$ac_try;;
3527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3528
(eval "$ac_compile") 2>conftest.er1
2874
3530
grep -v '^ *+' conftest.er1 >conftest.err
2875
3531
rm -f conftest.er1
2876
3532
cat conftest.err >&5
2877
3533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878
(exit $ac_status); } &&
2879
{ ac_try='test -z "$ac_c_werror_flag"
2880
|| test ! -s conftest.err'
2881
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885
(exit $ac_status); }; } &&
2886
{ ac_try='test -s conftest.$ac_objext'
2887
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891
(exit $ac_status); }; }; then
2892
ac_cv_prog_cc_stdc=$ac_arg
3534
(exit $ac_status); } && {
3535
test -z "$ac_c_werror_flag" ||
3536
test ! -s conftest.err
3537
} && test -s conftest.$ac_objext; then
3538
ac_cv_prog_cc_c89=$ac_arg
2895
3540
echo "$as_me: failed program was:" >&5
2896
3541
sed 's/^/| /' conftest.$ac_ext >&5
2899
rm -f conftest.err conftest.$ac_objext
3546
rm -f core conftest.err conftest.$ac_objext
3547
test "x$ac_cv_prog_cc_c89" != "xno" && break
2901
rm -f conftest.$ac_ext conftest.$ac_objext
3549
rm -f conftest.$ac_ext
2906
case "x$ac_cv_prog_cc_stdc" in
2908
echo "$as_me:$LINENO: result: none needed" >&5
2909
echo "${ECHO_T}none needed" >&6 ;;
3554
case "x$ac_cv_prog_cc_c89" in
3556
{ echo "$as_me:$LINENO: result: none needed" >&5
3557
echo "${ECHO_T}none needed" >&6; } ;;
3559
{ echo "$as_me:$LINENO: result: unsupported" >&5
3560
echo "${ECHO_T}unsupported" >&6; } ;;
2911
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2912
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2913
CC="$CC $ac_cv_prog_cc_stdc" ;;
3562
CC="$CC $ac_cv_prog_cc_c89"
3563
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3564
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2916
# Some people use a C++ compiler to compile C. Since we use `exit',
2917
# in C++ we need to declare it. In case someone uses the same compiler
2918
# for both compiling C and C++ we need to have the C++ compiler decide
2919
# the declaration of exit, since it's the most demanding environment.
2920
cat >conftest.$ac_ext <<_ACEOF
2925
rm -f conftest.$ac_objext
2926
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927
(eval $ac_compile) 2>conftest.er1
2929
grep -v '^ *+' conftest.er1 >conftest.err
2931
cat conftest.err >&5
2932
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933
(exit $ac_status); } &&
2934
{ ac_try='test -z "$ac_c_werror_flag"
2935
|| test ! -s conftest.err'
2936
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940
(exit $ac_status); }; } &&
2941
{ ac_try='test -s conftest.$ac_objext'
2942
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946
(exit $ac_status); }; }; then
2947
for ac_declaration in \
2949
'extern "C" void std::exit (int) throw (); using std::exit;' \
2950
'extern "C" void std::exit (int); using std::exit;' \
2951
'extern "C" void exit (int) throw ();' \
2952
'extern "C" void exit (int);' \
2955
cat >conftest.$ac_ext <<_ACEOF
2958
cat confdefs.h >>conftest.$ac_ext
2959
cat >>conftest.$ac_ext <<_ACEOF
2960
/* end confdefs.h. */
2971
rm -f conftest.$ac_objext
2972
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2973
(eval $ac_compile) 2>conftest.er1
2975
grep -v '^ *+' conftest.er1 >conftest.err
2977
cat conftest.err >&5
2978
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979
(exit $ac_status); } &&
2980
{ ac_try='test -z "$ac_c_werror_flag"
2981
|| test ! -s conftest.err'
2982
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986
(exit $ac_status); }; } &&
2987
{ ac_try='test -s conftest.$ac_objext'
2988
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992
(exit $ac_status); }; }; then
2995
echo "$as_me: failed program was:" >&5
2996
sed 's/^/| /' conftest.$ac_ext >&5
3000
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3001
cat >conftest.$ac_ext <<_ACEOF
3004
cat confdefs.h >>conftest.$ac_ext
3005
cat >>conftest.$ac_ext <<_ACEOF
3006
/* end confdefs.h. */
3016
rm -f conftest.$ac_objext
3017
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3018
(eval $ac_compile) 2>conftest.er1
3020
grep -v '^ *+' conftest.er1 >conftest.err
3022
cat conftest.err >&5
3023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
(exit $ac_status); } &&
3025
{ ac_try='test -z "$ac_c_werror_flag"
3026
|| test ! -s conftest.err'
3027
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031
(exit $ac_status); }; } &&
3032
{ ac_try='test -s conftest.$ac_objext'
3033
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
(exit $ac_status); }; }; then
3040
echo "$as_me: failed program was:" >&5
3041
sed 's/^/| /' conftest.$ac_ext >&5
3044
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3047
if test -n "$ac_declaration"; then
3048
echo '#ifdef __cplusplus' >>confdefs.h
3049
echo $ac_declaration >>confdefs.h
3050
echo '#endif' >>confdefs.h
3054
echo "$as_me: failed program was:" >&5
3055
sed 's/^/| /' conftest.$ac_ext >&5
3058
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3060
3569
ac_cpp='$CPP $CPPFLAGS'
3061
3570
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12872
13797
enable_fast_install=needless
12877
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12878
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12879
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12880
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12881
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12882
echo "$as_me:$LINENO: result: yes" >&5
12883
echo "${ECHO_T}yes" >&6
12885
# FIXME - insert some real tests, host_os isn't really good enough
12888
if test -n "$STRIP" ; then
12889
striplib="$STRIP -x"
12890
echo "$as_me:$LINENO: result: yes" >&5
12891
echo "${ECHO_T}yes" >&6
12893
echo "$as_me:$LINENO: result: no" >&5
12894
echo "${ECHO_T}no" >&6
12898
echo "$as_me:$LINENO: result: no" >&5
12899
echo "${ECHO_T}no" >&6
12904
if test "x$enable_dlopen" != xyes; then
12905
enable_dlopen=unknown
12906
enable_dlopen_self=unknown
12907
enable_dlopen_self_static=unknown
12914
lt_cv_dlopen="load_add_on"
12916
lt_cv_dlopen_self=yes
12920
lt_cv_dlopen="LoadLibrary"
12925
lt_cv_dlopen="dlopen"
12930
# if libdl is installed we need to link against it
12931
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12932
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12933
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12934
echo $ECHO_N "(cached) $ECHO_C" >&6
12936
ac_check_lib_save_LIBS=$LIBS
12938
cat >conftest.$ac_ext <<_ACEOF
12941
cat confdefs.h >>conftest.$ac_ext
12942
cat >>conftest.$ac_ext <<_ACEOF
12943
/* end confdefs.h. */
12945
/* Override any gcc2 internal prototype to avoid an error. */
12949
/* We use char because int might match the return type of a gcc2
12950
builtin and then its argument prototype would still apply. */
12960
rm -f conftest.$ac_objext conftest$ac_exeext
12961
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12962
(eval $ac_link) 2>conftest.er1
12964
grep -v '^ *+' conftest.er1 >conftest.err
12966
cat conftest.err >&5
12967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968
(exit $ac_status); } &&
12969
{ ac_try='test -z "$ac_cxx_werror_flag"
12970
|| test ! -s conftest.err'
12971
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12972
(eval $ac_try) 2>&5
12974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975
(exit $ac_status); }; } &&
12976
{ ac_try='test -s conftest$ac_exeext'
12977
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12978
(eval $ac_try) 2>&5
12980
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981
(exit $ac_status); }; }; then
12982
ac_cv_lib_dl_dlopen=yes
12984
echo "$as_me: failed program was:" >&5
12985
sed 's/^/| /' conftest.$ac_ext >&5
12987
ac_cv_lib_dl_dlopen=no
12989
rm -f conftest.err conftest.$ac_objext \
12990
conftest$ac_exeext conftest.$ac_ext
12991
LIBS=$ac_check_lib_save_LIBS
12993
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12994
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12995
if test $ac_cv_lib_dl_dlopen = yes; then
12996
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12999
lt_cv_dlopen="dyld"
13001
lt_cv_dlopen_self=yes
13008
echo "$as_me:$LINENO: checking for shl_load" >&5
13009
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13010
if test "${ac_cv_func_shl_load+set}" = set; then
13011
echo $ECHO_N "(cached) $ECHO_C" >&6
13013
cat >conftest.$ac_ext <<_ACEOF
13016
cat confdefs.h >>conftest.$ac_ext
13017
cat >>conftest.$ac_ext <<_ACEOF
13018
/* end confdefs.h. */
13019
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13020
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13021
#define shl_load innocuous_shl_load
13023
/* System header to define __stub macros and hopefully few prototypes,
13024
which can conflict with char shl_load (); below.
13025
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13026
<limits.h> exists even on freestanding compilers. */
13029
# include <limits.h>
13031
# include <assert.h>
13036
/* Override any gcc2 internal prototype to avoid an error. */
13041
/* We use char because int might match the return type of a gcc2
13042
builtin and then its argument prototype would still apply. */
13044
/* The GNU C library defines this for functions which it implements
13045
to always fail with ENOSYS. Some functions are actually named
13046
something starting with __ and the normal name is an alias. */
13047
#if defined (__stub_shl_load) || defined (__stub___shl_load)
13050
char (*f) () = shl_load;
13059
return f != shl_load;
13064
rm -f conftest.$ac_objext conftest$ac_exeext
13065
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13066
(eval $ac_link) 2>conftest.er1
13068
grep -v '^ *+' conftest.er1 >conftest.err
13070
cat conftest.err >&5
13071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072
(exit $ac_status); } &&
13073
{ ac_try='test -z "$ac_cxx_werror_flag"
13074
|| test ! -s conftest.err'
13075
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076
(eval $ac_try) 2>&5
13078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079
(exit $ac_status); }; } &&
13080
{ ac_try='test -s conftest$ac_exeext'
13081
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13082
(eval $ac_try) 2>&5
13084
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085
(exit $ac_status); }; }; then
13086
ac_cv_func_shl_load=yes
13088
echo "$as_me: failed program was:" >&5
13089
sed 's/^/| /' conftest.$ac_ext >&5
13091
ac_cv_func_shl_load=no
13093
rm -f conftest.err conftest.$ac_objext \
13094
conftest$ac_exeext conftest.$ac_ext
13096
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13097
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13098
if test $ac_cv_func_shl_load = yes; then
13099
lt_cv_dlopen="shl_load"
13101
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13102
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13103
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13104
echo $ECHO_N "(cached) $ECHO_C" >&6
13106
ac_check_lib_save_LIBS=$LIBS
13108
cat >conftest.$ac_ext <<_ACEOF
13111
cat confdefs.h >>conftest.$ac_ext
13112
cat >>conftest.$ac_ext <<_ACEOF
13113
/* end confdefs.h. */
13115
/* Override any gcc2 internal prototype to avoid an error. */
13119
/* We use char because int might match the return type of a gcc2
13120
builtin and then its argument prototype would still apply. */
13130
rm -f conftest.$ac_objext conftest$ac_exeext
13131
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13132
(eval $ac_link) 2>conftest.er1
13134
grep -v '^ *+' conftest.er1 >conftest.err
13136
cat conftest.err >&5
13137
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138
(exit $ac_status); } &&
13139
{ ac_try='test -z "$ac_cxx_werror_flag"
13140
|| test ! -s conftest.err'
13141
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142
(eval $ac_try) 2>&5
13144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145
(exit $ac_status); }; } &&
13146
{ ac_try='test -s conftest$ac_exeext'
13147
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148
(eval $ac_try) 2>&5
13150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151
(exit $ac_status); }; }; then
13152
ac_cv_lib_dld_shl_load=yes
13154
echo "$as_me: failed program was:" >&5
13155
sed 's/^/| /' conftest.$ac_ext >&5
13157
ac_cv_lib_dld_shl_load=no
13159
rm -f conftest.err conftest.$ac_objext \
13160
conftest$ac_exeext conftest.$ac_ext
13161
LIBS=$ac_check_lib_save_LIBS
13163
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13164
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13165
if test $ac_cv_lib_dld_shl_load = yes; then
13166
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13168
echo "$as_me:$LINENO: checking for dlopen" >&5
13169
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13170
if test "${ac_cv_func_dlopen+set}" = set; then
13171
echo $ECHO_N "(cached) $ECHO_C" >&6
13173
cat >conftest.$ac_ext <<_ACEOF
13176
cat confdefs.h >>conftest.$ac_ext
13177
cat >>conftest.$ac_ext <<_ACEOF
13178
/* end confdefs.h. */
13179
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13180
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13181
#define dlopen innocuous_dlopen
13183
/* System header to define __stub macros and hopefully few prototypes,
13184
which can conflict with char dlopen (); below.
13185
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13186
<limits.h> exists even on freestanding compilers. */
13189
# include <limits.h>
13191
# include <assert.h>
13196
/* Override any gcc2 internal prototype to avoid an error. */
13201
/* We use char because int might match the return type of a gcc2
13202
builtin and then its argument prototype would still apply. */
13204
/* The GNU C library defines this for functions which it implements
13205
to always fail with ENOSYS. Some functions are actually named
13206
something starting with __ and the normal name is an alias. */
13207
#if defined (__stub_dlopen) || defined (__stub___dlopen)
13210
char (*f) () = dlopen;
13219
return f != dlopen;
13224
rm -f conftest.$ac_objext conftest$ac_exeext
13225
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13226
(eval $ac_link) 2>conftest.er1
13228
grep -v '^ *+' conftest.er1 >conftest.err
13230
cat conftest.err >&5
13231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232
(exit $ac_status); } &&
13233
{ ac_try='test -z "$ac_cxx_werror_flag"
13234
|| test ! -s conftest.err'
13235
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13236
(eval $ac_try) 2>&5
13238
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239
(exit $ac_status); }; } &&
13240
{ ac_try='test -s conftest$ac_exeext'
13241
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242
(eval $ac_try) 2>&5
13244
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245
(exit $ac_status); }; }; then
13246
ac_cv_func_dlopen=yes
13248
echo "$as_me: failed program was:" >&5
13249
sed 's/^/| /' conftest.$ac_ext >&5
13251
ac_cv_func_dlopen=no
13253
rm -f conftest.err conftest.$ac_objext \
13254
conftest$ac_exeext conftest.$ac_ext
13256
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13257
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13258
if test $ac_cv_func_dlopen = yes; then
13259
lt_cv_dlopen="dlopen"
13261
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13262
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13263
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13264
echo $ECHO_N "(cached) $ECHO_C" >&6
13266
ac_check_lib_save_LIBS=$LIBS
13268
cat >conftest.$ac_ext <<_ACEOF
13271
cat confdefs.h >>conftest.$ac_ext
13272
cat >>conftest.$ac_ext <<_ACEOF
13273
/* end confdefs.h. */
13275
/* Override any gcc2 internal prototype to avoid an error. */
13279
/* We use char because int might match the return type of a gcc2
13280
builtin and then its argument prototype would still apply. */
13290
rm -f conftest.$ac_objext conftest$ac_exeext
13291
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13292
(eval $ac_link) 2>conftest.er1
13294
grep -v '^ *+' conftest.er1 >conftest.err
13296
cat conftest.err >&5
13297
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298
(exit $ac_status); } &&
13299
{ ac_try='test -z "$ac_cxx_werror_flag"
13300
|| test ! -s conftest.err'
13301
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302
(eval $ac_try) 2>&5
13304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305
(exit $ac_status); }; } &&
13306
{ ac_try='test -s conftest$ac_exeext'
13307
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308
(eval $ac_try) 2>&5
13310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311
(exit $ac_status); }; }; then
13312
ac_cv_lib_dl_dlopen=yes
13314
echo "$as_me: failed program was:" >&5
13315
sed 's/^/| /' conftest.$ac_ext >&5
13317
ac_cv_lib_dl_dlopen=no
13319
rm -f conftest.err conftest.$ac_objext \
13320
conftest$ac_exeext conftest.$ac_ext
13321
LIBS=$ac_check_lib_save_LIBS
13323
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13324
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13325
if test $ac_cv_lib_dl_dlopen = yes; then
13326
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13328
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13329
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13330
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13331
echo $ECHO_N "(cached) $ECHO_C" >&6
13333
ac_check_lib_save_LIBS=$LIBS
13334
LIBS="-lsvld $LIBS"
13335
cat >conftest.$ac_ext <<_ACEOF
13338
cat confdefs.h >>conftest.$ac_ext
13339
cat >>conftest.$ac_ext <<_ACEOF
13340
/* end confdefs.h. */
13342
/* Override any gcc2 internal prototype to avoid an error. */
13346
/* We use char because int might match the return type of a gcc2
13347
builtin and then its argument prototype would still apply. */
13357
rm -f conftest.$ac_objext conftest$ac_exeext
13358
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13359
(eval $ac_link) 2>conftest.er1
13361
grep -v '^ *+' conftest.er1 >conftest.err
13363
cat conftest.err >&5
13364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365
(exit $ac_status); } &&
13366
{ ac_try='test -z "$ac_cxx_werror_flag"
13367
|| test ! -s conftest.err'
13368
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369
(eval $ac_try) 2>&5
13371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372
(exit $ac_status); }; } &&
13373
{ ac_try='test -s conftest$ac_exeext'
13374
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375
(eval $ac_try) 2>&5
13377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378
(exit $ac_status); }; }; then
13379
ac_cv_lib_svld_dlopen=yes
13381
echo "$as_me: failed program was:" >&5
13382
sed 's/^/| /' conftest.$ac_ext >&5
13384
ac_cv_lib_svld_dlopen=no
13386
rm -f conftest.err conftest.$ac_objext \
13387
conftest$ac_exeext conftest.$ac_ext
13388
LIBS=$ac_check_lib_save_LIBS
13390
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13391
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13392
if test $ac_cv_lib_svld_dlopen = yes; then
13393
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13395
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13396
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13397
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13398
echo $ECHO_N "(cached) $ECHO_C" >&6
13400
ac_check_lib_save_LIBS=$LIBS
13402
cat >conftest.$ac_ext <<_ACEOF
13405
cat confdefs.h >>conftest.$ac_ext
13406
cat >>conftest.$ac_ext <<_ACEOF
13407
/* end confdefs.h. */
13409
/* Override any gcc2 internal prototype to avoid an error. */
13413
/* We use char because int might match the return type of a gcc2
13414
builtin and then its argument prototype would still apply. */
13424
rm -f conftest.$ac_objext conftest$ac_exeext
13425
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13426
(eval $ac_link) 2>conftest.er1
13428
grep -v '^ *+' conftest.er1 >conftest.err
13430
cat conftest.err >&5
13431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432
(exit $ac_status); } &&
13433
{ ac_try='test -z "$ac_cxx_werror_flag"
13434
|| test ! -s conftest.err'
13435
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436
(eval $ac_try) 2>&5
13438
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439
(exit $ac_status); }; } &&
13440
{ ac_try='test -s conftest$ac_exeext'
13441
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442
(eval $ac_try) 2>&5
13444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445
(exit $ac_status); }; }; then
13446
ac_cv_lib_dld_dld_link=yes
13448
echo "$as_me: failed program was:" >&5
13449
sed 's/^/| /' conftest.$ac_ext >&5
13451
ac_cv_lib_dld_dld_link=no
13453
rm -f conftest.err conftest.$ac_objext \
13454
conftest$ac_exeext conftest.$ac_ext
13455
LIBS=$ac_check_lib_save_LIBS
13457
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13458
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13459
if test $ac_cv_lib_dld_dld_link = yes; then
13460
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13481
if test "x$lt_cv_dlopen" != xno; then
13487
case $lt_cv_dlopen in
13489
save_CPPFLAGS="$CPPFLAGS"
13490
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13492
save_LDFLAGS="$LDFLAGS"
13493
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13496
LIBS="$lt_cv_dlopen_libs $LIBS"
13498
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13499
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13500
if test "${lt_cv_dlopen_self+set}" = set; then
13501
echo $ECHO_N "(cached) $ECHO_C" >&6
13503
if test "$cross_compiling" = yes; then :
13504
lt_cv_dlopen_self=cross
13506
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13507
lt_status=$lt_dlunknown
13508
cat > conftest.$ac_ext <<EOF
13509
#line 13509 "configure"
13510
#include "confdefs.h"
13519
# define LT_DLGLOBAL RTLD_GLOBAL
13522
# define LT_DLGLOBAL DL_GLOBAL
13524
# define LT_DLGLOBAL 0
13528
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13529
find out it does not work in some platform. */
13530
#ifndef LT_DLLAZY_OR_NOW
13532
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13535
# define LT_DLLAZY_OR_NOW DL_LAZY
13538
# define LT_DLLAZY_OR_NOW RTLD_NOW
13541
# define LT_DLLAZY_OR_NOW DL_NOW
13543
# define LT_DLLAZY_OR_NOW 0
13551
extern "C" void exit (int);
13554
void fnord() { int i=42;}
13557
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13558
int status = $lt_dlunknown;
13562
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13563
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13564
/* dlclose (self); */
13570
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13571
(eval $ac_link) 2>&5
13573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13575
(./conftest; exit; ) 2>/dev/null
13577
case x$lt_status in
13578
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13579
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13580
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13583
# compilation failed
13584
lt_cv_dlopen_self=no
13591
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13592
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13594
if test "x$lt_cv_dlopen_self" = xyes; then
13595
LDFLAGS="$LDFLAGS $link_static_flag"
13596
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13597
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13598
if test "${lt_cv_dlopen_self_static+set}" = set; then
13599
echo $ECHO_N "(cached) $ECHO_C" >&6
13601
if test "$cross_compiling" = yes; then :
13602
lt_cv_dlopen_self_static=cross
13604
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13605
lt_status=$lt_dlunknown
13606
cat > conftest.$ac_ext <<EOF
13607
#line 13607 "configure"
13608
#include "confdefs.h"
13617
# define LT_DLGLOBAL RTLD_GLOBAL
13620
# define LT_DLGLOBAL DL_GLOBAL
13622
# define LT_DLGLOBAL 0
13626
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13627
find out it does not work in some platform. */
13628
#ifndef LT_DLLAZY_OR_NOW
13630
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13633
# define LT_DLLAZY_OR_NOW DL_LAZY
13636
# define LT_DLLAZY_OR_NOW RTLD_NOW
13639
# define LT_DLLAZY_OR_NOW DL_NOW
13641
# define LT_DLLAZY_OR_NOW 0
13649
extern "C" void exit (int);
13652
void fnord() { int i=42;}
13655
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13656
int status = $lt_dlunknown;
13660
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13661
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13662
/* dlclose (self); */
13668
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13669
(eval $ac_link) 2>&5
13671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13673
(./conftest; exit; ) 2>/dev/null
13675
case x$lt_status in
13676
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13677
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13678
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13681
# compilation failed
13682
lt_cv_dlopen_self_static=no
13689
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13690
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13693
CPPFLAGS="$save_CPPFLAGS"
13694
LDFLAGS="$save_LDFLAGS"
13699
case $lt_cv_dlopen_self in
13700
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13701
*) enable_dlopen_self=unknown ;;
13704
case $lt_cv_dlopen_self_static in
13705
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13706
*) enable_dlopen_self_static=unknown ;;
13711
13801
# The else clause should only fire when bootstrapping the
13712
13802
# libtool distribution, otherwise you forgot to ship ltmain.sh
18635
18970
enable_fast_install=needless
18640
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18641
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18642
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18643
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18644
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18645
echo "$as_me:$LINENO: result: yes" >&5
18646
echo "${ECHO_T}yes" >&6
18648
# FIXME - insert some real tests, host_os isn't really good enough
18651
if test -n "$STRIP" ; then
18652
striplib="$STRIP -x"
18653
echo "$as_me:$LINENO: result: yes" >&5
18654
echo "${ECHO_T}yes" >&6
18656
echo "$as_me:$LINENO: result: no" >&5
18657
echo "${ECHO_T}no" >&6
18661
echo "$as_me:$LINENO: result: no" >&5
18662
echo "${ECHO_T}no" >&6
18667
if test "x$enable_dlopen" != xyes; then
18668
enable_dlopen=unknown
18669
enable_dlopen_self=unknown
18670
enable_dlopen_self_static=unknown
18677
lt_cv_dlopen="load_add_on"
18679
lt_cv_dlopen_self=yes
18683
lt_cv_dlopen="LoadLibrary"
18688
lt_cv_dlopen="dlopen"
18693
# if libdl is installed we need to link against it
18694
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18695
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18696
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18697
echo $ECHO_N "(cached) $ECHO_C" >&6
18699
ac_check_lib_save_LIBS=$LIBS
18701
cat >conftest.$ac_ext <<_ACEOF
18704
cat confdefs.h >>conftest.$ac_ext
18705
cat >>conftest.$ac_ext <<_ACEOF
18706
/* end confdefs.h. */
18708
/* Override any gcc2 internal prototype to avoid an error. */
18712
/* We use char because int might match the return type of a gcc2
18713
builtin and then its argument prototype would still apply. */
18723
rm -f conftest.$ac_objext conftest$ac_exeext
18724
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18725
(eval $ac_link) 2>conftest.er1
18727
grep -v '^ *+' conftest.er1 >conftest.err
18729
cat conftest.err >&5
18730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731
(exit $ac_status); } &&
18732
{ ac_try='test -z "$ac_c_werror_flag"
18733
|| test ! -s conftest.err'
18734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735
(eval $ac_try) 2>&5
18737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738
(exit $ac_status); }; } &&
18739
{ ac_try='test -s conftest$ac_exeext'
18740
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18741
(eval $ac_try) 2>&5
18743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744
(exit $ac_status); }; }; then
18745
ac_cv_lib_dl_dlopen=yes
18747
echo "$as_me: failed program was:" >&5
18748
sed 's/^/| /' conftest.$ac_ext >&5
18750
ac_cv_lib_dl_dlopen=no
18752
rm -f conftest.err conftest.$ac_objext \
18753
conftest$ac_exeext conftest.$ac_ext
18754
LIBS=$ac_check_lib_save_LIBS
18756
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18757
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18758
if test $ac_cv_lib_dl_dlopen = yes; then
18759
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18762
lt_cv_dlopen="dyld"
18764
lt_cv_dlopen_self=yes
18771
echo "$as_me:$LINENO: checking for shl_load" >&5
18772
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18773
if test "${ac_cv_func_shl_load+set}" = set; then
18774
echo $ECHO_N "(cached) $ECHO_C" >&6
18776
cat >conftest.$ac_ext <<_ACEOF
18779
cat confdefs.h >>conftest.$ac_ext
18780
cat >>conftest.$ac_ext <<_ACEOF
18781
/* end confdefs.h. */
18782
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18783
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18784
#define shl_load innocuous_shl_load
18786
/* System header to define __stub macros and hopefully few prototypes,
18787
which can conflict with char shl_load (); below.
18788
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18789
<limits.h> exists even on freestanding compilers. */
18792
# include <limits.h>
18794
# include <assert.h>
18799
/* Override any gcc2 internal prototype to avoid an error. */
18804
/* We use char because int might match the return type of a gcc2
18805
builtin and then its argument prototype would still apply. */
18807
/* The GNU C library defines this for functions which it implements
18808
to always fail with ENOSYS. Some functions are actually named
18809
something starting with __ and the normal name is an alias. */
18810
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18813
char (*f) () = shl_load;
18822
return f != shl_load;
18827
rm -f conftest.$ac_objext conftest$ac_exeext
18828
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18829
(eval $ac_link) 2>conftest.er1
18831
grep -v '^ *+' conftest.er1 >conftest.err
18833
cat conftest.err >&5
18834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835
(exit $ac_status); } &&
18836
{ ac_try='test -z "$ac_c_werror_flag"
18837
|| test ! -s conftest.err'
18838
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839
(eval $ac_try) 2>&5
18841
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842
(exit $ac_status); }; } &&
18843
{ ac_try='test -s conftest$ac_exeext'
18844
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845
(eval $ac_try) 2>&5
18847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848
(exit $ac_status); }; }; then
18849
ac_cv_func_shl_load=yes
18851
echo "$as_me: failed program was:" >&5
18852
sed 's/^/| /' conftest.$ac_ext >&5
18854
ac_cv_func_shl_load=no
18856
rm -f conftest.err conftest.$ac_objext \
18857
conftest$ac_exeext conftest.$ac_ext
18859
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18860
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18861
if test $ac_cv_func_shl_load = yes; then
18862
lt_cv_dlopen="shl_load"
18864
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18865
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18866
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18867
echo $ECHO_N "(cached) $ECHO_C" >&6
18869
ac_check_lib_save_LIBS=$LIBS
18871
cat >conftest.$ac_ext <<_ACEOF
18874
cat confdefs.h >>conftest.$ac_ext
18875
cat >>conftest.$ac_ext <<_ACEOF
18876
/* end confdefs.h. */
18878
/* Override any gcc2 internal prototype to avoid an error. */
18882
/* We use char because int might match the return type of a gcc2
18883
builtin and then its argument prototype would still apply. */
18893
rm -f conftest.$ac_objext conftest$ac_exeext
18894
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18895
(eval $ac_link) 2>conftest.er1
18897
grep -v '^ *+' conftest.er1 >conftest.err
18899
cat conftest.err >&5
18900
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901
(exit $ac_status); } &&
18902
{ ac_try='test -z "$ac_c_werror_flag"
18903
|| test ! -s conftest.err'
18904
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905
(eval $ac_try) 2>&5
18907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908
(exit $ac_status); }; } &&
18909
{ ac_try='test -s conftest$ac_exeext'
18910
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18911
(eval $ac_try) 2>&5
18913
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914
(exit $ac_status); }; }; then
18915
ac_cv_lib_dld_shl_load=yes
18917
echo "$as_me: failed program was:" >&5
18918
sed 's/^/| /' conftest.$ac_ext >&5
18920
ac_cv_lib_dld_shl_load=no
18922
rm -f conftest.err conftest.$ac_objext \
18923
conftest$ac_exeext conftest.$ac_ext
18924
LIBS=$ac_check_lib_save_LIBS
18926
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18927
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18928
if test $ac_cv_lib_dld_shl_load = yes; then
18929
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18931
echo "$as_me:$LINENO: checking for dlopen" >&5
18932
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18933
if test "${ac_cv_func_dlopen+set}" = set; then
18934
echo $ECHO_N "(cached) $ECHO_C" >&6
18936
cat >conftest.$ac_ext <<_ACEOF
18939
cat confdefs.h >>conftest.$ac_ext
18940
cat >>conftest.$ac_ext <<_ACEOF
18941
/* end confdefs.h. */
18942
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18943
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18944
#define dlopen innocuous_dlopen
18946
/* System header to define __stub macros and hopefully few prototypes,
18947
which can conflict with char dlopen (); below.
18948
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18949
<limits.h> exists even on freestanding compilers. */
18952
# include <limits.h>
18954
# include <assert.h>
18959
/* Override any gcc2 internal prototype to avoid an error. */
18964
/* We use char because int might match the return type of a gcc2
18965
builtin and then its argument prototype would still apply. */
18967
/* The GNU C library defines this for functions which it implements
18968
to always fail with ENOSYS. Some functions are actually named
18969
something starting with __ and the normal name is an alias. */
18970
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18973
char (*f) () = dlopen;
18982
return f != dlopen;
18987
rm -f conftest.$ac_objext conftest$ac_exeext
18988
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18989
(eval $ac_link) 2>conftest.er1
18991
grep -v '^ *+' conftest.er1 >conftest.err
18993
cat conftest.err >&5
18994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995
(exit $ac_status); } &&
18996
{ ac_try='test -z "$ac_c_werror_flag"
18997
|| test ! -s conftest.err'
18998
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999
(eval $ac_try) 2>&5
19001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002
(exit $ac_status); }; } &&
19003
{ ac_try='test -s conftest$ac_exeext'
19004
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005
(eval $ac_try) 2>&5
19007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008
(exit $ac_status); }; }; then
19009
ac_cv_func_dlopen=yes
19011
echo "$as_me: failed program was:" >&5
19012
sed 's/^/| /' conftest.$ac_ext >&5
19014
ac_cv_func_dlopen=no
19016
rm -f conftest.err conftest.$ac_objext \
19017
conftest$ac_exeext conftest.$ac_ext
19019
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19020
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19021
if test $ac_cv_func_dlopen = yes; then
19022
lt_cv_dlopen="dlopen"
19024
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19025
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19026
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19027
echo $ECHO_N "(cached) $ECHO_C" >&6
19029
ac_check_lib_save_LIBS=$LIBS
19031
cat >conftest.$ac_ext <<_ACEOF
19034
cat confdefs.h >>conftest.$ac_ext
19035
cat >>conftest.$ac_ext <<_ACEOF
19036
/* end confdefs.h. */
19038
/* Override any gcc2 internal prototype to avoid an error. */
19042
/* We use char because int might match the return type of a gcc2
19043
builtin and then its argument prototype would still apply. */
19053
rm -f conftest.$ac_objext conftest$ac_exeext
19054
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19055
(eval $ac_link) 2>conftest.er1
19057
grep -v '^ *+' conftest.er1 >conftest.err
19059
cat conftest.err >&5
19060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061
(exit $ac_status); } &&
19062
{ ac_try='test -z "$ac_c_werror_flag"
19063
|| test ! -s conftest.err'
19064
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065
(eval $ac_try) 2>&5
19067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068
(exit $ac_status); }; } &&
19069
{ ac_try='test -s conftest$ac_exeext'
19070
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19071
(eval $ac_try) 2>&5
19073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074
(exit $ac_status); }; }; then
19075
ac_cv_lib_dl_dlopen=yes
19077
echo "$as_me: failed program was:" >&5
19078
sed 's/^/| /' conftest.$ac_ext >&5
19080
ac_cv_lib_dl_dlopen=no
19082
rm -f conftest.err conftest.$ac_objext \
19083
conftest$ac_exeext conftest.$ac_ext
19084
LIBS=$ac_check_lib_save_LIBS
19086
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19087
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19088
if test $ac_cv_lib_dl_dlopen = yes; then
19089
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19091
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19092
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19093
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19094
echo $ECHO_N "(cached) $ECHO_C" >&6
19096
ac_check_lib_save_LIBS=$LIBS
19097
LIBS="-lsvld $LIBS"
19098
cat >conftest.$ac_ext <<_ACEOF
19101
cat confdefs.h >>conftest.$ac_ext
19102
cat >>conftest.$ac_ext <<_ACEOF
19103
/* end confdefs.h. */
19105
/* Override any gcc2 internal prototype to avoid an error. */
19109
/* We use char because int might match the return type of a gcc2
19110
builtin and then its argument prototype would still apply. */
19120
rm -f conftest.$ac_objext conftest$ac_exeext
19121
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19122
(eval $ac_link) 2>conftest.er1
19124
grep -v '^ *+' conftest.er1 >conftest.err
19126
cat conftest.err >&5
19127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128
(exit $ac_status); } &&
19129
{ ac_try='test -z "$ac_c_werror_flag"
19130
|| test ! -s conftest.err'
19131
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132
(eval $ac_try) 2>&5
19134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135
(exit $ac_status); }; } &&
19136
{ ac_try='test -s conftest$ac_exeext'
19137
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138
(eval $ac_try) 2>&5
19140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141
(exit $ac_status); }; }; then
19142
ac_cv_lib_svld_dlopen=yes
19144
echo "$as_me: failed program was:" >&5
19145
sed 's/^/| /' conftest.$ac_ext >&5
19147
ac_cv_lib_svld_dlopen=no
19149
rm -f conftest.err conftest.$ac_objext \
19150
conftest$ac_exeext conftest.$ac_ext
19151
LIBS=$ac_check_lib_save_LIBS
19153
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19154
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19155
if test $ac_cv_lib_svld_dlopen = yes; then
19156
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19158
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19159
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19160
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19161
echo $ECHO_N "(cached) $ECHO_C" >&6
19163
ac_check_lib_save_LIBS=$LIBS
19165
cat >conftest.$ac_ext <<_ACEOF
19168
cat confdefs.h >>conftest.$ac_ext
19169
cat >>conftest.$ac_ext <<_ACEOF
19170
/* end confdefs.h. */
19172
/* Override any gcc2 internal prototype to avoid an error. */
19176
/* We use char because int might match the return type of a gcc2
19177
builtin and then its argument prototype would still apply. */
19187
rm -f conftest.$ac_objext conftest$ac_exeext
19188
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19189
(eval $ac_link) 2>conftest.er1
19191
grep -v '^ *+' conftest.er1 >conftest.err
19193
cat conftest.err >&5
19194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195
(exit $ac_status); } &&
19196
{ ac_try='test -z "$ac_c_werror_flag"
19197
|| test ! -s conftest.err'
19198
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199
(eval $ac_try) 2>&5
19201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202
(exit $ac_status); }; } &&
19203
{ ac_try='test -s conftest$ac_exeext'
19204
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205
(eval $ac_try) 2>&5
19207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208
(exit $ac_status); }; }; then
19209
ac_cv_lib_dld_dld_link=yes
19211
echo "$as_me: failed program was:" >&5
19212
sed 's/^/| /' conftest.$ac_ext >&5
19214
ac_cv_lib_dld_dld_link=no
19216
rm -f conftest.err conftest.$ac_objext \
19217
conftest$ac_exeext conftest.$ac_ext
19218
LIBS=$ac_check_lib_save_LIBS
19220
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19221
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19222
if test $ac_cv_lib_dld_dld_link = yes; then
19223
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19244
if test "x$lt_cv_dlopen" != xno; then
19250
case $lt_cv_dlopen in
19252
save_CPPFLAGS="$CPPFLAGS"
19253
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19255
save_LDFLAGS="$LDFLAGS"
19256
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19259
LIBS="$lt_cv_dlopen_libs $LIBS"
19261
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19262
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19263
if test "${lt_cv_dlopen_self+set}" = set; then
19264
echo $ECHO_N "(cached) $ECHO_C" >&6
19266
if test "$cross_compiling" = yes; then :
19267
lt_cv_dlopen_self=cross
19269
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19270
lt_status=$lt_dlunknown
19271
cat > conftest.$ac_ext <<EOF
19272
#line 19272 "configure"
19273
#include "confdefs.h"
19282
# define LT_DLGLOBAL RTLD_GLOBAL
19285
# define LT_DLGLOBAL DL_GLOBAL
19287
# define LT_DLGLOBAL 0
19291
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19292
find out it does not work in some platform. */
19293
#ifndef LT_DLLAZY_OR_NOW
19295
# define LT_DLLAZY_OR_NOW RTLD_LAZY
19298
# define LT_DLLAZY_OR_NOW DL_LAZY
19301
# define LT_DLLAZY_OR_NOW RTLD_NOW
19304
# define LT_DLLAZY_OR_NOW DL_NOW
19306
# define LT_DLLAZY_OR_NOW 0
19314
extern "C" void exit (int);
19317
void fnord() { int i=42;}
19320
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19321
int status = $lt_dlunknown;
19325
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19326
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19327
/* dlclose (self); */
19333
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334
(eval $ac_link) 2>&5
19336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19338
(./conftest; exit; ) 2>/dev/null
19340
case x$lt_status in
19341
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19342
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19343
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19346
# compilation failed
19347
lt_cv_dlopen_self=no
19354
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19355
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19357
if test "x$lt_cv_dlopen_self" = xyes; then
19358
LDFLAGS="$LDFLAGS $link_static_flag"
19359
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19360
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19361
if test "${lt_cv_dlopen_self_static+set}" = set; then
19362
echo $ECHO_N "(cached) $ECHO_C" >&6
19364
if test "$cross_compiling" = yes; then :
19365
lt_cv_dlopen_self_static=cross
19367
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19368
lt_status=$lt_dlunknown
19369
cat > conftest.$ac_ext <<EOF
19370
#line 19370 "configure"
19371
#include "confdefs.h"
19380
# define LT_DLGLOBAL RTLD_GLOBAL
19383
# define LT_DLGLOBAL DL_GLOBAL
19385
# define LT_DLGLOBAL 0
19389
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19390
find out it does not work in some platform. */
19391
#ifndef LT_DLLAZY_OR_NOW
19393
# define LT_DLLAZY_OR_NOW RTLD_LAZY
19396
# define LT_DLLAZY_OR_NOW DL_LAZY
19399
# define LT_DLLAZY_OR_NOW RTLD_NOW
19402
# define LT_DLLAZY_OR_NOW DL_NOW
19404
# define LT_DLLAZY_OR_NOW 0
19412
extern "C" void exit (int);
19415
void fnord() { int i=42;}
19418
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19419
int status = $lt_dlunknown;
19423
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19424
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19425
/* dlclose (self); */
19431
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19432
(eval $ac_link) 2>&5
19434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19436
(./conftest; exit; ) 2>/dev/null
19438
case x$lt_status in
19439
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19440
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19441
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19444
# compilation failed
19445
lt_cv_dlopen_self_static=no
19452
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19453
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19456
CPPFLAGS="$save_CPPFLAGS"
19457
LDFLAGS="$save_LDFLAGS"
19462
case $lt_cv_dlopen_self in
19463
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19464
*) enable_dlopen_self=unknown ;;
19467
case $lt_cv_dlopen_self_static in
19468
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19469
*) enable_dlopen_self_static=unknown ;;
19474
18974
# The else clause should only fire when bootstrapping the
19475
18975
# libtool distribution, otherwise you forgot to ship ltmain.sh
23386
22836
## openssl on solaris needs -lsocket -lnsl
23387
echo "$as_me:$LINENO: checking for library containing socket" >&5
23388
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
23389
if test "${ac_cv_search_socket+set}" = set; then
23390
echo $ECHO_N "(cached) $ECHO_C" >&6
23392
ac_func_search_save_LIBS=$LIBS
23393
ac_cv_search_socket=no
23394
cat >conftest.$ac_ext <<_ACEOF
23397
cat confdefs.h >>conftest.$ac_ext
23398
cat >>conftest.$ac_ext <<_ACEOF
23399
/* end confdefs.h. */
23401
/* Override any gcc2 internal prototype to avoid an error. */
23405
/* We use char because int might match the return type of a gcc2
23406
builtin and then its argument prototype would still apply. */
23416
rm -f conftest.$ac_objext conftest$ac_exeext
23417
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23418
(eval $ac_link) 2>conftest.er1
23420
grep -v '^ *+' conftest.er1 >conftest.err
23422
cat conftest.err >&5
23423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424
(exit $ac_status); } &&
23425
{ ac_try='test -z "$ac_c_werror_flag"
23426
|| test ! -s conftest.err'
23427
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23428
(eval $ac_try) 2>&5
23430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431
(exit $ac_status); }; } &&
23432
{ ac_try='test -s conftest$ac_exeext'
23433
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434
(eval $ac_try) 2>&5
23436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437
(exit $ac_status); }; }; then
23438
ac_cv_search_socket="none required"
23440
echo "$as_me: failed program was:" >&5
23441
sed 's/^/| /' conftest.$ac_ext >&5
23444
rm -f conftest.err conftest.$ac_objext \
23445
conftest$ac_exeext conftest.$ac_ext
23446
if test "$ac_cv_search_socket" = no; then
23447
for ac_lib in socket; do
23448
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23449
cat >conftest.$ac_ext <<_ACEOF
23452
cat confdefs.h >>conftest.$ac_ext
23453
cat >>conftest.$ac_ext <<_ACEOF
23454
/* end confdefs.h. */
23456
/* Override any gcc2 internal prototype to avoid an error. */
23460
/* We use char because int might match the return type of a gcc2
23461
builtin and then its argument prototype would still apply. */
23471
rm -f conftest.$ac_objext conftest$ac_exeext
23472
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23473
(eval $ac_link) 2>conftest.er1
23475
grep -v '^ *+' conftest.er1 >conftest.err
23477
cat conftest.err >&5
23478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479
(exit $ac_status); } &&
23480
{ ac_try='test -z "$ac_c_werror_flag"
23481
|| test ! -s conftest.err'
23482
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483
(eval $ac_try) 2>&5
23485
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486
(exit $ac_status); }; } &&
23487
{ ac_try='test -s conftest$ac_exeext'
23488
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23489
(eval $ac_try) 2>&5
23491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492
(exit $ac_status); }; }; then
23493
ac_cv_search_socket="-l$ac_lib"
23496
echo "$as_me: failed program was:" >&5
23497
sed 's/^/| /' conftest.$ac_ext >&5
23500
rm -f conftest.err conftest.$ac_objext \
23501
conftest$ac_exeext conftest.$ac_ext
23504
LIBS=$ac_func_search_save_LIBS
23506
echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
23507
echo "${ECHO_T}$ac_cv_search_socket" >&6
23508
if test "$ac_cv_search_socket" != no; then
23509
test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
23513
echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
23514
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
23515
if test "${ac_cv_search_gethostbyname+set}" = set; then
23516
echo $ECHO_N "(cached) $ECHO_C" >&6
23518
ac_func_search_save_LIBS=$LIBS
23519
ac_cv_search_gethostbyname=no
23520
cat >conftest.$ac_ext <<_ACEOF
23523
cat confdefs.h >>conftest.$ac_ext
23524
cat >>conftest.$ac_ext <<_ACEOF
23525
/* end confdefs.h. */
23527
/* Override any gcc2 internal prototype to avoid an error. */
23531
/* We use char because int might match the return type of a gcc2
23532
builtin and then its argument prototype would still apply. */
23533
char gethostbyname ();
23542
rm -f conftest.$ac_objext conftest$ac_exeext
23543
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23544
(eval $ac_link) 2>conftest.er1
23546
grep -v '^ *+' conftest.er1 >conftest.err
23548
cat conftest.err >&5
23549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550
(exit $ac_status); } &&
23551
{ ac_try='test -z "$ac_c_werror_flag"
23552
|| test ! -s conftest.err'
23553
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23554
(eval $ac_try) 2>&5
23556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557
(exit $ac_status); }; } &&
23558
{ ac_try='test -s conftest$ac_exeext'
23559
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23560
(eval $ac_try) 2>&5
23562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563
(exit $ac_status); }; }; then
23564
ac_cv_search_gethostbyname="none required"
23566
echo "$as_me: failed program was:" >&5
23567
sed 's/^/| /' conftest.$ac_ext >&5
23570
rm -f conftest.err conftest.$ac_objext \
23571
conftest$ac_exeext conftest.$ac_ext
23572
if test "$ac_cv_search_gethostbyname" = no; then
23573
for ac_lib in nsl socket; do
23574
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23575
cat >conftest.$ac_ext <<_ACEOF
23578
cat confdefs.h >>conftest.$ac_ext
23579
cat >>conftest.$ac_ext <<_ACEOF
23580
/* end confdefs.h. */
23582
/* Override any gcc2 internal prototype to avoid an error. */
23586
/* We use char because int might match the return type of a gcc2
23587
builtin and then its argument prototype would still apply. */
23588
char gethostbyname ();
23597
rm -f conftest.$ac_objext conftest$ac_exeext
23598
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23599
(eval $ac_link) 2>conftest.er1
23601
grep -v '^ *+' conftest.er1 >conftest.err
23603
cat conftest.err >&5
23604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605
(exit $ac_status); } &&
23606
{ ac_try='test -z "$ac_c_werror_flag"
23607
|| test ! -s conftest.err'
23608
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609
(eval $ac_try) 2>&5
23611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612
(exit $ac_status); }; } &&
23613
{ ac_try='test -s conftest$ac_exeext'
23614
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615
(eval $ac_try) 2>&5
23617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618
(exit $ac_status); }; }; then
23619
ac_cv_search_gethostbyname="-l$ac_lib"
23622
echo "$as_me: failed program was:" >&5
23623
sed 's/^/| /' conftest.$ac_ext >&5
23626
rm -f conftest.err conftest.$ac_objext \
23627
conftest$ac_exeext conftest.$ac_ext
23630
LIBS=$ac_func_search_save_LIBS
23632
echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
23633
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
23634
if test "$ac_cv_search_gethostbyname" != no; then
23635
test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
23639
echo "$as_me:$LINENO: checking for library containing hstrerror" >&5
23640
echo $ECHO_N "checking for library containing hstrerror... $ECHO_C" >&6
23641
if test "${ac_cv_search_hstrerror+set}" = set; then
23642
echo $ECHO_N "(cached) $ECHO_C" >&6
23644
ac_func_search_save_LIBS=$LIBS
23645
ac_cv_search_hstrerror=no
23646
cat >conftest.$ac_ext <<_ACEOF
23649
cat confdefs.h >>conftest.$ac_ext
23650
cat >>conftest.$ac_ext <<_ACEOF
23651
/* end confdefs.h. */
23653
/* Override any gcc2 internal prototype to avoid an error. */
23657
/* We use char because int might match the return type of a gcc2
23658
builtin and then its argument prototype would still apply. */
23668
rm -f conftest.$ac_objext conftest$ac_exeext
23669
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670
(eval $ac_link) 2>conftest.er1
23672
grep -v '^ *+' conftest.er1 >conftest.err
23674
cat conftest.err >&5
23675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676
(exit $ac_status); } &&
23677
{ ac_try='test -z "$ac_c_werror_flag"
23678
|| test ! -s conftest.err'
23679
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23680
(eval $ac_try) 2>&5
23682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683
(exit $ac_status); }; } &&
23684
{ ac_try='test -s conftest$ac_exeext'
23685
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686
(eval $ac_try) 2>&5
23688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689
(exit $ac_status); }; }; then
23690
ac_cv_search_hstrerror="none required"
23692
echo "$as_me: failed program was:" >&5
23693
sed 's/^/| /' conftest.$ac_ext >&5
23696
rm -f conftest.err conftest.$ac_objext \
23697
conftest$ac_exeext conftest.$ac_ext
23698
if test "$ac_cv_search_hstrerror" = no; then
23699
for ac_lib in resolv; do
23700
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23701
cat >conftest.$ac_ext <<_ACEOF
23704
cat confdefs.h >>conftest.$ac_ext
23705
cat >>conftest.$ac_ext <<_ACEOF
23706
/* end confdefs.h. */
23708
/* Override any gcc2 internal prototype to avoid an error. */
23712
/* We use char because int might match the return type of a gcc2
23713
builtin and then its argument prototype would still apply. */
23723
rm -f conftest.$ac_objext conftest$ac_exeext
23724
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725
(eval $ac_link) 2>conftest.er1
23727
grep -v '^ *+' conftest.er1 >conftest.err
23729
cat conftest.err >&5
23730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731
(exit $ac_status); } &&
23732
{ ac_try='test -z "$ac_c_werror_flag"
23733
|| test ! -s conftest.err'
23734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23735
(eval $ac_try) 2>&5
23737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738
(exit $ac_status); }; } &&
23739
{ ac_try='test -s conftest$ac_exeext'
23740
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23741
(eval $ac_try) 2>&5
23743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744
(exit $ac_status); }; }; then
23745
ac_cv_search_hstrerror="-l$ac_lib"
23748
echo "$as_me: failed program was:" >&5
23749
sed 's/^/| /' conftest.$ac_ext >&5
23752
rm -f conftest.err conftest.$ac_objext \
23753
conftest$ac_exeext conftest.$ac_ext
23756
LIBS=$ac_func_search_save_LIBS
23758
echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5
23759
echo "${ECHO_T}$ac_cv_search_hstrerror" >&6
23760
if test "$ac_cv_search_hstrerror" != no; then
23761
test "$ac_cv_search_hstrerror" = "none required" || LIBS="$ac_cv_search_hstrerror $LIBS"
22837
{ echo "$as_me:$LINENO: checking for library containing socket" >&5
22838
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
22839
if test "${ac_cv_search_socket+set}" = set; then
22840
echo $ECHO_N "(cached) $ECHO_C" >&6
22842
ac_func_search_save_LIBS=$LIBS
22843
cat >conftest.$ac_ext <<_ACEOF
22846
cat confdefs.h >>conftest.$ac_ext
22847
cat >>conftest.$ac_ext <<_ACEOF
22848
/* end confdefs.h. */
22850
/* Override any GCC internal prototype to avoid an error.
22851
Use char because int might match the return type of a GCC
22852
builtin and then its argument prototype would still apply. */
22865
for ac_lib in '' socket; do
22866
if test -z "$ac_lib"; then
22867
ac_res="none required"
22870
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22872
rm -f conftest.$ac_objext conftest$ac_exeext
22873
if { (ac_try="$ac_link"
22874
case "(($ac_try" in
22875
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22876
*) ac_try_echo=$ac_try;;
22878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22879
(eval "$ac_link") 2>conftest.er1
22881
grep -v '^ *+' conftest.er1 >conftest.err
22883
cat conftest.err >&5
22884
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885
(exit $ac_status); } && {
22886
test -z "$ac_c_werror_flag" ||
22887
test ! -s conftest.err
22888
} && test -s conftest$ac_exeext &&
22889
$as_test_x conftest$ac_exeext; then
22890
ac_cv_search_socket=$ac_res
22892
echo "$as_me: failed program was:" >&5
22893
sed 's/^/| /' conftest.$ac_ext >&5
22898
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22900
if test "${ac_cv_search_socket+set}" = set; then
22904
if test "${ac_cv_search_socket+set}" = set; then
22907
ac_cv_search_socket=no
22909
rm conftest.$ac_ext
22910
LIBS=$ac_func_search_save_LIBS
22912
{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
22913
echo "${ECHO_T}$ac_cv_search_socket" >&6; }
22914
ac_res=$ac_cv_search_socket
22915
if test "$ac_res" != no; then
22916
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22920
{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
22921
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
22922
if test "${ac_cv_search_gethostbyname+set}" = set; then
22923
echo $ECHO_N "(cached) $ECHO_C" >&6
22925
ac_func_search_save_LIBS=$LIBS
22926
cat >conftest.$ac_ext <<_ACEOF
22929
cat confdefs.h >>conftest.$ac_ext
22930
cat >>conftest.$ac_ext <<_ACEOF
22931
/* end confdefs.h. */
22933
/* Override any GCC internal prototype to avoid an error.
22934
Use char because int might match the return type of a GCC
22935
builtin and then its argument prototype would still apply. */
22939
char gethostbyname ();
22943
return gethostbyname ();
22948
for ac_lib in '' nsl socket; do
22949
if test -z "$ac_lib"; then
22950
ac_res="none required"
22953
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22955
rm -f conftest.$ac_objext conftest$ac_exeext
22956
if { (ac_try="$ac_link"
22957
case "(($ac_try" in
22958
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22959
*) ac_try_echo=$ac_try;;
22961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22962
(eval "$ac_link") 2>conftest.er1
22964
grep -v '^ *+' conftest.er1 >conftest.err
22966
cat conftest.err >&5
22967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968
(exit $ac_status); } && {
22969
test -z "$ac_c_werror_flag" ||
22970
test ! -s conftest.err
22971
} && test -s conftest$ac_exeext &&
22972
$as_test_x conftest$ac_exeext; then
22973
ac_cv_search_gethostbyname=$ac_res
22975
echo "$as_me: failed program was:" >&5
22976
sed 's/^/| /' conftest.$ac_ext >&5
22981
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22983
if test "${ac_cv_search_gethostbyname+set}" = set; then
22987
if test "${ac_cv_search_gethostbyname+set}" = set; then
22990
ac_cv_search_gethostbyname=no
22992
rm conftest.$ac_ext
22993
LIBS=$ac_func_search_save_LIBS
22995
{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
22996
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
22997
ac_res=$ac_cv_search_gethostbyname
22998
if test "$ac_res" != no; then
22999
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23003
{ echo "$as_me:$LINENO: checking for library containing hstrerror" >&5
23004
echo $ECHO_N "checking for library containing hstrerror... $ECHO_C" >&6; }
23005
if test "${ac_cv_search_hstrerror+set}" = set; then
23006
echo $ECHO_N "(cached) $ECHO_C" >&6
23008
ac_func_search_save_LIBS=$LIBS
23009
cat >conftest.$ac_ext <<_ACEOF
23012
cat confdefs.h >>conftest.$ac_ext
23013
cat >>conftest.$ac_ext <<_ACEOF
23014
/* end confdefs.h. */
23016
/* Override any GCC internal prototype to avoid an error.
23017
Use char because int might match the return type of a GCC
23018
builtin and then its argument prototype would still apply. */
23026
return hstrerror ();
23031
for ac_lib in '' resolv; do
23032
if test -z "$ac_lib"; then
23033
ac_res="none required"
23036
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23038
rm -f conftest.$ac_objext conftest$ac_exeext
23039
if { (ac_try="$ac_link"
23040
case "(($ac_try" in
23041
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23042
*) ac_try_echo=$ac_try;;
23044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045
(eval "$ac_link") 2>conftest.er1
23047
grep -v '^ *+' conftest.er1 >conftest.err
23049
cat conftest.err >&5
23050
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051
(exit $ac_status); } && {
23052
test -z "$ac_c_werror_flag" ||
23053
test ! -s conftest.err
23054
} && test -s conftest$ac_exeext &&
23055
$as_test_x conftest$ac_exeext; then
23056
ac_cv_search_hstrerror=$ac_res
23058
echo "$as_me: failed program was:" >&5
23059
sed 's/^/| /' conftest.$ac_ext >&5
23064
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23066
if test "${ac_cv_search_hstrerror+set}" = set; then
23070
if test "${ac_cv_search_hstrerror+set}" = set; then
23073
ac_cv_search_hstrerror=no
23075
rm conftest.$ac_ext
23076
LIBS=$ac_func_search_save_LIBS
23078
{ echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5
23079
echo "${ECHO_T}$ac_cv_search_hstrerror" >&6; }
23080
ac_res=$ac_cv_search_hstrerror
23081
if test "$ac_res" != no; then
23082
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23766
23087
save_LIBS=$LIBS
23767
echo "$as_me:$LINENO: checking for library containing dlopen" >&5
23768
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
23088
{ echo "$as_me:$LINENO: checking for library containing dlopen" >&5
23089
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
23769
23090
if test "${ac_cv_search_dlopen+set}" = set; then
23770
23091
echo $ECHO_N "(cached) $ECHO_C" >&6
23772
23093
ac_func_search_save_LIBS=$LIBS
23773
ac_cv_search_dlopen=no
23774
23094
cat >conftest.$ac_ext <<_ACEOF
23775
23095
/* confdefs.h. */
29581
28700
# Have a temporary directory for convenience. Make it in the build tree
29582
# simply because there is no reason to put it here, and in addition,
28701
# simply because there is no reason against having it here, and in addition,
29583
28702
# creating and moving files from /tmp can sometimes cause problems.
29584
# Create a temporary directory, and hook for its removal unless debugging.
28703
# Hook for its removal unless debugging.
28704
# Note that there is a small window in which the directory will not be cleaned:
28705
# after its creation but before its name has been assigned to `$tmp'.
29587
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
28709
trap 'exit_status=$?
28710
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29588
28712
trap '{ (exit 1); exit 1; }' 1 2 13 15
29591
28714
# Create a (secure) tmp directory for tmp files.
29594
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
28717
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29595
28718
test -n "$tmp" && test -d "$tmp"
29598
tmp=./confstat$$-$RANDOM
29599
(umask 077 && mkdir $tmp)
28721
tmp=./conf$$-$RANDOM
28722
(umask 077 && mkdir "$tmp")
29602
28725
echo "$me: cannot create a temporary directory in ." >&2
29603
28726
{ (exit 1); exit 1; }
29608
cat >>$CONFIG_STATUS <<_ACEOF
29611
# CONFIG_FILES section.
28730
# Set up the sed scripts for CONFIG_FILES section.
29614
28733
# No need to generate the scripts if there are no CONFIG_FILES.
29615
28734
# This happens for instance when ./config.status config.h
29616
if test -n "\$CONFIG_FILES"; then
29617
# Protect against being on the right side of a sed subst in config.status.
29618
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29619
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29620
s,@SHELL@,$SHELL,;t t
29621
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29622
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29623
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29624
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29625
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29626
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29627
s,@exec_prefix@,$exec_prefix,;t t
29628
s,@prefix@,$prefix,;t t
29629
s,@program_transform_name@,$program_transform_name,;t t
29630
s,@bindir@,$bindir,;t t
29631
s,@sbindir@,$sbindir,;t t
29632
s,@libexecdir@,$libexecdir,;t t
29633
s,@datadir@,$datadir,;t t
29634
s,@sysconfdir@,$sysconfdir,;t t
29635
s,@sharedstatedir@,$sharedstatedir,;t t
29636
s,@localstatedir@,$localstatedir,;t t
29637
s,@libdir@,$libdir,;t t
29638
s,@includedir@,$includedir,;t t
29639
s,@oldincludedir@,$oldincludedir,;t t
29640
s,@infodir@,$infodir,;t t
29641
s,@mandir@,$mandir,;t t
29642
s,@build_alias@,$build_alias,;t t
29643
s,@host_alias@,$host_alias,;t t
29644
s,@target_alias@,$target_alias,;t t
29645
s,@DEFS@,$DEFS,;t t
29646
s,@ECHO_C@,$ECHO_C,;t t
29647
s,@ECHO_N@,$ECHO_N,;t t
29648
s,@ECHO_T@,$ECHO_T,;t t
29649
s,@LIBS@,$LIBS,;t t
29650
s,@build@,$build,;t t
29651
s,@build_cpu@,$build_cpu,;t t
29652
s,@build_vendor@,$build_vendor,;t t
29653
s,@build_os@,$build_os,;t t
29654
s,@host@,$host,;t t
29655
s,@host_cpu@,$host_cpu,;t t
29656
s,@host_vendor@,$host_vendor,;t t
29657
s,@host_os@,$host_os,;t t
29658
s,@target@,$target,;t t
29659
s,@target_cpu@,$target_cpu,;t t
29660
s,@target_vendor@,$target_vendor,;t t
29661
s,@target_os@,$target_os,;t t
29662
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29663
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29664
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29665
s,@CYGPATH_W@,$CYGPATH_W,;t t
29666
s,@PACKAGE@,$PACKAGE,;t t
29667
s,@VERSION@,$VERSION,;t t
29668
s,@ACLOCAL@,$ACLOCAL,;t t
29669
s,@AUTOCONF@,$AUTOCONF,;t t
29670
s,@AUTOMAKE@,$AUTOMAKE,;t t
29671
s,@AUTOHEADER@,$AUTOHEADER,;t t
29672
s,@MAKEINFO@,$MAKEINFO,;t t
29673
s,@install_sh@,$install_sh,;t t
29674
s,@STRIP@,$STRIP,;t t
29675
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29676
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29677
s,@mkdir_p@,$mkdir_p,;t t
29679
s,@SET_MAKE@,$SET_MAKE,;t t
29680
s,@am__leading_dot@,$am__leading_dot,;t t
29681
s,@AMTAR@,$AMTAR,;t t
29682
s,@am__tar@,$am__tar,;t t
29683
s,@am__untar@,$am__untar,;t t
29684
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29685
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29686
s,@MAINT@,$MAINT,;t t
29688
s,@CFLAGS@,$CFLAGS,;t t
29689
s,@LDFLAGS@,$LDFLAGS,;t t
29690
s,@CPPFLAGS@,$CPPFLAGS,;t t
29691
s,@ac_ct_CC@,$ac_ct_CC,;t t
29692
s,@EXEEXT@,$EXEEXT,;t t
29693
s,@OBJEXT@,$OBJEXT,;t t
29694
s,@DEPDIR@,$DEPDIR,;t t
29695
s,@am__include@,$am__include,;t t
29696
s,@am__quote@,$am__quote,;t t
29697
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29698
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29699
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29700
s,@CCDEPMODE@,$CCDEPMODE,;t t
29701
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29702
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29703
s,@EGREP@,$EGREP,;t t
29705
s,@LN_S@,$LN_S,;t t
29706
s,@NO_RDYNAMIC_TRUE@,$NO_RDYNAMIC_TRUE,;t t
29707
s,@NO_RDYNAMIC_FALSE@,$NO_RDYNAMIC_FALSE,;t t
29709
s,@ANSI2KNR@,$ANSI2KNR,;t t
29710
s,@ECHO@,$ECHO,;t t
29712
s,@ac_ct_AR@,$ac_ct_AR,;t t
29713
s,@RANLIB@,$RANLIB,;t t
29714
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29716
s,@CXXFLAGS@,$CXXFLAGS,;t t
29717
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29718
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29719
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29720
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29721
s,@CXXCPP@,$CXXCPP,;t t
29723
s,@FFLAGS@,$FFLAGS,;t t
29724
s,@ac_ct_F77@,$ac_ct_F77,;t t
29725
s,@LIBTOOL@,$LIBTOOL,;t t
29726
s,@LIBOBJS@,$LIBOBJS,;t t
29727
s,@MYSQL_CONFIG@,$MYSQL_CONFIG,;t t
29728
s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
29729
s,@MYSQL_INCLUDE@,$MYSQL_INCLUDE,;t t
29730
s,@LDAP_LIB@,$LDAP_LIB,;t t
29731
s,@LBER_LIB@,$LBER_LIB,;t t
29732
s,@ATTR_LIB@,$ATTR_LIB,;t t
29733
s,@DL_LIB@,$DL_LIB,;t t
29734
s,@SSL_LIB@,$SSL_LIB,;t t
29735
s,@PCRECONFIG@,$PCRECONFIG,;t t
29736
s,@PCRE_LIB@,$PCRE_LIB,;t t
29737
s,@Z_LIB@,$Z_LIB,;t t
29738
s,@BZ_LIB@,$BZ_LIB,;t t
29739
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29740
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
29741
s,@FAM_CFLAGS@,$FAM_CFLAGS,;t t
29742
s,@FAM_LIBS@,$FAM_LIBS,;t t
29743
s,@XML_CFLAGS@,$XML_CFLAGS,;t t
29744
s,@XML_LIBS@,$XML_LIBS,;t t
29745
s,@SQLITE_CFLAGS@,$SQLITE_CFLAGS,;t t
29746
s,@SQLITE_LIBS@,$SQLITE_LIBS,;t t
29747
s,@UUID_LIBS@,$UUID_LIBS,;t t
29748
s,@GDBM_LIB@,$GDBM_LIB,;t t
29749
s,@MEMCACHE_LIB@,$MEMCACHE_LIB,;t t
29750
s,@LUA_CFLAGS@,$LUA_CFLAGS,;t t
29751
s,@LUA_LIBS@,$LUA_LIBS,;t t
29752
s,@CRYPT_LIB@,$CRYPT_LIB,;t t
29753
s,@SENDFILE_LIB@,$SENDFILE_LIB,;t t
29754
s,@CROSS_COMPILING_TRUE@,$CROSS_COMPILING_TRUE,;t t
29755
s,@CROSS_COMPILING_FALSE@,$CROSS_COMPILING_FALSE,;t t
29756
s,@CHECK_WITH_FASTCGI_TRUE@,$CHECK_WITH_FASTCGI_TRUE,;t t
29757
s,@CHECK_WITH_FASTCGI_FALSE@,$CHECK_WITH_FASTCGI_FALSE,;t t
29758
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29763
cat >>$CONFIG_STATUS <<\_ACEOF
29764
# Split the substitutions into bite-sized pieces for seds with
29765
# small command number limits, like on Digital OSF/1 and HP-UX.
29766
ac_max_sed_lines=48
29767
ac_sed_frag=1 # Number of current file.
29768
ac_beg=1 # First line for current file.
29769
ac_end=$ac_max_sed_lines # Line after last line for current file.
29772
while $ac_more_lines; do
29773
if test $ac_beg -gt 1; then
29774
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29776
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29778
if test ! -s $tmp/subs.frag; then
29779
ac_more_lines=false
29781
# The purpose of the label and of the branching condition is to
29782
# speed up the sed processing (if there are no `@' at all, there
29783
# is no need to browse any of the substitutions).
29784
# These are the two extra sed commands mentioned above.
29786
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
29787
if test -z "$ac_sed_cmds"; then
29788
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
29790
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29792
ac_sed_frag=`expr $ac_sed_frag + 1`
29794
ac_end=`expr $ac_end + $ac_max_sed_lines`
29797
if test -z "$ac_sed_cmds"; then
28735
if test -n "$CONFIG_FILES"; then
28742
for ac_last_try in false false false false false :; do
28743
cat >conf$$subs.sed <<_ACEOF
28744
SHELL!$SHELL$ac_delim
28745
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
28746
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
28747
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
28748
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
28749
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
28750
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
28751
exec_prefix!$exec_prefix$ac_delim
28752
prefix!$prefix$ac_delim
28753
program_transform_name!$program_transform_name$ac_delim
28754
bindir!$bindir$ac_delim
28755
sbindir!$sbindir$ac_delim
28756
libexecdir!$libexecdir$ac_delim
28757
datarootdir!$datarootdir$ac_delim
28758
datadir!$datadir$ac_delim
28759
sysconfdir!$sysconfdir$ac_delim
28760
sharedstatedir!$sharedstatedir$ac_delim
28761
localstatedir!$localstatedir$ac_delim
28762
includedir!$includedir$ac_delim
28763
oldincludedir!$oldincludedir$ac_delim
28764
docdir!$docdir$ac_delim
28765
infodir!$infodir$ac_delim
28766
htmldir!$htmldir$ac_delim
28767
dvidir!$dvidir$ac_delim
28768
pdfdir!$pdfdir$ac_delim
28769
psdir!$psdir$ac_delim
28770
libdir!$libdir$ac_delim
28771
localedir!$localedir$ac_delim
28772
mandir!$mandir$ac_delim
28773
DEFS!$DEFS$ac_delim
28774
ECHO_C!$ECHO_C$ac_delim
28775
ECHO_N!$ECHO_N$ac_delim
28776
ECHO_T!$ECHO_T$ac_delim
28777
LIBS!$LIBS$ac_delim
28778
build_alias!$build_alias$ac_delim
28779
host_alias!$host_alias$ac_delim
28780
target_alias!$target_alias$ac_delim
28781
build!$build$ac_delim
28782
build_cpu!$build_cpu$ac_delim
28783
build_vendor!$build_vendor$ac_delim
28784
build_os!$build_os$ac_delim
28785
host!$host$ac_delim
28786
host_cpu!$host_cpu$ac_delim
28787
host_vendor!$host_vendor$ac_delim
28788
host_os!$host_os$ac_delim
28789
target!$target$ac_delim
28790
target_cpu!$target_cpu$ac_delim
28791
target_vendor!$target_vendor$ac_delim
28792
target_os!$target_os$ac_delim
28793
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
28794
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
28795
INSTALL_DATA!$INSTALL_DATA$ac_delim
28796
am__isrc!$am__isrc$ac_delim
28797
CYGPATH_W!$CYGPATH_W$ac_delim
28798
PACKAGE!$PACKAGE$ac_delim
28799
VERSION!$VERSION$ac_delim
28800
ACLOCAL!$ACLOCAL$ac_delim
28801
AUTOCONF!$AUTOCONF$ac_delim
28802
AUTOMAKE!$AUTOMAKE$ac_delim
28803
AUTOHEADER!$AUTOHEADER$ac_delim
28804
MAKEINFO!$MAKEINFO$ac_delim
28805
install_sh!$install_sh$ac_delim
28806
STRIP!$STRIP$ac_delim
28807
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
28808
mkdir_p!$mkdir_p$ac_delim
28810
SET_MAKE!$SET_MAKE$ac_delim
28811
am__leading_dot!$am__leading_dot$ac_delim
28812
AMTAR!$AMTAR$ac_delim
28813
am__tar!$am__tar$ac_delim
28814
am__untar!$am__untar$ac_delim
28815
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
28816
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
28817
MAINT!$MAINT$ac_delim
28819
CFLAGS!$CFLAGS$ac_delim
28820
LDFLAGS!$LDFLAGS$ac_delim
28821
CPPFLAGS!$CPPFLAGS$ac_delim
28822
ac_ct_CC!$ac_ct_CC$ac_delim
28823
EXEEXT!$EXEEXT$ac_delim
28824
OBJEXT!$OBJEXT$ac_delim
28825
DEPDIR!$DEPDIR$ac_delim
28826
am__include!$am__include$ac_delim
28827
am__quote!$am__quote$ac_delim
28828
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
28829
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
28830
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
28831
CCDEPMODE!$CCDEPMODE$ac_delim
28832
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
28833
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
28834
GREP!$GREP$ac_delim
28835
EGREP!$EGREP$ac_delim
28837
LN_S!$LN_S$ac_delim
28838
NO_RDYNAMIC_TRUE!$NO_RDYNAMIC_TRUE$ac_delim
28839
NO_RDYNAMIC_FALSE!$NO_RDYNAMIC_FALSE$ac_delim
28843
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
28845
elif $ac_last_try; then
28846
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28847
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28848
{ (exit 1); exit 1; }; }
28850
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28854
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28855
if test -n "$ac_eof"; then
28856
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28857
ac_eof=`expr $ac_eof + 1`
28860
cat >>$CONFIG_STATUS <<_ACEOF
28861
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
28862
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28865
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28866
s/^/s,@/; s/!/@,|#_!!_#|/
28869
s/'"$ac_delim"'$/,g/; t
28871
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28872
' >>$CONFIG_STATUS <conf$$subs.sed
28873
rm -f conf$$subs.sed
28874
cat >>$CONFIG_STATUS <<_ACEOF
28880
for ac_last_try in false false false false false :; do
28881
cat >conf$$subs.sed <<_ACEOF
28882
ANSI2KNR!$ANSI2KNR$ac_delim
28883
ECHO!$ECHO$ac_delim
28885
RANLIB!$RANLIB$ac_delim
28887
CXXFLAGS!$CXXFLAGS$ac_delim
28888
ac_ct_CXX!$ac_ct_CXX$ac_delim
28889
CXXDEPMODE!$CXXDEPMODE$ac_delim
28890
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
28891
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
28892
CXXCPP!$CXXCPP$ac_delim
28894
FFLAGS!$FFLAGS$ac_delim
28895
ac_ct_F77!$ac_ct_F77$ac_delim
28896
LIBTOOL!$LIBTOOL$ac_delim
28897
LIBOBJS!$LIBOBJS$ac_delim
28898
MYSQL_CONFIG!$MYSQL_CONFIG$ac_delim
28899
MYSQL_LIBS!$MYSQL_LIBS$ac_delim
28900
MYSQL_INCLUDE!$MYSQL_INCLUDE$ac_delim
28901
LDAP_LIB!$LDAP_LIB$ac_delim
28902
LBER_LIB!$LBER_LIB$ac_delim
28903
ATTR_LIB!$ATTR_LIB$ac_delim
28904
DL_LIB!$DL_LIB$ac_delim
28905
SSL_LIB!$SSL_LIB$ac_delim
28906
PCRECONFIG!$PCRECONFIG$ac_delim
28907
PCRE_LIB!$PCRE_LIB$ac_delim
28908
Z_LIB!$Z_LIB$ac_delim
28909
BZ_LIB!$BZ_LIB$ac_delim
28910
PKG_CONFIG!$PKG_CONFIG$ac_delim
28911
FAM_CFLAGS!$FAM_CFLAGS$ac_delim
28912
FAM_LIBS!$FAM_LIBS$ac_delim
28913
XML_CFLAGS!$XML_CFLAGS$ac_delim
28914
XML_LIBS!$XML_LIBS$ac_delim
28915
SQLITE_CFLAGS!$SQLITE_CFLAGS$ac_delim
28916
SQLITE_LIBS!$SQLITE_LIBS$ac_delim
28917
UUID_LIBS!$UUID_LIBS$ac_delim
28918
GDBM_LIB!$GDBM_LIB$ac_delim
28919
MEMCACHE_LIB!$MEMCACHE_LIB$ac_delim
28920
LUA_CFLAGS!$LUA_CFLAGS$ac_delim
28921
LUA_LIBS!$LUA_LIBS$ac_delim
28922
CRYPT_LIB!$CRYPT_LIB$ac_delim
28923
SENDFILE_LIB!$SENDFILE_LIB$ac_delim
28924
CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
28925
CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
28926
CHECK_WITH_FASTCGI_TRUE!$CHECK_WITH_FASTCGI_TRUE$ac_delim
28927
CHECK_WITH_FASTCGI_FALSE!$CHECK_WITH_FASTCGI_FALSE$ac_delim
28928
LTLIBOBJS!$LTLIBOBJS$ac_delim
28931
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 47; then
28933
elif $ac_last_try; then
28934
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28935
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28936
{ (exit 1); exit 1; }; }
28938
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28942
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28943
if test -n "$ac_eof"; then
28944
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28945
ac_eof=`expr $ac_eof + 1`
28948
cat >>$CONFIG_STATUS <<_ACEOF
28949
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
28950
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
28953
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28954
s/^/s,@/; s/!/@,|#_!!_#|/
28957
s/'"$ac_delim"'$/,g/; t
28959
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28960
' >>$CONFIG_STATUS <conf$$subs.sed
28961
rm -f conf$$subs.sed
28962
cat >>$CONFIG_STATUS <<_ACEOF
28969
# VPATH may cause trouble with some makes, so we remove $(srcdir),
28970
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28971
# trailing colons and then remove the whole line if VPATH becomes empty
28972
# (actually we leave an empty line to preserve line numbers).
28973
if test "x$srcdir" = x.; then
28974
ac_vpsub='/^[ ]*VPATH[ ]*=/{
28975
s/:*\$(srcdir):*/:/
28976
s/:*\${srcdir}:*/:/
28978
s/^\([^=]*=[ ]*\):*/\1/
28984
cat >>$CONFIG_STATUS <<\_ACEOF
29800
28985
fi # test -n "$CONFIG_FILES"
29803
cat >>$CONFIG_STATUS <<\_ACEOF
29804
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
29805
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29807
- | *:- | *:-:* ) # input from stdin
29809
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29810
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29811
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29812
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29813
* ) ac_file_in=$ac_file.in ;;
29816
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29817
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28988
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
28991
:[FHLC]) ac_mode=$ac_tag; continue;;
28993
case $ac_mode$ac_tag in
28995
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
28996
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
28997
{ (exit 1); exit 1; }; };;
28998
:[FH]-) ac_tag=-:-;;
28999
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29016
-) ac_f="$tmp/stdin";;
29017
*) # Look for the file first in the build tree, then in the source tree
29018
# (if the path is not absolute). The absolute path cannot be DOS-style,
29019
# because $ac_f cannot contain `:'.
29023
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29025
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29026
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29027
{ (exit 1); exit 1; }; };;
29029
ac_file_inputs="$ac_file_inputs $ac_f"
29032
# Let's still pretend it is `configure' which instantiates (i.e., don't
29033
# use $as_me), people would be surprised to read:
29034
# /* config.h. Generated by config.status. */
29035
configure_input="Generated from "`IFS=:
29036
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
29037
if test x"$ac_file" != x-; then
29038
configure_input="$ac_file. $configure_input"
29039
{ echo "$as_me:$LINENO: creating $ac_file" >&5
29040
echo "$as_me: creating $ac_file" >&6;}
29044
*:-:* | *:-) cat >"$tmp/stdin";;
29049
ac_dir=`$as_dirname -- "$ac_file" ||
29818
29050
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29819
29051
X"$ac_file" : 'X\(//\)[^/]' \| \
29820
29052
X"$ac_file" : 'X\(//\)$' \| \
29821
X"$ac_file" : 'X\(/\)' \| \
29822
. : '\(.\)' 2>/dev/null ||
29053
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29823
29054
echo X"$ac_file" |
29824
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29825
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
29826
/^X\(\/\/\)$/{ s//\1/; q; }
29827
/^X\(\/\).*/{ s//\1/; q; }
29829
{ if $as_mkdir_p; then
29055
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29059
/^X\(\/\/\)[^/].*/{
29074
-*) as_dir=./$as_dir;;
29076
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
29834
while test ! -d "$as_dir"; do
29835
as_dirs="$as_dir $as_dirs"
29836
as_dir=`(dirname "$as_dir") 2>/dev/null ||
29080
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
29081
*) as_qdir=$as_dir;;
29083
as_dirs="'$as_qdir' $as_dirs"
29084
as_dir=`$as_dirname -- "$as_dir" ||
29837
29085
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29838
29086
X"$as_dir" : 'X\(//\)[^/]' \| \
29839
29087
X"$as_dir" : 'X\(//\)$' \| \
29840
X"$as_dir" : 'X\(/\)' \| \
29841
. : '\(.\)' 2>/dev/null ||
29088
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29842
29089
echo X"$as_dir" |
29843
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29844
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
29845
/^X\(\/\/\)$/{ s//\1/; q; }
29846
/^X\(\/\).*/{ s//\1/; q; }
29090
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29094
/^X\(\/\/\)[^/].*/{
29107
test -d "$as_dir" && break
29849
test ! -n "$as_dirs" || mkdir $as_dirs
29850
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29851
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29109
test -z "$as_dirs" || eval "mkdir $as_dirs"
29110
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
29111
echo "$as_me: error: cannot create directory $as_dir" >&2;}
29852
29112
{ (exit 1); exit 1; }; }; }
29854
29113
ac_builddir=.
29856
if test "$ac_dir" != .; then
29116
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29857
29118
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29858
# A "../" for each directory in $ac_dir_suffix.
29859
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29861
ac_dir_suffix= ac_top_builddir=
29119
# A ".." for each directory in $ac_dir_suffix.
29120
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
29121
case $ac_top_builddir_sub in
29122
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29123
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29126
ac_abs_top_builddir=$ac_pwd
29127
ac_abs_builddir=$ac_pwd$ac_dir_suffix
29128
# for backward compatibility:
29129
ac_top_builddir=$ac_top_build_prefix
29864
29131
case $srcdir in
29865
.) # No --srcdir option. We are building in place.
29132
.) # We are building in place.
29867
if test -z "$ac_top_builddir"; then
29870
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29872
[\\/]* | ?:[\\/]* ) # Absolute path.
29134
ac_top_srcdir=$ac_top_builddir_sub
29135
ac_abs_top_srcdir=$ac_pwd ;;
29136
[\\/]* | ?:[\\/]* ) # Absolute name.
29873
29137
ac_srcdir=$srcdir$ac_dir_suffix;
29874
ac_top_srcdir=$srcdir ;;
29875
*) # Relative path.
29876
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29877
ac_top_srcdir=$ac_top_builddir$srcdir ;;
29880
# Do not use `cd foo && pwd` to compute absolute paths, because
29881
# the directories may not exist.
29883
.) ac_abs_builddir="$ac_dir";;
29886
.) ac_abs_builddir=`pwd`;;
29887
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29888
*) ac_abs_builddir=`pwd`/"$ac_dir";;
29891
case $ac_abs_builddir in
29892
.) ac_abs_top_builddir=${ac_top_builddir}.;;
29894
case ${ac_top_builddir}. in
29895
.) ac_abs_top_builddir=$ac_abs_builddir;;
29896
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29897
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29900
case $ac_abs_builddir in
29901
.) ac_abs_srcdir=$ac_srcdir;;
29904
.) ac_abs_srcdir=$ac_abs_builddir;;
29905
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29906
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29909
case $ac_abs_builddir in
29910
.) ac_abs_top_srcdir=$ac_top_srcdir;;
29912
case $ac_top_srcdir in
29913
.) ac_abs_top_srcdir=$ac_abs_builddir;;
29914
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29915
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29138
ac_top_srcdir=$srcdir
29139
ac_abs_top_srcdir=$srcdir ;;
29140
*) # Relative name.
29141
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29142
ac_top_srcdir=$ac_top_build_prefix$srcdir
29143
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29145
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29920
29154
case $INSTALL in
29921
29155
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29922
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
29925
if test x"$ac_file" != x-; then
29926
{ echo "$as_me:$LINENO: creating $ac_file" >&5
29927
echo "$as_me: creating $ac_file" >&6;}
29930
# Let's still pretend it is `configure' which instantiates (i.e., don't
29931
# use $as_me), people would be surprised to read:
29932
# /* config.h. Generated by config.status. */
29933
if test x"$ac_file" = x-; then
29936
configure_input="$ac_file. "
29938
configure_input=$configure_input"Generated from `echo $ac_file_in |
29939
sed 's,.*/,,'` by configure."
29941
# First look for the input files in the build tree, otherwise in the
29943
ac_file_inputs=`IFS=:
29944
for f in $ac_file_in; do
29946
-) echo $tmp/stdin ;;
29948
# Absolute (can't be DOS-style, as IFS=:)
29949
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29950
echo "$as_me: error: cannot find input file: $f" >&2;}
29951
{ (exit 1); exit 1; }; }
29954
if test -f "$f"; then
29957
elif test -f "$srcdir/$f"; then
29962
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29963
echo "$as_me: error: cannot find input file: $f" >&2;}
29964
{ (exit 1); exit 1; }; }
29967
done` || { (exit 1); exit 1; }
29156
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29158
ac_MKDIR_P=$MKDIR_P
29160
[\\/$]* | ?:[\\/]* ) ;;
29161
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29165
cat >>$CONFIG_STATUS <<\_ACEOF
29166
# If the template does not know about datarootdir, expand it.
29167
# FIXME: This hack should be removed a few years after 2.60.
29168
ac_datarootdir_hack=; ac_datarootdir_seen=
29170
case `sed -n '/datarootdir/ {
29179
' $ac_file_inputs` in
29180
*datarootdir*) ac_datarootdir_seen=yes;;
29181
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29182
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29183
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29185
cat >>$CONFIG_STATUS <<_ACEOF
29186
ac_datarootdir_hack='
29187
s&@datadir@&$datadir&g
29188
s&@docdir@&$docdir&g
29189
s&@infodir@&$infodir&g
29190
s&@localedir@&$localedir&g
29191
s&@mandir@&$mandir&g
29192
s&\\\${datarootdir}&$datarootdir&g' ;;
29196
# Neutralize VPATH when `$srcdir' = `.'.
29197
# Shell code in configure.ac might set extrasub.
29198
# FIXME: do we really want to maintain this feature?
29969
29199
cat >>$CONFIG_STATUS <<_ACEOF
29970
29200
sed "$ac_vpsub
29973
29203
cat >>$CONFIG_STATUS <<\_ACEOF
29975
29205
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29976
s,@configure_input@,$configure_input,;t t
29977
s,@srcdir@,$ac_srcdir,;t t
29978
s,@abs_srcdir@,$ac_abs_srcdir,;t t
29979
s,@top_srcdir@,$ac_top_srcdir,;t t
29980
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
29981
s,@builddir@,$ac_builddir,;t t
29982
s,@abs_builddir@,$ac_abs_builddir,;t t
29983
s,@top_builddir@,$ac_top_builddir,;t t
29984
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
29985
s,@INSTALL@,$ac_INSTALL,;t t
29986
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29988
if test x"$ac_file" != x-; then
29989
mv $tmp/out $ac_file
29206
s&@configure_input@&$configure_input&;t t
29207
s&@top_builddir@&$ac_top_builddir_sub&;t t
29208
s&@srcdir@&$ac_srcdir&;t t
29209
s&@abs_srcdir@&$ac_abs_srcdir&;t t
29210
s&@top_srcdir@&$ac_top_srcdir&;t t
29211
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29212
s&@builddir@&$ac_builddir&;t t
29213
s&@abs_builddir@&$ac_abs_builddir&;t t
29214
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29215
s&@INSTALL@&$ac_INSTALL&;t t
29216
s&@MKDIR_P@&$ac_MKDIR_P&;t t
29217
$ac_datarootdir_hack
29218
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
29220
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29221
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
29222
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
29223
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29224
which seems to be undefined. Please make sure it is defined." >&5
29225
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29226
which seems to be undefined. Please make sure it is defined." >&2;}
29230
-) cat "$tmp/out"; rm -f "$tmp/out";;
29231
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
29997
cat >>$CONFIG_STATUS <<\_ACEOF
30000
# CONFIG_HEADER section.
30003
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
30004
# NAME is the cpp macro being defined and VALUE is the value it is being given.
30006
# ac_d sets the value in "#define NAME VALUE" lines.
30007
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30008
ac_dB='[ ].*$,\1#\2'
29240
# Transform confdefs.h into a sed script `conftest.defines', that
29241
# substitutes the proper values into config.h.in to produce config.h.
29242
rm -f conftest.defines conftest.tail
29243
# First, append a space to every undef/define line, to ease matching.
29244
echo 's/$/ /' >conftest.defines
29245
# Then, protect against being on the right side of a sed subst, or in
29246
# an unquoted here document, in config.status. If some macros were
29247
# called several times there might be several #defines for the same
29248
# symbol, which is useless. But do not sort them, since the last
29249
# AC_DEFINE must be honored.
29250
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29251
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
29252
# NAME is the cpp macro being defined, VALUE is the value it is being given.
29253
# PARAMS is the parameter list in the macro definition--in most cases, it's
29254
# just an empty string.
29255
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
29256
ac_dB='\\)[ (].*,\\1define\\2'
30011
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30012
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30013
ac_uB='$,\1#\2define\3'
30017
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
30018
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30020
- | *:- | *:-:* ) # input from stdin
30022
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30023
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30024
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30025
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30026
* ) ac_file_in=$ac_file.in ;;
30029
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
30030
echo "$as_me: creating $ac_file" >&6;}
30032
# First look for the input files in the build tree, otherwise in the
30034
ac_file_inputs=`IFS=:
30035
for f in $ac_file_in; do
30037
-) echo $tmp/stdin ;;
30039
# Absolute (can't be DOS-style, as IFS=:)
30040
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30041
echo "$as_me: error: cannot find input file: $f" >&2;}
30042
{ (exit 1); exit 1; }; }
30043
# Do quote $f, to prevent DOS paths from being IFS'd.
30046
if test -f "$f"; then
30049
elif test -f "$srcdir/$f"; then
30054
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30055
echo "$as_me: error: cannot find input file: $f" >&2;}
30056
{ (exit 1); exit 1; }; }
30059
done` || { (exit 1); exit 1; }
30060
# Remove the trailing spaces.
30061
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30065
# Transform confdefs.h into two sed scripts, `conftest.defines' and
30066
# `conftest.undefs', that substitutes the proper values into
30067
# config.h.in to produce config.h. The first handles `#define'
30068
# templates, and the second `#undef' templates.
30069
# And first: Protect against being on the right side of a sed subst in
30070
# config.status. Protect against being in an unquoted here document
30071
# in config.status.
30072
rm -f conftest.defines conftest.undefs
30073
# Using a here document instead of a string reduces the quoting nightmare.
30074
# Putting comments in sed scripts is not portable.
30076
# `end' is used to avoid that the second main sed command (meant for
30077
# 0-ary CPP macros) applies to n-ary macro definitions.
30078
# See the Autoconf documentation for `clear'.
30079
cat >confdef2sed.sed <<\_ACEOF
30084
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30086
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30089
# If some macros were called several times there might be several times
30090
# the same #defines, which is useless. Nevertheless, we may not want to
30091
# sort them, since we want the *last* AC-DEFINE to be honored.
30092
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30093
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30094
rm -f confdef2sed.sed
30096
# This sed command replaces #undef with comments. This is necessary, for
29264
s/^[ ]*#[ ]*define[ ][ ]*//
29269
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
29270
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
29271
' >>conftest.defines
29273
# Remove the space that was appended to ease matching.
29274
# Then replace #undef with comments. This is necessary, for
30097
29275
# example, in the case of _POSIX_SOURCE, which is predefined and required
30098
29276
# on some systems where configure will not decide to define it.
30099
cat >>conftest.undefs <<\_ACEOF
30100
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29277
# (The regexp can be short, since the line contains either #define or #undef.)
29279
s,^[ #]*u.*,/* & */,' >>conftest.defines
29281
# Break up conftest.defines:
29282
ac_max_sed_lines=50
29284
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
29285
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
29286
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
29288
ac_in='$ac_file_inputs'
29289
ac_out='"$tmp/out1"'
29290
ac_nxt='"$tmp/out2"'
29294
# Write a here document:
29295
cat >>$CONFIG_STATUS <<_ACEOF
29296
# First, check the format of the line:
29297
cat >"\$tmp/defines.sed" <<\\CEOF
29298
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
29299
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30103
# Break up conftest.defines because some shells have a limit on the size
30104
# of here documents, and old seds have small limits too (100 cmds).
30105
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30106
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30107
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30108
echo ' :' >>$CONFIG_STATUS
30109
rm -f conftest.tail
30110
while grep . conftest.defines >/dev/null
30112
# Write a limited-size here document to $tmp/defines.sed.
30113
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30114
# Speed up: don't consider the non `#define' lines.
30115
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30116
# Work around the forget-to-reset-the-flag bug.
30117
echo 't clr' >>$CONFIG_STATUS
30118
echo ': clr' >>$CONFIG_STATUS
30119
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
29303
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30121
sed -f $tmp/defines.sed $tmp/in >$tmp/out
30123
mv $tmp/out $tmp/in
30125
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
29305
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
29306
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
29307
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
29308
grep . conftest.tail >/dev/null || break
30126
29309
rm -f conftest.defines
30127
29310
mv conftest.tail conftest.defines
30129
rm -f conftest.defines
30130
echo ' fi # grep' >>$CONFIG_STATUS
30131
echo >>$CONFIG_STATUS
30133
# Break up conftest.undefs because some shells have a limit on the size
30134
# of here documents, and old seds have small limits too (100 cmds).
30135
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30136
rm -f conftest.tail
30137
while grep . conftest.undefs >/dev/null
30139
# Write a limited-size here document to $tmp/undefs.sed.
30140
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30141
# Speed up: don't consider the non `#undef'
30142
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30143
# Work around the forget-to-reset-the-flag bug.
30144
echo 't clr' >>$CONFIG_STATUS
30145
echo ': clr' >>$CONFIG_STATUS
30146
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30148
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30150
mv $tmp/out $tmp/in
30152
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30153
rm -f conftest.undefs
30154
mv conftest.tail conftest.undefs
30156
rm -f conftest.undefs
29312
rm -f conftest.defines conftest.tail
29314
echo "ac_result=$ac_in" >>$CONFIG_STATUS
30158
29315
cat >>$CONFIG_STATUS <<\_ACEOF
30159
# Let's still pretend it is `configure' which instantiates (i.e., don't
30160
# use $as_me), people would be surprised to read:
30161
# /* config.h. Generated by config.status. */
30162
if test x"$ac_file" = x-; then
30163
echo "/* Generated by configure. */" >$tmp/config.h
30165
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30167
cat $tmp/in >>$tmp/config.h
30169
29316
if test x"$ac_file" != x-; then
30170
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
29317
echo "/* $configure_input */" >"$tmp/config.h"
29318
cat "$ac_result" >>"$tmp/config.h"
29319
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30171
29320
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30172
29321
echo "$as_me: $ac_file is unchanged" >&6;}
30174
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
30175
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30176
X"$ac_file" : 'X\(//\)[^/]' \| \
30177
X"$ac_file" : 'X\(//\)$' \| \
30178
X"$ac_file" : 'X\(/\)' \| \
30179
. : '\(.\)' 2>/dev/null ||
30181
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30182
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
30183
/^X\(\/\/\)$/{ s//\1/; q; }
30184
/^X\(\/\).*/{ s//\1/; q; }
30186
{ if $as_mkdir_p; then
30191
while test ! -d "$as_dir"; do
30192
as_dirs="$as_dir $as_dirs"
30193
as_dir=`(dirname "$as_dir") 2>/dev/null ||
30194
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30195
X"$as_dir" : 'X\(//\)[^/]' \| \
30196
X"$as_dir" : 'X\(//\)$' \| \
30197
X"$as_dir" : 'X\(/\)' \| \
30198
. : '\(.\)' 2>/dev/null ||
30200
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30201
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
30202
/^X\(\/\/\)$/{ s//\1/; q; }
30203
/^X\(\/\).*/{ s//\1/; q; }
30206
test ! -n "$as_dirs" || mkdir $as_dirs
30207
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30208
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30209
{ (exit 1); exit 1; }; }; }
30211
29323
rm -f $ac_file
30212
mv $tmp/config.h $ac_file
29324
mv "$tmp/config.h" $ac_file
30216
rm -f $tmp/config.h
29327
echo "/* $configure_input */"
30218
29331
# Compute $ac_file's index in $config_headers.
30219
29332
_am_stamp_count=1
30220
29333
for _am_header in $config_headers :; do