67
151
# Name of the executable.
68
as_me=`$as_basename "$0" ||
152
as_me=`$as_basename -- "$0" ||
69
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
154
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
175
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
132
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
246
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
249
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
158
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
451
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
164
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
471
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
174
s,^['$as_cr_digits']*\n,,
175
474
' >$as_me.lineno &&
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
chmod +x "$as_me.lineno" ||
476
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
477
{ (exit 1); exit 1; }; }
180
479
# Don't try to exec as it changes $[0], causing all sort of problems
181
480
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
481
# original and so on. Autoconf is especially sensitive to this).
184
483
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494
ECHO_C= ECHO_N= ECHO_T=
498
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
196
if expr a : '\(a\)' >/dev/null 2>&1; then
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
test "X`expr 00001 : '.*\(...\)'`" = X001; then
202
511
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
512
if test -d conf$$.dir; then
513
rm -f conf$$.dir/conf$$.file
516
mkdir conf$$.dir 2>/dev/null
518
if (echo >conf$$.file) 2>/dev/null; then
519
if ln -s conf$$.file conf$$ 2>/dev/null; then
521
# ... but there are two gotchas:
522
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524
# In both cases, we have to default to `cp -p'.
525
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527
elif ln conf$$.file conf$$ 2>/dev/null; then
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536
rmdir conf$$.dir 2>/dev/null
220
538
if mkdir -p . 2>/dev/null; then
6016
6933
IFS=$as_save_IFS
6017
6934
test -z "$as_dir" && as_dir=.
6018
6935
for ac_exec_ext in '' $ac_executable_extensions; do
6019
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6936
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020
6937
ac_cv_prog_LEX="$ac_prog"
6021
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6938
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6029
6947
LEX=$ac_cv_prog_LEX
6030
6948
if test -n "$LEX"; then
6031
echo "$as_me:$LINENO: result: $LEX" >&5
6032
echo "${ECHO_T}$LEX" >&6
6949
{ $as_echo "$as_me:$LINENO: result: $LEX" >&5
6950
$as_echo "$LEX" >&6; }
6034
echo "$as_me:$LINENO: result: no" >&5
6035
echo "${ECHO_T}no" >&6
6952
{ $as_echo "$as_me:$LINENO: result: no" >&5
6953
$as_echo "no" >&6; }
6038
6957
test -n "$LEX" && break
6040
6959
test -n "$LEX" || LEX=":"
6042
if test -z "$LEXLIB"
6044
echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6045
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
6046
if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6047
echo $ECHO_N "(cached) $ECHO_C" >&6
6049
ac_check_lib_save_LIBS=$LIBS
6051
cat >conftest.$ac_ext <<_ACEOF
6054
cat confdefs.h >>conftest.$ac_ext
6055
cat >>conftest.$ac_ext <<_ACEOF
6056
/* end confdefs.h. */
6058
/* Override any gcc2 internal prototype to avoid an error. */
6062
/* We use char because int might match the return type of a gcc2
6063
builtin and then its argument prototype would still apply. */
6073
rm -f conftest.$ac_objext conftest$ac_exeext
6074
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6075
(eval $ac_link) 2>conftest.er1
6077
grep -v '^ *+' conftest.er1 >conftest.err
6079
cat conftest.err >&5
6080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081
(exit $ac_status); } &&
6082
{ ac_try='test -z "$ac_c_werror_flag"
6083
|| test ! -s conftest.err'
6084
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088
(exit $ac_status); }; } &&
6089
{ ac_try='test -s conftest$ac_exeext'
6090
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094
(exit $ac_status); }; }; then
6095
ac_cv_lib_fl_yywrap=yes
6097
echo "$as_me: failed program was:" >&5
6098
sed 's/^/| /' conftest.$ac_ext >&5
6100
ac_cv_lib_fl_yywrap=no
6102
rm -f conftest.err conftest.$ac_objext \
6103
conftest$ac_exeext conftest.$ac_ext
6104
LIBS=$ac_check_lib_save_LIBS
6106
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6107
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
6108
if test $ac_cv_lib_fl_yywrap = yes; then
6111
echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6112
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
6113
if test "${ac_cv_lib_l_yywrap+set}" = set; then
6114
echo $ECHO_N "(cached) $ECHO_C" >&6
6116
ac_check_lib_save_LIBS=$LIBS
6118
cat >conftest.$ac_ext <<_ACEOF
6121
cat confdefs.h >>conftest.$ac_ext
6122
cat >>conftest.$ac_ext <<_ACEOF
6123
/* end confdefs.h. */
6125
/* Override any gcc2 internal prototype to avoid an error. */
6129
/* We use char because int might match the return type of a gcc2
6130
builtin and then its argument prototype would still apply. */
6140
rm -f conftest.$ac_objext conftest$ac_exeext
6141
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6142
(eval $ac_link) 2>conftest.er1
6144
grep -v '^ *+' conftest.er1 >conftest.err
6146
cat conftest.err >&5
6147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148
(exit $ac_status); } &&
6149
{ ac_try='test -z "$ac_c_werror_flag"
6150
|| test ! -s conftest.err'
6151
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155
(exit $ac_status); }; } &&
6156
{ ac_try='test -s conftest$ac_exeext'
6157
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161
(exit $ac_status); }; }; then
6162
ac_cv_lib_l_yywrap=yes
6164
echo "$as_me: failed program was:" >&5
6165
sed 's/^/| /' conftest.$ac_ext >&5
6167
ac_cv_lib_l_yywrap=no
6169
rm -f conftest.err conftest.$ac_objext \
6170
conftest$ac_exeext conftest.$ac_ext
6171
LIBS=$ac_check_lib_save_LIBS
6173
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6174
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
6175
if test $ac_cv_lib_l_yywrap = yes; then
6183
6961
if test "x$LEX" != "x:"; then
6184
echo "$as_me:$LINENO: checking lex output file root" >&5
6185
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
6962
cat >conftest.l <<_ACEOF
6968
e { yyless (input () != 0); }
6969
f { unput (yytext[0]); }
6970
. { BEGIN INITIAL; }
6972
#ifdef YYTEXT_POINTER
6973
extern char *yytext;
6978
return ! yylex () + ! yywrap ();
6981
{ (ac_try="$LEX conftest.l"
6983
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6984
*) ac_try_echo=$ac_try;;
6986
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6987
$as_echo "$ac_try_echo") >&5
6988
(eval "$LEX conftest.l") 2>&5
6990
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991
(exit $ac_status); }
6992
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
6993
$as_echo_n "checking lex output file root... " >&6; }
6186
6994
if test "${ac_cv_prog_lex_root+set}" = set; then
6187
echo $ECHO_N "(cached) $ECHO_C" >&6
6995
$as_echo_n "(cached) " >&6
6189
# The minimal lex program is just a single line: %%. But some broken lexes
6190
# (Solaris, I think it was) want two %% lines, so accommodate them.
6191
cat >conftest.l <<_ACEOF
6195
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
6196
(eval $LEX conftest.l) 2>&5
6198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199
(exit $ac_status); }
6200
6998
if test -f lex.yy.c; then
6201
6999
ac_cv_prog_lex_root=lex.yy
6202
7000
elif test -f lexyy.c; then
6203
7001
ac_cv_prog_lex_root=lexyy
6205
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6206
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7003
{ { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7004
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6207
7005
{ (exit 1); exit 1; }; }
6210
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6211
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7008
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7009
$as_echo "$ac_cv_prog_lex_root" >&6; }
6213
7010
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6215
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6216
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7012
if test -z "${LEXLIB+set}"; then
7013
{ $as_echo "$as_me:$LINENO: checking lex library" >&5
7014
$as_echo_n "checking lex library... " >&6; }
7015
if test "${ac_cv_lib_lex+set}" = set; then
7016
$as_echo_n "(cached) " >&6
7020
ac_cv_lib_lex='none needed'
7021
for ac_lib in '' -lfl -ll; do
7022
LIBS="$ac_lib $ac_save_LIBS"
7023
cat >conftest.$ac_ext <<_ACEOF
7024
`cat $LEX_OUTPUT_ROOT.c`
7026
rm -f conftest.$ac_objext conftest$ac_exeext
7027
if { (ac_try="$ac_link"
7029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7030
*) ac_try_echo=$ac_try;;
7032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7033
$as_echo "$ac_try_echo") >&5
7034
(eval "$ac_link") 2>conftest.er1
7036
grep -v '^ *+' conftest.er1 >conftest.err
7038
cat conftest.err >&5
7039
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040
(exit $ac_status); } && {
7041
test -z "$ac_c_werror_flag" ||
7042
test ! -s conftest.err
7043
} && test -s conftest$ac_exeext && {
7044
test "$cross_compiling" = yes ||
7045
$as_test_x conftest$ac_exeext
7047
ac_cv_lib_lex=$ac_lib
7049
$as_echo "$as_me: failed program was:" >&5
7050
sed 's/^/| /' conftest.$ac_ext >&5
7055
rm -rf conftest.dSYM
7056
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7057
conftest$ac_exeext conftest.$ac_ext
7058
test "$ac_cv_lib_lex" != 'none needed' && break
7063
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
7064
$as_echo "$ac_cv_lib_lex" >&6; }
7065
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
7069
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7070
$as_echo_n "checking whether yytext is a pointer... " >&6; }
6217
7071
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6218
echo $ECHO_N "(cached) $ECHO_C" >&6
7072
$as_echo_n "(cached) " >&6
6220
7074
# POSIX says lex can declare yytext either as a pointer or an array; the
6221
# default is implementation-dependent. Figure out which it is, since
7075
# default is implementation-dependent. Figure out which it is, since
6222
7076
# not all implementations provide the %pointer and %array declarations.
6223
7077
ac_cv_prog_lex_yytext_pointer=no
6224
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6225
7078
ac_save_LIBS=$LIBS
6226
LIBS="$LIBS $LEXLIB"
7079
LIBS="$LEXLIB $ac_save_LIBS"
6227
7080
cat >conftest.$ac_ext <<_ACEOF
7081
#define YYTEXT_POINTER 1
6228
7082
`cat $LEX_OUTPUT_ROOT.c`
6230
7084
rm -f conftest.$ac_objext conftest$ac_exeext
6231
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6232
(eval $ac_link) 2>conftest.er1
7085
if { (ac_try="$ac_link"
7087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7088
*) ac_try_echo=$ac_try;;
7090
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7091
$as_echo "$ac_try_echo") >&5
7092
(eval "$ac_link") 2>conftest.er1
6234
7094
grep -v '^ *+' conftest.er1 >conftest.err
6235
7095
rm -f conftest.er1
6236
7096
cat conftest.err >&5
6237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238
(exit $ac_status); } &&
6239
{ ac_try='test -z "$ac_c_werror_flag"
6240
|| test ! -s conftest.err'
6241
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245
(exit $ac_status); }; } &&
6246
{ ac_try='test -s conftest$ac_exeext'
6247
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251
(exit $ac_status); }; }; then
7097
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098
(exit $ac_status); } && {
7099
test -z "$ac_c_werror_flag" ||
7100
test ! -s conftest.err
7101
} && test -s conftest$ac_exeext && {
7102
test "$cross_compiling" = yes ||
7103
$as_test_x conftest$ac_exeext
6252
7105
ac_cv_prog_lex_yytext_pointer=yes
6254
echo "$as_me: failed program was:" >&5
7107
$as_echo "$as_me: failed program was:" >&5
6255
7108
sed 's/^/| /' conftest.$ac_ext >&5
6258
rm -f conftest.err conftest.$ac_objext \
7113
rm -rf conftest.dSYM
7114
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6259
7115
conftest$ac_exeext conftest.$ac_ext
6260
7116
LIBS=$ac_save_LIBS
6261
rm -f "${LEX_OUTPUT_ROOT}.c"
6264
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6265
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7119
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7120
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
6266
7121
if test $ac_cv_prog_lex_yytext_pointer = yes; then
6268
7123
cat >>confdefs.h <<\_ACEOF
9910
rhapsody* | darwin*)
9911
if test -n "$ac_tool_prefix"; then
9912
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9913
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9914
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9915
$as_echo_n "checking for $ac_word... " >&6; }
9916
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
9917
$as_echo_n "(cached) " >&6
9919
if test -n "$DSYMUTIL"; then
9920
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9922
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9926
test -z "$as_dir" && as_dir=.
9927
for ac_exec_ext in '' $ac_executable_extensions; do
9928
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9929
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9930
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9939
DSYMUTIL=$ac_cv_prog_DSYMUTIL
9940
if test -n "$DSYMUTIL"; then
9941
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
9942
$as_echo "$DSYMUTIL" >&6; }
9944
{ $as_echo "$as_me:$LINENO: result: no" >&5
9945
$as_echo "no" >&6; }
9950
if test -z "$ac_cv_prog_DSYMUTIL"; then
9951
ac_ct_DSYMUTIL=$DSYMUTIL
9952
# Extract the first word of "dsymutil", so it can be a program name with args.
9953
set dummy dsymutil; ac_word=$2
9954
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9955
$as_echo_n "checking for $ac_word... " >&6; }
9956
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
9957
$as_echo_n "(cached) " >&6
9959
if test -n "$ac_ct_DSYMUTIL"; then
9960
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9962
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9966
test -z "$as_dir" && as_dir=.
9967
for ac_exec_ext in '' $ac_executable_extensions; do
9968
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9969
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9970
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9979
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9980
if test -n "$ac_ct_DSYMUTIL"; then
9981
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
9982
$as_echo "$ac_ct_DSYMUTIL" >&6; }
9984
{ $as_echo "$as_me:$LINENO: result: no" >&5
9985
$as_echo "no" >&6; }
9988
if test "x$ac_ct_DSYMUTIL" = x; then
9991
case $cross_compiling:$ac_tool_warned in
9993
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9994
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9995
ac_tool_warned=yes ;;
9997
DSYMUTIL=$ac_ct_DSYMUTIL
10000
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10003
if test -n "$ac_tool_prefix"; then
10004
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10005
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10006
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10007
$as_echo_n "checking for $ac_word... " >&6; }
10008
if test "${ac_cv_prog_NMEDIT+set}" = set; then
10009
$as_echo_n "(cached) " >&6
10011
if test -n "$NMEDIT"; then
10012
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10014
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10015
for as_dir in $PATH
10018
test -z "$as_dir" && as_dir=.
10019
for ac_exec_ext in '' $ac_executable_extensions; do
10020
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10021
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10022
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10031
NMEDIT=$ac_cv_prog_NMEDIT
10032
if test -n "$NMEDIT"; then
10033
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
10034
$as_echo "$NMEDIT" >&6; }
10036
{ $as_echo "$as_me:$LINENO: result: no" >&5
10037
$as_echo "no" >&6; }
10042
if test -z "$ac_cv_prog_NMEDIT"; then
10043
ac_ct_NMEDIT=$NMEDIT
10044
# Extract the first word of "nmedit", so it can be a program name with args.
10045
set dummy nmedit; ac_word=$2
10046
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10047
$as_echo_n "checking for $ac_word... " >&6; }
10048
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
10049
$as_echo_n "(cached) " >&6
10051
if test -n "$ac_ct_NMEDIT"; then
10052
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10055
for as_dir in $PATH
10058
test -z "$as_dir" && as_dir=.
10059
for ac_exec_ext in '' $ac_executable_extensions; do
10060
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10061
ac_cv_prog_ac_ct_NMEDIT="nmedit"
10062
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10071
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10072
if test -n "$ac_ct_NMEDIT"; then
10073
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
10074
$as_echo "$ac_ct_NMEDIT" >&6; }
10076
{ $as_echo "$as_me:$LINENO: result: no" >&5
10077
$as_echo "no" >&6; }
10080
if test "x$ac_ct_NMEDIT" = x; then
10083
case $cross_compiling:$ac_tool_warned in
10085
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10086
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10087
ac_tool_warned=yes ;;
10089
NMEDIT=$ac_ct_NMEDIT
10092
NMEDIT="$ac_cv_prog_NMEDIT"
10096
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
10097
$as_echo_n "checking for -single_module linker flag... " >&6; }
10098
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
10099
$as_echo_n "(cached) " >&6
10101
lt_cv_apple_cc_single_mod=no
10102
if test -z "${LT_MULTI_MODULE}"; then
10103
# By default we will add the -single_module flag. You can override
10104
# by either setting the environment variable LT_MULTI_MODULE
10105
# non-empty at configure time, or by adding -multi_module to the
10107
echo "int foo(void){return 1;}" > conftest.c
10108
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10109
-dynamiclib ${wl}-single_module conftest.c
10110
if test -f libconftest.dylib; then
10111
lt_cv_apple_cc_single_mod=yes
10112
rm -rf libconftest.dylib*
10117
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
10118
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10119
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
10120
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10121
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
10122
$as_echo_n "(cached) " >&6
10124
lt_cv_ld_exported_symbols_list=no
10125
save_LDFLAGS=$LDFLAGS
10126
echo "_main" > conftest.sym
10127
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10128
cat >conftest.$ac_ext <<_ACEOF
10131
cat confdefs.h >>conftest.$ac_ext
10132
cat >>conftest.$ac_ext <<_ACEOF
10133
/* end confdefs.h. */
10143
rm -f conftest.$ac_objext conftest$ac_exeext
10144
if { (ac_try="$ac_link"
10145
case "(($ac_try" in
10146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10147
*) ac_try_echo=$ac_try;;
10149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10150
$as_echo "$ac_try_echo") >&5
10151
(eval "$ac_link") 2>conftest.er1
10153
grep -v '^ *+' conftest.er1 >conftest.err
10155
cat conftest.err >&5
10156
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157
(exit $ac_status); } && {
10158
test -z "$ac_c_werror_flag" ||
10159
test ! -s conftest.err
10160
} && test -s conftest$ac_exeext && {
10161
test "$cross_compiling" = yes ||
10162
$as_test_x conftest$ac_exeext
10164
lt_cv_ld_exported_symbols_list=yes
10166
$as_echo "$as_me: failed program was:" >&5
10167
sed 's/^/| /' conftest.$ac_ext >&5
10169
lt_cv_ld_exported_symbols_list=no
10172
rm -rf conftest.dSYM
10173
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10174
conftest$ac_exeext conftest.$ac_ext
10175
LDFLAGS="$save_LDFLAGS"
10178
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
10179
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10181
rhapsody* | darwin1.[0123])
10182
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10184
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10186
# if running on 10.5 or later, the deployment target defaults
10187
# to the OS version, if on x86, and 10.4, the deployment
10188
# target defaults to 10.4. Don't you love it?
10189
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10190
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10191
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10193
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10195
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10199
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10200
_lt_dar_single_mod='$single_module'
10202
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10203
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10205
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
10207
if test "$DSYMUTIL" != ":"; then
10208
_lt_dsymutil="~$DSYMUTIL \$lib || :"
8938
10216
enable_dlopen=no
8939
10217
enable_win32_dll=no
8941
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10219
# Check whether --enable-libtool-lock was given.
8942
10220
if test "${enable_libtool_lock+set}" = set; then
8943
enableval="$enable_libtool_lock"
10221
enableval=$enable_libtool_lock;
8946
10224
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8949
# Check whether --with-pic or --without-pic was given.
10227
# Check whether --with-pic was given.
8950
10228
if test "${with_pic+set}" = set; then
10229
withval=$with_pic; pic_mode="$withval"
8954
10231
pic_mode=default
8956
10234
test -z "$pic_mode" && pic_mode=default
8958
10236
# Use C for the default configuration in the libtool script
22502
23947
# Checks for typedefs, structures, and compiler characteristics.
22503
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22504
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23949
{ $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23950
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
22505
23951
if test "${ac_cv_c_bigendian+set}" = set; then
22506
echo $ECHO_N "(cached) $ECHO_C" >&6
22508
# See if sys/param.h defines the BYTE_ORDER macro.
22509
cat >conftest.$ac_ext <<_ACEOF
23952
$as_echo_n "(cached) " >&6
23954
ac_cv_c_bigendian=unknown
23955
# See if we're dealing with a universal compiler.
23956
cat >conftest.$ac_ext <<_ACEOF
23959
cat confdefs.h >>conftest.$ac_ext
23960
cat >>conftest.$ac_ext <<_ACEOF
23961
/* end confdefs.h. */
23962
#ifndef __APPLE_CC__
23963
not a universal capable compiler
23968
rm -f conftest.$ac_objext
23969
if { (ac_try="$ac_compile"
23970
case "(($ac_try" in
23971
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23972
*) ac_try_echo=$ac_try;;
23974
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23975
$as_echo "$ac_try_echo") >&5
23976
(eval "$ac_compile") 2>conftest.er1
23978
grep -v '^ *+' conftest.er1 >conftest.err
23980
cat conftest.err >&5
23981
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982
(exit $ac_status); } && {
23983
test -z "$ac_c_werror_flag" ||
23984
test ! -s conftest.err
23985
} && test -s conftest.$ac_objext; then
23987
# Check for potential -arch flags. It is not universal unless
23988
# there are some -arch flags. Note that *ppc* also matches
23989
# ppc64. This check is also rather less than ideal.
23990
case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
23991
*-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
23994
$as_echo "$as_me: failed program was:" >&5
23995
sed 's/^/| /' conftest.$ac_ext >&5
24000
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24001
if test $ac_cv_c_bigendian = unknown; then
24002
# See if sys/param.h defines the BYTE_ORDER macro.
24003
cat >conftest.$ac_ext <<_ACEOF
22510
24004
/* confdefs.h. */
22512
24006
cat confdefs.h >>conftest.$ac_ext
22513
24007
cat >>conftest.$ac_ext <<_ACEOF
22514
24008
/* end confdefs.h. */
22515
24009
#include <sys/types.h>
22516
#include <sys/param.h>
24010
#include <sys/param.h>
22521
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22522
bogus endian macros
24015
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
24016
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
24018
bogus endian macros
22529
24025
rm -f conftest.$ac_objext
22530
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22531
(eval $ac_compile) 2>conftest.er1
24026
if { (ac_try="$ac_compile"
24027
case "(($ac_try" in
24028
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24029
*) ac_try_echo=$ac_try;;
24031
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24032
$as_echo "$ac_try_echo") >&5
24033
(eval "$ac_compile") 2>conftest.er1
22533
24035
grep -v '^ *+' conftest.er1 >conftest.err
22534
24036
rm -f conftest.er1
22535
24037
cat conftest.err >&5
22536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537
(exit $ac_status); } &&
22538
{ ac_try='test -z "$ac_c_werror_flag"
22539
|| test ! -s conftest.err'
22540
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541
(eval $ac_try) 2>&5
22543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544
(exit $ac_status); }; } &&
22545
{ ac_try='test -s conftest.$ac_objext'
22546
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547
(eval $ac_try) 2>&5
22549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550
(exit $ac_status); }; }; then
24038
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039
(exit $ac_status); } && {
24040
test -z "$ac_c_werror_flag" ||
24041
test ! -s conftest.err
24042
} && test -s conftest.$ac_objext; then
22551
24043
# It does; now see whether it defined to BIG_ENDIAN or not.
22552
cat >conftest.$ac_ext <<_ACEOF
24044
cat >conftest.$ac_ext <<_ACEOF
22553
24045
/* confdefs.h. */
22555
24047
cat confdefs.h >>conftest.$ac_ext
22556
24048
cat >>conftest.$ac_ext <<_ACEOF
22557
24049
/* end confdefs.h. */
22558
24050
#include <sys/types.h>
22559
#include <sys/param.h>
24051
#include <sys/param.h>
22564
24056
#if BYTE_ORDER != BIG_ENDIAN
22572
rm -f conftest.$ac_objext
22573
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22574
(eval $ac_compile) 2>conftest.er1
22576
grep -v '^ *+' conftest.er1 >conftest.err
22578
cat conftest.err >&5
22579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580
(exit $ac_status); } &&
22581
{ ac_try='test -z "$ac_c_werror_flag"
22582
|| test ! -s conftest.err'
22583
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584
(eval $ac_try) 2>&5
22586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587
(exit $ac_status); }; } &&
22588
{ ac_try='test -s conftest.$ac_objext'
22589
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22590
(eval $ac_try) 2>&5
22592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593
(exit $ac_status); }; }; then
22594
ac_cv_c_bigendian=yes
22596
echo "$as_me: failed program was:" >&5
22597
sed 's/^/| /' conftest.$ac_ext >&5
22599
ac_cv_c_bigendian=no
22601
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22603
echo "$as_me: failed program was:" >&5
22604
sed 's/^/| /' conftest.$ac_ext >&5
22606
# It does not; compile a test program.
22607
if test "$cross_compiling" = yes; then
22608
# try to guess the endianness by grepping values into an object file
22609
ac_cv_c_bigendian=unknown
22610
cat >conftest.$ac_ext <<_ACEOF
22613
cat confdefs.h >>conftest.$ac_ext
22614
cat >>conftest.$ac_ext <<_ACEOF
22615
/* end confdefs.h. */
22616
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22617
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22618
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22619
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22620
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22621
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22625
_ascii (); _ebcdic ();
22630
rm -f conftest.$ac_objext
22631
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22632
(eval $ac_compile) 2>conftest.er1
22634
grep -v '^ *+' conftest.er1 >conftest.err
22636
cat conftest.err >&5
22637
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638
(exit $ac_status); } &&
22639
{ ac_try='test -z "$ac_c_werror_flag"
22640
|| test ! -s conftest.err'
22641
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22642
(eval $ac_try) 2>&5
22644
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645
(exit $ac_status); }; } &&
22646
{ ac_try='test -s conftest.$ac_objext'
22647
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22648
(eval $ac_try) 2>&5
22650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651
(exit $ac_status); }; }; then
22652
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
22653
ac_cv_c_bigendian=yes
22655
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
22656
if test "$ac_cv_c_bigendian" = unknown; then
22657
ac_cv_c_bigendian=no
22659
# finding both strings is unlikely to happen, but who knows?
22660
ac_cv_c_bigendian=unknown
22664
echo "$as_me: failed program was:" >&5
22665
sed 's/^/| /' conftest.$ac_ext >&5
22668
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22670
cat >conftest.$ac_ext <<_ACEOF
22673
cat confdefs.h >>conftest.$ac_ext
22674
cat >>conftest.$ac_ext <<_ACEOF
22675
/* end confdefs.h. */
22679
/* Are we little or big endian? From Harbison&Steele. */
22683
char c[sizeof (long)];
22686
exit (u.c[sizeof (long) - 1] == 1);
24064
rm -f conftest.$ac_objext
24065
if { (ac_try="$ac_compile"
24066
case "(($ac_try" in
24067
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24068
*) ac_try_echo=$ac_try;;
24070
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24071
$as_echo "$ac_try_echo") >&5
24072
(eval "$ac_compile") 2>conftest.er1
24074
grep -v '^ *+' conftest.er1 >conftest.err
24076
cat conftest.err >&5
24077
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078
(exit $ac_status); } && {
24079
test -z "$ac_c_werror_flag" ||
24080
test ! -s conftest.err
24081
} && test -s conftest.$ac_objext; then
24082
ac_cv_c_bigendian=yes
24084
$as_echo "$as_me: failed program was:" >&5
24085
sed 's/^/| /' conftest.$ac_ext >&5
24087
ac_cv_c_bigendian=no
24090
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092
$as_echo "$as_me: failed program was:" >&5
24093
sed 's/^/| /' conftest.$ac_ext >&5
24098
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24100
if test $ac_cv_c_bigendian = unknown; then
24101
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
24102
cat >conftest.$ac_ext <<_ACEOF
24105
cat confdefs.h >>conftest.$ac_ext
24106
cat >>conftest.$ac_ext <<_ACEOF
24107
/* end confdefs.h. */
24108
#include <limits.h>
24113
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
24114
bogus endian macros
24121
rm -f conftest.$ac_objext
24122
if { (ac_try="$ac_compile"
24123
case "(($ac_try" in
24124
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24125
*) ac_try_echo=$ac_try;;
24127
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24128
$as_echo "$ac_try_echo") >&5
24129
(eval "$ac_compile") 2>conftest.er1
24131
grep -v '^ *+' conftest.er1 >conftest.err
24133
cat conftest.err >&5
24134
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135
(exit $ac_status); } && {
24136
test -z "$ac_c_werror_flag" ||
24137
test ! -s conftest.err
24138
} && test -s conftest.$ac_objext; then
24139
# It does; now see whether it defined to _BIG_ENDIAN or not.
24140
cat >conftest.$ac_ext <<_ACEOF
24143
cat confdefs.h >>conftest.$ac_ext
24144
cat >>conftest.$ac_ext <<_ACEOF
24145
/* end confdefs.h. */
24146
#include <limits.h>
24151
#ifndef _BIG_ENDIAN
24159
rm -f conftest.$ac_objext
24160
if { (ac_try="$ac_compile"
24161
case "(($ac_try" in
24162
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24163
*) ac_try_echo=$ac_try;;
24165
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24166
$as_echo "$ac_try_echo") >&5
24167
(eval "$ac_compile") 2>conftest.er1
24169
grep -v '^ *+' conftest.er1 >conftest.err
24171
cat conftest.err >&5
24172
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173
(exit $ac_status); } && {
24174
test -z "$ac_c_werror_flag" ||
24175
test ! -s conftest.err
24176
} && test -s conftest.$ac_objext; then
24177
ac_cv_c_bigendian=yes
24179
$as_echo "$as_me: failed program was:" >&5
24180
sed 's/^/| /' conftest.$ac_ext >&5
24182
ac_cv_c_bigendian=no
24185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24187
$as_echo "$as_me: failed program was:" >&5
24188
sed 's/^/| /' conftest.$ac_ext >&5
24193
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24195
if test $ac_cv_c_bigendian = unknown; then
24196
# Compile a test program.
24197
if test "$cross_compiling" = yes; then
24198
# Try to guess by grepping values from an object file.
24199
cat >conftest.$ac_ext <<_ACEOF
24202
cat confdefs.h >>conftest.$ac_ext
24203
cat >>conftest.$ac_ext <<_ACEOF
24204
/* end confdefs.h. */
24205
short int ascii_mm[] =
24206
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
24207
short int ascii_ii[] =
24208
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
24209
int use_ascii (int i) {
24210
return ascii_mm[i] + ascii_ii[i];
24212
short int ebcdic_ii[] =
24213
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
24214
short int ebcdic_mm[] =
24215
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
24216
int use_ebcdic (int i) {
24217
return ebcdic_mm[i] + ebcdic_ii[i];
24224
return use_ascii (foo) == use_ebcdic (foo);
24229
rm -f conftest.$ac_objext
24230
if { (ac_try="$ac_compile"
24231
case "(($ac_try" in
24232
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24233
*) ac_try_echo=$ac_try;;
24235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24236
$as_echo "$ac_try_echo") >&5
24237
(eval "$ac_compile") 2>conftest.er1
24239
grep -v '^ *+' conftest.er1 >conftest.err
24241
cat conftest.err >&5
24242
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243
(exit $ac_status); } && {
24244
test -z "$ac_c_werror_flag" ||
24245
test ! -s conftest.err
24246
} && test -s conftest.$ac_objext; then
24247
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
24248
ac_cv_c_bigendian=yes
24250
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
24251
if test "$ac_cv_c_bigendian" = unknown; then
24252
ac_cv_c_bigendian=no
24254
# finding both strings is unlikely to happen, but who knows?
24255
ac_cv_c_bigendian=unknown
24259
$as_echo "$as_me: failed program was:" >&5
24260
sed 's/^/| /' conftest.$ac_ext >&5
24265
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24267
cat >conftest.$ac_ext <<_ACEOF
24270
cat confdefs.h >>conftest.$ac_ext
24271
cat >>conftest.$ac_ext <<_ACEOF
24272
/* end confdefs.h. */
24273
$ac_includes_default
24278
/* Are we little or big endian? From Harbison&Steele. */
24282
char c[sizeof (long int)];
24285
return u.c[sizeof (long int) - 1] == 1;
22689
24291
rm -f conftest$ac_exeext
22690
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22691
(eval $ac_link) 2>&5
24292
if { (ac_try="$ac_link"
24293
case "(($ac_try" in
24294
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24295
*) ac_try_echo=$ac_try;;
24297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24298
$as_echo "$ac_try_echo") >&5
24299
(eval "$ac_link") 2>&5
22693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694
24302
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22695
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696
(eval $ac_try) 2>&5
24303
{ (case "(($ac_try" in
24304
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24305
*) ac_try_echo=$ac_try;;
24307
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24308
$as_echo "$ac_try_echo") >&5
24309
(eval "$ac_try") 2>&5
22698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699
24312
(exit $ac_status); }; }; then
22700
24313
ac_cv_c_bigendian=no
22702
echo "$as_me: program exited with status $ac_status" >&5
22703
echo "$as_me: failed program was:" >&5
24315
$as_echo "$as_me: program exited with status $ac_status" >&5
24316
$as_echo "$as_me: failed program was:" >&5
22704
24317
sed 's/^/| /' conftest.$ac_ext >&5
22706
24319
( exit $ac_status )
22707
24320
ac_cv_c_bigendian=yes
22709
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22712
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22714
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22715
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22716
case $ac_cv_c_bigendian in
22719
cat >>confdefs.h <<\_ACEOF
24322
rm -rf conftest.dSYM
24323
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24329
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24330
$as_echo "$ac_cv_c_bigendian" >&6; }
24331
case $ac_cv_c_bigendian in #(
24333
cat >>confdefs.h <<\_ACEOF
22720
24334
#define WORDS_BIGENDIAN 1
22726
{ { echo "$as_me:$LINENO: error: unknown endianness
22727
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
22728
echo "$as_me: error: unknown endianness
22729
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
24341
cat >>confdefs.h <<\_ACEOF
24342
#define AC_APPLE_UNIVERSAL_BUILD 1
24347
{ { $as_echo "$as_me:$LINENO: error: unknown endianness
24348
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
24349
$as_echo "$as_me: error: unknown endianness
24350
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
22730
24351
{ (exit 1); exit 1; }; } ;;
22733
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22734
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
24354
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
24355
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
22735
24356
if test "${ac_cv_c_const+set}" = set; then
22736
echo $ECHO_N "(cached) $ECHO_C" >&6
24357
$as_echo_n "(cached) " >&6
22738
24359
cat >conftest.$ac_ext <<_ACEOF
22739
24360
/* confdefs.h. */
25758
27708
# Have a temporary directory for convenience. Make it in the build tree
25759
# simply because there is no reason to put it here, and in addition,
27709
# simply because there is no reason against having it here, and in addition,
25760
27710
# creating and moving files from /tmp can sometimes cause problems.
25761
# Create a temporary directory, and hook for its removal unless debugging.
27711
# Hook for its removal unless debugging.
27712
# Note that there is a small window in which the directory will not be cleaned:
27713
# after its creation but before its name has been assigned to `$tmp'.
25764
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
27717
trap 'exit_status=$?
27718
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25765
27720
trap '{ (exit 1); exit 1; }' 1 2 13 15
25768
27722
# Create a (secure) tmp directory for tmp files.
25771
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
27725
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25772
27726
test -n "$tmp" && test -d "$tmp"
25775
tmp=./confstat$$-$RANDOM
25776
(umask 077 && mkdir $tmp)
27729
tmp=./conf$$-$RANDOM
27730
(umask 077 && mkdir "$tmp")
25779
echo "$me: cannot create a temporary directory in ." >&2
27733
$as_echo "$as_me: cannot create a temporary directory in ." >&2
25780
27734
{ (exit 1); exit 1; }
25785
cat >>$CONFIG_STATUS <<_ACEOF
25788
# CONFIG_FILES section.
25791
# No need to generate the scripts if there are no CONFIG_FILES.
25792
# This happens for instance when ./config.status config.h
25793
if test -n "\$CONFIG_FILES"; then
25794
# Protect against being on the right side of a sed subst in config.status.
25795
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25796
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25797
s,@SHELL@,$SHELL,;t t
25798
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25799
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25800
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25801
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25802
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25803
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25804
s,@exec_prefix@,$exec_prefix,;t t
25805
s,@prefix@,$prefix,;t t
25806
s,@program_transform_name@,$program_transform_name,;t t
25807
s,@bindir@,$bindir,;t t
25808
s,@sbindir@,$sbindir,;t t
25809
s,@libexecdir@,$libexecdir,;t t
25810
s,@datadir@,$datadir,;t t
25811
s,@sysconfdir@,$sysconfdir,;t t
25812
s,@sharedstatedir@,$sharedstatedir,;t t
25813
s,@localstatedir@,$localstatedir,;t t
25814
s,@libdir@,$libdir,;t t
25815
s,@includedir@,$includedir,;t t
25816
s,@oldincludedir@,$oldincludedir,;t t
25817
s,@infodir@,$infodir,;t t
25818
s,@mandir@,$mandir,;t t
25819
s,@build_alias@,$build_alias,;t t
25820
s,@host_alias@,$host_alias,;t t
25821
s,@target_alias@,$target_alias,;t t
25822
s,@DEFS@,$DEFS,;t t
25823
s,@ECHO_C@,$ECHO_C,;t t
25824
s,@ECHO_N@,$ECHO_N,;t t
25825
s,@ECHO_T@,$ECHO_T,;t t
25826
s,@LIBS@,$LIBS,;t t
25827
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25828
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25829
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25830
s,@CYGPATH_W@,$CYGPATH_W,;t t
25831
s,@PACKAGE@,$PACKAGE,;t t
25832
s,@VERSION@,$VERSION,;t t
25833
s,@ACLOCAL@,$ACLOCAL,;t t
25834
s,@AUTOCONF@,$AUTOCONF,;t t
25835
s,@AUTOMAKE@,$AUTOMAKE,;t t
25836
s,@AUTOHEADER@,$AUTOHEADER,;t t
25837
s,@MAKEINFO@,$MAKEINFO,;t t
25838
s,@install_sh@,$install_sh,;t t
25839
s,@STRIP@,$STRIP,;t t
25840
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25841
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25842
s,@mkdir_p@,$mkdir_p,;t t
25844
s,@SET_MAKE@,$SET_MAKE,;t t
25845
s,@am__leading_dot@,$am__leading_dot,;t t
25846
s,@AMTAR@,$AMTAR,;t t
25847
s,@am__tar@,$am__tar,;t t
25848
s,@am__untar@,$am__untar,;t t
25850
s,@CFLAGS@,$CFLAGS,;t t
25851
s,@LDFLAGS@,$LDFLAGS,;t t
25852
s,@CPPFLAGS@,$CPPFLAGS,;t t
25853
s,@ac_ct_CC@,$ac_ct_CC,;t t
25854
s,@EXEEXT@,$EXEEXT,;t t
25855
s,@OBJEXT@,$OBJEXT,;t t
25856
s,@DEPDIR@,$DEPDIR,;t t
25857
s,@am__include@,$am__include,;t t
25858
s,@am__quote@,$am__quote,;t t
25859
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25860
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25861
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25862
s,@CCDEPMODE@,$CCDEPMODE,;t t
25863
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25864
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25866
s,@EGREP@,$EGREP,;t t
25867
s,@CIMSCHEMA_SOURCE@,$CIMSCHEMA_SOURCE,;t t
25868
s,@CIMSCHEMA_MOF@,$CIMSCHEMA_MOF,;t t
25869
s,@CIMSCHEMA_SUBDIRS@,$CIMSCHEMA_SUBDIRS,;t t
25870
s,@SFCB_CONF_DOBASICAUTH@,$SFCB_CONF_DOBASICAUTH,;t t
25871
s,@SFCB_CONF_BASICAUTHLIB@,$SFCB_CONF_BASICAUTHLIB,;t t
25872
s,@build@,$build,;t t
25873
s,@build_cpu@,$build_cpu,;t t
25874
s,@build_vendor@,$build_vendor,;t t
25875
s,@build_os@,$build_os,;t t
25876
s,@host@,$host,;t t
25877
s,@host_cpu@,$host_cpu,;t t
25878
s,@host_vendor@,$host_vendor,;t t
25879
s,@host_os@,$host_os,;t t
25880
s,@SFCB_CMPI_PLATFORM@,$SFCB_CMPI_PLATFORM,;t t
25881
s,@SFCB_CMPI_OS@,$SFCB_CMPI_OS,;t t
25882
s,@SFCB_LIBZ@,$SFCB_LIBZ,;t t
25883
s,@SFCB_CFLAGS@,$SFCB_CFLAGS,;t t
25884
s,@SFCB_CPPFLAGS@,$SFCB_CPPFLAGS,;t t
25885
s,@SFCB_LDFLAGS@,$SFCB_LDFLAGS,;t t
25887
s,@LEXLIB@,$LEXLIB,;t t
25888
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
25889
s,@YACC@,$YACC,;t t
25890
s,@LN_S@,$LN_S,;t t
25891
s,@ECHO@,$ECHO,;t t
25893
s,@ac_ct_AR@,$ac_ct_AR,;t t
25894
s,@RANLIB@,$RANLIB,;t t
25895
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25897
s,@CXXFLAGS@,$CXXFLAGS,;t t
25898
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
25899
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
25900
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
25901
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
25902
s,@CXXCPP@,$CXXCPP,;t t
25904
s,@FFLAGS@,$FFLAGS,;t t
25905
s,@ac_ct_F77@,$ac_ct_F77,;t t
25906
s,@LIBTOOL@,$LIBTOOL,;t t
25907
s,@SFCB_CONF_HTTPS@,$SFCB_CONF_HTTPS,;t t
25908
s,@SFCB_CONF_HTTP@,$SFCB_CONF_HTTP,;t t
25909
s,@ALLOCA@,$ALLOCA,;t t
25910
s,@LIBOBJS@,$LIBOBJS,;t t
25911
s,@INIT_STYLE@,$INIT_STYLE,;t t
25912
s,@subdirs@,$subdirs,;t t
25913
s,@DOXYGEN@,$DOXYGEN,;t t
25914
s,@MOFC_DIR@,$MOFC_DIR,;t t
25915
s,@INDICATIONS_TRUE@,$INDICATIONS_TRUE,;t t
25916
s,@INDICATIONS_FALSE@,$INDICATIONS_FALSE,;t t
25917
s,@JDBC_TRUE@,$JDBC_TRUE,;t t
25918
s,@JDBC_FALSE@,$JDBC_FALSE,;t t
25919
s,@SSL_TRUE@,$SSL_TRUE,;t t
25920
s,@SSL_FALSE@,$SSL_FALSE,;t t
25921
s,@SLP_TRUE@,$SLP_TRUE,;t t
25922
s,@SLP_FALSE@,$SLP_FALSE,;t t
25923
s,@SLP_ALONE_TRUE@,$SLP_ALONE_TRUE,;t t
25924
s,@SLP_ALONE_FALSE@,$SLP_ALONE_FALSE,;t t
25925
s,@QUALREP_TRUE@,$QUALREP_TRUE,;t t
25926
s,@QUALREP_FALSE@,$QUALREP_FALSE,;t t
25927
s,@PAM_TRUE@,$PAM_TRUE,;t t
25928
s,@PAM_FALSE@,$PAM_FALSE,;t t
25929
s,@DOCS_TRUE@,$DOCS_TRUE,;t t
25930
s,@DOCS_FALSE@,$DOCS_FALSE,;t t
25931
s,@IPV6_TRUE@,$IPV6_TRUE,;t t
25932
s,@IPV6_FALSE@,$IPV6_FALSE,;t t
25933
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25938
cat >>$CONFIG_STATUS <<\_ACEOF
25939
# Split the substitutions into bite-sized pieces for seds with
25940
# small command number limits, like on Digital OSF/1 and HP-UX.
25941
ac_max_sed_lines=48
25942
ac_sed_frag=1 # Number of current file.
25943
ac_beg=1 # First line for current file.
25944
ac_end=$ac_max_sed_lines # Line after last line for current file.
25947
while $ac_more_lines; do
25948
if test $ac_beg -gt 1; then
25949
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25951
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25953
if test ! -s $tmp/subs.frag; then
25954
ac_more_lines=false
25956
# The purpose of the label and of the branching condition is to
25957
# speed up the sed processing (if there are no `@' at all, there
25958
# is no need to browse any of the substitutions).
25959
# These are the two extra sed commands mentioned above.
25961
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25962
if test -z "$ac_sed_cmds"; then
25963
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25965
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25967
ac_sed_frag=`expr $ac_sed_frag + 1`
25969
ac_end=`expr $ac_end + $ac_max_sed_lines`
25972
if test -z "$ac_sed_cmds"; then
27737
# Set up the scripts for CONFIG_FILES section.
27738
# No need to generate them if there are no CONFIG_FILES.
27739
# This happens for instance with `./config.status config.h'.
27740
if test -n "$CONFIG_FILES"; then
27744
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27745
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27748
ac_cs_awk_cr=$ac_cr
27751
echo 'BEGIN {' >"$tmp/subs1.awk" &&
27756
echo "cat >conf$$subs.awk <<_ACEOF" &&
27757
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27759
} >conf$$subs.sh ||
27760
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27761
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27762
{ (exit 1); exit 1; }; }
27763
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27765
for ac_last_try in false false false false false :; do
27766
. ./conf$$subs.sh ||
27767
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27768
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27769
{ (exit 1); exit 1; }; }
27771
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27772
if test $ac_delim_n = $ac_delim_num; then
27774
elif $ac_last_try; then
27775
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27776
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27777
{ (exit 1); exit 1; }; }
27779
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27782
rm -f conf$$subs.sh
27784
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27785
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27789
s/^/S["/; s/!.*/"]=/
27799
s/\(.\{148\}\).*/\1/
27801
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27806
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27813
s/\(.\{148\}\).*/\1/
27815
s/["\\]/\\&/g; s/^/"/; s/$/"/
27819
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27824
' <conf$$subs.awk | sed '
27829
' >>$CONFIG_STATUS || ac_write_fail=1
27830
rm -f conf$$subs.awk
27831
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27833
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27834
for (key in S) S_is_set[key] = 1
27840
nfields = split(line, field, "@")
27842
len = length(field[1])
27843
for (i = 2; i < nfields; i++) {
27845
keylen = length(key)
27846
if (S_is_set[key]) {
27848
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27849
len += length(value) + length(field[++i])
27860
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27861
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27862
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27865
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27866
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
27867
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
27868
{ (exit 1); exit 1; }; }
27871
# VPATH may cause trouble with some makes, so we remove $(srcdir),
27872
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27873
# trailing colons and then remove the whole line if VPATH becomes empty
27874
# (actually we leave an empty line to preserve line numbers).
27875
if test "x$srcdir" = x.; then
27876
ac_vpsub='/^[ ]*VPATH[ ]*=/{
27877
s/:*\$(srcdir):*/:/
27878
s/:*\${srcdir}:*/:/
27880
s/^\([^=]*=[ ]*\):*/\1/
27886
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25975
27887
fi # test -n "$CONFIG_FILES"
25978
cat >>$CONFIG_STATUS <<\_ACEOF
25979
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25980
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25982
- | *:- | *:-:* ) # input from stdin
25984
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25985
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25986
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25987
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25988
* ) ac_file_in=$ac_file.in ;;
25991
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25992
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
27889
# Set up the scripts for CONFIG_HEADERS section.
27890
# No need to generate them if there are no CONFIG_HEADERS.
27891
# This happens for instance with `./config.status Makefile'.
27892
if test -n "$CONFIG_HEADERS"; then
27893
cat >"$tmp/defines.awk" <<\_ACAWK ||
27897
# Transform confdefs.h into an awk script `defines.awk', embedded as
27898
# here-document in config.status, that substitutes the proper values into
27899
# config.h.in to produce config.h.
27901
# Create a delimiter string that does not exist in confdefs.h, to ease
27902
# handling of long lines.
27904
for ac_last_try in false false :; do
27905
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27906
if test -z "$ac_t"; then
27908
elif $ac_last_try; then
27909
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
27910
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
27911
{ (exit 1); exit 1; }; }
27913
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27917
# For the awk script, D is an array of macro values keyed by name,
27918
# likewise P contains macro parameters if any. Preserve backslash
27919
# newline sequences.
27921
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27923
s/.\{148\}/&'"$ac_delim"'/g
27926
s/^[ ]*#[ ]*define[ ][ ]*/ /
27933
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27935
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27939
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27940
D["\1"]=" \3\\\\\\n"\\/p
27942
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27947
s/.\{148\}/&'"$ac_delim"'/g
27952
s/["\\]/\\&/g; s/^/"/; s/$/"/p
27955
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27957
' <confdefs.h | sed '
27958
s/'"$ac_delim"'/"\\\
27959
"/g' >>$CONFIG_STATUS || ac_write_fail=1
27961
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27962
for (key in D) D_is_set[key] = 1
27965
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27967
split(line, arg, " ")
27968
if (arg[1] == "#") {
27972
defundef = substr(arg[1], 2)
27975
split(mac1, mac2, "(") #)
27977
prefix = substr(line, 1, index(line, defundef) - 1)
27978
if (D_is_set[macro]) {
27979
# Preserve the white space surrounding the "#".
27980
print prefix "define", macro P[macro] D[macro]
27983
# Replace #undef with comments. This is necessary, for example,
27984
# in the case of _POSIX_SOURCE, which is predefined and required
27985
# on some systems where configure will not decide to define it.
27986
if (defundef == "undef") {
27987
print "/*", prefix defundef, macro, "*/"
27995
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27996
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
27997
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
27998
{ (exit 1); exit 1; }; }
27999
fi # test -n "$CONFIG_HEADERS"
28002
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28007
:[FHLC]) ac_mode=$ac_tag; continue;;
28009
case $ac_mode$ac_tag in
28011
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
28012
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
28013
{ (exit 1); exit 1; }; };;
28014
:[FH]-) ac_tag=-:-;;
28015
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28032
-) ac_f="$tmp/stdin";;
28033
*) # Look for the file first in the build tree, then in the source tree
28034
# (if the path is not absolute). The absolute path cannot be DOS-style,
28035
# because $ac_f cannot contain `:'.
28039
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28041
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
28042
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
28043
{ (exit 1); exit 1; }; };;
28045
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28046
ac_file_inputs="$ac_file_inputs '$ac_f'"
28049
# Let's still pretend it is `configure' which instantiates (i.e., don't
28050
# use $as_me), people would be surprised to read:
28051
# /* config.h. Generated by config.status. */
28052
configure_input='Generated from '`
28053
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28055
if test x"$ac_file" != x-; then
28056
configure_input="$ac_file. $configure_input"
28057
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
28058
$as_echo "$as_me: creating $ac_file" >&6;}
28060
# Neutralize special characters interpreted by sed in replacement strings.
28061
case $configure_input in #(
28062
*\&* | *\|* | *\\* )
28063
ac_sed_conf_input=`$as_echo "$configure_input" |
28064
sed 's/[\\\\&|]/\\\\&/g'`;; #(
28065
*) ac_sed_conf_input=$configure_input;;
28069
*:-:* | *:-) cat >"$tmp/stdin" \
28070
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28071
$as_echo "$as_me: error: could not create $ac_file" >&2;}
28072
{ (exit 1); exit 1; }; } ;;
28077
ac_dir=`$as_dirname -- "$ac_file" ||
25993
28078
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25994
28079
X"$ac_file" : 'X\(//\)[^/]' \| \
25995
28080
X"$ac_file" : 'X\(//\)$' \| \
25996
X"$ac_file" : 'X\(/\)' \| \
25997
. : '\(.\)' 2>/dev/null ||
25999
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26000
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
26001
/^X\(\/\/\)$/{ s//\1/; q; }
26002
/^X\(\/\).*/{ s//\1/; q; }
26004
{ if $as_mkdir_p; then
28081
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28082
$as_echo X"$ac_file" |
28083
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28087
/^X\(\/\/\)[^/].*/{
28102
-*) as_dir=./$as_dir;;
28104
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26009
while test ! -d "$as_dir"; do
26010
as_dirs="$as_dir $as_dirs"
26011
as_dir=`(dirname "$as_dir") 2>/dev/null ||
28108
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28109
*) as_qdir=$as_dir;;
28111
as_dirs="'$as_qdir' $as_dirs"
28112
as_dir=`$as_dirname -- "$as_dir" ||
26012
28113
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26013
28114
X"$as_dir" : 'X\(//\)[^/]' \| \
26014
28115
X"$as_dir" : 'X\(//\)$' \| \
26015
X"$as_dir" : 'X\(/\)' \| \
26016
. : '\(.\)' 2>/dev/null ||
26018
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26019
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
26020
/^X\(\/\/\)$/{ s//\1/; q; }
26021
/^X\(\/\).*/{ s//\1/; q; }
28116
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28117
$as_echo X"$as_dir" |
28118
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28122
/^X\(\/\/\)[^/].*/{
28135
test -d "$as_dir" && break
26024
test ! -n "$as_dirs" || mkdir $as_dirs
26025
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26026
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28137
test -z "$as_dirs" || eval "mkdir $as_dirs"
28138
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
28139
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26027
28140
{ (exit 1); exit 1; }; }; }
26029
28141
ac_builddir=.
26031
if test "$ac_dir" != .; then
26032
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26033
# A "../" for each directory in $ac_dir_suffix.
26034
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26036
ac_dir_suffix= ac_top_builddir=
28144
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28146
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28147
# A ".." for each directory in $ac_dir_suffix.
28148
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28149
case $ac_top_builddir_sub in
28150
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28151
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28154
ac_abs_top_builddir=$ac_pwd
28155
ac_abs_builddir=$ac_pwd$ac_dir_suffix
28156
# for backward compatibility:
28157
ac_top_builddir=$ac_top_build_prefix
26039
28159
case $srcdir in
26040
.) # No --srcdir option. We are building in place.
28160
.) # We are building in place.
26042
if test -z "$ac_top_builddir"; then
26045
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26047
[\\/]* | ?:[\\/]* ) # Absolute path.
28162
ac_top_srcdir=$ac_top_builddir_sub
28163
ac_abs_top_srcdir=$ac_pwd ;;
28164
[\\/]* | ?:[\\/]* ) # Absolute name.
26048
28165
ac_srcdir=$srcdir$ac_dir_suffix;
26049
ac_top_srcdir=$srcdir ;;
26050
*) # Relative path.
26051
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26052
ac_top_srcdir=$ac_top_builddir$srcdir ;;
26055
# Do not use `cd foo && pwd` to compute absolute paths, because
26056
# the directories may not exist.
26058
.) ac_abs_builddir="$ac_dir";;
26061
.) ac_abs_builddir=`pwd`;;
26062
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26063
*) ac_abs_builddir=`pwd`/"$ac_dir";;
26066
case $ac_abs_builddir in
26067
.) ac_abs_top_builddir=${ac_top_builddir}.;;
26069
case ${ac_top_builddir}. in
26070
.) ac_abs_top_builddir=$ac_abs_builddir;;
26071
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26072
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26075
case $ac_abs_builddir in
26076
.) ac_abs_srcdir=$ac_srcdir;;
26079
.) ac_abs_srcdir=$ac_abs_builddir;;
26080
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26081
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26084
case $ac_abs_builddir in
26085
.) ac_abs_top_srcdir=$ac_top_srcdir;;
26087
case $ac_top_srcdir in
26088
.) ac_abs_top_srcdir=$ac_abs_builddir;;
26089
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26090
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28166
ac_top_srcdir=$srcdir
28167
ac_abs_top_srcdir=$srcdir ;;
28168
*) # Relative name.
28169
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28170
ac_top_srcdir=$ac_top_build_prefix$srcdir
28171
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28173
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26095
28182
case $INSTALL in
26096
28183
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26097
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
26100
if test x"$ac_file" != x-; then
26101
{ echo "$as_me:$LINENO: creating $ac_file" >&5
26102
echo "$as_me: creating $ac_file" >&6;}
26105
# Let's still pretend it is `configure' which instantiates (i.e., don't
26106
# use $as_me), people would be surprised to read:
26107
# /* config.h. Generated by config.status. */
26108
if test x"$ac_file" = x-; then
26111
configure_input="$ac_file. "
26113
configure_input=$configure_input"Generated from `echo $ac_file_in |
26114
sed 's,.*/,,'` by configure."
26116
# First look for the input files in the build tree, otherwise in the
26118
ac_file_inputs=`IFS=:
26119
for f in $ac_file_in; do
26121
-) echo $tmp/stdin ;;
26123
# Absolute (can't be DOS-style, as IFS=:)
26124
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26125
echo "$as_me: error: cannot find input file: $f" >&2;}
26126
{ (exit 1); exit 1; }; }
26129
if test -f "$f"; then
26132
elif test -f "$srcdir/$f"; then
26137
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26138
echo "$as_me: error: cannot find input file: $f" >&2;}
26139
{ (exit 1); exit 1; }; }
26142
done` || { (exit 1); exit 1; }
26144
cat >>$CONFIG_STATUS <<_ACEOF
28184
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28186
ac_MKDIR_P=$MKDIR_P
28188
[\\/$]* | ?:[\\/]* ) ;;
28189
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28193
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28194
# If the template does not know about datarootdir, expand it.
28195
# FIXME: This hack should be removed a few years after 2.60.
28196
ac_datarootdir_hack=; ac_datarootdir_seen=
28209
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28210
*datarootdir*) ac_datarootdir_seen=yes;;
28211
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28212
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28213
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28215
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28216
ac_datarootdir_hack='
28217
s&@datadir@&$datadir&g
28218
s&@docdir@&$docdir&g
28219
s&@infodir@&$infodir&g
28220
s&@localedir@&$localedir&g
28221
s&@mandir@&$mandir&g
28222
s&\\\${datarootdir}&$datarootdir&g' ;;
28226
# Neutralize VPATH when `$srcdir' = `.'.
28227
# Shell code in configure.ac might set extrasub.
28228
# FIXME: do we really want to maintain this feature?
28229
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28230
ac_sed_extra="$ac_vpsub
26148
cat >>$CONFIG_STATUS <<\_ACEOF
28233
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26150
28235
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26151
s,@configure_input@,$configure_input,;t t
26152
s,@srcdir@,$ac_srcdir,;t t
26153
s,@abs_srcdir@,$ac_abs_srcdir,;t t
26154
s,@top_srcdir@,$ac_top_srcdir,;t t
26155
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
26156
s,@builddir@,$ac_builddir,;t t
26157
s,@abs_builddir@,$ac_abs_builddir,;t t
26158
s,@top_builddir@,$ac_top_builddir,;t t
26159
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
26160
s,@INSTALL@,$ac_INSTALL,;t t
26161
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26163
if test x"$ac_file" != x-; then
26164
mv $tmp/out $ac_file
26172
cat >>$CONFIG_STATUS <<\_ACEOF
26175
# CONFIG_HEADER section.
26178
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
26179
# NAME is the cpp macro being defined and VALUE is the value it is being given.
26181
# ac_d sets the value in "#define NAME VALUE" lines.
26182
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
26183
ac_dB='[ ].*$,\1#\2'
26186
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26187
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
26188
ac_uB='$,\1#\2define\3'
26192
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
26193
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28236
s|@configure_input@|$ac_sed_conf_input|;t t
28237
s&@top_builddir@&$ac_top_builddir_sub&;t t
28238
s&@top_build_prefix@&$ac_top_build_prefix&;t t
28239
s&@srcdir@&$ac_srcdir&;t t
28240
s&@abs_srcdir@&$ac_abs_srcdir&;t t
28241
s&@top_srcdir@&$ac_top_srcdir&;t t
28242
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28243
s&@builddir@&$ac_builddir&;t t
28244
s&@abs_builddir@&$ac_abs_builddir&;t t
28245
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28246
s&@INSTALL@&$ac_INSTALL&;t t
28247
s&@MKDIR_P@&$ac_MKDIR_P&;t t
28248
$ac_datarootdir_hack
28250
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28251
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28252
$as_echo "$as_me: error: could not create $ac_file" >&2;}
28253
{ (exit 1); exit 1; }; }
28255
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28256
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28257
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28258
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28259
which seems to be undefined. Please make sure it is defined." >&5
28260
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28261
which seems to be undefined. Please make sure it is defined." >&2;}
26194
28264
case $ac_file in
26195
- | *:- | *:-:* ) # input from stdin
26197
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26198
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26199
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26200
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26201
* ) ac_file_in=$ac_file.in ;;
26204
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
26205
echo "$as_me: creating $ac_file" >&6;}
26207
# First look for the input files in the build tree, otherwise in the
26209
ac_file_inputs=`IFS=:
26210
for f in $ac_file_in; do
26212
-) echo $tmp/stdin ;;
26214
# Absolute (can't be DOS-style, as IFS=:)
26215
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26216
echo "$as_me: error: cannot find input file: $f" >&2;}
26217
{ (exit 1); exit 1; }; }
26218
# Do quote $f, to prevent DOS paths from being IFS'd.
26221
if test -f "$f"; then
26224
elif test -f "$srcdir/$f"; then
26229
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26230
echo "$as_me: error: cannot find input file: $f" >&2;}
26231
{ (exit 1); exit 1; }; }
26234
done` || { (exit 1); exit 1; }
26235
# Remove the trailing spaces.
26236
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26240
# Transform confdefs.h into two sed scripts, `conftest.defines' and
26241
# `conftest.undefs', that substitutes the proper values into
26242
# config.h.in to produce config.h. The first handles `#define'
26243
# templates, and the second `#undef' templates.
26244
# And first: Protect against being on the right side of a sed subst in
26245
# config.status. Protect against being in an unquoted here document
26246
# in config.status.
26247
rm -f conftest.defines conftest.undefs
26248
# Using a here document instead of a string reduces the quoting nightmare.
26249
# Putting comments in sed scripts is not portable.
26251
# `end' is used to avoid that the second main sed command (meant for
26252
# 0-ary CPP macros) applies to n-ary macro definitions.
26253
# See the Autoconf documentation for `clear'.
26254
cat >confdef2sed.sed <<\_ACEOF
26259
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26261
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26264
# If some macros were called several times there might be several times
26265
# the same #defines, which is useless. Nevertheless, we may not want to
26266
# sort them, since we want the *last* AC-DEFINE to be honored.
26267
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26268
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26269
rm -f confdef2sed.sed
26271
# This sed command replaces #undef with comments. This is necessary, for
26272
# example, in the case of _POSIX_SOURCE, which is predefined and required
26273
# on some systems where configure will not decide to define it.
26274
cat >>conftest.undefs <<\_ACEOF
26275
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26278
# Break up conftest.defines because some shells have a limit on the size
26279
# of here documents, and old seds have small limits too (100 cmds).
26280
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26281
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26282
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26283
echo ' :' >>$CONFIG_STATUS
26284
rm -f conftest.tail
26285
while grep . conftest.defines >/dev/null
26287
# Write a limited-size here document to $tmp/defines.sed.
26288
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26289
# Speed up: don't consider the non `#define' lines.
26290
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
26291
# Work around the forget-to-reset-the-flag bug.
26292
echo 't clr' >>$CONFIG_STATUS
26293
echo ': clr' >>$CONFIG_STATUS
26294
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
26296
sed -f $tmp/defines.sed $tmp/in >$tmp/out
26298
mv $tmp/out $tmp/in
26300
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
26301
rm -f conftest.defines
26302
mv conftest.tail conftest.defines
26304
rm -f conftest.defines
26305
echo ' fi # grep' >>$CONFIG_STATUS
26306
echo >>$CONFIG_STATUS
26308
# Break up conftest.undefs because some shells have a limit on the size
26309
# of here documents, and old seds have small limits too (100 cmds).
26310
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
26311
rm -f conftest.tail
26312
while grep . conftest.undefs >/dev/null
26314
# Write a limited-size here document to $tmp/undefs.sed.
26315
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26316
# Speed up: don't consider the non `#undef'
26317
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
26318
# Work around the forget-to-reset-the-flag bug.
26319
echo 't clr' >>$CONFIG_STATUS
26320
echo ': clr' >>$CONFIG_STATUS
26321
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26323
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26325
mv $tmp/out $tmp/in
26327
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26328
rm -f conftest.undefs
26329
mv conftest.tail conftest.undefs
26331
rm -f conftest.undefs
26333
cat >>$CONFIG_STATUS <<\_ACEOF
26334
# Let's still pretend it is `configure' which instantiates (i.e., don't
26335
# use $as_me), people would be surprised to read:
26336
# /* config.h. Generated by config.status. */
26337
if test x"$ac_file" = x-; then
26338
echo "/* Generated by configure. */" >$tmp/config.h
26340
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
26342
cat $tmp/in >>$tmp/config.h
28265
-) cat "$tmp/out" && rm -f "$tmp/out";;
28266
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28268
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28269
$as_echo "$as_me: error: could not create $ac_file" >&2;}
28270
{ (exit 1); exit 1; }; }
26344
28276
if test x"$ac_file" != x-; then
26345
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
26346
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26347
echo "$as_me: $ac_file is unchanged" >&6;}
28278
$as_echo "/* $configure_input */" \
28279
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28280
} >"$tmp/config.h" \
28281
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28282
$as_echo "$as_me: error: could not create $ac_file" >&2;}
28283
{ (exit 1); exit 1; }; }
28284
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28285
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
28286
$as_echo "$as_me: $ac_file is unchanged" >&6;}
26349
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26350
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26351
X"$ac_file" : 'X\(//\)[^/]' \| \
26352
X"$ac_file" : 'X\(//\)$' \| \
26353
X"$ac_file" : 'X\(/\)' \| \
26354
. : '\(.\)' 2>/dev/null ||
26356
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26357
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
26358
/^X\(\/\/\)$/{ s//\1/; q; }
26359
/^X\(\/\).*/{ s//\1/; q; }
26361
{ if $as_mkdir_p; then
26366
while test ! -d "$as_dir"; do
26367
as_dirs="$as_dir $as_dirs"
26368
as_dir=`(dirname "$as_dir") 2>/dev/null ||
26369
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26370
X"$as_dir" : 'X\(//\)[^/]' \| \
26371
X"$as_dir" : 'X\(//\)$' \| \
26372
X"$as_dir" : 'X\(/\)' \| \
26373
. : '\(.\)' 2>/dev/null ||
26375
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26376
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
26377
/^X\(\/\/\)$/{ s//\1/; q; }
26378
/^X\(\/\).*/{ s//\1/; q; }
26381
test ! -n "$as_dirs" || mkdir $as_dirs
26382
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26383
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26384
{ (exit 1); exit 1; }; }; }
26387
mv $tmp/config.h $ac_file
28289
mv "$tmp/config.h" "$ac_file" \
28290
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28291
$as_echo "$as_me: error: could not create $ac_file" >&2;}
28292
{ (exit 1); exit 1; }; }
26391
rm -f $tmp/config.h
28295
$as_echo "/* $configure_input */" \
28296
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28297
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
28298
$as_echo "$as_me: error: could not create -" >&2;}
28299
{ (exit 1); exit 1; }; }
26393
# Compute $ac_file's index in $config_headers.
28301
# Compute "$ac_file"'s index in $config_headers.
26394
28303
_am_stamp_count=1
26395
28304
for _am_header in $config_headers :; do
26396
28305
case $_am_header in
26397
$ac_file | $ac_file:* )
28306
$_am_arg | $_am_arg:* )
26400
28309
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
26403
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
26404
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26405
X$ac_file : 'X\(//\)[^/]' \| \
26406
X$ac_file : 'X\(//\)$' \| \
26407
X$ac_file : 'X\(/\)' \| \
26408
. : '\(.\)' 2>/dev/null ||
26410
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26411
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
26412
/^X\(\/\/\)$/{ s//\1/; q; }
26413
/^X\(\/\).*/{ s//\1/; q; }
26414
s/.*/./; q'`/stamp-h$_am_stamp_count
26417
cat >>$CONFIG_STATUS <<\_ACEOF
26420
# CONFIG_COMMANDS section.
26422
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
26423
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
26424
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
26425
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
26426
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26427
X"$ac_dest" : 'X\(//\)[^/]' \| \
26428
X"$ac_dest" : 'X\(//\)$' \| \
26429
X"$ac_dest" : 'X\(/\)' \| \
26430
. : '\(.\)' 2>/dev/null ||
26432
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26433
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
26434
/^X\(\/\/\)$/{ s//\1/; q; }
26435
/^X\(\/\).*/{ s//\1/; q; }
26437
{ if $as_mkdir_p; then
26442
while test ! -d "$as_dir"; do
26443
as_dirs="$as_dir $as_dirs"
26444
as_dir=`(dirname "$as_dir") 2>/dev/null ||
26445
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26446
X"$as_dir" : 'X\(//\)[^/]' \| \
26447
X"$as_dir" : 'X\(//\)$' \| \
26448
X"$as_dir" : 'X\(/\)' \| \
26449
. : '\(.\)' 2>/dev/null ||
26451
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26452
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
26453
/^X\(\/\/\)$/{ s//\1/; q; }
26454
/^X\(\/\).*/{ s//\1/; q; }
26457
test ! -n "$as_dirs" || mkdir $as_dirs
26458
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26459
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26460
{ (exit 1); exit 1; }; }; }
26464
if test "$ac_dir" != .; then
26465
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26466
# A "../" for each directory in $ac_dir_suffix.
26467
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26469
ac_dir_suffix= ac_top_builddir=
26473
.) # No --srcdir option. We are building in place.
26475
if test -z "$ac_top_builddir"; then
26478
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26480
[\\/]* | ?:[\\/]* ) # Absolute path.
26481
ac_srcdir=$srcdir$ac_dir_suffix;
26482
ac_top_srcdir=$srcdir ;;
26483
*) # Relative path.
26484
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26485
ac_top_srcdir=$ac_top_builddir$srcdir ;;
26488
# Do not use `cd foo && pwd` to compute absolute paths, because
26489
# the directories may not exist.
26491
.) ac_abs_builddir="$ac_dir";;
26494
.) ac_abs_builddir=`pwd`;;
26495
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26496
*) ac_abs_builddir=`pwd`/"$ac_dir";;
26499
case $ac_abs_builddir in
26500
.) ac_abs_top_builddir=${ac_top_builddir}.;;
26502
case ${ac_top_builddir}. in
26503
.) ac_abs_top_builddir=$ac_abs_builddir;;
26504
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26505
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26508
case $ac_abs_builddir in
26509
.) ac_abs_srcdir=$ac_srcdir;;
26512
.) ac_abs_srcdir=$ac_abs_builddir;;
26513
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26514
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26517
case $ac_abs_builddir in
26518
.) ac_abs_top_srcdir=$ac_top_srcdir;;
26520
case $ac_top_srcdir in
26521
.) ac_abs_top_srcdir=$ac_abs_builddir;;
26522
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26523
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26528
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
26529
echo "$as_me: executing $ac_dest commands" >&6;}
26531
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
28312
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28313
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28314
X"$_am_arg" : 'X\(//\)[^/]' \| \
28315
X"$_am_arg" : 'X\(//\)$' \| \
28316
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28317
$as_echo X"$_am_arg" |
28318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28322
/^X\(\/\/\)[^/].*/{
28334
s/.*/./; q'`/stamp-h$_am_stamp_count
28337
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
28338
$as_echo "$as_me: executing $ac_file commands" >&6;}
28343
case $ac_file$ac_mode in
28344
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26532
28345
# Strip MF so we end up with the name of the file.
26533
28346
mf=`echo "$mf" | sed -e 's/:.*$//'`
26534
28347
# Check whether this is an Automake generated Makefile or not.