134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173
134
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
135
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
# is contrary to our usage. Disable this feature.
140
alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
case \`(set -o) 2>/dev/null\` in #(
151
as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
exitcode=1; echo positional parameters were not saved.
167
test x\$exitcode = x0 || exit 1"
168
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1"
173
if (eval "$as_required") 2>/dev/null; then :
175
174
as_have_required=yes
177
176
as_have_required=no
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
178
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
186
test -z "$as_dir" && as_dir=.
247
190
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
191
# Try only shells that exist, to save several forks.
192
as_shell=$as_dir/$as_base
193
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
CONFIG_SHELL=$as_shell as_have_required=yes
196
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
CONFIG_SHELL=$SHELL as_have_required=yes
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
211
if test "x$CONFIG_SHELL" != x; then :
212
# We cannot yet assume a decent shell, so we have to provide a
213
# neutralization value for shells without unset; and this also
214
# works around shells that cannot unset nonexistent variables.
217
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
218
export CONFIG_SHELL
366
219
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
222
if test x$as_have_required = xno; then :
223
$as_echo "$0: This script requires a shell more modern than all"
224
$as_echo "$0: the shells that I found on your system."
225
if test x${ZSH_VERSION+set} = xset ; then
226
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
229
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
$0: including any error possibly output before this
231
$0: message. Then install a modern shell, or manually run
232
$0: the script under such a shell if you do have one."
238
SHELL=${CONFIG_SHELL-/bin/sh}
240
# Unset more variables known to interfere with behavior of common tools.
241
CLICOLOR_FORCE= GREP_OPTIONS=
242
unset CLICOLOR_FORCE GREP_OPTIONS
244
## --------------------- ##
245
## M4sh Shell Functions. ##
246
## --------------------- ##
249
# Portably unset VAR.
252
{ eval $1=; unset $1;}
256
# as_fn_set_status STATUS
257
# -----------------------
258
# Set $? to STATUS, without forking.
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276
# Create "$as_dir" as a directory, including parents if necessary.
281
-*) as_dir=./$as_dir;;
283
test -d "$as_dir" || eval $as_mkdir_p || {
287
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
as_dirs="'$as_qdir' $as_dirs"
291
as_dir=`$as_dirname -- "$as_dir" ||
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
X"$as_dir" : 'X\(//\)[^/]' \| \
294
X"$as_dir" : 'X\(//\)$' \| \
295
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
$as_echo X"$as_dir" |
297
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314
test -d "$as_dir" && break
316
test -z "$as_dirs" || eval "mkdir $as_dirs"
317
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
# as_fn_append VAR VALUE
322
# ----------------------
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
324
# advantage of any shell optimizations that allow amortized linear growth over
325
# repeated appends, instead of the typical quadratic growth present in naive
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
eval 'as_fn_append ()
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
343
# must be portable across $(()) and expr.
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
as_val=`expr "$@" || test $? -eq 1`
357
# as_fn_error ERROR [LINENO LOG_FD]
358
# ---------------------------------
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
# script with status $?, using 1 if that was 0.
364
as_status=$?; test $as_status -eq 0 && as_status=1
366
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369
$as_echo "$as_me: error: $1" >&2
370
as_fn_exit $as_status
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
as_me=`$as_basename -- "$0" ||
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394
X"$0" : 'X\(//\)$' \| \
395
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397
sed '/^.*\/\([^/][^/]*\)\/*$/{
411
# Avoid depending upon Character Ranges.
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415
as_cr_digits='0123456789'
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
as_lineno_1=$LINENO as_lineno_1a=$LINENO
420
as_lineno_2=$LINENO as_lineno_2a=$LINENO
421
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1829
1773
if $ac_init_version; then
1832
generated by GNU Autoconf 2.63
1776
generated by GNU Autoconf 2.64
1834
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1835
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1778
Copyright (C) 2009 Free Software Foundation, Inc.
1836
1779
This configure script is free software; the Free Software Foundation
1837
1780
gives unlimited permission to copy, distribute and modify it.
1785
## ------------------------ ##
1786
## Autoconf initialization. ##
1787
## ------------------------ ##
1789
# ac_fn_c_try_compile LINENO
1790
# --------------------------
1791
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1792
ac_fn_c_try_compile ()
1794
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795
rm -f conftest.$ac_objext
1796
if { { ac_try="$ac_compile"
1798
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799
*) ac_try_echo=$ac_try;;
1801
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802
$as_echo "$ac_try_echo"; } >&5
1803
(eval "$ac_compile") 2>conftest.err
1805
if test -s conftest.err; then
1806
grep -v '^ *+' conftest.err >conftest.er1
1807
cat conftest.er1 >&5
1808
mv -f conftest.er1 conftest.err
1810
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811
test $ac_status = 0; } && {
1812
test -z "$ac_c_werror_flag" ||
1813
test ! -s conftest.err
1814
} && test -s conftest.$ac_objext; then :
1817
$as_echo "$as_me: failed program was:" >&5
1818
sed 's/^/| /' conftest.$ac_ext >&5
1822
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825
} # ac_fn_c_try_compile
1827
# ac_fn_c_try_cpp LINENO
1828
# ----------------------
1829
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1832
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833
if { { ac_try="$ac_cpp conftest.$ac_ext"
1835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
*) ac_try_echo=$ac_try;;
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839
$as_echo "$ac_try_echo"; } >&5
1840
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1842
if test -s conftest.err; then
1843
grep -v '^ *+' conftest.err >conftest.er1
1844
cat conftest.er1 >&5
1845
mv -f conftest.er1 conftest.err
1847
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
test $ac_status = 0; } >/dev/null && {
1849
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1850
test ! -s conftest.err
1854
$as_echo "$as_me: failed program was:" >&5
1855
sed 's/^/| /' conftest.$ac_ext >&5
1859
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1865
# -------------------------------------------------------
1866
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1867
# the include files in INCLUDES and setting the cache variable VAR
1869
ac_fn_c_check_header_mongrel ()
1871
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874
$as_echo_n "checking for $2... " >&6; }
1875
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1876
$as_echo_n "(cached) " >&6
1879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880
$as_echo "$ac_res" >&6; }
1882
# Is the header compilable?
1883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1884
$as_echo_n "checking $2 usability... " >&6; }
1885
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886
/* end confdefs.h. */
1890
if ac_fn_c_try_compile "$LINENO"; then :
1891
ac_header_compiler=yes
1893
ac_header_compiler=no
1895
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1897
$as_echo "$ac_header_compiler" >&6; }
1899
# Is the header present?
1900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1901
$as_echo_n "checking $2 presence... " >&6; }
1902
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903
/* end confdefs.h. */
1906
if ac_fn_c_try_cpp "$LINENO"; then :
1907
ac_header_preproc=yes
1909
ac_header_preproc=no
1911
rm -f conftest.err conftest.$ac_ext
1912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1913
$as_echo "$ac_header_preproc" >&6; }
1915
# So? What about this header?
1916
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1918
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1919
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1920
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1921
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1925
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1927
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1928
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1929
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1930
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1931
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1933
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937
$as_echo_n "checking for $2... " >&6; }
1938
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939
$as_echo_n "(cached) " >&6
1941
eval "$3=\$ac_header_compiler"
1944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945
$as_echo "$ac_res" >&6; }
1947
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1949
} # ac_fn_c_check_header_mongrel
1951
# ac_fn_c_try_run LINENO
1952
# ----------------------
1953
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1954
# that executables *can* be run.
1957
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958
if { { ac_try="$ac_link"
1960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961
*) ac_try_echo=$ac_try;;
1963
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964
$as_echo "$ac_try_echo"; } >&5
1965
(eval "$ac_link") 2>&5
1967
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1969
{ { case "(($ac_try" in
1970
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1971
*) ac_try_echo=$ac_try;;
1973
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1974
$as_echo "$ac_try_echo"; } >&5
1975
(eval "$ac_try") 2>&5
1977
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1978
test $ac_status = 0; }; }; then :
1981
$as_echo "$as_me: program exited with status $ac_status" >&5
1982
$as_echo "$as_me: failed program was:" >&5
1983
sed 's/^/| /' conftest.$ac_ext >&5
1985
ac_retval=$ac_status
1987
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1988
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1994
# -------------------------------------------------------
1995
# Tests whether HEADER exists and can be compiled using the include files in
1996
# INCLUDES, setting the cache variable VAR accordingly.
1997
ac_fn_c_check_header_compile ()
1999
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001
$as_echo_n "checking for $2... " >&6; }
2002
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2003
$as_echo_n "(cached) " >&6
2005
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006
/* end confdefs.h. */
2010
if ac_fn_c_try_compile "$LINENO"; then :
2015
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2019
$as_echo "$ac_res" >&6; }
2020
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2022
} # ac_fn_c_check_header_compile
2024
# ac_fn_c_try_link LINENO
2025
# -----------------------
2026
# Try to link conftest.$ac_ext, and return whether this succeeded.
2029
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030
rm -f conftest.$ac_objext conftest$ac_exeext
2031
if { { ac_try="$ac_link"
2033
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034
*) ac_try_echo=$ac_try;;
2036
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2037
$as_echo "$ac_try_echo"; } >&5
2038
(eval "$ac_link") 2>conftest.err
2040
if test -s conftest.err; then
2041
grep -v '^ *+' conftest.err >conftest.er1
2042
cat conftest.er1 >&5
2043
mv -f conftest.er1 conftest.err
2045
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2046
test $ac_status = 0; } && {
2047
test -z "$ac_c_werror_flag" ||
2048
test ! -s conftest.err
2049
} && test -s conftest$ac_exeext && {
2050
test "$cross_compiling" = yes ||
2051
$as_test_x conftest$ac_exeext
2055
$as_echo "$as_me: failed program was:" >&5
2056
sed 's/^/| /' conftest.$ac_ext >&5
2060
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2061
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2062
# interfere with the next link command; also delete a directory that is
2063
# left behind by Apple's compiler. We do this before executing the actions.
2064
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2065
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2068
} # ac_fn_c_try_link
2070
# ac_fn_c_check_func LINENO FUNC VAR
2071
# ----------------------------------
2072
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2073
ac_fn_c_check_func ()
2075
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2077
$as_echo_n "checking for $2... " >&6; }
2078
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2079
$as_echo_n "(cached) " >&6
2081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082
/* end confdefs.h. */
2083
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2084
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2085
#define $2 innocuous_$2
2087
/* System header to define __stub macros and hopefully few prototypes,
2088
which can conflict with char $2 (); below.
2089
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2090
<limits.h> exists even on freestanding compilers. */
2093
# include <limits.h>
2095
# include <assert.h>
2100
/* Override any GCC internal prototype to avoid an error.
2101
Use char because int might match the return type of a GCC
2102
builtin and then its argument prototype would still apply. */
2107
/* The GNU C library defines this for functions which it implements
2108
to always fail with ENOSYS. Some functions are actually named
2109
something starting with __ and the normal name is an alias. */
2110
#if defined __stub_$2 || defined __stub___$2
2122
if ac_fn_c_try_link "$LINENO"; then :
2127
rm -f core conftest.err conftest.$ac_objext \
2128
conftest$ac_exeext conftest.$ac_ext
2131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132
$as_echo "$ac_res" >&6; }
2133
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2135
} # ac_fn_c_check_func
2137
# ac_fn_cxx_try_compile LINENO
2138
# ----------------------------
2139
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2140
ac_fn_cxx_try_compile ()
2142
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143
rm -f conftest.$ac_objext
2144
if { { ac_try="$ac_compile"
2146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147
*) ac_try_echo=$ac_try;;
2149
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150
$as_echo "$ac_try_echo"; } >&5
2151
(eval "$ac_compile") 2>conftest.err
2153
if test -s conftest.err; then
2154
grep -v '^ *+' conftest.err >conftest.er1
2155
cat conftest.er1 >&5
2156
mv -f conftest.er1 conftest.err
2158
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2159
test $ac_status = 0; } && {
2160
test -z "$ac_cxx_werror_flag" ||
2161
test ! -s conftest.err
2162
} && test -s conftest.$ac_objext; then :
2165
$as_echo "$as_me: failed program was:" >&5
2166
sed 's/^/| /' conftest.$ac_ext >&5
2170
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2173
} # ac_fn_cxx_try_compile
2175
# ac_fn_cxx_try_cpp LINENO
2176
# ------------------------
2177
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2178
ac_fn_cxx_try_cpp ()
2180
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2181
if { { ac_try="$ac_cpp conftest.$ac_ext"
2183
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2184
*) ac_try_echo=$ac_try;;
2186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2187
$as_echo "$ac_try_echo"; } >&5
2188
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2190
if test -s conftest.err; then
2191
grep -v '^ *+' conftest.err >conftest.er1
2192
cat conftest.er1 >&5
2193
mv -f conftest.er1 conftest.err
2195
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2196
test $ac_status = 0; } >/dev/null && {
2197
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2198
test ! -s conftest.err
2202
$as_echo "$as_me: failed program was:" >&5
2203
sed 's/^/| /' conftest.$ac_ext >&5
2207
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2210
} # ac_fn_cxx_try_cpp
2212
# ac_fn_cxx_try_link LINENO
2213
# -------------------------
2214
# Try to link conftest.$ac_ext, and return whether this succeeded.
2215
ac_fn_cxx_try_link ()
2217
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2218
rm -f conftest.$ac_objext conftest$ac_exeext
2219
if { { ac_try="$ac_link"
2221
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2222
*) ac_try_echo=$ac_try;;
2224
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2225
$as_echo "$ac_try_echo"; } >&5
2226
(eval "$ac_link") 2>conftest.err
2228
if test -s conftest.err; then
2229
grep -v '^ *+' conftest.err >conftest.er1
2230
cat conftest.er1 >&5
2231
mv -f conftest.er1 conftest.err
2233
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234
test $ac_status = 0; } && {
2235
test -z "$ac_cxx_werror_flag" ||
2236
test ! -s conftest.err
2237
} && test -s conftest$ac_exeext && {
2238
test "$cross_compiling" = yes ||
2239
$as_test_x conftest$ac_exeext
2243
$as_echo "$as_me: failed program was:" >&5
2244
sed 's/^/| /' conftest.$ac_ext >&5
2248
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2249
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2250
# interfere with the next link command; also delete a directory that is
2251
# left behind by Apple's compiler. We do this before executing the actions.
2252
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2253
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2256
} # ac_fn_cxx_try_link
2258
# ac_fn_f77_try_compile LINENO
2259
# ----------------------------
2260
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2261
ac_fn_f77_try_compile ()
2263
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2264
rm -f conftest.$ac_objext
2265
if { { ac_try="$ac_compile"
2267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2268
*) ac_try_echo=$ac_try;;
2270
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2271
$as_echo "$ac_try_echo"; } >&5
2272
(eval "$ac_compile") 2>conftest.err
2274
if test -s conftest.err; then
2275
grep -v '^ *+' conftest.err >conftest.er1
2276
cat conftest.er1 >&5
2277
mv -f conftest.er1 conftest.err
2279
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280
test $ac_status = 0; } && {
2281
test -z "$ac_f77_werror_flag" ||
2282
test ! -s conftest.err
2283
} && test -s conftest.$ac_objext; then :
2286
$as_echo "$as_me: failed program was:" >&5
2287
sed 's/^/| /' conftest.$ac_ext >&5
2291
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2294
} # ac_fn_f77_try_compile
2296
# ac_fn_f77_try_link LINENO
2297
# -------------------------
2298
# Try to link conftest.$ac_ext, and return whether this succeeded.
2299
ac_fn_f77_try_link ()
2301
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2302
rm -f conftest.$ac_objext conftest$ac_exeext
2303
if { { ac_try="$ac_link"
2305
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2306
*) ac_try_echo=$ac_try;;
2308
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2309
$as_echo "$ac_try_echo"; } >&5
2310
(eval "$ac_link") 2>conftest.err
2312
if test -s conftest.err; then
2313
grep -v '^ *+' conftest.err >conftest.er1
2314
cat conftest.er1 >&5
2315
mv -f conftest.er1 conftest.err
2317
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2318
test $ac_status = 0; } && {
2319
test -z "$ac_f77_werror_flag" ||
2320
test ! -s conftest.err
2321
} && test -s conftest$ac_exeext && {
2322
test "$cross_compiling" = yes ||
2323
$as_test_x conftest$ac_exeext
2327
$as_echo "$as_me: failed program was:" >&5
2328
sed 's/^/| /' conftest.$ac_ext >&5
2332
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2333
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2334
# interfere with the next link command; also delete a directory that is
2335
# left behind by Apple's compiler. We do this before executing the actions.
2336
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2337
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2340
} # ac_fn_f77_try_link
2342
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2343
# --------------------------------------------
2344
# Tries to find the compile-time value of EXPR in a program that includes
2345
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2347
ac_fn_c_compute_int ()
2349
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2350
if test "$cross_compiling" = yes; then
2351
# Depending upon the size, compute the lo and hi bounds.
2352
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353
/* end confdefs.h. */
2358
static int test_array [1 - 2 * !(($2) >= 0)];
2365
if ac_fn_c_try_compile "$LINENO"; then :
2368
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369
/* end confdefs.h. */
2374
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2381
if ac_fn_c_try_compile "$LINENO"; then :
2382
ac_hi=$ac_mid; break
2384
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2385
if test $ac_lo -le $ac_mid; then
2389
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2391
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395
/* end confdefs.h. */
2400
static int test_array [1 - 2 * !(($2) < 0)];
2407
if ac_fn_c_try_compile "$LINENO"; then :
2410
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411
/* end confdefs.h. */
2416
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2423
if ac_fn_c_try_compile "$LINENO"; then :
2424
ac_lo=$ac_mid; break
2426
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2427
if test $ac_mid -le $ac_hi; then
2431
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2433
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2441
# Binary search between lo and hi bounds.
2442
while test "x$ac_lo" != "x$ac_hi"; do
2443
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2445
/* end confdefs.h. */
2450
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2457
if ac_fn_c_try_compile "$LINENO"; then :
2460
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2469
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2470
/* end confdefs.h. */
2472
static long int longval () { return $2; }
2473
static unsigned long int ulongval () { return $2; }
2480
FILE *f = fopen ("conftest.val", "w");
2485
long int i = longval ();
2488
fprintf (f, "%ld", i);
2492
unsigned long int i = ulongval ();
2495
fprintf (f, "%lu", i);
2497
/* Do not output a trailing newline, as this causes \r\n confusion
2498
on some platforms. */
2499
return ferror (f) || fclose (f) != 0;
2505
if ac_fn_c_try_run "$LINENO"; then :
2506
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2510
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2511
conftest.$ac_objext conftest.beam conftest.$ac_ext
2515
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2518
} # ac_fn_c_compute_int
2520
# ac_fn_c_check_decl LINENO SYMBOL VAR
2521
# ------------------------------------
2522
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2523
ac_fn_c_check_decl ()
2525
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2527
$as_echo_n "checking whether $2 is declared... " >&6; }
2528
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2529
$as_echo_n "(cached) " >&6
2531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532
/* end confdefs.h. */
2545
if ac_fn_c_try_compile "$LINENO"; then :
2550
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554
$as_echo "$ac_res" >&6; }
2555
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557
} # ac_fn_c_check_decl
2559
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2560
# -------------------------------------------
2561
# Tests whether TYPE exists after having included INCLUDES, setting cache
2562
# variable VAR accordingly.
2563
ac_fn_c_check_type ()
2565
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2567
$as_echo_n "checking for $2... " >&6; }
2568
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2569
$as_echo_n "(cached) " >&6
2572
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573
/* end confdefs.h. */
2584
if ac_fn_c_try_compile "$LINENO"; then :
2585
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586
/* end confdefs.h. */
2597
if ac_fn_c_try_compile "$LINENO"; then :
2602
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2604
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2608
$as_echo "$ac_res" >&6; }
2609
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2611
} # ac_fn_c_check_type
2613
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2614
# ----------------------------------------------------
2615
# Tries to find if the field MEMBER exists in type AGGR, after including
2616
# INCLUDES, setting cache variable VAR accordingly.
2617
ac_fn_c_check_member ()
2619
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2621
$as_echo_n "checking for $2.$3... " >&6; }
2622
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2623
$as_echo_n "(cached) " >&6
2625
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2626
/* end confdefs.h. */
2638
if ac_fn_c_try_compile "$LINENO"; then :
2641
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2642
/* end confdefs.h. */
2648
if (sizeof ac_aggr.$3)
2654
if ac_fn_c_try_compile "$LINENO"; then :
2659
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2661
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2665
$as_echo "$ac_res" >&6; }
2666
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2668
} # ac_fn_c_check_member
1841
2669
cat >config.log <<_ACEOF
1842
2670
This file contains any messages produced by compilers while
1843
2671
running configure, to aid debugging if configure makes a mistake.
1845
2673
It was created by $as_me, which was
1846
generated by GNU Autoconf 2.63. Invocation command line was
2674
generated by GNU Autoconf 2.64. Invocation command line was
9941
10077
need_locks="$enable_libtool_lock"
9945
10080
for ac_header in dlfcn.h
9947
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9948
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9949
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9950
$as_echo_n "checking for $ac_header... " >&6; }
9951
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9952
$as_echo_n "(cached) " >&6
9954
ac_res=`eval 'as_val=${'$as_ac_Header'}
9955
$as_echo "$as_val"'`
9956
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9957
$as_echo "$ac_res" >&6; }
9959
# Is the header compilable?
9960
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9961
$as_echo_n "checking $ac_header usability... " >&6; }
9962
cat >conftest.$ac_ext <<_ACEOF
9965
cat confdefs.h >>conftest.$ac_ext
9966
cat >>conftest.$ac_ext <<_ACEOF
9967
/* end confdefs.h. */
9968
$ac_includes_default
9969
#include <$ac_header>
9971
rm -f conftest.$ac_objext
9972
if { (ac_try="$ac_compile"
9974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975
*) ac_try_echo=$ac_try;;
9977
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9978
$as_echo "$ac_try_echo") >&5
9979
(eval "$ac_compile") 2>conftest.er1
9981
grep -v '^ *+' conftest.er1 >conftest.err
9983
cat conftest.err >&5
9984
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985
(exit $ac_status); } && {
9986
test -z "$ac_c_werror_flag" ||
9987
test ! -s conftest.err
9988
} && test -s conftest.$ac_objext; then
9989
ac_header_compiler=yes
9991
$as_echo "$as_me: failed program was:" >&5
9992
sed 's/^/| /' conftest.$ac_ext >&5
9994
ac_header_compiler=no
9997
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9998
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9999
$as_echo "$ac_header_compiler" >&6; }
10001
# Is the header present?
10002
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10003
$as_echo_n "checking $ac_header presence... " >&6; }
10004
cat >conftest.$ac_ext <<_ACEOF
10007
cat confdefs.h >>conftest.$ac_ext
10008
cat >>conftest.$ac_ext <<_ACEOF
10009
/* end confdefs.h. */
10010
#include <$ac_header>
10012
if { (ac_try="$ac_cpp conftest.$ac_ext"
10013
case "(($ac_try" in
10014
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10015
*) ac_try_echo=$ac_try;;
10017
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10018
$as_echo "$ac_try_echo") >&5
10019
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10021
grep -v '^ *+' conftest.er1 >conftest.err
10023
cat conftest.err >&5
10024
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025
(exit $ac_status); } >/dev/null && {
10026
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10027
test ! -s conftest.err
10029
ac_header_preproc=yes
10031
$as_echo "$as_me: failed program was:" >&5
10032
sed 's/^/| /' conftest.$ac_ext >&5
10034
ac_header_preproc=no
10037
rm -f conftest.err conftest.$ac_ext
10038
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10039
$as_echo "$ac_header_preproc" >&6; }
10041
# So? What about this header?
10042
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10044
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10045
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10046
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10047
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10048
ac_header_preproc=yes
10051
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10052
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10053
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10054
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10055
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10056
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10057
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10058
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10059
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10060
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10061
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10062
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10066
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10067
$as_echo_n "checking for $ac_header... " >&6; }
10068
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10069
$as_echo_n "(cached) " >&6
10071
eval "$as_ac_Header=\$ac_header_preproc"
10073
ac_res=`eval 'as_val=${'$as_ac_Header'}
10074
$as_echo "$as_val"'`
10075
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10076
$as_echo "$ac_res" >&6; }
10079
as_val=`eval 'as_val=${'$as_ac_Header'}
10080
$as_echo "$as_val"'`
10081
if test "x$as_val" = x""yes; then
10082
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
10083
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
10082
10084
cat >>confdefs.h <<_ACEOF
10083
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10085
#define HAVE_DLFCN_H 1
14636
rm -f conftest.$ac_objext conftest$ac_exeext
14637
if { (ac_try="$ac_link"
14638
case "(($ac_try" in
14639
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640
*) ac_try_echo=$ac_try;;
14642
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14643
$as_echo "$ac_try_echo") >&5
14644
(eval "$ac_link") 2>conftest.er1
14646
grep -v '^ *+' conftest.er1 >conftest.err
14648
cat conftest.err >&5
14649
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650
(exit $ac_status); } && {
14651
test -z "$ac_c_werror_flag" ||
14652
test ! -s conftest.err
14653
} && test -s conftest$ac_exeext && {
14654
test "$cross_compiling" = yes ||
14655
$as_test_x conftest$ac_exeext
14161
if ac_fn_c_try_link "$LINENO"; then :
14657
14162
ac_cv_lib_dld_shl_load=yes
14659
$as_echo "$as_me: failed program was:" >&5
14660
sed 's/^/| /' conftest.$ac_ext >&5
14662
ac_cv_lib_dld_shl_load=no
14164
ac_cv_lib_dld_shl_load=no
14665
rm -rf conftest.dSYM
14666
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14667
conftest$ac_exeext conftest.$ac_ext
14166
rm -f core conftest.err conftest.$ac_objext \
14167
conftest$ac_exeext conftest.$ac_ext
14668
14168
LIBS=$ac_check_lib_save_LIBS
14670
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14671
14171
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14672
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
14172
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
14673
14173
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14675
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
14676
$as_echo_n "checking for dlopen... " >&6; }
14677
if test "${ac_cv_func_dlopen+set}" = set; then
14678
$as_echo_n "(cached) " >&6
14680
cat >conftest.$ac_ext <<_ACEOF
14683
cat confdefs.h >>conftest.$ac_ext
14684
cat >>conftest.$ac_ext <<_ACEOF
14685
/* end confdefs.h. */
14686
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14687
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14688
#define dlopen innocuous_dlopen
14690
/* System header to define __stub macros and hopefully few prototypes,
14691
which can conflict with char dlopen (); below.
14692
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14693
<limits.h> exists even on freestanding compilers. */
14696
# include <limits.h>
14698
# include <assert.h>
14703
/* Override any GCC internal prototype to avoid an error.
14704
Use char because int might match the return type of a GCC
14705
builtin and then its argument prototype would still apply. */
14710
/* The GNU C library defines this for functions which it implements
14711
to always fail with ENOSYS. Some functions are actually named
14712
something starting with __ and the normal name is an alias. */
14713
#if defined __stub_dlopen || defined __stub___dlopen
14725
rm -f conftest.$ac_objext conftest$ac_exeext
14726
if { (ac_try="$ac_link"
14727
case "(($ac_try" in
14728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14729
*) ac_try_echo=$ac_try;;
14731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14732
$as_echo "$ac_try_echo") >&5
14733
(eval "$ac_link") 2>conftest.er1
14735
grep -v '^ *+' conftest.er1 >conftest.err
14737
cat conftest.err >&5
14738
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739
(exit $ac_status); } && {
14740
test -z "$ac_c_werror_flag" ||
14741
test ! -s conftest.err
14742
} && test -s conftest$ac_exeext && {
14743
test "$cross_compiling" = yes ||
14744
$as_test_x conftest$ac_exeext
14746
ac_cv_func_dlopen=yes
14748
$as_echo "$as_me: failed program was:" >&5
14749
sed 's/^/| /' conftest.$ac_ext >&5
14751
ac_cv_func_dlopen=no
14754
rm -rf conftest.dSYM
14755
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14756
conftest$ac_exeext conftest.$ac_ext
14758
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14759
$as_echo "$ac_cv_func_dlopen" >&6; }
14760
if test "x$ac_cv_func_dlopen" = x""yes; then
14175
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14176
if test "x$ac_cv_func_dlopen" = x""yes; then :
14761
14177
lt_cv_dlopen="dlopen"
14763
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14764
14180
$as_echo_n "checking for dlopen in -ldl... " >&6; }
14765
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14181
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
14766
14182
$as_echo_n "(cached) " >&6
14768
14184
ac_check_lib_save_LIBS=$LIBS
14769
14185
LIBS="-ldl $LIBS"
14770
cat >conftest.$ac_ext <<_ACEOF
14773
cat confdefs.h >>conftest.$ac_ext
14774
cat >>conftest.$ac_ext <<_ACEOF
14186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775
14187
/* end confdefs.h. */
14777
14189
/* Override any GCC internal prototype to avoid an error.
26904
25546
if test -z "$enable_threads"; then
26905
25547
# Check whether --enable-threads was given.
26906
if test "${enable_threads+set}" = set; then
25548
if test "${enable_threads+set}" = set; then :
26907
25549
enableval=$enable_threads; enable_threads=$enableval
26910
25552
if test "$GCC" = "yes"; then
26911
25553
SAVE_FL="$CPPFLAGS"
26912
25554
CPPFLAGS="$CPPFLAGS -w"
26914
for ac_header in pthread.h
26916
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26917
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26918
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26919
$as_echo_n "checking for $ac_header... " >&6; }
26920
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26921
$as_echo_n "(cached) " >&6
26923
ac_res=`eval 'as_val=${'$as_ac_Header'}
26924
$as_echo "$as_val"'`
26925
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26926
$as_echo "$ac_res" >&6; }
26928
# Is the header compilable?
26929
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
26930
$as_echo_n "checking $ac_header usability... " >&6; }
26931
cat >conftest.$ac_ext <<_ACEOF
26934
cat confdefs.h >>conftest.$ac_ext
26935
cat >>conftest.$ac_ext <<_ACEOF
26936
/* end confdefs.h. */
26937
$ac_includes_default
26938
#include <$ac_header>
26940
rm -f conftest.$ac_objext
26941
if { (ac_try="$ac_compile"
26942
case "(($ac_try" in
26943
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26944
*) ac_try_echo=$ac_try;;
26946
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26947
$as_echo "$ac_try_echo") >&5
26948
(eval "$ac_compile") 2>conftest.er1
26950
grep -v '^ *+' conftest.er1 >conftest.err
26952
cat conftest.err >&5
26953
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954
(exit $ac_status); } && {
26955
test -z "$ac_c_werror_flag" ||
26956
test ! -s conftest.err
26957
} && test -s conftest.$ac_objext; then
26958
ac_header_compiler=yes
26960
$as_echo "$as_me: failed program was:" >&5
26961
sed 's/^/| /' conftest.$ac_ext >&5
26963
ac_header_compiler=no
26966
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26967
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26968
$as_echo "$ac_header_compiler" >&6; }
26970
# Is the header present?
26971
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
26972
$as_echo_n "checking $ac_header presence... " >&6; }
26973
cat >conftest.$ac_ext <<_ACEOF
26976
cat confdefs.h >>conftest.$ac_ext
26977
cat >>conftest.$ac_ext <<_ACEOF
26978
/* end confdefs.h. */
26979
#include <$ac_header>
26981
if { (ac_try="$ac_cpp conftest.$ac_ext"
26982
case "(($ac_try" in
26983
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26984
*) ac_try_echo=$ac_try;;
26986
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26987
$as_echo "$ac_try_echo") >&5
26988
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26990
grep -v '^ *+' conftest.er1 >conftest.err
26992
cat conftest.err >&5
26993
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994
(exit $ac_status); } >/dev/null && {
26995
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26996
test ! -s conftest.err
26998
ac_header_preproc=yes
27000
$as_echo "$as_me: failed program was:" >&5
27001
sed 's/^/| /' conftest.$ac_ext >&5
27003
ac_header_preproc=no
27006
rm -f conftest.err conftest.$ac_ext
27007
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27008
$as_echo "$ac_header_preproc" >&6; }
27010
# So? What about this header?
27011
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27013
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27014
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27015
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27016
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27017
ac_header_preproc=yes
27020
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27021
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27022
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27023
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27024
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27025
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27026
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27027
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27028
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27029
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27030
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27031
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27035
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27036
$as_echo_n "checking for $ac_header... " >&6; }
27037
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27038
$as_echo_n "(cached) " >&6
27040
eval "$as_ac_Header=\$ac_header_preproc"
27042
ac_res=`eval 'as_val=${'$as_ac_Header'}
27043
$as_echo "$as_val"'`
27044
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27045
$as_echo "$ac_res" >&6; }
27048
as_val=`eval 'as_val=${'$as_ac_Header'}
27049
$as_echo "$as_val"'`
27050
if test "x$as_val" = x""yes; then
25555
for ac_header in pthread.h
25557
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
25558
if test "x$ac_cv_header_pthread_h" = x""yes; then :
27051
25559
cat >>confdefs.h <<_ACEOF
27052
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25560
#define HAVE_PTHREAD_H 1
27054
25562
enable_threads="pthread"
27061
25569
CPPFLAGS="$SAVE_FL"
27064
for ac_header in pthread.h
27066
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27067
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27068
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27069
$as_echo_n "checking for $ac_header... " >&6; }
27070
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27071
$as_echo_n "(cached) " >&6
27073
ac_res=`eval 'as_val=${'$as_ac_Header'}
27074
$as_echo "$as_val"'`
27075
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27076
$as_echo "$ac_res" >&6; }
27078
# Is the header compilable?
27079
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27080
$as_echo_n "checking $ac_header usability... " >&6; }
27081
cat >conftest.$ac_ext <<_ACEOF
27084
cat confdefs.h >>conftest.$ac_ext
27085
cat >>conftest.$ac_ext <<_ACEOF
27086
/* end confdefs.h. */
27087
$ac_includes_default
27088
#include <$ac_header>
27090
rm -f conftest.$ac_objext
27091
if { (ac_try="$ac_compile"
27092
case "(($ac_try" in
27093
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27094
*) ac_try_echo=$ac_try;;
27096
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27097
$as_echo "$ac_try_echo") >&5
27098
(eval "$ac_compile") 2>conftest.er1
27100
grep -v '^ *+' conftest.er1 >conftest.err
27102
cat conftest.err >&5
27103
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104
(exit $ac_status); } && {
27105
test -z "$ac_c_werror_flag" ||
27106
test ! -s conftest.err
27107
} && test -s conftest.$ac_objext; then
27108
ac_header_compiler=yes
27110
$as_echo "$as_me: failed program was:" >&5
27111
sed 's/^/| /' conftest.$ac_ext >&5
27113
ac_header_compiler=no
27116
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27117
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27118
$as_echo "$ac_header_compiler" >&6; }
27120
# Is the header present?
27121
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27122
$as_echo_n "checking $ac_header presence... " >&6; }
27123
cat >conftest.$ac_ext <<_ACEOF
27126
cat confdefs.h >>conftest.$ac_ext
27127
cat >>conftest.$ac_ext <<_ACEOF
27128
/* end confdefs.h. */
27129
#include <$ac_header>
27131
if { (ac_try="$ac_cpp conftest.$ac_ext"
27132
case "(($ac_try" in
27133
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27134
*) ac_try_echo=$ac_try;;
27136
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27137
$as_echo "$ac_try_echo") >&5
27138
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27140
grep -v '^ *+' conftest.er1 >conftest.err
27142
cat conftest.err >&5
27143
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144
(exit $ac_status); } >/dev/null && {
27145
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27146
test ! -s conftest.err
27148
ac_header_preproc=yes
27150
$as_echo "$as_me: failed program was:" >&5
27151
sed 's/^/| /' conftest.$ac_ext >&5
27153
ac_header_preproc=no
27156
rm -f conftest.err conftest.$ac_ext
27157
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27158
$as_echo "$ac_header_preproc" >&6; }
27160
# So? What about this header?
27161
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27163
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27164
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27165
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27166
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27167
ac_header_preproc=yes
27170
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27171
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27172
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27173
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27174
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27175
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27176
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27177
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27178
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27179
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27180
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27181
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27185
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27186
$as_echo_n "checking for $ac_header... " >&6; }
27187
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27188
$as_echo_n "(cached) " >&6
27190
eval "$as_ac_Header=\$ac_header_preproc"
27192
ac_res=`eval 'as_val=${'$as_ac_Header'}
27193
$as_echo "$as_val"'`
27194
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27195
$as_echo "$ac_res" >&6; }
27198
as_val=`eval 'as_val=${'$as_ac_Header'}
27199
$as_echo "$as_val"'`
27200
if test "x$as_val" = x""yes; then
25571
for ac_header in pthread.h
25573
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
25574
if test "x$ac_cv_header_pthread_h" = x""yes; then :
27201
25575
cat >>confdefs.h <<_ACEOF
27202
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25576
#define HAVE_PTHREAD_H 1
27204
25578
enable_threads="pthread"
27472
25784
if test "$GCC" = "yes"; then
27473
25785
SAVE_FL="$CPPFLAGS"
27474
25786
CPPFLAGS="$CPPFLAGS -w"
27476
for ac_header in pthread.h
27478
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27479
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27480
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27481
$as_echo_n "checking for $ac_header... " >&6; }
27482
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27483
$as_echo_n "(cached) " >&6
27485
ac_res=`eval 'as_val=${'$as_ac_Header'}
27486
$as_echo "$as_val"'`
27487
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27488
$as_echo "$ac_res" >&6; }
27490
# Is the header compilable?
27491
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27492
$as_echo_n "checking $ac_header usability... " >&6; }
27493
cat >conftest.$ac_ext <<_ACEOF
27496
cat confdefs.h >>conftest.$ac_ext
27497
cat >>conftest.$ac_ext <<_ACEOF
27498
/* end confdefs.h. */
27499
$ac_includes_default
27500
#include <$ac_header>
27502
rm -f conftest.$ac_objext
27503
if { (ac_try="$ac_compile"
27504
case "(($ac_try" in
27505
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27506
*) ac_try_echo=$ac_try;;
27508
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27509
$as_echo "$ac_try_echo") >&5
27510
(eval "$ac_compile") 2>conftest.er1
27512
grep -v '^ *+' conftest.er1 >conftest.err
27514
cat conftest.err >&5
27515
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516
(exit $ac_status); } && {
27517
test -z "$ac_c_werror_flag" ||
27518
test ! -s conftest.err
27519
} && test -s conftest.$ac_objext; then
27520
ac_header_compiler=yes
27522
$as_echo "$as_me: failed program was:" >&5
27523
sed 's/^/| /' conftest.$ac_ext >&5
27525
ac_header_compiler=no
27528
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27529
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27530
$as_echo "$ac_header_compiler" >&6; }
27532
# Is the header present?
27533
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27534
$as_echo_n "checking $ac_header presence... " >&6; }
27535
cat >conftest.$ac_ext <<_ACEOF
27538
cat confdefs.h >>conftest.$ac_ext
27539
cat >>conftest.$ac_ext <<_ACEOF
27540
/* end confdefs.h. */
27541
#include <$ac_header>
27543
if { (ac_try="$ac_cpp conftest.$ac_ext"
27544
case "(($ac_try" in
27545
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27546
*) ac_try_echo=$ac_try;;
27548
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27549
$as_echo "$ac_try_echo") >&5
27550
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27552
grep -v '^ *+' conftest.er1 >conftest.err
27554
cat conftest.err >&5
27555
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556
(exit $ac_status); } >/dev/null && {
27557
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27558
test ! -s conftest.err
27560
ac_header_preproc=yes
27562
$as_echo "$as_me: failed program was:" >&5
27563
sed 's/^/| /' conftest.$ac_ext >&5
27565
ac_header_preproc=no
27568
rm -f conftest.err conftest.$ac_ext
27569
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27570
$as_echo "$ac_header_preproc" >&6; }
27572
# So? What about this header?
27573
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27575
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27576
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27577
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27578
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27579
ac_header_preproc=yes
27582
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27583
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27584
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27585
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27586
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27587
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27588
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27589
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27590
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27591
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27592
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27593
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27597
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27598
$as_echo_n "checking for $ac_header... " >&6; }
27599
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27600
$as_echo_n "(cached) " >&6
27602
eval "$as_ac_Header=\$ac_header_preproc"
27604
ac_res=`eval 'as_val=${'$as_ac_Header'}
27605
$as_echo "$as_val"'`
27606
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27607
$as_echo "$ac_res" >&6; }
27610
as_val=`eval 'as_val=${'$as_ac_Header'}
27611
$as_echo "$as_val"'`
27612
if test "x$as_val" = x""yes; then
25787
for ac_header in pthread.h
25789
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
25790
if test "x$ac_cv_header_pthread_h" = x""yes; then :
27613
25791
cat >>confdefs.h <<_ACEOF
27614
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25792
#define HAVE_PTHREAD_H 1
27633
25811
CPPFLAGS="$SAVE_FL"
27636
for ac_header in pthread.h
27638
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27639
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27640
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27641
$as_echo_n "checking for $ac_header... " >&6; }
27642
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27643
$as_echo_n "(cached) " >&6
27645
ac_res=`eval 'as_val=${'$as_ac_Header'}
27646
$as_echo "$as_val"'`
27647
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27648
$as_echo "$ac_res" >&6; }
27650
# Is the header compilable?
27651
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27652
$as_echo_n "checking $ac_header usability... " >&6; }
27653
cat >conftest.$ac_ext <<_ACEOF
27656
cat confdefs.h >>conftest.$ac_ext
27657
cat >>conftest.$ac_ext <<_ACEOF
27658
/* end confdefs.h. */
27659
$ac_includes_default
27660
#include <$ac_header>
27662
rm -f conftest.$ac_objext
27663
if { (ac_try="$ac_compile"
27664
case "(($ac_try" in
27665
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27666
*) ac_try_echo=$ac_try;;
27668
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27669
$as_echo "$ac_try_echo") >&5
27670
(eval "$ac_compile") 2>conftest.er1
27672
grep -v '^ *+' conftest.er1 >conftest.err
27674
cat conftest.err >&5
27675
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27676
(exit $ac_status); } && {
27677
test -z "$ac_c_werror_flag" ||
27678
test ! -s conftest.err
27679
} && test -s conftest.$ac_objext; then
27680
ac_header_compiler=yes
27682
$as_echo "$as_me: failed program was:" >&5
27683
sed 's/^/| /' conftest.$ac_ext >&5
27685
ac_header_compiler=no
27688
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27689
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27690
$as_echo "$ac_header_compiler" >&6; }
27692
# Is the header present?
27693
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27694
$as_echo_n "checking $ac_header presence... " >&6; }
27695
cat >conftest.$ac_ext <<_ACEOF
27698
cat confdefs.h >>conftest.$ac_ext
27699
cat >>conftest.$ac_ext <<_ACEOF
27700
/* end confdefs.h. */
27701
#include <$ac_header>
27703
if { (ac_try="$ac_cpp conftest.$ac_ext"
27704
case "(($ac_try" in
27705
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27706
*) ac_try_echo=$ac_try;;
27708
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27709
$as_echo "$ac_try_echo") >&5
27710
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27712
grep -v '^ *+' conftest.er1 >conftest.err
27714
cat conftest.err >&5
27715
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716
(exit $ac_status); } >/dev/null && {
27717
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27718
test ! -s conftest.err
27720
ac_header_preproc=yes
27722
$as_echo "$as_me: failed program was:" >&5
27723
sed 's/^/| /' conftest.$ac_ext >&5
27725
ac_header_preproc=no
27728
rm -f conftest.err conftest.$ac_ext
27729
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27730
$as_echo "$ac_header_preproc" >&6; }
27732
# So? What about this header?
27733
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27735
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27736
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27737
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27738
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27739
ac_header_preproc=yes
27742
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27743
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27744
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27745
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27746
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27747
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27748
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27749
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27750
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27751
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27752
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27753
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27757
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27758
$as_echo_n "checking for $ac_header... " >&6; }
27759
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27760
$as_echo_n "(cached) " >&6
27762
eval "$as_ac_Header=\$ac_header_preproc"
27764
ac_res=`eval 'as_val=${'$as_ac_Header'}
27765
$as_echo "$as_val"'`
27766
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27767
$as_echo "$ac_res" >&6; }
27770
as_val=`eval 'as_val=${'$as_ac_Header'}
27771
$as_echo "$as_val"'`
27772
if test "x$as_val" = x""yes; then
25813
for ac_header in pthread.h
25815
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
25816
if test "x$ac_cv_header_pthread_h" = x""yes; then :
27773
25817
cat >>confdefs.h <<_ACEOF
27774
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25818
#define HAVE_PTHREAD_H 1
28050
26032
if test "$GCC" = "yes"; then
28051
26033
SAVE_FL="$CPPFLAGS"
28052
26034
CPPFLAGS="$CPPFLAGS -w"
28054
for ac_header in pthread.h
28056
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28057
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28058
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28059
$as_echo_n "checking for $ac_header... " >&6; }
28060
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28061
$as_echo_n "(cached) " >&6
28063
ac_res=`eval 'as_val=${'$as_ac_Header'}
28064
$as_echo "$as_val"'`
28065
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28066
$as_echo "$ac_res" >&6; }
28068
# Is the header compilable?
28069
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
28070
$as_echo_n "checking $ac_header usability... " >&6; }
28071
cat >conftest.$ac_ext <<_ACEOF
28074
cat confdefs.h >>conftest.$ac_ext
28075
cat >>conftest.$ac_ext <<_ACEOF
28076
/* end confdefs.h. */
28077
$ac_includes_default
28078
#include <$ac_header>
28080
rm -f conftest.$ac_objext
28081
if { (ac_try="$ac_compile"
28082
case "(($ac_try" in
28083
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28084
*) ac_try_echo=$ac_try;;
28086
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28087
$as_echo "$ac_try_echo") >&5
28088
(eval "$ac_compile") 2>conftest.er1
28090
grep -v '^ *+' conftest.er1 >conftest.err
28092
cat conftest.err >&5
28093
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094
(exit $ac_status); } && {
28095
test -z "$ac_c_werror_flag" ||
28096
test ! -s conftest.err
28097
} && test -s conftest.$ac_objext; then
28098
ac_header_compiler=yes
28100
$as_echo "$as_me: failed program was:" >&5
28101
sed 's/^/| /' conftest.$ac_ext >&5
28103
ac_header_compiler=no
28106
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28107
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28108
$as_echo "$ac_header_compiler" >&6; }
28110
# Is the header present?
28111
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
28112
$as_echo_n "checking $ac_header presence... " >&6; }
28113
cat >conftest.$ac_ext <<_ACEOF
28116
cat confdefs.h >>conftest.$ac_ext
28117
cat >>conftest.$ac_ext <<_ACEOF
28118
/* end confdefs.h. */
28119
#include <$ac_header>
28121
if { (ac_try="$ac_cpp conftest.$ac_ext"
28122
case "(($ac_try" in
28123
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28124
*) ac_try_echo=$ac_try;;
28126
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28127
$as_echo "$ac_try_echo") >&5
28128
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28130
grep -v '^ *+' conftest.er1 >conftest.err
28132
cat conftest.err >&5
28133
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134
(exit $ac_status); } >/dev/null && {
28135
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28136
test ! -s conftest.err
28138
ac_header_preproc=yes
28140
$as_echo "$as_me: failed program was:" >&5
28141
sed 's/^/| /' conftest.$ac_ext >&5
28143
ac_header_preproc=no
28146
rm -f conftest.err conftest.$ac_ext
28147
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28148
$as_echo "$ac_header_preproc" >&6; }
28150
# So? What about this header?
28151
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28153
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28154
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28155
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28156
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28157
ac_header_preproc=yes
28160
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28161
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28162
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28163
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28164
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28165
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28166
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28167
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28168
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28169
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28170
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28171
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28175
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28176
$as_echo_n "checking for $ac_header... " >&6; }
28177
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28178
$as_echo_n "(cached) " >&6
28180
eval "$as_ac_Header=\$ac_header_preproc"
28182
ac_res=`eval 'as_val=${'$as_ac_Header'}
28183
$as_echo "$as_val"'`
28184
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28185
$as_echo "$ac_res" >&6; }
28188
as_val=`eval 'as_val=${'$as_ac_Header'}
28189
$as_echo "$as_val"'`
28190
if test "x$as_val" = x""yes; then
26035
for ac_header in pthread.h
26037
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
26038
if test "x$ac_cv_header_pthread_h" = x""yes; then :
28191
26039
cat >>confdefs.h <<_ACEOF
28192
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26040
#define HAVE_PTHREAD_H 1
28211
26059
CPPFLAGS="$SAVE_FL"
28214
for ac_header in pthread.h
28216
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28217
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28218
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28219
$as_echo_n "checking for $ac_header... " >&6; }
28220
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28221
$as_echo_n "(cached) " >&6
28223
ac_res=`eval 'as_val=${'$as_ac_Header'}
28224
$as_echo "$as_val"'`
28225
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28226
$as_echo "$ac_res" >&6; }
28228
# Is the header compilable?
28229
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
28230
$as_echo_n "checking $ac_header usability... " >&6; }
28231
cat >conftest.$ac_ext <<_ACEOF
28234
cat confdefs.h >>conftest.$ac_ext
28235
cat >>conftest.$ac_ext <<_ACEOF
28236
/* end confdefs.h. */
28237
$ac_includes_default
28238
#include <$ac_header>
28240
rm -f conftest.$ac_objext
28241
if { (ac_try="$ac_compile"
28242
case "(($ac_try" in
28243
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28244
*) ac_try_echo=$ac_try;;
28246
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28247
$as_echo "$ac_try_echo") >&5
28248
(eval "$ac_compile") 2>conftest.er1
28250
grep -v '^ *+' conftest.er1 >conftest.err
28252
cat conftest.err >&5
28253
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254
(exit $ac_status); } && {
28255
test -z "$ac_c_werror_flag" ||
28256
test ! -s conftest.err
28257
} && test -s conftest.$ac_objext; then
28258
ac_header_compiler=yes
28260
$as_echo "$as_me: failed program was:" >&5
28261
sed 's/^/| /' conftest.$ac_ext >&5
28263
ac_header_compiler=no
28266
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28267
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28268
$as_echo "$ac_header_compiler" >&6; }
28270
# Is the header present?
28271
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
28272
$as_echo_n "checking $ac_header presence... " >&6; }
28273
cat >conftest.$ac_ext <<_ACEOF
28276
cat confdefs.h >>conftest.$ac_ext
28277
cat >>conftest.$ac_ext <<_ACEOF
28278
/* end confdefs.h. */
28279
#include <$ac_header>
28281
if { (ac_try="$ac_cpp conftest.$ac_ext"
28282
case "(($ac_try" in
28283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28284
*) ac_try_echo=$ac_try;;
28286
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28287
$as_echo "$ac_try_echo") >&5
28288
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28290
grep -v '^ *+' conftest.er1 >conftest.err
28292
cat conftest.err >&5
28293
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294
(exit $ac_status); } >/dev/null && {
28295
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28296
test ! -s conftest.err
28298
ac_header_preproc=yes
28300
$as_echo "$as_me: failed program was:" >&5
28301
sed 's/^/| /' conftest.$ac_ext >&5
28303
ac_header_preproc=no
28306
rm -f conftest.err conftest.$ac_ext
28307
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28308
$as_echo "$ac_header_preproc" >&6; }
28310
# So? What about this header?
28311
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28313
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28314
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28315
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28316
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28317
ac_header_preproc=yes
28320
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28321
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28322
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28323
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28324
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28325
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28326
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28327
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28328
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28329
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28330
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28331
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28335
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28336
$as_echo_n "checking for $ac_header... " >&6; }
28337
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28338
$as_echo_n "(cached) " >&6
28340
eval "$as_ac_Header=\$ac_header_preproc"
28342
ac_res=`eval 'as_val=${'$as_ac_Header'}
28343
$as_echo "$as_val"'`
28344
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28345
$as_echo "$ac_res" >&6; }
28348
as_val=`eval 'as_val=${'$as_ac_Header'}
28349
$as_echo "$as_val"'`
28350
if test "x$as_val" = x""yes; then
26061
for ac_header in pthread.h
26063
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
26064
if test "x$ac_cv_header_pthread_h" = x""yes; then :
28351
26065
cat >>confdefs.h <<_ACEOF
28352
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26066
#define HAVE_PTHREAD_H 1
28722
rm -f conftest.$ac_objext
28723
if { (ac_try="$ac_compile"
28724
case "(($ac_try" in
28725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28726
*) ac_try_echo=$ac_try;;
28728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28729
$as_echo "$ac_try_echo") >&5
28730
(eval "$ac_compile") 2>conftest.er1
28732
grep -v '^ *+' conftest.er1 >conftest.err
28734
cat conftest.err >&5
28735
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736
(exit $ac_status); } && {
28737
test -z "$ac_c_werror_flag" ||
28738
test ! -s conftest.err
28739
} && test -s conftest.$ac_objext; then
26254
if ac_fn_c_try_compile "$LINENO"; then :
28740
26255
apr_cv_type_rwlock_t=yes
28742
$as_echo "$as_me: failed program was:" >&5
28743
sed 's/^/| /' conftest.$ac_ext >&5
28745
apr_cv_type_rwlock_t=no
26257
apr_cv_type_rwlock_t=no
28748
26259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28750
{ $as_echo "$as_me:$LINENO: result: $apr_cv_type_rwlock_t" >&5
26261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_cv_type_rwlock_t" >&5
28751
26262
$as_echo "$apr_cv_type_rwlock_t" >&6; }
28752
26263
if test "$apr_cv_type_rwlock_t" = "yes"; then
28754
cat >>confdefs.h <<\_ACEOF
28755
#define HAVE_PTHREAD_RWLOCKS 1
26265
$as_echo "#define HAVE_PTHREAD_RWLOCKS 1" >>confdefs.h
28761
26270
if test "$ac_cv_func_pthread_yield" = "no"; then
28763
for ac_header in sched.h
28765
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28766
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28767
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28768
$as_echo_n "checking for $ac_header... " >&6; }
28769
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28770
$as_echo_n "(cached) " >&6
28772
ac_res=`eval 'as_val=${'$as_ac_Header'}
28773
$as_echo "$as_val"'`
28774
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28775
$as_echo "$ac_res" >&6; }
28777
# Is the header compilable?
28778
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
28779
$as_echo_n "checking $ac_header usability... " >&6; }
28780
cat >conftest.$ac_ext <<_ACEOF
28783
cat confdefs.h >>conftest.$ac_ext
28784
cat >>conftest.$ac_ext <<_ACEOF
28785
/* end confdefs.h. */
28786
$ac_includes_default
28787
#include <$ac_header>
28789
rm -f conftest.$ac_objext
28790
if { (ac_try="$ac_compile"
28791
case "(($ac_try" in
28792
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28793
*) ac_try_echo=$ac_try;;
28795
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28796
$as_echo "$ac_try_echo") >&5
28797
(eval "$ac_compile") 2>conftest.er1
28799
grep -v '^ *+' conftest.er1 >conftest.err
28801
cat conftest.err >&5
28802
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803
(exit $ac_status); } && {
28804
test -z "$ac_c_werror_flag" ||
28805
test ! -s conftest.err
28806
} && test -s conftest.$ac_objext; then
28807
ac_header_compiler=yes
28809
$as_echo "$as_me: failed program was:" >&5
28810
sed 's/^/| /' conftest.$ac_ext >&5
28812
ac_header_compiler=no
28815
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28816
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28817
$as_echo "$ac_header_compiler" >&6; }
28819
# Is the header present?
28820
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
28821
$as_echo_n "checking $ac_header presence... " >&6; }
28822
cat >conftest.$ac_ext <<_ACEOF
28825
cat confdefs.h >>conftest.$ac_ext
28826
cat >>conftest.$ac_ext <<_ACEOF
28827
/* end confdefs.h. */
28828
#include <$ac_header>
28830
if { (ac_try="$ac_cpp conftest.$ac_ext"
28831
case "(($ac_try" in
28832
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28833
*) ac_try_echo=$ac_try;;
28835
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28836
$as_echo "$ac_try_echo") >&5
28837
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28839
grep -v '^ *+' conftest.er1 >conftest.err
28841
cat conftest.err >&5
28842
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843
(exit $ac_status); } >/dev/null && {
28844
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28845
test ! -s conftest.err
28847
ac_header_preproc=yes
28849
$as_echo "$as_me: failed program was:" >&5
28850
sed 's/^/| /' conftest.$ac_ext >&5
28852
ac_header_preproc=no
28855
rm -f conftest.err conftest.$ac_ext
28856
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28857
$as_echo "$ac_header_preproc" >&6; }
28859
# So? What about this header?
28860
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28862
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28863
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28864
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28865
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28866
ac_header_preproc=yes
28869
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28870
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28871
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28872
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28873
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28874
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28875
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28876
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28877
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28878
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28879
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28880
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28884
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28885
$as_echo_n "checking for $ac_header... " >&6; }
28886
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28887
$as_echo_n "(cached) " >&6
28889
eval "$as_ac_Header=\$ac_header_preproc"
28891
ac_res=`eval 'as_val=${'$as_ac_Header'}
28892
$as_echo "$as_val"'`
28893
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28894
$as_echo "$ac_res" >&6; }
28897
as_val=`eval 'as_val=${'$as_ac_Header'}
28898
$as_echo "$as_val"'`
28899
if test "x$as_val" = x""yes; then
26271
for ac_header in sched.h
26273
ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
26274
if test "x$ac_cv_header_sched_h" = x""yes; then :
28900
26275
cat >>confdefs.h <<_ACEOF
28901
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26276
#define HAVE_SCHED_H 1
28909
for ac_func in sched_yield
28911
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28912
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
28913
$as_echo_n "checking for $ac_func... " >&6; }
28914
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28915
$as_echo_n "(cached) " >&6
28917
cat >conftest.$ac_ext <<_ACEOF
28920
cat confdefs.h >>conftest.$ac_ext
28921
cat >>conftest.$ac_ext <<_ACEOF
28922
/* end confdefs.h. */
28923
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28924
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28925
#define $ac_func innocuous_$ac_func
28927
/* System header to define __stub macros and hopefully few prototypes,
28928
which can conflict with char $ac_func (); below.
28929
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28930
<limits.h> exists even on freestanding compilers. */
28933
# include <limits.h>
28935
# include <assert.h>
28940
/* Override any GCC internal prototype to avoid an error.
28941
Use char because int might match the return type of a GCC
28942
builtin and then its argument prototype would still apply. */
28947
/* The GNU C library defines this for functions which it implements
28948
to always fail with ENOSYS. Some functions are actually named
28949
something starting with __ and the normal name is an alias. */
28950
#if defined __stub_$ac_func || defined __stub___$ac_func
28957
return $ac_func ();
28962
rm -f conftest.$ac_objext conftest$ac_exeext
28963
if { (ac_try="$ac_link"
28964
case "(($ac_try" in
28965
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28966
*) ac_try_echo=$ac_try;;
28968
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28969
$as_echo "$ac_try_echo") >&5
28970
(eval "$ac_link") 2>conftest.er1
28972
grep -v '^ *+' conftest.er1 >conftest.err
28974
cat conftest.err >&5
28975
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976
(exit $ac_status); } && {
28977
test -z "$ac_c_werror_flag" ||
28978
test ! -s conftest.err
28979
} && test -s conftest$ac_exeext && {
28980
test "$cross_compiling" = yes ||
28981
$as_test_x conftest$ac_exeext
28983
eval "$as_ac_var=yes"
28985
$as_echo "$as_me: failed program was:" >&5
28986
sed 's/^/| /' conftest.$ac_ext >&5
28988
eval "$as_ac_var=no"
28991
rm -rf conftest.dSYM
28992
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28993
conftest$ac_exeext conftest.$ac_ext
28995
ac_res=`eval 'as_val=${'$as_ac_var'}
28996
$as_echo "$as_val"'`
28997
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28998
$as_echo "$ac_res" >&6; }
28999
as_val=`eval 'as_val=${'$as_ac_var'}
29000
$as_echo "$as_val"'`
29001
if test "x$as_val" = x""yes; then
26283
for ac_func in sched_yield
26285
ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
26286
if test "x$ac_cv_func_sched_yield" = x""yes; then :
29002
26287
cat >>confdefs.h <<_ACEOF
29003
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26288
#define HAVE_SCHED_YIELD 1
29278
rm -f conftest.$ac_objext conftest$ac_exeext
29279
if { (ac_try="$ac_link"
29280
case "(($ac_try" in
29281
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29282
*) ac_try_echo=$ac_try;;
29284
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29285
$as_echo "$ac_try_echo") >&5
29286
(eval "$ac_link") 2>conftest.er1
29288
grep -v '^ *+' conftest.er1 >conftest.err
29290
cat conftest.err >&5
29291
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292
(exit $ac_status); } && {
29293
test -z "$ac_c_werror_flag" ||
29294
test ! -s conftest.err
29295
} && test -s conftest$ac_exeext && {
29296
test "$cross_compiling" = yes ||
29297
$as_test_x conftest$ac_exeext
26466
if ac_fn_c_try_link "$LINENO"; then :
29299
26467
ac_cv_lib_c_r_getservbyname=yes
29301
$as_echo "$as_me: failed program was:" >&5
29302
sed 's/^/| /' conftest.$ac_ext >&5
29304
ac_cv_lib_c_r_getservbyname=no
26469
ac_cv_lib_c_r_getservbyname=no
29307
rm -rf conftest.dSYM
29308
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29309
conftest$ac_exeext conftest.$ac_ext
26471
rm -f core conftest.err conftest.$ac_objext \
26472
conftest$ac_exeext conftest.$ac_ext
29310
26473
LIBS=$ac_check_lib_save_LIBS
29312
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_getservbyname" >&5
26475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_getservbyname" >&5
29313
26476
$as_echo "$ac_cv_lib_c_r_getservbyname" >&6; }
29314
if test "x$ac_cv_lib_c_r_getservbyname" = x""yes; then
26477
if test "x$ac_cv_lib_c_r_getservbyname" = x""yes; then :
29315
26478
apr_getservbyname_is_thread_safe=yes
29319
26482
if test "$apr_getservbyname_is_thread_safe" = "yes"; then
29321
cat >>confdefs.h <<\_ACEOF
29322
#define GETSERVBYNAME_IS_THREAD_SAFE 1
26484
$as_echo "#define GETSERVBYNAME_IS_THREAD_SAFE 1" >>confdefs.h
29329
for ac_func in gethostbyname_r gethostbyaddr_r getservbyname_r
29331
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29332
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
29333
$as_echo_n "checking for $ac_func... " >&6; }
29334
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29335
$as_echo_n "(cached) " >&6
29337
cat >conftest.$ac_ext <<_ACEOF
29340
cat confdefs.h >>conftest.$ac_ext
29341
cat >>conftest.$ac_ext <<_ACEOF
29342
/* end confdefs.h. */
29343
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29344
For example, HP-UX 11i <limits.h> declares gettimeofday. */
29345
#define $ac_func innocuous_$ac_func
29347
/* System header to define __stub macros and hopefully few prototypes,
29348
which can conflict with char $ac_func (); below.
29349
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29350
<limits.h> exists even on freestanding compilers. */
29353
# include <limits.h>
29355
# include <assert.h>
29360
/* Override any GCC internal prototype to avoid an error.
29361
Use char because int might match the return type of a GCC
29362
builtin and then its argument prototype would still apply. */
29367
/* The GNU C library defines this for functions which it implements
29368
to always fail with ENOSYS. Some functions are actually named
29369
something starting with __ and the normal name is an alias. */
29370
#if defined __stub_$ac_func || defined __stub___$ac_func
29377
return $ac_func ();
29382
rm -f conftest.$ac_objext conftest$ac_exeext
29383
if { (ac_try="$ac_link"
29384
case "(($ac_try" in
29385
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29386
*) ac_try_echo=$ac_try;;
29388
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29389
$as_echo "$ac_try_echo") >&5
29390
(eval "$ac_link") 2>conftest.er1
29392
grep -v '^ *+' conftest.er1 >conftest.err
29394
cat conftest.err >&5
29395
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396
(exit $ac_status); } && {
29397
test -z "$ac_c_werror_flag" ||
29398
test ! -s conftest.err
29399
} && test -s conftest$ac_exeext && {
29400
test "$cross_compiling" = yes ||
29401
$as_test_x conftest$ac_exeext
29403
eval "$as_ac_var=yes"
29405
$as_echo "$as_me: failed program was:" >&5
29406
sed 's/^/| /' conftest.$ac_ext >&5
29408
eval "$as_ac_var=no"
29411
rm -rf conftest.dSYM
29412
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29413
conftest$ac_exeext conftest.$ac_ext
29415
ac_res=`eval 'as_val=${'$as_ac_var'}
29416
$as_echo "$as_val"'`
29417
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29418
$as_echo "$ac_res" >&6; }
29419
as_val=`eval 'as_val=${'$as_ac_var'}
29420
$as_echo "$as_val"'`
29421
if test "x$as_val" = x""yes; then
26487
for ac_func in gethostbyname_r gethostbyaddr_r getservbyname_r
26489
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26490
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26491
eval as_val=\$$as_ac_var
26492
if test "x$as_val" = x""yes; then :
29422
26493
cat >>confdefs.h <<_ACEOF
29423
26494
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30536
27010
for ac_header in sys/types.h sys/mman.h sys/ipc.h sys/mutex.h sys/shm.h sys/file.h kernel/OS.h os2.h windows.h
30538
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30539
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30540
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
30541
$as_echo_n "checking for $ac_header... " >&6; }
30542
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30543
$as_echo_n "(cached) " >&6
30545
ac_res=`eval 'as_val=${'$as_ac_Header'}
30546
$as_echo "$as_val"'`
30547
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
30548
$as_echo "$ac_res" >&6; }
30550
# Is the header compilable?
30551
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
30552
$as_echo_n "checking $ac_header usability... " >&6; }
30553
cat >conftest.$ac_ext <<_ACEOF
30556
cat confdefs.h >>conftest.$ac_ext
30557
cat >>conftest.$ac_ext <<_ACEOF
30558
/* end confdefs.h. */
30559
$ac_includes_default
30560
#include <$ac_header>
30562
rm -f conftest.$ac_objext
30563
if { (ac_try="$ac_compile"
30564
case "(($ac_try" in
30565
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30566
*) ac_try_echo=$ac_try;;
30568
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30569
$as_echo "$ac_try_echo") >&5
30570
(eval "$ac_compile") 2>conftest.er1
30572
grep -v '^ *+' conftest.er1 >conftest.err
30574
cat conftest.err >&5
30575
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576
(exit $ac_status); } && {
30577
test -z "$ac_c_werror_flag" ||
30578
test ! -s conftest.err
30579
} && test -s conftest.$ac_objext; then
30580
ac_header_compiler=yes
30582
$as_echo "$as_me: failed program was:" >&5
30583
sed 's/^/| /' conftest.$ac_ext >&5
30585
ac_header_compiler=no
30588
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30589
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30590
$as_echo "$ac_header_compiler" >&6; }
30592
# Is the header present?
30593
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
30594
$as_echo_n "checking $ac_header presence... " >&6; }
30595
cat >conftest.$ac_ext <<_ACEOF
30598
cat confdefs.h >>conftest.$ac_ext
30599
cat >>conftest.$ac_ext <<_ACEOF
30600
/* end confdefs.h. */
30601
#include <$ac_header>
30603
if { (ac_try="$ac_cpp conftest.$ac_ext"
30604
case "(($ac_try" in
30605
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30606
*) ac_try_echo=$ac_try;;
30608
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30609
$as_echo "$ac_try_echo") >&5
30610
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30612
grep -v '^ *+' conftest.er1 >conftest.err
30614
cat conftest.err >&5
30615
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616
(exit $ac_status); } >/dev/null && {
30617
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30618
test ! -s conftest.err
30620
ac_header_preproc=yes
30622
$as_echo "$as_me: failed program was:" >&5
30623
sed 's/^/| /' conftest.$ac_ext >&5
30625
ac_header_preproc=no
30628
rm -f conftest.err conftest.$ac_ext
30629
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30630
$as_echo "$ac_header_preproc" >&6; }
30632
# So? What about this header?
30633
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30635
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30636
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30637
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30638
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30639
ac_header_preproc=yes
30642
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30643
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30644
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30645
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30646
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30647
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30648
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30649
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30650
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30651
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30652
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30653
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30657
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
30658
$as_echo_n "checking for $ac_header... " >&6; }
30659
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30660
$as_echo_n "(cached) " >&6
30662
eval "$as_ac_Header=\$ac_header_preproc"
30664
ac_res=`eval 'as_val=${'$as_ac_Header'}
30665
$as_echo "$as_val"'`
30666
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
30667
$as_echo "$ac_res" >&6; }
30670
as_val=`eval 'as_val=${'$as_ac_Header'}
30671
$as_echo "$as_val"'`
30672
if test "x$as_val" = x""yes; then
27012
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27013
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
27014
eval as_val=\$$as_ac_Header
27015
if test "x$as_val" = x""yes; then :
30673
27016
cat >>confdefs.h <<_ACEOF
30674
27017
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
32491
28104
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
32492
28105
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
32493
28106
# This bug is HP SR number 8606223364.
32494
{ $as_echo "$as_me:$LINENO: checking size of void*" >&5
28107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
32495
28108
$as_echo_n "checking size of void*... " >&6; }
32496
if test "${ac_cv_sizeof_voidp+set}" = set; then
28109
if test "${ac_cv_sizeof_voidp+set}" = set; then :
32497
28110
$as_echo_n "(cached) " >&6
32499
if test "$cross_compiling" = yes; then
32500
# Depending upon the size, compute the lo and hi bounds.
32501
cat >conftest.$ac_ext <<_ACEOF
32504
cat confdefs.h >>conftest.$ac_ext
32505
cat >>conftest.$ac_ext <<_ACEOF
32506
/* end confdefs.h. */
32507
$ac_includes_default
32511
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= 0)];
32518
rm -f conftest.$ac_objext
32519
if { (ac_try="$ac_compile"
32520
case "(($ac_try" in
32521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32522
*) ac_try_echo=$ac_try;;
32524
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32525
$as_echo "$ac_try_echo") >&5
32526
(eval "$ac_compile") 2>conftest.er1
32528
grep -v '^ *+' conftest.er1 >conftest.err
32530
cat conftest.err >&5
32531
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532
(exit $ac_status); } && {
32533
test -z "$ac_c_werror_flag" ||
32534
test ! -s conftest.err
32535
} && test -s conftest.$ac_objext; then
32538
cat >conftest.$ac_ext <<_ACEOF
32541
cat confdefs.h >>conftest.$ac_ext
32542
cat >>conftest.$ac_ext <<_ACEOF
32543
/* end confdefs.h. */
32544
$ac_includes_default
32548
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
32555
rm -f conftest.$ac_objext
32556
if { (ac_try="$ac_compile"
32557
case "(($ac_try" in
32558
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32559
*) ac_try_echo=$ac_try;;
32561
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32562
$as_echo "$ac_try_echo") >&5
32563
(eval "$ac_compile") 2>conftest.er1
32565
grep -v '^ *+' conftest.er1 >conftest.err
32567
cat conftest.err >&5
32568
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569
(exit $ac_status); } && {
32570
test -z "$ac_c_werror_flag" ||
32571
test ! -s conftest.err
32572
} && test -s conftest.$ac_objext; then
32573
ac_hi=$ac_mid; break
32575
$as_echo "$as_me: failed program was:" >&5
32576
sed 's/^/| /' conftest.$ac_ext >&5
32578
ac_lo=`expr $ac_mid + 1`
32579
if test $ac_lo -le $ac_mid; then
32583
ac_mid=`expr 2 '*' $ac_mid + 1`
32586
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32589
$as_echo "$as_me: failed program was:" >&5
32590
sed 's/^/| /' conftest.$ac_ext >&5
32592
cat >conftest.$ac_ext <<_ACEOF
32595
cat confdefs.h >>conftest.$ac_ext
32596
cat >>conftest.$ac_ext <<_ACEOF
32597
/* end confdefs.h. */
32598
$ac_includes_default
32602
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) < 0)];
32609
rm -f conftest.$ac_objext
32610
if { (ac_try="$ac_compile"
32611
case "(($ac_try" in
32612
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32613
*) ac_try_echo=$ac_try;;
32615
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32616
$as_echo "$ac_try_echo") >&5
32617
(eval "$ac_compile") 2>conftest.er1
32619
grep -v '^ *+' conftest.er1 >conftest.err
32621
cat conftest.err >&5
32622
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623
(exit $ac_status); } && {
32624
test -z "$ac_c_werror_flag" ||
32625
test ! -s conftest.err
32626
} && test -s conftest.$ac_objext; then
32629
cat >conftest.$ac_ext <<_ACEOF
32632
cat confdefs.h >>conftest.$ac_ext
32633
cat >>conftest.$ac_ext <<_ACEOF
32634
/* end confdefs.h. */
32635
$ac_includes_default
32639
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= $ac_mid)];
32646
rm -f conftest.$ac_objext
32647
if { (ac_try="$ac_compile"
32648
case "(($ac_try" in
32649
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32650
*) ac_try_echo=$ac_try;;
32652
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32653
$as_echo "$ac_try_echo") >&5
32654
(eval "$ac_compile") 2>conftest.er1
32656
grep -v '^ *+' conftest.er1 >conftest.err
32658
cat conftest.err >&5
32659
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660
(exit $ac_status); } && {
32661
test -z "$ac_c_werror_flag" ||
32662
test ! -s conftest.err
32663
} && test -s conftest.$ac_objext; then
32664
ac_lo=$ac_mid; break
32666
$as_echo "$as_me: failed program was:" >&5
32667
sed 's/^/| /' conftest.$ac_ext >&5
32669
ac_hi=`expr '(' $ac_mid ')' - 1`
32670
if test $ac_mid -le $ac_hi; then
32674
ac_mid=`expr 2 '*' $ac_mid`
32677
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32680
$as_echo "$as_me: failed program was:" >&5
32681
sed 's/^/| /' conftest.$ac_ext >&5
32686
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32690
# Binary search between lo and hi bounds.
32691
while test "x$ac_lo" != "x$ac_hi"; do
32692
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
32693
cat >conftest.$ac_ext <<_ACEOF
32696
cat confdefs.h >>conftest.$ac_ext
32697
cat >>conftest.$ac_ext <<_ACEOF
32698
/* end confdefs.h. */
32699
$ac_includes_default
32703
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
32710
rm -f conftest.$ac_objext
32711
if { (ac_try="$ac_compile"
32712
case "(($ac_try" in
32713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32714
*) ac_try_echo=$ac_try;;
32716
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32717
$as_echo "$ac_try_echo") >&5
32718
(eval "$ac_compile") 2>conftest.er1
32720
grep -v '^ *+' conftest.er1 >conftest.err
32722
cat conftest.err >&5
32723
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724
(exit $ac_status); } && {
32725
test -z "$ac_c_werror_flag" ||
32726
test ! -s conftest.err
32727
} && test -s conftest.$ac_objext; then
32730
$as_echo "$as_me: failed program was:" >&5
32731
sed 's/^/| /' conftest.$ac_ext >&5
32733
ac_lo=`expr '(' $ac_mid ')' + 1`
32736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32739
?*) ac_cv_sizeof_voidp=$ac_lo;;
32740
'') if test "$ac_cv_type_voidp" = yes; then
32741
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
32742
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32743
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
32744
See \`config.log' for more details." >&5
32745
$as_echo "$as_me: error: cannot compute sizeof (void*)
32746
See \`config.log' for more details." >&2;}
32747
{ (exit 77); exit 77; }; }; }
32749
ac_cv_sizeof_voidp=0
32753
cat >conftest.$ac_ext <<_ACEOF
32756
cat confdefs.h >>conftest.$ac_ext
32757
cat >>conftest.$ac_ext <<_ACEOF
32758
/* end confdefs.h. */
32759
$ac_includes_default
32760
static long int longval () { return (long int) (sizeof (void*)); }
32761
static unsigned long int ulongval () { return (long int) (sizeof (void*)); }
32763
#include <stdlib.h>
32768
FILE *f = fopen ("conftest.val", "w");
32771
if (((long int) (sizeof (void*))) < 0)
32773
long int i = longval ();
32774
if (i != ((long int) (sizeof (void*))))
32776
fprintf (f, "%ld", i);
32780
unsigned long int i = ulongval ();
32781
if (i != ((long int) (sizeof (void*))))
32783
fprintf (f, "%lu", i);
32785
/* Do not output a trailing newline, as this causes \r\n confusion
32786
on some platforms. */
32787
return ferror (f) || fclose (f) != 0;
32793
rm -f conftest$ac_exeext
32794
if { (ac_try="$ac_link"
32795
case "(($ac_try" in
32796
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32797
*) ac_try_echo=$ac_try;;
32799
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32800
$as_echo "$ac_try_echo") >&5
32801
(eval "$ac_link") 2>&5
32803
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32805
{ (case "(($ac_try" in
32806
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32807
*) ac_try_echo=$ac_try;;
32809
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32810
$as_echo "$ac_try_echo") >&5
32811
(eval "$ac_try") 2>&5
32813
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32814
(exit $ac_status); }; }; then
32815
ac_cv_sizeof_voidp=`cat conftest.val`
32817
$as_echo "$as_me: program exited with status $ac_status" >&5
32818
$as_echo "$as_me: failed program was:" >&5
32819
sed 's/^/| /' conftest.$ac_ext >&5
32821
( exit $ac_status )
32822
if test "$ac_cv_type_voidp" = yes; then
32823
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
32824
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32825
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
32826
See \`config.log' for more details." >&5
32827
$as_echo "$as_me: error: cannot compute sizeof (void*)
32828
See \`config.log' for more details." >&2;}
32829
{ (exit 77); exit 77; }; }; }
28112
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
28115
if test "$ac_cv_type_voidp" = yes; then
28116
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28117
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28118
{ as_fn_set_status 77
28119
as_fn_error "cannot compute sizeof (void*)
28120
See \`config.log' for more details." "$LINENO" 5; }; }
32831
28122
ac_cv_sizeof_voidp=0
32834
rm -rf conftest.dSYM
32835
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32839
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
28127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
32840
28128
$as_echo "$ac_cv_sizeof_voidp" >&6; }
33292
{ $as_echo "$as_me:$LINENO: checking for _getch" >&5
33293
$as_echo_n "checking for _getch... " >&6; }
33294
if test "${ac_cv_func__getch+set}" = set; then
33295
$as_echo_n "(cached) " >&6
33297
cat >conftest.$ac_ext <<_ACEOF
33300
cat confdefs.h >>conftest.$ac_ext
33301
cat >>conftest.$ac_ext <<_ACEOF
33302
/* end confdefs.h. */
33303
/* Define _getch to an innocuous variant, in case <limits.h> declares _getch.
33304
For example, HP-UX 11i <limits.h> declares gettimeofday. */
33305
#define _getch innocuous__getch
33307
/* System header to define __stub macros and hopefully few prototypes,
33308
which can conflict with char _getch (); below.
33309
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33310
<limits.h> exists even on freestanding compilers. */
33313
# include <limits.h>
33315
# include <assert.h>
33320
/* Override any GCC internal prototype to avoid an error.
33321
Use char because int might match the return type of a GCC
33322
builtin and then its argument prototype would still apply. */
33327
/* The GNU C library defines this for functions which it implements
33328
to always fail with ENOSYS. Some functions are actually named
33329
something starting with __ and the normal name is an alias. */
33330
#if defined __stub__getch || defined __stub____getch
33342
rm -f conftest.$ac_objext conftest$ac_exeext
33343
if { (ac_try="$ac_link"
33344
case "(($ac_try" in
33345
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33346
*) ac_try_echo=$ac_try;;
33348
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33349
$as_echo "$ac_try_echo") >&5
33350
(eval "$ac_link") 2>conftest.er1
33352
grep -v '^ *+' conftest.er1 >conftest.err
33354
cat conftest.err >&5
33355
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356
(exit $ac_status); } && {
33357
test -z "$ac_c_werror_flag" ||
33358
test ! -s conftest.err
33359
} && test -s conftest$ac_exeext && {
33360
test "$cross_compiling" = yes ||
33361
$as_test_x conftest$ac_exeext
33363
ac_cv_func__getch=yes
33365
$as_echo "$as_me: failed program was:" >&5
33366
sed 's/^/| /' conftest.$ac_ext >&5
33368
ac_cv_func__getch=no
33371
rm -rf conftest.dSYM
33372
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33373
conftest$ac_exeext conftest.$ac_ext
33375
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__getch" >&5
33376
$as_echo "$ac_cv_func__getch" >&6; }
28292
ac_fn_c_check_func "$LINENO" "_getch" "ac_cv_func__getch"
28293
if test "x$ac_cv_func__getch" = x""yes; then :
33379
28297
for ac_func in strerror_r
33381
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33382
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
33383
$as_echo_n "checking for $ac_func... " >&6; }
33384
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33385
$as_echo_n "(cached) " >&6
33387
cat >conftest.$ac_ext <<_ACEOF
33390
cat confdefs.h >>conftest.$ac_ext
33391
cat >>conftest.$ac_ext <<_ACEOF
33392
/* end confdefs.h. */
33393
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33394
For example, HP-UX 11i <limits.h> declares gettimeofday. */
33395
#define $ac_func innocuous_$ac_func
33397
/* System header to define __stub macros and hopefully few prototypes,
33398
which can conflict with char $ac_func (); below.
33399
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33400
<limits.h> exists even on freestanding compilers. */
33403
# include <limits.h>
33405
# include <assert.h>
33410
/* Override any GCC internal prototype to avoid an error.
33411
Use char because int might match the return type of a GCC
33412
builtin and then its argument prototype would still apply. */
33417
/* The GNU C library defines this for functions which it implements
33418
to always fail with ENOSYS. Some functions are actually named
33419
something starting with __ and the normal name is an alias. */
33420
#if defined __stub_$ac_func || defined __stub___$ac_func
33427
return $ac_func ();
33432
rm -f conftest.$ac_objext conftest$ac_exeext
33433
if { (ac_try="$ac_link"
33434
case "(($ac_try" in
33435
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33436
*) ac_try_echo=$ac_try;;
33438
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33439
$as_echo "$ac_try_echo") >&5
33440
(eval "$ac_link") 2>conftest.er1
33442
grep -v '^ *+' conftest.er1 >conftest.err
33444
cat conftest.err >&5
33445
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446
(exit $ac_status); } && {
33447
test -z "$ac_c_werror_flag" ||
33448
test ! -s conftest.err
33449
} && test -s conftest$ac_exeext && {
33450
test "$cross_compiling" = yes ||
33451
$as_test_x conftest$ac_exeext
33453
eval "$as_ac_var=yes"
33455
$as_echo "$as_me: failed program was:" >&5
33456
sed 's/^/| /' conftest.$ac_ext >&5
33458
eval "$as_ac_var=no"
33461
rm -rf conftest.dSYM
33462
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33463
conftest$ac_exeext conftest.$ac_ext
33465
ac_res=`eval 'as_val=${'$as_ac_var'}
33466
$as_echo "$as_val"'`
33467
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33468
$as_echo "$ac_res" >&6; }
33469
as_val=`eval 'as_val=${'$as_ac_var'}
33470
$as_echo "$as_val"'`
33471
if test "x$as_val" = x""yes; then
28299
ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
28300
if test "x$ac_cv_func_strerror_r" = x""yes; then :
33472
28301
cat >>confdefs.h <<_ACEOF
33473
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28302
#define HAVE_STRERROR_R 1
33475
28304
strerror_r="1"
34278
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
34279
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34280
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
34281
$as_echo_n "checking for $ac_header... " >&6; }
34282
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34283
$as_echo_n "(cached) " >&6
34285
ac_res=`eval 'as_val=${'$as_ac_Header'}
34286
$as_echo "$as_val"'`
34287
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
34288
$as_echo "$ac_res" >&6; }
34290
# Is the header compilable?
34291
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
34292
$as_echo_n "checking $ac_header usability... " >&6; }
34293
cat >conftest.$ac_ext <<_ACEOF
34296
cat confdefs.h >>conftest.$ac_ext
34297
cat >>conftest.$ac_ext <<_ACEOF
34298
/* end confdefs.h. */
34299
$ac_includes_default
34300
#include <$ac_header>
34302
rm -f conftest.$ac_objext
34303
if { (ac_try="$ac_compile"
34304
case "(($ac_try" in
34305
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34306
*) ac_try_echo=$ac_try;;
34308
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34309
$as_echo "$ac_try_echo") >&5
34310
(eval "$ac_compile") 2>conftest.er1
34312
grep -v '^ *+' conftest.er1 >conftest.err
34314
cat conftest.err >&5
34315
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34316
(exit $ac_status); } && {
34317
test -z "$ac_c_werror_flag" ||
34318
test ! -s conftest.err
34319
} && test -s conftest.$ac_objext; then
34320
ac_header_compiler=yes
34322
$as_echo "$as_me: failed program was:" >&5
34323
sed 's/^/| /' conftest.$ac_ext >&5
34325
ac_header_compiler=no
34328
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34329
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34330
$as_echo "$ac_header_compiler" >&6; }
34332
# Is the header present?
34333
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
34334
$as_echo_n "checking $ac_header presence... " >&6; }
34335
cat >conftest.$ac_ext <<_ACEOF
34338
cat confdefs.h >>conftest.$ac_ext
34339
cat >>conftest.$ac_ext <<_ACEOF
34340
/* end confdefs.h. */
34341
#include <$ac_header>
34343
if { (ac_try="$ac_cpp conftest.$ac_ext"
34344
case "(($ac_try" in
34345
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34346
*) ac_try_echo=$ac_try;;
34348
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34349
$as_echo "$ac_try_echo") >&5
34350
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34352
grep -v '^ *+' conftest.er1 >conftest.err
34354
cat conftest.err >&5
34355
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356
(exit $ac_status); } >/dev/null && {
34357
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34358
test ! -s conftest.err
34360
ac_header_preproc=yes
34362
$as_echo "$as_me: failed program was:" >&5
34363
sed 's/^/| /' conftest.$ac_ext >&5
34365
ac_header_preproc=no
34368
rm -f conftest.err conftest.$ac_ext
34369
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34370
$as_echo "$ac_header_preproc" >&6; }
34372
# So? What about this header?
34373
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34375
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34376
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34377
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34378
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34379
ac_header_preproc=yes
34382
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34383
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34384
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34385
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34386
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34387
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34388
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34389
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34390
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34391
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34392
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34393
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34397
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
34398
$as_echo_n "checking for $ac_header... " >&6; }
34399
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34400
$as_echo_n "(cached) " >&6
34402
eval "$as_ac_Header=\$ac_header_preproc"
34404
ac_res=`eval 'as_val=${'$as_ac_Header'}
34405
$as_echo "$as_val"'`
34406
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
34407
$as_echo "$ac_res" >&6; }
34410
as_val=`eval 'as_val=${'$as_ac_Header'}
34411
$as_echo "$as_val"'`
34412
if test "x$as_val" = x""yes; then
28644
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28645
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
28646
eval as_val=\$$as_ac_Header
28647
if test "x$as_val" = x""yes; then :
34413
28648
cat >>confdefs.h <<_ACEOF
34414
28649
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
35547
29207
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
35548
29208
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
35549
29209
# This bug is HP SR number 8606223364.
35550
{ $as_echo "$as_me:$LINENO: checking size of void*" >&5
29210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
35551
29211
$as_echo_n "checking size of void*... " >&6; }
35552
if test "${ac_cv_sizeof_voidp+set}" = set; then
29212
if test "${ac_cv_sizeof_voidp+set}" = set; then :
35553
29213
$as_echo_n "(cached) " >&6
35555
if test "$cross_compiling" = yes; then
35556
# Depending upon the size, compute the lo and hi bounds.
35557
cat >conftest.$ac_ext <<_ACEOF
35560
cat confdefs.h >>conftest.$ac_ext
35561
cat >>conftest.$ac_ext <<_ACEOF
35562
/* end confdefs.h. */
35563
$ac_includes_default
35567
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= 0)];
35574
rm -f conftest.$ac_objext
35575
if { (ac_try="$ac_compile"
35576
case "(($ac_try" in
35577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35578
*) ac_try_echo=$ac_try;;
35580
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35581
$as_echo "$ac_try_echo") >&5
35582
(eval "$ac_compile") 2>conftest.er1
35584
grep -v '^ *+' conftest.er1 >conftest.err
35586
cat conftest.err >&5
35587
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588
(exit $ac_status); } && {
35589
test -z "$ac_c_werror_flag" ||
35590
test ! -s conftest.err
35591
} && test -s conftest.$ac_objext; then
35594
cat >conftest.$ac_ext <<_ACEOF
35597
cat confdefs.h >>conftest.$ac_ext
35598
cat >>conftest.$ac_ext <<_ACEOF
35599
/* end confdefs.h. */
35600
$ac_includes_default
35604
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
35611
rm -f conftest.$ac_objext
35612
if { (ac_try="$ac_compile"
35613
case "(($ac_try" in
35614
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35615
*) ac_try_echo=$ac_try;;
35617
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35618
$as_echo "$ac_try_echo") >&5
35619
(eval "$ac_compile") 2>conftest.er1
35621
grep -v '^ *+' conftest.er1 >conftest.err
35623
cat conftest.err >&5
35624
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625
(exit $ac_status); } && {
35626
test -z "$ac_c_werror_flag" ||
35627
test ! -s conftest.err
35628
} && test -s conftest.$ac_objext; then
35629
ac_hi=$ac_mid; break
35631
$as_echo "$as_me: failed program was:" >&5
35632
sed 's/^/| /' conftest.$ac_ext >&5
35634
ac_lo=`expr $ac_mid + 1`
35635
if test $ac_lo -le $ac_mid; then
35639
ac_mid=`expr 2 '*' $ac_mid + 1`
35642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35645
$as_echo "$as_me: failed program was:" >&5
35646
sed 's/^/| /' conftest.$ac_ext >&5
35648
cat >conftest.$ac_ext <<_ACEOF
35651
cat confdefs.h >>conftest.$ac_ext
35652
cat >>conftest.$ac_ext <<_ACEOF
35653
/* end confdefs.h. */
35654
$ac_includes_default
35658
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) < 0)];
35665
rm -f conftest.$ac_objext
35666
if { (ac_try="$ac_compile"
35667
case "(($ac_try" in
35668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35669
*) ac_try_echo=$ac_try;;
35671
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35672
$as_echo "$ac_try_echo") >&5
35673
(eval "$ac_compile") 2>conftest.er1
35675
grep -v '^ *+' conftest.er1 >conftest.err
35677
cat conftest.err >&5
35678
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679
(exit $ac_status); } && {
35680
test -z "$ac_c_werror_flag" ||
35681
test ! -s conftest.err
35682
} && test -s conftest.$ac_objext; then
35685
cat >conftest.$ac_ext <<_ACEOF
35688
cat confdefs.h >>conftest.$ac_ext
35689
cat >>conftest.$ac_ext <<_ACEOF
35690
/* end confdefs.h. */
35691
$ac_includes_default
35695
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= $ac_mid)];
35702
rm -f conftest.$ac_objext
35703
if { (ac_try="$ac_compile"
35704
case "(($ac_try" in
35705
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35706
*) ac_try_echo=$ac_try;;
35708
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35709
$as_echo "$ac_try_echo") >&5
35710
(eval "$ac_compile") 2>conftest.er1
35712
grep -v '^ *+' conftest.er1 >conftest.err
35714
cat conftest.err >&5
35715
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716
(exit $ac_status); } && {
35717
test -z "$ac_c_werror_flag" ||
35718
test ! -s conftest.err
35719
} && test -s conftest.$ac_objext; then
35720
ac_lo=$ac_mid; break
35722
$as_echo "$as_me: failed program was:" >&5
35723
sed 's/^/| /' conftest.$ac_ext >&5
35725
ac_hi=`expr '(' $ac_mid ')' - 1`
35726
if test $ac_mid -le $ac_hi; then
35730
ac_mid=`expr 2 '*' $ac_mid`
35733
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35736
$as_echo "$as_me: failed program was:" >&5
35737
sed 's/^/| /' conftest.$ac_ext >&5
35742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35745
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35746
# Binary search between lo and hi bounds.
35747
while test "x$ac_lo" != "x$ac_hi"; do
35748
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
35749
cat >conftest.$ac_ext <<_ACEOF
35752
cat confdefs.h >>conftest.$ac_ext
35753
cat >>conftest.$ac_ext <<_ACEOF
35754
/* end confdefs.h. */
35755
$ac_includes_default
35759
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
35766
rm -f conftest.$ac_objext
35767
if { (ac_try="$ac_compile"
35768
case "(($ac_try" in
35769
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35770
*) ac_try_echo=$ac_try;;
35772
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35773
$as_echo "$ac_try_echo") >&5
35774
(eval "$ac_compile") 2>conftest.er1
35776
grep -v '^ *+' conftest.er1 >conftest.err
35778
cat conftest.err >&5
35779
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780
(exit $ac_status); } && {
35781
test -z "$ac_c_werror_flag" ||
35782
test ! -s conftest.err
35783
} && test -s conftest.$ac_objext; then
35786
$as_echo "$as_me: failed program was:" >&5
35787
sed 's/^/| /' conftest.$ac_ext >&5
35789
ac_lo=`expr '(' $ac_mid ')' + 1`
35792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35795
?*) ac_cv_sizeof_voidp=$ac_lo;;
35796
'') if test "$ac_cv_type_voidp" = yes; then
35797
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
35798
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35799
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
35800
See \`config.log' for more details." >&5
35801
$as_echo "$as_me: error: cannot compute sizeof (void*)
35802
See \`config.log' for more details." >&2;}
35803
{ (exit 77); exit 77; }; }; }
35805
ac_cv_sizeof_voidp=0
35809
cat >conftest.$ac_ext <<_ACEOF
35812
cat confdefs.h >>conftest.$ac_ext
35813
cat >>conftest.$ac_ext <<_ACEOF
35814
/* end confdefs.h. */
35815
$ac_includes_default
35816
static long int longval () { return (long int) (sizeof (void*)); }
35817
static unsigned long int ulongval () { return (long int) (sizeof (void*)); }
35819
#include <stdlib.h>
35824
FILE *f = fopen ("conftest.val", "w");
35827
if (((long int) (sizeof (void*))) < 0)
35829
long int i = longval ();
35830
if (i != ((long int) (sizeof (void*))))
35832
fprintf (f, "%ld", i);
35836
unsigned long int i = ulongval ();
35837
if (i != ((long int) (sizeof (void*))))
35839
fprintf (f, "%lu", i);
35841
/* Do not output a trailing newline, as this causes \r\n confusion
35842
on some platforms. */
35843
return ferror (f) || fclose (f) != 0;
35849
rm -f conftest$ac_exeext
35850
if { (ac_try="$ac_link"
35851
case "(($ac_try" in
35852
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35853
*) ac_try_echo=$ac_try;;
35855
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35856
$as_echo "$ac_try_echo") >&5
35857
(eval "$ac_link") 2>&5
35859
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35861
{ (case "(($ac_try" in
35862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35863
*) ac_try_echo=$ac_try;;
35865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35866
$as_echo "$ac_try_echo") >&5
35867
(eval "$ac_try") 2>&5
35869
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870
(exit $ac_status); }; }; then
35871
ac_cv_sizeof_voidp=`cat conftest.val`
35873
$as_echo "$as_me: program exited with status $ac_status" >&5
35874
$as_echo "$as_me: failed program was:" >&5
35875
sed 's/^/| /' conftest.$ac_ext >&5
35877
( exit $ac_status )
35878
if test "$ac_cv_type_voidp" = yes; then
35879
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
35880
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35881
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
35882
See \`config.log' for more details." >&5
35883
$as_echo "$as_me: error: cannot compute sizeof (void*)
35884
See \`config.log' for more details." >&2;}
35885
{ (exit 77); exit 77; }; }; }
29215
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
29218
if test "$ac_cv_type_voidp" = yes; then
29219
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29220
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29221
{ as_fn_set_status 77
29222
as_fn_error "cannot compute sizeof (void*)
29223
See \`config.log' for more details." "$LINENO" 5; }; }
35887
29225
ac_cv_sizeof_voidp=0
35890
rm -rf conftest.dSYM
35891
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35895
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
29230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
35896
29231
$as_echo "$ac_cv_sizeof_voidp" >&6; }
35906
29241
if test "x$ac_cv_sizeof_voidp" != "x"; then
35907
29242
voidp_size=$ac_cv_sizeof_voidp
35909
{ { $as_echo "$as_me:$LINENO: error: Cannot determine size of void*" >&5
35910
$as_echo "$as_me: error: Cannot determine size of void*" >&2;}
35911
{ (exit 1); exit 1; }; }
29244
as_fn_error "Cannot determine size of void*" "$LINENO" 5
35914
29247
# The cast to long int works around a bug in the HP C Compiler
35915
29248
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
35916
29249
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
35917
29250
# This bug is HP SR number 8606223364.
35918
{ $as_echo "$as_me:$LINENO: checking size of char" >&5
29251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
35919
29252
$as_echo_n "checking size of char... " >&6; }
35920
if test "${ac_cv_sizeof_char+set}" = set; then
29253
if test "${ac_cv_sizeof_char+set}" = set; then :
35921
29254
$as_echo_n "(cached) " >&6
35923
if test "$cross_compiling" = yes; then
35924
# Depending upon the size, compute the lo and hi bounds.
35925
cat >conftest.$ac_ext <<_ACEOF
35928
cat confdefs.h >>conftest.$ac_ext
35929
cat >>conftest.$ac_ext <<_ACEOF
35930
/* end confdefs.h. */
35931
$ac_includes_default
35935
static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)];
35942
rm -f conftest.$ac_objext
35943
if { (ac_try="$ac_compile"
35944
case "(($ac_try" in
35945
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35946
*) ac_try_echo=$ac_try;;
35948
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35949
$as_echo "$ac_try_echo") >&5
35950
(eval "$ac_compile") 2>conftest.er1
35952
grep -v '^ *+' conftest.er1 >conftest.err
35954
cat conftest.err >&5
35955
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956
(exit $ac_status); } && {
35957
test -z "$ac_c_werror_flag" ||
35958
test ! -s conftest.err
35959
} && test -s conftest.$ac_objext; then
35962
cat >conftest.$ac_ext <<_ACEOF
35965
cat confdefs.h >>conftest.$ac_ext
35966
cat >>conftest.$ac_ext <<_ACEOF
35967
/* end confdefs.h. */
35968
$ac_includes_default
35972
static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
35979
rm -f conftest.$ac_objext
35980
if { (ac_try="$ac_compile"
35981
case "(($ac_try" in
35982
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35983
*) ac_try_echo=$ac_try;;
35985
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35986
$as_echo "$ac_try_echo") >&5
35987
(eval "$ac_compile") 2>conftest.er1
35989
grep -v '^ *+' conftest.er1 >conftest.err
35991
cat conftest.err >&5
35992
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35993
(exit $ac_status); } && {
35994
test -z "$ac_c_werror_flag" ||
35995
test ! -s conftest.err
35996
} && test -s conftest.$ac_objext; then
35997
ac_hi=$ac_mid; break
35999
$as_echo "$as_me: failed program was:" >&5
36000
sed 's/^/| /' conftest.$ac_ext >&5
36002
ac_lo=`expr $ac_mid + 1`
36003
if test $ac_lo -le $ac_mid; then
36007
ac_mid=`expr 2 '*' $ac_mid + 1`
36010
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36013
$as_echo "$as_me: failed program was:" >&5
36014
sed 's/^/| /' conftest.$ac_ext >&5
36016
cat >conftest.$ac_ext <<_ACEOF
36019
cat confdefs.h >>conftest.$ac_ext
36020
cat >>conftest.$ac_ext <<_ACEOF
36021
/* end confdefs.h. */
36022
$ac_includes_default
36026
static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)];
36033
rm -f conftest.$ac_objext
36034
if { (ac_try="$ac_compile"
36035
case "(($ac_try" in
36036
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36037
*) ac_try_echo=$ac_try;;
36039
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36040
$as_echo "$ac_try_echo") >&5
36041
(eval "$ac_compile") 2>conftest.er1
36043
grep -v '^ *+' conftest.er1 >conftest.err
36045
cat conftest.err >&5
36046
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047
(exit $ac_status); } && {
36048
test -z "$ac_c_werror_flag" ||
36049
test ! -s conftest.err
36050
} && test -s conftest.$ac_objext; then
36053
cat >conftest.$ac_ext <<_ACEOF
36056
cat confdefs.h >>conftest.$ac_ext
36057
cat >>conftest.$ac_ext <<_ACEOF
36058
/* end confdefs.h. */
36059
$ac_includes_default
36063
static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)];
36070
rm -f conftest.$ac_objext
36071
if { (ac_try="$ac_compile"
36072
case "(($ac_try" in
36073
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36074
*) ac_try_echo=$ac_try;;
36076
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36077
$as_echo "$ac_try_echo") >&5
36078
(eval "$ac_compile") 2>conftest.er1
36080
grep -v '^ *+' conftest.er1 >conftest.err
36082
cat conftest.err >&5
36083
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084
(exit $ac_status); } && {
36085
test -z "$ac_c_werror_flag" ||
36086
test ! -s conftest.err
36087
} && test -s conftest.$ac_objext; then
36088
ac_lo=$ac_mid; break
36090
$as_echo "$as_me: failed program was:" >&5
36091
sed 's/^/| /' conftest.$ac_ext >&5
36093
ac_hi=`expr '(' $ac_mid ')' - 1`
36094
if test $ac_mid -le $ac_hi; then
36098
ac_mid=`expr 2 '*' $ac_mid`
36101
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36104
$as_echo "$as_me: failed program was:" >&5
36105
sed 's/^/| /' conftest.$ac_ext >&5
36110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36114
# Binary search between lo and hi bounds.
36115
while test "x$ac_lo" != "x$ac_hi"; do
36116
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
36117
cat >conftest.$ac_ext <<_ACEOF
36120
cat confdefs.h >>conftest.$ac_ext
36121
cat >>conftest.$ac_ext <<_ACEOF
36122
/* end confdefs.h. */
36123
$ac_includes_default
36127
static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
36134
rm -f conftest.$ac_objext
36135
if { (ac_try="$ac_compile"
36136
case "(($ac_try" in
36137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36138
*) ac_try_echo=$ac_try;;
36140
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36141
$as_echo "$ac_try_echo") >&5
36142
(eval "$ac_compile") 2>conftest.er1
36144
grep -v '^ *+' conftest.er1 >conftest.err
36146
cat conftest.err >&5
36147
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148
(exit $ac_status); } && {
36149
test -z "$ac_c_werror_flag" ||
36150
test ! -s conftest.err
36151
} && test -s conftest.$ac_objext; then
36154
$as_echo "$as_me: failed program was:" >&5
36155
sed 's/^/| /' conftest.$ac_ext >&5
36157
ac_lo=`expr '(' $ac_mid ')' + 1`
36160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36163
?*) ac_cv_sizeof_char=$ac_lo;;
36164
'') if test "$ac_cv_type_char" = yes; then
36165
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36166
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36167
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
36168
See \`config.log' for more details." >&5
36169
$as_echo "$as_me: error: cannot compute sizeof (char)
36170
See \`config.log' for more details." >&2;}
36171
{ (exit 77); exit 77; }; }; }
36173
ac_cv_sizeof_char=0
36177
cat >conftest.$ac_ext <<_ACEOF
36180
cat confdefs.h >>conftest.$ac_ext
36181
cat >>conftest.$ac_ext <<_ACEOF
36182
/* end confdefs.h. */
36183
$ac_includes_default
36184
static long int longval () { return (long int) (sizeof (char)); }
36185
static unsigned long int ulongval () { return (long int) (sizeof (char)); }
36187
#include <stdlib.h>
36192
FILE *f = fopen ("conftest.val", "w");
36195
if (((long int) (sizeof (char))) < 0)
36197
long int i = longval ();
36198
if (i != ((long int) (sizeof (char))))
36200
fprintf (f, "%ld", i);
36204
unsigned long int i = ulongval ();
36205
if (i != ((long int) (sizeof (char))))
36207
fprintf (f, "%lu", i);
36209
/* Do not output a trailing newline, as this causes \r\n confusion
36210
on some platforms. */
36211
return ferror (f) || fclose (f) != 0;
36217
rm -f conftest$ac_exeext
36218
if { (ac_try="$ac_link"
36219
case "(($ac_try" in
36220
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36221
*) ac_try_echo=$ac_try;;
36223
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36224
$as_echo "$ac_try_echo") >&5
36225
(eval "$ac_link") 2>&5
36227
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36229
{ (case "(($ac_try" in
36230
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36231
*) ac_try_echo=$ac_try;;
36233
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36234
$as_echo "$ac_try_echo") >&5
36235
(eval "$ac_try") 2>&5
36237
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238
(exit $ac_status); }; }; then
36239
ac_cv_sizeof_char=`cat conftest.val`
36241
$as_echo "$as_me: program exited with status $ac_status" >&5
36242
$as_echo "$as_me: failed program was:" >&5
36243
sed 's/^/| /' conftest.$ac_ext >&5
36245
( exit $ac_status )
36246
if test "$ac_cv_type_char" = yes; then
36247
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36248
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36249
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
36250
See \`config.log' for more details." >&5
36251
$as_echo "$as_me: error: cannot compute sizeof (char)
36252
See \`config.log' for more details." >&2;}
36253
{ (exit 77); exit 77; }; }; }
29256
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
29259
if test "$ac_cv_type_char" = yes; then
29260
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29261
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29262
{ as_fn_set_status 77
29263
as_fn_error "cannot compute sizeof (char)
29264
See \`config.log' for more details." "$LINENO" 5; }; }
36255
29266
ac_cv_sizeof_char=0
36258
rm -rf conftest.dSYM
36259
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36263
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
29271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
36264
29272
$as_echo "$ac_cv_sizeof_char" >&6; }
36274
29282
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
36275
29283
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
36276
29284
# This bug is HP SR number 8606223364.
36277
{ $as_echo "$as_me:$LINENO: checking size of int" >&5
29285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
36278
29286
$as_echo_n "checking size of int... " >&6; }
36279
if test "${ac_cv_sizeof_int+set}" = set; then
29287
if test "${ac_cv_sizeof_int+set}" = set; then :
36280
29288
$as_echo_n "(cached) " >&6
36282
if test "$cross_compiling" = yes; then
36283
# Depending upon the size, compute the lo and hi bounds.
36284
cat >conftest.$ac_ext <<_ACEOF
36287
cat confdefs.h >>conftest.$ac_ext
36288
cat >>conftest.$ac_ext <<_ACEOF
36289
/* end confdefs.h. */
36290
$ac_includes_default
36294
static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
36301
rm -f conftest.$ac_objext
36302
if { (ac_try="$ac_compile"
36303
case "(($ac_try" in
36304
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36305
*) ac_try_echo=$ac_try;;
36307
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36308
$as_echo "$ac_try_echo") >&5
36309
(eval "$ac_compile") 2>conftest.er1
36311
grep -v '^ *+' conftest.er1 >conftest.err
36313
cat conftest.err >&5
36314
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315
(exit $ac_status); } && {
36316
test -z "$ac_c_werror_flag" ||
36317
test ! -s conftest.err
36318
} && test -s conftest.$ac_objext; then
36321
cat >conftest.$ac_ext <<_ACEOF
36324
cat confdefs.h >>conftest.$ac_ext
36325
cat >>conftest.$ac_ext <<_ACEOF
36326
/* end confdefs.h. */
36327
$ac_includes_default
36331
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
36338
rm -f conftest.$ac_objext
36339
if { (ac_try="$ac_compile"
36340
case "(($ac_try" in
36341
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36342
*) ac_try_echo=$ac_try;;
36344
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36345
$as_echo "$ac_try_echo") >&5
36346
(eval "$ac_compile") 2>conftest.er1
36348
grep -v '^ *+' conftest.er1 >conftest.err
36350
cat conftest.err >&5
36351
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352
(exit $ac_status); } && {
36353
test -z "$ac_c_werror_flag" ||
36354
test ! -s conftest.err
36355
} && test -s conftest.$ac_objext; then
36356
ac_hi=$ac_mid; break
36358
$as_echo "$as_me: failed program was:" >&5
36359
sed 's/^/| /' conftest.$ac_ext >&5
36361
ac_lo=`expr $ac_mid + 1`
36362
if test $ac_lo -le $ac_mid; then
36366
ac_mid=`expr 2 '*' $ac_mid + 1`
36369
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36372
$as_echo "$as_me: failed program was:" >&5
36373
sed 's/^/| /' conftest.$ac_ext >&5
36375
cat >conftest.$ac_ext <<_ACEOF
36378
cat confdefs.h >>conftest.$ac_ext
36379
cat >>conftest.$ac_ext <<_ACEOF
36380
/* end confdefs.h. */
36381
$ac_includes_default
36385
static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
36392
rm -f conftest.$ac_objext
36393
if { (ac_try="$ac_compile"
36394
case "(($ac_try" in
36395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36396
*) ac_try_echo=$ac_try;;
36398
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36399
$as_echo "$ac_try_echo") >&5
36400
(eval "$ac_compile") 2>conftest.er1
36402
grep -v '^ *+' conftest.er1 >conftest.err
36404
cat conftest.err >&5
36405
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406
(exit $ac_status); } && {
36407
test -z "$ac_c_werror_flag" ||
36408
test ! -s conftest.err
36409
} && test -s conftest.$ac_objext; then
36412
cat >conftest.$ac_ext <<_ACEOF
36415
cat confdefs.h >>conftest.$ac_ext
36416
cat >>conftest.$ac_ext <<_ACEOF
36417
/* end confdefs.h. */
36418
$ac_includes_default
36422
static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
36429
rm -f conftest.$ac_objext
36430
if { (ac_try="$ac_compile"
36431
case "(($ac_try" in
36432
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36433
*) ac_try_echo=$ac_try;;
36435
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36436
$as_echo "$ac_try_echo") >&5
36437
(eval "$ac_compile") 2>conftest.er1
36439
grep -v '^ *+' conftest.er1 >conftest.err
36441
cat conftest.err >&5
36442
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443
(exit $ac_status); } && {
36444
test -z "$ac_c_werror_flag" ||
36445
test ! -s conftest.err
36446
} && test -s conftest.$ac_objext; then
36447
ac_lo=$ac_mid; break
36449
$as_echo "$as_me: failed program was:" >&5
36450
sed 's/^/| /' conftest.$ac_ext >&5
36452
ac_hi=`expr '(' $ac_mid ')' - 1`
36453
if test $ac_mid -le $ac_hi; then
36457
ac_mid=`expr 2 '*' $ac_mid`
36460
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463
$as_echo "$as_me: failed program was:" >&5
36464
sed 's/^/| /' conftest.$ac_ext >&5
36469
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36472
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36473
# Binary search between lo and hi bounds.
36474
while test "x$ac_lo" != "x$ac_hi"; do
36475
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
36476
cat >conftest.$ac_ext <<_ACEOF
36479
cat confdefs.h >>conftest.$ac_ext
36480
cat >>conftest.$ac_ext <<_ACEOF
36481
/* end confdefs.h. */
36482
$ac_includes_default
36486
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
36493
rm -f conftest.$ac_objext
36494
if { (ac_try="$ac_compile"
36495
case "(($ac_try" in
36496
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36497
*) ac_try_echo=$ac_try;;
36499
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36500
$as_echo "$ac_try_echo") >&5
36501
(eval "$ac_compile") 2>conftest.er1
36503
grep -v '^ *+' conftest.er1 >conftest.err
36505
cat conftest.err >&5
36506
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507
(exit $ac_status); } && {
36508
test -z "$ac_c_werror_flag" ||
36509
test ! -s conftest.err
36510
} && test -s conftest.$ac_objext; then
36513
$as_echo "$as_me: failed program was:" >&5
36514
sed 's/^/| /' conftest.$ac_ext >&5
36516
ac_lo=`expr '(' $ac_mid ')' + 1`
36519
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36522
?*) ac_cv_sizeof_int=$ac_lo;;
36523
'') if test "$ac_cv_type_int" = yes; then
36524
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36525
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36526
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
36527
See \`config.log' for more details." >&5
36528
$as_echo "$as_me: error: cannot compute sizeof (int)
36529
See \`config.log' for more details." >&2;}
36530
{ (exit 77); exit 77; }; }; }
36536
cat >conftest.$ac_ext <<_ACEOF
36539
cat confdefs.h >>conftest.$ac_ext
36540
cat >>conftest.$ac_ext <<_ACEOF
36541
/* end confdefs.h. */
36542
$ac_includes_default
36543
static long int longval () { return (long int) (sizeof (int)); }
36544
static unsigned long int ulongval () { return (long int) (sizeof (int)); }
36546
#include <stdlib.h>
36551
FILE *f = fopen ("conftest.val", "w");
36554
if (((long int) (sizeof (int))) < 0)
36556
long int i = longval ();
36557
if (i != ((long int) (sizeof (int))))
36559
fprintf (f, "%ld", i);
36563
unsigned long int i = ulongval ();
36564
if (i != ((long int) (sizeof (int))))
36566
fprintf (f, "%lu", i);
36568
/* Do not output a trailing newline, as this causes \r\n confusion
36569
on some platforms. */
36570
return ferror (f) || fclose (f) != 0;
36576
rm -f conftest$ac_exeext
36577
if { (ac_try="$ac_link"
36578
case "(($ac_try" in
36579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36580
*) ac_try_echo=$ac_try;;
36582
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36583
$as_echo "$ac_try_echo") >&5
36584
(eval "$ac_link") 2>&5
36586
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36588
{ (case "(($ac_try" in
36589
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36590
*) ac_try_echo=$ac_try;;
36592
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36593
$as_echo "$ac_try_echo") >&5
36594
(eval "$ac_try") 2>&5
36596
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597
(exit $ac_status); }; }; then
36598
ac_cv_sizeof_int=`cat conftest.val`
36600
$as_echo "$as_me: program exited with status $ac_status" >&5
36601
$as_echo "$as_me: failed program was:" >&5
36602
sed 's/^/| /' conftest.$ac_ext >&5
36604
( exit $ac_status )
36605
if test "$ac_cv_type_int" = yes; then
36606
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36607
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36608
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
36609
See \`config.log' for more details." >&5
36610
$as_echo "$as_me: error: cannot compute sizeof (int)
36611
See \`config.log' for more details." >&2;}
36612
{ (exit 77); exit 77; }; }; }
29290
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
29293
if test "$ac_cv_type_int" = yes; then
29294
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29295
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29296
{ as_fn_set_status 77
29297
as_fn_error "cannot compute sizeof (int)
29298
See \`config.log' for more details." "$LINENO" 5; }; }
36614
29300
ac_cv_sizeof_int=0
36617
rm -rf conftest.dSYM
36618
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36622
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
29305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
36623
29306
$as_echo "$ac_cv_sizeof_int" >&6; }
36633
29316
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
36634
29317
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
36635
29318
# This bug is HP SR number 8606223364.
36636
{ $as_echo "$as_me:$LINENO: checking size of long" >&5
29319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
36637
29320
$as_echo_n "checking size of long... " >&6; }
36638
if test "${ac_cv_sizeof_long+set}" = set; then
29321
if test "${ac_cv_sizeof_long+set}" = set; then :
36639
29322
$as_echo_n "(cached) " >&6
36641
if test "$cross_compiling" = yes; then
36642
# Depending upon the size, compute the lo and hi bounds.
36643
cat >conftest.$ac_ext <<_ACEOF
36646
cat confdefs.h >>conftest.$ac_ext
36647
cat >>conftest.$ac_ext <<_ACEOF
36648
/* end confdefs.h. */
36649
$ac_includes_default
36653
static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
36660
rm -f conftest.$ac_objext
36661
if { (ac_try="$ac_compile"
36662
case "(($ac_try" in
36663
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36664
*) ac_try_echo=$ac_try;;
36666
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36667
$as_echo "$ac_try_echo") >&5
36668
(eval "$ac_compile") 2>conftest.er1
36670
grep -v '^ *+' conftest.er1 >conftest.err
36672
cat conftest.err >&5
36673
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674
(exit $ac_status); } && {
36675
test -z "$ac_c_werror_flag" ||
36676
test ! -s conftest.err
36677
} && test -s conftest.$ac_objext; then
36680
cat >conftest.$ac_ext <<_ACEOF
36683
cat confdefs.h >>conftest.$ac_ext
36684
cat >>conftest.$ac_ext <<_ACEOF
36685
/* end confdefs.h. */
36686
$ac_includes_default
36690
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
36697
rm -f conftest.$ac_objext
36698
if { (ac_try="$ac_compile"
36699
case "(($ac_try" in
36700
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36701
*) ac_try_echo=$ac_try;;
36703
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36704
$as_echo "$ac_try_echo") >&5
36705
(eval "$ac_compile") 2>conftest.er1
36707
grep -v '^ *+' conftest.er1 >conftest.err
36709
cat conftest.err >&5
36710
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711
(exit $ac_status); } && {
36712
test -z "$ac_c_werror_flag" ||
36713
test ! -s conftest.err
36714
} && test -s conftest.$ac_objext; then
36715
ac_hi=$ac_mid; break
36717
$as_echo "$as_me: failed program was:" >&5
36718
sed 's/^/| /' conftest.$ac_ext >&5
36720
ac_lo=`expr $ac_mid + 1`
36721
if test $ac_lo -le $ac_mid; then
36725
ac_mid=`expr 2 '*' $ac_mid + 1`
36728
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36731
$as_echo "$as_me: failed program was:" >&5
36732
sed 's/^/| /' conftest.$ac_ext >&5
36734
cat >conftest.$ac_ext <<_ACEOF
36737
cat confdefs.h >>conftest.$ac_ext
36738
cat >>conftest.$ac_ext <<_ACEOF
36739
/* end confdefs.h. */
36740
$ac_includes_default
36744
static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
36751
rm -f conftest.$ac_objext
36752
if { (ac_try="$ac_compile"
36753
case "(($ac_try" in
36754
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36755
*) ac_try_echo=$ac_try;;
36757
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36758
$as_echo "$ac_try_echo") >&5
36759
(eval "$ac_compile") 2>conftest.er1
36761
grep -v '^ *+' conftest.er1 >conftest.err
36763
cat conftest.err >&5
36764
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765
(exit $ac_status); } && {
36766
test -z "$ac_c_werror_flag" ||
36767
test ! -s conftest.err
36768
} && test -s conftest.$ac_objext; then
36771
cat >conftest.$ac_ext <<_ACEOF
36774
cat confdefs.h >>conftest.$ac_ext
36775
cat >>conftest.$ac_ext <<_ACEOF
36776
/* end confdefs.h. */
36777
$ac_includes_default
36781
static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
36788
rm -f conftest.$ac_objext
36789
if { (ac_try="$ac_compile"
36790
case "(($ac_try" in
36791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36792
*) ac_try_echo=$ac_try;;
36794
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36795
$as_echo "$ac_try_echo") >&5
36796
(eval "$ac_compile") 2>conftest.er1
36798
grep -v '^ *+' conftest.er1 >conftest.err
36800
cat conftest.err >&5
36801
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802
(exit $ac_status); } && {
36803
test -z "$ac_c_werror_flag" ||
36804
test ! -s conftest.err
36805
} && test -s conftest.$ac_objext; then
36806
ac_lo=$ac_mid; break
36808
$as_echo "$as_me: failed program was:" >&5
36809
sed 's/^/| /' conftest.$ac_ext >&5
36811
ac_hi=`expr '(' $ac_mid ')' - 1`
36812
if test $ac_mid -le $ac_hi; then
36816
ac_mid=`expr 2 '*' $ac_mid`
36819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36822
$as_echo "$as_me: failed program was:" >&5
36823
sed 's/^/| /' conftest.$ac_ext >&5
36828
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36831
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36832
# Binary search between lo and hi bounds.
36833
while test "x$ac_lo" != "x$ac_hi"; do
36834
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
36835
cat >conftest.$ac_ext <<_ACEOF
36838
cat confdefs.h >>conftest.$ac_ext
36839
cat >>conftest.$ac_ext <<_ACEOF
36840
/* end confdefs.h. */
36841
$ac_includes_default
36845
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
36852
rm -f conftest.$ac_objext
36853
if { (ac_try="$ac_compile"
36854
case "(($ac_try" in
36855
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36856
*) ac_try_echo=$ac_try;;
36858
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36859
$as_echo "$ac_try_echo") >&5
36860
(eval "$ac_compile") 2>conftest.er1
36862
grep -v '^ *+' conftest.er1 >conftest.err
36864
cat conftest.err >&5
36865
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866
(exit $ac_status); } && {
36867
test -z "$ac_c_werror_flag" ||
36868
test ! -s conftest.err
36869
} && test -s conftest.$ac_objext; then
36872
$as_echo "$as_me: failed program was:" >&5
36873
sed 's/^/| /' conftest.$ac_ext >&5
36875
ac_lo=`expr '(' $ac_mid ')' + 1`
36878
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36881
?*) ac_cv_sizeof_long=$ac_lo;;
36882
'') if test "$ac_cv_type_long" = yes; then
36883
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36884
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36885
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
36886
See \`config.log' for more details." >&5
36887
$as_echo "$as_me: error: cannot compute sizeof (long)
36888
See \`config.log' for more details." >&2;}
36889
{ (exit 77); exit 77; }; }; }
36891
ac_cv_sizeof_long=0
36895
cat >conftest.$ac_ext <<_ACEOF
36898
cat confdefs.h >>conftest.$ac_ext
36899
cat >>conftest.$ac_ext <<_ACEOF
36900
/* end confdefs.h. */
36901
$ac_includes_default
36902
static long int longval () { return (long int) (sizeof (long)); }
36903
static unsigned long int ulongval () { return (long int) (sizeof (long)); }
36905
#include <stdlib.h>
36910
FILE *f = fopen ("conftest.val", "w");
36913
if (((long int) (sizeof (long))) < 0)
36915
long int i = longval ();
36916
if (i != ((long int) (sizeof (long))))
36918
fprintf (f, "%ld", i);
36922
unsigned long int i = ulongval ();
36923
if (i != ((long int) (sizeof (long))))
36925
fprintf (f, "%lu", i);
36927
/* Do not output a trailing newline, as this causes \r\n confusion
36928
on some platforms. */
36929
return ferror (f) || fclose (f) != 0;
36935
rm -f conftest$ac_exeext
36936
if { (ac_try="$ac_link"
36937
case "(($ac_try" in
36938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36939
*) ac_try_echo=$ac_try;;
36941
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36942
$as_echo "$ac_try_echo") >&5
36943
(eval "$ac_link") 2>&5
36945
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36947
{ (case "(($ac_try" in
36948
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36949
*) ac_try_echo=$ac_try;;
36951
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36952
$as_echo "$ac_try_echo") >&5
36953
(eval "$ac_try") 2>&5
36955
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956
(exit $ac_status); }; }; then
36957
ac_cv_sizeof_long=`cat conftest.val`
36959
$as_echo "$as_me: program exited with status $ac_status" >&5
36960
$as_echo "$as_me: failed program was:" >&5
36961
sed 's/^/| /' conftest.$ac_ext >&5
36963
( exit $ac_status )
36964
if test "$ac_cv_type_long" = yes; then
36965
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
36966
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36967
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
36968
See \`config.log' for more details." >&5
36969
$as_echo "$as_me: error: cannot compute sizeof (long)
36970
See \`config.log' for more details." >&2;}
36971
{ (exit 77); exit 77; }; }; }
29324
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
29327
if test "$ac_cv_type_long" = yes; then
29328
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29329
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29330
{ as_fn_set_status 77
29331
as_fn_error "cannot compute sizeof (long)
29332
See \`config.log' for more details." "$LINENO" 5; }; }
36973
29334
ac_cv_sizeof_long=0
36976
rm -rf conftest.dSYM
36977
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36981
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
29339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
36982
29340
$as_echo "$ac_cv_sizeof_long" >&6; }
36992
29350
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
36993
29351
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
36994
29352
# This bug is HP SR number 8606223364.
36995
{ $as_echo "$as_me:$LINENO: checking size of short" >&5
29353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
36996
29354
$as_echo_n "checking size of short... " >&6; }
36997
if test "${ac_cv_sizeof_short+set}" = set; then
29355
if test "${ac_cv_sizeof_short+set}" = set; then :
36998
29356
$as_echo_n "(cached) " >&6
37000
if test "$cross_compiling" = yes; then
37001
# Depending upon the size, compute the lo and hi bounds.
37002
cat >conftest.$ac_ext <<_ACEOF
37005
cat confdefs.h >>conftest.$ac_ext
37006
cat >>conftest.$ac_ext <<_ACEOF
37007
/* end confdefs.h. */
37008
$ac_includes_default
37012
static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
37019
rm -f conftest.$ac_objext
37020
if { (ac_try="$ac_compile"
37021
case "(($ac_try" in
37022
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37023
*) ac_try_echo=$ac_try;;
37025
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37026
$as_echo "$ac_try_echo") >&5
37027
(eval "$ac_compile") 2>conftest.er1
37029
grep -v '^ *+' conftest.er1 >conftest.err
37031
cat conftest.err >&5
37032
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033
(exit $ac_status); } && {
37034
test -z "$ac_c_werror_flag" ||
37035
test ! -s conftest.err
37036
} && test -s conftest.$ac_objext; then
37039
cat >conftest.$ac_ext <<_ACEOF
37042
cat confdefs.h >>conftest.$ac_ext
37043
cat >>conftest.$ac_ext <<_ACEOF
37044
/* end confdefs.h. */
37045
$ac_includes_default
37049
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
37056
rm -f conftest.$ac_objext
37057
if { (ac_try="$ac_compile"
37058
case "(($ac_try" in
37059
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37060
*) ac_try_echo=$ac_try;;
37062
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37063
$as_echo "$ac_try_echo") >&5
37064
(eval "$ac_compile") 2>conftest.er1
37066
grep -v '^ *+' conftest.er1 >conftest.err
37068
cat conftest.err >&5
37069
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070
(exit $ac_status); } && {
37071
test -z "$ac_c_werror_flag" ||
37072
test ! -s conftest.err
37073
} && test -s conftest.$ac_objext; then
37074
ac_hi=$ac_mid; break
37076
$as_echo "$as_me: failed program was:" >&5
37077
sed 's/^/| /' conftest.$ac_ext >&5
37079
ac_lo=`expr $ac_mid + 1`
37080
if test $ac_lo -le $ac_mid; then
37084
ac_mid=`expr 2 '*' $ac_mid + 1`
37087
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37090
$as_echo "$as_me: failed program was:" >&5
37091
sed 's/^/| /' conftest.$ac_ext >&5
37093
cat >conftest.$ac_ext <<_ACEOF
37096
cat confdefs.h >>conftest.$ac_ext
37097
cat >>conftest.$ac_ext <<_ACEOF
37098
/* end confdefs.h. */
37099
$ac_includes_default
37103
static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
37110
rm -f conftest.$ac_objext
37111
if { (ac_try="$ac_compile"
37112
case "(($ac_try" in
37113
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37114
*) ac_try_echo=$ac_try;;
37116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37117
$as_echo "$ac_try_echo") >&5
37118
(eval "$ac_compile") 2>conftest.er1
37120
grep -v '^ *+' conftest.er1 >conftest.err
37122
cat conftest.err >&5
37123
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37124
(exit $ac_status); } && {
37125
test -z "$ac_c_werror_flag" ||
37126
test ! -s conftest.err
37127
} && test -s conftest.$ac_objext; then
37130
cat >conftest.$ac_ext <<_ACEOF
37133
cat confdefs.h >>conftest.$ac_ext
37134
cat >>conftest.$ac_ext <<_ACEOF
37135
/* end confdefs.h. */
37136
$ac_includes_default
37140
static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
37147
rm -f conftest.$ac_objext
37148
if { (ac_try="$ac_compile"
37149
case "(($ac_try" in
37150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37151
*) ac_try_echo=$ac_try;;
37153
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37154
$as_echo "$ac_try_echo") >&5
37155
(eval "$ac_compile") 2>conftest.er1
37157
grep -v '^ *+' conftest.er1 >conftest.err
37159
cat conftest.err >&5
37160
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161
(exit $ac_status); } && {
37162
test -z "$ac_c_werror_flag" ||
37163
test ! -s conftest.err
37164
} && test -s conftest.$ac_objext; then
37165
ac_lo=$ac_mid; break
37167
$as_echo "$as_me: failed program was:" >&5
37168
sed 's/^/| /' conftest.$ac_ext >&5
37170
ac_hi=`expr '(' $ac_mid ')' - 1`
37171
if test $ac_mid -le $ac_hi; then
37175
ac_mid=`expr 2 '*' $ac_mid`
37178
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37181
$as_echo "$as_me: failed program was:" >&5
37182
sed 's/^/| /' conftest.$ac_ext >&5
37187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37190
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37191
# Binary search between lo and hi bounds.
37192
while test "x$ac_lo" != "x$ac_hi"; do
37193
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
37194
cat >conftest.$ac_ext <<_ACEOF
37197
cat confdefs.h >>conftest.$ac_ext
37198
cat >>conftest.$ac_ext <<_ACEOF
37199
/* end confdefs.h. */
37200
$ac_includes_default
37204
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
37211
rm -f conftest.$ac_objext
37212
if { (ac_try="$ac_compile"
37213
case "(($ac_try" in
37214
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37215
*) ac_try_echo=$ac_try;;
37217
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37218
$as_echo "$ac_try_echo") >&5
37219
(eval "$ac_compile") 2>conftest.er1
37221
grep -v '^ *+' conftest.er1 >conftest.err
37223
cat conftest.err >&5
37224
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225
(exit $ac_status); } && {
37226
test -z "$ac_c_werror_flag" ||
37227
test ! -s conftest.err
37228
} && test -s conftest.$ac_objext; then
37231
$as_echo "$as_me: failed program was:" >&5
37232
sed 's/^/| /' conftest.$ac_ext >&5
37234
ac_lo=`expr '(' $ac_mid ')' + 1`
37237
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37240
?*) ac_cv_sizeof_short=$ac_lo;;
37241
'') if test "$ac_cv_type_short" = yes; then
37242
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37243
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37244
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
37245
See \`config.log' for more details." >&5
37246
$as_echo "$as_me: error: cannot compute sizeof (short)
37247
See \`config.log' for more details." >&2;}
37248
{ (exit 77); exit 77; }; }; }
37250
ac_cv_sizeof_short=0
37254
cat >conftest.$ac_ext <<_ACEOF
37257
cat confdefs.h >>conftest.$ac_ext
37258
cat >>conftest.$ac_ext <<_ACEOF
37259
/* end confdefs.h. */
37260
$ac_includes_default
37261
static long int longval () { return (long int) (sizeof (short)); }
37262
static unsigned long int ulongval () { return (long int) (sizeof (short)); }
37264
#include <stdlib.h>
37269
FILE *f = fopen ("conftest.val", "w");
37272
if (((long int) (sizeof (short))) < 0)
37274
long int i = longval ();
37275
if (i != ((long int) (sizeof (short))))
37277
fprintf (f, "%ld", i);
37281
unsigned long int i = ulongval ();
37282
if (i != ((long int) (sizeof (short))))
37284
fprintf (f, "%lu", i);
37286
/* Do not output a trailing newline, as this causes \r\n confusion
37287
on some platforms. */
37288
return ferror (f) || fclose (f) != 0;
37294
rm -f conftest$ac_exeext
37295
if { (ac_try="$ac_link"
37296
case "(($ac_try" in
37297
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37298
*) ac_try_echo=$ac_try;;
37300
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37301
$as_echo "$ac_try_echo") >&5
37302
(eval "$ac_link") 2>&5
37304
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37306
{ (case "(($ac_try" in
37307
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37308
*) ac_try_echo=$ac_try;;
37310
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37311
$as_echo "$ac_try_echo") >&5
37312
(eval "$ac_try") 2>&5
37314
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315
(exit $ac_status); }; }; then
37316
ac_cv_sizeof_short=`cat conftest.val`
37318
$as_echo "$as_me: program exited with status $ac_status" >&5
37319
$as_echo "$as_me: failed program was:" >&5
37320
sed 's/^/| /' conftest.$ac_ext >&5
37322
( exit $ac_status )
37323
if test "$ac_cv_type_short" = yes; then
37324
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37325
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37326
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
37327
See \`config.log' for more details." >&5
37328
$as_echo "$as_me: error: cannot compute sizeof (short)
37329
See \`config.log' for more details." >&2;}
37330
{ (exit 77); exit 77; }; }; }
29358
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
29361
if test "$ac_cv_type_short" = yes; then
29362
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29363
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29364
{ as_fn_set_status 77
29365
as_fn_error "cannot compute sizeof (short)
29366
See \`config.log' for more details." "$LINENO" 5; }; }
37332
29368
ac_cv_sizeof_short=0
37335
rm -rf conftest.dSYM
37336
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37340
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
29373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
37341
29374
$as_echo "$ac_cv_sizeof_short" >&6; }
37351
29384
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
37352
29385
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
37353
29386
# This bug is HP SR number 8606223364.
37354
{ $as_echo "$as_me:$LINENO: checking size of long long" >&5
29387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
37355
29388
$as_echo_n "checking size of long long... " >&6; }
37356
if test "${ac_cv_sizeof_long_long+set}" = set; then
29389
if test "${ac_cv_sizeof_long_long+set}" = set; then :
37357
29390
$as_echo_n "(cached) " >&6
37359
if test "$cross_compiling" = yes; then
37360
# Depending upon the size, compute the lo and hi bounds.
37361
cat >conftest.$ac_ext <<_ACEOF
37364
cat confdefs.h >>conftest.$ac_ext
37365
cat >>conftest.$ac_ext <<_ACEOF
37366
/* end confdefs.h. */
37367
$ac_includes_default
37371
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
37378
rm -f conftest.$ac_objext
37379
if { (ac_try="$ac_compile"
37380
case "(($ac_try" in
37381
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37382
*) ac_try_echo=$ac_try;;
37384
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37385
$as_echo "$ac_try_echo") >&5
37386
(eval "$ac_compile") 2>conftest.er1
37388
grep -v '^ *+' conftest.er1 >conftest.err
37390
cat conftest.err >&5
37391
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392
(exit $ac_status); } && {
37393
test -z "$ac_c_werror_flag" ||
37394
test ! -s conftest.err
37395
} && test -s conftest.$ac_objext; then
37398
cat >conftest.$ac_ext <<_ACEOF
37401
cat confdefs.h >>conftest.$ac_ext
37402
cat >>conftest.$ac_ext <<_ACEOF
37403
/* end confdefs.h. */
37404
$ac_includes_default
37408
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
37415
rm -f conftest.$ac_objext
37416
if { (ac_try="$ac_compile"
37417
case "(($ac_try" in
37418
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37419
*) ac_try_echo=$ac_try;;
37421
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37422
$as_echo "$ac_try_echo") >&5
37423
(eval "$ac_compile") 2>conftest.er1
37425
grep -v '^ *+' conftest.er1 >conftest.err
37427
cat conftest.err >&5
37428
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429
(exit $ac_status); } && {
37430
test -z "$ac_c_werror_flag" ||
37431
test ! -s conftest.err
37432
} && test -s conftest.$ac_objext; then
37433
ac_hi=$ac_mid; break
37435
$as_echo "$as_me: failed program was:" >&5
37436
sed 's/^/| /' conftest.$ac_ext >&5
37438
ac_lo=`expr $ac_mid + 1`
37439
if test $ac_lo -le $ac_mid; then
37443
ac_mid=`expr 2 '*' $ac_mid + 1`
37446
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37449
$as_echo "$as_me: failed program was:" >&5
37450
sed 's/^/| /' conftest.$ac_ext >&5
37452
cat >conftest.$ac_ext <<_ACEOF
37455
cat confdefs.h >>conftest.$ac_ext
37456
cat >>conftest.$ac_ext <<_ACEOF
37457
/* end confdefs.h. */
37458
$ac_includes_default
37462
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
37469
rm -f conftest.$ac_objext
37470
if { (ac_try="$ac_compile"
37471
case "(($ac_try" in
37472
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37473
*) ac_try_echo=$ac_try;;
37475
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37476
$as_echo "$ac_try_echo") >&5
37477
(eval "$ac_compile") 2>conftest.er1
37479
grep -v '^ *+' conftest.er1 >conftest.err
37481
cat conftest.err >&5
37482
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37483
(exit $ac_status); } && {
37484
test -z "$ac_c_werror_flag" ||
37485
test ! -s conftest.err
37486
} && test -s conftest.$ac_objext; then
37489
cat >conftest.$ac_ext <<_ACEOF
37492
cat confdefs.h >>conftest.$ac_ext
37493
cat >>conftest.$ac_ext <<_ACEOF
37494
/* end confdefs.h. */
37495
$ac_includes_default
37499
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
37506
rm -f conftest.$ac_objext
37507
if { (ac_try="$ac_compile"
37508
case "(($ac_try" in
37509
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37510
*) ac_try_echo=$ac_try;;
37512
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37513
$as_echo "$ac_try_echo") >&5
37514
(eval "$ac_compile") 2>conftest.er1
37516
grep -v '^ *+' conftest.er1 >conftest.err
37518
cat conftest.err >&5
37519
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520
(exit $ac_status); } && {
37521
test -z "$ac_c_werror_flag" ||
37522
test ! -s conftest.err
37523
} && test -s conftest.$ac_objext; then
37524
ac_lo=$ac_mid; break
37526
$as_echo "$as_me: failed program was:" >&5
37527
sed 's/^/| /' conftest.$ac_ext >&5
37529
ac_hi=`expr '(' $ac_mid ')' - 1`
37530
if test $ac_mid -le $ac_hi; then
37534
ac_mid=`expr 2 '*' $ac_mid`
37537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37540
$as_echo "$as_me: failed program was:" >&5
37541
sed 's/^/| /' conftest.$ac_ext >&5
37546
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37549
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37550
# Binary search between lo and hi bounds.
37551
while test "x$ac_lo" != "x$ac_hi"; do
37552
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
37553
cat >conftest.$ac_ext <<_ACEOF
37556
cat confdefs.h >>conftest.$ac_ext
37557
cat >>conftest.$ac_ext <<_ACEOF
37558
/* end confdefs.h. */
37559
$ac_includes_default
37563
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
37570
rm -f conftest.$ac_objext
37571
if { (ac_try="$ac_compile"
37572
case "(($ac_try" in
37573
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37574
*) ac_try_echo=$ac_try;;
37576
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37577
$as_echo "$ac_try_echo") >&5
37578
(eval "$ac_compile") 2>conftest.er1
37580
grep -v '^ *+' conftest.er1 >conftest.err
37582
cat conftest.err >&5
37583
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37584
(exit $ac_status); } && {
37585
test -z "$ac_c_werror_flag" ||
37586
test ! -s conftest.err
37587
} && test -s conftest.$ac_objext; then
37590
$as_echo "$as_me: failed program was:" >&5
37591
sed 's/^/| /' conftest.$ac_ext >&5
37593
ac_lo=`expr '(' $ac_mid ')' + 1`
37596
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37599
?*) ac_cv_sizeof_long_long=$ac_lo;;
37600
'') if test "$ac_cv_type_long_long" = yes; then
37601
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37602
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37603
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
37604
See \`config.log' for more details." >&5
37605
$as_echo "$as_me: error: cannot compute sizeof (long long)
37606
See \`config.log' for more details." >&2;}
37607
{ (exit 77); exit 77; }; }; }
37609
ac_cv_sizeof_long_long=0
37613
cat >conftest.$ac_ext <<_ACEOF
37616
cat confdefs.h >>conftest.$ac_ext
37617
cat >>conftest.$ac_ext <<_ACEOF
37618
/* end confdefs.h. */
37619
$ac_includes_default
37620
static long int longval () { return (long int) (sizeof (long long)); }
37621
static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
37623
#include <stdlib.h>
37628
FILE *f = fopen ("conftest.val", "w");
37631
if (((long int) (sizeof (long long))) < 0)
37633
long int i = longval ();
37634
if (i != ((long int) (sizeof (long long))))
37636
fprintf (f, "%ld", i);
37640
unsigned long int i = ulongval ();
37641
if (i != ((long int) (sizeof (long long))))
37643
fprintf (f, "%lu", i);
37645
/* Do not output a trailing newline, as this causes \r\n confusion
37646
on some platforms. */
37647
return ferror (f) || fclose (f) != 0;
37653
rm -f conftest$ac_exeext
37654
if { (ac_try="$ac_link"
37655
case "(($ac_try" in
37656
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37657
*) ac_try_echo=$ac_try;;
37659
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37660
$as_echo "$ac_try_echo") >&5
37661
(eval "$ac_link") 2>&5
37663
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37665
{ (case "(($ac_try" in
37666
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37667
*) ac_try_echo=$ac_try;;
37669
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37670
$as_echo "$ac_try_echo") >&5
37671
(eval "$ac_try") 2>&5
37673
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674
(exit $ac_status); }; }; then
37675
ac_cv_sizeof_long_long=`cat conftest.val`
37677
$as_echo "$as_me: program exited with status $ac_status" >&5
37678
$as_echo "$as_me: failed program was:" >&5
37679
sed 's/^/| /' conftest.$ac_ext >&5
37681
( exit $ac_status )
37682
if test "$ac_cv_type_long_long" = yes; then
37683
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37684
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37685
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
37686
See \`config.log' for more details." >&5
37687
$as_echo "$as_me: error: cannot compute sizeof (long long)
37688
See \`config.log' for more details." >&2;}
37689
{ (exit 77); exit 77; }; }; }
29392
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
29395
if test "$ac_cv_type_long_long" = yes; then
29396
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29397
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29398
{ as_fn_set_status 77
29399
as_fn_error "cannot compute sizeof (long long)
29400
See \`config.log' for more details." "$LINENO" 5; }; }
37691
29402
ac_cv_sizeof_long_long=0
37694
rm -rf conftest.dSYM
37695
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37699
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
29407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
37700
29408
$as_echo "$ac_cv_sizeof_long_long" >&6; }
41223
30956
for ac_header in semaphore.h OS.h
41225
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
41226
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41227
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
41228
$as_echo_n "checking for $ac_header... " >&6; }
41229
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41230
$as_echo_n "(cached) " >&6
41232
ac_res=`eval 'as_val=${'$as_ac_Header'}
41233
$as_echo "$as_val"'`
41234
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
41235
$as_echo "$ac_res" >&6; }
41237
# Is the header compilable?
41238
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
41239
$as_echo_n "checking $ac_header usability... " >&6; }
41240
cat >conftest.$ac_ext <<_ACEOF
41243
cat confdefs.h >>conftest.$ac_ext
41244
cat >>conftest.$ac_ext <<_ACEOF
41245
/* end confdefs.h. */
41246
$ac_includes_default
41247
#include <$ac_header>
41249
rm -f conftest.$ac_objext
41250
if { (ac_try="$ac_compile"
41251
case "(($ac_try" in
41252
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41253
*) ac_try_echo=$ac_try;;
41255
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41256
$as_echo "$ac_try_echo") >&5
41257
(eval "$ac_compile") 2>conftest.er1
41259
grep -v '^ *+' conftest.er1 >conftest.err
41261
cat conftest.err >&5
41262
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263
(exit $ac_status); } && {
41264
test -z "$ac_c_werror_flag" ||
41265
test ! -s conftest.err
41266
} && test -s conftest.$ac_objext; then
41267
ac_header_compiler=yes
41269
$as_echo "$as_me: failed program was:" >&5
41270
sed 's/^/| /' conftest.$ac_ext >&5
41272
ac_header_compiler=no
41275
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41276
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41277
$as_echo "$ac_header_compiler" >&6; }
41279
# Is the header present?
41280
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
41281
$as_echo_n "checking $ac_header presence... " >&6; }
41282
cat >conftest.$ac_ext <<_ACEOF
41285
cat confdefs.h >>conftest.$ac_ext
41286
cat >>conftest.$ac_ext <<_ACEOF
41287
/* end confdefs.h. */
41288
#include <$ac_header>
41290
if { (ac_try="$ac_cpp conftest.$ac_ext"
41291
case "(($ac_try" in
41292
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41293
*) ac_try_echo=$ac_try;;
41295
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41296
$as_echo "$ac_try_echo") >&5
41297
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
41299
grep -v '^ *+' conftest.er1 >conftest.err
41301
cat conftest.err >&5
41302
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303
(exit $ac_status); } >/dev/null && {
41304
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
41305
test ! -s conftest.err
41307
ac_header_preproc=yes
41309
$as_echo "$as_me: failed program was:" >&5
41310
sed 's/^/| /' conftest.$ac_ext >&5
41312
ac_header_preproc=no
41315
rm -f conftest.err conftest.$ac_ext
41316
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41317
$as_echo "$ac_header_preproc" >&6; }
41319
# So? What about this header?
41320
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41322
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41323
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41324
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41325
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41326
ac_header_preproc=yes
41329
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41330
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41331
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41332
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41333
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41334
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41335
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41336
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41337
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41338
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41339
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41340
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41344
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
41345
$as_echo_n "checking for $ac_header... " >&6; }
41346
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41347
$as_echo_n "(cached) " >&6
41349
eval "$as_ac_Header=\$ac_header_preproc"
41351
ac_res=`eval 'as_val=${'$as_ac_Header'}
41352
$as_echo "$as_val"'`
41353
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
41354
$as_echo "$ac_res" >&6; }
41357
as_val=`eval 'as_val=${'$as_ac_Header'}
41358
$as_echo "$as_val"'`
41359
if test "x$as_val" = x""yes; then
30958
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30959
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30960
eval as_val=\$$as_ac_Header
30961
if test "x$as_val" = x""yes; then :
41360
30962
cat >>confdefs.h <<_ACEOF
41361
30963
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
44387
32448
echo "${nl}Checking for OS UUID Support..."
44392
32450
for ac_header in uuid.h uuid/uuid.h sys/uuid.h
44394
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
44395
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44396
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
44397
$as_echo_n "checking for $ac_header... " >&6; }
44398
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44399
$as_echo_n "(cached) " >&6
44401
ac_res=`eval 'as_val=${'$as_ac_Header'}
44402
$as_echo "$as_val"'`
44403
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
44404
$as_echo "$ac_res" >&6; }
44406
# Is the header compilable?
44407
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
44408
$as_echo_n "checking $ac_header usability... " >&6; }
44409
cat >conftest.$ac_ext <<_ACEOF
44412
cat confdefs.h >>conftest.$ac_ext
44413
cat >>conftest.$ac_ext <<_ACEOF
44414
/* end confdefs.h. */
44415
$ac_includes_default
44416
#include <$ac_header>
44418
rm -f conftest.$ac_objext
44419
if { (ac_try="$ac_compile"
44420
case "(($ac_try" in
44421
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44422
*) ac_try_echo=$ac_try;;
44424
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
44425
$as_echo "$ac_try_echo") >&5
44426
(eval "$ac_compile") 2>conftest.er1
44428
grep -v '^ *+' conftest.er1 >conftest.err
44430
cat conftest.err >&5
44431
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432
(exit $ac_status); } && {
44433
test -z "$ac_c_werror_flag" ||
44434
test ! -s conftest.err
44435
} && test -s conftest.$ac_objext; then
44436
ac_header_compiler=yes
44438
$as_echo "$as_me: failed program was:" >&5
44439
sed 's/^/| /' conftest.$ac_ext >&5
44441
ac_header_compiler=no
44444
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44445
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44446
$as_echo "$ac_header_compiler" >&6; }
44448
# Is the header present?
44449
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
44450
$as_echo_n "checking $ac_header presence... " >&6; }
44451
cat >conftest.$ac_ext <<_ACEOF
44454
cat confdefs.h >>conftest.$ac_ext
44455
cat >>conftest.$ac_ext <<_ACEOF
44456
/* end confdefs.h. */
44457
#include <$ac_header>
44459
if { (ac_try="$ac_cpp conftest.$ac_ext"
44460
case "(($ac_try" in
44461
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44462
*) ac_try_echo=$ac_try;;
44464
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
44465
$as_echo "$ac_try_echo") >&5
44466
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
44468
grep -v '^ *+' conftest.er1 >conftest.err
44470
cat conftest.err >&5
44471
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472
(exit $ac_status); } >/dev/null && {
44473
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
44474
test ! -s conftest.err
44476
ac_header_preproc=yes
44478
$as_echo "$as_me: failed program was:" >&5
44479
sed 's/^/| /' conftest.$ac_ext >&5
44481
ac_header_preproc=no
44484
rm -f conftest.err conftest.$ac_ext
44485
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44486
$as_echo "$ac_header_preproc" >&6; }
44488
# So? What about this header?
44489
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
44491
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44492
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44493
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44494
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44495
ac_header_preproc=yes
44498
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44499
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44500
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44501
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44502
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44503
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44504
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44505
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44506
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44507
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44508
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44509
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44513
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
44514
$as_echo_n "checking for $ac_header... " >&6; }
44515
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44516
$as_echo_n "(cached) " >&6
44518
eval "$as_ac_Header=\$ac_header_preproc"
44520
ac_res=`eval 'as_val=${'$as_ac_Header'}
44521
$as_echo "$as_val"'`
44522
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
44523
$as_echo "$ac_res" >&6; }
44526
as_val=`eval 'as_val=${'$as_ac_Header'}
44527
$as_echo "$as_val"'`
44528
if test "x$as_val" = x""yes; then
32452
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
32453
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
32454
eval as_val=\$$as_ac_Header
32455
if test "x$as_val" = x""yes; then :
44529
32456
cat >>confdefs.h <<_ACEOF
44530
32457
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46779
33832
ac_res=-l$ac_lib
46780
33833
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
46782
rm -f conftest.$ac_objext conftest$ac_exeext
46783
if { (ac_try="$ac_link"
46784
case "(($ac_try" in
46785
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46786
*) ac_try_echo=$ac_try;;
46788
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46789
$as_echo "$ac_try_echo") >&5
46790
(eval "$ac_link") 2>conftest.er1
46792
grep -v '^ *+' conftest.er1 >conftest.err
46794
cat conftest.err >&5
46795
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46796
(exit $ac_status); } && {
46797
test -z "$ac_c_werror_flag" ||
46798
test ! -s conftest.err
46799
} && test -s conftest$ac_exeext && {
46800
test "$cross_compiling" = yes ||
46801
$as_test_x conftest$ac_exeext
33835
if ac_fn_c_try_link "$LINENO"; then :
46803
33836
ac_cv_search_getnameinfo=$ac_res
46805
$as_echo "$as_me: failed program was:" >&5
46806
sed 's/^/| /' conftest.$ac_ext >&5
46811
rm -rf conftest.dSYM
46812
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46814
if test "${ac_cv_search_getnameinfo+set}" = set; then
33838
rm -f core conftest.err conftest.$ac_objext \
33840
if test "${ac_cv_search_getnameinfo+set}" = set; then :
46818
if test "${ac_cv_search_getnameinfo+set}" = set; then
33844
if test "${ac_cv_search_getnameinfo+set}" = set; then :
46821
33847
ac_cv_search_getnameinfo=no
46823
33849
rm conftest.$ac_ext
46824
33850
LIBS=$ac_func_search_save_LIBS
46826
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_getnameinfo" >&5
33852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
46827
33853
$as_echo "$ac_cv_search_getnameinfo" >&6; }
46828
33854
ac_res=$ac_cv_search_getnameinfo
46829
if test "$ac_res" != no; then
33855
if test "$ac_res" != no; then :
46830
33856
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
46835
33860
for ac_func in gai_strerror
46837
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46838
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
46839
$as_echo_n "checking for $ac_func... " >&6; }
46840
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46841
$as_echo_n "(cached) " >&6
46843
cat >conftest.$ac_ext <<_ACEOF
46846
cat confdefs.h >>conftest.$ac_ext
46847
cat >>conftest.$ac_ext <<_ACEOF
46848
/* end confdefs.h. */
46849
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46850
For example, HP-UX 11i <limits.h> declares gettimeofday. */
46851
#define $ac_func innocuous_$ac_func
46853
/* System header to define __stub macros and hopefully few prototypes,
46854
which can conflict with char $ac_func (); below.
46855
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46856
<limits.h> exists even on freestanding compilers. */
46859
# include <limits.h>
46861
# include <assert.h>
46866
/* Override any GCC internal prototype to avoid an error.
46867
Use char because int might match the return type of a GCC
46868
builtin and then its argument prototype would still apply. */
46873
/* The GNU C library defines this for functions which it implements
46874
to always fail with ENOSYS. Some functions are actually named
46875
something starting with __ and the normal name is an alias. */
46876
#if defined __stub_$ac_func || defined __stub___$ac_func
46883
return $ac_func ();
46888
rm -f conftest.$ac_objext conftest$ac_exeext
46889
if { (ac_try="$ac_link"
46890
case "(($ac_try" in
46891
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46892
*) ac_try_echo=$ac_try;;
46894
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46895
$as_echo "$ac_try_echo") >&5
46896
(eval "$ac_link") 2>conftest.er1
46898
grep -v '^ *+' conftest.er1 >conftest.err
46900
cat conftest.err >&5
46901
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46902
(exit $ac_status); } && {
46903
test -z "$ac_c_werror_flag" ||
46904
test ! -s conftest.err
46905
} && test -s conftest$ac_exeext && {
46906
test "$cross_compiling" = yes ||
46907
$as_test_x conftest$ac_exeext
46909
eval "$as_ac_var=yes"
46911
$as_echo "$as_me: failed program was:" >&5
46912
sed 's/^/| /' conftest.$ac_ext >&5
46914
eval "$as_ac_var=no"
46917
rm -rf conftest.dSYM
46918
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46919
conftest$ac_exeext conftest.$ac_ext
46921
ac_res=`eval 'as_val=${'$as_ac_var'}
46922
$as_echo "$as_val"'`
46923
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
46924
$as_echo "$ac_res" >&6; }
46925
as_val=`eval 'as_val=${'$as_ac_var'}
46926
$as_echo "$as_val"'`
46927
if test "x$as_val" = x""yes; then
33862
ac_fn_c_check_func "$LINENO" "gai_strerror" "ac_cv_func_gai_strerror"
33863
if test "x$ac_cv_func_gai_strerror" = x""yes; then :
46928
33864
cat >>confdefs.h <<_ACEOF
46929
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33865
#define HAVE_GAI_STRERROR 1
46936
{ $as_echo "$as_me:$LINENO: checking for working getaddrinfo" >&5
33872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getaddrinfo" >&5
46937
33873
$as_echo_n "checking for working getaddrinfo... " >&6; }
46938
if test "${ac_cv_working_getaddrinfo+set}" = set; then
33874
if test "${ac_cv_working_getaddrinfo+set}" = set; then :
46939
33875
$as_echo_n "(cached) " >&6
46942
if test "$cross_compiling" = yes; then
33878
if test "$cross_compiling" = yes; then :
46944
33880
ac_cv_working_getaddrinfo="yes"
46947
cat >conftest.$ac_ext <<_ACEOF
46950
cat confdefs.h >>conftest.$ac_ext
46951
cat >>conftest.$ac_ext <<_ACEOF
33883
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46952
33884
/* end confdefs.h. */
46954
33886
#ifdef HAVE_NETDB_H
47526
34276
ac_res=-l$ac_lib
47527
34277
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
47529
rm -f conftest.$ac_objext conftest$ac_exeext
47530
if { (ac_try="$ac_link"
47531
case "(($ac_try" in
47532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47533
*) ac_try_echo=$ac_try;;
47535
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
47536
$as_echo "$ac_try_echo") >&5
47537
(eval "$ac_link") 2>conftest.er1
47539
grep -v '^ *+' conftest.er1 >conftest.err
47541
cat conftest.err >&5
47542
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47543
(exit $ac_status); } && {
47544
test -z "$ac_c_werror_flag" ||
47545
test ! -s conftest.err
47546
} && test -s conftest$ac_exeext && {
47547
test "$cross_compiling" = yes ||
47548
$as_test_x conftest$ac_exeext
34279
if ac_fn_c_try_link "$LINENO"; then :
47550
34280
ac_cv_search_hstrerror=$ac_res
47552
$as_echo "$as_me: failed program was:" >&5
47553
sed 's/^/| /' conftest.$ac_ext >&5
47558
rm -rf conftest.dSYM
47559
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47561
if test "${ac_cv_search_hstrerror+set}" = set; then
34282
rm -f core conftest.err conftest.$ac_objext \
34284
if test "${ac_cv_search_hstrerror+set}" = set; then :
47565
if test "${ac_cv_search_hstrerror+set}" = set; then
34288
if test "${ac_cv_search_hstrerror+set}" = set; then :
47568
34291
ac_cv_search_hstrerror=no
47570
34293
rm conftest.$ac_ext
47571
34294
LIBS=$ac_func_search_save_LIBS
47573
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5
34296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5
47574
34297
$as_echo "$ac_cv_search_hstrerror" >&6; }
47575
34298
ac_res=$ac_cv_search_hstrerror
47576
if test "$ac_res" != no; then
34299
if test "$ac_res" != no; then :
47577
34300
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
47579
cat >>confdefs.h <<\_ACEOF
47580
#define HAVE_HSTRERROR 1
34302
$as_echo "#define HAVE_HSTRERROR 1" >>confdefs.h
47589
34309
for ac_header in langinfo.h
47591
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
47592
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47593
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
47594
$as_echo_n "checking for $ac_header... " >&6; }
47595
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47596
$as_echo_n "(cached) " >&6
47598
ac_res=`eval 'as_val=${'$as_ac_Header'}
47599
$as_echo "$as_val"'`
47600
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
47601
$as_echo "$ac_res" >&6; }
47603
# Is the header compilable?
47604
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
47605
$as_echo_n "checking $ac_header usability... " >&6; }
47606
cat >conftest.$ac_ext <<_ACEOF
47609
cat confdefs.h >>conftest.$ac_ext
47610
cat >>conftest.$ac_ext <<_ACEOF
47611
/* end confdefs.h. */
47612
$ac_includes_default
47613
#include <$ac_header>
47615
rm -f conftest.$ac_objext
47616
if { (ac_try="$ac_compile"
47617
case "(($ac_try" in
47618
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47619
*) ac_try_echo=$ac_try;;
47621
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
47622
$as_echo "$ac_try_echo") >&5
47623
(eval "$ac_compile") 2>conftest.er1
47625
grep -v '^ *+' conftest.er1 >conftest.err
47627
cat conftest.err >&5
47628
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629
(exit $ac_status); } && {
47630
test -z "$ac_c_werror_flag" ||
47631
test ! -s conftest.err
47632
} && test -s conftest.$ac_objext; then
47633
ac_header_compiler=yes
47635
$as_echo "$as_me: failed program was:" >&5
47636
sed 's/^/| /' conftest.$ac_ext >&5
47638
ac_header_compiler=no
47641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47642
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47643
$as_echo "$ac_header_compiler" >&6; }
47645
# Is the header present?
47646
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
47647
$as_echo_n "checking $ac_header presence... " >&6; }
47648
cat >conftest.$ac_ext <<_ACEOF
47651
cat confdefs.h >>conftest.$ac_ext
47652
cat >>conftest.$ac_ext <<_ACEOF
47653
/* end confdefs.h. */
47654
#include <$ac_header>
47656
if { (ac_try="$ac_cpp conftest.$ac_ext"
47657
case "(($ac_try" in
47658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47659
*) ac_try_echo=$ac_try;;
47661
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
47662
$as_echo "$ac_try_echo") >&5
47663
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
47665
grep -v '^ *+' conftest.er1 >conftest.err
47667
cat conftest.err >&5
47668
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47669
(exit $ac_status); } >/dev/null && {
47670
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
47671
test ! -s conftest.err
47673
ac_header_preproc=yes
47675
$as_echo "$as_me: failed program was:" >&5
47676
sed 's/^/| /' conftest.$ac_ext >&5
47678
ac_header_preproc=no
47681
rm -f conftest.err conftest.$ac_ext
47682
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47683
$as_echo "$ac_header_preproc" >&6; }
47685
# So? What about this header?
47686
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
47688
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47689
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47690
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
47691
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
47692
ac_header_preproc=yes
47695
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47696
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47697
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47698
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47699
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
47700
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
47701
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
47702
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
47703
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47704
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47705
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
47706
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
47710
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
47711
$as_echo_n "checking for $ac_header... " >&6; }
47712
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47713
$as_echo_n "(cached) " >&6
47715
eval "$as_ac_Header=\$ac_header_preproc"
47717
ac_res=`eval 'as_val=${'$as_ac_Header'}
47718
$as_echo "$as_val"'`
47719
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
47720
$as_echo "$ac_res" >&6; }
47723
as_val=`eval 'as_val=${'$as_ac_Header'}
47724
$as_echo "$as_val"'`
47725
if test "x$as_val" = x""yes; then
34311
ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
34312
if test "x$ac_cv_header_langinfo_h" = x""yes; then :
47726
34313
cat >>confdefs.h <<_ACEOF
47727
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
34314
#define HAVE_LANGINFO_H 1
47735
34321
for ac_func in nl_langinfo
47737
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47738
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
47739
$as_echo_n "checking for $ac_func... " >&6; }
47740
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47741
$as_echo_n "(cached) " >&6
47743
cat >conftest.$ac_ext <<_ACEOF
47746
cat confdefs.h >>conftest.$ac_ext
47747
cat >>conftest.$ac_ext <<_ACEOF
47748
/* end confdefs.h. */
47749
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47750
For example, HP-UX 11i <limits.h> declares gettimeofday. */
47751
#define $ac_func innocuous_$ac_func
47753
/* System header to define __stub macros and hopefully few prototypes,
47754
which can conflict with char $ac_func (); below.
47755
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47756
<limits.h> exists even on freestanding compilers. */
47759
# include <limits.h>
47761
# include <assert.h>
47766
/* Override any GCC internal prototype to avoid an error.
47767
Use char because int might match the return type of a GCC
47768
builtin and then its argument prototype would still apply. */
47773
/* The GNU C library defines this for functions which it implements
47774
to always fail with ENOSYS. Some functions are actually named
47775
something starting with __ and the normal name is an alias. */
47776
#if defined __stub_$ac_func || defined __stub___$ac_func
47783
return $ac_func ();
47788
rm -f conftest.$ac_objext conftest$ac_exeext
47789
if { (ac_try="$ac_link"
47790
case "(($ac_try" in
47791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47792
*) ac_try_echo=$ac_try;;
47794
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
47795
$as_echo "$ac_try_echo") >&5
47796
(eval "$ac_link") 2>conftest.er1
47798
grep -v '^ *+' conftest.er1 >conftest.err
47800
cat conftest.err >&5
47801
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47802
(exit $ac_status); } && {
47803
test -z "$ac_c_werror_flag" ||
47804
test ! -s conftest.err
47805
} && test -s conftest$ac_exeext && {
47806
test "$cross_compiling" = yes ||
47807
$as_test_x conftest$ac_exeext
47809
eval "$as_ac_var=yes"
47811
$as_echo "$as_me: failed program was:" >&5
47812
sed 's/^/| /' conftest.$ac_ext >&5
47814
eval "$as_ac_var=no"
47817
rm -rf conftest.dSYM
47818
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47819
conftest$ac_exeext conftest.$ac_ext
47821
ac_res=`eval 'as_val=${'$as_ac_var'}
47822
$as_echo "$as_val"'`
47823
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
47824
$as_echo "$ac_res" >&6; }
47825
as_val=`eval 'as_val=${'$as_ac_var'}
47826
$as_echo "$as_val"'`
47827
if test "x$as_val" = x""yes; then
34323
ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
34324
if test "x$ac_cv_func_nl_langinfo" = x""yes; then :
47828
34325
cat >>confdefs.h <<_ACEOF
47829
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34326
#define HAVE_NL_LANGINFO 1