89
110
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
104
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
154
136
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
156
176
as_have_required=yes
158
178
as_have_required=no
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
188
test -z "$as_dir" && as_dir=.
228
192
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs 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 ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
# uniformly replaced by the line number. The first 'sed' inserts a
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
360
# ----------------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with STATUS, using 1 if that was 0.
366
as_status=$1; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371
$as_echo "$as_me: error: $2" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1409
1432
if $ac_init_version; then
1411
1434
rdesktop configure 1.6.0
1412
generated by GNU Autoconf 2.61
1435
generated by GNU Autoconf 2.67
1414
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1415
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1437
Copyright (C) 2010 Free Software Foundation, Inc.
1416
1438
This configure script is free software; the Free Software Foundation
1417
1439
gives unlimited permission to copy, distribute and modify it.
1444
## ------------------------ ##
1445
## Autoconf initialization. ##
1446
## ------------------------ ##
1448
# ac_fn_c_try_compile LINENO
1449
# --------------------------
1450
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1451
ac_fn_c_try_compile ()
1453
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454
rm -f conftest.$ac_objext
1455
if { { ac_try="$ac_compile"
1457
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1458
*) ac_try_echo=$ac_try;;
1460
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1461
$as_echo "$ac_try_echo"; } >&5
1462
(eval "$ac_compile") 2>conftest.err
1464
if test -s conftest.err; then
1465
grep -v '^ *+' conftest.err >conftest.er1
1466
cat conftest.er1 >&5
1467
mv -f conftest.er1 conftest.err
1469
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1470
test $ac_status = 0; } && {
1471
test -z "$ac_c_werror_flag" ||
1472
test ! -s conftest.err
1473
} && test -s conftest.$ac_objext; then :
1476
$as_echo "$as_me: failed program was:" >&5
1477
sed 's/^/| /' conftest.$ac_ext >&5
1481
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1482
as_fn_set_status $ac_retval
1484
} # ac_fn_c_try_compile
1486
# ac_fn_cxx_try_compile LINENO
1487
# ----------------------------
1488
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1489
ac_fn_cxx_try_compile ()
1491
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492
rm -f conftest.$ac_objext
1493
if { { ac_try="$ac_compile"
1495
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1496
*) ac_try_echo=$ac_try;;
1498
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1499
$as_echo "$ac_try_echo"; } >&5
1500
(eval "$ac_compile") 2>conftest.err
1502
if test -s conftest.err; then
1503
grep -v '^ *+' conftest.err >conftest.er1
1504
cat conftest.er1 >&5
1505
mv -f conftest.er1 conftest.err
1507
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1508
test $ac_status = 0; } && {
1509
test -z "$ac_cxx_werror_flag" ||
1510
test ! -s conftest.err
1511
} && test -s conftest.$ac_objext; then :
1514
$as_echo "$as_me: failed program was:" >&5
1515
sed 's/^/| /' conftest.$ac_ext >&5
1519
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1520
as_fn_set_status $ac_retval
1522
} # ac_fn_cxx_try_compile
1524
# ac_fn_c_try_cpp LINENO
1525
# ----------------------
1526
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1529
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1530
if { { ac_try="$ac_cpp conftest.$ac_ext"
1532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533
*) ac_try_echo=$ac_try;;
1535
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536
$as_echo "$ac_try_echo"; } >&5
1537
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1539
if test -s conftest.err; then
1540
grep -v '^ *+' conftest.err >conftest.er1
1541
cat conftest.er1 >&5
1542
mv -f conftest.er1 conftest.err
1544
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1545
test $ac_status = 0; } > conftest.i && {
1546
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1547
test ! -s conftest.err
1551
$as_echo "$as_me: failed program was:" >&5
1552
sed 's/^/| /' conftest.$ac_ext >&5
1556
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1557
as_fn_set_status $ac_retval
1561
# ac_fn_c_try_run LINENO
1562
# ----------------------
1563
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1564
# that executables *can* be run.
1567
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568
if { { ac_try="$ac_link"
1570
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1571
*) ac_try_echo=$ac_try;;
1573
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574
$as_echo "$ac_try_echo"; } >&5
1575
(eval "$ac_link") 2>&5
1577
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1579
{ { case "(($ac_try" in
1580
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1581
*) ac_try_echo=$ac_try;;
1583
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584
$as_echo "$ac_try_echo"; } >&5
1585
(eval "$ac_try") 2>&5
1587
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588
test $ac_status = 0; }; }; then :
1591
$as_echo "$as_me: program exited with status $ac_status" >&5
1592
$as_echo "$as_me: failed program was:" >&5
1593
sed 's/^/| /' conftest.$ac_ext >&5
1595
ac_retval=$ac_status
1597
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1598
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1599
as_fn_set_status $ac_retval
1603
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1604
# -------------------------------------------------------
1605
# Tests whether HEADER exists and can be compiled using the include files in
1606
# INCLUDES, setting the cache variable VAR accordingly.
1607
ac_fn_c_check_header_compile ()
1609
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1611
$as_echo_n "checking for $2... " >&6; }
1612
if eval "test \"\${$3+set}\"" = set; then :
1613
$as_echo_n "(cached) " >&6
1615
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616
/* end confdefs.h. */
1620
if ac_fn_c_try_compile "$LINENO"; then :
1625
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629
$as_echo "$ac_res" >&6; }
1630
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1632
} # ac_fn_c_check_header_compile
1634
# ac_fn_c_try_link LINENO
1635
# -----------------------
1636
# Try to link conftest.$ac_ext, and return whether this succeeded.
1639
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640
rm -f conftest.$ac_objext conftest$ac_exeext
1641
if { { ac_try="$ac_link"
1643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644
*) ac_try_echo=$ac_try;;
1646
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647
$as_echo "$ac_try_echo"; } >&5
1648
(eval "$ac_link") 2>conftest.err
1650
if test -s conftest.err; then
1651
grep -v '^ *+' conftest.err >conftest.er1
1652
cat conftest.er1 >&5
1653
mv -f conftest.er1 conftest.err
1655
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656
test $ac_status = 0; } && {
1657
test -z "$ac_c_werror_flag" ||
1658
test ! -s conftest.err
1659
} && test -s conftest$ac_exeext && {
1660
test "$cross_compiling" = yes ||
1661
$as_test_x conftest$ac_exeext
1665
$as_echo "$as_me: failed program was:" >&5
1666
sed 's/^/| /' conftest.$ac_ext >&5
1670
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1671
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1672
# interfere with the next link command; also delete a directory that is
1673
# left behind by Apple's compiler. We do this before executing the actions.
1674
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1676
as_fn_set_status $ac_retval
1678
} # ac_fn_c_try_link
1680
# ac_fn_c_check_func LINENO FUNC VAR
1681
# ----------------------------------
1682
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1683
ac_fn_c_check_func ()
1685
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687
$as_echo_n "checking for $2... " >&6; }
1688
if eval "test \"\${$3+set}\"" = set; then :
1689
$as_echo_n "(cached) " >&6
1691
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1692
/* end confdefs.h. */
1693
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1694
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1695
#define $2 innocuous_$2
1697
/* System header to define __stub macros and hopefully few prototypes,
1698
which can conflict with char $2 (); below.
1699
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1700
<limits.h> exists even on freestanding compilers. */
1703
# include <limits.h>
1705
# include <assert.h>
1710
/* Override any GCC internal prototype to avoid an error.
1711
Use char because int might match the return type of a GCC
1712
builtin and then its argument prototype would still apply. */
1717
/* The GNU C library defines this for functions which it implements
1718
to always fail with ENOSYS. Some functions are actually named
1719
something starting with __ and the normal name is an alias. */
1720
#if defined __stub_$2 || defined __stub___$2
1732
if ac_fn_c_try_link "$LINENO"; then :
1737
rm -f core conftest.err conftest.$ac_objext \
1738
conftest$ac_exeext conftest.$ac_ext
1741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742
$as_echo "$ac_res" >&6; }
1743
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745
} # ac_fn_c_check_func
1747
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1748
# -------------------------------------------------------
1749
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1750
# the include files in INCLUDES and setting the cache variable VAR
1752
ac_fn_c_check_header_mongrel ()
1754
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755
if eval "test \"\${$3+set}\"" = set; then :
1756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757
$as_echo_n "checking for $2... " >&6; }
1758
if eval "test \"\${$3+set}\"" = set; then :
1759
$as_echo_n "(cached) " >&6
1762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763
$as_echo "$ac_res" >&6; }
1765
# Is the header compilable?
1766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1767
$as_echo_n "checking $2 usability... " >&6; }
1768
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769
/* end confdefs.h. */
1773
if ac_fn_c_try_compile "$LINENO"; then :
1774
ac_header_compiler=yes
1776
ac_header_compiler=no
1778
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1780
$as_echo "$ac_header_compiler" >&6; }
1782
# Is the header present?
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1784
$as_echo_n "checking $2 presence... " >&6; }
1785
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786
/* end confdefs.h. */
1789
if ac_fn_c_try_cpp "$LINENO"; then :
1790
ac_header_preproc=yes
1792
ac_header_preproc=no
1794
rm -f conftest.err conftest.i conftest.$ac_ext
1795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1796
$as_echo "$ac_header_preproc" >&6; }
1798
# So? What about this header?
1799
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1801
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1802
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1803
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1804
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1807
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1808
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1809
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1810
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1811
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1812
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1813
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1814
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1815
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1816
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820
$as_echo_n "checking for $2... " >&6; }
1821
if eval "test \"\${$3+set}\"" = set; then :
1822
$as_echo_n "(cached) " >&6
1824
eval "$3=\$ac_header_compiler"
1827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828
$as_echo "$ac_res" >&6; }
1830
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832
} # ac_fn_c_check_header_mongrel
1834
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1835
# ---------------------------------------------
1836
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1838
ac_fn_c_check_decl ()
1840
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841
as_decl_name=`echo $2|sed 's/ *(.*//'`
1842
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1844
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1845
if eval "test \"\${$3+set}\"" = set; then :
1846
$as_echo_n "(cached) " >&6
1848
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849
/* end confdefs.h. */
1854
#ifndef $as_decl_name
1856
(void) $as_decl_use;
1858
(void) $as_decl_name;
1866
if ac_fn_c_try_compile "$LINENO"; then :
1871
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875
$as_echo "$ac_res" >&6; }
1876
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878
} # ac_fn_c_check_decl
1880
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1881
# -------------------------------------------
1882
# Tests whether TYPE exists after having included INCLUDES, setting cache
1883
# variable VAR accordingly.
1884
ac_fn_c_check_type ()
1886
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888
$as_echo_n "checking for $2... " >&6; }
1889
if eval "test \"\${$3+set}\"" = set; then :
1890
$as_echo_n "(cached) " >&6
1893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894
/* end confdefs.h. */
1905
if ac_fn_c_try_compile "$LINENO"; then :
1906
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907
/* end confdefs.h. */
1918
if ac_fn_c_try_compile "$LINENO"; then :
1923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1925
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929
$as_echo "$ac_res" >&6; }
1930
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1932
} # ac_fn_c_check_type
1934
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1935
# ----------------------------------------------------
1936
# Tries to find if the field MEMBER exists in type AGGR, after including
1937
# INCLUDES, setting cache variable VAR accordingly.
1938
ac_fn_c_check_member ()
1940
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1942
$as_echo_n "checking for $2.$3... " >&6; }
1943
if eval "test \"\${$4+set}\"" = set; then :
1944
$as_echo_n "(cached) " >&6
1946
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947
/* end confdefs.h. */
1959
if ac_fn_c_try_compile "$LINENO"; then :
1962
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963
/* end confdefs.h. */
1969
if (sizeof ac_aggr.$3)
1975
if ac_fn_c_try_compile "$LINENO"; then :
1980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986
$as_echo "$ac_res" >&6; }
1987
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1989
} # ac_fn_c_check_member
1421
1990
cat >config.log <<_ACEOF
1422
1991
This file contains any messages produced by compilers while
1423
1992
running configure, to aid debugging if configure makes a mistake.
1425
1994
It was created by rdesktop $as_me 1.6.0, which was
1426
generated by GNU Autoconf 2.61. Invocation command line was
1995
generated by GNU Autoconf 2.67. Invocation command line was
3458
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3459
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
3460
if test "${ac_cv_c_bigendian+set}" = set; then
3461
echo $ECHO_N "(cached) $ECHO_C" >&6
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3923
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3924
if test "${ac_cv_c_bigendian+set}" = set; then :
3925
$as_echo_n "(cached) " >&6
3463
# See if sys/param.h defines the BYTE_ORDER macro.
3464
cat >conftest.$ac_ext <<_ACEOF
3927
ac_cv_c_bigendian=unknown
3928
# See if we're dealing with a universal compiler.
3929
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930
/* end confdefs.h. */
3931
#ifndef __APPLE_CC__
3932
not a universal capable compiler
3467
cat confdefs.h >>conftest.$ac_ext
3468
cat >>conftest.$ac_ext <<_ACEOF
3937
if ac_fn_c_try_compile "$LINENO"; then :
3939
# Check for potential -arch flags. It is not universal unless
3940
# there are at least two -arch flags with different values.
3943
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3944
if test -n "$ac_prev"; then
3946
i?86 | x86_64 | ppc | ppc64)
3947
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3950
ac_cv_c_bigendian=universal
3956
elif test "x$ac_word" = "x-arch"; then
3961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962
if test $ac_cv_c_bigendian = unknown; then
3963
# See if sys/param.h defines the BYTE_ORDER macro.
3964
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469
3965
/* end confdefs.h. */
3470
3966
#include <sys/types.h>
3471
#include <sys/param.h>
3967
#include <sys/param.h>
3476
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
3477
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
3972
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3973
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3485
rm -f conftest.$ac_objext
3486
if { (ac_try="$ac_compile"
3488
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489
*) ac_try_echo=$ac_try;;
3491
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3492
(eval "$ac_compile") 2>conftest.er1
3494
grep -v '^ *+' conftest.er1 >conftest.err
3496
cat conftest.err >&5
3497
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498
(exit $ac_status); } && {
3499
test -z "$ac_c_werror_flag" ||
3500
test ! -s conftest.err
3501
} && test -s conftest.$ac_objext; then
3982
if ac_fn_c_try_compile "$LINENO"; then :
3502
3983
# It does; now see whether it defined to BIG_ENDIAN or not.
3503
cat >conftest.$ac_ext <<_ACEOF
3506
cat confdefs.h >>conftest.$ac_ext
3507
cat >>conftest.$ac_ext <<_ACEOF
3984
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508
3985
/* end confdefs.h. */
3509
3986
#include <sys/types.h>
3510
#include <sys/param.h>
3987
#include <sys/param.h>
3515
3992
#if BYTE_ORDER != BIG_ENDIAN
3523
rm -f conftest.$ac_objext
3524
if { (ac_try="$ac_compile"
3526
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527
*) ac_try_echo=$ac_try;;
3529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3530
(eval "$ac_compile") 2>conftest.er1
3532
grep -v '^ *+' conftest.er1 >conftest.err
3534
cat conftest.err >&5
3535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536
(exit $ac_status); } && {
3537
test -z "$ac_c_werror_flag" ||
3538
test ! -s conftest.err
3539
} && test -s conftest.$ac_objext; then
3540
ac_cv_c_bigendian=yes
3542
echo "$as_me: failed program was:" >&5
3543
sed 's/^/| /' conftest.$ac_ext >&5
3545
ac_cv_c_bigendian=no
3548
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550
echo "$as_me: failed program was:" >&5
3551
sed 's/^/| /' conftest.$ac_ext >&5
3553
# It does not; compile a test program.
3554
if test "$cross_compiling" = yes; then
3555
# try to guess the endianness by grepping values into an object file
3556
ac_cv_c_bigendian=unknown
3557
cat >conftest.$ac_ext <<_ACEOF
3560
cat confdefs.h >>conftest.$ac_ext
3561
cat >>conftest.$ac_ext <<_ACEOF
3562
/* end confdefs.h. */
3563
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3564
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3565
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3566
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3567
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3568
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3572
_ascii (); _ebcdic ();
3577
rm -f conftest.$ac_objext
3578
if { (ac_try="$ac_compile"
3580
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581
*) ac_try_echo=$ac_try;;
3583
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3584
(eval "$ac_compile") 2>conftest.er1
3586
grep -v '^ *+' conftest.er1 >conftest.err
3588
cat conftest.err >&5
3589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590
(exit $ac_status); } && {
3591
test -z "$ac_c_werror_flag" ||
3592
test ! -s conftest.err
3593
} && test -s conftest.$ac_objext; then
3594
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3595
ac_cv_c_bigendian=yes
3597
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3598
if test "$ac_cv_c_bigendian" = unknown; then
3599
ac_cv_c_bigendian=no
3601
# finding both strings is unlikely to happen, but who knows?
3602
ac_cv_c_bigendian=unknown
3606
echo "$as_me: failed program was:" >&5
3607
sed 's/^/| /' conftest.$ac_ext >&5
3612
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3614
cat >conftest.$ac_ext <<_ACEOF
3617
cat confdefs.h >>conftest.$ac_ext
3618
cat >>conftest.$ac_ext <<_ACEOF
4000
if ac_fn_c_try_compile "$LINENO"; then :
4001
ac_cv_c_bigendian=yes
4003
ac_cv_c_bigendian=no
4005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4009
if test $ac_cv_c_bigendian = unknown; then
4010
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4011
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012
/* end confdefs.h. */
4018
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4026
if ac_fn_c_try_compile "$LINENO"; then :
4027
# It does; now see whether it defined to _BIG_ENDIAN or not.
4028
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029
/* end confdefs.h. */
4043
if ac_fn_c_try_compile "$LINENO"; then :
4044
ac_cv_c_bigendian=yes
4046
ac_cv_c_bigendian=no
4048
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052
if test $ac_cv_c_bigendian = unknown; then
4053
# Compile a test program.
4054
if test "$cross_compiling" = yes; then :
4055
# Try to guess by grepping values from an object file.
4056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057
/* end confdefs.h. */
4058
short int ascii_mm[] =
4059
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4060
short int ascii_ii[] =
4061
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4062
int use_ascii (int i) {
4063
return ascii_mm[i] + ascii_ii[i];
4065
short int ebcdic_ii[] =
4066
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4067
short int ebcdic_mm[] =
4068
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4069
int use_ebcdic (int i) {
4070
return ebcdic_mm[i] + ebcdic_ii[i];
4077
return use_ascii (foo) == use_ebcdic (foo);
4082
if ac_fn_c_try_compile "$LINENO"; then :
4083
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4084
ac_cv_c_bigendian=yes
4086
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4087
if test "$ac_cv_c_bigendian" = unknown; then
4088
ac_cv_c_bigendian=no
4090
# finding both strings is unlikely to happen, but who knows?
4091
ac_cv_c_bigendian=unknown
4095
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619
4098
/* end confdefs.h. */
3620
4099
$ac_includes_default
3625
/* Are we little or big endian? From Harbison&Steele. */
3629
char c[sizeof (long int)];
3632
return u.c[sizeof (long int) - 1] == 1;
4104
/* Are we little or big endian? From Harbison&Steele. */
4108
char c[sizeof (long int)];
4111
return u.c[sizeof (long int) - 1] == 1;
3638
rm -f conftest$ac_exeext
3639
if { (ac_try="$ac_link"
3641
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642
*) ac_try_echo=$ac_try;;
3644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3645
(eval "$ac_link") 2>&5
3647
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3649
{ (case "(($ac_try" in
3650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651
*) ac_try_echo=$ac_try;;
3653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3654
(eval "$ac_try") 2>&5
3656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657
(exit $ac_status); }; }; then
4117
if ac_fn_c_try_run "$LINENO"; then :
3658
4118
ac_cv_c_bigendian=no
3660
echo "$as_me: program exited with status $ac_status" >&5
3661
echo "$as_me: failed program was:" >&5
3662
sed 's/^/| /' conftest.$ac_ext >&5
3665
ac_cv_c_bigendian=yes
3667
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3673
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3676
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
3677
case $ac_cv_c_bigendian in
3679
cat >>confdefs.h <<\_ACEOF
3684
cat >>confdefs.h <<\_ACEOF
3689
{ { echo "$as_me:$LINENO: error: unknown endianness
3690
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3691
echo "$as_me: error: unknown endianness
3692
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3693
{ (exit 1); exit 1; }; } ;;
3696
{ echo "$as_me:$LINENO: checking for X" >&5
3697
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
4120
ac_cv_c_bigendian=yes
4122
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4123
conftest.$ac_objext conftest.beam conftest.$ac_ext
4128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4129
$as_echo "$ac_cv_c_bigendian" >&6; }
4130
case $ac_cv_c_bigendian in #(
4132
$as_echo "#define B_ENDIAN 1" >>confdefs.h
4135
$as_echo "#define L_ENDIAN 1" >>confdefs.h
4139
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4143
as_fn_error $? "unknown endianness
4144
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4148
$as_echo_n "checking for X... " >&6; }
3700
4151
# Check whether --with-x was given.
3701
if test "${with_x+set}" = set; then
4152
if test "${with_x+set}" = set; then :
3702
4153
withval=$with_x;
5179
4968
ac_res=-l$ac_lib
5180
4969
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5182
rm -f conftest.$ac_objext conftest$ac_exeext
5183
if { (ac_try="$ac_link"
5185
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5186
*) ac_try_echo=$ac_try;;
5188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5189
(eval "$ac_link") 2>conftest.er1
5191
grep -v '^ *+' conftest.er1 >conftest.err
5193
cat conftest.err >&5
5194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195
(exit $ac_status); } && {
5196
test -z "$ac_c_werror_flag" ||
5197
test ! -s conftest.err
5198
} && test -s conftest$ac_exeext &&
5199
$as_test_x conftest$ac_exeext; then
4971
if ac_fn_c_try_link "$LINENO"; then :
5200
4972
ac_cv_search_inet_aton=$ac_res
5202
echo "$as_me: failed program was:" >&5
5203
sed 's/^/| /' conftest.$ac_ext >&5
5208
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5210
if test "${ac_cv_search_inet_aton+set}" = set; then
4974
rm -f core conftest.err conftest.$ac_objext \
4976
if test "${ac_cv_search_inet_aton+set}" = set; then :
5214
if test "${ac_cv_search_inet_aton+set}" = set; then
4980
if test "${ac_cv_search_inet_aton+set}" = set; then :
5217
4983
ac_cv_search_inet_aton=no
5219
4985
rm conftest.$ac_ext
5220
4986
LIBS=$ac_func_search_save_LIBS
5222
{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
5223
echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
4988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
4989
$as_echo "$ac_cv_search_inet_aton" >&6; }
5224
4990
ac_res=$ac_cv_search_inet_aton
5225
if test "$ac_res" != no; then
5226
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5231
if test "${ac_cv_header_sys_select_h+set}" = set; then
5232
{ echo "$as_me:$LINENO: checking for sys/select.h" >&5
5233
echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
5234
if test "${ac_cv_header_sys_select_h+set}" = set; then
5235
echo $ECHO_N "(cached) $ECHO_C" >&6
5237
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
5238
echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
5240
# Is the header compilable?
5241
{ echo "$as_me:$LINENO: checking sys/select.h usability" >&5
5242
echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; }
5243
cat >conftest.$ac_ext <<_ACEOF
5246
cat confdefs.h >>conftest.$ac_ext
5247
cat >>conftest.$ac_ext <<_ACEOF
5248
/* end confdefs.h. */
5249
$ac_includes_default
5250
#include <sys/select.h>
5252
rm -f conftest.$ac_objext
5253
if { (ac_try="$ac_compile"
5255
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5256
*) ac_try_echo=$ac_try;;
5258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5259
(eval "$ac_compile") 2>conftest.er1
5261
grep -v '^ *+' conftest.er1 >conftest.err
5263
cat conftest.err >&5
5264
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265
(exit $ac_status); } && {
5266
test -z "$ac_c_werror_flag" ||
5267
test ! -s conftest.err
5268
} && test -s conftest.$ac_objext; then
5269
ac_header_compiler=yes
5271
echo "$as_me: failed program was:" >&5
5272
sed 's/^/| /' conftest.$ac_ext >&5
5274
ac_header_compiler=no
5277
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5279
echo "${ECHO_T}$ac_header_compiler" >&6; }
5281
# Is the header present?
5282
{ echo "$as_me:$LINENO: checking sys/select.h presence" >&5
5283
echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; }
5284
cat >conftest.$ac_ext <<_ACEOF
5287
cat confdefs.h >>conftest.$ac_ext
5288
cat >>conftest.$ac_ext <<_ACEOF
5289
/* end confdefs.h. */
5290
#include <sys/select.h>
5292
if { (ac_try="$ac_cpp conftest.$ac_ext"
5294
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295
*) ac_try_echo=$ac_try;;
5297
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5300
grep -v '^ *+' conftest.er1 >conftest.err
5302
cat conftest.err >&5
5303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304
(exit $ac_status); } >/dev/null && {
5305
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5306
test ! -s conftest.err
5308
ac_header_preproc=yes
5310
echo "$as_me: failed program was:" >&5
5311
sed 's/^/| /' conftest.$ac_ext >&5
5313
ac_header_preproc=no
5316
rm -f conftest.err conftest.$ac_ext
5317
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5318
echo "${ECHO_T}$ac_header_preproc" >&6; }
5320
# So? What about this header?
5321
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5323
{ echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5
5324
echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5325
{ echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5
5326
echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;}
5327
ac_header_preproc=yes
5330
{ echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5
5331
echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;}
5332
{ echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5
5333
echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;}
5334
{ echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5
5335
echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;}
5336
{ echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5
5337
echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;}
5338
{ echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5
5339
echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;}
5340
{ echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5
5341
echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;}
5345
{ echo "$as_me:$LINENO: checking for sys/select.h" >&5
5346
echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
5347
if test "${ac_cv_header_sys_select_h+set}" = set; then
5348
echo $ECHO_N "(cached) $ECHO_C" >&6
5350
ac_cv_header_sys_select_h=$ac_header_preproc
5352
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
5353
echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
5356
if test $ac_cv_header_sys_select_h = yes; then
5357
cat >>confdefs.h <<\_ACEOF
5358
#define HAVE_SYS_SELECT_H 1
5364
if test "${ac_cv_header_sys_modem_h+set}" = set; then
5365
{ echo "$as_me:$LINENO: checking for sys/modem.h" >&5
5366
echo $ECHO_N "checking for sys/modem.h... $ECHO_C" >&6; }
5367
if test "${ac_cv_header_sys_modem_h+set}" = set; then
5368
echo $ECHO_N "(cached) $ECHO_C" >&6
5370
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_modem_h" >&5
5371
echo "${ECHO_T}$ac_cv_header_sys_modem_h" >&6; }
5373
# Is the header compilable?
5374
{ echo "$as_me:$LINENO: checking sys/modem.h usability" >&5
5375
echo $ECHO_N "checking sys/modem.h usability... $ECHO_C" >&6; }
5376
cat >conftest.$ac_ext <<_ACEOF
5379
cat confdefs.h >>conftest.$ac_ext
5380
cat >>conftest.$ac_ext <<_ACEOF
5381
/* end confdefs.h. */
5382
$ac_includes_default
5383
#include <sys/modem.h>
5385
rm -f conftest.$ac_objext
5386
if { (ac_try="$ac_compile"
5388
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5389
*) ac_try_echo=$ac_try;;
5391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5392
(eval "$ac_compile") 2>conftest.er1
5394
grep -v '^ *+' conftest.er1 >conftest.err
5396
cat conftest.err >&5
5397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398
(exit $ac_status); } && {
5399
test -z "$ac_c_werror_flag" ||
5400
test ! -s conftest.err
5401
} && test -s conftest.$ac_objext; then
5402
ac_header_compiler=yes
5404
echo "$as_me: failed program was:" >&5
5405
sed 's/^/| /' conftest.$ac_ext >&5
5407
ac_header_compiler=no
5410
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5411
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5412
echo "${ECHO_T}$ac_header_compiler" >&6; }
5414
# Is the header present?
5415
{ echo "$as_me:$LINENO: checking sys/modem.h presence" >&5
5416
echo $ECHO_N "checking sys/modem.h presence... $ECHO_C" >&6; }
5417
cat >conftest.$ac_ext <<_ACEOF
5420
cat confdefs.h >>conftest.$ac_ext
5421
cat >>conftest.$ac_ext <<_ACEOF
5422
/* end confdefs.h. */
5423
#include <sys/modem.h>
5425
if { (ac_try="$ac_cpp conftest.$ac_ext"
5427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5428
*) ac_try_echo=$ac_try;;
5430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5431
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5433
grep -v '^ *+' conftest.er1 >conftest.err
5435
cat conftest.err >&5
5436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437
(exit $ac_status); } >/dev/null && {
5438
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5439
test ! -s conftest.err
5441
ac_header_preproc=yes
5443
echo "$as_me: failed program was:" >&5
5444
sed 's/^/| /' conftest.$ac_ext >&5
5446
ac_header_preproc=no
5449
rm -f conftest.err conftest.$ac_ext
5450
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5451
echo "${ECHO_T}$ac_header_preproc" >&6; }
5453
# So? What about this header?
5454
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5456
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: accepted by the compiler, rejected by the preprocessor!" >&5
5457
echo "$as_me: WARNING: sys/modem.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5458
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: proceeding with the compiler's result" >&5
5459
echo "$as_me: WARNING: sys/modem.h: proceeding with the compiler's result" >&2;}
5460
ac_header_preproc=yes
5463
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: present but cannot be compiled" >&5
5464
echo "$as_me: WARNING: sys/modem.h: present but cannot be compiled" >&2;}
5465
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: check for missing prerequisite headers?" >&5
5466
echo "$as_me: WARNING: sys/modem.h: check for missing prerequisite headers?" >&2;}
5467
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: see the Autoconf documentation" >&5
5468
echo "$as_me: WARNING: sys/modem.h: see the Autoconf documentation" >&2;}
5469
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: section \"Present But Cannot Be Compiled\"" >&5
5470
echo "$as_me: WARNING: sys/modem.h: section \"Present But Cannot Be Compiled\"" >&2;}
5471
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: proceeding with the preprocessor's result" >&5
5472
echo "$as_me: WARNING: sys/modem.h: proceeding with the preprocessor's result" >&2;}
5473
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: in the future, the compiler will take precedence" >&5
5474
echo "$as_me: WARNING: sys/modem.h: in the future, the compiler will take precedence" >&2;}
5478
{ echo "$as_me:$LINENO: checking for sys/modem.h" >&5
5479
echo $ECHO_N "checking for sys/modem.h... $ECHO_C" >&6; }
5480
if test "${ac_cv_header_sys_modem_h+set}" = set; then
5481
echo $ECHO_N "(cached) $ECHO_C" >&6
5483
ac_cv_header_sys_modem_h=$ac_header_preproc
5485
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_modem_h" >&5
5486
echo "${ECHO_T}$ac_cv_header_sys_modem_h" >&6; }
5489
if test $ac_cv_header_sys_modem_h = yes; then
5490
cat >>confdefs.h <<\_ACEOF
5491
#define HAVE_SYS_MODEM_H 1
5497
if test "${ac_cv_header_sys_filio_h+set}" = set; then
5498
{ echo "$as_me:$LINENO: checking for sys/filio.h" >&5
5499
echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; }
5500
if test "${ac_cv_header_sys_filio_h+set}" = set; then
5501
echo $ECHO_N "(cached) $ECHO_C" >&6
5503
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
5504
echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; }
5506
# Is the header compilable?
5507
{ echo "$as_me:$LINENO: checking sys/filio.h usability" >&5
5508
echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; }
5509
cat >conftest.$ac_ext <<_ACEOF
5512
cat confdefs.h >>conftest.$ac_ext
5513
cat >>conftest.$ac_ext <<_ACEOF
5514
/* end confdefs.h. */
5515
$ac_includes_default
5516
#include <sys/filio.h>
5518
rm -f conftest.$ac_objext
5519
if { (ac_try="$ac_compile"
5521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5522
*) ac_try_echo=$ac_try;;
5524
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5525
(eval "$ac_compile") 2>conftest.er1
5527
grep -v '^ *+' conftest.er1 >conftest.err
5529
cat conftest.err >&5
5530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531
(exit $ac_status); } && {
5532
test -z "$ac_c_werror_flag" ||
5533
test ! -s conftest.err
5534
} && test -s conftest.$ac_objext; then
5535
ac_header_compiler=yes
5537
echo "$as_me: failed program was:" >&5
5538
sed 's/^/| /' conftest.$ac_ext >&5
5540
ac_header_compiler=no
5543
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5545
echo "${ECHO_T}$ac_header_compiler" >&6; }
5547
# Is the header present?
5548
{ echo "$as_me:$LINENO: checking sys/filio.h presence" >&5
5549
echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; }
5550
cat >conftest.$ac_ext <<_ACEOF
5553
cat confdefs.h >>conftest.$ac_ext
5554
cat >>conftest.$ac_ext <<_ACEOF
5555
/* end confdefs.h. */
5556
#include <sys/filio.h>
5558
if { (ac_try="$ac_cpp conftest.$ac_ext"
5560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5561
*) ac_try_echo=$ac_try;;
5563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5564
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5566
grep -v '^ *+' conftest.er1 >conftest.err
5568
cat conftest.err >&5
5569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570
(exit $ac_status); } >/dev/null && {
5571
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5572
test ! -s conftest.err
5574
ac_header_preproc=yes
5576
echo "$as_me: failed program was:" >&5
5577
sed 's/^/| /' conftest.$ac_ext >&5
5579
ac_header_preproc=no
5582
rm -f conftest.err conftest.$ac_ext
5583
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5584
echo "${ECHO_T}$ac_header_preproc" >&6; }
5586
# So? What about this header?
5587
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5589
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5
5590
echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5591
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5
5592
echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;}
5593
ac_header_preproc=yes
5596
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5
5597
echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;}
5598
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: check for missing prerequisite headers?" >&5
5599
echo "$as_me: WARNING: sys/filio.h: check for missing prerequisite headers?" >&2;}
5600
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5
5601
echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;}
5602
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&5
5603
echo "$as_me: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&2;}
5604
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5
5605
echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;}
5606
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5
5607
echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;}
5611
{ echo "$as_me:$LINENO: checking for sys/filio.h" >&5
5612
echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; }
5613
if test "${ac_cv_header_sys_filio_h+set}" = set; then
5614
echo $ECHO_N "(cached) $ECHO_C" >&6
5616
ac_cv_header_sys_filio_h=$ac_header_preproc
5618
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
5619
echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; }
5622
if test $ac_cv_header_sys_filio_h = yes; then
5623
cat >>confdefs.h <<\_ACEOF
5624
#define HAVE_SYS_FILIO_H 1
5630
if test "${ac_cv_header_sys_strtio_h+set}" = set; then
5631
{ echo "$as_me:$LINENO: checking for sys/strtio.h" >&5
5632
echo $ECHO_N "checking for sys/strtio.h... $ECHO_C" >&6; }
5633
if test "${ac_cv_header_sys_strtio_h+set}" = set; then
5634
echo $ECHO_N "(cached) $ECHO_C" >&6
5636
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_strtio_h" >&5
5637
echo "${ECHO_T}$ac_cv_header_sys_strtio_h" >&6; }
5639
# Is the header compilable?
5640
{ echo "$as_me:$LINENO: checking sys/strtio.h usability" >&5
5641
echo $ECHO_N "checking sys/strtio.h usability... $ECHO_C" >&6; }
5642
cat >conftest.$ac_ext <<_ACEOF
5645
cat confdefs.h >>conftest.$ac_ext
5646
cat >>conftest.$ac_ext <<_ACEOF
5647
/* end confdefs.h. */
5648
$ac_includes_default
5649
#include <sys/strtio.h>
5651
rm -f conftest.$ac_objext
5652
if { (ac_try="$ac_compile"
5654
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5655
*) ac_try_echo=$ac_try;;
5657
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5658
(eval "$ac_compile") 2>conftest.er1
5660
grep -v '^ *+' conftest.er1 >conftest.err
5662
cat conftest.err >&5
5663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664
(exit $ac_status); } && {
5665
test -z "$ac_c_werror_flag" ||
5666
test ! -s conftest.err
5667
} && test -s conftest.$ac_objext; then
5668
ac_header_compiler=yes
5670
echo "$as_me: failed program was:" >&5
5671
sed 's/^/| /' conftest.$ac_ext >&5
5673
ac_header_compiler=no
5676
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5678
echo "${ECHO_T}$ac_header_compiler" >&6; }
5680
# Is the header present?
5681
{ echo "$as_me:$LINENO: checking sys/strtio.h presence" >&5
5682
echo $ECHO_N "checking sys/strtio.h presence... $ECHO_C" >&6; }
5683
cat >conftest.$ac_ext <<_ACEOF
5686
cat confdefs.h >>conftest.$ac_ext
5687
cat >>conftest.$ac_ext <<_ACEOF
5688
/* end confdefs.h. */
5689
#include <sys/strtio.h>
5691
if { (ac_try="$ac_cpp conftest.$ac_ext"
5693
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5694
*) ac_try_echo=$ac_try;;
5696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5697
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5699
grep -v '^ *+' conftest.er1 >conftest.err
5701
cat conftest.err >&5
5702
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703
(exit $ac_status); } >/dev/null && {
5704
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5705
test ! -s conftest.err
5707
ac_header_preproc=yes
5709
echo "$as_me: failed program was:" >&5
5710
sed 's/^/| /' conftest.$ac_ext >&5
5712
ac_header_preproc=no
5715
rm -f conftest.err conftest.$ac_ext
5716
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5717
echo "${ECHO_T}$ac_header_preproc" >&6; }
5719
# So? What about this header?
5720
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5722
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: accepted by the compiler, rejected by the preprocessor!" >&5
5723
echo "$as_me: WARNING: sys/strtio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5724
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: proceeding with the compiler's result" >&5
5725
echo "$as_me: WARNING: sys/strtio.h: proceeding with the compiler's result" >&2;}
5726
ac_header_preproc=yes
5729
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: present but cannot be compiled" >&5
5730
echo "$as_me: WARNING: sys/strtio.h: present but cannot be compiled" >&2;}
5731
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: check for missing prerequisite headers?" >&5
5732
echo "$as_me: WARNING: sys/strtio.h: check for missing prerequisite headers?" >&2;}
5733
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: see the Autoconf documentation" >&5
5734
echo "$as_me: WARNING: sys/strtio.h: see the Autoconf documentation" >&2;}
5735
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: section \"Present But Cannot Be Compiled\"" >&5
5736
echo "$as_me: WARNING: sys/strtio.h: section \"Present But Cannot Be Compiled\"" >&2;}
5737
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: proceeding with the preprocessor's result" >&5
5738
echo "$as_me: WARNING: sys/strtio.h: proceeding with the preprocessor's result" >&2;}
5739
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: in the future, the compiler will take precedence" >&5
5740
echo "$as_me: WARNING: sys/strtio.h: in the future, the compiler will take precedence" >&2;}
5744
{ echo "$as_me:$LINENO: checking for sys/strtio.h" >&5
5745
echo $ECHO_N "checking for sys/strtio.h... $ECHO_C" >&6; }
5746
if test "${ac_cv_header_sys_strtio_h+set}" = set; then
5747
echo $ECHO_N "(cached) $ECHO_C" >&6
5749
ac_cv_header_sys_strtio_h=$ac_header_preproc
5751
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_strtio_h" >&5
5752
echo "${ECHO_T}$ac_cv_header_sys_strtio_h" >&6; }
5755
if test $ac_cv_header_sys_strtio_h = yes; then
5756
cat >>confdefs.h <<\_ACEOF
5757
#define HAVE_SYS_STRTIO_H 1
5763
if test "${ac_cv_header_locale_h+set}" = set; then
5764
{ echo "$as_me:$LINENO: checking for locale.h" >&5
5765
echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
5766
if test "${ac_cv_header_locale_h+set}" = set; then
5767
echo $ECHO_N "(cached) $ECHO_C" >&6
5769
{ echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
5770
echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
5772
# Is the header compilable?
5773
{ echo "$as_me:$LINENO: checking locale.h usability" >&5
5774
echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; }
5775
cat >conftest.$ac_ext <<_ACEOF
5778
cat confdefs.h >>conftest.$ac_ext
5779
cat >>conftest.$ac_ext <<_ACEOF
5780
/* end confdefs.h. */
5781
$ac_includes_default
5784
rm -f conftest.$ac_objext
5785
if { (ac_try="$ac_compile"
5787
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5788
*) ac_try_echo=$ac_try;;
5790
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5791
(eval "$ac_compile") 2>conftest.er1
5793
grep -v '^ *+' conftest.er1 >conftest.err
5795
cat conftest.err >&5
5796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797
(exit $ac_status); } && {
5798
test -z "$ac_c_werror_flag" ||
5799
test ! -s conftest.err
5800
} && test -s conftest.$ac_objext; then
5801
ac_header_compiler=yes
5803
echo "$as_me: failed program was:" >&5
5804
sed 's/^/| /' conftest.$ac_ext >&5
5806
ac_header_compiler=no
5809
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5810
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5811
echo "${ECHO_T}$ac_header_compiler" >&6; }
5813
# Is the header present?
5814
{ echo "$as_me:$LINENO: checking locale.h presence" >&5
5815
echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; }
5816
cat >conftest.$ac_ext <<_ACEOF
5819
cat confdefs.h >>conftest.$ac_ext
5820
cat >>conftest.$ac_ext <<_ACEOF
5821
/* end confdefs.h. */
5824
if { (ac_try="$ac_cpp conftest.$ac_ext"
5826
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5827
*) ac_try_echo=$ac_try;;
5829
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5830
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5832
grep -v '^ *+' conftest.er1 >conftest.err
5834
cat conftest.err >&5
5835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836
(exit $ac_status); } >/dev/null && {
5837
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5838
test ! -s conftest.err
5840
ac_header_preproc=yes
5842
echo "$as_me: failed program was:" >&5
5843
sed 's/^/| /' conftest.$ac_ext >&5
5845
ac_header_preproc=no
5848
rm -f conftest.err conftest.$ac_ext
5849
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5850
echo "${ECHO_T}$ac_header_preproc" >&6; }
5852
# So? What about this header?
5853
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5855
{ echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
5856
echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5857
{ echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
5858
echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
5859
ac_header_preproc=yes
5862
{ echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
5863
echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
5864
{ echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
5865
echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
5866
{ echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
5867
echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
5868
{ echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
5869
echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
5870
{ echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
5871
echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
5872
{ echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
5873
echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
5877
{ echo "$as_me:$LINENO: checking for locale.h" >&5
5878
echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
5879
if test "${ac_cv_header_locale_h+set}" = set; then
5880
echo $ECHO_N "(cached) $ECHO_C" >&6
5882
ac_cv_header_locale_h=$ac_header_preproc
5884
{ echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
5885
echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
5888
if test $ac_cv_header_locale_h = yes; then
5889
cat >>confdefs.h <<\_ACEOF
5890
#define HAVE_LOCALE_H 1
5896
if test "${ac_cv_header_langinfo_h+set}" = set; then
5897
{ echo "$as_me:$LINENO: checking for langinfo.h" >&5
5898
echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6; }
5899
if test "${ac_cv_header_langinfo_h+set}" = set; then
5900
echo $ECHO_N "(cached) $ECHO_C" >&6
5902
{ echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
5903
echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6; }
5905
# Is the header compilable?
5906
{ echo "$as_me:$LINENO: checking langinfo.h usability" >&5
5907
echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6; }
5908
cat >conftest.$ac_ext <<_ACEOF
5911
cat confdefs.h >>conftest.$ac_ext
5912
cat >>conftest.$ac_ext <<_ACEOF
5913
/* end confdefs.h. */
5914
$ac_includes_default
5915
#include <langinfo.h>
5917
rm -f conftest.$ac_objext
5918
if { (ac_try="$ac_compile"
5920
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5921
*) ac_try_echo=$ac_try;;
5923
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5924
(eval "$ac_compile") 2>conftest.er1
5926
grep -v '^ *+' conftest.er1 >conftest.err
5928
cat conftest.err >&5
5929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930
(exit $ac_status); } && {
5931
test -z "$ac_c_werror_flag" ||
5932
test ! -s conftest.err
5933
} && test -s conftest.$ac_objext; then
5934
ac_header_compiler=yes
5936
echo "$as_me: failed program was:" >&5
5937
sed 's/^/| /' conftest.$ac_ext >&5
5939
ac_header_compiler=no
5942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5943
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5944
echo "${ECHO_T}$ac_header_compiler" >&6; }
5946
# Is the header present?
5947
{ echo "$as_me:$LINENO: checking langinfo.h presence" >&5
5948
echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6; }
5949
cat >conftest.$ac_ext <<_ACEOF
5952
cat confdefs.h >>conftest.$ac_ext
5953
cat >>conftest.$ac_ext <<_ACEOF
5954
/* end confdefs.h. */
5955
#include <langinfo.h>
5957
if { (ac_try="$ac_cpp conftest.$ac_ext"
5959
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5960
*) ac_try_echo=$ac_try;;
5962
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5963
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5965
grep -v '^ *+' conftest.er1 >conftest.err
5967
cat conftest.err >&5
5968
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969
(exit $ac_status); } >/dev/null && {
5970
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5971
test ! -s conftest.err
5973
ac_header_preproc=yes
5975
echo "$as_me: failed program was:" >&5
5976
sed 's/^/| /' conftest.$ac_ext >&5
5978
ac_header_preproc=no
5981
rm -f conftest.err conftest.$ac_ext
5982
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5983
echo "${ECHO_T}$ac_header_preproc" >&6; }
5985
# So? What about this header?
5986
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5988
{ echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
5989
echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5990
{ echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
5991
echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
5992
ac_header_preproc=yes
5995
{ echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
5996
echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
5997
{ echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
5998
echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
5999
{ echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
6000
echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
6001
{ echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
6002
echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
6003
{ echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
6004
echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
6005
{ echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
6006
echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
6010
{ echo "$as_me:$LINENO: checking for langinfo.h" >&5
6011
echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6; }
6012
if test "${ac_cv_header_langinfo_h+set}" = set; then
6013
echo $ECHO_N "(cached) $ECHO_C" >&6
6015
ac_cv_header_langinfo_h=$ac_header_preproc
6017
{ echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
6018
echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6; }
6021
if test $ac_cv_header_langinfo_h = yes; then
6022
cat >>confdefs.h <<\_ACEOF
6023
#define HAVE_LANGINFO_H 1
4991
if test "$ac_res" != no; then :
4992
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
4997
$as_echo_n "checking for library containing clock_gettime... " >&6; }
4998
if test "${ac_cv_search_clock_gettime+set}" = set; then :
4999
$as_echo_n "(cached) " >&6
5001
ac_func_search_save_LIBS=$LIBS
5002
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003
/* end confdefs.h. */
5005
/* Override any GCC internal prototype to avoid an error.
5006
Use char because int might match the return type of a GCC
5007
builtin and then its argument prototype would still apply. */
5011
char clock_gettime ();
5015
return clock_gettime ();
5020
for ac_lib in '' rt; do
5021
if test -z "$ac_lib"; then
5022
ac_res="none required"
5025
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5027
if ac_fn_c_try_link "$LINENO"; then :
5028
ac_cv_search_clock_gettime=$ac_res
5030
rm -f core conftest.err conftest.$ac_objext \
5032
if test "${ac_cv_search_clock_gettime+set}" = set; then :
5036
if test "${ac_cv_search_clock_gettime+set}" = set; then :
5039
ac_cv_search_clock_gettime=no
5042
LIBS=$ac_func_search_save_LIBS
5044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5045
$as_echo "$ac_cv_search_clock_gettime" >&6; }
5046
ac_res=$ac_cv_search_clock_gettime
5047
if test "$ac_res" != no; then :
5048
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5053
ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
5054
if test "x$ac_cv_header_sys_select_h" = x""yes; then :
5055
$as_echo "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
5060
ac_fn_c_check_header_mongrel "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
5061
if test "x$ac_cv_header_sys_modem_h" = x""yes; then :
5062
$as_echo "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
5067
ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
5068
if test "x$ac_cv_header_sys_filio_h" = x""yes; then :
5069
$as_echo "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
5074
ac_fn_c_check_header_mongrel "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
5075
if test "x$ac_cv_header_sys_strtio_h" = x""yes; then :
5076
$as_echo "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
5081
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5082
if test "x$ac_cv_header_locale_h" = x""yes; then :
5083
$as_echo "#define HAVE_LOCALE_H 1" >>confdefs.h
5088
ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
5089
if test "x$ac_cv_header_langinfo_h" = x""yes; then :
5090
$as_echo "#define HAVE_LANGINFO_H 1" >>confdefs.h
6198
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6199
if test -n "$ac_tool_prefix"; then
6200
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6201
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6202
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6203
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6204
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6205
echo $ECHO_N "(cached) $ECHO_C" >&6
6209
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216
test -z "$as_dir" && as_dir=.
6217
for ac_exec_ext in '' $ac_executable_extensions; do
6218
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6220
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6230
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6231
if test -n "$PKG_CONFIG"; then
6232
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6233
echo "${ECHO_T}$PKG_CONFIG" >&6; }
6235
{ echo "$as_me:$LINENO: result: no" >&5
6236
echo "${ECHO_T}no" >&6; }
6241
if test -z "$ac_cv_path_PKG_CONFIG"; then
6242
ac_pt_PKG_CONFIG=$PKG_CONFIG
6243
# Extract the first word of "pkg-config", so it can be a program name with args.
6244
set dummy pkg-config; ac_word=$2
6245
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6246
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6247
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6248
echo $ECHO_N "(cached) $ECHO_C" >&6
6250
case $ac_pt_PKG_CONFIG in
6252
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259
test -z "$as_dir" && as_dir=.
6260
for ac_exec_ext in '' $ac_executable_extensions; do
6261
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6263
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6273
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6274
if test -n "$ac_pt_PKG_CONFIG"; then
6275
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6276
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
6278
{ echo "$as_me:$LINENO: result: no" >&5
6279
echo "${ECHO_T}no" >&6; }
6282
if test "x$ac_pt_PKG_CONFIG" = x; then
6285
case $cross_compiling:$ac_tool_warned in
6287
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6288
whose name does not start with the host triplet. If you think this
6289
configuration is useful to you, please write to autoconf@gnu.org." >&5
6290
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6291
whose name does not start with the host triplet. If you think this
6292
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6293
ac_tool_warned=yes ;;
6295
PKG_CONFIG=$ac_pt_PKG_CONFIG
6298
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6302
if test -n "$PKG_CONFIG"; then
6303
_pkg_min_version=0.9.0
6304
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6305
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
6306
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6307
{ echo "$as_me:$LINENO: result: yes" >&5
6308
echo "${ECHO_T}yes" >&6; }
6310
{ echo "$as_me:$LINENO: result: no" >&5
6311
echo "${ECHO_T}no" >&6; }
6316
5261
# Check whether --enable-smartcard was given.
6317
if test "${enable_smartcard+set}" = set; then
5262
if test "${enable_smartcard+set}" = set; then :
6318
5263
enableval=$enable_smartcard;
6319
5264
case "$OSTYPE" in
6321
if test "${ac_cv_header_PCSC_pcsclite_h+set}" = set; then
6322
{ echo "$as_me:$LINENO: checking for PCSC/pcsclite.h" >&5
6323
echo $ECHO_N "checking for PCSC/pcsclite.h... $ECHO_C" >&6; }
6324
if test "${ac_cv_header_PCSC_pcsclite_h+set}" = set; then
6325
echo $ECHO_N "(cached) $ECHO_C" >&6
6327
{ echo "$as_me:$LINENO: result: $ac_cv_header_PCSC_pcsclite_h" >&5
6328
echo "${ECHO_T}$ac_cv_header_PCSC_pcsclite_h" >&6; }
6330
# Is the header compilable?
6331
{ echo "$as_me:$LINENO: checking PCSC/pcsclite.h usability" >&5
6332
echo $ECHO_N "checking PCSC/pcsclite.h usability... $ECHO_C" >&6; }
6333
cat >conftest.$ac_ext <<_ACEOF
6336
cat confdefs.h >>conftest.$ac_ext
6337
cat >>conftest.$ac_ext <<_ACEOF
6338
/* end confdefs.h. */
6339
$ac_includes_default
6340
#include <PCSC/pcsclite.h>
6342
rm -f conftest.$ac_objext
6343
if { (ac_try="$ac_compile"
6345
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346
*) ac_try_echo=$ac_try;;
6348
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349
(eval "$ac_compile") 2>conftest.er1
6351
grep -v '^ *+' conftest.er1 >conftest.err
6353
cat conftest.err >&5
6354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355
(exit $ac_status); } && {
6356
test -z "$ac_c_werror_flag" ||
6357
test ! -s conftest.err
6358
} && test -s conftest.$ac_objext; then
6359
ac_header_compiler=yes
6361
echo "$as_me: failed program was:" >&5
6362
sed 's/^/| /' conftest.$ac_ext >&5
6364
ac_header_compiler=no
6367
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6368
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6369
echo "${ECHO_T}$ac_header_compiler" >&6; }
6371
# Is the header present?
6372
{ echo "$as_me:$LINENO: checking PCSC/pcsclite.h presence" >&5
6373
echo $ECHO_N "checking PCSC/pcsclite.h presence... $ECHO_C" >&6; }
6374
cat >conftest.$ac_ext <<_ACEOF
6377
cat confdefs.h >>conftest.$ac_ext
6378
cat >>conftest.$ac_ext <<_ACEOF
6379
/* end confdefs.h. */
6380
#include <PCSC/pcsclite.h>
6382
if { (ac_try="$ac_cpp conftest.$ac_ext"
6384
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6385
*) ac_try_echo=$ac_try;;
6387
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6388
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6390
grep -v '^ *+' conftest.er1 >conftest.err
6392
cat conftest.err >&5
6393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394
(exit $ac_status); } >/dev/null && {
6395
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6396
test ! -s conftest.err
6398
ac_header_preproc=yes
6400
echo "$as_me: failed program was:" >&5
6401
sed 's/^/| /' conftest.$ac_ext >&5
6403
ac_header_preproc=no
6406
rm -f conftest.err conftest.$ac_ext
6407
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6408
echo "${ECHO_T}$ac_header_preproc" >&6; }
6410
# So? What about this header?
6411
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6413
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: accepted by the compiler, rejected by the preprocessor!" >&5
6414
echo "$as_me: WARNING: PCSC/pcsclite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6415
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: proceeding with the compiler's result" >&5
6416
echo "$as_me: WARNING: PCSC/pcsclite.h: proceeding with the compiler's result" >&2;}
6417
ac_header_preproc=yes
6420
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: present but cannot be compiled" >&5
6421
echo "$as_me: WARNING: PCSC/pcsclite.h: present but cannot be compiled" >&2;}
6422
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: check for missing prerequisite headers?" >&5
6423
echo "$as_me: WARNING: PCSC/pcsclite.h: check for missing prerequisite headers?" >&2;}
6424
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: see the Autoconf documentation" >&5
6425
echo "$as_me: WARNING: PCSC/pcsclite.h: see the Autoconf documentation" >&2;}
6426
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: section \"Present But Cannot Be Compiled\"" >&5
6427
echo "$as_me: WARNING: PCSC/pcsclite.h: section \"Present But Cannot Be Compiled\"" >&2;}
6428
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: proceeding with the preprocessor's result" >&5
6429
echo "$as_me: WARNING: PCSC/pcsclite.h: proceeding with the preprocessor's result" >&2;}
6430
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: in the future, the compiler will take precedence" >&5
6431
echo "$as_me: WARNING: PCSC/pcsclite.h: in the future, the compiler will take precedence" >&2;}
6435
{ echo "$as_me:$LINENO: checking for PCSC/pcsclite.h" >&5
6436
echo $ECHO_N "checking for PCSC/pcsclite.h... $ECHO_C" >&6; }
6437
if test "${ac_cv_header_PCSC_pcsclite_h+set}" = set; then
6438
echo $ECHO_N "(cached) $ECHO_C" >&6
6440
ac_cv_header_PCSC_pcsclite_h=$ac_header_preproc
6442
{ echo "$as_me:$LINENO: result: $ac_cv_header_PCSC_pcsclite_h" >&5
6443
echo "${ECHO_T}$ac_cv_header_PCSC_pcsclite_h" >&6; }
6446
if test $ac_cv_header_PCSC_pcsclite_h = yes; then
5266
ac_fn_c_check_header_mongrel "$LINENO" "PCSC/pcsclite.h" "ac_cv_header_PCSC_pcsclite_h" "$ac_includes_default"
5267
if test "x$ac_cv_header_PCSC_pcsclite_h" = x""yes; then :
6797
5459
# Check whether --with-sound was given.
6798
if test "${with_sound+set}" = set; then
5460
if test "${with_sound+set}" = set; then :
6799
5461
withval=$with_sound;
6800
5462
sound="$withval"
6805
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
6806
{ echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
6807
echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
6808
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
6809
echo $ECHO_N "(cached) $ECHO_C" >&6
6811
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
6812
echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
6814
# Is the header compilable?
6815
{ echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
6816
echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; }
6817
cat >conftest.$ac_ext <<_ACEOF
6820
cat confdefs.h >>conftest.$ac_ext
6821
cat >>conftest.$ac_ext <<_ACEOF
6822
/* end confdefs.h. */
6823
$ac_includes_default
6824
#include <sys/soundcard.h>
6826
rm -f conftest.$ac_objext
6827
if { (ac_try="$ac_compile"
6829
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6830
*) ac_try_echo=$ac_try;;
6832
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6833
(eval "$ac_compile") 2>conftest.er1
6835
grep -v '^ *+' conftest.er1 >conftest.err
6837
cat conftest.err >&5
6838
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839
(exit $ac_status); } && {
6840
test -z "$ac_c_werror_flag" ||
6841
test ! -s conftest.err
6842
} && test -s conftest.$ac_objext; then
6843
ac_header_compiler=yes
6845
echo "$as_me: failed program was:" >&5
6846
sed 's/^/| /' conftest.$ac_ext >&5
6848
ac_header_compiler=no
6851
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6852
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6853
echo "${ECHO_T}$ac_header_compiler" >&6; }
6855
# Is the header present?
6856
{ echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
6857
echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; }
6858
cat >conftest.$ac_ext <<_ACEOF
6861
cat confdefs.h >>conftest.$ac_ext
6862
cat >>conftest.$ac_ext <<_ACEOF
6863
/* end confdefs.h. */
6864
#include <sys/soundcard.h>
6866
if { (ac_try="$ac_cpp conftest.$ac_ext"
6868
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6869
*) ac_try_echo=$ac_try;;
6871
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6872
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6874
grep -v '^ *+' conftest.er1 >conftest.err
6876
cat conftest.err >&5
6877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878
(exit $ac_status); } >/dev/null && {
6879
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6880
test ! -s conftest.err
6882
ac_header_preproc=yes
6884
echo "$as_me: failed program was:" >&5
6885
sed 's/^/| /' conftest.$ac_ext >&5
6887
ac_header_preproc=no
6890
rm -f conftest.err conftest.$ac_ext
6891
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6892
echo "${ECHO_T}$ac_header_preproc" >&6; }
6894
# So? What about this header?
6895
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6897
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
6898
echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6899
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
6900
echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
6901
ac_header_preproc=yes
6904
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
6905
echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
6906
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
6907
echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
6908
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
6909
echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
6910
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
6911
echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
6912
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
6913
echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
6914
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
6915
echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
6919
{ echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
6920
echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
6921
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
6922
echo $ECHO_N "(cached) $ECHO_C" >&6
6924
ac_cv_header_sys_soundcard_h=$ac_header_preproc
6926
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
6927
echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
6930
if test $ac_cv_header_sys_soundcard_h = yes; then
5467
ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
5468
if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then :
6937
if test "${ac_cv_header_dmedia_audio_h+set}" = set; then
6938
{ echo "$as_me:$LINENO: checking for dmedia/audio.h" >&5
6939
echo $ECHO_N "checking for dmedia/audio.h... $ECHO_C" >&6; }
6940
if test "${ac_cv_header_dmedia_audio_h+set}" = set; then
6941
echo $ECHO_N "(cached) $ECHO_C" >&6
6943
{ echo "$as_me:$LINENO: result: $ac_cv_header_dmedia_audio_h" >&5
6944
echo "${ECHO_T}$ac_cv_header_dmedia_audio_h" >&6; }
6946
# Is the header compilable?
6947
{ echo "$as_me:$LINENO: checking dmedia/audio.h usability" >&5
6948
echo $ECHO_N "checking dmedia/audio.h usability... $ECHO_C" >&6; }
6949
cat >conftest.$ac_ext <<_ACEOF
6952
cat confdefs.h >>conftest.$ac_ext
6953
cat >>conftest.$ac_ext <<_ACEOF
6954
/* end confdefs.h. */
6955
$ac_includes_default
6956
#include <dmedia/audio.h>
6958
rm -f conftest.$ac_objext
6959
if { (ac_try="$ac_compile"
6961
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6962
*) ac_try_echo=$ac_try;;
6964
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6965
(eval "$ac_compile") 2>conftest.er1
6967
grep -v '^ *+' conftest.er1 >conftest.err
6969
cat conftest.err >&5
6970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971
(exit $ac_status); } && {
6972
test -z "$ac_c_werror_flag" ||
6973
test ! -s conftest.err
6974
} && test -s conftest.$ac_objext; then
6975
ac_header_compiler=yes
6977
echo "$as_me: failed program was:" >&5
6978
sed 's/^/| /' conftest.$ac_ext >&5
6980
ac_header_compiler=no
6983
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6985
echo "${ECHO_T}$ac_header_compiler" >&6; }
6987
# Is the header present?
6988
{ echo "$as_me:$LINENO: checking dmedia/audio.h presence" >&5
6989
echo $ECHO_N "checking dmedia/audio.h presence... $ECHO_C" >&6; }
6990
cat >conftest.$ac_ext <<_ACEOF
6993
cat confdefs.h >>conftest.$ac_ext
6994
cat >>conftest.$ac_ext <<_ACEOF
6995
/* end confdefs.h. */
6996
#include <dmedia/audio.h>
6998
if { (ac_try="$ac_cpp conftest.$ac_ext"
7000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001
*) ac_try_echo=$ac_try;;
7003
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7006
grep -v '^ *+' conftest.er1 >conftest.err
7008
cat conftest.err >&5
7009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010
(exit $ac_status); } >/dev/null && {
7011
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7012
test ! -s conftest.err
7014
ac_header_preproc=yes
7016
echo "$as_me: failed program was:" >&5
7017
sed 's/^/| /' conftest.$ac_ext >&5
7019
ac_header_preproc=no
7022
rm -f conftest.err conftest.$ac_ext
7023
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7024
echo "${ECHO_T}$ac_header_preproc" >&6; }
7026
# So? What about this header?
7027
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7029
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: accepted by the compiler, rejected by the preprocessor!" >&5
7030
echo "$as_me: WARNING: dmedia/audio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7031
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: proceeding with the compiler's result" >&5
7032
echo "$as_me: WARNING: dmedia/audio.h: proceeding with the compiler's result" >&2;}
7033
ac_header_preproc=yes
7036
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: present but cannot be compiled" >&5
7037
echo "$as_me: WARNING: dmedia/audio.h: present but cannot be compiled" >&2;}
7038
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: check for missing prerequisite headers?" >&5
7039
echo "$as_me: WARNING: dmedia/audio.h: check for missing prerequisite headers?" >&2;}
7040
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: see the Autoconf documentation" >&5
7041
echo "$as_me: WARNING: dmedia/audio.h: see the Autoconf documentation" >&2;}
7042
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: section \"Present But Cannot Be Compiled\"" >&5
7043
echo "$as_me: WARNING: dmedia/audio.h: section \"Present But Cannot Be Compiled\"" >&2;}
7044
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: proceeding with the preprocessor's result" >&5
7045
echo "$as_me: WARNING: dmedia/audio.h: proceeding with the preprocessor's result" >&2;}
7046
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: in the future, the compiler will take precedence" >&5
7047
echo "$as_me: WARNING: dmedia/audio.h: in the future, the compiler will take precedence" >&2;}
7051
{ echo "$as_me:$LINENO: checking for dmedia/audio.h" >&5
7052
echo $ECHO_N "checking for dmedia/audio.h... $ECHO_C" >&6; }
7053
if test "${ac_cv_header_dmedia_audio_h+set}" = set; then
7054
echo $ECHO_N "(cached) $ECHO_C" >&6
7056
ac_cv_header_dmedia_audio_h=$ac_header_preproc
7058
{ echo "$as_me:$LINENO: result: $ac_cv_header_dmedia_audio_h" >&5
7059
echo "${ECHO_T}$ac_cv_header_dmedia_audio_h" >&6; }
7062
if test $ac_cv_header_dmedia_audio_h = yes; then
5475
ac_fn_c_check_header_mongrel "$LINENO" "dmedia/audio.h" "ac_cv_header_dmedia_audio_h" "$ac_includes_default"
5476
if test "x$ac_cv_header_dmedia_audio_h" = x""yes; then :
7069
if test "${ac_cv_header_sys_audioio_h+set}" = set; then
7070
{ echo "$as_me:$LINENO: checking for sys/audioio.h" >&5
7071
echo $ECHO_N "checking for sys/audioio.h... $ECHO_C" >&6; }
7072
if test "${ac_cv_header_sys_audioio_h+set}" = set; then
7073
echo $ECHO_N "(cached) $ECHO_C" >&6
7075
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_audioio_h" >&5
7076
echo "${ECHO_T}$ac_cv_header_sys_audioio_h" >&6; }
7078
# Is the header compilable?
7079
{ echo "$as_me:$LINENO: checking sys/audioio.h usability" >&5
7080
echo $ECHO_N "checking sys/audioio.h usability... $ECHO_C" >&6; }
7081
cat >conftest.$ac_ext <<_ACEOF
7084
cat confdefs.h >>conftest.$ac_ext
7085
cat >>conftest.$ac_ext <<_ACEOF
7086
/* end confdefs.h. */
7087
$ac_includes_default
7088
#include <sys/audioio.h>
7090
rm -f conftest.$ac_objext
7091
if { (ac_try="$ac_compile"
7093
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7094
*) ac_try_echo=$ac_try;;
7096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7097
(eval "$ac_compile") 2>conftest.er1
7099
grep -v '^ *+' conftest.er1 >conftest.err
7101
cat conftest.err >&5
7102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103
(exit $ac_status); } && {
7104
test -z "$ac_c_werror_flag" ||
7105
test ! -s conftest.err
7106
} && test -s conftest.$ac_objext; then
7107
ac_header_compiler=yes
7109
echo "$as_me: failed program was:" >&5
7110
sed 's/^/| /' conftest.$ac_ext >&5
7112
ac_header_compiler=no
7115
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7116
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7117
echo "${ECHO_T}$ac_header_compiler" >&6; }
7119
# Is the header present?
7120
{ echo "$as_me:$LINENO: checking sys/audioio.h presence" >&5
7121
echo $ECHO_N "checking sys/audioio.h presence... $ECHO_C" >&6; }
7122
cat >conftest.$ac_ext <<_ACEOF
7125
cat confdefs.h >>conftest.$ac_ext
7126
cat >>conftest.$ac_ext <<_ACEOF
7127
/* end confdefs.h. */
7128
#include <sys/audioio.h>
7130
if { (ac_try="$ac_cpp conftest.$ac_ext"
7132
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7133
*) ac_try_echo=$ac_try;;
7135
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7136
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7138
grep -v '^ *+' conftest.er1 >conftest.err
7140
cat conftest.err >&5
7141
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142
(exit $ac_status); } >/dev/null && {
7143
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7144
test ! -s conftest.err
7146
ac_header_preproc=yes
7148
echo "$as_me: failed program was:" >&5
7149
sed 's/^/| /' conftest.$ac_ext >&5
7151
ac_header_preproc=no
7154
rm -f conftest.err conftest.$ac_ext
7155
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7156
echo "${ECHO_T}$ac_header_preproc" >&6; }
7158
# So? What about this header?
7159
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7161
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: accepted by the compiler, rejected by the preprocessor!" >&5
7162
echo "$as_me: WARNING: sys/audioio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7163
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: proceeding with the compiler's result" >&5
7164
echo "$as_me: WARNING: sys/audioio.h: proceeding with the compiler's result" >&2;}
7165
ac_header_preproc=yes
7168
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: present but cannot be compiled" >&5
7169
echo "$as_me: WARNING: sys/audioio.h: present but cannot be compiled" >&2;}
7170
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: check for missing prerequisite headers?" >&5
7171
echo "$as_me: WARNING: sys/audioio.h: check for missing prerequisite headers?" >&2;}
7172
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: see the Autoconf documentation" >&5
7173
echo "$as_me: WARNING: sys/audioio.h: see the Autoconf documentation" >&2;}
7174
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: section \"Present But Cannot Be Compiled\"" >&5
7175
echo "$as_me: WARNING: sys/audioio.h: section \"Present But Cannot Be Compiled\"" >&2;}
7176
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: proceeding with the preprocessor's result" >&5
7177
echo "$as_me: WARNING: sys/audioio.h: proceeding with the preprocessor's result" >&2;}
7178
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: in the future, the compiler will take precedence" >&5
7179
echo "$as_me: WARNING: sys/audioio.h: in the future, the compiler will take precedence" >&2;}
7183
{ echo "$as_me:$LINENO: checking for sys/audioio.h" >&5
7184
echo $ECHO_N "checking for sys/audioio.h... $ECHO_C" >&6; }
7185
if test "${ac_cv_header_sys_audioio_h+set}" = set; then
7186
echo $ECHO_N "(cached) $ECHO_C" >&6
7188
ac_cv_header_sys_audioio_h=$ac_header_preproc
7190
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_audioio_h" >&5
7191
echo "${ECHO_T}$ac_cv_header_sys_audioio_h" >&6; }
7194
if test $ac_cv_header_sys_audioio_h = yes; then
5483
ac_fn_c_check_header_mongrel "$LINENO" "sys/audioio.h" "ac_cv_header_sys_audioio_h" "$ac_includes_default"
5484
if test "x$ac_cv_header_sys_audioio_h" = x""yes; then :
7210
5500
if test -n "$PKG_CONFIG"; then
7213
{ echo "$as_me:$LINENO: checking for LIBAO" >&5
7214
echo $ECHO_N "checking for LIBAO... $ECHO_C" >&6; }
7216
if test -n "$PKG_CONFIG"; then
7217
if test -n "$LIBAO_CFLAGS"; then
7218
pkg_cv_LIBAO_CFLAGS="$LIBAO_CFLAGS"
7220
if test -n "$PKG_CONFIG" && \
7221
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ao\"") >&5
7222
($PKG_CONFIG --exists --print-errors "ao") 2>&5
7224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225
(exit $ac_status); }; then
7226
pkg_cv_LIBAO_CFLAGS=`$PKG_CONFIG --cflags "ao" 2>/dev/null`
7234
if test -n "$PKG_CONFIG"; then
7235
if test -n "$LIBAO_LIBS"; then
7236
pkg_cv_LIBAO_LIBS="$LIBAO_LIBS"
7238
if test -n "$PKG_CONFIG" && \
7239
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ao\"") >&5
7240
($PKG_CONFIG --exists --print-errors "ao") 2>&5
7242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243
(exit $ac_status); }; then
7244
pkg_cv_LIBAO_LIBS=`$PKG_CONFIG --libs "ao" 2>/dev/null`
7255
if test $pkg_failed = yes; then
7257
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7258
_pkg_short_errors_supported=yes
7260
_pkg_short_errors_supported=no
7262
if test $_pkg_short_errors_supported = yes; then
7263
LIBAO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ao"`
7265
LIBAO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ao"`
7267
# Put the nasty error message in config.log where it belongs
7268
echo "$LIBAO_PKG_ERRORS" >&5
7270
{ echo "$as_me:$LINENO: result: no" >&5
7271
echo "${ECHO_T}no" >&6; }
7273
elif test $pkg_failed = untried; then
7276
LIBAO_CFLAGS=$pkg_cv_LIBAO_CFLAGS
7277
LIBAO_LIBS=$pkg_cv_LIBAO_LIBS
7278
{ echo "$as_me:$LINENO: result: yes" >&5
7279
echo "${ECHO_T}yes" >&6; }
7284
{ echo "$as_me:$LINENO: checking for ALSA" >&5
7285
echo $ECHO_N "checking for ALSA... $ECHO_C" >&6; }
7287
if test -n "$PKG_CONFIG"; then
7288
if test -n "$ALSA_CFLAGS"; then
7289
pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
7291
if test -n "$PKG_CONFIG" && \
7292
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
7293
($PKG_CONFIG --exists --print-errors "alsa") 2>&5
7295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296
(exit $ac_status); }; then
7297
pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
7305
if test -n "$PKG_CONFIG"; then
7306
if test -n "$ALSA_LIBS"; then
7307
pkg_cv_ALSA_LIBS="$ALSA_LIBS"
7309
if test -n "$PKG_CONFIG" && \
7310
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
7311
($PKG_CONFIG --exists --print-errors "alsa") 2>&5
7313
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314
(exit $ac_status); }; then
7315
pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
7326
if test $pkg_failed = yes; then
7328
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7329
_pkg_short_errors_supported=yes
7331
_pkg_short_errors_supported=no
7333
if test $_pkg_short_errors_supported = yes; then
7334
ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"`
7336
ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"`
7338
# Put the nasty error message in config.log where it belongs
7339
echo "$ALSA_PKG_ERRORS" >&5
7341
{ echo "$as_me:$LINENO: result: no" >&5
7342
echo "${ECHO_T}no" >&6; }
7344
elif test $pkg_failed = untried; then
7347
ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
7348
ALSA_LIBS=$pkg_cv_ALSA_LIBS
7349
{ echo "$as_me:$LINENO: result: yes" >&5
7350
echo "${ECHO_T}yes" >&6; }
7355
{ echo "$as_me:$LINENO: checking for LIBSAMPLERATE" >&5
7356
echo $ECHO_N "checking for LIBSAMPLERATE... $ECHO_C" >&6; }
7358
if test -n "$PKG_CONFIG"; then
7359
if test -n "$LIBSAMPLERATE_CFLAGS"; then
7360
pkg_cv_LIBSAMPLERATE_CFLAGS="$LIBSAMPLERATE_CFLAGS"
7362
if test -n "$PKG_CONFIG" && \
7363
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"samplerate\"") >&5
7364
($PKG_CONFIG --exists --print-errors "samplerate") 2>&5
7366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367
(exit $ac_status); }; then
7368
pkg_cv_LIBSAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null`
7376
if test -n "$PKG_CONFIG"; then
7377
if test -n "$LIBSAMPLERATE_LIBS"; then
7378
pkg_cv_LIBSAMPLERATE_LIBS="$LIBSAMPLERATE_LIBS"
7380
if test -n "$PKG_CONFIG" && \
7381
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"samplerate\"") >&5
7382
($PKG_CONFIG --exists --print-errors "samplerate") 2>&5
7384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385
(exit $ac_status); }; then
7386
pkg_cv_LIBSAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null`
7397
if test $pkg_failed = yes; then
7399
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7400
_pkg_short_errors_supported=yes
7402
_pkg_short_errors_supported=no
7404
if test $_pkg_short_errors_supported = yes; then
7405
LIBSAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "samplerate"`
7407
LIBSAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "samplerate"`
7409
# Put the nasty error message in config.log where it belongs
7410
echo "$LIBSAMPLERATE_PKG_ERRORS" >&5
7412
{ echo "$as_me:$LINENO: result: no" >&5
7413
echo "${ECHO_T}no" >&6; }
7414
HAVE_LIBSAMPLERATE=0
7415
elif test $pkg_failed = untried; then
7416
HAVE_LIBSAMPLERATE=0
7418
LIBSAMPLERATE_CFLAGS=$pkg_cv_LIBSAMPLERATE_CFLAGS
7419
LIBSAMPLERATE_LIBS=$pkg_cv_LIBSAMPLERATE_LIBS
7420
{ echo "$as_me:$LINENO: result: yes" >&5
7421
echo "${ECHO_T}yes" >&6; }
7422
HAVE_LIBSAMPLERATE=1
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config not available, cannot check for ao" >&5
5503
$as_echo "$as_me: WARNING: pkg-config not available, cannot check for ao" >&2;}
5507
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config not available, cannot check for alsa" >&5
5508
$as_echo "$as_me: WARNING: pkg-config not available, cannot check for alsa" >&2;}
5512
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config not available, cannot check for samplerate" >&5
5513
$as_echo "$as_me: WARNING: pkg-config not available, cannot check for samplerate" >&2;}
5514
HAVE_LIBSAMPLERATE=0
7424
5516
if test x"$HAVE_LIBSAMPLERATE" = "x1"; then
7425
cat >>confdefs.h <<\_ACEOF
7426
#define HAVE_LIBSAMPLERATE 1
5517
$as_echo "#define HAVE_LIBSAMPLERATE 1" >>confdefs.h
7429
5519
if test x"$static_libsamplerate" = "xyes"; then
7430
5520
_libsamplerate_libdir=`$PKG_CONFIG --errors-to-stdout --variable=libdir samplerate`
8729
6158
for ac_header in sys/vfs.h
8731
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8732
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8733
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8734
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8735
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8736
echo $ECHO_N "(cached) $ECHO_C" >&6
8738
ac_res=`eval echo '${'$as_ac_Header'}'`
8739
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8740
echo "${ECHO_T}$ac_res" >&6; }
8742
# Is the header compilable?
8743
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8744
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8745
cat >conftest.$ac_ext <<_ACEOF
8748
cat confdefs.h >>conftest.$ac_ext
8749
cat >>conftest.$ac_ext <<_ACEOF
8750
/* end confdefs.h. */
8751
$ac_includes_default
8752
#include <$ac_header>
8754
rm -f conftest.$ac_objext
8755
if { (ac_try="$ac_compile"
8757
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8758
*) ac_try_echo=$ac_try;;
8760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8761
(eval "$ac_compile") 2>conftest.er1
8763
grep -v '^ *+' conftest.er1 >conftest.err
8765
cat conftest.err >&5
8766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767
(exit $ac_status); } && {
8768
test -z "$ac_c_werror_flag" ||
8769
test ! -s conftest.err
8770
} && test -s conftest.$ac_objext; then
8771
ac_header_compiler=yes
8773
echo "$as_me: failed program was:" >&5
8774
sed 's/^/| /' conftest.$ac_ext >&5
8776
ac_header_compiler=no
8779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8780
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8781
echo "${ECHO_T}$ac_header_compiler" >&6; }
8783
# Is the header present?
8784
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8785
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8786
cat >conftest.$ac_ext <<_ACEOF
8789
cat confdefs.h >>conftest.$ac_ext
8790
cat >>conftest.$ac_ext <<_ACEOF
8791
/* end confdefs.h. */
8792
#include <$ac_header>
8794
if { (ac_try="$ac_cpp conftest.$ac_ext"
8796
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8797
*) ac_try_echo=$ac_try;;
8799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8800
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8802
grep -v '^ *+' conftest.er1 >conftest.err
8804
cat conftest.err >&5
8805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806
(exit $ac_status); } >/dev/null && {
8807
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8808
test ! -s conftest.err
8810
ac_header_preproc=yes
8812
echo "$as_me: failed program was:" >&5
8813
sed 's/^/| /' conftest.$ac_ext >&5
8815
ac_header_preproc=no
8818
rm -f conftest.err conftest.$ac_ext
8819
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8820
echo "${ECHO_T}$ac_header_preproc" >&6; }
8822
# So? What about this header?
8823
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8825
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8826
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8827
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8828
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8829
ac_header_preproc=yes
8832
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8833
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8834
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8835
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8836
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8837
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8838
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8839
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8840
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8841
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8842
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8843
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8847
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8848
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8849
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8850
echo $ECHO_N "(cached) $ECHO_C" >&6
8852
eval "$as_ac_Header=\$ac_header_preproc"
8854
ac_res=`eval echo '${'$as_ac_Header'}'`
8855
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8856
echo "${ECHO_T}$ac_res" >&6; }
8859
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6160
ac_fn_c_check_header_mongrel "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default"
6161
if test "x$ac_cv_header_sys_vfs_h" = x""yes; then :
8860
6162
cat >>confdefs.h <<_ACEOF
8861
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6163
#define HAVE_SYS_VFS_H 1
8869
6170
for ac_header in sys/statvfs.h
8871
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8872
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8873
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8874
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8875
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8876
echo $ECHO_N "(cached) $ECHO_C" >&6
8878
ac_res=`eval echo '${'$as_ac_Header'}'`
8879
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8880
echo "${ECHO_T}$ac_res" >&6; }
8882
# Is the header compilable?
8883
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8884
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8885
cat >conftest.$ac_ext <<_ACEOF
8888
cat confdefs.h >>conftest.$ac_ext
8889
cat >>conftest.$ac_ext <<_ACEOF
8890
/* end confdefs.h. */
8891
$ac_includes_default
8892
#include <$ac_header>
8894
rm -f conftest.$ac_objext
8895
if { (ac_try="$ac_compile"
8897
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8898
*) ac_try_echo=$ac_try;;
8900
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8901
(eval "$ac_compile") 2>conftest.er1
8903
grep -v '^ *+' conftest.er1 >conftest.err
8905
cat conftest.err >&5
8906
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907
(exit $ac_status); } && {
8908
test -z "$ac_c_werror_flag" ||
8909
test ! -s conftest.err
8910
} && test -s conftest.$ac_objext; then
8911
ac_header_compiler=yes
8913
echo "$as_me: failed program was:" >&5
8914
sed 's/^/| /' conftest.$ac_ext >&5
8916
ac_header_compiler=no
8919
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8920
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8921
echo "${ECHO_T}$ac_header_compiler" >&6; }
8923
# Is the header present?
8924
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8925
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8926
cat >conftest.$ac_ext <<_ACEOF
8929
cat confdefs.h >>conftest.$ac_ext
8930
cat >>conftest.$ac_ext <<_ACEOF
8931
/* end confdefs.h. */
8932
#include <$ac_header>
8934
if { (ac_try="$ac_cpp conftest.$ac_ext"
8936
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8937
*) ac_try_echo=$ac_try;;
8939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8940
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8942
grep -v '^ *+' conftest.er1 >conftest.err
8944
cat conftest.err >&5
8945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946
(exit $ac_status); } >/dev/null && {
8947
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8948
test ! -s conftest.err
8950
ac_header_preproc=yes
8952
echo "$as_me: failed program was:" >&5
8953
sed 's/^/| /' conftest.$ac_ext >&5
8955
ac_header_preproc=no
8958
rm -f conftest.err conftest.$ac_ext
8959
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8960
echo "${ECHO_T}$ac_header_preproc" >&6; }
8962
# So? What about this header?
8963
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8965
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8966
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8967
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8968
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8969
ac_header_preproc=yes
8972
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8973
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8974
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8975
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8976
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8977
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8978
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8979
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8980
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8981
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8982
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8983
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8987
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8988
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8989
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8990
echo $ECHO_N "(cached) $ECHO_C" >&6
8992
eval "$as_ac_Header=\$ac_header_preproc"
8994
ac_res=`eval echo '${'$as_ac_Header'}'`
8995
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8996
echo "${ECHO_T}$ac_res" >&6; }
8999
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6172
ac_fn_c_check_header_mongrel "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
6173
if test "x$ac_cv_header_sys_statvfs_h" = x""yes; then :
9000
6174
cat >>confdefs.h <<_ACEOF
9001
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6175
#define HAVE_SYS_STATVFS_H 1
9009
6182
for ac_header in sys/statfs.h
9011
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9012
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9013
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9014
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9015
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9016
echo $ECHO_N "(cached) $ECHO_C" >&6
9018
ac_res=`eval echo '${'$as_ac_Header'}'`
9019
{ echo "$as_me:$LINENO: result: $ac_res" >&5
9020
echo "${ECHO_T}$ac_res" >&6; }
9022
# Is the header compilable?
9023
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9024
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9025
cat >conftest.$ac_ext <<_ACEOF
9028
cat confdefs.h >>conftest.$ac_ext
9029
cat >>conftest.$ac_ext <<_ACEOF
9030
/* end confdefs.h. */
9031
$ac_includes_default
9032
#include <$ac_header>
9034
rm -f conftest.$ac_objext
9035
if { (ac_try="$ac_compile"
9037
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9038
*) ac_try_echo=$ac_try;;
9040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9041
(eval "$ac_compile") 2>conftest.er1
9043
grep -v '^ *+' conftest.er1 >conftest.err
9045
cat conftest.err >&5
9046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047
(exit $ac_status); } && {
9048
test -z "$ac_c_werror_flag" ||
9049
test ! -s conftest.err
9050
} && test -s conftest.$ac_objext; then
9051
ac_header_compiler=yes
9053
echo "$as_me: failed program was:" >&5
9054
sed 's/^/| /' conftest.$ac_ext >&5
9056
ac_header_compiler=no
9059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9060
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9061
echo "${ECHO_T}$ac_header_compiler" >&6; }
9063
# Is the header present?
9064
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9065
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9066
cat >conftest.$ac_ext <<_ACEOF
9069
cat confdefs.h >>conftest.$ac_ext
9070
cat >>conftest.$ac_ext <<_ACEOF
9071
/* end confdefs.h. */
9072
#include <$ac_header>
9074
if { (ac_try="$ac_cpp conftest.$ac_ext"
9076
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9077
*) ac_try_echo=$ac_try;;
9079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9080
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9082
grep -v '^ *+' conftest.er1 >conftest.err
9084
cat conftest.err >&5
9085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086
(exit $ac_status); } >/dev/null && {
9087
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9088
test ! -s conftest.err
9090
ac_header_preproc=yes
9092
echo "$as_me: failed program was:" >&5
9093
sed 's/^/| /' conftest.$ac_ext >&5
9095
ac_header_preproc=no
9098
rm -f conftest.err conftest.$ac_ext
9099
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9100
echo "${ECHO_T}$ac_header_preproc" >&6; }
9102
# So? What about this header?
9103
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9105
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9106
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9107
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9108
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9109
ac_header_preproc=yes
9112
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9113
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9114
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9115
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9116
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9117
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9118
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9119
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9120
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9121
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9122
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9123
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9127
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9128
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9129
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9130
echo $ECHO_N "(cached) $ECHO_C" >&6
9132
eval "$as_ac_Header=\$ac_header_preproc"
9134
ac_res=`eval echo '${'$as_ac_Header'}'`
9135
{ echo "$as_me:$LINENO: result: $ac_res" >&5
9136
echo "${ECHO_T}$ac_res" >&6; }
9139
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6184
ac_fn_c_check_header_mongrel "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "$ac_includes_default"
6185
if test "x$ac_cv_header_sys_statfs_h" = x""yes; then :
9140
6186
cat >>confdefs.h <<_ACEOF
9141
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6187
#define HAVE_SYS_STATFS_H 1
9149
6194
for ac_header in sys/param.h
9151
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9152
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9153
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9154
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9155
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9156
echo $ECHO_N "(cached) $ECHO_C" >&6
9158
ac_res=`eval echo '${'$as_ac_Header'}'`
9159
{ echo "$as_me:$LINENO: result: $ac_res" >&5
9160
echo "${ECHO_T}$ac_res" >&6; }
9162
# Is the header compilable?
9163
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9164
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9165
cat >conftest.$ac_ext <<_ACEOF
9168
cat confdefs.h >>conftest.$ac_ext
9169
cat >>conftest.$ac_ext <<_ACEOF
9170
/* end confdefs.h. */
9171
$ac_includes_default
9172
#include <$ac_header>
9174
rm -f conftest.$ac_objext
9175
if { (ac_try="$ac_compile"
9177
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9178
*) ac_try_echo=$ac_try;;
9180
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9181
(eval "$ac_compile") 2>conftest.er1
9183
grep -v '^ *+' conftest.er1 >conftest.err
9185
cat conftest.err >&5
9186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187
(exit $ac_status); } && {
9188
test -z "$ac_c_werror_flag" ||
9189
test ! -s conftest.err
9190
} && test -s conftest.$ac_objext; then
9191
ac_header_compiler=yes
9193
echo "$as_me: failed program was:" >&5
9194
sed 's/^/| /' conftest.$ac_ext >&5
9196
ac_header_compiler=no
9199
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9200
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9201
echo "${ECHO_T}$ac_header_compiler" >&6; }
9203
# Is the header present?
9204
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9205
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9206
cat >conftest.$ac_ext <<_ACEOF
9209
cat confdefs.h >>conftest.$ac_ext
9210
cat >>conftest.$ac_ext <<_ACEOF
9211
/* end confdefs.h. */
9212
#include <$ac_header>
9214
if { (ac_try="$ac_cpp conftest.$ac_ext"
9216
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217
*) ac_try_echo=$ac_try;;
9219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9222
grep -v '^ *+' conftest.er1 >conftest.err
9224
cat conftest.err >&5
9225
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226
(exit $ac_status); } >/dev/null && {
9227
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9228
test ! -s conftest.err
9230
ac_header_preproc=yes
9232
echo "$as_me: failed program was:" >&5
9233
sed 's/^/| /' conftest.$ac_ext >&5
9235
ac_header_preproc=no
9238
rm -f conftest.err conftest.$ac_ext
9239
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9240
echo "${ECHO_T}$ac_header_preproc" >&6; }
9242
# So? What about this header?
9243
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9245
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9246
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9247
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9248
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9249
ac_header_preproc=yes
9252
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9253
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9254
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9255
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9256
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9257
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9258
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9259
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9260
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9261
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9262
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9263
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9267
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9268
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9269
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9270
echo $ECHO_N "(cached) $ECHO_C" >&6
9272
eval "$as_ac_Header=\$ac_header_preproc"
9274
ac_res=`eval echo '${'$as_ac_Header'}'`
9275
{ echo "$as_me:$LINENO: result: $ac_res" >&5
9276
echo "${ECHO_T}$ac_res" >&6; }
9279
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6196
ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
6197
if test "x$ac_cv_header_sys_param_h" = x""yes; then :
9280
6198
cat >>confdefs.h <<_ACEOF
9281
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6199
#define HAVE_SYS_PARAM_H 1
10686
if test "${ac_cv_header_mntent_h+set}" = set; then
10687
{ echo "$as_me:$LINENO: checking for mntent.h" >&5
10688
echo $ECHO_N "checking for mntent.h... $ECHO_C" >&6; }
10689
if test "${ac_cv_header_mntent_h+set}" = set; then
10690
echo $ECHO_N "(cached) $ECHO_C" >&6
10692
{ echo "$as_me:$LINENO: result: $ac_cv_header_mntent_h" >&5
10693
echo "${ECHO_T}$ac_cv_header_mntent_h" >&6; }
10695
# Is the header compilable?
10696
{ echo "$as_me:$LINENO: checking mntent.h usability" >&5
10697
echo $ECHO_N "checking mntent.h usability... $ECHO_C" >&6; }
10698
cat >conftest.$ac_ext <<_ACEOF
10701
cat confdefs.h >>conftest.$ac_ext
10702
cat >>conftest.$ac_ext <<_ACEOF
10703
/* end confdefs.h. */
10704
$ac_includes_default
10705
#include <mntent.h>
10707
rm -f conftest.$ac_objext
10708
if { (ac_try="$ac_compile"
10709
case "(($ac_try" in
10710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10711
*) ac_try_echo=$ac_try;;
10713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10714
(eval "$ac_compile") 2>conftest.er1
10716
grep -v '^ *+' conftest.er1 >conftest.err
10718
cat conftest.err >&5
10719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720
(exit $ac_status); } && {
10721
test -z "$ac_c_werror_flag" ||
10722
test ! -s conftest.err
10723
} && test -s conftest.$ac_objext; then
10724
ac_header_compiler=yes
10726
echo "$as_me: failed program was:" >&5
10727
sed 's/^/| /' conftest.$ac_ext >&5
10729
ac_header_compiler=no
10732
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10733
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10734
echo "${ECHO_T}$ac_header_compiler" >&6; }
10736
# Is the header present?
10737
{ echo "$as_me:$LINENO: checking mntent.h presence" >&5
10738
echo $ECHO_N "checking mntent.h presence... $ECHO_C" >&6; }
10739
cat >conftest.$ac_ext <<_ACEOF
10742
cat confdefs.h >>conftest.$ac_ext
10743
cat >>conftest.$ac_ext <<_ACEOF
10744
/* end confdefs.h. */
10745
#include <mntent.h>
10747
if { (ac_try="$ac_cpp conftest.$ac_ext"
10748
case "(($ac_try" in
10749
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10750
*) ac_try_echo=$ac_try;;
10752
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10753
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10755
grep -v '^ *+' conftest.er1 >conftest.err
10757
cat conftest.err >&5
10758
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759
(exit $ac_status); } >/dev/null && {
10760
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10761
test ! -s conftest.err
10763
ac_header_preproc=yes
10765
echo "$as_me: failed program was:" >&5
10766
sed 's/^/| /' conftest.$ac_ext >&5
10768
ac_header_preproc=no
10771
rm -f conftest.err conftest.$ac_ext
10772
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10773
echo "${ECHO_T}$ac_header_preproc" >&6; }
10775
# So? What about this header?
10776
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10778
{ echo "$as_me:$LINENO: WARNING: mntent.h: accepted by the compiler, rejected by the preprocessor!" >&5
10779
echo "$as_me: WARNING: mntent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10780
{ echo "$as_me:$LINENO: WARNING: mntent.h: proceeding with the compiler's result" >&5
10781
echo "$as_me: WARNING: mntent.h: proceeding with the compiler's result" >&2;}
10782
ac_header_preproc=yes
10785
{ echo "$as_me:$LINENO: WARNING: mntent.h: present but cannot be compiled" >&5
10786
echo "$as_me: WARNING: mntent.h: present but cannot be compiled" >&2;}
10787
{ echo "$as_me:$LINENO: WARNING: mntent.h: check for missing prerequisite headers?" >&5
10788
echo "$as_me: WARNING: mntent.h: check for missing prerequisite headers?" >&2;}
10789
{ echo "$as_me:$LINENO: WARNING: mntent.h: see the Autoconf documentation" >&5
10790
echo "$as_me: WARNING: mntent.h: see the Autoconf documentation" >&2;}
10791
{ echo "$as_me:$LINENO: WARNING: mntent.h: section \"Present But Cannot Be Compiled\"" >&5
10792
echo "$as_me: WARNING: mntent.h: section \"Present But Cannot Be Compiled\"" >&2;}
10793
{ echo "$as_me:$LINENO: WARNING: mntent.h: proceeding with the preprocessor's result" >&5
10794
echo "$as_me: WARNING: mntent.h: proceeding with the preprocessor's result" >&2;}
10795
{ echo "$as_me:$LINENO: WARNING: mntent.h: in the future, the compiler will take precedence" >&5
10796
echo "$as_me: WARNING: mntent.h: in the future, the compiler will take precedence" >&2;}
10800
{ echo "$as_me:$LINENO: checking for mntent.h" >&5
10801
echo $ECHO_N "checking for mntent.h... $ECHO_C" >&6; }
10802
if test "${ac_cv_header_mntent_h+set}" = set; then
10803
echo $ECHO_N "(cached) $ECHO_C" >&6
10805
ac_cv_header_mntent_h=$ac_header_preproc
10807
{ echo "$as_me:$LINENO: result: $ac_cv_header_mntent_h" >&5
10808
echo "${ECHO_T}$ac_cv_header_mntent_h" >&6; }
10811
if test $ac_cv_header_mntent_h = yes; then
10812
cat >>confdefs.h <<\_ACEOF
10813
#define HAVE_MNTENT_H 1
6828
ac_fn_c_check_header_mongrel "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
6829
if test "x$ac_cv_header_mntent_h" = x""yes; then :
6830
$as_echo "#define HAVE_MNTENT_H 1" >>confdefs.h
10820
6835
for ac_func in setmntent
10822
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10823
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10824
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10825
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10826
echo $ECHO_N "(cached) $ECHO_C" >&6
10828
cat >conftest.$ac_ext <<_ACEOF
10831
cat confdefs.h >>conftest.$ac_ext
10832
cat >>conftest.$ac_ext <<_ACEOF
10833
/* end confdefs.h. */
10834
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10835
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10836
#define $ac_func innocuous_$ac_func
10838
/* System header to define __stub macros and hopefully few prototypes,
10839
which can conflict with char $ac_func (); below.
10840
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10841
<limits.h> exists even on freestanding compilers. */
10844
# include <limits.h>
10846
# include <assert.h>
10851
/* Override any GCC internal prototype to avoid an error.
10852
Use char because int might match the return type of a GCC
10853
builtin and then its argument prototype would still apply. */
10858
/* The GNU C library defines this for functions which it implements
10859
to always fail with ENOSYS. Some functions are actually named
10860
something starting with __ and the normal name is an alias. */
10861
#if defined __stub_$ac_func || defined __stub___$ac_func
10868
return $ac_func ();
10873
rm -f conftest.$ac_objext conftest$ac_exeext
10874
if { (ac_try="$ac_link"
10875
case "(($ac_try" in
10876
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10877
*) ac_try_echo=$ac_try;;
10879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10880
(eval "$ac_link") 2>conftest.er1
10882
grep -v '^ *+' conftest.er1 >conftest.err
10884
cat conftest.err >&5
10885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886
(exit $ac_status); } && {
10887
test -z "$ac_c_werror_flag" ||
10888
test ! -s conftest.err
10889
} && test -s conftest$ac_exeext &&
10890
$as_test_x conftest$ac_exeext; then
10891
eval "$as_ac_var=yes"
10893
echo "$as_me: failed program was:" >&5
10894
sed 's/^/| /' conftest.$ac_ext >&5
10896
eval "$as_ac_var=no"
10899
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10900
conftest$ac_exeext conftest.$ac_ext
10902
ac_res=`eval echo '${'$as_ac_var'}'`
10903
{ echo "$as_me:$LINENO: result: $ac_res" >&5
10904
echo "${ECHO_T}$ac_res" >&6; }
10905
if test `eval echo '${'$as_ac_var'}'` = yes; then
6837
ac_fn_c_check_func "$LINENO" "setmntent" "ac_cv_func_setmntent"
6838
if test "x$ac_cv_func_setmntent" = x""yes; then :
10906
6839
cat >>confdefs.h <<_ACEOF
10907
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6840
#define HAVE_SETMNTENT 1
11771
7811
tmp=./conf$$-$RANDOM
11772
7812
(umask 077 && mkdir "$tmp")
11775
echo "$me: cannot create a temporary directory in ." >&2
11776
{ (exit 1); exit 1; }
11780
# Set up the sed scripts for CONFIG_FILES section.
11783
# No need to generate the scripts if there are no CONFIG_FILES.
11784
# This happens for instance when ./config.status config.h
7813
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7815
# Set up the scripts for CONFIG_FILES section.
7816
# No need to generate them if there are no CONFIG_FILES.
7817
# This happens for instance with `./config.status config.h'.
11785
7818
if test -n "$CONFIG_FILES"; then
7821
ac_cr=`echo X | tr X '\015'`
7822
# On cygwin, bash can eat \r inside `` if the user requested igncr.
7823
# But we know of no other shell where ac_cr would be empty at this
7824
# point, so we can use a bashism as a fallback.
7825
if test "x$ac_cr" = x; then
7826
eval ac_cr=\$\'\\r\'
7828
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7829
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7835
echo 'BEGIN {' >"$tmp/subs1.awk" &&
7840
echo "cat >conf$$subs.awk <<_ACEOF" &&
7841
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7844
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7845
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11791
7846
ac_delim='%!_!# '
11792
7847
for ac_last_try in false false false false false :; do
11793
cat >conf$$subs.sed <<_ACEOF
11794
SHELL!$SHELL$ac_delim
11795
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11796
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11797
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11798
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11799
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11800
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11801
exec_prefix!$exec_prefix$ac_delim
11802
prefix!$prefix$ac_delim
11803
program_transform_name!$program_transform_name$ac_delim
11804
bindir!$bindir$ac_delim
11805
sbindir!$sbindir$ac_delim
11806
libexecdir!$libexecdir$ac_delim
11807
datarootdir!$datarootdir$ac_delim
11808
datadir!$datadir$ac_delim
11809
sysconfdir!$sysconfdir$ac_delim
11810
sharedstatedir!$sharedstatedir$ac_delim
11811
localstatedir!$localstatedir$ac_delim
11812
includedir!$includedir$ac_delim
11813
oldincludedir!$oldincludedir$ac_delim
11814
docdir!$docdir$ac_delim
11815
infodir!$infodir$ac_delim
11816
htmldir!$htmldir$ac_delim
11817
dvidir!$dvidir$ac_delim
11818
pdfdir!$pdfdir$ac_delim
11819
psdir!$psdir$ac_delim
11820
libdir!$libdir$ac_delim
11821
localedir!$localedir$ac_delim
11822
mandir!$mandir$ac_delim
11823
DEFS!$DEFS$ac_delim
11824
ECHO_C!$ECHO_C$ac_delim
11825
ECHO_N!$ECHO_N$ac_delim
11826
ECHO_T!$ECHO_T$ac_delim
11827
LIBS!$LIBS$ac_delim
11828
build_alias!$build_alias$ac_delim
11829
host_alias!$host_alias$ac_delim
11830
target_alias!$target_alias$ac_delim
11832
CFLAGS!$CFLAGS$ac_delim
11833
LDFLAGS!$LDFLAGS$ac_delim
11834
CPPFLAGS!$CPPFLAGS$ac_delim
11835
ac_ct_CC!$ac_ct_CC$ac_delim
11836
EXEEXT!$EXEEXT$ac_delim
11837
OBJEXT!$OBJEXT$ac_delim
11838
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11839
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11840
INSTALL_DATA!$INSTALL_DATA$ac_delim
11842
GREP!$GREP$ac_delim
11843
EGREP!$EGREP$ac_delim
11844
XMKMF!$XMKMF$ac_delim
11845
X_CFLAGS!$X_CFLAGS$ac_delim
11846
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
11847
X_LIBS!$X_LIBS$ac_delim
11848
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
11849
PKG_CONFIG!$PKG_CONFIG$ac_delim
11850
STRIP!$STRIP$ac_delim
11851
ssldir!$ssldir$ac_delim
11852
PCSCLITE_CFLAGS!$PCSCLITE_CFLAGS$ac_delim
11853
PCSCLITE_LIBS!$PCSCLITE_LIBS$ac_delim
11854
SCARDOBJ!$SCARDOBJ$ac_delim
11855
VNCINC!$VNCINC$ac_delim
11856
LDVNC!$LDVNC$ac_delim
11857
VNCLINK!$VNCLINK$ac_delim
11858
RDP2VNCTARGET!$RDP2VNCTARGET$ac_delim
11859
LIBAO_CFLAGS!$LIBAO_CFLAGS$ac_delim
11860
LIBAO_LIBS!$LIBAO_LIBS$ac_delim
11861
ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
11862
ALSA_LIBS!$ALSA_LIBS$ac_delim
11863
LIBSAMPLERATE_CFLAGS!$LIBSAMPLERATE_CFLAGS$ac_delim
11864
LIBSAMPLERATE_LIBS!$LIBSAMPLERATE_LIBS$ac_delim
11865
SOUNDOBJ!$SOUNDOBJ$ac_delim
11866
LIBOBJS!$LIBOBJS$ac_delim
11867
LIBICONV!$LIBICONV$ac_delim
11868
build!$build$ac_delim
11869
build_cpu!$build_cpu$ac_delim
11870
build_vendor!$build_vendor$ac_delim
11871
build_os!$build_os$ac_delim
11872
host!$host$ac_delim
11873
host_cpu!$host_cpu$ac_delim
11874
host_vendor!$host_vendor$ac_delim
11875
host_os!$host_os$ac_delim
11876
LTLIBOBJS!$LTLIBOBJS$ac_delim
7848
. ./conf$$subs.sh ||
7849
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11879
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
7851
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7852
if test $ac_delim_n = $ac_delim_num; then
11881
7854
elif $ac_last_try; then
11882
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11883
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11884
{ (exit 1); exit 1; }; }
7855
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11886
7857
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11890
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11891
if test -n "$ac_eof"; then
11892
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11893
ac_eof=`expr $ac_eof + 1`
11896
cat >>$CONFIG_STATUS <<_ACEOF
11897
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11898
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11901
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11902
s/^/s,@/; s/!/@,|#_!!_#|/
11905
s/'"$ac_delim"'$/,g/; t
11907
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11908
' >>$CONFIG_STATUS <conf$$subs.sed
11909
rm -f conf$$subs.sed
11910
cat >>$CONFIG_STATUS <<_ACEOF
11917
# VPATH may cause trouble with some makes, so we remove $(srcdir),
11918
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7862
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7863
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7867
s/^/S["/; s/!.*/"]=/
7877
s/\(.\{148\}\)..*/\1/
7879
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7884
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7891
s/\(.\{148\}\)..*/\1/
7893
s/["\\]/\\&/g; s/^/"/; s/$/"/
7897
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7902
' <conf$$subs.awk | sed '
7907
' >>$CONFIG_STATUS || ac_write_fail=1
7908
rm -f conf$$subs.awk
7909
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7911
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7912
for (key in S) S_is_set[key] = 1
7918
nfields = split(line, field, "@")
7920
len = length(field[1])
7921
for (i = 2; i < nfields; i++) {
7923
keylen = length(key)
7924
if (S_is_set[key]) {
7926
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7927
len += length(value) + length(field[++i])
7938
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7939
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7940
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7943
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7944
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7947
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7948
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
11919
7949
# trailing colons and then remove the whole line if VPATH becomes empty
11920
7950
# (actually we leave an empty line to preserve line numbers).
11921
7951
if test "x$srcdir" = x.; then
11922
ac_vpsub='/^[ ]*VPATH[ ]*=/{
11923
s/:*\$(srcdir):*/:/
11924
s/:*\${srcdir}:*/:/
11926
s/^\([^=]*=[ ]*\):*/\1/
7952
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
11928
7966
s/^[^=]*=[ ]*$//
11932
cat >>$CONFIG_STATUS <<\_ACEOF
7970
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11933
7971
fi # test -n "$CONFIG_FILES"
11936
for ac_tag in :F $CONFIG_FILES
7974
eval set X " :F $CONFIG_FILES "
11938
7978
case $ac_tag in
11939
7979
:[FHLC]) ac_mode=$ac_tag; continue;;
11941
7981
case $ac_mode$ac_tag in
11943
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11944
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11945
{ (exit 1); exit 1; }; };;
7983
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
11946
7984
:[FH]-) ac_tag=-:-;;
11947
7985
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;