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 '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
138
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
177
178
as_have_required=yes
179
180
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
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
190
test -z "$as_dir" && as_dir=.
249
194
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
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
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
export CONFIG_SHELL
368
223
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. :-)
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: ucimf@googlegroups.com about your system, including any
235
$0: error possibly output before this message. Then install
236
$0: a modern shell, or manually run the script under such a
237
$0: shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1651
1619
test -n "$ac_init_help" && exit $ac_status
1652
1620
if $ac_init_version; then
1654
fbterm_ucimf configure 0.2.6
1655
generated by GNU Autoconf 2.63
1622
fbterm_ucimf configure 0.2.7.1
1623
generated by GNU Autoconf 2.65
1657
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1658
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1625
Copyright (C) 2009 Free Software Foundation, Inc.
1659
1626
This configure script is free software; the Free Software Foundation
1660
1627
gives unlimited permission to copy, distribute and modify it.
1632
## ------------------------ ##
1633
## Autoconf initialization. ##
1634
## ------------------------ ##
1636
# ac_fn_cxx_try_compile LINENO
1637
# ----------------------------
1638
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1639
ac_fn_cxx_try_compile ()
1641
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642
rm -f conftest.$ac_objext
1643
if { { ac_try="$ac_compile"
1645
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1646
*) ac_try_echo=$ac_try;;
1648
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649
$as_echo "$ac_try_echo"; } >&5
1650
(eval "$ac_compile") 2>conftest.err
1652
if test -s conftest.err; then
1653
grep -v '^ *+' conftest.err >conftest.er1
1654
cat conftest.er1 >&5
1655
mv -f conftest.er1 conftest.err
1657
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658
test $ac_status = 0; } && {
1659
test -z "$ac_cxx_werror_flag" ||
1660
test ! -s conftest.err
1661
} && test -s conftest.$ac_objext; then :
1664
$as_echo "$as_me: failed program was:" >&5
1665
sed 's/^/| /' conftest.$ac_ext >&5
1669
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1670
as_fn_set_status $ac_retval
1672
} # ac_fn_cxx_try_compile
1674
# ac_fn_c_try_compile LINENO
1675
# --------------------------
1676
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1677
ac_fn_c_try_compile ()
1679
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680
rm -f conftest.$ac_objext
1681
if { { ac_try="$ac_compile"
1683
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684
*) ac_try_echo=$ac_try;;
1686
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687
$as_echo "$ac_try_echo"; } >&5
1688
(eval "$ac_compile") 2>conftest.err
1690
if test -s conftest.err; then
1691
grep -v '^ *+' conftest.err >conftest.er1
1692
cat conftest.er1 >&5
1693
mv -f conftest.er1 conftest.err
1695
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696
test $ac_status = 0; } && {
1697
test -z "$ac_c_werror_flag" ||
1698
test ! -s conftest.err
1699
} && test -s conftest.$ac_objext; then :
1702
$as_echo "$as_me: failed program was:" >&5
1703
sed 's/^/| /' conftest.$ac_ext >&5
1707
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708
as_fn_set_status $ac_retval
1710
} # ac_fn_c_try_compile
1712
# ac_fn_c_try_link LINENO
1713
# -----------------------
1714
# Try to link conftest.$ac_ext, and return whether this succeeded.
1717
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718
rm -f conftest.$ac_objext conftest$ac_exeext
1719
if { { ac_try="$ac_link"
1721
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722
*) ac_try_echo=$ac_try;;
1724
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725
$as_echo "$ac_try_echo"; } >&5
1726
(eval "$ac_link") 2>conftest.err
1728
if test -s conftest.err; then
1729
grep -v '^ *+' conftest.err >conftest.er1
1730
cat conftest.er1 >&5
1731
mv -f conftest.er1 conftest.err
1733
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734
test $ac_status = 0; } && {
1735
test -z "$ac_c_werror_flag" ||
1736
test ! -s conftest.err
1737
} && test -s conftest$ac_exeext && {
1738
test "$cross_compiling" = yes ||
1739
$as_test_x conftest$ac_exeext
1743
$as_echo "$as_me: failed program was:" >&5
1744
sed 's/^/| /' conftest.$ac_ext >&5
1748
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1749
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1750
# interfere with the next link command; also delete a directory that is
1751
# left behind by Apple's compiler. We do this before executing the actions.
1752
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1754
as_fn_set_status $ac_retval
1756
} # ac_fn_c_try_link
1758
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1759
# -------------------------------------------------------
1760
# Tests whether HEADER exists and can be compiled using the include files in
1761
# INCLUDES, setting the cache variable VAR accordingly.
1762
ac_fn_c_check_header_compile ()
1764
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766
$as_echo_n "checking for $2... " >&6; }
1767
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1768
$as_echo_n "(cached) " >&6
1770
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771
/* end confdefs.h. */
1775
if ac_fn_c_try_compile "$LINENO"; then :
1780
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784
$as_echo "$ac_res" >&6; }
1785
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1787
} # ac_fn_c_check_header_compile
1789
# ac_fn_c_try_cpp LINENO
1790
# ----------------------
1791
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1794
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795
if { { ac_try="$ac_cpp conftest.$ac_ext"
1797
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1798
*) ac_try_echo=$ac_try;;
1800
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801
$as_echo "$ac_try_echo"; } >&5
1802
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804
if test -s conftest.err; then
1805
grep -v '^ *+' conftest.err >conftest.er1
1806
cat conftest.er1 >&5
1807
mv -f conftest.er1 conftest.err
1809
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810
test $ac_status = 0; } >/dev/null && {
1811
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1812
test ! -s conftest.err
1816
$as_echo "$as_me: failed program was:" >&5
1817
sed 's/^/| /' conftest.$ac_ext >&5
1821
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822
as_fn_set_status $ac_retval
1826
# ac_fn_c_try_run LINENO
1827
# ----------------------
1828
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1829
# that executables *can* be run.
1832
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833
if { { ac_try="$ac_link"
1835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
*) ac_try_echo=$ac_try;;
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839
$as_echo "$ac_try_echo"; } >&5
1840
(eval "$ac_link") 2>&5
1842
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1844
{ { case "(($ac_try" in
1845
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846
*) ac_try_echo=$ac_try;;
1848
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849
$as_echo "$ac_try_echo"; } >&5
1850
(eval "$ac_try") 2>&5
1852
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853
test $ac_status = 0; }; }; then :
1856
$as_echo "$as_me: program exited with status $ac_status" >&5
1857
$as_echo "$as_me: failed program was:" >&5
1858
sed 's/^/| /' conftest.$ac_ext >&5
1860
ac_retval=$ac_status
1862
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864
as_fn_set_status $ac_retval
1868
# ac_fn_c_check_func LINENO FUNC VAR
1869
# ----------------------------------
1870
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1871
ac_fn_c_check_func ()
1873
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875
$as_echo_n "checking for $2... " >&6; }
1876
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1877
$as_echo_n "(cached) " >&6
1879
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880
/* end confdefs.h. */
1881
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1882
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1883
#define $2 innocuous_$2
1885
/* System header to define __stub macros and hopefully few prototypes,
1886
which can conflict with char $2 (); below.
1887
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1888
<limits.h> exists even on freestanding compilers. */
1891
# include <limits.h>
1893
# include <assert.h>
1898
/* Override any GCC internal prototype to avoid an error.
1899
Use char because int might match the return type of a GCC
1900
builtin and then its argument prototype would still apply. */
1905
/* The GNU C library defines this for functions which it implements
1906
to always fail with ENOSYS. Some functions are actually named
1907
something starting with __ and the normal name is an alias. */
1908
#if defined __stub_$2 || defined __stub___$2
1920
if ac_fn_c_try_link "$LINENO"; then :
1925
rm -f core conftest.err conftest.$ac_objext \
1926
conftest$ac_exeext conftest.$ac_ext
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930
$as_echo "$ac_res" >&6; }
1931
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933
} # ac_fn_c_check_func
1935
# ac_fn_cxx_try_cpp LINENO
1936
# ------------------------
1937
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1938
ac_fn_cxx_try_cpp ()
1940
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941
if { { ac_try="$ac_cpp conftest.$ac_ext"
1943
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944
*) ac_try_echo=$ac_try;;
1946
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947
$as_echo "$ac_try_echo"; } >&5
1948
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1950
if test -s conftest.err; then
1951
grep -v '^ *+' conftest.err >conftest.er1
1952
cat conftest.er1 >&5
1953
mv -f conftest.er1 conftest.err
1955
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956
test $ac_status = 0; } >/dev/null && {
1957
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1958
test ! -s conftest.err
1962
$as_echo "$as_me: failed program was:" >&5
1963
sed 's/^/| /' conftest.$ac_ext >&5
1967
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1968
as_fn_set_status $ac_retval
1970
} # ac_fn_cxx_try_cpp
1972
# ac_fn_cxx_try_link LINENO
1973
# -------------------------
1974
# Try to link conftest.$ac_ext, and return whether this succeeded.
1975
ac_fn_cxx_try_link ()
1977
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978
rm -f conftest.$ac_objext conftest$ac_exeext
1979
if { { ac_try="$ac_link"
1981
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1982
*) ac_try_echo=$ac_try;;
1984
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985
$as_echo "$ac_try_echo"; } >&5
1986
(eval "$ac_link") 2>conftest.err
1988
if test -s conftest.err; then
1989
grep -v '^ *+' conftest.err >conftest.er1
1990
cat conftest.er1 >&5
1991
mv -f conftest.er1 conftest.err
1993
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994
test $ac_status = 0; } && {
1995
test -z "$ac_cxx_werror_flag" ||
1996
test ! -s conftest.err
1997
} && test -s conftest$ac_exeext && {
1998
test "$cross_compiling" = yes ||
1999
$as_test_x conftest$ac_exeext
2003
$as_echo "$as_me: failed program was:" >&5
2004
sed 's/^/| /' conftest.$ac_ext >&5
2008
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2009
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2010
# interfere with the next link command; also delete a directory that is
2011
# left behind by Apple's compiler. We do this before executing the actions.
2012
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2013
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014
as_fn_set_status $ac_retval
2016
} # ac_fn_cxx_try_link
2018
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2019
# -------------------------------------------------------
2020
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2021
# the include files in INCLUDES and setting the cache variable VAR
2023
ac_fn_c_check_header_mongrel ()
2025
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028
$as_echo_n "checking for $2... " >&6; }
2029
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2030
$as_echo_n "(cached) " >&6
2033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034
$as_echo "$ac_res" >&6; }
2036
# Is the header compilable?
2037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2038
$as_echo_n "checking $2 usability... " >&6; }
2039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040
/* end confdefs.h. */
2044
if ac_fn_c_try_compile "$LINENO"; then :
2045
ac_header_compiler=yes
2047
ac_header_compiler=no
2049
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2051
$as_echo "$ac_header_compiler" >&6; }
2053
# Is the header present?
2054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2055
$as_echo_n "checking $2 presence... " >&6; }
2056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057
/* end confdefs.h. */
2060
if ac_fn_c_try_cpp "$LINENO"; then :
2061
ac_header_preproc=yes
2063
ac_header_preproc=no
2065
rm -f conftest.err conftest.$ac_ext
2066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2067
$as_echo "$ac_header_preproc" >&6; }
2069
# So? What about this header?
2070
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2072
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2073
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2074
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2075
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2079
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2080
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2081
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2082
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2083
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2084
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2085
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2086
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2089
## ------------------------------------- ##
2090
## Report this to ucimf@googlegroups.com ##
2091
## ------------------------------------- ##
2093
) | sed "s/^/$as_me: WARNING: /" >&2
2096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2097
$as_echo_n "checking for $2... " >&6; }
2098
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2099
$as_echo_n "(cached) " >&6
2101
eval "$3=\$ac_header_compiler"
2104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2105
$as_echo "$ac_res" >&6; }
2107
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2109
} # ac_fn_c_check_header_mongrel
2111
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2112
# -------------------------------------------
2113
# Tests whether TYPE exists after having included INCLUDES, setting cache
2114
# variable VAR accordingly.
2115
ac_fn_c_check_type ()
2117
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119
$as_echo_n "checking for $2... " >&6; }
2120
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121
$as_echo_n "(cached) " >&6
2124
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2125
/* end confdefs.h. */
2136
if ac_fn_c_try_compile "$LINENO"; then :
2137
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138
/* end confdefs.h. */
2149
if ac_fn_c_try_compile "$LINENO"; then :
2154
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2160
$as_echo "$ac_res" >&6; }
2161
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2163
} # ac_fn_c_check_type
1664
2164
cat >config.log <<_ACEOF
1665
2165
This file contains any messages produced by compilers while
1666
2166
running configure, to aid debugging if configure makes a mistake.
1668
It was created by fbterm_ucimf $as_me 0.2.6, which was
1669
generated by GNU Autoconf 2.63. Invocation command line was
2168
It was created by fbterm_ucimf $as_me 0.2.7.1, which was
2169
generated by GNU Autoconf 2.65. Invocation command line was
2217
2695
# expand $ac_aux_dir to an absolute path
2218
2696
am_aux_dir=`cd $ac_aux_dir && pwd`
2220
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2698
if test x"${MISSING+set}" != xset; then
2701
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2703
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2221
2706
# Use eval to expand $SHELL
2222
2707
if eval "$MISSING --run true"; then
2223
2708
am_missing_run="$MISSING --run "
2225
2710
am_missing_run=
2226
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2711
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2227
2712
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2230
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2715
if test x"${install_sh}" != xset; then
2718
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2720
install_sh="\${SHELL} $am_aux_dir/install-sh"
2724
# Installed binaries are usually stripped using `strip' when the user
2725
# run `make install-strip'. However `strip' might not be the right
2726
# tool to use in cross-compilation environments, therefore Automake
2727
# will honor the `STRIP' environment variable to overrule this program.
2728
if test "$cross_compiling" != no; then
2729
if test -n "$ac_tool_prefix"; then
2730
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2731
set dummy ${ac_tool_prefix}strip; ac_word=$2
2732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733
$as_echo_n "checking for $ac_word... " >&6; }
2734
if test "${ac_cv_prog_STRIP+set}" = set; then :
2735
$as_echo_n "(cached) " >&6
2737
if test -n "$STRIP"; then
2738
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744
test -z "$as_dir" && as_dir=.
2745
for ac_exec_ext in '' $ac_executable_extensions; do
2746
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2748
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757
STRIP=$ac_cv_prog_STRIP
2758
if test -n "$STRIP"; then
2759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2760
$as_echo "$STRIP" >&6; }
2762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763
$as_echo "no" >&6; }
2768
if test -z "$ac_cv_prog_STRIP"; then
2770
# Extract the first word of "strip", so it can be a program name with args.
2771
set dummy strip; ac_word=$2
2772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773
$as_echo_n "checking for $ac_word... " >&6; }
2774
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2775
$as_echo_n "(cached) " >&6
2777
if test -n "$ac_ct_STRIP"; then
2778
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2780
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784
test -z "$as_dir" && as_dir=.
2785
for ac_exec_ext in '' $ac_executable_extensions; do
2786
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2787
ac_cv_prog_ac_ct_STRIP="strip"
2788
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2798
if test -n "$ac_ct_STRIP"; then
2799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2800
$as_echo "$ac_ct_STRIP" >&6; }
2802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803
$as_echo "no" >&6; }
2806
if test "x$ac_ct_STRIP" = x; then
2809
case $cross_compiling:$ac_tool_warned in
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2812
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2813
ac_tool_warned=yes ;;
2818
STRIP="$ac_cv_prog_STRIP"
2822
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2231
2825
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2232
2826
if test -z "$MKDIR_P"; then
2233
if test "${ac_cv_path_mkdir+set}" = set; then
2827
if test "${ac_cv_path_mkdir+set}" = set; then :
2234
2828
$as_echo_n "(cached) " >&6
2236
2830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236
if test -z "$ac_file"; then :
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238
$as_echo "no" >&6; }
3239
$as_echo "$as_me: failed program was:" >&5
3240
sed 's/^/| /' conftest.$ac_ext >&5
2764
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3242
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244
{ as_fn_set_status 77
3245
as_fn_error "C++ compiler cannot create executables
3246
See \`config.log' for more details." "$LINENO" 5; }; }
3248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3249
$as_echo "yes" >&6; }
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3252
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2765
3254
$as_echo "$ac_file" >&6; }
2766
if test -z "$ac_file"; then
2767
$as_echo "$as_me: failed program was:" >&5
2768
sed 's/^/| /' conftest.$ac_ext >&5
2770
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2771
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2773
See \`config.log' for more details." >&5
2774
$as_echo "$as_me: error: C++ compiler cannot create executables
2775
See \`config.log' for more details." >&2;}
2776
{ (exit 77); exit 77; }; }; }
2779
3255
ac_exeext=$ac_cv_exeext
2781
# Check that the compiler produces executables we can run. If not, either
2782
# the compiler is broken, or we cross compile.
2783
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2784
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2785
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2786
# If not cross compiling, check that we can run a simple program.
2787
if test "$cross_compiling" != yes; then
2788
if { ac_try='./$ac_file'
2789
{ (case "(($ac_try" in
2790
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791
*) ac_try_echo=$ac_try;;
2793
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2794
$as_echo "$ac_try_echo") >&5
2795
(eval "$ac_try") 2>&5
2797
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798
(exit $ac_status); }; }; then
2801
if test "$cross_compiling" = maybe; then
2804
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2805
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806
{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2807
If you meant to cross compile, use \`--host'.
2808
See \`config.log' for more details." >&5
2809
$as_echo "$as_me: error: cannot run C++ compiled programs.
2810
If you meant to cross compile, use \`--host'.
2811
See \`config.log' for more details." >&2;}
2812
{ (exit 1); exit 1; }; }; }
2816
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2817
$as_echo "yes" >&6; }
2819
3257
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2820
3258
ac_clean_files=$ac_clean_files_save
2821
# Check that the compiler produces executables we can run. If not, either
2822
# the compiler is broken, or we cross compile.
2823
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2824
$as_echo_n "checking whether we are cross compiling... " >&6; }
2825
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2826
$as_echo "$cross_compiling" >&6; }
2828
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2829
3260
$as_echo_n "checking for suffix of executables... " >&6; }
2830
if { (ac_try="$ac_link"
3261
if { { ac_try="$ac_link"
2831
3262
case "(($ac_try" in
2832
3263
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833
3264
*) ac_try_echo=$ac_try;;
2835
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2836
$as_echo "$ac_try_echo") >&5
3266
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3267
$as_echo "$ac_try_echo"; } >&5
2837
3268
(eval "$ac_link") 2>&5
2839
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
(exit $ac_status); }; then
3270
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3271
test $ac_status = 0; }; then :
2841
3272
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2842
3273
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2843
3274
# work properly (i.e., refer to `conftest.exe'), while it won't with
11666
rm -f conftest.$ac_objext conftest$ac_exeext
11667
if { (ac_try="$ac_link"
11668
case "(($ac_try" in
11669
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11670
*) ac_try_echo=$ac_try;;
11672
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11673
$as_echo "$ac_try_echo") >&5
11674
(eval "$ac_link") 2>conftest.er1
11676
grep -v '^ *+' conftest.er1 >conftest.err
11678
cat conftest.err >&5
11679
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680
(exit $ac_status); } && {
11681
test -z "$ac_c_werror_flag" ||
11682
test ! -s conftest.err
11683
} && test -s conftest$ac_exeext && {
11684
test "$cross_compiling" = yes ||
11685
$as_test_x conftest$ac_exeext
11153
if ac_fn_c_try_link "$LINENO"; then :
11687
11154
ac_cv_lib_dld_shl_load=yes
11689
$as_echo "$as_me: failed program was:" >&5
11690
sed 's/^/| /' conftest.$ac_ext >&5
11692
ac_cv_lib_dld_shl_load=no
11156
ac_cv_lib_dld_shl_load=no
11695
rm -rf conftest.dSYM
11696
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11697
conftest$ac_exeext conftest.$ac_ext
11158
rm -f core conftest.err conftest.$ac_objext \
11159
conftest$ac_exeext conftest.$ac_ext
11698
11160
LIBS=$ac_check_lib_save_LIBS
11700
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11701
11163
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11702
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11164
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11703
11165
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11705
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11706
$as_echo_n "checking for dlopen... " >&6; }
11707
if test "${ac_cv_func_dlopen+set}" = set; then
11708
$as_echo_n "(cached) " >&6
11710
cat >conftest.$ac_ext <<_ACEOF
11713
cat confdefs.h >>conftest.$ac_ext
11714
cat >>conftest.$ac_ext <<_ACEOF
11715
/* end confdefs.h. */
11716
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11717
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11718
#define dlopen innocuous_dlopen
11720
/* System header to define __stub macros and hopefully few prototypes,
11721
which can conflict with char dlopen (); below.
11722
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11723
<limits.h> exists even on freestanding compilers. */
11726
# include <limits.h>
11728
# include <assert.h>
11733
/* Override any GCC internal prototype to avoid an error.
11734
Use char because int might match the return type of a GCC
11735
builtin and then its argument prototype would still apply. */
11740
/* The GNU C library defines this for functions which it implements
11741
to always fail with ENOSYS. Some functions are actually named
11742
something starting with __ and the normal name is an alias. */
11743
#if defined __stub_dlopen || defined __stub___dlopen
11755
rm -f conftest.$ac_objext conftest$ac_exeext
11756
if { (ac_try="$ac_link"
11757
case "(($ac_try" in
11758
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11759
*) ac_try_echo=$ac_try;;
11761
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11762
$as_echo "$ac_try_echo") >&5
11763
(eval "$ac_link") 2>conftest.er1
11765
grep -v '^ *+' conftest.er1 >conftest.err
11767
cat conftest.err >&5
11768
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769
(exit $ac_status); } && {
11770
test -z "$ac_c_werror_flag" ||
11771
test ! -s conftest.err
11772
} && test -s conftest$ac_exeext && {
11773
test "$cross_compiling" = yes ||
11774
$as_test_x conftest$ac_exeext
11776
ac_cv_func_dlopen=yes
11778
$as_echo "$as_me: failed program was:" >&5
11779
sed 's/^/| /' conftest.$ac_ext >&5
11781
ac_cv_func_dlopen=no
11784
rm -rf conftest.dSYM
11785
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11786
conftest$ac_exeext conftest.$ac_ext
11788
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11789
$as_echo "$ac_cv_func_dlopen" >&6; }
11790
if test "x$ac_cv_func_dlopen" = x""yes; then
11167
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11168
if test "x$ac_cv_func_dlopen" = x""yes; then :
11791
11169
lt_cv_dlopen="dlopen"
11793
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11794
11172
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11795
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11173
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11796
11174
$as_echo_n "(cached) " >&6
11798
11176
ac_check_lib_save_LIBS=$LIBS
11799
11177
LIBS="-ldl $LIBS"
11800
cat >conftest.$ac_ext <<_ACEOF
11803
cat confdefs.h >>conftest.$ac_ext
11804
cat >>conftest.$ac_ext <<_ACEOF
11178
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805
11179
/* end confdefs.h. */
11807
11181
/* Override any GCC internal prototype to avoid an error.
14554
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14555
if test -n "$ac_tool_prefix"; then
14556
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14557
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14559
$as_echo_n "checking for $ac_word... " >&6; }
14560
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14561
$as_echo_n "(cached) " >&6
14563
case $PKG_CONFIG in
14565
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14568
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14569
for as_dir in $PATH
14572
test -z "$as_dir" && as_dir=.
14573
for ac_exec_ext in '' $ac_executable_extensions; do
14574
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14575
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14576
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14586
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14587
if test -n "$PKG_CONFIG"; then
14588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14589
$as_echo "$PKG_CONFIG" >&6; }
14591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14592
$as_echo "no" >&6; }
14597
if test -z "$ac_cv_path_PKG_CONFIG"; then
14598
ac_pt_PKG_CONFIG=$PKG_CONFIG
14599
# Extract the first word of "pkg-config", so it can be a program name with args.
14600
set dummy pkg-config; ac_word=$2
14601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14602
$as_echo_n "checking for $ac_word... " >&6; }
14603
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14604
$as_echo_n "(cached) " >&6
14606
case $ac_pt_PKG_CONFIG in
14608
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14612
for as_dir in $PATH
14615
test -z "$as_dir" && as_dir=.
14616
for ac_exec_ext in '' $ac_executable_extensions; do
14617
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14618
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14619
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14629
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14630
if test -n "$ac_pt_PKG_CONFIG"; then
14631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14632
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14635
$as_echo "no" >&6; }
14638
if test "x$ac_pt_PKG_CONFIG" = x; then
14641
case $cross_compiling:$ac_tool_warned in
14643
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14644
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14645
ac_tool_warned=yes ;;
14647
PKG_CONFIG=$ac_pt_PKG_CONFIG
14650
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14654
if test -n "$PKG_CONFIG"; then
14655
_pkg_min_version=0.9.0
14656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14657
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14658
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14660
$as_echo "yes" >&6; }
14662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14663
$as_echo "no" >&6; }
14670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
14671
$as_echo_n "checking for freetype2... " >&6; }
14673
if test -n "$freetype2_CFLAGS"; then
14674
pkg_cv_freetype2_CFLAGS="$freetype2_CFLAGS"
14675
elif test -n "$PKG_CONFIG"; then
14676
if test -n "$PKG_CONFIG" && \
14677
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
14678
($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
14680
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14681
test $ac_status = 0; }; then
14682
pkg_cv_freetype2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
14689
if test -n "$freetype2_LIBS"; then
14690
pkg_cv_freetype2_LIBS="$freetype2_LIBS"
14691
elif test -n "$PKG_CONFIG"; then
14692
if test -n "$PKG_CONFIG" && \
14693
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
14694
($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
14696
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14697
test $ac_status = 0; }; then
14698
pkg_cv_freetype2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
14708
if test $pkg_failed = yes; then
14710
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14711
_pkg_short_errors_supported=yes
14713
_pkg_short_errors_supported=no
14715
if test $_pkg_short_errors_supported = yes; then
14716
freetype2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
14718
freetype2_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
14720
# Put the nasty error message in config.log where it belongs
14721
echo "$freetype2_PKG_ERRORS" >&5
14723
as_fn_error "Package requirements (freetype2) were not met:
14725
$freetype2_PKG_ERRORS
14727
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14728
installed software in a non-standard prefix.
14730
Alternatively, you may set the environment variables freetype2_CFLAGS
14731
and freetype2_LIBS to avoid the need to call pkg-config.
14732
See the pkg-config man page for more details.
14734
elif test $pkg_failed = untried; then
14735
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14736
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14737
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
14738
is in your PATH or set the PKG_CONFIG environment variable to the full
14739
path to pkg-config.
14741
Alternatively, you may set the environment variables freetype2_CFLAGS
14742
and freetype2_LIBS to avoid the need to call pkg-config.
14743
See the pkg-config man page for more details.
14745
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14746
See \`config.log' for more details." "$LINENO" 5; }
14748
freetype2_CFLAGS=$pkg_cv_freetype2_CFLAGS
14749
freetype2_LIBS=$pkg_cv_freetype2_LIBS
14750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14751
$as_echo "yes" >&6; }
14759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig" >&5
14760
$as_echo_n "checking for fontconfig... " >&6; }
14762
if test -n "$fontconfig_CFLAGS"; then
14763
pkg_cv_fontconfig_CFLAGS="$fontconfig_CFLAGS"
14764
elif test -n "$PKG_CONFIG"; then
14765
if test -n "$PKG_CONFIG" && \
14766
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
14767
($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
14769
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14770
test $ac_status = 0; }; then
14771
pkg_cv_fontconfig_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
14778
if test -n "$fontconfig_LIBS"; then
14779
pkg_cv_fontconfig_LIBS="$fontconfig_LIBS"
14780
elif test -n "$PKG_CONFIG"; then
14781
if test -n "$PKG_CONFIG" && \
14782
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
14783
($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
14785
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14786
test $ac_status = 0; }; then
14787
pkg_cv_fontconfig_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
14797
if test $pkg_failed = yes; then
14799
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14800
_pkg_short_errors_supported=yes
14802
_pkg_short_errors_supported=no
14804
if test $_pkg_short_errors_supported = yes; then
14805
fontconfig_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig" 2>&1`
14807
fontconfig_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig" 2>&1`
14809
# Put the nasty error message in config.log where it belongs
14810
echo "$fontconfig_PKG_ERRORS" >&5
14812
as_fn_error "Package requirements (fontconfig) were not met:
14814
$fontconfig_PKG_ERRORS
14816
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14817
installed software in a non-standard prefix.
14819
Alternatively, you may set the environment variables fontconfig_CFLAGS
14820
and fontconfig_LIBS to avoid the need to call pkg-config.
14821
See the pkg-config man page for more details.
14823
elif test $pkg_failed = untried; then
14824
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14825
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14826
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
14827
is in your PATH or set the PKG_CONFIG environment variable to the full
14828
path to pkg-config.
14830
Alternatively, you may set the environment variables fontconfig_CFLAGS
14831
and fontconfig_LIBS to avoid the need to call pkg-config.
14832
See the pkg-config man page for more details.
14834
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14835
See \`config.log' for more details." "$LINENO" 5; }
14837
fontconfig_CFLAGS=$pkg_cv_fontconfig_CFLAGS
14838
fontconfig_LIBS=$pkg_cv_fontconfig_LIBS
14839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14840
$as_echo "yes" >&6; }
15387
14846
# Checks for header files.
15388
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15389
14848
$as_echo_n "checking for ANSI C header files... " >&6; }
15390
if test "${ac_cv_header_stdc+set}" = set; then
14849
if test "${ac_cv_header_stdc+set}" = set; then :
15391
14850
$as_echo_n "(cached) " >&6
15393
cat >conftest.$ac_ext <<_ACEOF
15396
cat confdefs.h >>conftest.$ac_ext
15397
cat >>conftest.$ac_ext <<_ACEOF
14852
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398
14853
/* end confdefs.h. */
15399
14854
#include <stdlib.h>
15400
14855
#include <stdarg.h>
15518
rm -f conftest$ac_exeext
15519
if { (ac_try="$ac_link"
15520
case "(($ac_try" in
15521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15522
*) ac_try_echo=$ac_try;;
15524
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15525
$as_echo "$ac_try_echo") >&5
15526
(eval "$ac_link") 2>&5
15528
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15530
{ (case "(($ac_try" in
15531
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15532
*) ac_try_echo=$ac_try;;
15534
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15535
$as_echo "$ac_try_echo") >&5
15536
(eval "$ac_try") 2>&5
15538
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539
(exit $ac_status); }; }; then
14940
if ac_fn_c_try_run "$LINENO"; then :
15542
$as_echo "$as_me: program exited with status $ac_status" >&5
15543
$as_echo "$as_me: failed program was:" >&5
15544
sed 's/^/| /' conftest.$ac_ext >&5
15546
( exit $ac_status )
15547
ac_cv_header_stdc=no
15549
rm -rf conftest.dSYM
15550
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15556
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14943
ac_cv_header_stdc=no
14945
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14946
conftest.$ac_objext conftest.beam conftest.$ac_ext
14951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15557
14952
$as_echo "$ac_cv_header_stdc" >&6; }
15558
14953
if test $ac_cv_header_stdc = yes; then
15560
cat >>confdefs.h <<\_ACEOF
15561
#define STDC_HEADERS 1
14955
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15570
14959
for ac_header in stdlib.h string.h sys/socket.h unistd.h
15572
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15573
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15574
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15575
$as_echo_n "checking for $ac_header... " >&6; }
15576
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15577
$as_echo_n "(cached) " >&6
15579
ac_res=`eval 'as_val=${'$as_ac_Header'}
15580
$as_echo "$as_val"'`
15581
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15582
$as_echo "$ac_res" >&6; }
15584
# Is the header compilable?
15585
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15586
$as_echo_n "checking $ac_header usability... " >&6; }
15587
cat >conftest.$ac_ext <<_ACEOF
15590
cat confdefs.h >>conftest.$ac_ext
15591
cat >>conftest.$ac_ext <<_ACEOF
15592
/* end confdefs.h. */
15593
$ac_includes_default
15594
#include <$ac_header>
15596
rm -f conftest.$ac_objext
15597
if { (ac_try="$ac_compile"
15598
case "(($ac_try" in
15599
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15600
*) ac_try_echo=$ac_try;;
15602
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15603
$as_echo "$ac_try_echo") >&5
15604
(eval "$ac_compile") 2>conftest.er1
15606
grep -v '^ *+' conftest.er1 >conftest.err
15608
cat conftest.err >&5
15609
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610
(exit $ac_status); } && {
15611
test -z "$ac_c_werror_flag" ||
15612
test ! -s conftest.err
15613
} && test -s conftest.$ac_objext; then
15614
ac_header_compiler=yes
15616
$as_echo "$as_me: failed program was:" >&5
15617
sed 's/^/| /' conftest.$ac_ext >&5
15619
ac_header_compiler=no
15622
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15623
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15624
$as_echo "$ac_header_compiler" >&6; }
15626
# Is the header present?
15627
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15628
$as_echo_n "checking $ac_header presence... " >&6; }
15629
cat >conftest.$ac_ext <<_ACEOF
15632
cat confdefs.h >>conftest.$ac_ext
15633
cat >>conftest.$ac_ext <<_ACEOF
15634
/* end confdefs.h. */
15635
#include <$ac_header>
15637
if { (ac_try="$ac_cpp conftest.$ac_ext"
15638
case "(($ac_try" in
15639
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15640
*) ac_try_echo=$ac_try;;
15642
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15643
$as_echo "$ac_try_echo") >&5
15644
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15646
grep -v '^ *+' conftest.er1 >conftest.err
15648
cat conftest.err >&5
15649
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650
(exit $ac_status); } >/dev/null && {
15651
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15652
test ! -s conftest.err
15654
ac_header_preproc=yes
15656
$as_echo "$as_me: failed program was:" >&5
15657
sed 's/^/| /' conftest.$ac_ext >&5
15659
ac_header_preproc=no
15662
rm -f conftest.err conftest.$ac_ext
15663
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15664
$as_echo "$ac_header_preproc" >&6; }
15666
# So? What about this header?
15667
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15669
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15670
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15671
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15672
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15673
ac_header_preproc=yes
15676
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15677
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15678
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15679
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15680
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15681
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15682
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15683
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15684
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15685
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15686
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15687
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15689
## ------------------------------------- ##
15690
## Report this to ucimf@googlegroups.com ##
15691
## ------------------------------------- ##
15693
) | sed "s/^/$as_me: WARNING: /" >&2
15696
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15697
$as_echo_n "checking for $ac_header... " >&6; }
15698
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15699
$as_echo_n "(cached) " >&6
15701
eval "$as_ac_Header=\$ac_header_preproc"
15703
ac_res=`eval 'as_val=${'$as_ac_Header'}
15704
$as_echo "$as_val"'`
15705
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15706
$as_echo "$ac_res" >&6; }
15709
as_val=`eval 'as_val=${'$as_ac_Header'}
15710
$as_echo "$as_val"'`
15711
if test "x$as_val" = x""yes; then
14961
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14962
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14963
eval as_val=\$$as_ac_Header
14964
if test "x$as_val" = x""yes; then :
15712
14965
cat >>confdefs.h <<_ACEOF
15713
14966
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15811
rm -f conftest.$ac_objext
15812
if { (ac_try="$ac_compile"
15813
case "(($ac_try" in
15814
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15815
*) ac_try_echo=$ac_try;;
15817
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15818
$as_echo "$ac_try_echo") >&5
15819
(eval "$ac_compile") 2>conftest.er1
15821
grep -v '^ *+' conftest.er1 >conftest.err
15823
cat conftest.err >&5
15824
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825
(exit $ac_status); } && {
15826
test -z "$ac_c_werror_flag" ||
15827
test ! -s conftest.err
15828
} && test -s conftest.$ac_objext; then
15060
if ac_fn_c_try_compile "$LINENO"; then :
15829
15061
ac_cv_header_stdbool_h=yes
15831
$as_echo "$as_me: failed program was:" >&5
15832
sed 's/^/| /' conftest.$ac_ext >&5
15834
ac_cv_header_stdbool_h=no
15063
ac_cv_header_stdbool_h=no
15837
15065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15839
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
15067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15840
15068
$as_echo "$ac_cv_header_stdbool_h" >&6; }
15841
{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
15842
$as_echo_n "checking for _Bool... " >&6; }
15843
if test "${ac_cv_type__Bool+set}" = set; then
15844
$as_echo_n "(cached) " >&6
15846
ac_cv_type__Bool=no
15847
cat >conftest.$ac_ext <<_ACEOF
15850
cat confdefs.h >>conftest.$ac_ext
15851
cat >>conftest.$ac_ext <<_ACEOF
15852
/* end confdefs.h. */
15853
$ac_includes_default
15857
if (sizeof (_Bool))
15863
rm -f conftest.$ac_objext
15864
if { (ac_try="$ac_compile"
15865
case "(($ac_try" in
15866
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15867
*) ac_try_echo=$ac_try;;
15869
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15870
$as_echo "$ac_try_echo") >&5
15871
(eval "$ac_compile") 2>conftest.er1
15873
grep -v '^ *+' conftest.er1 >conftest.err
15875
cat conftest.err >&5
15876
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877
(exit $ac_status); } && {
15878
test -z "$ac_c_werror_flag" ||
15879
test ! -s conftest.err
15880
} && test -s conftest.$ac_objext; then
15881
cat >conftest.$ac_ext <<_ACEOF
15884
cat confdefs.h >>conftest.$ac_ext
15885
cat >>conftest.$ac_ext <<_ACEOF
15886
/* end confdefs.h. */
15887
$ac_includes_default
15891
if (sizeof ((_Bool)))
15897
rm -f conftest.$ac_objext
15898
if { (ac_try="$ac_compile"
15899
case "(($ac_try" in
15900
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15901
*) ac_try_echo=$ac_try;;
15903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15904
$as_echo "$ac_try_echo") >&5
15905
(eval "$ac_compile") 2>conftest.er1
15907
grep -v '^ *+' conftest.er1 >conftest.err
15909
cat conftest.err >&5
15910
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911
(exit $ac_status); } && {
15912
test -z "$ac_c_werror_flag" ||
15913
test ! -s conftest.err
15914
} && test -s conftest.$ac_objext; then
15917
$as_echo "$as_me: failed program was:" >&5
15918
sed 's/^/| /' conftest.$ac_ext >&5
15920
ac_cv_type__Bool=yes
15923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15925
$as_echo "$as_me: failed program was:" >&5
15926
sed 's/^/| /' conftest.$ac_ext >&5
15931
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
15934
$as_echo "$ac_cv_type__Bool" >&6; }
15935
if test "x$ac_cv_type__Bool" = x""yes; then
15069
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
15070
if test "x$ac_cv_type__Bool" = x""yes; then :
15937
15072
cat >>confdefs.h <<_ACEOF
15938
15073
#define HAVE__BOOL 1
16085
15121
for ac_header in vfork.h
16087
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16088
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16089
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16090
$as_echo_n "checking for $ac_header... " >&6; }
16091
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16092
$as_echo_n "(cached) " >&6
16094
ac_res=`eval 'as_val=${'$as_ac_Header'}
16095
$as_echo "$as_val"'`
16096
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16097
$as_echo "$ac_res" >&6; }
16099
# Is the header compilable?
16100
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16101
$as_echo_n "checking $ac_header usability... " >&6; }
16102
cat >conftest.$ac_ext <<_ACEOF
16105
cat confdefs.h >>conftest.$ac_ext
16106
cat >>conftest.$ac_ext <<_ACEOF
16107
/* end confdefs.h. */
16108
$ac_includes_default
16109
#include <$ac_header>
16111
rm -f conftest.$ac_objext
16112
if { (ac_try="$ac_compile"
16113
case "(($ac_try" in
16114
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115
*) ac_try_echo=$ac_try;;
16117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16118
$as_echo "$ac_try_echo") >&5
16119
(eval "$ac_compile") 2>conftest.er1
16121
grep -v '^ *+' conftest.er1 >conftest.err
16123
cat conftest.err >&5
16124
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125
(exit $ac_status); } && {
16126
test -z "$ac_c_werror_flag" ||
16127
test ! -s conftest.err
16128
} && test -s conftest.$ac_objext; then
16129
ac_header_compiler=yes
16131
$as_echo "$as_me: failed program was:" >&5
16132
sed 's/^/| /' conftest.$ac_ext >&5
16134
ac_header_compiler=no
16137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16138
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16139
$as_echo "$ac_header_compiler" >&6; }
16141
# Is the header present?
16142
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16143
$as_echo_n "checking $ac_header presence... " >&6; }
16144
cat >conftest.$ac_ext <<_ACEOF
16147
cat confdefs.h >>conftest.$ac_ext
16148
cat >>conftest.$ac_ext <<_ACEOF
16149
/* end confdefs.h. */
16150
#include <$ac_header>
16152
if { (ac_try="$ac_cpp conftest.$ac_ext"
16153
case "(($ac_try" in
16154
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16155
*) ac_try_echo=$ac_try;;
16157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16158
$as_echo "$ac_try_echo") >&5
16159
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16161
grep -v '^ *+' conftest.er1 >conftest.err
16163
cat conftest.err >&5
16164
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165
(exit $ac_status); } >/dev/null && {
16166
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16167
test ! -s conftest.err
16169
ac_header_preproc=yes
16171
$as_echo "$as_me: failed program was:" >&5
16172
sed 's/^/| /' conftest.$ac_ext >&5
16174
ac_header_preproc=no
16177
rm -f conftest.err conftest.$ac_ext
16178
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16179
$as_echo "$ac_header_preproc" >&6; }
16181
# So? What about this header?
16182
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16184
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16185
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16186
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16187
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16188
ac_header_preproc=yes
16191
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16192
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16193
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16194
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16195
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16196
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16197
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16198
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16199
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16200
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16201
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16202
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16204
## ------------------------------------- ##
16205
## Report this to ucimf@googlegroups.com ##
16206
## ------------------------------------- ##
16208
) | sed "s/^/$as_me: WARNING: /" >&2
16211
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16212
$as_echo_n "checking for $ac_header... " >&6; }
16213
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16214
$as_echo_n "(cached) " >&6
16216
eval "$as_ac_Header=\$ac_header_preproc"
16218
ac_res=`eval 'as_val=${'$as_ac_Header'}
16219
$as_echo "$as_val"'`
16220
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16221
$as_echo "$ac_res" >&6; }
16224
as_val=`eval 'as_val=${'$as_ac_Header'}
16225
$as_echo "$as_val"'`
16226
if test "x$as_val" = x""yes; then
15123
ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
15124
if test "x$ac_cv_header_vfork_h" = x""yes; then :
16227
15125
cat >>confdefs.h <<_ACEOF
16228
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15126
#define HAVE_VFORK_H 1
16237
15133
for ac_func in fork vfork
16239
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16240
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16241
$as_echo_n "checking for $ac_func... " >&6; }
16242
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16243
$as_echo_n "(cached) " >&6
16245
cat >conftest.$ac_ext <<_ACEOF
16248
cat confdefs.h >>conftest.$ac_ext
16249
cat >>conftest.$ac_ext <<_ACEOF
16250
/* end confdefs.h. */
16251
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16252
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16253
#define $ac_func innocuous_$ac_func
16255
/* System header to define __stub macros and hopefully few prototypes,
16256
which can conflict with char $ac_func (); below.
16257
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16258
<limits.h> exists even on freestanding compilers. */
16261
# include <limits.h>
16263
# include <assert.h>
16268
/* Override any GCC internal prototype to avoid an error.
16269
Use char because int might match the return type of a GCC
16270
builtin and then its argument prototype would still apply. */
16275
/* The GNU C library defines this for functions which it implements
16276
to always fail with ENOSYS. Some functions are actually named
16277
something starting with __ and the normal name is an alias. */
16278
#if defined __stub_$ac_func || defined __stub___$ac_func
16285
return $ac_func ();
16290
rm -f conftest.$ac_objext conftest$ac_exeext
16291
if { (ac_try="$ac_link"
16292
case "(($ac_try" in
16293
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294
*) ac_try_echo=$ac_try;;
16296
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16297
$as_echo "$ac_try_echo") >&5
16298
(eval "$ac_link") 2>conftest.er1
16300
grep -v '^ *+' conftest.er1 >conftest.err
16302
cat conftest.err >&5
16303
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304
(exit $ac_status); } && {
16305
test -z "$ac_c_werror_flag" ||
16306
test ! -s conftest.err
16307
} && test -s conftest$ac_exeext && {
16308
test "$cross_compiling" = yes ||
16309
$as_test_x conftest$ac_exeext
16311
eval "$as_ac_var=yes"
16313
$as_echo "$as_me: failed program was:" >&5
16314
sed 's/^/| /' conftest.$ac_ext >&5
16316
eval "$as_ac_var=no"
16319
rm -rf conftest.dSYM
16320
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16321
conftest$ac_exeext conftest.$ac_ext
16323
ac_res=`eval 'as_val=${'$as_ac_var'}
16324
$as_echo "$as_val"'`
16325
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16326
$as_echo "$ac_res" >&6; }
16327
as_val=`eval 'as_val=${'$as_ac_var'}
16328
$as_echo "$as_val"'`
16329
if test "x$as_val" = x""yes; then
15135
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15136
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15137
eval as_val=\$$as_ac_var
15138
if test "x$as_val" = x""yes; then :
16330
15139
cat >>confdefs.h <<_ACEOF
16331
15140
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16526
rm -f conftest$ac_exeext
16527
if { (ac_try="$ac_link"
16528
case "(($ac_try" in
16529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16530
*) ac_try_echo=$ac_try;;
16532
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16533
$as_echo "$ac_try_echo") >&5
16534
(eval "$ac_link") 2>&5
16536
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16538
{ (case "(($ac_try" in
16539
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16540
*) ac_try_echo=$ac_try;;
16542
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16543
$as_echo "$ac_try_echo") >&5
16544
(eval "$ac_try") 2>&5
16546
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547
(exit $ac_status); }; }; then
15300
if ac_fn_c_try_run "$LINENO"; then :
16548
15301
ac_cv_func_vfork_works=yes
16550
$as_echo "$as_me: program exited with status $ac_status" >&5
16551
$as_echo "$as_me: failed program was:" >&5
16552
sed 's/^/| /' conftest.$ac_ext >&5
16554
( exit $ac_status )
16555
ac_cv_func_vfork_works=no
16557
rm -rf conftest.dSYM
16558
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16563
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
15303
ac_cv_func_vfork_works=no
15305
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15306
conftest.$ac_objext conftest.beam conftest.$ac_ext
15310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
16564
15311
$as_echo "$ac_cv_func_vfork_works" >&6; }
16567
15314
if test "x$ac_cv_func_fork_works" = xcross; then
16568
15315
ac_cv_func_vfork_works=$ac_cv_func_vfork
16569
{ $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
15316
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16570
15317
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16573
15320
if test "x$ac_cv_func_vfork_works" = xyes; then
16575
cat >>confdefs.h <<\_ACEOF
16576
#define HAVE_WORKING_VFORK 1
15322
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
16581
cat >>confdefs.h <<\_ACEOF
15326
$as_echo "#define vfork fork" >>confdefs.h
16586
15329
if test "x$ac_cv_func_fork_works" = xyes; then
16588
cat >>confdefs.h <<\_ACEOF
16589
#define HAVE_WORKING_FORK 1
15331
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
16596
15335
for ac_func in setenv strtol
16598
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16599
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16600
$as_echo_n "checking for $ac_func... " >&6; }
16601
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16602
$as_echo_n "(cached) " >&6
16604
cat >conftest.$ac_ext <<_ACEOF
16607
cat confdefs.h >>conftest.$ac_ext
16608
cat >>conftest.$ac_ext <<_ACEOF
16609
/* end confdefs.h. */
16610
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16611
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16612
#define $ac_func innocuous_$ac_func
16614
/* System header to define __stub macros and hopefully few prototypes,
16615
which can conflict with char $ac_func (); below.
16616
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16617
<limits.h> exists even on freestanding compilers. */
16620
# include <limits.h>
16622
# include <assert.h>
16627
/* Override any GCC internal prototype to avoid an error.
16628
Use char because int might match the return type of a GCC
16629
builtin and then its argument prototype would still apply. */
16634
/* The GNU C library defines this for functions which it implements
16635
to always fail with ENOSYS. Some functions are actually named
16636
something starting with __ and the normal name is an alias. */
16637
#if defined __stub_$ac_func || defined __stub___$ac_func
16644
return $ac_func ();
16649
rm -f conftest.$ac_objext conftest$ac_exeext
16650
if { (ac_try="$ac_link"
16651
case "(($ac_try" in
16652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16653
*) ac_try_echo=$ac_try;;
16655
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16656
$as_echo "$ac_try_echo") >&5
16657
(eval "$ac_link") 2>conftest.er1
16659
grep -v '^ *+' conftest.er1 >conftest.err
16661
cat conftest.err >&5
16662
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663
(exit $ac_status); } && {
16664
test -z "$ac_c_werror_flag" ||
16665
test ! -s conftest.err
16666
} && test -s conftest$ac_exeext && {
16667
test "$cross_compiling" = yes ||
16668
$as_test_x conftest$ac_exeext
16670
eval "$as_ac_var=yes"
16672
$as_echo "$as_me: failed program was:" >&5
16673
sed 's/^/| /' conftest.$ac_ext >&5
16675
eval "$as_ac_var=no"
16678
rm -rf conftest.dSYM
16679
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16680
conftest$ac_exeext conftest.$ac_ext
16682
ac_res=`eval 'as_val=${'$as_ac_var'}
16683
$as_echo "$as_val"'`
16684
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16685
$as_echo "$ac_res" >&6; }
16686
as_val=`eval 'as_val=${'$as_ac_var'}
16687
$as_echo "$as_val"'`
16688
if test "x$as_val" = x""yes; then
15337
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15338
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15339
eval as_val=\$$as_ac_var
15340
if test "x$as_val" = x""yes; then :
16689
15341
cat >>confdefs.h <<_ACEOF
16690
15342
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1