136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
139
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1
179
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
PATH=/empty FPATH=/empty; export PATH FPATH
184
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
177
187
as_have_required=yes
179
189
as_have_required=no
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
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
199
test -z "$as_dir" && as_dir=.
249
203
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
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
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
232
export CONFIG_SHELL
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" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
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
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
251
$0: about your system, including any error possibly output
252
$0: before this message. Then install a modern shell, or
253
$0: manually run the script under such a shell if you do
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Unset more variables known to interfere with behavior of common tools.
263
CLICOLOR_FORCE= GREP_OPTIONS=
264
unset CLICOLOR_FORCE GREP_OPTIONS
266
## --------------------- ##
267
## M4sh Shell Functions. ##
268
## --------------------- ##
271
# Portably unset VAR.
274
{ eval $1=; unset $1;}
278
# as_fn_set_status STATUS
279
# -----------------------
280
# Set $? to STATUS, without forking.
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298
# Create "$as_dir" as a directory, including parents if necessary.
303
-*) as_dir=./$as_dir;;
305
test -d "$as_dir" || eval $as_mkdir_p || {
309
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312
as_dirs="'$as_qdir' $as_dirs"
313
as_dir=`$as_dirname -- "$as_dir" ||
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315
X"$as_dir" : 'X\(//\)[^/]' \| \
316
X"$as_dir" : 'X\(//\)$' \| \
317
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318
$as_echo X"$as_dir" |
319
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336
test -d "$as_dir" && break
338
test -z "$as_dirs" || eval "mkdir $as_dirs"
339
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343
# as_fn_append VAR VALUE
344
# ----------------------
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
346
# advantage of any shell optimizations that allow amortized linear growth over
347
# repeated appends, instead of the typical quadratic growth present in naive
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350
eval 'as_fn_append ()
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
365
# must be portable across $(()) and expr.
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374
as_val=`expr "$@" || test $? -eq 1`
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
380
# ----------------------------------------
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383
# script with STATUS, using 1 if that was 0.
386
as_status=$1; test $as_status -eq 0 && as_status=1
388
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391
$as_echo "$as_me: error: $2" >&2
392
as_fn_exit $as_status
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
396
test "X`expr 00001 : '.*\(...\)'`" = X001; then
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414
as_me=`$as_basename -- "$0" ||
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416
X"$0" : 'X\(//\)$' \| \
417
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419
sed '/^.*\/\([^/][^/]*\)\/*$/{
433
# Avoid depending upon Character Ranges.
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437
as_cr_digits='0123456789'
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
441
as_lineno_1=$LINENO as_lineno_1a=$LINENO
442
as_lineno_2=$LINENO as_lineno_2a=$LINENO
443
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1692
1516
test -n "$ac_init_help" && exit $ac_status
1693
1517
if $ac_init_version; then
1695
libXScrnSaver configure 1.2.0
1696
generated by GNU Autoconf 2.63
1519
libXScrnSaver configure 1.2.1
1520
generated by GNU Autoconf 2.68
1698
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1699
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1522
Copyright (C) 2010 Free Software Foundation, Inc.
1700
1523
This configure script is free software; the Free Software Foundation
1701
1524
gives unlimited permission to copy, distribute and modify it.
1529
## ------------------------ ##
1530
## Autoconf initialization. ##
1531
## ------------------------ ##
1533
# ac_fn_c_try_compile LINENO
1534
# --------------------------
1535
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1536
ac_fn_c_try_compile ()
1538
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1539
rm -f conftest.$ac_objext
1540
if { { ac_try="$ac_compile"
1542
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543
*) ac_try_echo=$ac_try;;
1545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546
$as_echo "$ac_try_echo"; } >&5
1547
(eval "$ac_compile") 2>conftest.err
1549
if test -s conftest.err; then
1550
grep -v '^ *+' conftest.err >conftest.er1
1551
cat conftest.er1 >&5
1552
mv -f conftest.er1 conftest.err
1554
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555
test $ac_status = 0; } && {
1556
test -z "$ac_c_werror_flag" ||
1557
test ! -s conftest.err
1558
} && test -s conftest.$ac_objext; then :
1561
$as_echo "$as_me: failed program was:" >&5
1562
sed 's/^/| /' conftest.$ac_ext >&5
1566
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1567
as_fn_set_status $ac_retval
1569
} # ac_fn_c_try_compile
1571
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1572
# ---------------------------------------------
1573
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1575
ac_fn_c_check_decl ()
1577
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578
as_decl_name=`echo $2|sed 's/ *(.*//'`
1579
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1581
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1582
if eval \${$3+:} false; then :
1583
$as_echo_n "(cached) " >&6
1585
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1586
/* end confdefs.h. */
1591
#ifndef $as_decl_name
1593
(void) $as_decl_use;
1595
(void) $as_decl_name;
1603
if ac_fn_c_try_compile "$LINENO"; then :
1608
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1612
$as_echo "$ac_res" >&6; }
1613
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615
} # ac_fn_c_check_decl
1617
# ac_fn_c_try_cpp LINENO
1618
# ----------------------
1619
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1622
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623
if { { ac_try="$ac_cpp conftest.$ac_ext"
1625
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626
*) ac_try_echo=$ac_try;;
1628
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629
$as_echo "$ac_try_echo"; } >&5
1630
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1632
if test -s conftest.err; then
1633
grep -v '^ *+' conftest.err >conftest.er1
1634
cat conftest.er1 >&5
1635
mv -f conftest.er1 conftest.err
1637
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638
test $ac_status = 0; } > conftest.i && {
1639
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1640
test ! -s conftest.err
1644
$as_echo "$as_me: failed program was:" >&5
1645
sed 's/^/| /' conftest.$ac_ext >&5
1649
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
as_fn_set_status $ac_retval
1654
# ac_fn_c_try_run LINENO
1655
# ----------------------
1656
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1657
# that executables *can* be run.
1660
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
if { { ac_try="$ac_link"
1663
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664
*) ac_try_echo=$ac_try;;
1666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667
$as_echo "$ac_try_echo"; } >&5
1668
(eval "$ac_link") 2>&5
1670
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1672
{ { case "(($ac_try" in
1673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674
*) ac_try_echo=$ac_try;;
1676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677
$as_echo "$ac_try_echo"; } >&5
1678
(eval "$ac_try") 2>&5
1680
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681
test $ac_status = 0; }; }; then :
1684
$as_echo "$as_me: program exited with status $ac_status" >&5
1685
$as_echo "$as_me: failed program was:" >&5
1686
sed 's/^/| /' conftest.$ac_ext >&5
1688
ac_retval=$ac_status
1690
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692
as_fn_set_status $ac_retval
1696
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1697
# -------------------------------------------------------
1698
# Tests whether HEADER exists and can be compiled using the include files in
1699
# INCLUDES, setting the cache variable VAR accordingly.
1700
ac_fn_c_check_header_compile ()
1702
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704
$as_echo_n "checking for $2... " >&6; }
1705
if eval \${$3+:} false; then :
1706
$as_echo_n "(cached) " >&6
1708
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709
/* end confdefs.h. */
1713
if ac_fn_c_try_compile "$LINENO"; then :
1718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722
$as_echo "$ac_res" >&6; }
1723
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725
} # ac_fn_c_check_header_compile
1727
# ac_fn_c_try_link LINENO
1728
# -----------------------
1729
# Try to link conftest.$ac_ext, and return whether this succeeded.
1732
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733
rm -f conftest.$ac_objext conftest$ac_exeext
1734
if { { ac_try="$ac_link"
1736
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737
*) ac_try_echo=$ac_try;;
1739
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740
$as_echo "$ac_try_echo"; } >&5
1741
(eval "$ac_link") 2>conftest.err
1743
if test -s conftest.err; then
1744
grep -v '^ *+' conftest.err >conftest.er1
1745
cat conftest.er1 >&5
1746
mv -f conftest.er1 conftest.err
1748
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749
test $ac_status = 0; } && {
1750
test -z "$ac_c_werror_flag" ||
1751
test ! -s conftest.err
1752
} && test -s conftest$ac_exeext && {
1753
test "$cross_compiling" = yes ||
1754
$as_test_x conftest$ac_exeext
1758
$as_echo "$as_me: failed program was:" >&5
1759
sed 's/^/| /' conftest.$ac_ext >&5
1763
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1764
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1765
# interfere with the next link command; also delete a directory that is
1766
# left behind by Apple's compiler. We do this before executing the actions.
1767
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1768
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769
as_fn_set_status $ac_retval
1771
} # ac_fn_c_try_link
1773
# ac_fn_c_check_func LINENO FUNC VAR
1774
# ----------------------------------
1775
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1776
ac_fn_c_check_func ()
1778
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780
$as_echo_n "checking for $2... " >&6; }
1781
if eval \${$3+:} false; then :
1782
$as_echo_n "(cached) " >&6
1784
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785
/* end confdefs.h. */
1786
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1787
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1788
#define $2 innocuous_$2
1790
/* System header to define __stub macros and hopefully few prototypes,
1791
which can conflict with char $2 (); below.
1792
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1793
<limits.h> exists even on freestanding compilers. */
1796
# include <limits.h>
1798
# include <assert.h>
1803
/* Override any GCC internal prototype to avoid an error.
1804
Use char because int might match the return type of a GCC
1805
builtin and then its argument prototype would still apply. */
1810
/* The GNU C library defines this for functions which it implements
1811
to always fail with ENOSYS. Some functions are actually named
1812
something starting with __ and the normal name is an alias. */
1813
#if defined __stub_$2 || defined __stub___$2
1825
if ac_fn_c_try_link "$LINENO"; then :
1830
rm -f core conftest.err conftest.$ac_objext \
1831
conftest$ac_exeext conftest.$ac_ext
1834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835
$as_echo "$ac_res" >&6; }
1836
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838
} # ac_fn_c_check_func
1705
1839
cat >config.log <<_ACEOF
1706
1840
This file contains any messages produced by compilers while
1707
1841
running configure, to aid debugging if configure makes a mistake.
1709
It was created by libXScrnSaver $as_me 1.2.0, which was
1710
generated by GNU Autoconf 2.63. Invocation command line was
1843
It was created by libXScrnSaver $as_me 1.2.1, which was
1844
generated by GNU Autoconf 2.68. Invocation command line was
3763
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3764
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3769
macro_version='2.2.6'
3770
macro_revision='1.3012'
3784
ltmain="$ac_aux_dir/ltmain.sh"
3786
# Make sure we can run config.sub.
3787
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3788
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3789
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3790
{ (exit 1); exit 1; }; }
3792
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3793
$as_echo_n "checking build system type... " >&6; }
3794
if test "${ac_cv_build+set}" = set; then
3795
$as_echo_n "(cached) " >&6
3797
ac_build_alias=$build_alias
3798
test "x$ac_build_alias" = x &&
3799
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3800
test "x$ac_build_alias" = x &&
3801
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3802
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3803
{ (exit 1); exit 1; }; }
3804
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3805
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3806
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3807
{ (exit 1); exit 1; }; }
3810
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3811
$as_echo "$ac_cv_build" >&6; }
3812
case $ac_cv_build in
3814
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3815
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3816
{ (exit 1); exit 1; }; };;
3819
ac_save_IFS=$IFS; IFS='-'
3825
# Remember, the first character of IFS is used to create $*,
3826
# except with old shells:
3829
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3832
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3833
$as_echo_n "checking host system type... " >&6; }
3834
if test "${ac_cv_host+set}" = set; then
3835
$as_echo_n "(cached) " >&6
3837
if test "x$host_alias" = x; then
3838
ac_cv_host=$ac_cv_build
3840
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3841
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3842
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3843
{ (exit 1); exit 1; }; }
3847
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3848
$as_echo "$ac_cv_host" >&6; }
3851
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3852
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3853
{ (exit 1); exit 1; }; };;
3856
ac_save_IFS=$IFS; IFS='-'
3862
# Remember, the first character of IFS is used to create $*,
3863
# except with old shells:
3866
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3869
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3870
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3871
if test "${ac_cv_path_SED+set}" = set; then
3872
$as_echo_n "(cached) " >&6
3874
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3875
for ac_i in 1 2 3 4 5 6 7; do
3876
ac_script="$ac_script$as_nl$ac_script"
3878
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3879
$as_unset ac_script || ac_script=
3880
if test -z "$SED"; then
3881
ac_path_SED_found=false
3882
# Loop through the user's path and test for each of PROGNAME-LIST
3883
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3887
test -z "$as_dir" && as_dir=.
3888
for ac_prog in sed gsed; do
3889
for ac_exec_ext in '' $ac_executable_extensions; do
3890
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3891
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3892
# Check for GNU ac_path_SED and select it if it is found.
3893
# Check for GNU $ac_path_SED
3894
case `"$ac_path_SED" --version 2>&1` in
3896
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3899
$as_echo_n 0123456789 >"conftest.in"
3902
cat "conftest.in" "conftest.in" >"conftest.tmp"
3903
mv "conftest.tmp" "conftest.in"
3904
cp "conftest.in" "conftest.nl"
3905
$as_echo '' >> "conftest.nl"
3906
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3907
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3908
ac_count=`expr $ac_count + 1`
3909
if test $ac_count -gt ${ac_path_SED_max-0}; then
3910
# Best one so far, save it but keep looking for a better one
3911
ac_cv_path_SED="$ac_path_SED"
3912
ac_path_SED_max=$ac_count
3914
# 10*(2^10) chars as input seems more than enough
3915
test $ac_count -gt 10 && break
3917
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3920
$ac_path_SED_found && break 3
3716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3717
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3718
if ${ac_cv_prog_cc_c99+:} false; then :
3719
$as_echo_n "(cached) " >&6
3721
ac_cv_prog_cc_c99=no
3723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724
/* end confdefs.h. */
3726
#include <stdbool.h>
3731
// Check varargs macros. These examples are taken from C99 6.10.3.5.
3732
#define debug(...) fprintf (stderr, __VA_ARGS__)
3733
#define showlist(...) puts (#__VA_ARGS__)
3734
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3736
test_varargs_macros (void)
3741
debug ("X = %d\n", x);
3742
showlist (The first, second, and third items.);
3743
report (x>y, "x is %d but y is %d", x, y);
3746
// Check long long types.
3747
#define BIG64 18446744073709551615ull
3748
#define BIG32 4294967295ul
3749
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3751
your preprocessor is broken;
3755
your preprocessor is broken;
3757
static long long int bignum = -9223372036854775807LL;
3758
static unsigned long long int ubignum = BIG64;
3760
struct incomplete_array
3768
const wchar_t *name;
3772
typedef const char *ccp;
3775
test_restrict (ccp restrict text)
3777
// See if C++-style comments work.
3778
// Iterate through items via the restricted pointer.
3779
// Also check for declarations in for loops.
3780
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3785
// Check varargs and va_copy.
3787
test_varargs (const char *format, ...)
3790
va_start (args, format);
3792
va_copy (args_copy, args);
3803
str = va_arg (args_copy, const char *);
3806
number = va_arg (args_copy, int);
3809
fnumber = va_arg (args_copy, double);
3824
_Bool success = false;
3827
if (test_restrict ("String literal") == 0)
3829
char *restrict newvar = "Another string";
3832
test_varargs ("s, d' f .", "string", 65, 34.234);
3833
test_varargs_macros ();
3835
// Check flexible array members.
3836
struct incomplete_array *ia =
3837
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3839
for (int i = 0; i < ia->datasize; ++i)
3840
ia->data[i] = i * 1.234;
3842
// Check named initializers.
3843
struct named_init ni = {
3845
.name = L"Test wide string",
3846
.average = 543.34343,
3851
int dynamic_array[ni.number];
3852
dynamic_array[ni.number - 1] = 543;
3854
// work around unused variable warnings
3855
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3856
|| dynamic_array[ni.number - 1] != 543);
3862
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3864
CC="$ac_save_CC $ac_arg"
3865
if ac_fn_c_try_compile "$LINENO"; then :
3866
ac_cv_prog_cc_c99=$ac_arg
3868
rm -f core conftest.err conftest.$ac_objext
3869
test "x$ac_cv_prog_cc_c99" != "xno" && break
3871
rm -f conftest.$ac_ext
3876
case "x$ac_cv_prog_cc_c99" in
3878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3879
$as_echo "none needed" >&6; } ;;
3881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3882
$as_echo "unsupported" >&6; } ;;
3884
CC="$CC $ac_cv_prog_cc_c99"
3885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3886
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3888
if test "x$ac_cv_prog_cc_c99" != xno; then :
3895
ac_cpp='$CPP $CPPFLAGS'
3896
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3900
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3901
# On Suns, sometimes $CPP names a directory.
3902
if test -n "$CPP" && test -d "$CPP"; then
3905
if test -z "$CPP"; then
3906
if ${ac_cv_prog_CPP+:} false; then :
3907
$as_echo_n "(cached) " >&6
3909
# Double quotes because CPP needs to be expanded
3910
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3913
for ac_c_preproc_warn_flag in '' yes
3915
# Use a header file that comes with gcc, so configuring glibc
3916
# with a fresh cross-compiler works.
3917
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3918
# <limits.h> exists even on freestanding compilers.
3919
# On the NeXT, cc -E runs the code through the compiler's parser,
3920
# not just through cpp. "Syntax error" is here to catch this case.
3921
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922
/* end confdefs.h. */
3924
# include <limits.h>
3926
# include <assert.h>
3930
if ac_fn_c_try_cpp "$LINENO"; then :
3933
# Broken: fails on valid input.
3936
rm -f conftest.err conftest.i conftest.$ac_ext
3938
# OK, works on sane cases. Now check whether nonexistent headers
3939
# can be detected and how.
3940
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941
/* end confdefs.h. */
3942
#include <ac_nonexistent.h>
3944
if ac_fn_c_try_cpp "$LINENO"; then :
3945
# Broken: success on invalid input.
3948
# Passes both tests.
3952
rm -f conftest.err conftest.i conftest.$ac_ext
3955
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3956
rm -f conftest.i conftest.err conftest.$ac_ext
3957
if $ac_preproc_ok; then :
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3970
$as_echo "$CPP" >&6; }
3972
for ac_c_preproc_warn_flag in '' yes
3974
# Use a header file that comes with gcc, so configuring glibc
3975
# with a fresh cross-compiler works.
3976
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3977
# <limits.h> exists even on freestanding compilers.
3978
# On the NeXT, cc -E runs the code through the compiler's parser,
3979
# not just through cpp. "Syntax error" is here to catch this case.
3980
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981
/* end confdefs.h. */
3983
# include <limits.h>
3985
# include <assert.h>
3989
if ac_fn_c_try_cpp "$LINENO"; then :
3992
# Broken: fails on valid input.
3995
rm -f conftest.err conftest.i conftest.$ac_ext
3997
# OK, works on sane cases. Now check whether nonexistent headers
3998
# can be detected and how.
3999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000
/* end confdefs.h. */
4001
#include <ac_nonexistent.h>
4003
if ac_fn_c_try_cpp "$LINENO"; then :
4004
# Broken: success on invalid input.
4007
# Passes both tests.
4011
rm -f conftest.err conftest.i conftest.$ac_ext
3925
if test -z "$ac_cv_path_SED"; then
3926
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3927
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3928
{ (exit 1); exit 1; }; }
4014
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4015
rm -f conftest.i conftest.err conftest.$ac_ext
4016
if $ac_preproc_ok; then :
3935
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3936
$as_echo "$ac_cv_path_SED" >&6; }
3937
SED="$ac_cv_path_SED"
3940
test -z "$SED" && SED=sed
3941
Xsed="$SED -e 1s/^X//"
3953
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4019
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4022
See \`config.log' for more details" "$LINENO" 5; }
4026
ac_cpp='$CPP $CPPFLAGS'
4027
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4028
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4029
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3954
4033
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3955
if test "${ac_cv_path_GREP+set}" = set; then
4034
if ${ac_cv_path_GREP+:} false; then :
3956
4035
$as_echo_n "(cached) " >&6
3958
4037
if test -z "$GREP"; then
4082
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4083
4158
$as_echo "$ac_cv_path_EGREP" >&6; }
4084
4159
EGREP="$ac_cv_path_EGREP"
4087
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4163
$as_echo_n "checking for ANSI C header files... " >&6; }
4164
if ${ac_cv_header_stdc+:} false; then :
4165
$as_echo_n "(cached) " >&6
4167
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168
/* end confdefs.h. */
4182
if ac_fn_c_try_compile "$LINENO"; then :
4183
ac_cv_header_stdc=yes
4185
ac_cv_header_stdc=no
4187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189
if test $ac_cv_header_stdc = yes; then
4190
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4191
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192
/* end confdefs.h. */
4196
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4197
$EGREP "memchr" >/dev/null 2>&1; then :
4200
ac_cv_header_stdc=no
4206
if test $ac_cv_header_stdc = yes; then
4207
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4208
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209
/* end confdefs.h. */
4213
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4214
$EGREP "free" >/dev/null 2>&1; then :
4217
ac_cv_header_stdc=no
4223
if test $ac_cv_header_stdc = yes; then
4224
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4225
if test "$cross_compiling" = yes; then :
4228
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229
/* end confdefs.h. */
4232
#if ((' ' & 0x0FF) == 0x020)
4233
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4234
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4236
# define ISLOWER(c) \
4237
(('a' <= (c) && (c) <= 'i') \
4238
|| ('j' <= (c) && (c) <= 'r') \
4239
|| ('s' <= (c) && (c) <= 'z'))
4240
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4243
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4248
for (i = 0; i < 256; i++)
4249
if (XOR (islower (i), ISLOWER (i))
4250
|| toupper (i) != TOUPPER (i))
4255
if ac_fn_c_try_run "$LINENO"; then :
4258
ac_cv_header_stdc=no
4260
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4261
conftest.$ac_objext conftest.beam conftest.$ac_ext
4266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4267
$as_echo "$ac_cv_header_stdc" >&6; }
4268
if test $ac_cv_header_stdc = yes; then
4270
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4274
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4275
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4276
inttypes.h stdint.h unistd.h
4278
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4279
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4281
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4282
cat >>confdefs.h <<_ACEOF
4283
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4293
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4294
if test -n "$ac_tool_prefix"; then
4295
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4296
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298
$as_echo_n "checking for $ac_word... " >&6; }
4299
if ${ac_cv_path_PKG_CONFIG+:} false; then :
4300
$as_echo_n "(cached) " >&6
4304
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311
test -z "$as_dir" && as_dir=.
4312
for ac_exec_ext in '' $ac_executable_extensions; do
4313
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4314
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4315
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4326
if test -n "$PKG_CONFIG"; then
4327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4328
$as_echo "$PKG_CONFIG" >&6; }
4330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331
$as_echo "no" >&6; }
4336
if test -z "$ac_cv_path_PKG_CONFIG"; then
4337
ac_pt_PKG_CONFIG=$PKG_CONFIG
4338
# Extract the first word of "pkg-config", so it can be a program name with args.
4339
set dummy pkg-config; ac_word=$2
4340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4341
$as_echo_n "checking for $ac_word... " >&6; }
4342
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4343
$as_echo_n "(cached) " >&6
4345
case $ac_pt_PKG_CONFIG in
4347
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4350
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354
test -z "$as_dir" && as_dir=.
4355
for ac_exec_ext in '' $ac_executable_extensions; do
4356
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4358
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4369
if test -n "$ac_pt_PKG_CONFIG"; then
4370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4371
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374
$as_echo "no" >&6; }
4377
if test "x$ac_pt_PKG_CONFIG" = x; then
4380
case $cross_compiling:$ac_tool_warned in
4382
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4383
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4384
ac_tool_warned=yes ;;
4386
PKG_CONFIG=$ac_pt_PKG_CONFIG
4389
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4393
if test -n "$PKG_CONFIG"; then
4394
_pkg_min_version=0.9.0
4395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4396
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4397
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4399
$as_echo "yes" >&6; }
4401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402
$as_echo "no" >&6; }
4407
# Make sure we can run config.sub.
4408
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4409
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4412
$as_echo_n "checking build system type... " >&6; }
4413
if ${ac_cv_build+:} false; then :
4414
$as_echo_n "(cached) " >&6
4416
ac_build_alias=$build_alias
4417
test "x$ac_build_alias" = x &&
4418
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4419
test "x$ac_build_alias" = x &&
4420
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4421
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4422
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4426
$as_echo "$ac_cv_build" >&6; }
4427
case $ac_cv_build in
4429
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4432
ac_save_IFS=$IFS; IFS='-'
4438
# Remember, the first character of IFS is used to create $*,
4439
# except with old shells:
4442
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4446
$as_echo_n "checking host system type... " >&6; }
4447
if ${ac_cv_host+:} false; then :
4448
$as_echo_n "(cached) " >&6
4450
if test "x$host_alias" = x; then
4451
ac_cv_host=$ac_cv_build
4453
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4454
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4459
$as_echo "$ac_cv_host" >&6; }
4462
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4465
ac_save_IFS=$IFS; IFS='-'
4471
# Remember, the first character of IFS is used to create $*,
4472
# except with old shells:
4475
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4479
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4480
if ${ac_cv_path_SED+:} false; then :
4481
$as_echo_n "(cached) " >&6
4483
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4484
for ac_i in 1 2 3 4 5 6 7; do
4485
ac_script="$ac_script$as_nl$ac_script"
4487
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4488
{ ac_script=; unset ac_script;}
4489
if test -z "$SED"; then
4490
ac_path_SED_found=false
4491
# Loop through the user's path and test for each of PROGNAME-LIST
4492
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496
test -z "$as_dir" && as_dir=.
4497
for ac_prog in sed gsed; do
4498
for ac_exec_ext in '' $ac_executable_extensions; do
4499
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4500
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4501
# Check for GNU ac_path_SED and select it if it is found.
4502
# Check for GNU $ac_path_SED
4503
case `"$ac_path_SED" --version 2>&1` in
4505
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4508
$as_echo_n 0123456789 >"conftest.in"
4511
cat "conftest.in" "conftest.in" >"conftest.tmp"
4512
mv "conftest.tmp" "conftest.in"
4513
cp "conftest.in" "conftest.nl"
4514
$as_echo '' >> "conftest.nl"
4515
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4516
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4517
as_fn_arith $ac_count + 1 && ac_count=$as_val
4518
if test $ac_count -gt ${ac_path_SED_max-0}; then
4519
# Best one so far, save it but keep looking for a better one
4520
ac_cv_path_SED="$ac_path_SED"
4521
ac_path_SED_max=$ac_count
4523
# 10*(2^10) chars as input seems more than enough
4524
test $ac_count -gt 10 && break
4526
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4529
$ac_path_SED_found && break 3
4534
if test -z "$ac_cv_path_SED"; then
4535
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4543
$as_echo "$ac_cv_path_SED" >&6; }
4544
SED="$ac_cv_path_SED"
4551
if test "x$GCC" = xyes ; then
4552
CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4553
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4554
-Wbad-function-cast -Wformat=2"
4555
case `$CC -dumpversion` in
4557
CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4561
ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4562
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4568
if test "x$SUNCC" = "xyes"; then
4575
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4579
# Check whether --enable-strict-compilation was given.
4580
if test "${enable_strict_compilation+set}" = set; then :
4581
enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4586
if test "x$STRICT_COMPILE" = "xyes"; then
4587
ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4588
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4594
ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4595
if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4601
if test "x$GCC" = xyes ; then
4602
STRICT_CFLAGS="-pedantic -Werror"
4603
elif test "x$SUNCC" = "xyes"; then
4604
STRICT_CFLAGS="-errwarn"
4605
elif test "x$INTELCC" = "xyes"; then
4606
STRICT_CFLAGS="-Werror"
4609
CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4614
cat >>confdefs.h <<_ACEOF
4615
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4618
PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4619
if test "x$PVM" = "x"; then
4623
cat >>confdefs.h <<_ACEOF
4624
#define PACKAGE_VERSION_MINOR $PVM
4627
PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4628
if test "x$PVP" = "x"; then
4632
cat >>confdefs.h <<_ACEOF
4633
#define PACKAGE_VERSION_PATCHLEVEL $PVP
4638
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4639
mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4640
|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4641
echo 'git directory not found: installing possibly empty changelog.' >&2)"
4646
macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4647
INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4648
mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4649
|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4650
echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4657
if test x$APP_MAN_SUFFIX = x ; then
4660
if test x$APP_MAN_DIR = x ; then
4661
APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4664
if test x$LIB_MAN_SUFFIX = x ; then
4667
if test x$LIB_MAN_DIR = x ; then
4668
LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4671
if test x$FILE_MAN_SUFFIX = x ; then
4673
solaris*) FILE_MAN_SUFFIX=4 ;;
4674
*) FILE_MAN_SUFFIX=5 ;;
4677
if test x$FILE_MAN_DIR = x ; then
4678
FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4681
if test x$MISC_MAN_SUFFIX = x ; then
4683
solaris*) MISC_MAN_SUFFIX=5 ;;
4684
*) MISC_MAN_SUFFIX=7 ;;
4687
if test x$MISC_MAN_DIR = x ; then
4688
MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4691
if test x$DRIVER_MAN_SUFFIX = x ; then
4693
solaris*) DRIVER_MAN_SUFFIX=7 ;;
4694
*) DRIVER_MAN_SUFFIX=4 ;;
4697
if test x$DRIVER_MAN_DIR = x ; then
4698
DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4701
if test x$ADMIN_MAN_SUFFIX = x ; then
4703
solaris*) ADMIN_MAN_SUFFIX=1m ;;
4704
*) ADMIN_MAN_SUFFIX=8 ;;
4707
if test x$ADMIN_MAN_DIR = x ; then
4708
ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4725
XORG_MAN_PAGE="X Version 11"
4728
-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4729
-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4730
-e 's|__xservername__|Xorg|g' \
4731
-e 's|__xconfigfile__|xorg.conf|g' \
4732
-e 's|__projectroot__|\$(prefix)|g' \
4733
-e 's|__apploaddir__|\$(appdefaultdir)|g' \
4734
-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4735
-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4736
-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4737
-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4738
-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4739
-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4743
# Check whether --enable-silent-rules was given.
4744
if test "${enable_silent_rules+set}" = set; then :
4745
enableval=$enable_silent_rules;
4748
case $enable_silent_rules in
4749
yes) AM_DEFAULT_VERBOSITY=0;;
4750
no) AM_DEFAULT_VERBOSITY=1;;
4751
*) AM_DEFAULT_VERBOSITY=0;;
4759
ac_cpp='$CPP $CPPFLAGS'
4760
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763
if test -n "$ac_tool_prefix"; then
4764
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4765
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767
$as_echo_n "checking for $ac_word... " >&6; }
4768
if ${ac_cv_prog_CC+:} false; then :
4769
$as_echo_n "(cached) " >&6
4771
if test -n "$CC"; then
4772
ac_cv_prog_CC="$CC" # Let the user override the test.
4774
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778
test -z "$as_dir" && as_dir=.
4779
for ac_exec_ext in '' $ac_executable_extensions; do
4780
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4781
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4782
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792
if test -n "$CC"; then
4793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4794
$as_echo "$CC" >&6; }
4796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797
$as_echo "no" >&6; }
4802
if test -z "$ac_cv_prog_CC"; then
4804
# Extract the first word of "gcc", so it can be a program name with args.
4805
set dummy gcc; ac_word=$2
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807
$as_echo_n "checking for $ac_word... " >&6; }
4808
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4809
$as_echo_n "(cached) " >&6
4811
if test -n "$ac_ct_CC"; then
4812
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818
test -z "$as_dir" && as_dir=.
4819
for ac_exec_ext in '' $ac_executable_extensions; do
4820
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4821
ac_cv_prog_ac_ct_CC="gcc"
4822
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4832
if test -n "$ac_ct_CC"; then
4833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4834
$as_echo "$ac_ct_CC" >&6; }
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837
$as_echo "no" >&6; }
4840
if test "x$ac_ct_CC" = x; then
4843
case $cross_compiling:$ac_tool_warned in
4845
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4846
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4847
ac_tool_warned=yes ;;
4855
if test -z "$CC"; then
4856
if test -n "$ac_tool_prefix"; then
4857
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4858
set dummy ${ac_tool_prefix}cc; ac_word=$2
4859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860
$as_echo_n "checking for $ac_word... " >&6; }
4861
if ${ac_cv_prog_CC+:} false; then :
4862
$as_echo_n "(cached) " >&6
4864
if test -n "$CC"; then
4865
ac_cv_prog_CC="$CC" # Let the user override the test.
4867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871
test -z "$as_dir" && as_dir=.
4872
for ac_exec_ext in '' $ac_executable_extensions; do
4873
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874
ac_cv_prog_CC="${ac_tool_prefix}cc"
4875
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885
if test -n "$CC"; then
4886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4887
$as_echo "$CC" >&6; }
4889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890
$as_echo "no" >&6; }
4896
if test -z "$CC"; then
4897
# Extract the first word of "cc", so it can be a program name with args.
4898
set dummy cc; ac_word=$2
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900
$as_echo_n "checking for $ac_word... " >&6; }
4901
if ${ac_cv_prog_CC+:} false; then :
4902
$as_echo_n "(cached) " >&6
4904
if test -n "$CC"; then
4905
ac_cv_prog_CC="$CC" # Let the user override the test.
4908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912
test -z "$as_dir" && as_dir=.
4913
for ac_exec_ext in '' $ac_executable_extensions; do
4914
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4915
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4916
ac_prog_rejected=yes
4920
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927
if test $ac_prog_rejected = yes; then
4928
# We found a bogon in the path, so make sure we never use it.
4929
set dummy $ac_cv_prog_CC
4931
if test $# != 0; then
4932
# We chose a different compiler from the bogus one.
4933
# However, it has the same basename, so the bogon will be chosen
4934
# first if we set CC to just the basename; use the full file name.
4936
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4942
if test -n "$CC"; then
4943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4944
$as_echo "$CC" >&6; }
4946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947
$as_echo "no" >&6; }
4952
if test -z "$CC"; then
4953
if test -n "$ac_tool_prefix"; then
4954
for ac_prog in cl.exe
4956
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4957
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959
$as_echo_n "checking for $ac_word... " >&6; }
4960
if ${ac_cv_prog_CC+:} false; then :
4961
$as_echo_n "(cached) " >&6
4963
if test -n "$CC"; then
4964
ac_cv_prog_CC="$CC" # Let the user override the test.
4966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970
test -z "$as_dir" && as_dir=.
4971
for ac_exec_ext in '' $ac_executable_extensions; do
4972
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4973
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4974
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984
if test -n "$CC"; then
4985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4986
$as_echo "$CC" >&6; }
4988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989
$as_echo "no" >&6; }
4993
test -n "$CC" && break
4996
if test -z "$CC"; then
4998
for ac_prog in cl.exe
5000
# Extract the first word of "$ac_prog", so it can be a program name with args.
5001
set dummy $ac_prog; ac_word=$2
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003
$as_echo_n "checking for $ac_word... " >&6; }
5004
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5005
$as_echo_n "(cached) " >&6
5007
if test -n "$ac_ct_CC"; then
5008
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014
test -z "$as_dir" && as_dir=.
5015
for ac_exec_ext in '' $ac_executable_extensions; do
5016
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017
ac_cv_prog_ac_ct_CC="$ac_prog"
5018
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5028
if test -n "$ac_ct_CC"; then
5029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5030
$as_echo "$ac_ct_CC" >&6; }
5032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033
$as_echo "no" >&6; }
5037
test -n "$ac_ct_CC" && break
5040
if test "x$ac_ct_CC" = x; then
5043
case $cross_compiling:$ac_tool_warned in
5045
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5046
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5047
ac_tool_warned=yes ;;
5056
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5057
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5058
as_fn_error $? "no acceptable C compiler found in \$PATH
5059
See \`config.log' for more details" "$LINENO" 5; }
5061
# Provide some information about the compiler.
5062
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5065
for ac_option in --version -v -V -qversion; do
5066
{ { ac_try="$ac_compiler $ac_option >&5"
5068
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5069
*) ac_try_echo=$ac_try;;
5071
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5072
$as_echo "$ac_try_echo"; } >&5
5073
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5075
if test -s conftest.err; then
5077
... rest of stderr output deleted ...
5078
10q' conftest.err >conftest.er1
5079
cat conftest.er1 >&5
5081
rm -f conftest.er1 conftest.err
5082
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5083
test $ac_status = 0; }
5086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5087
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5088
if ${ac_cv_c_compiler_gnu+:} false; then :
5089
$as_echo_n "(cached) " >&6
5091
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092
/* end confdefs.h. */
5105
if ac_fn_c_try_compile "$LINENO"; then :
5110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5111
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5115
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5116
if test $ac_compiler_gnu = yes; then
5121
ac_test_CFLAGS=${CFLAGS+set}
5122
ac_save_CFLAGS=$CFLAGS
5123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5124
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5125
if ${ac_cv_prog_cc_g+:} false; then :
5126
$as_echo_n "(cached) " >&6
5128
ac_save_c_werror_flag=$ac_c_werror_flag
5129
ac_c_werror_flag=yes
5132
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133
/* end confdefs.h. */
5143
if ac_fn_c_try_compile "$LINENO"; then :
5147
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5148
/* end confdefs.h. */
5158
if ac_fn_c_try_compile "$LINENO"; then :
5161
ac_c_werror_flag=$ac_save_c_werror_flag
5163
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164
/* end confdefs.h. */
5174
if ac_fn_c_try_compile "$LINENO"; then :
5177
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5182
ac_c_werror_flag=$ac_save_c_werror_flag
5184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5185
$as_echo "$ac_cv_prog_cc_g" >&6; }
5186
if test "$ac_test_CFLAGS" = set; then
5187
CFLAGS=$ac_save_CFLAGS
5188
elif test $ac_cv_prog_cc_g = yes; then
5189
if test "$GCC" = yes; then
5195
if test "$GCC" = yes; then
5201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5202
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5203
if ${ac_cv_prog_cc_c89+:} false; then :
5204
$as_echo_n "(cached) " >&6
5206
ac_cv_prog_cc_c89=no
5208
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5209
/* end confdefs.h. */
5212
#include <sys/types.h>
5213
#include <sys/stat.h>
5214
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5215
struct buf { int x; };
5216
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5217
static char *e (p, i)
5223
static char *f (char * (*g) (char **, int), char **p, ...)
5228
s = g (p, va_arg (v,int));
5233
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5234
function prototypes and stuff, but not '\xHH' hex character constants.
5235
These don't provoke an error unfortunately, instead are silently treated
5236
as 'x'. The following induces an error, until -std is added to get
5237
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5238
array size at least. It's necessary to write '\x00'==0 to get something
5239
that's true only with -std. */
5240
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5242
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5243
inside strings and character constants. */
5245
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5247
int test (int i, double x);
5248
struct s1 {int (*f) (int a);};
5249
struct s2 {int (*f) (double a);};
5250
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5256
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5261
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5262
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5264
CC="$ac_save_CC $ac_arg"
5265
if ac_fn_c_try_compile "$LINENO"; then :
5266
ac_cv_prog_cc_c89=$ac_arg
5268
rm -f core conftest.err conftest.$ac_objext
5269
test "x$ac_cv_prog_cc_c89" != "xno" && break
5271
rm -f conftest.$ac_ext
5276
case "x$ac_cv_prog_cc_c89" in
5278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5279
$as_echo "none needed" >&6; } ;;
5281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5282
$as_echo "unsupported" >&6; } ;;
5284
CC="$CC $ac_cv_prog_cc_c89"
5285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5286
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5288
if test "x$ac_cv_prog_cc_c89" != xno; then :
5293
ac_cpp='$CPP $CPPFLAGS'
5294
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5295
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5296
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5298
depcc="$CC" am_compiler_list=
5300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5301
$as_echo_n "checking dependency style of $depcc... " >&6; }
5302
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5303
$as_echo_n "(cached) " >&6
5305
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5306
# We make a subdir and do the tests there. Otherwise we can end up
5307
# making bogus files that we don't know about and never remove. For
5308
# instance it was reported that on HP-UX the gcc test will end up
5309
# making a dummy file named `D' -- because `-MD' means `put the output
5312
# Copy depcomp to subdir because otherwise we won't find it if we're
5313
# using a relative directory.
5314
cp "$am_depcomp" conftest.dir
5316
# We will build objects and dependencies in a subdirectory because
5317
# it helps to detect inapplicable dependency modes. For instance
5318
# both Tru64's cc and ICC support -MD to output dependencies as a
5319
# side effect of compilation, but ICC will put the dependencies in
5320
# the current directory while Tru64 will put them in the object
5324
am_cv_CC_dependencies_compiler_type=none
5325
if test "$am_compiler_list" = ""; then
5326
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5329
case " $depcc " in #(
5330
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5333
for depmode in $am_compiler_list; do
5334
# Setup a source with many dependencies, because some compilers
5335
# like to wrap large dependency lists on column 80 (with \), and
5336
# we should not choose a depcomp mode which is confused by this.
5338
# We need to recreate these files for each test, as the compiler may
5339
# overwrite some of them when testing with obscure command lines.
5340
# This happens at least with the AIX C compiler.
5342
for i in 1 2 3 4 5 6; do
5343
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5344
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5345
# Solaris 8's {/usr,}/bin/sh.
5346
touch sub/conftst$i.h
5348
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5350
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5351
# mode. It turns out that the SunPro C++ compiler does not properly
5352
# handle `-M -o', and we need to detect this. Also, some Intel
5353
# versions had trouble with output in subdirs
5354
am__obj=sub/conftest.${OBJEXT-o}
5355
am__minus_obj="-o $am__obj"
5358
# This depmode causes a compiler race in universal mode.
5359
test "$am__universal" = false || continue
5362
# after this tag, mechanisms are not by side-effect, so they'll
5363
# only be used when explicitly requested
5364
if test "x$enable_dependency_tracking" = xyes; then
5370
msvisualcpp | msvcmsys)
5371
# This compiler won't grok `-c -o', but also, the minuso test has
5372
# not run yet. These depmodes are late enough in the game, and
5373
# so weak that their functioning should not be impacted.
5374
am__obj=conftest.${OBJEXT-o}
5379
if depmode=$depmode \
5380
source=sub/conftest.c object=$am__obj \
5381
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5382
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5383
>/dev/null 2>conftest.err &&
5384
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5385
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5386
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5387
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5388
# icc doesn't choke on unknown options, it will just issue warnings
5389
# or remarks (even with -Werror). So we grep stderr for any message
5390
# that says an option was ignored or not supported.
5391
# When given -MP, icc 7.0 and 7.1 complain thusly:
5392
# icc: Command line warning: ignoring option '-M'; no argument required
5393
# The diagnosis changed in icc 8.0:
5394
# icc: Command line remark: option '-MP' not supported
5395
if (grep 'ignoring option' conftest.err ||
5396
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5397
am_cv_CC_dependencies_compiler_type=$depmode
5406
am_cv_CC_dependencies_compiler_type=none
5410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5411
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5412
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5415
test "x$enable_dependency_tracking" != xno \
5416
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5418
am__fastdepCC_FALSE='#'
5420
am__fastdepCC_TRUE='#'
5421
am__fastdepCC_FALSE=
5427
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5428
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5433
macro_version='2.2.10'
5434
macro_revision='1.3175'
5448
ltmain="$ac_aux_dir/ltmain.sh"
5450
# Backslashify metacharacters that are still active within
5451
# double-quoted strings.
5452
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5454
# Same as above, but do not quote variable references.
5455
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5457
# Sed substitution to delay expansion of an escaped shell variable in a
5458
# double_quote_subst'ed string.
5459
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5461
# Sed substitution to delay expansion of an escaped single quote.
5462
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5464
# Sed substitution to avoid accidental globbing in evaled expressions
5465
no_glob_subst='s/\*/\\\*/g'
5467
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5468
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5469
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5472
$as_echo_n "checking how to print strings... " >&6; }
5473
# Test print first, because it will be a builtin if present.
5474
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5475
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5477
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5480
# Use this function as a fallback that always works.
5481
func_fallback_echo ()
5483
eval 'cat <<_LTECHO_EOF
5487
ECHO='func_fallback_echo'
5490
# func_echo_all arg...
5491
# Invoke $ECHO with all args, space-separated.
5498
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5499
$as_echo "printf" >&6; } ;;
5500
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5501
$as_echo "print -r" >&6; } ;;
5502
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5503
$as_echo "cat" >&6; } ;;
5519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5520
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5521
if ${ac_cv_path_SED+:} false; then :
5522
$as_echo_n "(cached) " >&6
5524
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5525
for ac_i in 1 2 3 4 5 6 7; do
5526
ac_script="$ac_script$as_nl$ac_script"
5528
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5529
{ ac_script=; unset ac_script;}
5530
if test -z "$SED"; then
5531
ac_path_SED_found=false
5532
# Loop through the user's path and test for each of PROGNAME-LIST
5533
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537
test -z "$as_dir" && as_dir=.
5538
for ac_prog in sed gsed; do
5539
for ac_exec_ext in '' $ac_executable_extensions; do
5540
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5541
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5542
# Check for GNU ac_path_SED and select it if it is found.
5543
# Check for GNU $ac_path_SED
5544
case `"$ac_path_SED" --version 2>&1` in
5546
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5549
$as_echo_n 0123456789 >"conftest.in"
5552
cat "conftest.in" "conftest.in" >"conftest.tmp"
5553
mv "conftest.tmp" "conftest.in"
5554
cp "conftest.in" "conftest.nl"
5555
$as_echo '' >> "conftest.nl"
5556
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5557
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5558
as_fn_arith $ac_count + 1 && ac_count=$as_val
5559
if test $ac_count -gt ${ac_path_SED_max-0}; then
5560
# Best one so far, save it but keep looking for a better one
5561
ac_cv_path_SED="$ac_path_SED"
5562
ac_path_SED_max=$ac_count
5564
# 10*(2^10) chars as input seems more than enough
5565
test $ac_count -gt 10 && break
5567
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5570
$ac_path_SED_found && break 3
5575
if test -z "$ac_cv_path_SED"; then
5576
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5584
$as_echo "$ac_cv_path_SED" >&6; }
5585
SED="$ac_cv_path_SED"
5588
test -z "$SED" && SED=sed
5589
Xsed="$SED -e 1s/^X//"
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4088
5602
$as_echo_n "checking for fgrep... " >&6; }
4089
if test "${ac_cv_path_FGREP+set}" = set; then
5603
if ${ac_cv_path_FGREP+:} false; then :
4090
5604
$as_echo_n "(cached) " >&6
4092
5606
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6481
ac_cpp='$CPP $CPPFLAGS'
6482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6483
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6485
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6486
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6487
# On Suns, sometimes $CPP names a directory.
6488
if test -n "$CPP" && test -d "$CPP"; then
6491
if test -z "$CPP"; then
6492
if test "${ac_cv_prog_CPP+set}" = set; then
6493
$as_echo_n "(cached) " >&6
6495
# Double quotes because CPP needs to be expanded
6496
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6499
for ac_c_preproc_warn_flag in '' yes
6501
# Use a header file that comes with gcc, so configuring glibc
6502
# with a fresh cross-compiler works.
6503
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6504
# <limits.h> exists even on freestanding compilers.
6505
# On the NeXT, cc -E runs the code through the compiler's parser,
6506
# not just through cpp. "Syntax error" is here to catch this case.
6507
cat >conftest.$ac_ext <<_ACEOF
6510
cat confdefs.h >>conftest.$ac_ext
6511
cat >>conftest.$ac_ext <<_ACEOF
6512
/* end confdefs.h. */
6514
# include <limits.h>
6516
# include <assert.h>
6520
if { (ac_try="$ac_cpp conftest.$ac_ext"
6522
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6523
*) ac_try_echo=$ac_try;;
6525
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6526
$as_echo "$ac_try_echo") >&5
6527
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6529
grep -v '^ *+' conftest.er1 >conftest.err
6531
cat conftest.err >&5
6532
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533
(exit $ac_status); } >/dev/null && {
6534
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6535
test ! -s conftest.err
6539
$as_echo "$as_me: failed program was:" >&5
6540
sed 's/^/| /' conftest.$ac_ext >&5
6542
# Broken: fails on valid input.
6546
rm -f conftest.err conftest.$ac_ext
6548
# OK, works on sane cases. Now check whether nonexistent headers
6549
# can be detected and how.
6550
cat >conftest.$ac_ext <<_ACEOF
6553
cat confdefs.h >>conftest.$ac_ext
6554
cat >>conftest.$ac_ext <<_ACEOF
6555
/* end confdefs.h. */
6556
#include <ac_nonexistent.h>
6558
if { (ac_try="$ac_cpp conftest.$ac_ext"
6560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6561
*) ac_try_echo=$ac_try;;
6563
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6564
$as_echo "$ac_try_echo") >&5
6565
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6567
grep -v '^ *+' conftest.er1 >conftest.err
6569
cat conftest.err >&5
6570
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571
(exit $ac_status); } >/dev/null && {
6572
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6573
test ! -s conftest.err
6575
# Broken: success on invalid input.
6578
$as_echo "$as_me: failed program was:" >&5
6579
sed 's/^/| /' conftest.$ac_ext >&5
6581
# Passes both tests.
6586
rm -f conftest.err conftest.$ac_ext
6589
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6590
rm -f conftest.err conftest.$ac_ext
6591
if $ac_preproc_ok; then
6603
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6604
$as_echo "$CPP" >&6; }
6606
for ac_c_preproc_warn_flag in '' yes
6608
# Use a header file that comes with gcc, so configuring glibc
6609
# with a fresh cross-compiler works.
6610
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6611
# <limits.h> exists even on freestanding compilers.
6612
# On the NeXT, cc -E runs the code through the compiler's parser,
6613
# not just through cpp. "Syntax error" is here to catch this case.
6614
cat >conftest.$ac_ext <<_ACEOF
6617
cat confdefs.h >>conftest.$ac_ext
6618
cat >>conftest.$ac_ext <<_ACEOF
6619
/* end confdefs.h. */
6621
# include <limits.h>
6623
# include <assert.h>
6627
if { (ac_try="$ac_cpp conftest.$ac_ext"
6629
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6630
*) ac_try_echo=$ac_try;;
6632
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6633
$as_echo "$ac_try_echo") >&5
6634
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6636
grep -v '^ *+' conftest.er1 >conftest.err
6638
cat conftest.err >&5
6639
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640
(exit $ac_status); } >/dev/null && {
6641
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6642
test ! -s conftest.err
6646
$as_echo "$as_me: failed program was:" >&5
6647
sed 's/^/| /' conftest.$ac_ext >&5
6649
# Broken: fails on valid input.
6653
rm -f conftest.err conftest.$ac_ext
6655
# OK, works on sane cases. Now check whether nonexistent headers
6656
# can be detected and how.
6657
cat >conftest.$ac_ext <<_ACEOF
6660
cat confdefs.h >>conftest.$ac_ext
6661
cat >>conftest.$ac_ext <<_ACEOF
6662
/* end confdefs.h. */
6663
#include <ac_nonexistent.h>
6665
if { (ac_try="$ac_cpp conftest.$ac_ext"
6667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6668
*) ac_try_echo=$ac_try;;
6670
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6671
$as_echo "$ac_try_echo") >&5
6672
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6674
grep -v '^ *+' conftest.er1 >conftest.err
6676
cat conftest.err >&5
6677
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678
(exit $ac_status); } >/dev/null && {
6679
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6680
test ! -s conftest.err
6682
# Broken: success on invalid input.
6685
$as_echo "$as_me: failed program was:" >&5
6686
sed 's/^/| /' conftest.$ac_ext >&5
6688
# Passes both tests.
6693
rm -f conftest.err conftest.$ac_ext
6696
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6697
rm -f conftest.err conftest.$ac_ext
6698
if $ac_preproc_ok; then
6701
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6702
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6703
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6704
See \`config.log' for more details." >&5
6705
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6706
See \`config.log' for more details." >&2;}
6707
{ (exit 1); exit 1; }; }; }
6711
ac_cpp='$CPP $CPPFLAGS'
6712
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6713
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6714
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6717
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6718
$as_echo_n "checking for ANSI C header files... " >&6; }
6719
if test "${ac_cv_header_stdc+set}" = set; then
6720
$as_echo_n "(cached) " >&6
6722
cat >conftest.$ac_ext <<_ACEOF
6725
cat confdefs.h >>conftest.$ac_ext
6726
cat >>conftest.$ac_ext <<_ACEOF
6727
/* end confdefs.h. */
6741
rm -f conftest.$ac_objext
6742
if { (ac_try="$ac_compile"
6744
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6745
*) ac_try_echo=$ac_try;;
6747
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6748
$as_echo "$ac_try_echo") >&5
6749
(eval "$ac_compile") 2>conftest.er1
6751
grep -v '^ *+' conftest.er1 >conftest.err
6753
cat conftest.err >&5
6754
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755
(exit $ac_status); } && {
6756
test -z "$ac_c_werror_flag" ||
6757
test ! -s conftest.err
6758
} && test -s conftest.$ac_objext; then
6759
ac_cv_header_stdc=yes
6761
$as_echo "$as_me: failed program was:" >&5
6762
sed 's/^/| /' conftest.$ac_ext >&5
6764
ac_cv_header_stdc=no
6767
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6769
if test $ac_cv_header_stdc = yes; then
6770
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6771
cat >conftest.$ac_ext <<_ACEOF
6774
cat confdefs.h >>conftest.$ac_ext
6775
cat >>conftest.$ac_ext <<_ACEOF
6776
/* end confdefs.h. */
6780
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6781
$EGREP "memchr" >/dev/null 2>&1; then
6784
ac_cv_header_stdc=no
6790
if test $ac_cv_header_stdc = yes; then
6791
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6792
cat >conftest.$ac_ext <<_ACEOF
6795
cat confdefs.h >>conftest.$ac_ext
6796
cat >>conftest.$ac_ext <<_ACEOF
6797
/* end confdefs.h. */
6801
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6802
$EGREP "free" >/dev/null 2>&1; then
6805
ac_cv_header_stdc=no
6811
if test $ac_cv_header_stdc = yes; then
6812
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6813
if test "$cross_compiling" = yes; then
6816
cat >conftest.$ac_ext <<_ACEOF
6819
cat confdefs.h >>conftest.$ac_ext
6820
cat >>conftest.$ac_ext <<_ACEOF
6821
/* end confdefs.h. */
6824
#if ((' ' & 0x0FF) == 0x020)
6825
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6826
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6828
# define ISLOWER(c) \
6829
(('a' <= (c) && (c) <= 'i') \
6830
|| ('j' <= (c) && (c) <= 'r') \
6831
|| ('s' <= (c) && (c) <= 'z'))
6832
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6835
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6840
for (i = 0; i < 256; i++)
6841
if (XOR (islower (i), ISLOWER (i))
6842
|| toupper (i) != TOUPPER (i))
6847
rm -f conftest$ac_exeext
6848
if { (ac_try="$ac_link"
6850
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6851
*) ac_try_echo=$ac_try;;
6853
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6854
$as_echo "$ac_try_echo") >&5
6855
(eval "$ac_link") 2>&5
6857
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6859
{ (case "(($ac_try" in
6860
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6861
*) ac_try_echo=$ac_try;;
6863
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6864
$as_echo "$ac_try_echo") >&5
6865
(eval "$ac_try") 2>&5
6867
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868
(exit $ac_status); }; }; then
6871
$as_echo "$as_me: program exited with status $ac_status" >&5
6872
$as_echo "$as_me: failed program was:" >&5
6873
sed 's/^/| /' conftest.$ac_ext >&5
6876
ac_cv_header_stdc=no
6878
rm -rf conftest.dSYM
6879
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6885
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6886
$as_echo "$ac_cv_header_stdc" >&6; }
6887
if test $ac_cv_header_stdc = yes; then
6889
cat >>confdefs.h <<\_ACEOF
6890
#define STDC_HEADERS 1
6895
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6905
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6906
inttypes.h stdint.h unistd.h
6908
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6909
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6910
$as_echo_n "checking for $ac_header... " >&6; }
6911
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6912
$as_echo_n "(cached) " >&6
6914
cat >conftest.$ac_ext <<_ACEOF
6917
cat confdefs.h >>conftest.$ac_ext
6918
cat >>conftest.$ac_ext <<_ACEOF
6919
/* end confdefs.h. */
6920
$ac_includes_default
6922
#include <$ac_header>
6924
rm -f conftest.$ac_objext
6925
if { (ac_try="$ac_compile"
6927
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6928
*) ac_try_echo=$ac_try;;
6930
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6931
$as_echo "$ac_try_echo") >&5
6932
(eval "$ac_compile") 2>conftest.er1
6934
grep -v '^ *+' conftest.er1 >conftest.err
6936
cat conftest.err >&5
6937
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938
(exit $ac_status); } && {
6939
test -z "$ac_c_werror_flag" ||
6940
test ! -s conftest.err
6941
} && test -s conftest.$ac_objext; then
6942
eval "$as_ac_Header=yes"
6944
$as_echo "$as_me: failed program was:" >&5
6945
sed 's/^/| /' conftest.$ac_ext >&5
6947
eval "$as_ac_Header=no"
6950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6952
ac_res=`eval 'as_val=${'$as_ac_Header'}
6953
$as_echo "$as_val"'`
6954
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6955
$as_echo "$ac_res" >&6; }
6956
as_val=`eval 'as_val=${'$as_ac_Header'}
6957
$as_echo "$as_val"'`
6958
if test "x$as_val" = x""yes; then
6959
cat >>confdefs.h <<_ACEOF
6960
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6969
7998
for ac_header in dlfcn.h
6971
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6972
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6973
$as_echo_n "checking for $ac_header... " >&6; }
6974
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6975
$as_echo_n "(cached) " >&6
6977
cat >conftest.$ac_ext <<_ACEOF
6980
cat confdefs.h >>conftest.$ac_ext
6981
cat >>conftest.$ac_ext <<_ACEOF
6982
/* end confdefs.h. */
6983
$ac_includes_default
6985
#include <$ac_header>
6987
rm -f conftest.$ac_objext
6988
if { (ac_try="$ac_compile"
6990
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6991
*) ac_try_echo=$ac_try;;
6993
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6994
$as_echo "$ac_try_echo") >&5
6995
(eval "$ac_compile") 2>conftest.er1
6997
grep -v '^ *+' conftest.er1 >conftest.err
6999
cat conftest.err >&5
7000
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001
(exit $ac_status); } && {
7002
test -z "$ac_c_werror_flag" ||
7003
test ! -s conftest.err
7004
} && test -s conftest.$ac_objext; then
7005
eval "$as_ac_Header=yes"
7007
$as_echo "$as_me: failed program was:" >&5
7008
sed 's/^/| /' conftest.$ac_ext >&5
7010
eval "$as_ac_Header=no"
7013
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7015
ac_res=`eval 'as_val=${'$as_ac_Header'}
7016
$as_echo "$as_val"'`
7017
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7018
$as_echo "$ac_res" >&6; }
7019
as_val=`eval 'as_val=${'$as_ac_Header'}
7020
$as_echo "$as_val"'`
7021
if test "x$as_val" = x""yes; then
8000
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7022
8003
cat >>confdefs.h <<_ACEOF
7023
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8004
#define HAVE_DLFCN_H 1
12402
12858
sed_quote_subst='$sed_quote_subst'
12403
12859
double_quote_subst='$double_quote_subst'
12404
12860
delay_variable_subst='$delay_variable_subst'
12405
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12406
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12407
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12408
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12409
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12410
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12411
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12412
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12413
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12414
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12415
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12416
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12417
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12418
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12419
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12420
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12421
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12422
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12423
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12424
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12425
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12426
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12427
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12428
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12429
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12430
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12431
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12432
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12433
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12434
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12435
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12436
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12437
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12438
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12439
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12440
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12441
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12442
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12443
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12444
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12445
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12446
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12447
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12448
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12449
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12450
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12451
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12452
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12453
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12454
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12455
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12456
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12457
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12458
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12459
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12460
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12461
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12462
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12463
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12464
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12465
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12466
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12467
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12468
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12469
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12470
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12471
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12472
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12473
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12474
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12475
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12476
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12477
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12478
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12479
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12480
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12481
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12482
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12483
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12484
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12485
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12486
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12487
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12488
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12489
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12490
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12491
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12492
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12493
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12494
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12495
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12496
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12497
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12498
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12499
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12500
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12501
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12502
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12503
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12504
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12505
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12506
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12507
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12508
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12509
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12510
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12511
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12512
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12513
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12514
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12515
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12516
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12517
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12518
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12519
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12520
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12521
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12522
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12861
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12862
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12863
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12864
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12865
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12866
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12867
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12868
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12869
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12870
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12871
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12872
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12873
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12874
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12875
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12876
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12877
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12878
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12879
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12880
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12881
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12882
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12883
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12884
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12885
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12886
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12887
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12888
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12889
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12890
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12891
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12892
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12893
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12894
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12895
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12896
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12897
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12898
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12899
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12900
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12901
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12902
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12903
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12904
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12905
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12906
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12907
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12908
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12909
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
12910
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12911
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12912
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12913
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12914
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12915
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12916
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12917
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12918
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12919
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12920
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12921
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12922
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12923
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12924
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12925
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12926
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12927
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12928
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12929
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12930
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12931
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12932
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12933
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12934
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12935
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12936
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12937
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12938
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12939
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12940
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12941
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12942
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12943
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12944
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12945
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12946
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12947
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12948
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12949
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12950
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12951
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12952
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12953
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12954
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12955
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12956
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12957
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12958
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12959
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12960
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12961
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12962
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12963
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12964
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12965
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12966
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12967
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12968
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12969
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12970
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12971
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12972
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12973
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12974
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12975
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12976
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12977
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12978
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12979
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12980
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12525
12983
LTCFLAGS='$LTCFLAGS'
12526
12984
compiler='$compiler_DEFAULT'
12986
# A function that is used when there is no print builtin or printf.
12987
func_fallback_echo ()
12989
eval 'cat <<_LTECHO_EOF
12528
12994
# Quote evaled strings.