68
133
# Name of the executable.
69
as_me=`$as_basename "$0" ||
134
as_me=`$as_basename -- "$0" ||
70
135
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71
136
X"$0" : 'X\(//\)$' \| \
72
X"$0" : 'X\(/\)$' \| \
73
. : '\(.\)' 2>/dev/null ||
137
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
75
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76
/^X\/\(\/\/\)$/{ s//\1/; q; }
77
/^X\/\(\/\).*/{ s//\1/; q; }
81
# PATH needs CR, and LINENO needs CR and PATH.
82
# Avoid depending upon Character Ranges.
83
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86
as_cr_digits='0123456789'
87
as_cr_alnum=$as_cr_Letters$as_cr_digits
89
# The user is always right.
90
if test "${PATH_SEPARATOR+set}" != set; then
91
echo "#! /bin/sh" >conf$$.sh
92
echo "exit 0" >>conf$$.sh
94
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
105
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106
test "x$as_lineno_1" != "x$as_lineno_2" &&
107
test "x$as_lineno_3" = "x$as_lineno_2" || {
108
# Find who we are. Look in the path if we contain no path at all
111
*[\\/]* ) as_myself=$0 ;;
112
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116
test -z "$as_dir" && as_dir=.
117
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
122
# We did not find ourselves, most probably we were run as `sh COMMAND'
123
# in which case we are not to be found in the path.
124
if test "x$as_myself" = x; then
127
if test ! -f "$as_myself"; then
128
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129
{ (exit 1); exit 1; }; }
131
case $CONFIG_SHELL in
139
sed '/^.*\/\([^/][^/]*\)\/*$/{
157
if test "x$CONFIG_SHELL" = x; then
158
if (eval ":") 2>/dev/null; then
164
if test $as_have_required = yes && (eval ":
174
as_func_ret_success () {
177
as_func_ret_failure () {
182
if as_func_success; then
186
echo as_func_success failed.
189
if as_func_failure; then
191
echo as_func_failure succeeded.
194
if as_func_ret_success; then
198
echo as_func_ret_success failed.
201
if as_func_ret_failure; then
203
echo as_func_ret_failure succeeded.
206
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210
echo positional parameters were not saved.
213
test \$exitcode = 0) || { (exit 1); exit 1; }
218
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220
") 2> /dev/null; then
133
224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134
225
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
137
228
test -z "$as_dir" && as_dir=.
138
for as_base in sh bash ksh sh5; do
141
if ("$as_dir/$as_base" -c '
144
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145
test "x$as_lineno_1" != "x$as_lineno_2" &&
146
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149
CONFIG_SHELL=$as_dir/$as_base
151
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
231
for as_base in sh bash ksh sh5; do
232
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239
for as_shell in $as_candidate_shells $SHELL; do
240
# Try only shells that exist, to save several forks.
241
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242
{ ("$as_shell") 2> /dev/null <<\_ASEOF
243
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247
# is contrary to our usage. Disable this feature.
248
alias -g '${1+"$@"}'='"$@"'
251
case `(set -o) 2>/dev/null` in
252
*posix*) set -o posix ;;
261
CONFIG_SHELL=$as_shell
263
if { "$as_shell" 2> /dev/null <<\_ASEOF
264
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268
# is contrary to our usage. Disable this feature.
269
alias -g '${1+"$@"}'='"$@"'
272
case `(set -o) 2>/dev/null` in
273
*posix*) set -o posix ;;
289
as_func_ret_success () {
292
as_func_ret_failure () {
297
if as_func_success; then
301
echo as_func_success failed.
304
if as_func_failure; then
306
echo as_func_failure succeeded.
309
if as_func_ret_success; then
313
echo as_func_ret_success failed.
316
if as_func_ret_failure; then
318
echo as_func_ret_failure succeeded.
321
if ( set x; as_func_ret_success y && test x = "$1" ); then
325
echo positional parameters were not saved.
328
test $exitcode = 0) || { (exit 1); exit 1; }
333
test "x$as_lineno_1" != "x$as_lineno_2" &&
334
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345
if test "x$CONFIG_SHELL" != x; then
346
for as_var in BASH_ENV ENV
347
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354
if test $as_have_required = no; then
355
echo This script requires a shell more modern than all the
356
echo shells that I found on your system. Please install a
357
echo modern shell, or manually run the script under such a
358
echo shell if you do have one.
359
{ (exit 1); exit 1; }
369
(eval "as_func_return () {
378
as_func_ret_success () {
381
as_func_ret_failure () {
386
if as_func_success; then
390
echo as_func_success failed.
393
if as_func_failure; then
395
echo as_func_failure succeeded.
398
if as_func_ret_success; then
402
echo as_func_ret_success failed.
405
if as_func_ret_failure; then
407
echo as_func_ret_failure succeeded.
410
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414
echo positional parameters were not saved.
417
test \$exitcode = 0") || {
418
echo No shell found that supports shell functions.
419
echo Please tell autoconf@gnu.org about your system,
420
echo including any error possibly output before this
428
test "x$as_lineno_1" != "x$as_lineno_2" &&
429
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
159
431
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160
432
# uniformly replaced by the line number. The first 'sed' inserts a
161
# line-number line before each line; the second 'sed' does the real
162
# work. The second script uses 'N' to pair each line-number line
163
# with the numbered line, and appends trailing '-' during
164
# substitution so that $LINENO is not a special case at line end.
433
# line-number line after each line using $LINENO; the second 'sed'
434
# does the real work. The second script uses 'N' to pair each
435
# line-number line with the line containing $LINENO, and appends
436
# trailing '-' during substitution so that $LINENO is not a special
165
438
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167
sed '=' <$as_myself |
439
# scripts with optimization help from Paolo Bonzini. Blame Lee
440
# E. McMahon (1931-1989) for sed's syntax. :-)
172
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
452
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
175
s,^['$as_cr_digits']*\n,,
176
455
' >$as_me.lineno &&
177
chmod +x $as_me.lineno ||
456
chmod +x "$as_me.lineno" ||
178
457
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179
458
{ (exit 1); exit 1; }; }
181
460
# Don't try to exec as it changes $[0], causing all sort of problems
182
461
# (the dirname of $[0] is not the place where we might find the
183
# original and so on. Autoconf is especially sensible to this).
462
# original and so on. Autoconf is especially sensitive to this).
185
464
# Exit status is that of the last command.
190
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191
*c*,-n*) ECHO_N= ECHO_C='
193
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
469
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475
ECHO_C= ECHO_N= ECHO_T=
479
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
197
if expr a : '\(a\)' >/dev/null 2>&1; then
486
if expr a : '\(a\)' >/dev/null 2>&1 &&
487
test "X`expr 00001 : '.*\(...\)'`" = X001; then
203
493
rm -f conf$$ conf$$.exe conf$$.file
494
if test -d conf$$.dir; then
495
rm -f conf$$.dir/conf$$.file
204
500
echo >conf$$.file
205
501
if ln -s conf$$.file conf$$ 2>/dev/null; then
206
# We could just check for DJGPP; but this test a) works b) is more generic
207
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208
if test -f conf$$.exe; then
209
# Don't use ln at all; we don't have any links
503
# ... but there are two gotchas:
504
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506
# In both cases, we have to default to `cp -p'.
507
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
214
509
elif ln conf$$.file conf$$ 2>/dev/null; then
219
rm -f conf$$ conf$$.exe conf$$.file
514
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515
rmdir conf$$.dir 2>/dev/null
221
517
if mkdir -p . 2>/dev/null; then
12573
13971
enable_fast_install=needless
12578
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12579
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12580
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12581
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12582
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12583
echo "$as_me:$LINENO: result: yes" >&5
12584
echo "${ECHO_T}yes" >&6
12586
# FIXME - insert some real tests, host_os isn't really good enough
12589
if test -n "$STRIP" ; then
12590
striplib="$STRIP -x"
12591
echo "$as_me:$LINENO: result: yes" >&5
12592
echo "${ECHO_T}yes" >&6
12594
echo "$as_me:$LINENO: result: no" >&5
12595
echo "${ECHO_T}no" >&6
12599
echo "$as_me:$LINENO: result: no" >&5
12600
echo "${ECHO_T}no" >&6
12605
if test "x$enable_dlopen" != xyes; then
12606
enable_dlopen=unknown
12607
enable_dlopen_self=unknown
12608
enable_dlopen_self_static=unknown
12615
lt_cv_dlopen="load_add_on"
12617
lt_cv_dlopen_self=yes
12621
lt_cv_dlopen="LoadLibrary"
12626
lt_cv_dlopen="dlopen"
12631
# if libdl is installed we need to link against it
12632
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12633
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12634
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12635
echo $ECHO_N "(cached) $ECHO_C" >&6
12637
ac_check_lib_save_LIBS=$LIBS
12639
cat >conftest.$ac_ext <<_ACEOF
12642
cat confdefs.h >>conftest.$ac_ext
12643
cat >>conftest.$ac_ext <<_ACEOF
12644
/* end confdefs.h. */
12646
/* Override any gcc2 internal prototype to avoid an error. */
12650
/* We use char because int might match the return type of a gcc2
12651
builtin and then its argument prototype would still apply. */
12661
rm -f conftest.$ac_objext conftest$ac_exeext
12662
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12663
(eval $ac_link) 2>conftest.er1
12665
grep -v '^ *+' conftest.er1 >conftest.err
12667
cat conftest.err >&5
12668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669
(exit $ac_status); } &&
12670
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12671
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672
(eval $ac_try) 2>&5
12674
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675
(exit $ac_status); }; } &&
12676
{ ac_try='test -s conftest$ac_exeext'
12677
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678
(eval $ac_try) 2>&5
12680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681
(exit $ac_status); }; }; then
12682
ac_cv_lib_dl_dlopen=yes
12684
echo "$as_me: failed program was:" >&5
12685
sed 's/^/| /' conftest.$ac_ext >&5
12687
ac_cv_lib_dl_dlopen=no
12689
rm -f conftest.err conftest.$ac_objext \
12690
conftest$ac_exeext conftest.$ac_ext
12691
LIBS=$ac_check_lib_save_LIBS
12693
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12694
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12695
if test $ac_cv_lib_dl_dlopen = yes; then
12696
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12699
lt_cv_dlopen="dyld"
12701
lt_cv_dlopen_self=yes
12708
echo "$as_me:$LINENO: checking for shl_load" >&5
12709
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12710
if test "${ac_cv_func_shl_load+set}" = set; then
12711
echo $ECHO_N "(cached) $ECHO_C" >&6
12713
cat >conftest.$ac_ext <<_ACEOF
12716
cat confdefs.h >>conftest.$ac_ext
12717
cat >>conftest.$ac_ext <<_ACEOF
12718
/* end confdefs.h. */
12719
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12720
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12721
#define shl_load innocuous_shl_load
12723
/* System header to define __stub macros and hopefully few prototypes,
12724
which can conflict with char shl_load (); below.
12725
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12726
<limits.h> exists even on freestanding compilers. */
12729
# include <limits.h>
12731
# include <assert.h>
12736
/* Override any gcc2 internal prototype to avoid an error. */
12741
/* We use char because int might match the return type of a gcc2
12742
builtin and then its argument prototype would still apply. */
12744
/* The GNU C library defines this for functions which it implements
12745
to always fail with ENOSYS. Some functions are actually named
12746
something starting with __ and the normal name is an alias. */
12747
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12750
char (*f) () = shl_load;
12759
return f != shl_load;
12764
rm -f conftest.$ac_objext conftest$ac_exeext
12765
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12766
(eval $ac_link) 2>conftest.er1
12768
grep -v '^ *+' conftest.er1 >conftest.err
12770
cat conftest.err >&5
12771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772
(exit $ac_status); } &&
12773
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12774
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12775
(eval $ac_try) 2>&5
12777
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778
(exit $ac_status); }; } &&
12779
{ ac_try='test -s conftest$ac_exeext'
12780
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781
(eval $ac_try) 2>&5
12783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784
(exit $ac_status); }; }; then
12785
ac_cv_func_shl_load=yes
12787
echo "$as_me: failed program was:" >&5
12788
sed 's/^/| /' conftest.$ac_ext >&5
12790
ac_cv_func_shl_load=no
12792
rm -f conftest.err conftest.$ac_objext \
12793
conftest$ac_exeext conftest.$ac_ext
12795
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12796
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12797
if test $ac_cv_func_shl_load = yes; then
12798
lt_cv_dlopen="shl_load"
12800
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12801
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12802
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12803
echo $ECHO_N "(cached) $ECHO_C" >&6
12805
ac_check_lib_save_LIBS=$LIBS
12807
cat >conftest.$ac_ext <<_ACEOF
12810
cat confdefs.h >>conftest.$ac_ext
12811
cat >>conftest.$ac_ext <<_ACEOF
12812
/* end confdefs.h. */
12814
/* Override any gcc2 internal prototype to avoid an error. */
12818
/* We use char because int might match the return type of a gcc2
12819
builtin and then its argument prototype would still apply. */
12829
rm -f conftest.$ac_objext conftest$ac_exeext
12830
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12831
(eval $ac_link) 2>conftest.er1
12833
grep -v '^ *+' conftest.er1 >conftest.err
12835
cat conftest.err >&5
12836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837
(exit $ac_status); } &&
12838
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12839
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840
(eval $ac_try) 2>&5
12842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843
(exit $ac_status); }; } &&
12844
{ ac_try='test -s conftest$ac_exeext'
12845
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846
(eval $ac_try) 2>&5
12848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849
(exit $ac_status); }; }; then
12850
ac_cv_lib_dld_shl_load=yes
12852
echo "$as_me: failed program was:" >&5
12853
sed 's/^/| /' conftest.$ac_ext >&5
12855
ac_cv_lib_dld_shl_load=no
12857
rm -f conftest.err conftest.$ac_objext \
12858
conftest$ac_exeext conftest.$ac_ext
12859
LIBS=$ac_check_lib_save_LIBS
12861
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12862
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12863
if test $ac_cv_lib_dld_shl_load = yes; then
12864
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12866
echo "$as_me:$LINENO: checking for dlopen" >&5
12867
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12868
if test "${ac_cv_func_dlopen+set}" = set; then
12869
echo $ECHO_N "(cached) $ECHO_C" >&6
12871
cat >conftest.$ac_ext <<_ACEOF
12874
cat confdefs.h >>conftest.$ac_ext
12875
cat >>conftest.$ac_ext <<_ACEOF
12876
/* end confdefs.h. */
12877
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12878
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12879
#define dlopen innocuous_dlopen
12881
/* System header to define __stub macros and hopefully few prototypes,
12882
which can conflict with char dlopen (); below.
12883
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12884
<limits.h> exists even on freestanding compilers. */
12887
# include <limits.h>
12889
# include <assert.h>
12894
/* Override any gcc2 internal prototype to avoid an error. */
12899
/* We use char because int might match the return type of a gcc2
12900
builtin and then its argument prototype would still apply. */
12902
/* The GNU C library defines this for functions which it implements
12903
to always fail with ENOSYS. Some functions are actually named
12904
something starting with __ and the normal name is an alias. */
12905
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12908
char (*f) () = dlopen;
12917
return f != dlopen;
12922
rm -f conftest.$ac_objext conftest$ac_exeext
12923
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12924
(eval $ac_link) 2>conftest.er1
12926
grep -v '^ *+' conftest.er1 >conftest.err
12928
cat conftest.err >&5
12929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930
(exit $ac_status); } &&
12931
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12932
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933
(eval $ac_try) 2>&5
12935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936
(exit $ac_status); }; } &&
12937
{ ac_try='test -s conftest$ac_exeext'
12938
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939
(eval $ac_try) 2>&5
12941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942
(exit $ac_status); }; }; then
12943
ac_cv_func_dlopen=yes
12945
echo "$as_me: failed program was:" >&5
12946
sed 's/^/| /' conftest.$ac_ext >&5
12948
ac_cv_func_dlopen=no
12950
rm -f conftest.err conftest.$ac_objext \
12951
conftest$ac_exeext conftest.$ac_ext
12953
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12954
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12955
if test $ac_cv_func_dlopen = yes; then
12956
lt_cv_dlopen="dlopen"
12958
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12959
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12960
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12961
echo $ECHO_N "(cached) $ECHO_C" >&6
12963
ac_check_lib_save_LIBS=$LIBS
12965
cat >conftest.$ac_ext <<_ACEOF
12968
cat confdefs.h >>conftest.$ac_ext
12969
cat >>conftest.$ac_ext <<_ACEOF
12970
/* end confdefs.h. */
12972
/* Override any gcc2 internal prototype to avoid an error. */
12976
/* We use char because int might match the return type of a gcc2
12977
builtin and then its argument prototype would still apply. */
12987
rm -f conftest.$ac_objext conftest$ac_exeext
12988
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12989
(eval $ac_link) 2>conftest.er1
12991
grep -v '^ *+' conftest.er1 >conftest.err
12993
cat conftest.err >&5
12994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995
(exit $ac_status); } &&
12996
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12997
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998
(eval $ac_try) 2>&5
13000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001
(exit $ac_status); }; } &&
13002
{ ac_try='test -s conftest$ac_exeext'
13003
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004
(eval $ac_try) 2>&5
13006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007
(exit $ac_status); }; }; then
13008
ac_cv_lib_dl_dlopen=yes
13010
echo "$as_me: failed program was:" >&5
13011
sed 's/^/| /' conftest.$ac_ext >&5
13013
ac_cv_lib_dl_dlopen=no
13015
rm -f conftest.err conftest.$ac_objext \
13016
conftest$ac_exeext conftest.$ac_ext
13017
LIBS=$ac_check_lib_save_LIBS
13019
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13020
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13021
if test $ac_cv_lib_dl_dlopen = yes; then
13022
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13024
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13025
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13026
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13027
echo $ECHO_N "(cached) $ECHO_C" >&6
13029
ac_check_lib_save_LIBS=$LIBS
13030
LIBS="-lsvld $LIBS"
13031
cat >conftest.$ac_ext <<_ACEOF
13034
cat confdefs.h >>conftest.$ac_ext
13035
cat >>conftest.$ac_ext <<_ACEOF
13036
/* end confdefs.h. */
13038
/* Override any gcc2 internal prototype to avoid an error. */
13042
/* We use char because int might match the return type of a gcc2
13043
builtin and then its argument prototype would still apply. */
13053
rm -f conftest.$ac_objext conftest$ac_exeext
13054
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13055
(eval $ac_link) 2>conftest.er1
13057
grep -v '^ *+' conftest.er1 >conftest.err
13059
cat conftest.err >&5
13060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061
(exit $ac_status); } &&
13062
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13063
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064
(eval $ac_try) 2>&5
13066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067
(exit $ac_status); }; } &&
13068
{ ac_try='test -s conftest$ac_exeext'
13069
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070
(eval $ac_try) 2>&5
13072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073
(exit $ac_status); }; }; then
13074
ac_cv_lib_svld_dlopen=yes
13076
echo "$as_me: failed program was:" >&5
13077
sed 's/^/| /' conftest.$ac_ext >&5
13079
ac_cv_lib_svld_dlopen=no
13081
rm -f conftest.err conftest.$ac_objext \
13082
conftest$ac_exeext conftest.$ac_ext
13083
LIBS=$ac_check_lib_save_LIBS
13085
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13086
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13087
if test $ac_cv_lib_svld_dlopen = yes; then
13088
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13090
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13091
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13092
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13093
echo $ECHO_N "(cached) $ECHO_C" >&6
13095
ac_check_lib_save_LIBS=$LIBS
13097
cat >conftest.$ac_ext <<_ACEOF
13100
cat confdefs.h >>conftest.$ac_ext
13101
cat >>conftest.$ac_ext <<_ACEOF
13102
/* end confdefs.h. */
13104
/* Override any gcc2 internal prototype to avoid an error. */
13108
/* We use char because int might match the return type of a gcc2
13109
builtin and then its argument prototype would still apply. */
13119
rm -f conftest.$ac_objext conftest$ac_exeext
13120
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13121
(eval $ac_link) 2>conftest.er1
13123
grep -v '^ *+' conftest.er1 >conftest.err
13125
cat conftest.err >&5
13126
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127
(exit $ac_status); } &&
13128
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13129
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130
(eval $ac_try) 2>&5
13132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133
(exit $ac_status); }; } &&
13134
{ ac_try='test -s conftest$ac_exeext'
13135
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136
(eval $ac_try) 2>&5
13138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139
(exit $ac_status); }; }; then
13140
ac_cv_lib_dld_dld_link=yes
13142
echo "$as_me: failed program was:" >&5
13143
sed 's/^/| /' conftest.$ac_ext >&5
13145
ac_cv_lib_dld_dld_link=no
13147
rm -f conftest.err conftest.$ac_objext \
13148
conftest$ac_exeext conftest.$ac_ext
13149
LIBS=$ac_check_lib_save_LIBS
13151
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13152
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13153
if test $ac_cv_lib_dld_dld_link = yes; then
13154
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13175
if test "x$lt_cv_dlopen" != xno; then
13181
case $lt_cv_dlopen in
13183
save_CPPFLAGS="$CPPFLAGS"
13184
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13186
save_LDFLAGS="$LDFLAGS"
13187
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13190
LIBS="$lt_cv_dlopen_libs $LIBS"
13192
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13193
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13194
if test "${lt_cv_dlopen_self+set}" = set; then
13195
echo $ECHO_N "(cached) $ECHO_C" >&6
13197
if test "$cross_compiling" = yes; then :
13198
lt_cv_dlopen_self=cross
13200
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13201
lt_status=$lt_dlunknown
13202
cat > conftest.$ac_ext <<EOF
13203
#line 13203 "configure"
13204
#include "confdefs.h"
13213
# define LT_DLGLOBAL RTLD_GLOBAL
13216
# define LT_DLGLOBAL DL_GLOBAL
13218
# define LT_DLGLOBAL 0
13222
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13223
find out it does not work in some platform. */
13224
#ifndef LT_DLLAZY_OR_NOW
13226
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13229
# define LT_DLLAZY_OR_NOW DL_LAZY
13232
# define LT_DLLAZY_OR_NOW RTLD_NOW
13235
# define LT_DLLAZY_OR_NOW DL_NOW
13237
# define LT_DLLAZY_OR_NOW 0
13245
extern "C" void exit (int);
13248
void fnord() { int i=42;}
13251
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13252
int status = $lt_dlunknown;
13256
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13257
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13258
/* dlclose (self); */
13264
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13265
(eval $ac_link) 2>&5
13267
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13269
(./conftest; exit; ) 2>/dev/null
13271
case x$lt_status in
13272
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13273
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13274
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13277
# compilation failed
13278
lt_cv_dlopen_self=no
13285
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13286
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13288
if test "x$lt_cv_dlopen_self" = xyes; then
13289
LDFLAGS="$LDFLAGS $link_static_flag"
13290
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13291
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13292
if test "${lt_cv_dlopen_self_static+set}" = set; then
13293
echo $ECHO_N "(cached) $ECHO_C" >&6
13295
if test "$cross_compiling" = yes; then :
13296
lt_cv_dlopen_self_static=cross
13298
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13299
lt_status=$lt_dlunknown
13300
cat > conftest.$ac_ext <<EOF
13301
#line 13301 "configure"
13302
#include "confdefs.h"
13311
# define LT_DLGLOBAL RTLD_GLOBAL
13314
# define LT_DLGLOBAL DL_GLOBAL
13316
# define LT_DLGLOBAL 0
13320
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13321
find out it does not work in some platform. */
13322
#ifndef LT_DLLAZY_OR_NOW
13324
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13327
# define LT_DLLAZY_OR_NOW DL_LAZY
13330
# define LT_DLLAZY_OR_NOW RTLD_NOW
13333
# define LT_DLLAZY_OR_NOW DL_NOW
13335
# define LT_DLLAZY_OR_NOW 0
13343
extern "C" void exit (int);
13346
void fnord() { int i=42;}
13349
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13350
int status = $lt_dlunknown;
13354
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13355
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13356
/* dlclose (self); */
13362
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13363
(eval $ac_link) 2>&5
13365
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13367
(./conftest; exit; ) 2>/dev/null
13369
case x$lt_status in
13370
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13371
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13372
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13375
# compilation failed
13376
lt_cv_dlopen_self_static=no
13383
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13384
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13387
CPPFLAGS="$save_CPPFLAGS"
13388
LDFLAGS="$save_LDFLAGS"
13393
case $lt_cv_dlopen_self in
13394
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13395
*) enable_dlopen_self=unknown ;;
13398
case $lt_cv_dlopen_self_static in
13399
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13400
*) enable_dlopen_self_static=unknown ;;
13405
13975
# The else clause should only fire when bootstrapping the
13406
13976
# libtool distribution, otherwise you forgot to ship ltmain.sh
18084
19122
enable_fast_install=needless
18089
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18090
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18091
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18092
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18093
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18094
echo "$as_me:$LINENO: result: yes" >&5
18095
echo "${ECHO_T}yes" >&6
18097
# FIXME - insert some real tests, host_os isn't really good enough
18100
if test -n "$STRIP" ; then
18101
striplib="$STRIP -x"
18102
echo "$as_me:$LINENO: result: yes" >&5
18103
echo "${ECHO_T}yes" >&6
18105
echo "$as_me:$LINENO: result: no" >&5
18106
echo "${ECHO_T}no" >&6
18110
echo "$as_me:$LINENO: result: no" >&5
18111
echo "${ECHO_T}no" >&6
18116
if test "x$enable_dlopen" != xyes; then
18117
enable_dlopen=unknown
18118
enable_dlopen_self=unknown
18119
enable_dlopen_self_static=unknown
18126
lt_cv_dlopen="load_add_on"
18128
lt_cv_dlopen_self=yes
18132
lt_cv_dlopen="LoadLibrary"
18137
lt_cv_dlopen="dlopen"
18142
# if libdl is installed we need to link against it
18143
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18144
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18145
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18146
echo $ECHO_N "(cached) $ECHO_C" >&6
18148
ac_check_lib_save_LIBS=$LIBS
18150
cat >conftest.$ac_ext <<_ACEOF
18153
cat confdefs.h >>conftest.$ac_ext
18154
cat >>conftest.$ac_ext <<_ACEOF
18155
/* end confdefs.h. */
18157
/* Override any gcc2 internal prototype to avoid an error. */
18161
/* We use char because int might match the return type of a gcc2
18162
builtin and then its argument prototype would still apply. */
18172
rm -f conftest.$ac_objext conftest$ac_exeext
18173
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18174
(eval $ac_link) 2>conftest.er1
18176
grep -v '^ *+' conftest.er1 >conftest.err
18178
cat conftest.err >&5
18179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180
(exit $ac_status); } &&
18181
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18182
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18183
(eval $ac_try) 2>&5
18185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186
(exit $ac_status); }; } &&
18187
{ ac_try='test -s conftest$ac_exeext'
18188
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18189
(eval $ac_try) 2>&5
18191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192
(exit $ac_status); }; }; then
18193
ac_cv_lib_dl_dlopen=yes
18195
echo "$as_me: failed program was:" >&5
18196
sed 's/^/| /' conftest.$ac_ext >&5
18198
ac_cv_lib_dl_dlopen=no
18200
rm -f conftest.err conftest.$ac_objext \
18201
conftest$ac_exeext conftest.$ac_ext
18202
LIBS=$ac_check_lib_save_LIBS
18204
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18205
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18206
if test $ac_cv_lib_dl_dlopen = yes; then
18207
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18210
lt_cv_dlopen="dyld"
18212
lt_cv_dlopen_self=yes
18219
echo "$as_me:$LINENO: checking for shl_load" >&5
18220
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18221
if test "${ac_cv_func_shl_load+set}" = set; then
18222
echo $ECHO_N "(cached) $ECHO_C" >&6
18224
cat >conftest.$ac_ext <<_ACEOF
18227
cat confdefs.h >>conftest.$ac_ext
18228
cat >>conftest.$ac_ext <<_ACEOF
18229
/* end confdefs.h. */
18230
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18231
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18232
#define shl_load innocuous_shl_load
18234
/* System header to define __stub macros and hopefully few prototypes,
18235
which can conflict with char shl_load (); below.
18236
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18237
<limits.h> exists even on freestanding compilers. */
18240
# include <limits.h>
18242
# include <assert.h>
18247
/* Override any gcc2 internal prototype to avoid an error. */
18252
/* We use char because int might match the return type of a gcc2
18253
builtin and then its argument prototype would still apply. */
18255
/* The GNU C library defines this for functions which it implements
18256
to always fail with ENOSYS. Some functions are actually named
18257
something starting with __ and the normal name is an alias. */
18258
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18261
char (*f) () = shl_load;
18270
return f != shl_load;
18275
rm -f conftest.$ac_objext conftest$ac_exeext
18276
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277
(eval $ac_link) 2>conftest.er1
18279
grep -v '^ *+' conftest.er1 >conftest.err
18281
cat conftest.err >&5
18282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283
(exit $ac_status); } &&
18284
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286
(eval $ac_try) 2>&5
18288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289
(exit $ac_status); }; } &&
18290
{ ac_try='test -s conftest$ac_exeext'
18291
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292
(eval $ac_try) 2>&5
18294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295
(exit $ac_status); }; }; then
18296
ac_cv_func_shl_load=yes
18298
echo "$as_me: failed program was:" >&5
18299
sed 's/^/| /' conftest.$ac_ext >&5
18301
ac_cv_func_shl_load=no
18303
rm -f conftest.err conftest.$ac_objext \
18304
conftest$ac_exeext conftest.$ac_ext
18306
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18307
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18308
if test $ac_cv_func_shl_load = yes; then
18309
lt_cv_dlopen="shl_load"
18311
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18312
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18313
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18314
echo $ECHO_N "(cached) $ECHO_C" >&6
18316
ac_check_lib_save_LIBS=$LIBS
18318
cat >conftest.$ac_ext <<_ACEOF
18321
cat confdefs.h >>conftest.$ac_ext
18322
cat >>conftest.$ac_ext <<_ACEOF
18323
/* end confdefs.h. */
18325
/* Override any gcc2 internal prototype to avoid an error. */
18329
/* We use char because int might match the return type of a gcc2
18330
builtin and then its argument prototype would still apply. */
18340
rm -f conftest.$ac_objext conftest$ac_exeext
18341
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18342
(eval $ac_link) 2>conftest.er1
18344
grep -v '^ *+' conftest.er1 >conftest.err
18346
cat conftest.err >&5
18347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348
(exit $ac_status); } &&
18349
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18350
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351
(eval $ac_try) 2>&5
18353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354
(exit $ac_status); }; } &&
18355
{ ac_try='test -s conftest$ac_exeext'
18356
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357
(eval $ac_try) 2>&5
18359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360
(exit $ac_status); }; }; then
18361
ac_cv_lib_dld_shl_load=yes
18363
echo "$as_me: failed program was:" >&5
18364
sed 's/^/| /' conftest.$ac_ext >&5
18366
ac_cv_lib_dld_shl_load=no
18368
rm -f conftest.err conftest.$ac_objext \
18369
conftest$ac_exeext conftest.$ac_ext
18370
LIBS=$ac_check_lib_save_LIBS
18372
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18373
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18374
if test $ac_cv_lib_dld_shl_load = yes; then
18375
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18377
echo "$as_me:$LINENO: checking for dlopen" >&5
18378
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18379
if test "${ac_cv_func_dlopen+set}" = set; then
18380
echo $ECHO_N "(cached) $ECHO_C" >&6
18382
cat >conftest.$ac_ext <<_ACEOF
18385
cat confdefs.h >>conftest.$ac_ext
18386
cat >>conftest.$ac_ext <<_ACEOF
18387
/* end confdefs.h. */
18388
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18389
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18390
#define dlopen innocuous_dlopen
18392
/* System header to define __stub macros and hopefully few prototypes,
18393
which can conflict with char dlopen (); below.
18394
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18395
<limits.h> exists even on freestanding compilers. */
18398
# include <limits.h>
18400
# include <assert.h>
18405
/* Override any gcc2 internal prototype to avoid an error. */
18410
/* We use char because int might match the return type of a gcc2
18411
builtin and then its argument prototype would still apply. */
18413
/* The GNU C library defines this for functions which it implements
18414
to always fail with ENOSYS. Some functions are actually named
18415
something starting with __ and the normal name is an alias. */
18416
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18419
char (*f) () = dlopen;
18428
return f != dlopen;
18433
rm -f conftest.$ac_objext conftest$ac_exeext
18434
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18435
(eval $ac_link) 2>conftest.er1
18437
grep -v '^ *+' conftest.er1 >conftest.err
18439
cat conftest.err >&5
18440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441
(exit $ac_status); } &&
18442
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18443
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18444
(eval $ac_try) 2>&5
18446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447
(exit $ac_status); }; } &&
18448
{ ac_try='test -s conftest$ac_exeext'
18449
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18450
(eval $ac_try) 2>&5
18452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453
(exit $ac_status); }; }; then
18454
ac_cv_func_dlopen=yes
18456
echo "$as_me: failed program was:" >&5
18457
sed 's/^/| /' conftest.$ac_ext >&5
18459
ac_cv_func_dlopen=no
18461
rm -f conftest.err conftest.$ac_objext \
18462
conftest$ac_exeext conftest.$ac_ext
18464
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18465
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18466
if test $ac_cv_func_dlopen = yes; then
18467
lt_cv_dlopen="dlopen"
18469
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18470
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18471
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18472
echo $ECHO_N "(cached) $ECHO_C" >&6
18474
ac_check_lib_save_LIBS=$LIBS
18476
cat >conftest.$ac_ext <<_ACEOF
18479
cat confdefs.h >>conftest.$ac_ext
18480
cat >>conftest.$ac_ext <<_ACEOF
18481
/* end confdefs.h. */
18483
/* Override any gcc2 internal prototype to avoid an error. */
18487
/* We use char because int might match the return type of a gcc2
18488
builtin and then its argument prototype would still apply. */
18498
rm -f conftest.$ac_objext conftest$ac_exeext
18499
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18500
(eval $ac_link) 2>conftest.er1
18502
grep -v '^ *+' conftest.er1 >conftest.err
18504
cat conftest.err >&5
18505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506
(exit $ac_status); } &&
18507
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18508
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18509
(eval $ac_try) 2>&5
18511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512
(exit $ac_status); }; } &&
18513
{ ac_try='test -s conftest$ac_exeext'
18514
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515
(eval $ac_try) 2>&5
18517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518
(exit $ac_status); }; }; then
18519
ac_cv_lib_dl_dlopen=yes
18521
echo "$as_me: failed program was:" >&5
18522
sed 's/^/| /' conftest.$ac_ext >&5
18524
ac_cv_lib_dl_dlopen=no
18526
rm -f conftest.err conftest.$ac_objext \
18527
conftest$ac_exeext conftest.$ac_ext
18528
LIBS=$ac_check_lib_save_LIBS
18530
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18531
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18532
if test $ac_cv_lib_dl_dlopen = yes; then
18533
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18535
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18536
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18537
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18538
echo $ECHO_N "(cached) $ECHO_C" >&6
18540
ac_check_lib_save_LIBS=$LIBS
18541
LIBS="-lsvld $LIBS"
18542
cat >conftest.$ac_ext <<_ACEOF
18545
cat confdefs.h >>conftest.$ac_ext
18546
cat >>conftest.$ac_ext <<_ACEOF
18547
/* end confdefs.h. */
18549
/* Override any gcc2 internal prototype to avoid an error. */
18553
/* We use char because int might match the return type of a gcc2
18554
builtin and then its argument prototype would still apply. */
18564
rm -f conftest.$ac_objext conftest$ac_exeext
18565
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18566
(eval $ac_link) 2>conftest.er1
18568
grep -v '^ *+' conftest.er1 >conftest.err
18570
cat conftest.err >&5
18571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572
(exit $ac_status); } &&
18573
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18574
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575
(eval $ac_try) 2>&5
18577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578
(exit $ac_status); }; } &&
18579
{ ac_try='test -s conftest$ac_exeext'
18580
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581
(eval $ac_try) 2>&5
18583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584
(exit $ac_status); }; }; then
18585
ac_cv_lib_svld_dlopen=yes
18587
echo "$as_me: failed program was:" >&5
18588
sed 's/^/| /' conftest.$ac_ext >&5
18590
ac_cv_lib_svld_dlopen=no
18592
rm -f conftest.err conftest.$ac_objext \
18593
conftest$ac_exeext conftest.$ac_ext
18594
LIBS=$ac_check_lib_save_LIBS
18596
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18597
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18598
if test $ac_cv_lib_svld_dlopen = yes; then
18599
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18601
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18602
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18603
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18604
echo $ECHO_N "(cached) $ECHO_C" >&6
18606
ac_check_lib_save_LIBS=$LIBS
18608
cat >conftest.$ac_ext <<_ACEOF
18611
cat confdefs.h >>conftest.$ac_ext
18612
cat >>conftest.$ac_ext <<_ACEOF
18613
/* end confdefs.h. */
18615
/* Override any gcc2 internal prototype to avoid an error. */
18619
/* We use char because int might match the return type of a gcc2
18620
builtin and then its argument prototype would still apply. */
18630
rm -f conftest.$ac_objext conftest$ac_exeext
18631
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18632
(eval $ac_link) 2>conftest.er1
18634
grep -v '^ *+' conftest.er1 >conftest.err
18636
cat conftest.err >&5
18637
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638
(exit $ac_status); } &&
18639
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18640
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641
(eval $ac_try) 2>&5
18643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644
(exit $ac_status); }; } &&
18645
{ ac_try='test -s conftest$ac_exeext'
18646
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647
(eval $ac_try) 2>&5
18649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650
(exit $ac_status); }; }; then
18651
ac_cv_lib_dld_dld_link=yes
18653
echo "$as_me: failed program was:" >&5
18654
sed 's/^/| /' conftest.$ac_ext >&5
18656
ac_cv_lib_dld_dld_link=no
18658
rm -f conftest.err conftest.$ac_objext \
18659
conftest$ac_exeext conftest.$ac_ext
18660
LIBS=$ac_check_lib_save_LIBS
18662
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18663
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18664
if test $ac_cv_lib_dld_dld_link = yes; then
18665
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18686
if test "x$lt_cv_dlopen" != xno; then
18692
case $lt_cv_dlopen in
18694
save_CPPFLAGS="$CPPFLAGS"
18695
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18697
save_LDFLAGS="$LDFLAGS"
18698
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18701
LIBS="$lt_cv_dlopen_libs $LIBS"
18703
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18704
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18705
if test "${lt_cv_dlopen_self+set}" = set; then
18706
echo $ECHO_N "(cached) $ECHO_C" >&6
18708
if test "$cross_compiling" = yes; then :
18709
lt_cv_dlopen_self=cross
18711
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18712
lt_status=$lt_dlunknown
18713
cat > conftest.$ac_ext <<EOF
18714
#line 18714 "configure"
18715
#include "confdefs.h"
18724
# define LT_DLGLOBAL RTLD_GLOBAL
18727
# define LT_DLGLOBAL DL_GLOBAL
18729
# define LT_DLGLOBAL 0
18733
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18734
find out it does not work in some platform. */
18735
#ifndef LT_DLLAZY_OR_NOW
18737
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18740
# define LT_DLLAZY_OR_NOW DL_LAZY
18743
# define LT_DLLAZY_OR_NOW RTLD_NOW
18746
# define LT_DLLAZY_OR_NOW DL_NOW
18748
# define LT_DLLAZY_OR_NOW 0
18756
extern "C" void exit (int);
18759
void fnord() { int i=42;}
18762
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18763
int status = $lt_dlunknown;
18767
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18768
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18769
/* dlclose (self); */
18775
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18776
(eval $ac_link) 2>&5
18778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18780
(./conftest; exit; ) 2>/dev/null
18782
case x$lt_status in
18783
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18784
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18785
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18788
# compilation failed
18789
lt_cv_dlopen_self=no
18796
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18797
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18799
if test "x$lt_cv_dlopen_self" = xyes; then
18800
LDFLAGS="$LDFLAGS $link_static_flag"
18801
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18802
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18803
if test "${lt_cv_dlopen_self_static+set}" = set; then
18804
echo $ECHO_N "(cached) $ECHO_C" >&6
18806
if test "$cross_compiling" = yes; then :
18807
lt_cv_dlopen_self_static=cross
18809
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18810
lt_status=$lt_dlunknown
18811
cat > conftest.$ac_ext <<EOF
18812
#line 18812 "configure"
18813
#include "confdefs.h"
18822
# define LT_DLGLOBAL RTLD_GLOBAL
18825
# define LT_DLGLOBAL DL_GLOBAL
18827
# define LT_DLGLOBAL 0
18831
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18832
find out it does not work in some platform. */
18833
#ifndef LT_DLLAZY_OR_NOW
18835
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18838
# define LT_DLLAZY_OR_NOW DL_LAZY
18841
# define LT_DLLAZY_OR_NOW RTLD_NOW
18844
# define LT_DLLAZY_OR_NOW DL_NOW
18846
# define LT_DLLAZY_OR_NOW 0
18854
extern "C" void exit (int);
18857
void fnord() { int i=42;}
18860
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18861
int status = $lt_dlunknown;
18865
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18866
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18867
/* dlclose (self); */
18873
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18874
(eval $ac_link) 2>&5
18876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18878
(./conftest; exit; ) 2>/dev/null
18880
case x$lt_status in
18881
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18882
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18883
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18886
# compilation failed
18887
lt_cv_dlopen_self_static=no
18894
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18895
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18898
CPPFLAGS="$save_CPPFLAGS"
18899
LDFLAGS="$save_LDFLAGS"
18904
case $lt_cv_dlopen_self in
18905
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18906
*) enable_dlopen_self=unknown ;;
18909
case $lt_cv_dlopen_self_static in
18910
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18911
*) enable_dlopen_self_static=unknown ;;
18916
19126
# The else clause should only fire when bootstrapping the
18917
19127
# libtool distribution, otherwise you forgot to ship ltmain.sh
20861
21167
PYTHON_ENABLED_FALSE=
20864
echo "$as_me:$LINENO: result: $enable_python" >&5
20865
echo "${ECHO_T}$enable_python" >&6
20872
# Check whether --enable-php or --disable-php was given.
20873
if test "${enable_php+set}" = set; then
20874
enableval="$enable_php"
20880
# Check whether --enable-php-force or --disable-php-force was given.
20881
if test "${enable_php_force+set}" = set; then
20882
enableval="$enable_php_force"
20883
ENABLE_PHP_FORCE="yes"
20885
ENABLE_PHP_FORCE="no"
20889
# Check whether --with-php-config or --without-php-config was given.
20890
if test "${with_php_config+set}" = set; then
20891
withval="$with_php_config"
20896
# Check whether --with-php-extension-dir or --without-php-extension-dir was given.
20897
if test "${with_php_extension_dir+set}" = set; then
20898
withval="$with_php_extension_dir"
20899
PHP_EXTENSION_DIR="$withval"
20904
if test "X$with_php_config" != "X" ; then
20905
PHP_CONFIG=$with_php_config
20908
if test "X$PHP_CONFIG" != "X" ; then
20909
PHP_INCLUDES=`$PHP_CONFIG --includes`
20910
PHP_LDFLAGS=`$PHP_CONFIG --ldflags`
20911
PHP_LIBS=`$PHP_CONFIG --libs`
20912
PHP_UNPREFIXED_EXTENSION_DIR=`$PHP_CONFIG --extension-dir | $SED 's/\/usr//g'`
20913
PHP_PREFIX=`$PHP_CONFIG --prefix`
20915
# We assumes PHP are in /usr/local directory.
20916
if test $MINGW -eq 1; then
20917
CFLAGS="$CFLAGS -DZTS -DZEND_WIN32 -DWIN32 -D_MBCS"
20919
PHP_INCLUDES="-I/usr/local/include/php4 -I/usr/local/include/php4/main -I/usr/local/include/php4/Zend -I/usr/local/include/php4/TSRM -I/usr/local/include/php4/win32"
20921
PHP_LIBS=-lphp4ts -lxmlparse -lxmltok
20922
PHP_UNPREFIXED_EXTENSION_DIR=
20932
have_expat_include=no
20933
if test $MINGW -eq 1; then
20934
echo "$as_me:$LINENO: checking for XML_ParserCreate in -lxmlparse" >&5
20935
echo $ECHO_N "checking for XML_ParserCreate in -lxmlparse... $ECHO_C" >&6
20936
if test "${ac_cv_lib_xmlparse_XML_ParserCreate+set}" = set; then
20937
echo $ECHO_N "(cached) $ECHO_C" >&6
20939
ac_check_lib_save_LIBS=$LIBS
20940
LIBS="-lxmlparse $LIBS"
20941
cat >conftest.$ac_ext <<_ACEOF
20944
cat confdefs.h >>conftest.$ac_ext
20945
cat >>conftest.$ac_ext <<_ACEOF
20946
/* end confdefs.h. */
20948
/* Override any gcc2 internal prototype to avoid an error. */
20952
/* We use char because int might match the return type of a gcc2
20953
builtin and then its argument prototype would still apply. */
20954
char XML_ParserCreate ();
20958
XML_ParserCreate ();
20963
rm -f conftest.$ac_objext conftest$ac_exeext
20964
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20965
(eval $ac_link) 2>conftest.er1
20967
grep -v '^ *+' conftest.er1 >conftest.err
20969
cat conftest.err >&5
20970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971
(exit $ac_status); } &&
20972
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20973
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974
(eval $ac_try) 2>&5
20976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977
(exit $ac_status); }; } &&
20978
{ ac_try='test -s conftest$ac_exeext'
20979
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980
(eval $ac_try) 2>&5
20982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983
(exit $ac_status); }; }; then
20984
ac_cv_lib_xmlparse_XML_ParserCreate=yes
20986
echo "$as_me: failed program was:" >&5
20987
sed 's/^/| /' conftest.$ac_ext >&5
20989
ac_cv_lib_xmlparse_XML_ParserCreate=no
20991
rm -f conftest.err conftest.$ac_objext \
20992
conftest$ac_exeext conftest.$ac_ext
20993
LIBS=$ac_check_lib_save_LIBS
20995
echo "$as_me:$LINENO: result: $ac_cv_lib_xmlparse_XML_ParserCreate" >&5
20996
echo "${ECHO_T}$ac_cv_lib_xmlparse_XML_ParserCreate" >&6
20997
if test $ac_cv_lib_xmlparse_XML_ParserCreate = yes; then
21004
echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21005
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21006
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21007
echo $ECHO_N "(cached) $ECHO_C" >&6
21009
ac_check_lib_save_LIBS=$LIBS
21010
LIBS="-lexpat $LIBS"
21011
cat >conftest.$ac_ext <<_ACEOF
21014
cat confdefs.h >>conftest.$ac_ext
21015
cat >>conftest.$ac_ext <<_ACEOF
21016
/* end confdefs.h. */
21018
/* Override any gcc2 internal prototype to avoid an error. */
21022
/* We use char because int might match the return type of a gcc2
21023
builtin and then its argument prototype would still apply. */
21024
char XML_ParserCreate ();
21028
XML_ParserCreate ();
21033
rm -f conftest.$ac_objext conftest$ac_exeext
21034
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21035
(eval $ac_link) 2>conftest.er1
21037
grep -v '^ *+' conftest.er1 >conftest.err
21039
cat conftest.err >&5
21040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041
(exit $ac_status); } &&
21042
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21043
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044
(eval $ac_try) 2>&5
21046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047
(exit $ac_status); }; } &&
21048
{ ac_try='test -s conftest$ac_exeext'
21049
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21050
(eval $ac_try) 2>&5
21052
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053
(exit $ac_status); }; }; then
21054
ac_cv_lib_expat_XML_ParserCreate=yes
21056
echo "$as_me: failed program was:" >&5
21057
sed 's/^/| /' conftest.$ac_ext >&5
21059
ac_cv_lib_expat_XML_ParserCreate=no
21061
rm -f conftest.err conftest.$ac_objext \
21062
conftest$ac_exeext conftest.$ac_ext
21063
LIBS=$ac_check_lib_save_LIBS
21065
echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21066
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21067
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21075
if test x$have_expat_lib = xno; then
21079
echo "$as_me:$LINENO: checking for PHP development files" >&5
21080
echo $ECHO_N "checking for PHP development files... $ECHO_C" >&6
21081
PHP_VERSION=`$PHP_CONFIG --version 2>/dev/null`
21082
if test "X$PHP_VERSION" != "X" || test "X$ENABLE_PHP_FORCE" == "Xyes"; then
21083
languages_available="$languages_available php($PHP_VERSION)"
21087
echo "$as_me:$LINENO: result: $enable_php" >&5
21088
echo "${ECHO_T}$enable_php" >&6
21091
if test "x$enable_php" = "xyes"; then
21093
PHP_ENABLED_FALSE='#'
21095
PHP_ENABLED_TRUE='#'
21170
{ echo "$as_me:$LINENO: result: $enable_python" >&5
21171
echo "${ECHO_T}$enable_python" >&6; }
21178
# Check whether --enable-php4 was given.
21179
if test "${enable_php4+set}" = set; then
21180
enableval=$enable_php4;
21186
# Check whether --enable-php4-force was given.
21187
if test "${enable_php4_force+set}" = set; then
21188
enableval=$enable_php4_force; ENABLE_PHP4_FORCE="yes"
21190
ENABLE_PHP4_FORCE="no"
21195
# Check whether --with-php4-config was given.
21196
if test "${with_php4_config+set}" = set; then
21197
withval=$with_php4_config;
21202
# Check whether --with-php4-extension-dir was given.
21203
if test "${with_php4_extension_dir+set}" = set; then
21204
withval=$with_php4_extension_dir; PHP4_EXTENSION_DIR="$withval"
21206
PHP4_EXTENSION_DIR=
21210
if test "X$with_php4_config" != "X" ; then
21211
PHP4_CONFIG=$with_php4_config
21214
if test "X$PHP4_CONFIG" != "X" ; then
21215
PHP4_INCLUDES=`$PHP4_CONFIG --includes`
21216
PHP4_LDFLAGS=`$PHP4_CONFIG --ldflags`
21217
PHP4_LIBS=`$PHP4_CONFIG --libs`
21218
PHP4_UNPREFIXED_EXTENSION_DIR=`$PHP4_CONFIG --extension-dir | $SED 's/\/usr//g'`
21219
PHP4_PREFIX=`$PHP4_CONFIG --prefix`
21221
# We assume PHP are in /usr/local directory.
21222
if test $MINGW -eq 1; then
21223
CFLAGS="$CFLAGS -DZTS -DZEND_WIN32 -DWIN32 -D_MBCS"
21225
PHP4_INCLUDES="-I/usr/local/include/php4 -I/usr/local/include/php4/main -I/usr/local/include/php4/Zend -I/usr/local/include/php4/TSRM -I/usr/local/include/php4/win32"
21227
PHP4_LIBS="-lphp4ts -lxmlparse -lxmltok"
21228
PHP4_UNPREFIXED_EXTENSION_DIR=
21238
have_expat_include=no
21239
if test $MINGW -eq 1; then
21240
{ echo "$as_me:$LINENO: checking for XML_ParserCreate in -lxmlparse" >&5
21241
echo $ECHO_N "checking for XML_ParserCreate in -lxmlparse... $ECHO_C" >&6; }
21242
if test "${ac_cv_lib_xmlparse_XML_ParserCreate+set}" = set; then
21243
echo $ECHO_N "(cached) $ECHO_C" >&6
21245
ac_check_lib_save_LIBS=$LIBS
21246
LIBS="-lxmlparse $LIBS"
21247
cat >conftest.$ac_ext <<_ACEOF
21250
cat confdefs.h >>conftest.$ac_ext
21251
cat >>conftest.$ac_ext <<_ACEOF
21252
/* end confdefs.h. */
21254
/* Override any GCC internal prototype to avoid an error.
21255
Use char because int might match the return type of a GCC
21256
builtin and then its argument prototype would still apply. */
21260
char XML_ParserCreate ();
21264
return XML_ParserCreate ();
21269
rm -f conftest.$ac_objext conftest$ac_exeext
21270
if { (ac_try="$ac_link"
21271
case "(($ac_try" in
21272
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273
*) ac_try_echo=$ac_try;;
21275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276
(eval "$ac_link") 2>conftest.er1
21278
grep -v '^ *+' conftest.er1 >conftest.err
21280
cat conftest.err >&5
21281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282
(exit $ac_status); } && {
21283
test -z "$ac_c_werror_flag" ||
21284
test ! -s conftest.err
21285
} && test -s conftest$ac_exeext &&
21286
$as_test_x conftest$ac_exeext; then
21287
ac_cv_lib_xmlparse_XML_ParserCreate=yes
21289
echo "$as_me: failed program was:" >&5
21290
sed 's/^/| /' conftest.$ac_ext >&5
21292
ac_cv_lib_xmlparse_XML_ParserCreate=no
21295
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21296
conftest$ac_exeext conftest.$ac_ext
21297
LIBS=$ac_check_lib_save_LIBS
21299
{ echo "$as_me:$LINENO: result: $ac_cv_lib_xmlparse_XML_ParserCreate" >&5
21300
echo "${ECHO_T}$ac_cv_lib_xmlparse_XML_ParserCreate" >&6; }
21301
if test $ac_cv_lib_xmlparse_XML_ParserCreate = yes; then
21308
{ echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21309
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
21310
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21311
echo $ECHO_N "(cached) $ECHO_C" >&6
21313
ac_check_lib_save_LIBS=$LIBS
21314
LIBS="-lexpat $LIBS"
21315
cat >conftest.$ac_ext <<_ACEOF
21318
cat confdefs.h >>conftest.$ac_ext
21319
cat >>conftest.$ac_ext <<_ACEOF
21320
/* end confdefs.h. */
21322
/* Override any GCC internal prototype to avoid an error.
21323
Use char because int might match the return type of a GCC
21324
builtin and then its argument prototype would still apply. */
21328
char XML_ParserCreate ();
21332
return XML_ParserCreate ();
21337
rm -f conftest.$ac_objext conftest$ac_exeext
21338
if { (ac_try="$ac_link"
21339
case "(($ac_try" in
21340
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21341
*) ac_try_echo=$ac_try;;
21343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21344
(eval "$ac_link") 2>conftest.er1
21346
grep -v '^ *+' conftest.er1 >conftest.err
21348
cat conftest.err >&5
21349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350
(exit $ac_status); } && {
21351
test -z "$ac_c_werror_flag" ||
21352
test ! -s conftest.err
21353
} && test -s conftest$ac_exeext &&
21354
$as_test_x conftest$ac_exeext; then
21355
ac_cv_lib_expat_XML_ParserCreate=yes
21357
echo "$as_me: failed program was:" >&5
21358
sed 's/^/| /' conftest.$ac_ext >&5
21360
ac_cv_lib_expat_XML_ParserCreate=no
21363
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21364
conftest$ac_exeext conftest.$ac_ext
21365
LIBS=$ac_check_lib_save_LIBS
21367
{ echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21368
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
21369
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21377
if test x$have_expat_lib = xno; then
21381
{ echo "$as_me:$LINENO: checking for PHP 4 development files" >&5
21382
echo $ECHO_N "checking for PHP 4 development files... $ECHO_C" >&6; }
21383
if $PHP4_CONFIG --version | grep -q 4 || test "x$ENABLE_PHP4_FORCE" == "xyes"
21385
PHP4_VERSION=`$PHP4_CONFIG --version 2> /dev/null`
21386
languages_available="$languages_available php4($PHP4_VERSION)"
21391
{ echo "$as_me:$LINENO: result: $enable_php4" >&5
21392
echo "${ECHO_T}$enable_php4" >&6; }
21395
if test "x$enable_php4" = "xyes"; then
21397
PHP4_ENABLED_FALSE='#'
21399
PHP4_ENABLED_TRUE='#'
21400
PHP4_ENABLED_FALSE=
21409
# Check whether --enable-php5 was given.
21410
if test "${enable_php5+set}" = set; then
21411
enableval=$enable_php5;
21417
# Check whether --enable-php5-force was given.
21418
if test "${enable_php5_force+set}" = set; then
21419
enableval=$enable_php5_force; ENABLE_PHP5_FORCE="yes"
21421
ENABLE_PHP5_FORCE="no"
21426
# Check whether --with-php5-config was given.
21427
if test "${with_php5_config+set}" = set; then
21428
withval=$with_php5_config;
21433
# Check whether --with-php5-extension-dir was given.
21434
if test "${with_php5_extension_dir+set}" = set; then
21435
withval=$with_php5_extension_dir; PHP5_EXTENSION_DIR="$withval"
21437
PHP5_EXTENSION_DIR=
21441
if test "X$with_php5_config" != "X" ; then
21442
PHP5_CONFIG=$with_php5_config
21445
if test "X$PHP5_CONFIG" != "X" ; then
21446
PHP5_INCLUDES=`$PHP5_CONFIG --includes`
21447
PHP5_LDFLAGS=`$PHP5_CONFIG --ldflags`
21448
PHP5_LIBS=`$PHP5_CONFIG --libs`
21449
PHP5_UNPREFIXED_EXTENSION_DIR=`$PHP5_CONFIG --extension-dir | $SED 's/\/usr//g'`
21450
PHP5_PREFIX=`$PHP5_CONFIG --prefix`
21452
# We assume PHP are in /usr/local directory.
21453
if test $MINGW -eq 1; then
21454
CFLAGS="$CFLAGS -DZTS -DZEND_WIN32 -DWIN32 -D_MBCS"
21456
PHP5_INCLUDES="-I/usr/local/include/php5 -I/usr/local/include/php5/main -I/usr/local/include/php5/Zend -I/usr/local/include/php5/TSRM -I/usr/local/include/php5/win32"
21458
PHP5_LIBS="-lphp5ts -lxmlparse -lxmltok"
21459
PHP5_UNPREFIXED_EXTENSION_DIR=
21469
have_expat_include=no
21470
if test $MINGW -eq 1; then
21471
{ echo "$as_me:$LINENO: checking for XML_ParserCreate in -lxmlparse" >&5
21472
echo $ECHO_N "checking for XML_ParserCreate in -lxmlparse... $ECHO_C" >&6; }
21473
if test "${ac_cv_lib_xmlparse_XML_ParserCreate+set}" = set; then
21474
echo $ECHO_N "(cached) $ECHO_C" >&6
21476
ac_check_lib_save_LIBS=$LIBS
21477
LIBS="-lxmlparse $LIBS"
21478
cat >conftest.$ac_ext <<_ACEOF
21481
cat confdefs.h >>conftest.$ac_ext
21482
cat >>conftest.$ac_ext <<_ACEOF
21483
/* end confdefs.h. */
21485
/* Override any GCC internal prototype to avoid an error.
21486
Use char because int might match the return type of a GCC
21487
builtin and then its argument prototype would still apply. */
21491
char XML_ParserCreate ();
21495
return XML_ParserCreate ();
21500
rm -f conftest.$ac_objext conftest$ac_exeext
21501
if { (ac_try="$ac_link"
21502
case "(($ac_try" in
21503
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21504
*) ac_try_echo=$ac_try;;
21506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507
(eval "$ac_link") 2>conftest.er1
21509
grep -v '^ *+' conftest.er1 >conftest.err
21511
cat conftest.err >&5
21512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513
(exit $ac_status); } && {
21514
test -z "$ac_c_werror_flag" ||
21515
test ! -s conftest.err
21516
} && test -s conftest$ac_exeext &&
21517
$as_test_x conftest$ac_exeext; then
21518
ac_cv_lib_xmlparse_XML_ParserCreate=yes
21520
echo "$as_me: failed program was:" >&5
21521
sed 's/^/| /' conftest.$ac_ext >&5
21523
ac_cv_lib_xmlparse_XML_ParserCreate=no
21526
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21527
conftest$ac_exeext conftest.$ac_ext
21528
LIBS=$ac_check_lib_save_LIBS
21530
{ echo "$as_me:$LINENO: result: $ac_cv_lib_xmlparse_XML_ParserCreate" >&5
21531
echo "${ECHO_T}$ac_cv_lib_xmlparse_XML_ParserCreate" >&6; }
21532
if test $ac_cv_lib_xmlparse_XML_ParserCreate = yes; then
21539
{ echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21540
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
21541
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21542
echo $ECHO_N "(cached) $ECHO_C" >&6
21544
ac_check_lib_save_LIBS=$LIBS
21545
LIBS="-lexpat $LIBS"
21546
cat >conftest.$ac_ext <<_ACEOF
21549
cat confdefs.h >>conftest.$ac_ext
21550
cat >>conftest.$ac_ext <<_ACEOF
21551
/* end confdefs.h. */
21553
/* Override any GCC internal prototype to avoid an error.
21554
Use char because int might match the return type of a GCC
21555
builtin and then its argument prototype would still apply. */
21559
char XML_ParserCreate ();
21563
return XML_ParserCreate ();
21568
rm -f conftest.$ac_objext conftest$ac_exeext
21569
if { (ac_try="$ac_link"
21570
case "(($ac_try" in
21571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21572
*) ac_try_echo=$ac_try;;
21574
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21575
(eval "$ac_link") 2>conftest.er1
21577
grep -v '^ *+' conftest.er1 >conftest.err
21579
cat conftest.err >&5
21580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581
(exit $ac_status); } && {
21582
test -z "$ac_c_werror_flag" ||
21583
test ! -s conftest.err
21584
} && test -s conftest$ac_exeext &&
21585
$as_test_x conftest$ac_exeext; then
21586
ac_cv_lib_expat_XML_ParserCreate=yes
21588
echo "$as_me: failed program was:" >&5
21589
sed 's/^/| /' conftest.$ac_ext >&5
21591
ac_cv_lib_expat_XML_ParserCreate=no
21594
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21595
conftest$ac_exeext conftest.$ac_ext
21596
LIBS=$ac_check_lib_save_LIBS
21598
{ echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21599
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
21600
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21608
if test x$have_expat_lib = xno; then
21612
{ echo "$as_me:$LINENO: checking for PHP 5 development files" >&5
21613
echo $ECHO_N "checking for PHP 5 development files... $ECHO_C" >&6; }
21614
if $PHP5_CONFIG --version | grep -q 5 || test "x$ENABLE_PHP5_FORCE" == "xyes"
21616
PHP5_VERSION=`$PHP5_CONFIG --version 2> /dev/null`
21617
languages_available="$languages_available php5($PHP5_VERSION)"
21622
{ echo "$as_me:$LINENO: result: $enable_php5" >&5
21623
echo "${ECHO_T}$enable_php5" >&6; }
21626
if test "x$enable_php5" = "xyes"; then
21628
PHP5_ENABLED_FALSE='#'
21630
PHP5_ENABLED_TRUE='#'
21631
PHP5_ENABLED_FALSE=
23167
23801
# Have a temporary directory for convenience. Make it in the build tree
23168
# simply because there is no reason to put it here, and in addition,
23802
# simply because there is no reason against having it here, and in addition,
23169
23803
# creating and moving files from /tmp can sometimes cause problems.
23170
# Create a temporary directory, and hook for its removal unless debugging.
23804
# Hook for its removal unless debugging.
23805
# Note that there is a small window in which the directory will not be cleaned:
23806
# after its creation but before its name has been assigned to `$tmp'.
23173
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23810
trap 'exit_status=$?
23811
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23174
23813
trap '{ (exit 1); exit 1; }' 1 2 13 15
23177
23815
# Create a (secure) tmp directory for tmp files.
23180
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23818
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23181
23819
test -n "$tmp" && test -d "$tmp"
23184
tmp=./confstat$$-$RANDOM
23185
(umask 077 && mkdir $tmp)
23822
tmp=./conf$$-$RANDOM
23823
(umask 077 && mkdir "$tmp")
23188
23826
echo "$me: cannot create a temporary directory in ." >&2
23189
23827
{ (exit 1); exit 1; }
23194
cat >>$CONFIG_STATUS <<_ACEOF
23197
# CONFIG_FILES section.
23831
# Set up the sed scripts for CONFIG_FILES section.
23200
23834
# No need to generate the scripts if there are no CONFIG_FILES.
23201
23835
# This happens for instance when ./config.status config.h
23202
if test -n "\$CONFIG_FILES"; then
23203
# Protect against being on the right side of a sed subst in config.status.
23204
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23205
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23206
s,@SHELL@,$SHELL,;t t
23207
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23208
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23209
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23210
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23211
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23212
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23213
s,@exec_prefix@,$exec_prefix,;t t
23214
s,@prefix@,$prefix,;t t
23215
s,@program_transform_name@,$program_transform_name,;t t
23216
s,@bindir@,$bindir,;t t
23217
s,@sbindir@,$sbindir,;t t
23218
s,@libexecdir@,$libexecdir,;t t
23219
s,@datadir@,$datadir,;t t
23220
s,@sysconfdir@,$sysconfdir,;t t
23221
s,@sharedstatedir@,$sharedstatedir,;t t
23222
s,@localstatedir@,$localstatedir,;t t
23223
s,@libdir@,$libdir,;t t
23224
s,@includedir@,$includedir,;t t
23225
s,@oldincludedir@,$oldincludedir,;t t
23226
s,@infodir@,$infodir,;t t
23227
s,@mandir@,$mandir,;t t
23228
s,@build_alias@,$build_alias,;t t
23229
s,@host_alias@,$host_alias,;t t
23230
s,@target_alias@,$target_alias,;t t
23231
s,@DEFS@,$DEFS,;t t
23232
s,@ECHO_C@,$ECHO_C,;t t
23233
s,@ECHO_N@,$ECHO_N,;t t
23234
s,@ECHO_T@,$ECHO_T,;t t
23235
s,@LIBS@,$LIBS,;t t
23236
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23237
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23238
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23239
s,@CYGPATH_W@,$CYGPATH_W,;t t
23240
s,@PACKAGE@,$PACKAGE,;t t
23241
s,@VERSION@,$VERSION,;t t
23242
s,@ACLOCAL@,$ACLOCAL,;t t
23243
s,@AUTOCONF@,$AUTOCONF,;t t
23244
s,@AUTOMAKE@,$AUTOMAKE,;t t
23245
s,@AUTOHEADER@,$AUTOHEADER,;t t
23246
s,@MAKEINFO@,$MAKEINFO,;t t
23247
s,@AMTAR@,$AMTAR,;t t
23248
s,@install_sh@,$install_sh,;t t
23249
s,@STRIP@,$STRIP,;t t
23250
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23251
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23252
s,@mkdir_p@,$mkdir_p,;t t
23254
s,@SET_MAKE@,$SET_MAKE,;t t
23255
s,@am__leading_dot@,$am__leading_dot,;t t
23256
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23257
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23258
s,@MAINT@,$MAINT,;t t
23259
s,@build@,$build,;t t
23260
s,@build_cpu@,$build_cpu,;t t
23261
s,@build_vendor@,$build_vendor,;t t
23262
s,@build_os@,$build_os,;t t
23263
s,@host@,$host,;t t
23264
s,@host_cpu@,$host_cpu,;t t
23265
s,@host_vendor@,$host_vendor,;t t
23266
s,@host_os@,$host_os,;t t
23268
s,@CFLAGS@,$CFLAGS,;t t
23269
s,@LDFLAGS@,$LDFLAGS,;t t
23270
s,@CPPFLAGS@,$CPPFLAGS,;t t
23271
s,@ac_ct_CC@,$ac_ct_CC,;t t
23272
s,@EXEEXT@,$EXEEXT,;t t
23273
s,@OBJEXT@,$OBJEXT,;t t
23274
s,@DEPDIR@,$DEPDIR,;t t
23275
s,@am__include@,$am__include,;t t
23276
s,@am__quote@,$am__quote,;t t
23277
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23278
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23279
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23280
s,@CCDEPMODE@,$CCDEPMODE,;t t
23281
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23282
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23284
s,@EGREP@,$EGREP,;t t
23286
s,@ac_ct_RC@,$ac_ct_RC,;t t
23288
s,@GCJFLAGS@,$GCJFLAGS,;t t
23289
s,@GCJDEPMODE@,$GCJDEPMODE,;t t
23290
s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
23291
s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
23292
s,@LN_S@,$LN_S,;t t
23293
s,@ECHO@,$ECHO,;t t
23295
s,@ac_ct_AR@,$ac_ct_AR,;t t
23296
s,@RANLIB@,$RANLIB,;t t
23297
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23298
s,@DLLTOOL@,$DLLTOOL,;t t
23299
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
23301
s,@ac_ct_AS@,$ac_ct_AS,;t t
23302
s,@OBJDUMP@,$OBJDUMP,;t t
23303
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
23305
s,@CXXFLAGS@,$CXXFLAGS,;t t
23306
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23307
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23308
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23309
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23310
s,@CXXCPP@,$CXXCPP,;t t
23312
s,@FFLAGS@,$FFLAGS,;t t
23313
s,@ac_ct_F77@,$ac_ct_F77,;t t
23314
s,@LIBTOOL@,$LIBTOOL,;t t
23315
s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
23317
s,@JAVA@,$JAVA,;t t
23318
s,@JAVAC@,$JAVAC,;t t
23320
s,@PERL@,$PERL,;t t
23322
s,@PHP_CONFIG@,$PHP_CONFIG,;t t
23323
s,@PHP_PATH@,$PHP_PATH,;t t
23324
s,@PYTHON@,$PYTHON,;t t
23325
s,@SWIG@,$SWIG,;t t
23327
s,@ANSI2KNR@,$ANSI2KNR,;t t
23328
s,@VERSION_UNDERSCORED@,$VERSION_UNDERSCORED,;t t
23329
s,@WINDOWS_VERSION@,$WINDOWS_VERSION,;t t
23330
s,@LASSO_VERSION_INFO@,$LASSO_VERSION_INFO,;t t
23331
s,@UPCASED_DLL_FILENAME@,$UPCASED_DLL_FILENAME,;t t
23332
s,@DLL_FILENAME@,$DLL_FILENAME,;t t
23333
s,@SWIG_PYTHON_ARGS@,$SWIG_PYTHON_ARGS,;t t
23334
s,@JAVA_ENABLED_TRUE@,$JAVA_ENABLED_TRUE,;t t
23335
s,@JAVA_ENABLED_FALSE@,$JAVA_ENABLED_FALSE,;t t
23336
s,@JAVA_VERSION@,$JAVA_VERSION,;t t
23337
s,@JAVAC_FLAGS@,$JAVAC_FLAGS,;t t
23338
s,@JDK_INCLUDE@,$JDK_INCLUDE,;t t
23339
s,@PY_LIB_LOC@,$PY_LIB_LOC,;t t
23340
s,@PY_CFLAGS@,$PY_CFLAGS,;t t
23341
s,@PY_EXTRA_LIBS@,$PY_EXTRA_LIBS,;t t
23342
s,@PY_DYNLOAD@,$PY_DYNLOAD,;t t
23343
s,@PY_LIB_A@,$PY_LIB_A,;t t
23344
s,@PY_SITE_PACKAGES@,$PY_SITE_PACKAGES,;t t
23345
s,@PYTHON_ENABLED_TRUE@,$PYTHON_ENABLED_TRUE,;t t
23346
s,@PYTHON_ENABLED_FALSE@,$PYTHON_ENABLED_FALSE,;t t
23347
s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
23348
s,@PHP_INCLUDES@,$PHP_INCLUDES,;t t
23349
s,@PHP_LDFLAGS@,$PHP_LDFLAGS,;t t
23350
s,@PHP_LIBS@,$PHP_LIBS,;t t
23351
s,@PHP_UNPREFIXED_EXTENSION_DIR@,$PHP_UNPREFIXED_EXTENSION_DIR,;t t
23352
s,@PHP_EXTENSION_DIR@,$PHP_EXTENSION_DIR,;t t
23353
s,@PHP_PREFIX@,$PHP_PREFIX,;t t
23354
s,@PHP_ENABLED_TRUE@,$PHP_ENABLED_TRUE,;t t
23355
s,@PHP_ENABLED_FALSE@,$PHP_ENABLED_FALSE,;t t
23356
s,@PHP_VERSION@,$PHP_VERSION,;t t
23357
s,@GACUTIL@,$GACUTIL,;t t
23358
s,@CSHARPCILINTERPRETER@,$CSHARPCILINTERPRETER,;t t
23359
s,@CSHARPCYGPATH_W@,$CSHARPCYGPATH_W,;t t
23360
s,@CSHARPCOMPILER@,$CSHARPCOMPILER,;t t
23361
s,@CSHARPDYNAMICLINKING@,$CSHARPDYNAMICLINKING,;t t
23362
s,@CSHARPLIBRARYPREFIX@,$CSHARPLIBRARYPREFIX,;t t
23363
s,@CSHARP_ENABLED_TRUE@,$CSHARP_ENABLED_TRUE,;t t
23364
s,@CSHARP_ENABLED_FALSE@,$CSHARP_ENABLED_FALSE,;t t
23365
s,@PERLINSTALLSITEARCH@,$PERLINSTALLSITEARCH,;t t
23366
s,@PERLMAN3DIR@,$PERLMAN3DIR,;t t
23367
s,@PERL_ENABLED_TRUE@,$PERL_ENABLED_TRUE,;t t
23368
s,@PERL_ENABLED_FALSE@,$PERL_ENABLED_FALSE,;t t
23369
s,@PERL_VERSION@,$PERL_VERSION,;t t
23370
s,@Z_CFLAGS@,$Z_CFLAGS,;t t
23371
s,@Z_LIBS@,$Z_LIBS,;t t
23372
s,@CHECK_CFLAGS@,$CHECK_CFLAGS,;t t
23373
s,@CHECK_LIBS@,$CHECK_LIBS,;t t
23374
s,@WITH_TESTS_TRUE@,$WITH_TESTS_TRUE,;t t
23375
s,@WITH_TESTS_FALSE@,$WITH_TESTS_FALSE,;t t
23376
s,@WSF_ENABLED_TRUE@,$WSF_ENABLED_TRUE,;t t
23377
s,@WSF_ENABLED_FALSE@,$WSF_ENABLED_FALSE,;t t
23378
s,@LASSO_WSF_SUPPORT@,$LASSO_WSF_SUPPORT,;t t
23379
s,@LASSO_DOCDIR@,$LASSO_DOCDIR,;t t
23380
s,@HTML_DIR@,$HTML_DIR,;t t
23381
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23382
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
23383
s,@LASSO_CFLAGS@,$LASSO_CFLAGS,;t t
23384
s,@LASSO_LIBS@,$LASSO_LIBS,;t t
23385
s,@GTK_DOC_CFLAGS@,$GTK_DOC_CFLAGS,;t t
23386
s,@GTK_DOC_LIBS@,$GTK_DOC_LIBS,;t t
23387
s,@GTK_DOC_ENABLED_TRUE@,$GTK_DOC_ENABLED_TRUE,;t t
23388
s,@GTK_DOC_ENABLED_FALSE@,$GTK_DOC_ENABLED_FALSE,;t t
23389
s,@REST2HTML@,$REST2HTML,;t t
23390
s,@HAVE_REST2HTML_TRUE@,$HAVE_REST2HTML_TRUE,;t t
23391
s,@HAVE_REST2HTML_FALSE@,$HAVE_REST2HTML_FALSE,;t t
23392
s,@XSLTPROC@,$XSLTPROC,;t t
23393
s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
23394
s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
23395
s,@INKSCAPE@,$INKSCAPE,;t t
23396
s,@HAVE_INKSCAPE_TRUE@,$HAVE_INKSCAPE_TRUE,;t t
23397
s,@HAVE_INKSCAPE_FALSE@,$HAVE_INKSCAPE_FALSE,;t t
23398
s,@LASSO_STATIC_BINARIES@,$LASSO_STATIC_BINARIES,;t t
23399
s,@LASSO_CORE_CFLAGS@,$LASSO_CORE_CFLAGS,;t t
23400
s,@LASSO_CORE_LIBS@,$LASSO_CORE_LIBS,;t t
23401
s,@LASSO_PUB_CFLAGS@,$LASSO_PUB_CFLAGS,;t t
23402
s,@LASSO_DEFINES@,$LASSO_DEFINES,;t t
23403
s,@LASSO_APP_DEFINES@,$LASSO_APP_DEFINES,;t t
23404
s,@MINGW_TRUE@,$MINGW_TRUE,;t t
23405
s,@MINGW_FALSE@,$MINGW_FALSE,;t t
23406
s,@DARWIN_TRUE@,$DARWIN_TRUE,;t t
23407
s,@DARWIN_FALSE@,$DARWIN_FALSE,;t t
23408
s,@LIBOBJS@,$LIBOBJS,;t t
23409
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23414
cat >>$CONFIG_STATUS <<\_ACEOF
23415
# Split the substitutions into bite-sized pieces for seds with
23416
# small command number limits, like on Digital OSF/1 and HP-UX.
23417
ac_max_sed_lines=48
23418
ac_sed_frag=1 # Number of current file.
23419
ac_beg=1 # First line for current file.
23420
ac_end=$ac_max_sed_lines # Line after last line for current file.
23423
while $ac_more_lines; do
23424
if test $ac_beg -gt 1; then
23425
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23427
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23429
if test ! -s $tmp/subs.frag; then
23430
ac_more_lines=false
23432
# The purpose of the label and of the branching condition is to
23433
# speed up the sed processing (if there are no `@' at all, there
23434
# is no need to browse any of the substitutions).
23435
# These are the two extra sed commands mentioned above.
23437
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23438
if test -z "$ac_sed_cmds"; then
23439
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23441
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23443
ac_sed_frag=`expr $ac_sed_frag + 1`
23445
ac_end=`expr $ac_end + $ac_max_sed_lines`
23448
if test -z "$ac_sed_cmds"; then
23836
if test -n "$CONFIG_FILES"; then
23843
for ac_last_try in false false false false false :; do
23844
cat >conf$$subs.sed <<_ACEOF
23845
SHELL!$SHELL$ac_delim
23846
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23847
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23848
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23849
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23850
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23851
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23852
exec_prefix!$exec_prefix$ac_delim
23853
prefix!$prefix$ac_delim
23854
program_transform_name!$program_transform_name$ac_delim
23855
bindir!$bindir$ac_delim
23856
sbindir!$sbindir$ac_delim
23857
libexecdir!$libexecdir$ac_delim
23858
datarootdir!$datarootdir$ac_delim
23859
datadir!$datadir$ac_delim
23860
sysconfdir!$sysconfdir$ac_delim
23861
sharedstatedir!$sharedstatedir$ac_delim
23862
localstatedir!$localstatedir$ac_delim
23863
includedir!$includedir$ac_delim
23864
oldincludedir!$oldincludedir$ac_delim
23865
docdir!$docdir$ac_delim
23866
infodir!$infodir$ac_delim
23867
htmldir!$htmldir$ac_delim
23868
dvidir!$dvidir$ac_delim
23869
pdfdir!$pdfdir$ac_delim
23870
psdir!$psdir$ac_delim
23871
libdir!$libdir$ac_delim
23872
localedir!$localedir$ac_delim
23873
mandir!$mandir$ac_delim
23874
DEFS!$DEFS$ac_delim
23875
ECHO_C!$ECHO_C$ac_delim
23876
ECHO_N!$ECHO_N$ac_delim
23877
ECHO_T!$ECHO_T$ac_delim
23878
LIBS!$LIBS$ac_delim
23879
build_alias!$build_alias$ac_delim
23880
host_alias!$host_alias$ac_delim
23881
target_alias!$target_alias$ac_delim
23882
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23883
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23884
INSTALL_DATA!$INSTALL_DATA$ac_delim
23885
CYGPATH_W!$CYGPATH_W$ac_delim
23886
PACKAGE!$PACKAGE$ac_delim
23887
VERSION!$VERSION$ac_delim
23888
ACLOCAL!$ACLOCAL$ac_delim
23889
AUTOCONF!$AUTOCONF$ac_delim
23890
AUTOMAKE!$AUTOMAKE$ac_delim
23891
AUTOHEADER!$AUTOHEADER$ac_delim
23892
MAKEINFO!$MAKEINFO$ac_delim
23893
install_sh!$install_sh$ac_delim
23894
STRIP!$STRIP$ac_delim
23895
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23896
mkdir_p!$mkdir_p$ac_delim
23898
SET_MAKE!$SET_MAKE$ac_delim
23899
am__leading_dot!$am__leading_dot$ac_delim
23900
AMTAR!$AMTAR$ac_delim
23901
am__tar!$am__tar$ac_delim
23902
am__untar!$am__untar$ac_delim
23903
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23904
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23905
MAINT!$MAINT$ac_delim
23906
build!$build$ac_delim
23907
build_cpu!$build_cpu$ac_delim
23908
build_vendor!$build_vendor$ac_delim
23909
build_os!$build_os$ac_delim
23910
host!$host$ac_delim
23911
host_cpu!$host_cpu$ac_delim
23912
host_vendor!$host_vendor$ac_delim
23913
host_os!$host_os$ac_delim
23915
CFLAGS!$CFLAGS$ac_delim
23916
LDFLAGS!$LDFLAGS$ac_delim
23917
CPPFLAGS!$CPPFLAGS$ac_delim
23918
ac_ct_CC!$ac_ct_CC$ac_delim
23919
EXEEXT!$EXEEXT$ac_delim
23920
OBJEXT!$OBJEXT$ac_delim
23921
DEPDIR!$DEPDIR$ac_delim
23922
am__include!$am__include$ac_delim
23923
am__quote!$am__quote$ac_delim
23924
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23925
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23926
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23927
CCDEPMODE!$CCDEPMODE$ac_delim
23928
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23929
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23931
GREP!$GREP$ac_delim
23932
EGREP!$EGREP$ac_delim
23935
GCJFLAGS!$GCJFLAGS$ac_delim
23936
GCJDEPMODE!$GCJDEPMODE$ac_delim
23937
am__fastdepGCJ_TRUE!$am__fastdepGCJ_TRUE$ac_delim
23938
am__fastdepGCJ_FALSE!$am__fastdepGCJ_FALSE$ac_delim
23939
LN_S!$LN_S$ac_delim
23940
ECHO!$ECHO$ac_delim
23944
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23946
elif $ac_last_try; then
23947
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23948
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23949
{ (exit 1); exit 1; }; }
23951
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23955
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23956
if test -n "$ac_eof"; then
23957
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23958
ac_eof=`expr $ac_eof + 1`
23961
cat >>$CONFIG_STATUS <<_ACEOF
23962
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23963
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23966
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23967
s/^/s,@/; s/!/@,|#_!!_#|/
23970
s/'"$ac_delim"'$/,g/; t
23972
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23973
' >>$CONFIG_STATUS <conf$$subs.sed
23974
rm -f conf$$subs.sed
23975
cat >>$CONFIG_STATUS <<_ACEOF
23981
for ac_last_try in false false false false false :; do
23982
cat >conf$$subs.sed <<_ACEOF
23983
RANLIB!$RANLIB$ac_delim
23984
DLLTOOL!$DLLTOOL$ac_delim
23986
OBJDUMP!$OBJDUMP$ac_delim
23988
CXXFLAGS!$CXXFLAGS$ac_delim
23989
ac_ct_CXX!$ac_ct_CXX$ac_delim
23990
CXXDEPMODE!$CXXDEPMODE$ac_delim
23991
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23992
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23993
CXXCPP!$CXXCPP$ac_delim
23995
FFLAGS!$FFLAGS$ac_delim
23996
ac_ct_F77!$ac_ct_F77$ac_delim
23997
LIBTOOL!$LIBTOOL$ac_delim
23998
LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
24000
JAVA!$JAVA$ac_delim
24001
JAVAC!$JAVAC$ac_delim
24003
PERL!$PERL$ac_delim
24004
PHP4!$PHP4$ac_delim
24005
PHP5!$PHP5$ac_delim
24006
PHP4_CONFIG!$PHP4_CONFIG$ac_delim
24007
PHP5_CONFIG!$PHP5_CONFIG$ac_delim
24008
PYTHON!$PYTHON$ac_delim
24009
SWIG!$SWIG$ac_delim
24011
ANSI2KNR!$ANSI2KNR$ac_delim
24012
VERSION_UNDERSCORED!$VERSION_UNDERSCORED$ac_delim
24013
WINDOWS_VERSION!$WINDOWS_VERSION$ac_delim
24014
LASSO_VERSION_INFO!$LASSO_VERSION_INFO$ac_delim
24015
UPCASED_DLL_FILENAME!$UPCASED_DLL_FILENAME$ac_delim
24016
DLL_FILENAME!$DLL_FILENAME$ac_delim
24017
SWIG_PYTHON_ARGS!$SWIG_PYTHON_ARGS$ac_delim
24018
JAVA_ENABLED_TRUE!$JAVA_ENABLED_TRUE$ac_delim
24019
JAVA_ENABLED_FALSE!$JAVA_ENABLED_FALSE$ac_delim
24020
JAVA_VERSION!$JAVA_VERSION$ac_delim
24021
JAVAC_FLAGS!$JAVAC_FLAGS$ac_delim
24022
JDK_INCLUDE!$JDK_INCLUDE$ac_delim
24023
PY_LIB_LOC!$PY_LIB_LOC$ac_delim
24024
PY_CFLAGS!$PY_CFLAGS$ac_delim
24025
PY_EXTRA_LIBS!$PY_EXTRA_LIBS$ac_delim
24026
PY_DYNLOAD!$PY_DYNLOAD$ac_delim
24027
PY_LIB_A!$PY_LIB_A$ac_delim
24028
PY_SITE_PACKAGES!$PY_SITE_PACKAGES$ac_delim
24029
PYTHON_ENABLED_TRUE!$PYTHON_ENABLED_TRUE$ac_delim
24030
PYTHON_ENABLED_FALSE!$PYTHON_ENABLED_FALSE$ac_delim
24031
PYTHON_VERSION!$PYTHON_VERSION$ac_delim
24032
PHP4_INCLUDES!$PHP4_INCLUDES$ac_delim
24033
PHP4_LDFLAGS!$PHP4_LDFLAGS$ac_delim
24034
PHP4_LIBS!$PHP4_LIBS$ac_delim
24035
PHP4_UNPREFIXED_EXTENSION_DIR!$PHP4_UNPREFIXED_EXTENSION_DIR$ac_delim
24036
PHP4_EXTENSION_DIR!$PHP4_EXTENSION_DIR$ac_delim
24037
PHP4_PREFIX!$PHP4_PREFIX$ac_delim
24038
PHP4_ENABLED_TRUE!$PHP4_ENABLED_TRUE$ac_delim
24039
PHP4_ENABLED_FALSE!$PHP4_ENABLED_FALSE$ac_delim
24040
PHP4_VERSION!$PHP4_VERSION$ac_delim
24041
PHP5_INCLUDES!$PHP5_INCLUDES$ac_delim
24042
PHP5_LDFLAGS!$PHP5_LDFLAGS$ac_delim
24043
PHP5_LIBS!$PHP5_LIBS$ac_delim
24044
PHP5_UNPREFIXED_EXTENSION_DIR!$PHP5_UNPREFIXED_EXTENSION_DIR$ac_delim
24045
PHP5_EXTENSION_DIR!$PHP5_EXTENSION_DIR$ac_delim
24046
PHP5_PREFIX!$PHP5_PREFIX$ac_delim
24047
PHP5_ENABLED_TRUE!$PHP5_ENABLED_TRUE$ac_delim
24048
PHP5_ENABLED_FALSE!$PHP5_ENABLED_FALSE$ac_delim
24049
PHP5_VERSION!$PHP5_VERSION$ac_delim
24050
GACUTIL!$GACUTIL$ac_delim
24051
CSHARPCILINTERPRETER!$CSHARPCILINTERPRETER$ac_delim
24052
CSHARPCYGPATH_W!$CSHARPCYGPATH_W$ac_delim
24053
CSHARPCOMPILER!$CSHARPCOMPILER$ac_delim
24054
CSHARPDYNAMICLINKING!$CSHARPDYNAMICLINKING$ac_delim
24055
CSHARPLIBRARYPREFIX!$CSHARPLIBRARYPREFIX$ac_delim
24056
CSHARP_ENABLED_TRUE!$CSHARP_ENABLED_TRUE$ac_delim
24057
CSHARP_ENABLED_FALSE!$CSHARP_ENABLED_FALSE$ac_delim
24058
PERLINSTALLSITEARCH!$PERLINSTALLSITEARCH$ac_delim
24059
PERLMAN3DIR!$PERLMAN3DIR$ac_delim
24060
PERL_ENABLED_TRUE!$PERL_ENABLED_TRUE$ac_delim
24061
PERL_ENABLED_FALSE!$PERL_ENABLED_FALSE$ac_delim
24062
PERL_VERSION!$PERL_VERSION$ac_delim
24063
Z_CFLAGS!$Z_CFLAGS$ac_delim
24064
Z_LIBS!$Z_LIBS$ac_delim
24065
CHECK_CFLAGS!$CHECK_CFLAGS$ac_delim
24066
CHECK_LIBS!$CHECK_LIBS$ac_delim
24067
WITH_TESTS_TRUE!$WITH_TESTS_TRUE$ac_delim
24068
WITH_TESTS_FALSE!$WITH_TESTS_FALSE$ac_delim
24069
WSF_ENABLED_TRUE!$WSF_ENABLED_TRUE$ac_delim
24070
WSF_ENABLED_FALSE!$WSF_ENABLED_FALSE$ac_delim
24071
LASSO_WSF_SUPPORT!$LASSO_WSF_SUPPORT$ac_delim
24072
LASSO_DOCDIR!$LASSO_DOCDIR$ac_delim
24073
HTML_DIR!$HTML_DIR$ac_delim
24074
PKG_CONFIG!$PKG_CONFIG$ac_delim
24075
LASSO_CFLAGS!$LASSO_CFLAGS$ac_delim
24076
LASSO_LIBS!$LASSO_LIBS$ac_delim
24077
GTK_DOC_CFLAGS!$GTK_DOC_CFLAGS$ac_delim
24078
GTK_DOC_LIBS!$GTK_DOC_LIBS$ac_delim
24079
GTK_DOC_ENABLED_TRUE!$GTK_DOC_ENABLED_TRUE$ac_delim
24082
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24084
elif $ac_last_try; then
24085
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24086
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24087
{ (exit 1); exit 1; }; }
24089
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24093
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24094
if test -n "$ac_eof"; then
24095
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24096
ac_eof=`expr $ac_eof + 1`
24099
cat >>$CONFIG_STATUS <<_ACEOF
24100
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24101
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24104
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24105
s/^/s,@/; s/!/@,|#_!!_#|/
24108
s/'"$ac_delim"'$/,g/; t
24110
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24111
' >>$CONFIG_STATUS <conf$$subs.sed
24112
rm -f conf$$subs.sed
24113
cat >>$CONFIG_STATUS <<_ACEOF
24119
for ac_last_try in false false false false false :; do
24120
cat >conf$$subs.sed <<_ACEOF
24121
GTK_DOC_ENABLED_FALSE!$GTK_DOC_ENABLED_FALSE$ac_delim
24122
REST2HTML!$REST2HTML$ac_delim
24123
HAVE_REST2HTML_TRUE!$HAVE_REST2HTML_TRUE$ac_delim
24124
HAVE_REST2HTML_FALSE!$HAVE_REST2HTML_FALSE$ac_delim
24125
XSLTPROC!$XSLTPROC$ac_delim
24126
HAVE_XSLTPROC_TRUE!$HAVE_XSLTPROC_TRUE$ac_delim
24127
HAVE_XSLTPROC_FALSE!$HAVE_XSLTPROC_FALSE$ac_delim
24128
INKSCAPE!$INKSCAPE$ac_delim
24129
HAVE_INKSCAPE_TRUE!$HAVE_INKSCAPE_TRUE$ac_delim
24130
HAVE_INKSCAPE_FALSE!$HAVE_INKSCAPE_FALSE$ac_delim
24131
LASSO_STATIC_BINARIES!$LASSO_STATIC_BINARIES$ac_delim
24132
LASSO_CORE_CFLAGS!$LASSO_CORE_CFLAGS$ac_delim
24133
LASSO_CORE_LIBS!$LASSO_CORE_LIBS$ac_delim
24134
LASSO_PUB_CFLAGS!$LASSO_PUB_CFLAGS$ac_delim
24135
LASSO_DEFINES!$LASSO_DEFINES$ac_delim
24136
LASSO_APP_DEFINES!$LASSO_APP_DEFINES$ac_delim
24137
MINGW_TRUE!$MINGW_TRUE$ac_delim
24138
MINGW_FALSE!$MINGW_FALSE$ac_delim
24139
DARWIN_TRUE!$DARWIN_TRUE$ac_delim
24140
DARWIN_FALSE!$DARWIN_FALSE$ac_delim
24141
LIBOBJS!$LIBOBJS$ac_delim
24142
LTLIBOBJS!$LTLIBOBJS$ac_delim
24145
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
24147
elif $ac_last_try; then
24148
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24149
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24150
{ (exit 1); exit 1; }; }
24152
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24156
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24157
if test -n "$ac_eof"; then
24158
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24159
ac_eof=`expr $ac_eof + 1`
24162
cat >>$CONFIG_STATUS <<_ACEOF
24163
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
24164
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24167
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24168
s/^/s,@/; s/!/@,|#_!!_#|/
24171
s/'"$ac_delim"'$/,g/; t
24173
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24174
' >>$CONFIG_STATUS <conf$$subs.sed
24175
rm -f conf$$subs.sed
24176
cat >>$CONFIG_STATUS <<_ACEOF
24183
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24184
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24185
# trailing colons and then remove the whole line if VPATH becomes empty
24186
# (actually we leave an empty line to preserve line numbers).
24187
if test "x$srcdir" = x.; then
24188
ac_vpsub='/^[ ]*VPATH[ ]*=/{
24189
s/:*\$(srcdir):*/:/
24190
s/:*\${srcdir}:*/:/
24192
s/^\([^=]*=[ ]*\):*/\1/
24198
cat >>$CONFIG_STATUS <<\_ACEOF
23451
24199
fi # test -n "$CONFIG_FILES"
23454
cat >>$CONFIG_STATUS <<\_ACEOF
23455
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23456
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23458
- | *:- | *:-:* ) # input from stdin
23460
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23461
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23462
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23463
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23464
* ) ac_file_in=$ac_file.in ;;
23467
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23468
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24202
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24205
:[FHLC]) ac_mode=$ac_tag; continue;;
24207
case $ac_mode$ac_tag in
24209
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24210
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24211
{ (exit 1); exit 1; }; };;
24212
:[FH]-) ac_tag=-:-;;
24213
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24230
-) ac_f="$tmp/stdin";;
24231
*) # Look for the file first in the build tree, then in the source tree
24232
# (if the path is not absolute). The absolute path cannot be DOS-style,
24233
# because $ac_f cannot contain `:'.
24237
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24239
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24240
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24241
{ (exit 1); exit 1; }; };;
24243
ac_file_inputs="$ac_file_inputs $ac_f"
24246
# Let's still pretend it is `configure' which instantiates (i.e., don't
24247
# use $as_me), people would be surprised to read:
24248
# /* config.h. Generated by config.status. */
24249
configure_input="Generated from "`IFS=:
24250
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24251
if test x"$ac_file" != x-; then
24252
configure_input="$ac_file. $configure_input"
24253
{ echo "$as_me:$LINENO: creating $ac_file" >&5
24254
echo "$as_me: creating $ac_file" >&6;}
24258
*:-:* | *:-) cat >"$tmp/stdin";;
24263
ac_dir=`$as_dirname -- "$ac_file" ||
23469
24264
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23470
24265
X"$ac_file" : 'X\(//\)[^/]' \| \
23471
24266
X"$ac_file" : 'X\(//\)$' \| \
23472
X"$ac_file" : 'X\(/\)' \| \
23473
. : '\(.\)' 2>/dev/null ||
24267
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23474
24268
echo X"$ac_file" |
23475
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23476
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23477
/^X\(\/\/\)$/{ s//\1/; q; }
23478
/^X\(\/\).*/{ s//\1/; q; }
23480
{ if $as_mkdir_p; then
24269
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24273
/^X\(\/\/\)[^/].*/{
24288
-*) as_dir=./$as_dir;;
24290
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23485
while test ! -d "$as_dir"; do
23486
as_dirs="$as_dir $as_dirs"
23487
as_dir=`(dirname "$as_dir") 2>/dev/null ||
24294
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24295
*) as_qdir=$as_dir;;
24297
as_dirs="'$as_qdir' $as_dirs"
24298
as_dir=`$as_dirname -- "$as_dir" ||
23488
24299
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23489
24300
X"$as_dir" : 'X\(//\)[^/]' \| \
23490
24301
X"$as_dir" : 'X\(//\)$' \| \
23491
X"$as_dir" : 'X\(/\)' \| \
23492
. : '\(.\)' 2>/dev/null ||
24302
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23493
24303
echo X"$as_dir" |
23494
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23495
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23496
/^X\(\/\/\)$/{ s//\1/; q; }
23497
/^X\(\/\).*/{ s//\1/; q; }
24304
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24308
/^X\(\/\/\)[^/].*/{
24321
test -d "$as_dir" && break
23500
test ! -n "$as_dirs" || mkdir $as_dirs
23501
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23502
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24323
test -z "$as_dirs" || eval "mkdir $as_dirs"
24324
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24325
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23503
24326
{ (exit 1); exit 1; }; }; }
23505
24327
ac_builddir=.
23507
if test "$ac_dir" != .; then
24330
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23508
24332
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23509
# A "../" for each directory in $ac_dir_suffix.
23510
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23512
ac_dir_suffix= ac_top_builddir=
24333
# A ".." for each directory in $ac_dir_suffix.
24334
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24335
case $ac_top_builddir_sub in
24336
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24337
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24340
ac_abs_top_builddir=$ac_pwd
24341
ac_abs_builddir=$ac_pwd$ac_dir_suffix
24342
# for backward compatibility:
24343
ac_top_builddir=$ac_top_build_prefix
23515
24345
case $srcdir in
23516
.) # No --srcdir option. We are building in place.
24346
.) # We are building in place.
23518
if test -z "$ac_top_builddir"; then
23521
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23523
[\\/]* | ?:[\\/]* ) # Absolute path.
24348
ac_top_srcdir=$ac_top_builddir_sub
24349
ac_abs_top_srcdir=$ac_pwd ;;
24350
[\\/]* | ?:[\\/]* ) # Absolute name.
23524
24351
ac_srcdir=$srcdir$ac_dir_suffix;
23525
ac_top_srcdir=$srcdir ;;
23526
*) # Relative path.
23527
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23528
ac_top_srcdir=$ac_top_builddir$srcdir ;;
23531
# Do not use `cd foo && pwd` to compute absolute paths, because
23532
# the directories may not exist.
23534
.) ac_abs_builddir="$ac_dir";;
23537
.) ac_abs_builddir=`pwd`;;
23538
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23539
*) ac_abs_builddir=`pwd`/"$ac_dir";;
23542
case $ac_abs_builddir in
23543
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23545
case ${ac_top_builddir}. in
23546
.) ac_abs_top_builddir=$ac_abs_builddir;;
23547
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23548
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23551
case $ac_abs_builddir in
23552
.) ac_abs_srcdir=$ac_srcdir;;
23555
.) ac_abs_srcdir=$ac_abs_builddir;;
23556
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23557
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23560
case $ac_abs_builddir in
23561
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23563
case $ac_top_srcdir in
23564
.) ac_abs_top_srcdir=$ac_abs_builddir;;
23565
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23566
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24352
ac_top_srcdir=$srcdir
24353
ac_abs_top_srcdir=$srcdir ;;
24354
*) # Relative name.
24355
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24356
ac_top_srcdir=$ac_top_build_prefix$srcdir
24357
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24359
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23571
24368
case $INSTALL in
23572
24369
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23573
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24370
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23576
# Let's still pretend it is `configure' which instantiates (i.e., don't
23577
# use $as_me), people would be surprised to read:
23578
# /* config.h. Generated by config.status. */
23579
if test x"$ac_file" = x-; then
23582
configure_input="$ac_file. "
23584
configure_input=$configure_input"Generated from `echo $ac_file_in |
23585
sed 's,.*/,,'` by configure."
23587
# First look for the input files in the build tree, otherwise in the
23589
ac_file_inputs=`IFS=:
23590
for f in $ac_file_in; do
23592
-) echo $tmp/stdin ;;
23594
# Absolute (can't be DOS-style, as IFS=:)
23595
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23596
echo "$as_me: error: cannot find input file: $f" >&2;}
23597
{ (exit 1); exit 1; }; }
23600
if test -f "$f"; then
23603
elif test -f "$srcdir/$f"; then
23608
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23609
echo "$as_me: error: cannot find input file: $f" >&2;}
23610
{ (exit 1); exit 1; }; }
23613
done` || { (exit 1); exit 1; }
23615
if test x"$ac_file" != x-; then
23616
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23617
echo "$as_me: creating $ac_file" >&6;}
24374
cat >>$CONFIG_STATUS <<\_ACEOF
24375
# If the template does not know about datarootdir, expand it.
24376
# FIXME: This hack should be removed a few years after 2.60.
24377
ac_datarootdir_hack=; ac_datarootdir_seen=
24379
case `sed -n '/datarootdir/ {
24388
' $ac_file_inputs` in
24389
*datarootdir*) ac_datarootdir_seen=yes;;
24390
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24391
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24392
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24394
cat >>$CONFIG_STATUS <<_ACEOF
24395
ac_datarootdir_hack='
24396
s&@datadir@&$datadir&g
24397
s&@docdir@&$docdir&g
24398
s&@infodir@&$infodir&g
24399
s&@localedir@&$localedir&g
24400
s&@mandir@&$mandir&g
24401
s&\\\${datarootdir}&$datarootdir&g' ;;
24405
# Neutralize VPATH when `$srcdir' = `.'.
24406
# Shell code in configure.ac might set extrasub.
24407
# FIXME: do we really want to maintain this feature?
23621
24408
cat >>$CONFIG_STATUS <<_ACEOF
23622
24409
sed "$ac_vpsub
23625
24412
cat >>$CONFIG_STATUS <<\_ACEOF
23627
24414
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23628
s,@configure_input@,$configure_input,;t t
23629
s,@srcdir@,$ac_srcdir,;t t
23630
s,@abs_srcdir@,$ac_abs_srcdir,;t t
23631
s,@top_srcdir@,$ac_top_srcdir,;t t
23632
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23633
s,@builddir@,$ac_builddir,;t t
23634
s,@abs_builddir@,$ac_abs_builddir,;t t
23635
s,@top_builddir@,$ac_top_builddir,;t t
23636
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23637
s,@INSTALL@,$ac_INSTALL,;t t
23638
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23640
if test x"$ac_file" != x-; then
23641
mv $tmp/out $ac_file
23647
# Run the commands associated with the file.
24415
s&@configure_input@&$configure_input&;t t
24416
s&@top_builddir@&$ac_top_builddir_sub&;t t
24417
s&@srcdir@&$ac_srcdir&;t t
24418
s&@abs_srcdir@&$ac_abs_srcdir&;t t
24419
s&@top_srcdir@&$ac_top_srcdir&;t t
24420
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24421
s&@builddir@&$ac_builddir&;t t
24422
s&@abs_builddir@&$ac_abs_builddir&;t t
24423
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24424
s&@INSTALL@&$ac_INSTALL&;t t
24425
$ac_datarootdir_hack
24426
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
24428
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24429
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24430
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24431
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24432
which seems to be undefined. Please make sure it is defined." >&5
24433
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24434
which seems to be undefined. Please make sure it is defined." >&2;}
23648
24437
case $ac_file in
23649
lasso-src-config ) chmod +x lasso-src-config ;;
24438
-) cat "$tmp/out"; rm -f "$tmp/out";;
24439
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23653
cat >>$CONFIG_STATUS <<\_ACEOF
23656
# CONFIG_HEADER section.
23659
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23660
# NAME is the cpp macro being defined and VALUE is the value it is being given.
23662
# ac_d sets the value in "#define NAME VALUE" lines.
23663
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23664
ac_dB='[ ].*$,\1#\2'
24448
# Transform confdefs.h into a sed script `conftest.defines', that
24449
# substitutes the proper values into config.h.in to produce config.h.
24450
rm -f conftest.defines conftest.tail
24451
# First, append a space to every undef/define line, to ease matching.
24452
echo 's/$/ /' >conftest.defines
24453
# Then, protect against being on the right side of a sed subst, or in
24454
# an unquoted here document, in config.status. If some macros were
24455
# called several times there might be several #defines for the same
24456
# symbol, which is useless. But do not sort them, since the last
24457
# AC_DEFINE must be honored.
24458
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24459
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24460
# NAME is the cpp macro being defined, VALUE is the value it is being given.
24461
# PARAMS is the parameter list in the macro definition--in most cases, it's
24462
# just an empty string.
24463
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24464
ac_dB='\\)[ (].*,\\1define\\2'
23667
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23668
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23669
ac_uB='$,\1#\2define\3'
23673
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23674
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23676
- | *:- | *:-:* ) # input from stdin
23678
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23679
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23680
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23681
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23682
* ) ac_file_in=$ac_file.in ;;
23685
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23686
echo "$as_me: creating $ac_file" >&6;}
23688
# First look for the input files in the build tree, otherwise in the
23690
ac_file_inputs=`IFS=:
23691
for f in $ac_file_in; do
23693
-) echo $tmp/stdin ;;
23695
# Absolute (can't be DOS-style, as IFS=:)
23696
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23697
echo "$as_me: error: cannot find input file: $f" >&2;}
23698
{ (exit 1); exit 1; }; }
23699
# Do quote $f, to prevent DOS paths from being IFS'd.
23702
if test -f "$f"; then
23705
elif test -f "$srcdir/$f"; then
23710
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23711
echo "$as_me: error: cannot find input file: $f" >&2;}
23712
{ (exit 1); exit 1; }; }
23715
done` || { (exit 1); exit 1; }
23716
# Remove the trailing spaces.
23717
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23721
# Transform confdefs.h into two sed scripts, `conftest.defines' and
23722
# `conftest.undefs', that substitutes the proper values into
23723
# config.h.in to produce config.h. The first handles `#define'
23724
# templates, and the second `#undef' templates.
23725
# And first: Protect against being on the right side of a sed subst in
23726
# config.status. Protect against being in an unquoted here document
23727
# in config.status.
23728
rm -f conftest.defines conftest.undefs
23729
# Using a here document instead of a string reduces the quoting nightmare.
23730
# Putting comments in sed scripts is not portable.
23732
# `end' is used to avoid that the second main sed command (meant for
23733
# 0-ary CPP macros) applies to n-ary macro definitions.
23734
# See the Autoconf documentation for `clear'.
23735
cat >confdef2sed.sed <<\_ACEOF
23740
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23742
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23745
# If some macros were called several times there might be several times
23746
# the same #defines, which is useless. Nevertheless, we may not want to
23747
# sort them, since we want the *last* AC-DEFINE to be honored.
23748
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23749
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23750
rm -f confdef2sed.sed
23752
# This sed command replaces #undef with comments. This is necessary, for
24472
s/^[ ]*#[ ]*define[ ][ ]*//
24477
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24478
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24479
' >>conftest.defines
24481
# Remove the space that was appended to ease matching.
24482
# Then replace #undef with comments. This is necessary, for
23753
24483
# example, in the case of _POSIX_SOURCE, which is predefined and required
23754
24484
# on some systems where configure will not decide to define it.
23755
cat >>conftest.undefs <<\_ACEOF
23756
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24485
# (The regexp can be short, since the line contains either #define or #undef.)
24487
s,^[ #]*u.*,/* & */,' >>conftest.defines
24489
# Break up conftest.defines:
24490
ac_max_sed_lines=50
24492
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24493
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24494
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24496
ac_in='$ac_file_inputs'
24497
ac_out='"$tmp/out1"'
24498
ac_nxt='"$tmp/out2"'
24502
# Write a here document:
24503
cat >>$CONFIG_STATUS <<_ACEOF
24504
# First, check the format of the line:
24505
cat >"\$tmp/defines.sed" <<\\CEOF
24506
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24507
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23759
# Break up conftest.defines because some shells have a limit on the size
23760
# of here documents, and old seds have small limits too (100 cmds).
23761
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23762
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23763
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23764
echo ' :' >>$CONFIG_STATUS
23765
rm -f conftest.tail
23766
while grep . conftest.defines >/dev/null
23768
# Write a limited-size here document to $tmp/defines.sed.
23769
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23770
# Speed up: don't consider the non `#define' lines.
23771
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23772
# Work around the forget-to-reset-the-flag bug.
23773
echo 't clr' >>$CONFIG_STATUS
23774
echo ': clr' >>$CONFIG_STATUS
23775
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24511
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23777
sed -f $tmp/defines.sed $tmp/in >$tmp/out
23779
mv $tmp/out $tmp/in
23781
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24513
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24514
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24515
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24516
grep . conftest.tail >/dev/null || break
23782
24517
rm -f conftest.defines
23783
24518
mv conftest.tail conftest.defines
23785
rm -f conftest.defines
23786
echo ' fi # grep' >>$CONFIG_STATUS
23787
echo >>$CONFIG_STATUS
23789
# Break up conftest.undefs because some shells have a limit on the size
23790
# of here documents, and old seds have small limits too (100 cmds).
23791
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23792
rm -f conftest.tail
23793
while grep . conftest.undefs >/dev/null
23795
# Write a limited-size here document to $tmp/undefs.sed.
23796
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23797
# Speed up: don't consider the non `#undef'
23798
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23799
# Work around the forget-to-reset-the-flag bug.
23800
echo 't clr' >>$CONFIG_STATUS
23801
echo ': clr' >>$CONFIG_STATUS
23802
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23804
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23806
mv $tmp/out $tmp/in
23808
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23809
rm -f conftest.undefs
23810
mv conftest.tail conftest.undefs
23812
rm -f conftest.undefs
24520
rm -f conftest.defines conftest.tail
24522
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23814
24523
cat >>$CONFIG_STATUS <<\_ACEOF
23815
# Let's still pretend it is `configure' which instantiates (i.e., don't
23816
# use $as_me), people would be surprised to read:
23817
# /* config.h. Generated by config.status. */
23818
if test x"$ac_file" = x-; then
23819
echo "/* Generated by configure. */" >$tmp/config.h
23821
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23823
cat $tmp/in >>$tmp/config.h
23825
24524
if test x"$ac_file" != x-; then
23826
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24525
echo "/* $configure_input */" >"$tmp/config.h"
24526
cat "$ac_result" >>"$tmp/config.h"
24527
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23827
24528
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23828
24529
echo "$as_me: $ac_file is unchanged" >&6;}
23830
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23831
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23832
X"$ac_file" : 'X\(//\)[^/]' \| \
23833
X"$ac_file" : 'X\(//\)$' \| \
23834
X"$ac_file" : 'X\(/\)' \| \
23835
. : '\(.\)' 2>/dev/null ||
23837
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23838
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23839
/^X\(\/\/\)$/{ s//\1/; q; }
23840
/^X\(\/\).*/{ s//\1/; q; }
23842
{ if $as_mkdir_p; then
23847
while test ! -d "$as_dir"; do
23848
as_dirs="$as_dir $as_dirs"
23849
as_dir=`(dirname "$as_dir") 2>/dev/null ||
23850
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23851
X"$as_dir" : 'X\(//\)[^/]' \| \
23852
X"$as_dir" : 'X\(//\)$' \| \
23853
X"$as_dir" : 'X\(/\)' \| \
23854
. : '\(.\)' 2>/dev/null ||
23856
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23857
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23858
/^X\(\/\/\)$/{ s//\1/; q; }
23859
/^X\(\/\).*/{ s//\1/; q; }
23862
test ! -n "$as_dirs" || mkdir $as_dirs
23863
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23864
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23865
{ (exit 1); exit 1; }; }; }
23867
24531
rm -f $ac_file
23868
mv $tmp/config.h $ac_file
24532
mv "$tmp/config.h" $ac_file
23872
rm -f $tmp/config.h
24535
echo "/* $configure_input */"
23874
24539
# Compute $ac_file's index in $config_headers.
23875
24540
_am_stamp_count=1
23876
24541
for _am_header in $config_headers :; do