67
128
# Name of the executable.
68
as_me=`$as_basename "$0" ||
129
as_me=`$as_basename -- "$0" ||
69
130
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
131
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
132
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
134
sed '/^.*\/\([^/][^/]*\)\/*$/{
152
if test "x$CONFIG_SHELL" = x; then
153
if (eval ":") 2>/dev/null; then
159
if test $as_have_required = yes && (eval ":
169
as_func_ret_success () {
172
as_func_ret_failure () {
177
if as_func_success; then
181
echo as_func_success failed.
184
if as_func_failure; then
186
echo as_func_failure succeeded.
189
if as_func_ret_success; then
193
echo as_func_ret_success failed.
196
if as_func_ret_failure; then
198
echo as_func_ret_failure succeeded.
201
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205
echo positional parameters were not saved.
208
test \$exitcode = 0) || { (exit 1); exit 1; }
213
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215
") 2> /dev/null; then
132
219
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
223
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+"$@"}
226
for as_base in sh bash ksh sh5; do
227
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
234
for as_shell in $as_candidate_shells $SHELL; do
235
# Try only shells that exist, to save several forks.
236
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237
{ ("$as_shell") 2> /dev/null <<\_ASEOF
238
# Be Bourne compatible
239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243
# is contrary to our usage. Disable this feature.
244
alias -g '${1+"$@"}'='"$@"'
247
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249
BIN_SH=xpg4; export BIN_SH # for Tru64
250
DUALCASE=1; export DUALCASE # for MKS sh
255
CONFIG_SHELL=$as_shell
257
if { "$as_shell" 2> /dev/null <<\_ASEOF
258
# Be Bourne compatible
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269
BIN_SH=xpg4; export BIN_SH # for Tru64
270
DUALCASE=1; export DUALCASE # for MKS sh
282
as_func_ret_success () {
285
as_func_ret_failure () {
290
if as_func_success; then
294
echo as_func_success failed.
297
if as_func_failure; then
299
echo as_func_failure succeeded.
302
if as_func_ret_success; then
306
echo as_func_ret_success failed.
309
if as_func_ret_failure; then
311
echo as_func_ret_failure succeeded.
314
if ( set x; as_func_ret_success y && test x = "$1" ); then
318
echo positional parameters were not saved.
321
test $exitcode = 0) || { (exit 1); exit 1; }
326
test "x$as_lineno_1" != "x$as_lineno_2" &&
327
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
338
if test "x$CONFIG_SHELL" != x; then
339
for as_var in BASH_ENV ENV
340
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
343
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347
if test $as_have_required = no; then
348
echo This script requires a shell more modern than all the
349
echo shells that I found on your system. Please install a
350
echo modern shell, or manually run the script under such a
351
echo shell if you do have one.
352
{ (exit 1); exit 1; }
362
(eval "as_func_return () {
371
as_func_ret_success () {
374
as_func_ret_failure () {
379
if as_func_success; then
383
echo as_func_success failed.
386
if as_func_failure; then
388
echo as_func_failure succeeded.
391
if as_func_ret_success; then
395
echo as_func_ret_success failed.
398
if as_func_ret_failure; then
400
echo as_func_ret_failure succeeded.
403
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407
echo positional parameters were not saved.
410
test \$exitcode = 0") || {
411
echo No shell found that supports shell functions.
412
echo Please tell autoconf@gnu.org about your system,
413
echo including any error possibly output before this
421
test "x$as_lineno_1" != "x$as_lineno_2" &&
422
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
158
424
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
425
# 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.
426
# line-number line after each line using $LINENO; the second 'sed'
427
# does the real work. The second script uses 'N' to pair each
428
# line-number line with the line containing $LINENO, and appends
429
# trailing '-' during substitution so that $LINENO is not a special
164
431
# (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 |
432
# scripts with optimization help from Paolo Bonzini. Blame Lee
433
# E. McMahon (1931-1989) for sed's syntax. :-)
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
445
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
174
s,^['$as_cr_digits']*\n,,
175
448
' >$as_me.lineno &&
176
chmod +x $as_me.lineno ||
449
chmod +x "$as_me.lineno" ||
177
450
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
451
{ (exit 1); exit 1; }; }
180
453
# Don't try to exec as it changes $[0], causing all sort of problems
181
454
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
455
# original and so on. Autoconf is especially sensitive to this).
184
457
# 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= ;;
462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468
ECHO_C= ECHO_N= ECHO_T=
472
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
196
if expr a : '\(a\)' >/dev/null 2>&1; then
479
if expr a : '\(a\)' >/dev/null 2>&1 &&
480
test "X`expr 00001 : '.*\(...\)'`" = X001; then
202
486
rm -f conf$$ conf$$.exe conf$$.file
487
if test -d conf$$.dir; then
488
rm -f conf$$.dir/conf$$.file
203
493
echo >conf$$.file
204
494
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
496
# ... but there are two gotchas:
497
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499
# In both cases, we have to default to `cp -p'.
500
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
213
502
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508
rmdir conf$$.dir 2>/dev/null
220
510
if mkdir -p . 2>/dev/null; then
11913
13651
enable_fast_install=needless
11918
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11919
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11920
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11921
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11922
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11923
echo "$as_me:$LINENO: result: yes" >&5
11924
echo "${ECHO_T}yes" >&6
11926
# FIXME - insert some real tests, host_os isn't really good enough
11929
if test -n "$STRIP" ; then
11930
striplib="$STRIP -x"
11931
echo "$as_me:$LINENO: result: yes" >&5
11932
echo "${ECHO_T}yes" >&6
11934
echo "$as_me:$LINENO: result: no" >&5
11935
echo "${ECHO_T}no" >&6
11939
echo "$as_me:$LINENO: result: no" >&5
11940
echo "${ECHO_T}no" >&6
11945
if test "x$enable_dlopen" != xyes; then
11946
enable_dlopen=unknown
11947
enable_dlopen_self=unknown
11948
enable_dlopen_self_static=unknown
11955
lt_cv_dlopen="load_add_on"
11957
lt_cv_dlopen_self=yes
11961
lt_cv_dlopen="LoadLibrary"
11966
lt_cv_dlopen="dlopen"
11971
# if libdl is installed we need to link against it
11972
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11973
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11974
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11975
echo $ECHO_N "(cached) $ECHO_C" >&6
11977
ac_check_lib_save_LIBS=$LIBS
11979
cat >conftest.$ac_ext <<_ACEOF
11982
cat confdefs.h >>conftest.$ac_ext
11983
cat >>conftest.$ac_ext <<_ACEOF
11984
/* end confdefs.h. */
11986
/* Override any gcc2 internal prototype to avoid an error. */
11990
/* We use char because int might match the return type of a gcc2
11991
builtin and then its argument prototype would still apply. */
12001
rm -f conftest.$ac_objext conftest$ac_exeext
12002
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12003
(eval $ac_link) 2>conftest.er1
12005
grep -v '^ *+' conftest.er1 >conftest.err
12007
cat conftest.err >&5
12008
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009
(exit $ac_status); } &&
12010
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12011
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012
(eval $ac_try) 2>&5
12014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015
(exit $ac_status); }; } &&
12016
{ ac_try='test -s conftest$ac_exeext'
12017
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12018
(eval $ac_try) 2>&5
12020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021
(exit $ac_status); }; }; then
12022
ac_cv_lib_dl_dlopen=yes
12024
echo "$as_me: failed program was:" >&5
12025
sed 's/^/| /' conftest.$ac_ext >&5
12027
ac_cv_lib_dl_dlopen=no
12029
rm -f conftest.err conftest.$ac_objext \
12030
conftest$ac_exeext conftest.$ac_ext
12031
LIBS=$ac_check_lib_save_LIBS
12033
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12034
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12035
if test $ac_cv_lib_dl_dlopen = yes; then
12036
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12039
lt_cv_dlopen="dyld"
12041
lt_cv_dlopen_self=yes
12048
echo "$as_me:$LINENO: checking for shl_load" >&5
12049
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12050
if test "${ac_cv_func_shl_load+set}" = set; then
12051
echo $ECHO_N "(cached) $ECHO_C" >&6
12053
cat >conftest.$ac_ext <<_ACEOF
12056
cat confdefs.h >>conftest.$ac_ext
12057
cat >>conftest.$ac_ext <<_ACEOF
12058
/* end confdefs.h. */
12059
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12060
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12061
#define shl_load innocuous_shl_load
12063
/* System header to define __stub macros and hopefully few prototypes,
12064
which can conflict with char shl_load (); below.
12065
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12066
<limits.h> exists even on freestanding compilers. */
12069
# include <limits.h>
12071
# include <assert.h>
12076
/* Override any gcc2 internal prototype to avoid an error. */
12081
/* We use char because int might match the return type of a gcc2
12082
builtin and then its argument prototype would still apply. */
12084
/* The GNU C library defines this for functions which it implements
12085
to always fail with ENOSYS. Some functions are actually named
12086
something starting with __ and the normal name is an alias. */
12087
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12090
char (*f) () = shl_load;
12099
return f != shl_load;
12104
rm -f conftest.$ac_objext conftest$ac_exeext
12105
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12106
(eval $ac_link) 2>conftest.er1
12108
grep -v '^ *+' conftest.er1 >conftest.err
12110
cat conftest.err >&5
12111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112
(exit $ac_status); } &&
12113
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12114
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115
(eval $ac_try) 2>&5
12117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118
(exit $ac_status); }; } &&
12119
{ ac_try='test -s conftest$ac_exeext'
12120
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121
(eval $ac_try) 2>&5
12123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124
(exit $ac_status); }; }; then
12125
ac_cv_func_shl_load=yes
12127
echo "$as_me: failed program was:" >&5
12128
sed 's/^/| /' conftest.$ac_ext >&5
12130
ac_cv_func_shl_load=no
12132
rm -f conftest.err conftest.$ac_objext \
12133
conftest$ac_exeext conftest.$ac_ext
12135
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12136
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12137
if test $ac_cv_func_shl_load = yes; then
12138
lt_cv_dlopen="shl_load"
12140
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12141
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12142
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12143
echo $ECHO_N "(cached) $ECHO_C" >&6
12145
ac_check_lib_save_LIBS=$LIBS
12147
cat >conftest.$ac_ext <<_ACEOF
12150
cat confdefs.h >>conftest.$ac_ext
12151
cat >>conftest.$ac_ext <<_ACEOF
12152
/* end confdefs.h. */
12154
/* Override any gcc2 internal prototype to avoid an error. */
12158
/* We use char because int might match the return type of a gcc2
12159
builtin and then its argument prototype would still apply. */
12169
rm -f conftest.$ac_objext conftest$ac_exeext
12170
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12171
(eval $ac_link) 2>conftest.er1
12173
grep -v '^ *+' conftest.er1 >conftest.err
12175
cat conftest.err >&5
12176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177
(exit $ac_status); } &&
12178
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12179
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12180
(eval $ac_try) 2>&5
12182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183
(exit $ac_status); }; } &&
12184
{ ac_try='test -s conftest$ac_exeext'
12185
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186
(eval $ac_try) 2>&5
12188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189
(exit $ac_status); }; }; then
12190
ac_cv_lib_dld_shl_load=yes
12192
echo "$as_me: failed program was:" >&5
12193
sed 's/^/| /' conftest.$ac_ext >&5
12195
ac_cv_lib_dld_shl_load=no
12197
rm -f conftest.err conftest.$ac_objext \
12198
conftest$ac_exeext conftest.$ac_ext
12199
LIBS=$ac_check_lib_save_LIBS
12201
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12202
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12203
if test $ac_cv_lib_dld_shl_load = yes; then
12204
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12206
echo "$as_me:$LINENO: checking for dlopen" >&5
12207
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12208
if test "${ac_cv_func_dlopen+set}" = set; then
12209
echo $ECHO_N "(cached) $ECHO_C" >&6
12211
cat >conftest.$ac_ext <<_ACEOF
12214
cat confdefs.h >>conftest.$ac_ext
12215
cat >>conftest.$ac_ext <<_ACEOF
12216
/* end confdefs.h. */
12217
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12218
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12219
#define dlopen innocuous_dlopen
12221
/* System header to define __stub macros and hopefully few prototypes,
12222
which can conflict with char dlopen (); below.
12223
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12224
<limits.h> exists even on freestanding compilers. */
12227
# include <limits.h>
12229
# include <assert.h>
12234
/* Override any gcc2 internal prototype to avoid an error. */
12239
/* We use char because int might match the return type of a gcc2
12240
builtin and then its argument prototype would still apply. */
12242
/* The GNU C library defines this for functions which it implements
12243
to always fail with ENOSYS. Some functions are actually named
12244
something starting with __ and the normal name is an alias. */
12245
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12248
char (*f) () = dlopen;
12257
return f != dlopen;
12262
rm -f conftest.$ac_objext conftest$ac_exeext
12263
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12264
(eval $ac_link) 2>conftest.er1
12266
grep -v '^ *+' conftest.er1 >conftest.err
12268
cat conftest.err >&5
12269
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270
(exit $ac_status); } &&
12271
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12272
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273
(eval $ac_try) 2>&5
12275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276
(exit $ac_status); }; } &&
12277
{ ac_try='test -s conftest$ac_exeext'
12278
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279
(eval $ac_try) 2>&5
12281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282
(exit $ac_status); }; }; then
12283
ac_cv_func_dlopen=yes
12285
echo "$as_me: failed program was:" >&5
12286
sed 's/^/| /' conftest.$ac_ext >&5
12288
ac_cv_func_dlopen=no
12290
rm -f conftest.err conftest.$ac_objext \
12291
conftest$ac_exeext conftest.$ac_ext
12293
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12294
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12295
if test $ac_cv_func_dlopen = yes; then
12296
lt_cv_dlopen="dlopen"
12298
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12299
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12300
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12301
echo $ECHO_N "(cached) $ECHO_C" >&6
12303
ac_check_lib_save_LIBS=$LIBS
12305
cat >conftest.$ac_ext <<_ACEOF
12308
cat confdefs.h >>conftest.$ac_ext
12309
cat >>conftest.$ac_ext <<_ACEOF
12310
/* end confdefs.h. */
12312
/* Override any gcc2 internal prototype to avoid an error. */
12316
/* We use char because int might match the return type of a gcc2
12317
builtin and then its argument prototype would still apply. */
12327
rm -f conftest.$ac_objext conftest$ac_exeext
12328
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12329
(eval $ac_link) 2>conftest.er1
12331
grep -v '^ *+' conftest.er1 >conftest.err
12333
cat conftest.err >&5
12334
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335
(exit $ac_status); } &&
12336
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12337
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338
(eval $ac_try) 2>&5
12340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341
(exit $ac_status); }; } &&
12342
{ ac_try='test -s conftest$ac_exeext'
12343
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344
(eval $ac_try) 2>&5
12346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347
(exit $ac_status); }; }; then
12348
ac_cv_lib_dl_dlopen=yes
12350
echo "$as_me: failed program was:" >&5
12351
sed 's/^/| /' conftest.$ac_ext >&5
12353
ac_cv_lib_dl_dlopen=no
12355
rm -f conftest.err conftest.$ac_objext \
12356
conftest$ac_exeext conftest.$ac_ext
12357
LIBS=$ac_check_lib_save_LIBS
12359
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12360
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12361
if test $ac_cv_lib_dl_dlopen = yes; then
12362
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12364
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12365
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12366
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12367
echo $ECHO_N "(cached) $ECHO_C" >&6
12369
ac_check_lib_save_LIBS=$LIBS
12370
LIBS="-lsvld $LIBS"
12371
cat >conftest.$ac_ext <<_ACEOF
12374
cat confdefs.h >>conftest.$ac_ext
12375
cat >>conftest.$ac_ext <<_ACEOF
12376
/* end confdefs.h. */
12378
/* Override any gcc2 internal prototype to avoid an error. */
12382
/* We use char because int might match the return type of a gcc2
12383
builtin and then its argument prototype would still apply. */
12393
rm -f conftest.$ac_objext conftest$ac_exeext
12394
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12395
(eval $ac_link) 2>conftest.er1
12397
grep -v '^ *+' conftest.er1 >conftest.err
12399
cat conftest.err >&5
12400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401
(exit $ac_status); } &&
12402
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12403
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404
(eval $ac_try) 2>&5
12406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407
(exit $ac_status); }; } &&
12408
{ ac_try='test -s conftest$ac_exeext'
12409
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410
(eval $ac_try) 2>&5
12412
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413
(exit $ac_status); }; }; then
12414
ac_cv_lib_svld_dlopen=yes
12416
echo "$as_me: failed program was:" >&5
12417
sed 's/^/| /' conftest.$ac_ext >&5
12419
ac_cv_lib_svld_dlopen=no
12421
rm -f conftest.err conftest.$ac_objext \
12422
conftest$ac_exeext conftest.$ac_ext
12423
LIBS=$ac_check_lib_save_LIBS
12425
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12426
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12427
if test $ac_cv_lib_svld_dlopen = yes; then
12428
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12430
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12431
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12432
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12433
echo $ECHO_N "(cached) $ECHO_C" >&6
12435
ac_check_lib_save_LIBS=$LIBS
12437
cat >conftest.$ac_ext <<_ACEOF
12440
cat confdefs.h >>conftest.$ac_ext
12441
cat >>conftest.$ac_ext <<_ACEOF
12442
/* end confdefs.h. */
12444
/* Override any gcc2 internal prototype to avoid an error. */
12448
/* We use char because int might match the return type of a gcc2
12449
builtin and then its argument prototype would still apply. */
12459
rm -f conftest.$ac_objext conftest$ac_exeext
12460
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12461
(eval $ac_link) 2>conftest.er1
12463
grep -v '^ *+' conftest.er1 >conftest.err
12465
cat conftest.err >&5
12466
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467
(exit $ac_status); } &&
12468
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12469
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470
(eval $ac_try) 2>&5
12472
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473
(exit $ac_status); }; } &&
12474
{ ac_try='test -s conftest$ac_exeext'
12475
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476
(eval $ac_try) 2>&5
12478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479
(exit $ac_status); }; }; then
12480
ac_cv_lib_dld_dld_link=yes
12482
echo "$as_me: failed program was:" >&5
12483
sed 's/^/| /' conftest.$ac_ext >&5
12485
ac_cv_lib_dld_dld_link=no
12487
rm -f conftest.err conftest.$ac_objext \
12488
conftest$ac_exeext conftest.$ac_ext
12489
LIBS=$ac_check_lib_save_LIBS
12491
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12492
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12493
if test $ac_cv_lib_dld_dld_link = yes; then
12494
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12515
if test "x$lt_cv_dlopen" != xno; then
12521
case $lt_cv_dlopen in
12523
save_CPPFLAGS="$CPPFLAGS"
12524
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12526
save_LDFLAGS="$LDFLAGS"
12527
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12530
LIBS="$lt_cv_dlopen_libs $LIBS"
12532
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12533
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12534
if test "${lt_cv_dlopen_self+set}" = set; then
12535
echo $ECHO_N "(cached) $ECHO_C" >&6
12537
if test "$cross_compiling" = yes; then :
12538
lt_cv_dlopen_self=cross
12540
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12541
lt_status=$lt_dlunknown
12542
cat > conftest.$ac_ext <<EOF
12543
#line 12543 "configure"
12544
#include "confdefs.h"
12553
# define LT_DLGLOBAL RTLD_GLOBAL
12556
# define LT_DLGLOBAL DL_GLOBAL
12558
# define LT_DLGLOBAL 0
12562
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12563
find out it does not work in some platform. */
12564
#ifndef LT_DLLAZY_OR_NOW
12566
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12569
# define LT_DLLAZY_OR_NOW DL_LAZY
12572
# define LT_DLLAZY_OR_NOW RTLD_NOW
12575
# define LT_DLLAZY_OR_NOW DL_NOW
12577
# define LT_DLLAZY_OR_NOW 0
12585
extern "C" void exit (int);
12588
void fnord() { int i=42;}
12591
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12592
int status = $lt_dlunknown;
12596
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12597
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12598
/* dlclose (self); */
12604
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12605
(eval $ac_link) 2>&5
12607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12609
(./conftest; exit; ) 2>/dev/null
12611
case x$lt_status in
12612
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12613
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12614
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12617
# compilation failed
12618
lt_cv_dlopen_self=no
12625
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12626
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12628
if test "x$lt_cv_dlopen_self" = xyes; then
12629
LDFLAGS="$LDFLAGS $link_static_flag"
12630
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12631
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12632
if test "${lt_cv_dlopen_self_static+set}" = set; then
12633
echo $ECHO_N "(cached) $ECHO_C" >&6
12635
if test "$cross_compiling" = yes; then :
12636
lt_cv_dlopen_self_static=cross
12638
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12639
lt_status=$lt_dlunknown
12640
cat > conftest.$ac_ext <<EOF
12641
#line 12641 "configure"
12642
#include "confdefs.h"
12651
# define LT_DLGLOBAL RTLD_GLOBAL
12654
# define LT_DLGLOBAL DL_GLOBAL
12656
# define LT_DLGLOBAL 0
12660
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12661
find out it does not work in some platform. */
12662
#ifndef LT_DLLAZY_OR_NOW
12664
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12667
# define LT_DLLAZY_OR_NOW DL_LAZY
12670
# define LT_DLLAZY_OR_NOW RTLD_NOW
12673
# define LT_DLLAZY_OR_NOW DL_NOW
12675
# define LT_DLLAZY_OR_NOW 0
12683
extern "C" void exit (int);
12686
void fnord() { int i=42;}
12689
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12690
int status = $lt_dlunknown;
12694
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12695
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12696
/* dlclose (self); */
12702
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12703
(eval $ac_link) 2>&5
12705
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12707
(./conftest; exit; ) 2>/dev/null
12709
case x$lt_status in
12710
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12711
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12712
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12715
# compilation failed
12716
lt_cv_dlopen_self_static=no
12723
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12724
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12727
CPPFLAGS="$save_CPPFLAGS"
12728
LDFLAGS="$save_LDFLAGS"
12733
case $lt_cv_dlopen_self in
12734
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12735
*) enable_dlopen_self=unknown ;;
12738
case $lt_cv_dlopen_self_static in
12739
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12740
*) enable_dlopen_self_static=unknown ;;
12745
13655
# The else clause should only fire when bootstrapping the
12746
13656
# libtool distribution, otherwise you forgot to ship ltmain.sh
17424
18866
enable_fast_install=needless
17429
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17430
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17431
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17432
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17433
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17434
echo "$as_me:$LINENO: result: yes" >&5
17435
echo "${ECHO_T}yes" >&6
17437
# FIXME - insert some real tests, host_os isn't really good enough
17440
if test -n "$STRIP" ; then
17441
striplib="$STRIP -x"
17442
echo "$as_me:$LINENO: result: yes" >&5
17443
echo "${ECHO_T}yes" >&6
17445
echo "$as_me:$LINENO: result: no" >&5
17446
echo "${ECHO_T}no" >&6
17450
echo "$as_me:$LINENO: result: no" >&5
17451
echo "${ECHO_T}no" >&6
17456
if test "x$enable_dlopen" != xyes; then
17457
enable_dlopen=unknown
17458
enable_dlopen_self=unknown
17459
enable_dlopen_self_static=unknown
17466
lt_cv_dlopen="load_add_on"
17468
lt_cv_dlopen_self=yes
17472
lt_cv_dlopen="LoadLibrary"
17477
lt_cv_dlopen="dlopen"
17482
# if libdl is installed we need to link against it
17483
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17484
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17485
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17486
echo $ECHO_N "(cached) $ECHO_C" >&6
17488
ac_check_lib_save_LIBS=$LIBS
17490
cat >conftest.$ac_ext <<_ACEOF
17493
cat confdefs.h >>conftest.$ac_ext
17494
cat >>conftest.$ac_ext <<_ACEOF
17495
/* end confdefs.h. */
17497
/* Override any gcc2 internal prototype to avoid an error. */
17501
/* We use char because int might match the return type of a gcc2
17502
builtin and then its argument prototype would still apply. */
17512
rm -f conftest.$ac_objext conftest$ac_exeext
17513
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17514
(eval $ac_link) 2>conftest.er1
17516
grep -v '^ *+' conftest.er1 >conftest.err
17518
cat conftest.err >&5
17519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520
(exit $ac_status); } &&
17521
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17522
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17523
(eval $ac_try) 2>&5
17525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526
(exit $ac_status); }; } &&
17527
{ ac_try='test -s conftest$ac_exeext'
17528
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529
(eval $ac_try) 2>&5
17531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532
(exit $ac_status); }; }; then
17533
ac_cv_lib_dl_dlopen=yes
17535
echo "$as_me: failed program was:" >&5
17536
sed 's/^/| /' conftest.$ac_ext >&5
17538
ac_cv_lib_dl_dlopen=no
17540
rm -f conftest.err conftest.$ac_objext \
17541
conftest$ac_exeext conftest.$ac_ext
17542
LIBS=$ac_check_lib_save_LIBS
17544
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17545
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17546
if test $ac_cv_lib_dl_dlopen = yes; then
17547
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17550
lt_cv_dlopen="dyld"
17552
lt_cv_dlopen_self=yes
17559
echo "$as_me:$LINENO: checking for shl_load" >&5
17560
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17561
if test "${ac_cv_func_shl_load+set}" = set; then
17562
echo $ECHO_N "(cached) $ECHO_C" >&6
17564
cat >conftest.$ac_ext <<_ACEOF
17567
cat confdefs.h >>conftest.$ac_ext
17568
cat >>conftest.$ac_ext <<_ACEOF
17569
/* end confdefs.h. */
17570
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17571
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17572
#define shl_load innocuous_shl_load
17574
/* System header to define __stub macros and hopefully few prototypes,
17575
which can conflict with char shl_load (); below.
17576
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17577
<limits.h> exists even on freestanding compilers. */
17580
# include <limits.h>
17582
# include <assert.h>
17587
/* Override any gcc2 internal prototype to avoid an error. */
17592
/* We use char because int might match the return type of a gcc2
17593
builtin and then its argument prototype would still apply. */
17595
/* The GNU C library defines this for functions which it implements
17596
to always fail with ENOSYS. Some functions are actually named
17597
something starting with __ and the normal name is an alias. */
17598
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17601
char (*f) () = shl_load;
17610
return f != shl_load;
17615
rm -f conftest.$ac_objext conftest$ac_exeext
17616
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17617
(eval $ac_link) 2>conftest.er1
17619
grep -v '^ *+' conftest.er1 >conftest.err
17621
cat conftest.err >&5
17622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623
(exit $ac_status); } &&
17624
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17625
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626
(eval $ac_try) 2>&5
17628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629
(exit $ac_status); }; } &&
17630
{ ac_try='test -s conftest$ac_exeext'
17631
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632
(eval $ac_try) 2>&5
17634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635
(exit $ac_status); }; }; then
17636
ac_cv_func_shl_load=yes
17638
echo "$as_me: failed program was:" >&5
17639
sed 's/^/| /' conftest.$ac_ext >&5
17641
ac_cv_func_shl_load=no
17643
rm -f conftest.err conftest.$ac_objext \
17644
conftest$ac_exeext conftest.$ac_ext
17646
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17647
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17648
if test $ac_cv_func_shl_load = yes; then
17649
lt_cv_dlopen="shl_load"
17651
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17652
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17653
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17654
echo $ECHO_N "(cached) $ECHO_C" >&6
17656
ac_check_lib_save_LIBS=$LIBS
17658
cat >conftest.$ac_ext <<_ACEOF
17661
cat confdefs.h >>conftest.$ac_ext
17662
cat >>conftest.$ac_ext <<_ACEOF
17663
/* end confdefs.h. */
17665
/* Override any gcc2 internal prototype to avoid an error. */
17669
/* We use char because int might match the return type of a gcc2
17670
builtin and then its argument prototype would still apply. */
17680
rm -f conftest.$ac_objext conftest$ac_exeext
17681
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17682
(eval $ac_link) 2>conftest.er1
17684
grep -v '^ *+' conftest.er1 >conftest.err
17686
cat conftest.err >&5
17687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688
(exit $ac_status); } &&
17689
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17690
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691
(eval $ac_try) 2>&5
17693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694
(exit $ac_status); }; } &&
17695
{ ac_try='test -s conftest$ac_exeext'
17696
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697
(eval $ac_try) 2>&5
17699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700
(exit $ac_status); }; }; then
17701
ac_cv_lib_dld_shl_load=yes
17703
echo "$as_me: failed program was:" >&5
17704
sed 's/^/| /' conftest.$ac_ext >&5
17706
ac_cv_lib_dld_shl_load=no
17708
rm -f conftest.err conftest.$ac_objext \
17709
conftest$ac_exeext conftest.$ac_ext
17710
LIBS=$ac_check_lib_save_LIBS
17712
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17713
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17714
if test $ac_cv_lib_dld_shl_load = yes; then
17715
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17717
echo "$as_me:$LINENO: checking for dlopen" >&5
17718
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17719
if test "${ac_cv_func_dlopen+set}" = set; then
17720
echo $ECHO_N "(cached) $ECHO_C" >&6
17722
cat >conftest.$ac_ext <<_ACEOF
17725
cat confdefs.h >>conftest.$ac_ext
17726
cat >>conftest.$ac_ext <<_ACEOF
17727
/* end confdefs.h. */
17728
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17729
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17730
#define dlopen innocuous_dlopen
17732
/* System header to define __stub macros and hopefully few prototypes,
17733
which can conflict with char dlopen (); below.
17734
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17735
<limits.h> exists even on freestanding compilers. */
17738
# include <limits.h>
17740
# include <assert.h>
17745
/* Override any gcc2 internal prototype to avoid an error. */
17750
/* We use char because int might match the return type of a gcc2
17751
builtin and then its argument prototype would still apply. */
17753
/* The GNU C library defines this for functions which it implements
17754
to always fail with ENOSYS. Some functions are actually named
17755
something starting with __ and the normal name is an alias. */
17756
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17759
char (*f) () = dlopen;
17768
return f != dlopen;
17773
rm -f conftest.$ac_objext conftest$ac_exeext
17774
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17775
(eval $ac_link) 2>conftest.er1
17777
grep -v '^ *+' conftest.er1 >conftest.err
17779
cat conftest.err >&5
17780
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781
(exit $ac_status); } &&
17782
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17783
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784
(eval $ac_try) 2>&5
17786
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787
(exit $ac_status); }; } &&
17788
{ ac_try='test -s conftest$ac_exeext'
17789
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790
(eval $ac_try) 2>&5
17792
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793
(exit $ac_status); }; }; then
17794
ac_cv_func_dlopen=yes
17796
echo "$as_me: failed program was:" >&5
17797
sed 's/^/| /' conftest.$ac_ext >&5
17799
ac_cv_func_dlopen=no
17801
rm -f conftest.err conftest.$ac_objext \
17802
conftest$ac_exeext conftest.$ac_ext
17804
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17805
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17806
if test $ac_cv_func_dlopen = yes; then
17807
lt_cv_dlopen="dlopen"
17809
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17810
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17811
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17812
echo $ECHO_N "(cached) $ECHO_C" >&6
17814
ac_check_lib_save_LIBS=$LIBS
17816
cat >conftest.$ac_ext <<_ACEOF
17819
cat confdefs.h >>conftest.$ac_ext
17820
cat >>conftest.$ac_ext <<_ACEOF
17821
/* end confdefs.h. */
17823
/* Override any gcc2 internal prototype to avoid an error. */
17827
/* We use char because int might match the return type of a gcc2
17828
builtin and then its argument prototype would still apply. */
17838
rm -f conftest.$ac_objext conftest$ac_exeext
17839
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17840
(eval $ac_link) 2>conftest.er1
17842
grep -v '^ *+' conftest.er1 >conftest.err
17844
cat conftest.err >&5
17845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846
(exit $ac_status); } &&
17847
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17848
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849
(eval $ac_try) 2>&5
17851
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852
(exit $ac_status); }; } &&
17853
{ ac_try='test -s conftest$ac_exeext'
17854
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855
(eval $ac_try) 2>&5
17857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858
(exit $ac_status); }; }; then
17859
ac_cv_lib_dl_dlopen=yes
17861
echo "$as_me: failed program was:" >&5
17862
sed 's/^/| /' conftest.$ac_ext >&5
17864
ac_cv_lib_dl_dlopen=no
17866
rm -f conftest.err conftest.$ac_objext \
17867
conftest$ac_exeext conftest.$ac_ext
17868
LIBS=$ac_check_lib_save_LIBS
17870
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17871
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17872
if test $ac_cv_lib_dl_dlopen = yes; then
17873
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17875
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17876
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17877
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17878
echo $ECHO_N "(cached) $ECHO_C" >&6
17880
ac_check_lib_save_LIBS=$LIBS
17881
LIBS="-lsvld $LIBS"
17882
cat >conftest.$ac_ext <<_ACEOF
17885
cat confdefs.h >>conftest.$ac_ext
17886
cat >>conftest.$ac_ext <<_ACEOF
17887
/* end confdefs.h. */
17889
/* Override any gcc2 internal prototype to avoid an error. */
17893
/* We use char because int might match the return type of a gcc2
17894
builtin and then its argument prototype would still apply. */
17904
rm -f conftest.$ac_objext conftest$ac_exeext
17905
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17906
(eval $ac_link) 2>conftest.er1
17908
grep -v '^ *+' conftest.er1 >conftest.err
17910
cat conftest.err >&5
17911
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912
(exit $ac_status); } &&
17913
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17914
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915
(eval $ac_try) 2>&5
17917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918
(exit $ac_status); }; } &&
17919
{ ac_try='test -s conftest$ac_exeext'
17920
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921
(eval $ac_try) 2>&5
17923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924
(exit $ac_status); }; }; then
17925
ac_cv_lib_svld_dlopen=yes
17927
echo "$as_me: failed program was:" >&5
17928
sed 's/^/| /' conftest.$ac_ext >&5
17930
ac_cv_lib_svld_dlopen=no
17932
rm -f conftest.err conftest.$ac_objext \
17933
conftest$ac_exeext conftest.$ac_ext
17934
LIBS=$ac_check_lib_save_LIBS
17936
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17937
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17938
if test $ac_cv_lib_svld_dlopen = yes; then
17939
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17941
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17942
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17943
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17944
echo $ECHO_N "(cached) $ECHO_C" >&6
17946
ac_check_lib_save_LIBS=$LIBS
17948
cat >conftest.$ac_ext <<_ACEOF
17951
cat confdefs.h >>conftest.$ac_ext
17952
cat >>conftest.$ac_ext <<_ACEOF
17953
/* end confdefs.h. */
17955
/* Override any gcc2 internal prototype to avoid an error. */
17959
/* We use char because int might match the return type of a gcc2
17960
builtin and then its argument prototype would still apply. */
17970
rm -f conftest.$ac_objext conftest$ac_exeext
17971
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17972
(eval $ac_link) 2>conftest.er1
17974
grep -v '^ *+' conftest.er1 >conftest.err
17976
cat conftest.err >&5
17977
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978
(exit $ac_status); } &&
17979
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17980
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981
(eval $ac_try) 2>&5
17983
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984
(exit $ac_status); }; } &&
17985
{ ac_try='test -s conftest$ac_exeext'
17986
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987
(eval $ac_try) 2>&5
17989
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990
(exit $ac_status); }; }; then
17991
ac_cv_lib_dld_dld_link=yes
17993
echo "$as_me: failed program was:" >&5
17994
sed 's/^/| /' conftest.$ac_ext >&5
17996
ac_cv_lib_dld_dld_link=no
17998
rm -f conftest.err conftest.$ac_objext \
17999
conftest$ac_exeext conftest.$ac_ext
18000
LIBS=$ac_check_lib_save_LIBS
18002
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18003
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18004
if test $ac_cv_lib_dld_dld_link = yes; then
18005
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18026
if test "x$lt_cv_dlopen" != xno; then
18032
case $lt_cv_dlopen in
18034
save_CPPFLAGS="$CPPFLAGS"
18035
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18037
save_LDFLAGS="$LDFLAGS"
18038
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18041
LIBS="$lt_cv_dlopen_libs $LIBS"
18043
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18044
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18045
if test "${lt_cv_dlopen_self+set}" = set; then
18046
echo $ECHO_N "(cached) $ECHO_C" >&6
18048
if test "$cross_compiling" = yes; then :
18049
lt_cv_dlopen_self=cross
18051
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18052
lt_status=$lt_dlunknown
18053
cat > conftest.$ac_ext <<EOF
18054
#line 18054 "configure"
18055
#include "confdefs.h"
18064
# define LT_DLGLOBAL RTLD_GLOBAL
18067
# define LT_DLGLOBAL DL_GLOBAL
18069
# define LT_DLGLOBAL 0
18073
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18074
find out it does not work in some platform. */
18075
#ifndef LT_DLLAZY_OR_NOW
18077
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18080
# define LT_DLLAZY_OR_NOW DL_LAZY
18083
# define LT_DLLAZY_OR_NOW RTLD_NOW
18086
# define LT_DLLAZY_OR_NOW DL_NOW
18088
# define LT_DLLAZY_OR_NOW 0
18096
extern "C" void exit (int);
18099
void fnord() { int i=42;}
18102
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18103
int status = $lt_dlunknown;
18107
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18108
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18109
/* dlclose (self); */
18115
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18116
(eval $ac_link) 2>&5
18118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18120
(./conftest; exit; ) 2>/dev/null
18122
case x$lt_status in
18123
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18124
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18125
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18128
# compilation failed
18129
lt_cv_dlopen_self=no
18136
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18137
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18139
if test "x$lt_cv_dlopen_self" = xyes; then
18140
LDFLAGS="$LDFLAGS $link_static_flag"
18141
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18142
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18143
if test "${lt_cv_dlopen_self_static+set}" = set; then
18144
echo $ECHO_N "(cached) $ECHO_C" >&6
18146
if test "$cross_compiling" = yes; then :
18147
lt_cv_dlopen_self_static=cross
18149
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18150
lt_status=$lt_dlunknown
18151
cat > conftest.$ac_ext <<EOF
18152
#line 18152 "configure"
18153
#include "confdefs.h"
18162
# define LT_DLGLOBAL RTLD_GLOBAL
18165
# define LT_DLGLOBAL DL_GLOBAL
18167
# define LT_DLGLOBAL 0
18171
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18172
find out it does not work in some platform. */
18173
#ifndef LT_DLLAZY_OR_NOW
18175
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18178
# define LT_DLLAZY_OR_NOW DL_LAZY
18181
# define LT_DLLAZY_OR_NOW RTLD_NOW
18184
# define LT_DLLAZY_OR_NOW DL_NOW
18186
# define LT_DLLAZY_OR_NOW 0
18194
extern "C" void exit (int);
18197
void fnord() { int i=42;}
18200
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18201
int status = $lt_dlunknown;
18205
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18206
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18207
/* dlclose (self); */
18213
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18214
(eval $ac_link) 2>&5
18216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18218
(./conftest; exit; ) 2>/dev/null
18220
case x$lt_status in
18221
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18222
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18223
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18226
# compilation failed
18227
lt_cv_dlopen_self_static=no
18234
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18235
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18238
CPPFLAGS="$save_CPPFLAGS"
18239
LDFLAGS="$save_LDFLAGS"
18244
case $lt_cv_dlopen_self in
18245
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18246
*) enable_dlopen_self=unknown ;;
18249
case $lt_cv_dlopen_self_static in
18250
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18251
*) enable_dlopen_self_static=unknown ;;
18256
18870
# The else clause should only fire when bootstrapping the
18257
18871
# libtool distribution, otherwise you forgot to ship ltmain.sh
22760
23842
# Have a temporary directory for convenience. Make it in the build tree
22761
# simply because there is no reason to put it here, and in addition,
23843
# simply because there is no reason against having it here, and in addition,
22762
23844
# creating and moving files from /tmp can sometimes cause problems.
22763
# Create a temporary directory, and hook for its removal unless debugging.
23845
# Hook for its removal unless debugging.
23846
# Note that there is a small window in which the directory will not be cleaned:
23847
# after its creation but before its name has been assigned to `$tmp'.
22766
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23851
trap 'exit_status=$?
23852
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22767
23854
trap '{ (exit 1); exit 1; }' 1 2 13 15
22770
23856
# Create a (secure) tmp directory for tmp files.
22773
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23859
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22774
23860
test -n "$tmp" && test -d "$tmp"
22777
tmp=./confstat$$-$RANDOM
22778
(umask 077 && mkdir $tmp)
23863
tmp=./conf$$-$RANDOM
23864
(umask 077 && mkdir "$tmp")
22781
23867
echo "$me: cannot create a temporary directory in ." >&2
22782
23868
{ (exit 1); exit 1; }
22787
cat >>$CONFIG_STATUS <<_ACEOF
22790
# CONFIG_FILES section.
23872
# Set up the sed scripts for CONFIG_FILES section.
22793
23875
# No need to generate the scripts if there are no CONFIG_FILES.
22794
23876
# This happens for instance when ./config.status config.h
22795
if test -n "\$CONFIG_FILES"; then
22796
# Protect against being on the right side of a sed subst in config.status.
22797
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22798
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22799
s,@SHELL@,$SHELL,;t t
22800
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22801
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22802
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22803
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22804
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22805
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22806
s,@exec_prefix@,$exec_prefix,;t t
22807
s,@prefix@,$prefix,;t t
22808
s,@program_transform_name@,$program_transform_name,;t t
22809
s,@bindir@,$bindir,;t t
22810
s,@sbindir@,$sbindir,;t t
22811
s,@libexecdir@,$libexecdir,;t t
22812
s,@datadir@,$datadir,;t t
22813
s,@sysconfdir@,$sysconfdir,;t t
22814
s,@sharedstatedir@,$sharedstatedir,;t t
22815
s,@localstatedir@,$localstatedir,;t t
22816
s,@libdir@,$libdir,;t t
22817
s,@includedir@,$includedir,;t t
22818
s,@oldincludedir@,$oldincludedir,;t t
22819
s,@infodir@,$infodir,;t t
22820
s,@mandir@,$mandir,;t t
22821
s,@build_alias@,$build_alias,;t t
22822
s,@host_alias@,$host_alias,;t t
22823
s,@target_alias@,$target_alias,;t t
22824
s,@DEFS@,$DEFS,;t t
22825
s,@ECHO_C@,$ECHO_C,;t t
22826
s,@ECHO_N@,$ECHO_N,;t t
22827
s,@ECHO_T@,$ECHO_T,;t t
22828
s,@LIBS@,$LIBS,;t t
22829
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22830
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22831
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22832
s,@CYGPATH_W@,$CYGPATH_W,;t t
22833
s,@PACKAGE@,$PACKAGE,;t t
22834
s,@VERSION@,$VERSION,;t t
22835
s,@ACLOCAL@,$ACLOCAL,;t t
22836
s,@AUTOCONF@,$AUTOCONF,;t t
22837
s,@AUTOMAKE@,$AUTOMAKE,;t t
22838
s,@AUTOHEADER@,$AUTOHEADER,;t t
22839
s,@MAKEINFO@,$MAKEINFO,;t t
22840
s,@install_sh@,$install_sh,;t t
22841
s,@STRIP@,$STRIP,;t t
22842
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22843
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22844
s,@mkdir_p@,$mkdir_p,;t t
22846
s,@SET_MAKE@,$SET_MAKE,;t t
22847
s,@am__leading_dot@,$am__leading_dot,;t t
22848
s,@AMTAR@,$AMTAR,;t t
22849
s,@am__tar@,$am__tar,;t t
22850
s,@am__untar@,$am__untar,;t t
22851
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22852
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22853
s,@MAINT@,$MAINT,;t t
22855
s,@CFLAGS@,$CFLAGS,;t t
22856
s,@LDFLAGS@,$LDFLAGS,;t t
22857
s,@CPPFLAGS@,$CPPFLAGS,;t t
22858
s,@ac_ct_CC@,$ac_ct_CC,;t t
22859
s,@EXEEXT@,$EXEEXT,;t t
22860
s,@OBJEXT@,$OBJEXT,;t t
22861
s,@DEPDIR@,$DEPDIR,;t t
22862
s,@am__include@,$am__include,;t t
22863
s,@am__quote@,$am__quote,;t t
22864
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22865
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22866
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22867
s,@CCDEPMODE@,$CCDEPMODE,;t t
22868
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22869
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22870
s,@build@,$build,;t t
22871
s,@build_cpu@,$build_cpu,;t t
22872
s,@build_vendor@,$build_vendor,;t t
22873
s,@build_os@,$build_os,;t t
22874
s,@host@,$host,;t t
22875
s,@host_cpu@,$host_cpu,;t t
22876
s,@host_vendor@,$host_vendor,;t t
22877
s,@host_os@,$host_os,;t t
22878
s,@EGREP@,$EGREP,;t t
22879
s,@LN_S@,$LN_S,;t t
22880
s,@ECHO@,$ECHO,;t t
22882
s,@ac_ct_AR@,$ac_ct_AR,;t t
22883
s,@RANLIB@,$RANLIB,;t t
22884
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22887
s,@CXXFLAGS@,$CXXFLAGS,;t t
22888
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22889
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22890
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22891
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22892
s,@CXXCPP@,$CXXCPP,;t t
22894
s,@FFLAGS@,$FFLAGS,;t t
22895
s,@ac_ct_F77@,$ac_ct_F77,;t t
22896
s,@LIBTOOL@,$LIBTOOL,;t t
22897
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
22898
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
22899
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
22900
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
22901
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
22902
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
22903
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
22904
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
22905
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
22906
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
22907
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
22908
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
22909
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
22910
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
22911
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
22912
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
22913
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
22914
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
22915
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
22916
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
22917
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
22918
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
22919
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
22920
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
22921
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
22922
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
22923
s,@USE_NLS@,$USE_NLS,;t t
22924
s,@MSGFMT@,$MSGFMT,;t t
22925
s,@GMSGFMT@,$GMSGFMT,;t t
22926
s,@XGETTEXT@,$XGETTEXT,;t t
22927
s,@CATALOGS@,$CATALOGS,;t t
22928
s,@CATOBJEXT@,$CATOBJEXT,;t t
22929
s,@DATADIRNAME@,$DATADIRNAME,;t t
22930
s,@GMOFILES@,$GMOFILES,;t t
22931
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
22932
s,@INTLLIBS@,$INTLLIBS,;t t
22933
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
22934
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
22935
s,@POFILES@,$POFILES,;t t
22936
s,@POSUB@,$POSUB,;t t
22937
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22938
s,@localedir@,$localedir,;t t
22939
s,@XGETTEXT_ARGS@,$XGETTEXT_ARGS,;t t
22940
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22941
s,@GTHREAD_VERSION@,$GTHREAD_VERSION,;t t
22942
s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
22943
s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t
22944
s,@GTHREAD_REQUIRED_VERSION@,$GTHREAD_REQUIRED_VERSION,;t t
22945
s,@GTK_VERSION@,$GTK_VERSION,;t t
22946
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22947
s,@GTK_LIBS@,$GTK_LIBS,;t t
22948
s,@GTK_REQUIRED_VERSION@,$GTK_REQUIRED_VERSION,;t t
22949
s,@LIBXFCEGUI4_VERSION@,$LIBXFCEGUI4_VERSION,;t t
22950
s,@LIBXFCEGUI4_CFLAGS@,$LIBXFCEGUI4_CFLAGS,;t t
22951
s,@LIBXFCEGUI4_LIBS@,$LIBXFCEGUI4_LIBS,;t t
22952
s,@LIBXFCEGUI4_REQUIRED_VERSION@,$LIBXFCEGUI4_REQUIRED_VERSION,;t t
22953
s,@LIBXFCE4UTIL_VERSION@,$LIBXFCE4UTIL_VERSION,;t t
22954
s,@LIBXFCE4UTIL_CFLAGS@,$LIBXFCE4UTIL_CFLAGS,;t t
22955
s,@LIBXFCE4UTIL_LIBS@,$LIBXFCE4UTIL_LIBS,;t t
22956
s,@LIBXFCE4UTIL_REQUIRED_VERSION@,$LIBXFCE4UTIL_REQUIRED_VERSION,;t t
22957
s,@LIBXFCE4PANEL_VERSION@,$LIBXFCE4PANEL_VERSION,;t t
22958
s,@LIBXFCE4PANEL_CFLAGS@,$LIBXFCE4PANEL_CFLAGS,;t t
22959
s,@LIBXFCE4PANEL_LIBS@,$LIBXFCE4PANEL_LIBS,;t t
22960
s,@LIBXFCE4PANEL_REQUIRED_VERSION@,$LIBXFCE4PANEL_REQUIRED_VERSION,;t t
22961
s,@LIBOBJS@,$LIBOBJS,;t t
22962
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22967
cat >>$CONFIG_STATUS <<\_ACEOF
22968
# Split the substitutions into bite-sized pieces for seds with
22969
# small command number limits, like on Digital OSF/1 and HP-UX.
22970
ac_max_sed_lines=48
22971
ac_sed_frag=1 # Number of current file.
22972
ac_beg=1 # First line for current file.
22973
ac_end=$ac_max_sed_lines # Line after last line for current file.
22976
while $ac_more_lines; do
22977
if test $ac_beg -gt 1; then
22978
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22980
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22982
if test ! -s $tmp/subs.frag; then
22983
ac_more_lines=false
22985
# The purpose of the label and of the branching condition is to
22986
# speed up the sed processing (if there are no `@' at all, there
22987
# is no need to browse any of the substitutions).
22988
# These are the two extra sed commands mentioned above.
22990
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22991
if test -z "$ac_sed_cmds"; then
22992
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22994
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22996
ac_sed_frag=`expr $ac_sed_frag + 1`
22998
ac_end=`expr $ac_end + $ac_max_sed_lines`
23001
if test -z "$ac_sed_cmds"; then
23877
if test -n "$CONFIG_FILES"; then
23884
for ac_last_try in false false false false false :; do
23885
cat >conf$$subs.sed <<_ACEOF
23886
SHELL!$SHELL$ac_delim
23887
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23888
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23889
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23890
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23891
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23892
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23893
exec_prefix!$exec_prefix$ac_delim
23894
prefix!$prefix$ac_delim
23895
program_transform_name!$program_transform_name$ac_delim
23896
bindir!$bindir$ac_delim
23897
sbindir!$sbindir$ac_delim
23898
libexecdir!$libexecdir$ac_delim
23899
datarootdir!$datarootdir$ac_delim
23900
datadir!$datadir$ac_delim
23901
sysconfdir!$sysconfdir$ac_delim
23902
sharedstatedir!$sharedstatedir$ac_delim
23903
localstatedir!$localstatedir$ac_delim
23904
includedir!$includedir$ac_delim
23905
oldincludedir!$oldincludedir$ac_delim
23906
docdir!$docdir$ac_delim
23907
infodir!$infodir$ac_delim
23908
htmldir!$htmldir$ac_delim
23909
dvidir!$dvidir$ac_delim
23910
pdfdir!$pdfdir$ac_delim
23911
psdir!$psdir$ac_delim
23912
libdir!$libdir$ac_delim
23913
localedir!$localedir$ac_delim
23914
mandir!$mandir$ac_delim
23915
DEFS!$DEFS$ac_delim
23916
ECHO_C!$ECHO_C$ac_delim
23917
ECHO_N!$ECHO_N$ac_delim
23918
ECHO_T!$ECHO_T$ac_delim
23919
LIBS!$LIBS$ac_delim
23920
build_alias!$build_alias$ac_delim
23921
host_alias!$host_alias$ac_delim
23922
target_alias!$target_alias$ac_delim
23923
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23924
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23925
INSTALL_DATA!$INSTALL_DATA$ac_delim
23926
CYGPATH_W!$CYGPATH_W$ac_delim
23927
PACKAGE!$PACKAGE$ac_delim
23928
VERSION!$VERSION$ac_delim
23929
ACLOCAL!$ACLOCAL$ac_delim
23930
AUTOCONF!$AUTOCONF$ac_delim
23931
AUTOMAKE!$AUTOMAKE$ac_delim
23932
AUTOHEADER!$AUTOHEADER$ac_delim
23933
MAKEINFO!$MAKEINFO$ac_delim
23934
install_sh!$install_sh$ac_delim
23935
STRIP!$STRIP$ac_delim
23936
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23937
mkdir_p!$mkdir_p$ac_delim
23939
SET_MAKE!$SET_MAKE$ac_delim
23940
am__leading_dot!$am__leading_dot$ac_delim
23941
AMTAR!$AMTAR$ac_delim
23942
am__tar!$am__tar$ac_delim
23943
am__untar!$am__untar$ac_delim
23944
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23945
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23946
MAINT!$MAINT$ac_delim
23948
CFLAGS!$CFLAGS$ac_delim
23949
LDFLAGS!$LDFLAGS$ac_delim
23950
CPPFLAGS!$CPPFLAGS$ac_delim
23951
ac_ct_CC!$ac_ct_CC$ac_delim
23952
EXEEXT!$EXEEXT$ac_delim
23953
OBJEXT!$OBJEXT$ac_delim
23954
DEPDIR!$DEPDIR$ac_delim
23955
am__include!$am__include$ac_delim
23956
am__quote!$am__quote$ac_delim
23957
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23958
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23959
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23960
CCDEPMODE!$CCDEPMODE$ac_delim
23961
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23962
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23963
build!$build$ac_delim
23964
build_cpu!$build_cpu$ac_delim
23965
build_vendor!$build_vendor$ac_delim
23966
build_os!$build_os$ac_delim
23967
host!$host$ac_delim
23968
host_cpu!$host_cpu$ac_delim
23969
host_vendor!$host_vendor$ac_delim
23970
host_os!$host_os$ac_delim
23971
GREP!$GREP$ac_delim
23972
EGREP!$EGREP$ac_delim
23973
LN_S!$LN_S$ac_delim
23974
ECHO!$ECHO$ac_delim
23976
RANLIB!$RANLIB$ac_delim
23979
CXXFLAGS!$CXXFLAGS$ac_delim
23980
ac_ct_CXX!$ac_ct_CXX$ac_delim
23981
CXXDEPMODE!$CXXDEPMODE$ac_delim
23982
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23985
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23987
elif $ac_last_try; then
23988
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23989
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23990
{ (exit 1); exit 1; }; }
23992
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23996
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23997
if test -n "$ac_eof"; then
23998
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23999
ac_eof=`expr $ac_eof + 1`
24002
cat >>$CONFIG_STATUS <<_ACEOF
24003
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24004
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24007
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24008
s/^/s,@/; s/!/@,|#_!!_#|/
24011
s/'"$ac_delim"'$/,g/; t
24013
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24014
' >>$CONFIG_STATUS <conf$$subs.sed
24015
rm -f conf$$subs.sed
24016
cat >>$CONFIG_STATUS <<_ACEOF
24022
for ac_last_try in false false false false false :; do
24023
cat >conf$$subs.sed <<_ACEOF
24024
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24025
CXXCPP!$CXXCPP$ac_delim
24027
FFLAGS!$FFLAGS$ac_delim
24028
ac_ct_F77!$ac_ct_F77$ac_delim
24029
LIBTOOL!$LIBTOOL$ac_delim
24030
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
24031
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
24032
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
24033
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
24034
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
24035
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
24036
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
24037
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
24038
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
24039
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
24040
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
24041
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
24042
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
24043
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
24044
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
24045
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
24046
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
24047
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
24048
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
24049
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
24050
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
24051
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
24052
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
24053
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
24054
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
24055
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
24056
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
24057
DATADIRNAME!$DATADIRNAME$ac_delim
24058
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24059
USE_NLS!$USE_NLS$ac_delim
24060
MSGFMT!$MSGFMT$ac_delim
24061
GMSGFMT!$GMSGFMT$ac_delim
24062
XGETTEXT!$XGETTEXT$ac_delim
24063
CATALOGS!$CATALOGS$ac_delim
24064
CATOBJEXT!$CATOBJEXT$ac_delim
24065
GMOFILES!$GMOFILES$ac_delim
24066
INSTOBJEXT!$INSTOBJEXT$ac_delim
24067
INTLLIBS!$INTLLIBS$ac_delim
24068
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
24069
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
24070
POFILES!$POFILES$ac_delim
24071
POSUB!$POSUB$ac_delim
24072
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
24073
XGETTEXT_ARGS!$XGETTEXT_ARGS$ac_delim
24074
PKG_CONFIG!$PKG_CONFIG$ac_delim
24075
GTHREAD_VERSION!$GTHREAD_VERSION$ac_delim
24076
GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
24077
GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
24078
GTHREAD_REQUIRED_VERSION!$GTHREAD_REQUIRED_VERSION$ac_delim
24079
GTK_VERSION!$GTK_VERSION$ac_delim
24080
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
24081
GTK_LIBS!$GTK_LIBS$ac_delim
24082
GTK_REQUIRED_VERSION!$GTK_REQUIRED_VERSION$ac_delim
24083
LIBXFCEGUI4_VERSION!$LIBXFCEGUI4_VERSION$ac_delim
24084
LIBXFCEGUI4_CFLAGS!$LIBXFCEGUI4_CFLAGS$ac_delim
24085
LIBXFCEGUI4_LIBS!$LIBXFCEGUI4_LIBS$ac_delim
24086
LIBXFCEGUI4_REQUIRED_VERSION!$LIBXFCEGUI4_REQUIRED_VERSION$ac_delim
24087
LIBXFCE4UTIL_VERSION!$LIBXFCE4UTIL_VERSION$ac_delim
24088
LIBXFCE4UTIL_CFLAGS!$LIBXFCE4UTIL_CFLAGS$ac_delim
24089
LIBXFCE4UTIL_LIBS!$LIBXFCE4UTIL_LIBS$ac_delim
24090
LIBXFCE4UTIL_REQUIRED_VERSION!$LIBXFCE4UTIL_REQUIRED_VERSION$ac_delim
24091
LIBXFCE4PANEL_VERSION!$LIBXFCE4PANEL_VERSION$ac_delim
24092
LIBXFCE4PANEL_CFLAGS!$LIBXFCE4PANEL_CFLAGS$ac_delim
24093
LIBXFCE4PANEL_LIBS!$LIBXFCE4PANEL_LIBS$ac_delim
24094
LIBXFCE4PANEL_REQUIRED_VERSION!$LIBXFCE4PANEL_REQUIRED_VERSION$ac_delim
24095
LIBOBJS!$LIBOBJS$ac_delim
24096
LTLIBOBJS!$LTLIBOBJS$ac_delim
24099
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
24101
elif $ac_last_try; then
24102
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24103
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24104
{ (exit 1); exit 1; }; }
24106
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24110
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24111
if test -n "$ac_eof"; then
24112
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24113
ac_eof=`expr $ac_eof + 1`
24116
cat >>$CONFIG_STATUS <<_ACEOF
24117
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24118
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24121
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24122
s/^/s,@/; s/!/@,|#_!!_#|/
24125
s/'"$ac_delim"'$/,g/; t
24127
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24128
' >>$CONFIG_STATUS <conf$$subs.sed
24129
rm -f conf$$subs.sed
24130
cat >>$CONFIG_STATUS <<_ACEOF
24137
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24138
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24139
# trailing colons and then remove the whole line if VPATH becomes empty
24140
# (actually we leave an empty line to preserve line numbers).
24141
if test "x$srcdir" = x.; then
24142
ac_vpsub='/^[ ]*VPATH[ ]*=/{
24143
s/:*\$(srcdir):*/:/
24144
s/:*\${srcdir}:*/:/
24146
s/^\([^=]*=[ ]*\):*/\1/
24152
cat >>$CONFIG_STATUS <<\_ACEOF
23004
24153
fi # test -n "$CONFIG_FILES"
23007
cat >>$CONFIG_STATUS <<\_ACEOF
23008
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23009
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23011
- | *:- | *:-:* ) # input from stdin
23013
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23014
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23015
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23016
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23017
* ) ac_file_in=$ac_file.in ;;
23020
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23021
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24156
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24159
:[FHLC]) ac_mode=$ac_tag; continue;;
24161
case $ac_mode$ac_tag in
24163
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24164
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24165
{ (exit 1); exit 1; }; };;
24166
:[FH]-) ac_tag=-:-;;
24167
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24184
-) ac_f="$tmp/stdin";;
24185
*) # Look for the file first in the build tree, then in the source tree
24186
# (if the path is not absolute). The absolute path cannot be DOS-style,
24187
# because $ac_f cannot contain `:'.
24191
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24193
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24194
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24195
{ (exit 1); exit 1; }; };;
24197
ac_file_inputs="$ac_file_inputs $ac_f"
24200
# Let's still pretend it is `configure' which instantiates (i.e., don't
24201
# use $as_me), people would be surprised to read:
24202
# /* config.h. Generated by config.status. */
24203
configure_input="Generated from "`IFS=:
24204
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24205
if test x"$ac_file" != x-; then
24206
configure_input="$ac_file. $configure_input"
24207
{ echo "$as_me:$LINENO: creating $ac_file" >&5
24208
echo "$as_me: creating $ac_file" >&6;}
24212
*:-:* | *:-) cat >"$tmp/stdin";;
24217
ac_dir=`$as_dirname -- "$ac_file" ||
23022
24218
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23023
24219
X"$ac_file" : 'X\(//\)[^/]' \| \
23024
24220
X"$ac_file" : 'X\(//\)$' \| \
23025
X"$ac_file" : 'X\(/\)' \| \
23026
. : '\(.\)' 2>/dev/null ||
24221
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23027
24222
echo X"$ac_file" |
23028
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23029
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23030
/^X\(\/\/\)$/{ s//\1/; q; }
23031
/^X\(\/\).*/{ s//\1/; q; }
23033
{ if $as_mkdir_p; then
24223
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24227
/^X\(\/\/\)[^/].*/{
24242
-*) as_dir=./$as_dir;;
24244
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23038
while test ! -d "$as_dir"; do
23039
as_dirs="$as_dir $as_dirs"
23040
as_dir=`(dirname "$as_dir") 2>/dev/null ||
24248
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24249
*) as_qdir=$as_dir;;
24251
as_dirs="'$as_qdir' $as_dirs"
24252
as_dir=`$as_dirname -- "$as_dir" ||
23041
24253
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23042
24254
X"$as_dir" : 'X\(//\)[^/]' \| \
23043
24255
X"$as_dir" : 'X\(//\)$' \| \
23044
X"$as_dir" : 'X\(/\)' \| \
23045
. : '\(.\)' 2>/dev/null ||
24256
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23046
24257
echo X"$as_dir" |
23047
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23048
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23049
/^X\(\/\/\)$/{ s//\1/; q; }
23050
/^X\(\/\).*/{ s//\1/; q; }
24258
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24262
/^X\(\/\/\)[^/].*/{
24275
test -d "$as_dir" && break
23053
test ! -n "$as_dirs" || mkdir $as_dirs
23054
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23055
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24277
test -z "$as_dirs" || eval "mkdir $as_dirs"
24278
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24279
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23056
24280
{ (exit 1); exit 1; }; }; }
23058
24281
ac_builddir=.
23060
if test "$ac_dir" != .; then
24284
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23061
24286
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23062
# A "../" for each directory in $ac_dir_suffix.
23063
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23065
ac_dir_suffix= ac_top_builddir=
24287
# A ".." for each directory in $ac_dir_suffix.
24288
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24289
case $ac_top_builddir_sub in
24290
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24291
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24294
ac_abs_top_builddir=$ac_pwd
24295
ac_abs_builddir=$ac_pwd$ac_dir_suffix
24296
# for backward compatibility:
24297
ac_top_builddir=$ac_top_build_prefix
23068
24299
case $srcdir in
23069
.) # No --srcdir option. We are building in place.
24300
.) # We are building in place.
23071
if test -z "$ac_top_builddir"; then
23074
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23076
[\\/]* | ?:[\\/]* ) # Absolute path.
24302
ac_top_srcdir=$ac_top_builddir_sub
24303
ac_abs_top_srcdir=$ac_pwd ;;
24304
[\\/]* | ?:[\\/]* ) # Absolute name.
23077
24305
ac_srcdir=$srcdir$ac_dir_suffix;
23078
ac_top_srcdir=$srcdir ;;
23079
*) # Relative path.
23080
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23081
ac_top_srcdir=$ac_top_builddir$srcdir ;;
23084
# Do not use `cd foo && pwd` to compute absolute paths, because
23085
# the directories may not exist.
23087
.) ac_abs_builddir="$ac_dir";;
23090
.) ac_abs_builddir=`pwd`;;
23091
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23092
*) ac_abs_builddir=`pwd`/"$ac_dir";;
23095
case $ac_abs_builddir in
23096
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23098
case ${ac_top_builddir}. in
23099
.) ac_abs_top_builddir=$ac_abs_builddir;;
23100
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23101
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23104
case $ac_abs_builddir in
23105
.) ac_abs_srcdir=$ac_srcdir;;
23108
.) ac_abs_srcdir=$ac_abs_builddir;;
23109
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23110
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23113
case $ac_abs_builddir in
23114
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23116
case $ac_top_srcdir in
23117
.) ac_abs_top_srcdir=$ac_abs_builddir;;
23118
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23119
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24306
ac_top_srcdir=$srcdir
24307
ac_abs_top_srcdir=$srcdir ;;
24308
*) # Relative name.
24309
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24310
ac_top_srcdir=$ac_top_build_prefix$srcdir
24311
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24313
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23124
24322
case $INSTALL in
23125
24323
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23126
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24324
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23129
# Let's still pretend it is `configure' which instantiates (i.e., don't
23130
# use $as_me), people would be surprised to read:
23131
# /* config.h. Generated by config.status. */
23132
if test x"$ac_file" = x-; then
23135
configure_input="$ac_file. "
23137
configure_input=$configure_input"Generated from `echo $ac_file_in |
23138
sed 's,.*/,,'` by configure."
23140
# First look for the input files in the build tree, otherwise in the
23142
ac_file_inputs=`IFS=:
23143
for f in $ac_file_in; do
23145
-) echo $tmp/stdin ;;
23147
# Absolute (can't be DOS-style, as IFS=:)
23148
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23149
echo "$as_me: error: cannot find input file: $f" >&2;}
23150
{ (exit 1); exit 1; }; }
23153
if test -f "$f"; then
23156
elif test -f "$srcdir/$f"; then
23161
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23162
echo "$as_me: error: cannot find input file: $f" >&2;}
23163
{ (exit 1); exit 1; }; }
23166
done` || { (exit 1); exit 1; }
23168
if test x"$ac_file" != x-; then
23169
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23170
echo "$as_me: creating $ac_file" >&6;}
24328
cat >>$CONFIG_STATUS <<\_ACEOF
24329
# If the template does not know about datarootdir, expand it.
24330
# FIXME: This hack should be removed a few years after 2.60.
24331
ac_datarootdir_hack=; ac_datarootdir_seen=
24333
case `sed -n '/datarootdir/ {
24342
' $ac_file_inputs` in
24343
*datarootdir*) ac_datarootdir_seen=yes;;
24344
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24345
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24346
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24348
cat >>$CONFIG_STATUS <<_ACEOF
24349
ac_datarootdir_hack='
24350
s&@datadir@&$datadir&g
24351
s&@docdir@&$docdir&g
24352
s&@infodir@&$infodir&g
24353
s&@localedir@&$localedir&g
24354
s&@mandir@&$mandir&g
24355
s&\\\${datarootdir}&$datarootdir&g' ;;
24359
# Neutralize VPATH when `$srcdir' = `.'.
24360
# Shell code in configure.ac might set extrasub.
24361
# FIXME: do we really want to maintain this feature?
23174
24362
cat >>$CONFIG_STATUS <<_ACEOF
23175
24363
sed "$ac_vpsub
23178
24366
cat >>$CONFIG_STATUS <<\_ACEOF
23180
24368
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23181
s,@configure_input@,$configure_input,;t t
23182
s,@srcdir@,$ac_srcdir,;t t
23183
s,@abs_srcdir@,$ac_abs_srcdir,;t t
23184
s,@top_srcdir@,$ac_top_srcdir,;t t
23185
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23186
s,@builddir@,$ac_builddir,;t t
23187
s,@abs_builddir@,$ac_abs_builddir,;t t
23188
s,@top_builddir@,$ac_top_builddir,;t t
23189
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23190
s,@INSTALL@,$ac_INSTALL,;t t
23191
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23193
if test x"$ac_file" != x-; then
23194
mv $tmp/out $ac_file
24369
s&@configure_input@&$configure_input&;t t
24370
s&@top_builddir@&$ac_top_builddir_sub&;t t
24371
s&@srcdir@&$ac_srcdir&;t t
24372
s&@abs_srcdir@&$ac_abs_srcdir&;t t
24373
s&@top_srcdir@&$ac_top_srcdir&;t t
24374
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24375
s&@builddir@&$ac_builddir&;t t
24376
s&@abs_builddir@&$ac_abs_builddir&;t t
24377
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24378
s&@INSTALL@&$ac_INSTALL&;t t
24379
$ac_datarootdir_hack
24380
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24382
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24383
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24384
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24385
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24386
which seems to be undefined. Please make sure it is defined." >&5
24387
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24388
which seems to be undefined. Please make sure it is defined." >&2;}
24392
-) cat "$tmp/out"; rm -f "$tmp/out";;
24393
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23202
cat >>$CONFIG_STATUS <<\_ACEOF
23205
# CONFIG_HEADER section.
23208
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23209
# NAME is the cpp macro being defined and VALUE is the value it is being given.
23211
# ac_d sets the value in "#define NAME VALUE" lines.
23212
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23213
ac_dB='[ ].*$,\1#\2'
24402
# Transform confdefs.h into a sed script `conftest.defines', that
24403
# substitutes the proper values into config.h.in to produce config.h.
24404
rm -f conftest.defines conftest.tail
24405
# First, append a space to every undef/define line, to ease matching.
24406
echo 's/$/ /' >conftest.defines
24407
# Then, protect against being on the right side of a sed subst, or in
24408
# an unquoted here document, in config.status. If some macros were
24409
# called several times there might be several #defines for the same
24410
# symbol, which is useless. But do not sort them, since the last
24411
# AC_DEFINE must be honored.
24412
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24413
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24414
# NAME is the cpp macro being defined, VALUE is the value it is being given.
24415
# PARAMS is the parameter list in the macro definition--in most cases, it's
24416
# just an empty string.
24417
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24418
ac_dB='\\)[ (].*,\\1define\\2'
23216
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23217
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23218
ac_uB='$,\1#\2define\3'
23222
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23223
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23225
- | *:- | *:-:* ) # input from stdin
23227
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23228
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23229
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23230
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23231
* ) ac_file_in=$ac_file.in ;;
23234
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23235
echo "$as_me: creating $ac_file" >&6;}
23237
# First look for the input files in the build tree, otherwise in the
23239
ac_file_inputs=`IFS=:
23240
for f in $ac_file_in; do
23242
-) echo $tmp/stdin ;;
23244
# Absolute (can't be DOS-style, as IFS=:)
23245
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23246
echo "$as_me: error: cannot find input file: $f" >&2;}
23247
{ (exit 1); exit 1; }; }
23248
# Do quote $f, to prevent DOS paths from being IFS'd.
23251
if test -f "$f"; then
23254
elif test -f "$srcdir/$f"; then
23259
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23260
echo "$as_me: error: cannot find input file: $f" >&2;}
23261
{ (exit 1); exit 1; }; }
23264
done` || { (exit 1); exit 1; }
23265
# Remove the trailing spaces.
23266
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23270
# Transform confdefs.h into two sed scripts, `conftest.defines' and
23271
# `conftest.undefs', that substitutes the proper values into
23272
# config.h.in to produce config.h. The first handles `#define'
23273
# templates, and the second `#undef' templates.
23274
# And first: Protect against being on the right side of a sed subst in
23275
# config.status. Protect against being in an unquoted here document
23276
# in config.status.
23277
rm -f conftest.defines conftest.undefs
23278
# Using a here document instead of a string reduces the quoting nightmare.
23279
# Putting comments in sed scripts is not portable.
23281
# `end' is used to avoid that the second main sed command (meant for
23282
# 0-ary CPP macros) applies to n-ary macro definitions.
23283
# See the Autoconf documentation for `clear'.
23284
cat >confdef2sed.sed <<\_ACEOF
23289
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23291
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23294
# If some macros were called several times there might be several times
23295
# the same #defines, which is useless. Nevertheless, we may not want to
23296
# sort them, since we want the *last* AC-DEFINE to be honored.
23297
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23298
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23299
rm -f confdef2sed.sed
23301
# This sed command replaces #undef with comments. This is necessary, for
24426
s/^[ ]*#[ ]*define[ ][ ]*//
24431
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24432
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24433
' >>conftest.defines
24435
# Remove the space that was appended to ease matching.
24436
# Then replace #undef with comments. This is necessary, for
23302
24437
# example, in the case of _POSIX_SOURCE, which is predefined and required
23303
24438
# on some systems where configure will not decide to define it.
23304
cat >>conftest.undefs <<\_ACEOF
23305
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24439
# (The regexp can be short, since the line contains either #define or #undef.)
24441
s,^[ #]*u.*,/* & */,' >>conftest.defines
24443
# Break up conftest.defines:
24444
ac_max_sed_lines=50
24446
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24447
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24448
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24450
ac_in='$ac_file_inputs'
24451
ac_out='"$tmp/out1"'
24452
ac_nxt='"$tmp/out2"'
24456
# Write a here document:
24457
cat >>$CONFIG_STATUS <<_ACEOF
24458
# First, check the format of the line:
24459
cat >"\$tmp/defines.sed" <<\\CEOF
24460
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24461
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23308
# Break up conftest.defines because some shells have a limit on the size
23309
# of here documents, and old seds have small limits too (100 cmds).
23310
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23311
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23312
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23313
echo ' :' >>$CONFIG_STATUS
23314
rm -f conftest.tail
23315
while grep . conftest.defines >/dev/null
23317
# Write a limited-size here document to $tmp/defines.sed.
23318
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23319
# Speed up: don't consider the non `#define' lines.
23320
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23321
# Work around the forget-to-reset-the-flag bug.
23322
echo 't clr' >>$CONFIG_STATUS
23323
echo ': clr' >>$CONFIG_STATUS
23324
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24465
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23326
sed -f $tmp/defines.sed $tmp/in >$tmp/out
23328
mv $tmp/out $tmp/in
23330
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24467
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24468
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24469
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24470
grep . conftest.tail >/dev/null || break
23331
24471
rm -f conftest.defines
23332
24472
mv conftest.tail conftest.defines
23334
rm -f conftest.defines
23335
echo ' fi # grep' >>$CONFIG_STATUS
23336
echo >>$CONFIG_STATUS
23338
# Break up conftest.undefs because some shells have a limit on the size
23339
# of here documents, and old seds have small limits too (100 cmds).
23340
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23341
rm -f conftest.tail
23342
while grep . conftest.undefs >/dev/null
23344
# Write a limited-size here document to $tmp/undefs.sed.
23345
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23346
# Speed up: don't consider the non `#undef'
23347
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23348
# Work around the forget-to-reset-the-flag bug.
23349
echo 't clr' >>$CONFIG_STATUS
23350
echo ': clr' >>$CONFIG_STATUS
23351
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23353
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23355
mv $tmp/out $tmp/in
23357
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23358
rm -f conftest.undefs
23359
mv conftest.tail conftest.undefs
23361
rm -f conftest.undefs
24474
rm -f conftest.defines conftest.tail
24476
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23363
24477
cat >>$CONFIG_STATUS <<\_ACEOF
23364
# Let's still pretend it is `configure' which instantiates (i.e., don't
23365
# use $as_me), people would be surprised to read:
23366
# /* config.h. Generated by config.status. */
23367
if test x"$ac_file" = x-; then
23368
echo "/* Generated by configure. */" >$tmp/config.h
23370
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23372
cat $tmp/in >>$tmp/config.h
23374
24478
if test x"$ac_file" != x-; then
23375
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24479
echo "/* $configure_input */" >"$tmp/config.h"
24480
cat "$ac_result" >>"$tmp/config.h"
24481
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23376
24482
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23377
24483
echo "$as_me: $ac_file is unchanged" >&6;}
23379
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23380
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23381
X"$ac_file" : 'X\(//\)[^/]' \| \
23382
X"$ac_file" : 'X\(//\)$' \| \
23383
X"$ac_file" : 'X\(/\)' \| \
23384
. : '\(.\)' 2>/dev/null ||
23386
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23387
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23388
/^X\(\/\/\)$/{ s//\1/; q; }
23389
/^X\(\/\).*/{ s//\1/; q; }
23391
{ if $as_mkdir_p; then
23396
while test ! -d "$as_dir"; do
23397
as_dirs="$as_dir $as_dirs"
23398
as_dir=`(dirname "$as_dir") 2>/dev/null ||
23399
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23400
X"$as_dir" : 'X\(//\)[^/]' \| \
23401
X"$as_dir" : 'X\(//\)$' \| \
23402
X"$as_dir" : 'X\(/\)' \| \
23403
. : '\(.\)' 2>/dev/null ||
23405
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23406
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23407
/^X\(\/\/\)$/{ s//\1/; q; }
23408
/^X\(\/\).*/{ s//\1/; q; }
23411
test ! -n "$as_dirs" || mkdir $as_dirs
23412
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23413
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23414
{ (exit 1); exit 1; }; }; }
23416
24485
rm -f $ac_file
23417
mv $tmp/config.h $ac_file
24486
mv "$tmp/config.h" $ac_file
23421
rm -f $tmp/config.h
24489
echo "/* $configure_input */"
23423
24493
# Compute $ac_file's index in $config_headers.
23424
24494
_am_stamp_count=1
23425
24495
for _am_header in $config_headers :; do