138
# Required to use basename.
139
if expr a : '\(a\)' >/dev/null 2>&1 &&
140
test "X`expr 00001 : '.*\(...\)'`" = X001; then
146
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
153
# Name of the executable.
154
as_me=`$as_basename -- "$0" ||
155
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
156
X"$0" : 'X\(//\)$' \| \
157
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
159
sed '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
177
138
if test "x$CONFIG_SHELL" = x; then
178
if (eval ":") 2>/dev/null; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
179
178
as_have_required=yes
181
180
as_have_required=no
184
if test $as_have_required = yes && (eval ":
194
as_func_ret_success () {
197
as_func_ret_failure () {
202
if as_func_success; then
206
echo as_func_success failed.
209
if as_func_failure; then
211
echo as_func_failure succeeded.
214
if as_func_ret_success; then
218
echo as_func_ret_success failed.
221
if as_func_ret_failure; then
223
echo as_func_ret_failure succeeded.
226
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
230
echo positional parameters were not saved.
233
test \$exitcode = 0) || { (exit 1); exit 1; }
238
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
239
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
240
") 2> /dev/null; then
244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
245
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
248
190
test -z "$as_dir" && as_dir=.
251
194
for as_base in sh bash ksh sh5; do
252
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
259
for as_shell in $as_candidate_shells $SHELL; do
260
# Try only shells that exist, to save several forks.
261
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
262
{ ("$as_shell") 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
281
CONFIG_SHELL=$as_shell
283
if { "$as_shell" 2> /dev/null <<\_ASEOF
284
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
287
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
288
# is contrary to our usage. Disable this feature.
289
alias -g '${1+"$@"}'='"$@"'
292
case `(set -o) 2>/dev/null` in
293
*posix*) set -o posix ;;
309
as_func_ret_success () {
312
as_func_ret_failure () {
317
if as_func_success; then
321
echo as_func_success failed.
324
if as_func_failure; then
326
echo as_func_failure succeeded.
329
if as_func_ret_success; then
333
echo as_func_ret_success failed.
336
if as_func_ret_failure; then
338
echo as_func_ret_failure succeeded.
341
if ( set x; as_func_ret_success y && test x = "$1" ); then
345
echo positional parameters were not saved.
348
test $exitcode = 0) || { (exit 1); exit 1; }
353
test "x$as_lineno_1" != "x$as_lineno_2" &&
354
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
365
if test "x$CONFIG_SHELL" != x; then
366
for as_var in BASH_ENV ENV
367
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
369
222
export CONFIG_SHELL
370
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
374
if test $as_have_required = no; then
375
echo This script requires a shell more modern than all the
376
echo shells that I found on your system. Please install a
377
echo modern shell, or manually run the script under such a
378
echo shell if you do have one.
379
{ (exit 1); exit 1; }
389
(eval "as_func_return () {
398
as_func_ret_success () {
401
as_func_ret_failure () {
406
if as_func_success; then
410
echo as_func_success failed.
413
if as_func_failure; then
415
echo as_func_failure succeeded.
418
if as_func_ret_success; then
422
echo as_func_ret_success failed.
425
if as_func_ret_failure; then
427
echo as_func_ret_failure succeeded.
430
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
434
echo positional parameters were not saved.
437
test \$exitcode = 0") || {
438
echo No shell found that supports shell functions.
439
echo Please tell bug-autoconf@gnu.org about your system,
440
echo including any error possibly output before this message.
441
echo This can help us improve future autoconf versions.
442
echo Configuration will now proceed without shell functions.
449
test "x$as_lineno_1" != "x$as_lineno_2" &&
450
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
452
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
453
# uniformly replaced by the line number. The first 'sed' inserts a
454
# line-number line after each line using $LINENO; the second 'sed'
455
# does the real work. The second script uses 'N' to pair each
456
# line-number line with the line containing $LINENO, and appends
457
# trailing '-' during substitution so that $LINENO is not a special
459
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
460
# scripts with optimization help from Paolo Bonzini. Blame Lee
461
# E. McMahon (1931-1989) for sed's syntax. :-)
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: ubuntu-devel@lists.ubuntu.com about your system,
235
$0: including any error possibly output before this
236
$0: message. Then install a modern shell, or manually run
237
$0: the script under such a shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1701
## ------------------------ ##
1702
## Autoconf initialization. ##
1703
## ------------------------ ##
1705
# ac_fn_c_try_compile LINENO
1706
# --------------------------
1707
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1708
ac_fn_c_try_compile ()
1710
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711
rm -f conftest.$ac_objext
1712
if { { ac_try="$ac_compile"
1714
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715
*) ac_try_echo=$ac_try;;
1717
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718
$as_echo "$ac_try_echo"; } >&5
1719
(eval "$ac_compile") 2>conftest.err
1721
if test -s conftest.err; then
1722
grep -v '^ *+' conftest.err >conftest.er1
1723
cat conftest.er1 >&5
1724
mv -f conftest.er1 conftest.err
1726
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727
test $ac_status = 0; } && {
1728
test -z "$ac_c_werror_flag" ||
1729
test ! -s conftest.err
1730
} && test -s conftest.$ac_objext; then :
1733
$as_echo "$as_me: failed program was:" >&5
1734
sed 's/^/| /' conftest.$ac_ext >&5
1738
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1741
} # ac_fn_c_try_compile
1743
# ac_fn_c_try_cpp LINENO
1744
# ----------------------
1745
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749
if { { ac_try="$ac_cpp conftest.$ac_ext"
1751
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752
*) ac_try_echo=$ac_try;;
1754
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755
$as_echo "$ac_try_echo"; } >&5
1756
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1758
if test -s conftest.err; then
1759
grep -v '^ *+' conftest.err >conftest.er1
1760
cat conftest.er1 >&5
1761
mv -f conftest.er1 conftest.err
1763
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764
test $ac_status = 0; } >/dev/null && {
1765
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1766
test ! -s conftest.err
1770
$as_echo "$as_me: failed program was:" >&5
1771
sed 's/^/| /' conftest.$ac_ext >&5
1775
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1780
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1781
# -------------------------------------------------------
1782
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1783
# the include files in INCLUDES and setting the cache variable VAR
1785
ac_fn_c_check_header_mongrel ()
1787
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790
$as_echo_n "checking for $2... " >&6; }
1791
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1792
$as_echo_n "(cached) " >&6
1795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796
$as_echo "$ac_res" >&6; }
1798
# Is the header compilable?
1799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1800
$as_echo_n "checking $2 usability... " >&6; }
1801
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802
/* end confdefs.h. */
1806
if ac_fn_c_try_compile "$LINENO"; then :
1807
ac_header_compiler=yes
1809
ac_header_compiler=no
1811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1813
$as_echo "$ac_header_compiler" >&6; }
1815
# Is the header present?
1816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1817
$as_echo_n "checking $2 presence... " >&6; }
1818
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819
/* end confdefs.h. */
1822
if ac_fn_c_try_cpp "$LINENO"; then :
1823
ac_header_preproc=yes
1825
ac_header_preproc=no
1827
rm -f conftest.err conftest.$ac_ext
1828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1829
$as_echo "$ac_header_preproc" >&6; }
1831
# So? What about this header?
1832
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1834
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1835
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1836
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1837
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1840
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1841
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1842
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1843
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1844
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1845
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1846
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1847
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1848
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1849
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1851
## -------------------------------------------- ##
1852
## Report this to ubuntu-devel@lists.ubuntu.com ##
1853
## -------------------------------------------- ##
1855
) | sed "s/^/$as_me: WARNING: /" >&2
1858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859
$as_echo_n "checking for $2... " >&6; }
1860
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1861
$as_echo_n "(cached) " >&6
1863
eval "$3=\$ac_header_compiler"
1866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867
$as_echo "$ac_res" >&6; }
1869
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871
} # ac_fn_c_check_header_mongrel
1873
# ac_fn_c_try_run LINENO
1874
# ----------------------
1875
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1876
# that executables *can* be run.
1879
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880
if { { ac_try="$ac_link"
1882
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883
*) ac_try_echo=$ac_try;;
1885
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886
$as_echo "$ac_try_echo"; } >&5
1887
(eval "$ac_link") 2>&5
1889
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1891
{ { case "(($ac_try" in
1892
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893
*) ac_try_echo=$ac_try;;
1895
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896
$as_echo "$ac_try_echo"; } >&5
1897
(eval "$ac_try") 2>&5
1899
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900
test $ac_status = 0; }; }; then :
1903
$as_echo "$as_me: program exited with status $ac_status" >&5
1904
$as_echo "$as_me: failed program was:" >&5
1905
sed 's/^/| /' conftest.$ac_ext >&5
1907
ac_retval=$ac_status
1909
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1910
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1915
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1916
# -------------------------------------------------------
1917
# Tests whether HEADER exists and can be compiled using the include files in
1918
# INCLUDES, setting the cache variable VAR accordingly.
1919
ac_fn_c_check_header_compile ()
1921
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923
$as_echo_n "checking for $2... " >&6; }
1924
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925
$as_echo_n "(cached) " >&6
1927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928
/* end confdefs.h. */
1932
if ac_fn_c_try_compile "$LINENO"; then :
1937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941
$as_echo "$ac_res" >&6; }
1942
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1944
} # ac_fn_c_check_header_compile
1946
# ac_fn_c_try_link LINENO
1947
# -----------------------
1948
# Try to link conftest.$ac_ext, and return whether this succeeded.
1951
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952
rm -f conftest.$ac_objext conftest$ac_exeext
1953
if { { ac_try="$ac_link"
1955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956
*) ac_try_echo=$ac_try;;
1958
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959
$as_echo "$ac_try_echo"; } >&5
1960
(eval "$ac_link") 2>conftest.err
1962
if test -s conftest.err; then
1963
grep -v '^ *+' conftest.err >conftest.er1
1964
cat conftest.er1 >&5
1965
mv -f conftest.er1 conftest.err
1967
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968
test $ac_status = 0; } && {
1969
test -z "$ac_c_werror_flag" ||
1970
test ! -s conftest.err
1971
} && test -s conftest$ac_exeext && {
1972
test "$cross_compiling" = yes ||
1973
$as_test_x conftest$ac_exeext
1977
$as_echo "$as_me: failed program was:" >&5
1978
sed 's/^/| /' conftest.$ac_ext >&5
1982
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1983
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1984
# interfere with the next link command; also delete a directory that is
1985
# left behind by Apple's compiler. We do this before executing the actions.
1986
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1987
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
} # ac_fn_c_try_link
1992
# ac_fn_c_check_func LINENO FUNC VAR
1993
# ----------------------------------
1994
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1995
ac_fn_c_check_func ()
1997
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1999
$as_echo_n "checking for $2... " >&6; }
2000
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2001
$as_echo_n "(cached) " >&6
2003
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004
/* end confdefs.h. */
2005
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2006
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2007
#define $2 innocuous_$2
2009
/* System header to define __stub macros and hopefully few prototypes,
2010
which can conflict with char $2 (); below.
2011
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2012
<limits.h> exists even on freestanding compilers. */
2015
# include <limits.h>
2017
# include <assert.h>
2022
/* Override any GCC internal prototype to avoid an error.
2023
Use char because int might match the return type of a GCC
2024
builtin and then its argument prototype would still apply. */
2029
/* The GNU C library defines this for functions which it implements
2030
to always fail with ENOSYS. Some functions are actually named
2031
something starting with __ and the normal name is an alias. */
2032
#if defined __stub_$2 || defined __stub___$2
2044
if ac_fn_c_try_link "$LINENO"; then :
2049
rm -f core conftest.err conftest.$ac_objext \
2050
conftest$ac_exeext conftest.$ac_ext
2053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054
$as_echo "$ac_res" >&6; }
2055
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2057
} # ac_fn_c_check_func
2059
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2060
# -------------------------------------------
2061
# Tests whether TYPE exists after having included INCLUDES, setting cache
2062
# variable VAR accordingly.
2063
ac_fn_c_check_type ()
2065
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067
$as_echo_n "checking for $2... " >&6; }
2068
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069
$as_echo_n "(cached) " >&6
2072
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2073
/* end confdefs.h. */
2084
if ac_fn_c_try_compile "$LINENO"; then :
2085
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086
/* end confdefs.h. */
2097
if ac_fn_c_try_compile "$LINENO"; then :
2102
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108
$as_echo "$ac_res" >&6; }
2109
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2111
} # ac_fn_c_check_type
2113
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2114
# --------------------------------------------
2115
# Tries to find the compile-time value of EXPR in a program that includes
2116
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2118
ac_fn_c_compute_int ()
2120
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121
if test "$cross_compiling" = yes; then
2122
# Depending upon the size, compute the lo and hi bounds.
2123
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124
/* end confdefs.h. */
2129
static int test_array [1 - 2 * !(($2) >= 0)];
2136
if ac_fn_c_try_compile "$LINENO"; then :
2139
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140
/* end confdefs.h. */
2145
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2152
if ac_fn_c_try_compile "$LINENO"; then :
2153
ac_hi=$ac_mid; break
2155
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2156
if test $ac_lo -le $ac_mid; then
2160
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2162
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2165
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166
/* end confdefs.h. */
2171
static int test_array [1 - 2 * !(($2) < 0)];
2178
if ac_fn_c_try_compile "$LINENO"; then :
2181
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182
/* end confdefs.h. */
2187
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2194
if ac_fn_c_try_compile "$LINENO"; then :
2195
ac_lo=$ac_mid; break
2197
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2198
if test $ac_mid -le $ac_hi; then
2202
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2211
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212
# Binary search between lo and hi bounds.
2213
while test "x$ac_lo" != "x$ac_hi"; do
2214
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2215
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216
/* end confdefs.h. */
2221
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2228
if ac_fn_c_try_compile "$LINENO"; then :
2231
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2233
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2236
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2240
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241
/* end confdefs.h. */
2243
static long int longval () { return $2; }
2244
static unsigned long int ulongval () { return $2; }
2251
FILE *f = fopen ("conftest.val", "w");
2256
long int i = longval ();
2259
fprintf (f, "%ld", i);
2263
unsigned long int i = ulongval ();
2266
fprintf (f, "%lu", i);
2268
/* Do not output a trailing newline, as this causes \r\n confusion
2269
on some platforms. */
2270
return ferror (f) || fclose (f) != 0;
2276
if ac_fn_c_try_run "$LINENO"; then :
2277
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2281
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2282
conftest.$ac_objext conftest.beam conftest.$ac_ext
2286
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2289
} # ac_fn_c_compute_int
1752
2290
cat >config.log <<_ACEOF
1753
2291
This file contains any messages produced by compilers while
1754
2292
running configure, to aid debugging if configure makes a mistake.
1756
It was created by mountall $as_me 0.1.0, which was
1757
generated by GNU Autoconf 2.63. Invocation command line was
2294
It was created by mountall $as_me 0.1, which was
2295
generated by GNU Autoconf 2.64. Invocation command line was
2442
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2951
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443
2952
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2445
See \`config.log' for more details." >&5
2446
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2447
See \`config.log' for more details." >&2;}
2448
{ (exit 1); exit 1; }; }; }
2953
as_fn_error "no acceptable C compiler found in \$PATH
2954
See \`config.log' for more details." "$LINENO" 5; }
2450
2956
# Provide some information about the compiler.
2451
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2957
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2452
2958
set X $ac_compile
2454
{ (ac_try="$ac_compiler --version >&5"
2456
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457
*) ac_try_echo=$ac_try;;
2459
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2460
$as_echo "$ac_try_echo") >&5
2461
(eval "$ac_compiler --version >&5") 2>&5
2463
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464
(exit $ac_status); }
2465
{ (ac_try="$ac_compiler -v >&5"
2467
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468
*) ac_try_echo=$ac_try;;
2470
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2471
$as_echo "$ac_try_echo") >&5
2472
(eval "$ac_compiler -v >&5") 2>&5
2474
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475
(exit $ac_status); }
2476
{ (ac_try="$ac_compiler -V >&5"
2478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479
*) ac_try_echo=$ac_try;;
2481
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2482
$as_echo "$ac_try_echo") >&5
2483
(eval "$ac_compiler -V >&5") 2>&5
2485
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486
(exit $ac_status); }
2960
for ac_option in --version -v -V -qversion; do
2961
{ { ac_try="$ac_compiler $ac_option >&5"
2963
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964
*) ac_try_echo=$ac_try;;
2966
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967
$as_echo "$ac_try_echo"; } >&5
2968
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2970
if test -s conftest.err; then
2972
... rest of stderr output deleted ...
2973
10q' conftest.err >conftest.er1
2974
cat conftest.er1 >&5
2975
rm -f conftest.er1 conftest.err
2977
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978
test $ac_status = 0; }
2488
cat >conftest.$ac_ext <<_ACEOF
2491
cat confdefs.h >>conftest.$ac_ext
2492
cat >>conftest.$ac_ext <<_ACEOF
2981
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493
2982
/* end confdefs.h. */
2987
FILE *f = fopen ("conftest.out", "w");
2988
return ferror (f) || fclose (f) != 0;
2503
2994
ac_clean_files_save=$ac_clean_files
2504
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2995
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2505
2996
# Try to create an executable without -o first, disregard a.out.
2506
2997
# It will help us diagnose broken compilers, and finding out an intuition
2508
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2509
3000
$as_echo_n "checking for C compiler default output file name... " >&6; }
2510
3001
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2572
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2573
3063
$as_echo "$ac_file" >&6; }
2574
if test -z "$ac_file"; then
3064
if test -z "$ac_file"; then :
2575
3065
$as_echo "$as_me: failed program was:" >&5
2576
3066
sed 's/^/| /' conftest.$ac_ext >&5
2578
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3068
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579
3069
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2581
See \`config.log' for more details." >&5
2582
$as_echo "$as_me: error: C compiler cannot create executables
2583
See \`config.log' for more details." >&2;}
2584
{ (exit 77); exit 77; }; }; }
3070
{ as_fn_set_status 77
3071
as_fn_error "C compiler cannot create executables
3072
See \`config.log' for more details." "$LINENO" 5; }; }
2587
3074
ac_exeext=$ac_cv_exeext
2589
3076
# Check that the compiler produces executables we can run. If not, either
2590
3077
# the compiler is broken, or we cross compile.
2591
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2592
3079
$as_echo_n "checking whether the C compiler works... " >&6; }
2593
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2594
3080
# If not cross compiling, check that we can run a simple program.
2595
3081
if test "$cross_compiling" != yes; then
2596
3082
if { ac_try='./$ac_file'
2597
{ (case "(($ac_try" in
3083
{ { case "(($ac_try" in
2598
3084
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599
3085
*) ac_try_echo=$ac_try;;
2601
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2602
$as_echo "$ac_try_echo") >&5
3087
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3088
$as_echo "$ac_try_echo"; } >&5
2603
3089
(eval "$ac_try") 2>&5
2605
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606
(exit $ac_status); }; }; then
3091
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092
test $ac_status = 0; }; }; then
2607
3093
cross_compiling=no
2609
3095
if test "$cross_compiling" = maybe; then
2610
3096
cross_compiling=yes
2612
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3098
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2613
3099
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2614
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2615
If you meant to cross compile, use \`--host'.
2616
See \`config.log' for more details." >&5
2617
$as_echo "$as_me: error: cannot run C compiled programs.
2618
If you meant to cross compile, use \`--host'.
2619
See \`config.log' for more details." >&2;}
2620
{ (exit 1); exit 1; }; }; }
3100
as_fn_error "cannot run C compiled programs.
3101
If you meant to cross compile, use \`--host'.
3102
See \`config.log' for more details." "$LINENO" 5; }
2624
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2625
3107
$as_echo "yes" >&6; }
2627
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3109
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2628
3110
ac_clean_files=$ac_clean_files_save
2629
3111
# Check that the compiler produces executables we can run. If not, either
2630
3112
# the compiler is broken, or we cross compile.
2631
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2632
3114
$as_echo_n "checking whether we are cross compiling... " >&6; }
2633
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2634
3116
$as_echo "$cross_compiling" >&6; }
2636
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2637
3119
$as_echo_n "checking for suffix of executables... " >&6; }
2638
if { (ac_try="$ac_link"
3120
if { { ac_try="$ac_link"
2639
3121
case "(($ac_try" in
2640
3122
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641
3123
*) ac_try_echo=$ac_try;;
2643
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2644
$as_echo "$ac_try_echo") >&5
3125
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126
$as_echo "$ac_try_echo"; } >&5
2645
3127
(eval "$ac_link") 2>&5
2647
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648
(exit $ac_status); }; then
3129
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130
test $ac_status = 0; }; then :
2649
3131
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2650
3132
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2651
3133
# work properly (i.e., refer to `conftest.exe'), while it won't with
3579
rm -f conftest$ac_exeext
3580
if { (ac_try="$ac_link"
3582
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583
*) ac_try_echo=$ac_try;;
3585
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3586
$as_echo "$ac_try_echo") >&5
3587
(eval "$ac_link") 2>&5
3589
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3591
{ (case "(($ac_try" in
3592
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593
*) ac_try_echo=$ac_try;;
3595
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3596
$as_echo "$ac_try_echo") >&5
3597
(eval "$ac_try") 2>&5
3599
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
(exit $ac_status); }; }; then
3782
if ac_fn_c_try_run "$LINENO"; then :
3603
$as_echo "$as_me: program exited with status $ac_status" >&5
3604
$as_echo "$as_me: failed program was:" >&5
3605
sed 's/^/| /' conftest.$ac_ext >&5
3608
ac_cv_header_stdc=no
3610
rm -rf conftest.dSYM
3611
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3617
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3785
ac_cv_header_stdc=no
3787
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3788
conftest.$ac_objext conftest.beam conftest.$ac_ext
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3618
3794
$as_echo "$ac_cv_header_stdc" >&6; }
3619
3795
if test $ac_cv_header_stdc = yes; then
3621
cat >>confdefs.h <<\_ACEOF
3622
#define STDC_HEADERS 1
3797
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3627
3801
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3637
3802
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3638
3803
inttypes.h stdint.h unistd.h
3640
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3641
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3642
$as_echo_n "checking for $ac_header... " >&6; }
3643
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3644
$as_echo_n "(cached) " >&6
3646
cat >conftest.$ac_ext <<_ACEOF
3649
cat confdefs.h >>conftest.$ac_ext
3650
cat >>conftest.$ac_ext <<_ACEOF
3651
/* end confdefs.h. */
3652
$ac_includes_default
3654
#include <$ac_header>
3656
rm -f conftest.$ac_objext
3657
if { (ac_try="$ac_compile"
3659
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3660
*) ac_try_echo=$ac_try;;
3662
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3663
$as_echo "$ac_try_echo") >&5
3664
(eval "$ac_compile") 2>conftest.er1
3666
grep -v '^ *+' conftest.er1 >conftest.err
3668
cat conftest.err >&5
3669
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670
(exit $ac_status); } && {
3671
test -z "$ac_c_werror_flag" ||
3672
test ! -s conftest.err
3673
} && test -s conftest.$ac_objext; then
3674
eval "$as_ac_Header=yes"
3676
$as_echo "$as_me: failed program was:" >&5
3677
sed 's/^/| /' conftest.$ac_ext >&5
3679
eval "$as_ac_Header=no"
3682
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3684
ac_res=`eval 'as_val=${'$as_ac_Header'}
3685
$as_echo "$as_val"'`
3686
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3687
$as_echo "$ac_res" >&6; }
3688
as_val=`eval 'as_val=${'$as_ac_Header'}
3689
$as_echo "$as_val"'`
3690
if test "x$as_val" = x""yes; then
3805
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3806
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3808
eval as_val=\$$as_ac_Header
3809
if test "x$as_val" = x""yes; then :
3691
3810
cat >>confdefs.h <<_ACEOF
3692
3811
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3701
if test "${ac_cv_header_minix_config_h+set}" = set; then
3702
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3703
$as_echo_n "checking for minix/config.h... " >&6; }
3704
if test "${ac_cv_header_minix_config_h+set}" = set; then
3705
$as_echo_n "(cached) " >&6
3707
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3708
$as_echo "$ac_cv_header_minix_config_h" >&6; }
3710
# Is the header compilable?
3711
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3712
$as_echo_n "checking minix/config.h usability... " >&6; }
3713
cat >conftest.$ac_ext <<_ACEOF
3716
cat confdefs.h >>conftest.$ac_ext
3717
cat >>conftest.$ac_ext <<_ACEOF
3718
/* end confdefs.h. */
3719
$ac_includes_default
3720
#include <minix/config.h>
3722
rm -f conftest.$ac_objext
3723
if { (ac_try="$ac_compile"
3725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726
*) ac_try_echo=$ac_try;;
3728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3729
$as_echo "$ac_try_echo") >&5
3730
(eval "$ac_compile") 2>conftest.er1
3732
grep -v '^ *+' conftest.er1 >conftest.err
3734
cat conftest.err >&5
3735
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736
(exit $ac_status); } && {
3737
test -z "$ac_c_werror_flag" ||
3738
test ! -s conftest.err
3739
} && test -s conftest.$ac_objext; then
3740
ac_header_compiler=yes
3742
$as_echo "$as_me: failed program was:" >&5
3743
sed 's/^/| /' conftest.$ac_ext >&5
3745
ac_header_compiler=no
3748
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3749
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3750
$as_echo "$ac_header_compiler" >&6; }
3752
# Is the header present?
3753
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3754
$as_echo_n "checking minix/config.h presence... " >&6; }
3755
cat >conftest.$ac_ext <<_ACEOF
3758
cat confdefs.h >>conftest.$ac_ext
3759
cat >>conftest.$ac_ext <<_ACEOF
3760
/* end confdefs.h. */
3761
#include <minix/config.h>
3763
if { (ac_try="$ac_cpp conftest.$ac_ext"
3765
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3766
*) ac_try_echo=$ac_try;;
3768
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3769
$as_echo "$ac_try_echo") >&5
3770
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3772
grep -v '^ *+' conftest.er1 >conftest.err
3774
cat conftest.err >&5
3775
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776
(exit $ac_status); } >/dev/null && {
3777
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3778
test ! -s conftest.err
3780
ac_header_preproc=yes
3782
$as_echo "$as_me: failed program was:" >&5
3783
sed 's/^/| /' conftest.$ac_ext >&5
3785
ac_header_preproc=no
3788
rm -f conftest.err conftest.$ac_ext
3789
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3790
$as_echo "$ac_header_preproc" >&6; }
3792
# So? What about this header?
3793
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3795
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3796
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3797
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3798
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3799
ac_header_preproc=yes
3802
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3803
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3804
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3805
$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3806
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3807
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3808
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3809
$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3810
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3811
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3812
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3813
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3815
## -------------------------------------------- ##
3816
## Report this to ubuntu-devel@lists.ubuntu.com ##
3817
## -------------------------------------------- ##
3819
) | sed "s/^/$as_me: WARNING: /" >&2
3822
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3823
$as_echo_n "checking for minix/config.h... " >&6; }
3824
if test "${ac_cv_header_minix_config_h+set}" = set; then
3825
$as_echo_n "(cached) " >&6
3827
ac_cv_header_minix_config_h=$ac_header_preproc
3829
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3830
$as_echo "$ac_cv_header_minix_config_h" >&6; }
3833
if test "x$ac_cv_header_minix_config_h" = x""yes; then
3820
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3821
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4116
4062
# expand $ac_aux_dir to an absolute path
4117
4063
am_aux_dir=`cd $ac_aux_dir && pwd`
4119
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
4065
if test x"${MISSING+set}" != xset; then
4068
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4070
MISSING="\${SHELL} $am_aux_dir/missing" ;;
4120
4073
# Use eval to expand $SHELL
4121
4074
if eval "$MISSING --run true"; then
4122
4075
am_missing_run="$MISSING --run "
4124
4077
am_missing_run=
4125
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
4078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4126
4079
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4129
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
4082
if test x"${install_sh}" != xset; then
4085
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4087
install_sh="\${SHELL} $am_aux_dir/install-sh"
4091
# Installed binaries are usually stripped using `strip' when the user
4092
# run `make install-strip'. However `strip' might not be the right
4093
# tool to use in cross-compilation environments, therefore Automake
4094
# will honor the `STRIP' environment variable to overrule this program.
4095
if test "$cross_compiling" != no; then
4096
if test -n "$ac_tool_prefix"; then
4097
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4098
set dummy ${ac_tool_prefix}strip; ac_word=$2
4099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100
$as_echo_n "checking for $ac_word... " >&6; }
4101
if test "${ac_cv_prog_STRIP+set}" = set; then :
4102
$as_echo_n "(cached) " >&6
4104
if test -n "$STRIP"; then
4105
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4111
test -z "$as_dir" && as_dir=.
4112
for ac_exec_ext in '' $ac_executable_extensions; do
4113
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4114
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4115
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4124
STRIP=$ac_cv_prog_STRIP
4125
if test -n "$STRIP"; then
4126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4127
$as_echo "$STRIP" >&6; }
4129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130
$as_echo "no" >&6; }
4135
if test -z "$ac_cv_prog_STRIP"; then
4137
# Extract the first word of "strip", so it can be a program name with args.
4138
set dummy strip; ac_word=$2
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140
$as_echo_n "checking for $ac_word... " >&6; }
4141
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4142
$as_echo_n "(cached) " >&6
4144
if test -n "$ac_ct_STRIP"; then
4145
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151
test -z "$as_dir" && as_dir=.
4152
for ac_exec_ext in '' $ac_executable_extensions; do
4153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4154
ac_cv_prog_ac_ct_STRIP="strip"
4155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4164
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4165
if test -n "$ac_ct_STRIP"; then
4166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4167
$as_echo "$ac_ct_STRIP" >&6; }
4169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170
$as_echo "no" >&6; }
4173
if test "x$ac_ct_STRIP" = x; then
4176
case $cross_compiling:$ac_tool_warned in
4178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4179
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4180
ac_tool_warned=yes ;;
4185
STRIP="$ac_cv_prog_STRIP"
4189
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4130
4192
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4131
4193
if test -z "$MKDIR_P"; then
4132
if test "${ac_cv_path_mkdir+set}" = set; then
4194
if test "${ac_cv_path_mkdir+set}" = set; then :
4133
4195
$as_echo_n "(cached) " >&6
4135
4197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371
4431
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4373
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
4375
# Installed binaries are usually stripped using `strip' when the user
4376
# run `make install-strip'. However `strip' might not be the right
4377
# tool to use in cross-compilation environments, therefore Automake
4378
# will honor the `STRIP' environment variable to overrule this program.
4379
if test "$cross_compiling" != no; then
4380
if test -n "$ac_tool_prefix"; then
4381
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4382
set dummy ${ac_tool_prefix}strip; ac_word=$2
4383
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4384
$as_echo_n "checking for $ac_word... " >&6; }
4385
if test "${ac_cv_prog_STRIP+set}" = set; then
4386
$as_echo_n "(cached) " >&6
4388
if test -n "$STRIP"; then
4389
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395
test -z "$as_dir" && as_dir=.
4396
for ac_exec_ext in '' $ac_executable_extensions; do
4397
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4398
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4399
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4408
STRIP=$ac_cv_prog_STRIP
4409
if test -n "$STRIP"; then
4410
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4411
$as_echo "$STRIP" >&6; }
4413
{ $as_echo "$as_me:$LINENO: result: no" >&5
4414
$as_echo "no" >&6; }
4419
if test -z "$ac_cv_prog_STRIP"; then
4421
# Extract the first word of "strip", so it can be a program name with args.
4422
set dummy strip; ac_word=$2
4423
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4424
$as_echo_n "checking for $ac_word... " >&6; }
4425
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4426
$as_echo_n "(cached) " >&6
4428
if test -n "$ac_ct_STRIP"; then
4429
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4431
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435
test -z "$as_dir" && as_dir=.
4436
for ac_exec_ext in '' $ac_executable_extensions; do
4437
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438
ac_cv_prog_ac_ct_STRIP="strip"
4439
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4448
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4449
if test -n "$ac_ct_STRIP"; then
4450
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4451
$as_echo "$ac_ct_STRIP" >&6; }
4453
{ $as_echo "$as_me:$LINENO: result: no" >&5
4454
$as_echo "no" >&6; }
4457
if test "x$ac_ct_STRIP" = x; then
4460
case $cross_compiling:$ac_tool_warned in
4462
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4463
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464
ac_tool_warned=yes ;;
4469
STRIP="$ac_cv_prog_STRIP"
4473
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4475
4433
# We need awk for the "check" target. The system "awk" is bad on
4476
4434
# some platforms.
4477
4435
# Always define AMTAR for backward compatibility.
10562
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10563
$as_echo_n "checking for shl_load... " >&6; }
10564
if test "${ac_cv_func_shl_load+set}" = set; then
10565
$as_echo_n "(cached) " >&6
10567
cat >conftest.$ac_ext <<_ACEOF
10570
cat confdefs.h >>conftest.$ac_ext
10571
cat >>conftest.$ac_ext <<_ACEOF
10572
/* end confdefs.h. */
10573
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10574
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10575
#define shl_load innocuous_shl_load
10577
/* System header to define __stub macros and hopefully few prototypes,
10578
which can conflict with char shl_load (); below.
10579
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10580
<limits.h> exists even on freestanding compilers. */
10583
# include <limits.h>
10585
# include <assert.h>
10590
/* Override any GCC internal prototype to avoid an error.
10591
Use char because int might match the return type of a GCC
10592
builtin and then its argument prototype would still apply. */
10597
/* The GNU C library defines this for functions which it implements
10598
to always fail with ENOSYS. Some functions are actually named
10599
something starting with __ and the normal name is an alias. */
10600
#if defined __stub_shl_load || defined __stub___shl_load
10607
return shl_load ();
10612
rm -f conftest.$ac_objext conftest$ac_exeext
10613
if { (ac_try="$ac_link"
10614
case "(($ac_try" in
10615
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10616
*) ac_try_echo=$ac_try;;
10618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10619
$as_echo "$ac_try_echo") >&5
10620
(eval "$ac_link") 2>conftest.er1
10622
grep -v '^ *+' conftest.er1 >conftest.err
10624
cat conftest.err >&5
10625
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626
(exit $ac_status); } && {
10627
test -z "$ac_c_werror_flag" ||
10628
test ! -s conftest.err
10629
} && test -s conftest$ac_exeext && {
10630
test "$cross_compiling" = yes ||
10631
$as_test_x conftest$ac_exeext
10633
ac_cv_func_shl_load=yes
10635
$as_echo "$as_me: failed program was:" >&5
10636
sed 's/^/| /' conftest.$ac_ext >&5
10638
ac_cv_func_shl_load=no
10641
rm -rf conftest.dSYM
10642
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10643
conftest$ac_exeext conftest.$ac_ext
10645
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10646
$as_echo "$ac_cv_func_shl_load" >&6; }
10647
if test "x$ac_cv_func_shl_load" = x""yes; then
10268
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10269
if test "x$ac_cv_func_shl_load" = x""yes; then :
10648
10270
lt_cv_dlopen="shl_load"
10650
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10651
10273
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10652
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10274
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10653
10275
$as_echo_n "(cached) " >&6
10655
10277
ac_check_lib_save_LIBS=$LIBS
10656
10278
LIBS="-ldld $LIBS"
10657
cat >conftest.$ac_ext <<_ACEOF
10660
cat confdefs.h >>conftest.$ac_ext
10661
cat >>conftest.$ac_ext <<_ACEOF
10279
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662
10280
/* end confdefs.h. */
10664
10282
/* Override any GCC internal prototype to avoid an error.
10679
rm -f conftest.$ac_objext conftest$ac_exeext
10680
if { (ac_try="$ac_link"
10681
case "(($ac_try" in
10682
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10683
*) ac_try_echo=$ac_try;;
10685
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10686
$as_echo "$ac_try_echo") >&5
10687
(eval "$ac_link") 2>conftest.er1
10689
grep -v '^ *+' conftest.er1 >conftest.err
10691
cat conftest.err >&5
10692
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693
(exit $ac_status); } && {
10694
test -z "$ac_c_werror_flag" ||
10695
test ! -s conftest.err
10696
} && test -s conftest$ac_exeext && {
10697
test "$cross_compiling" = yes ||
10698
$as_test_x conftest$ac_exeext
10297
if ac_fn_c_try_link "$LINENO"; then :
10700
10298
ac_cv_lib_dld_shl_load=yes
10702
$as_echo "$as_me: failed program was:" >&5
10703
sed 's/^/| /' conftest.$ac_ext >&5
10705
ac_cv_lib_dld_shl_load=no
10300
ac_cv_lib_dld_shl_load=no
10708
rm -rf conftest.dSYM
10709
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10710
conftest$ac_exeext conftest.$ac_ext
10302
rm -f core conftest.err conftest.$ac_objext \
10303
conftest$ac_exeext conftest.$ac_ext
10711
10304
LIBS=$ac_check_lib_save_LIBS
10713
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10714
10307
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10715
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10308
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10716
10309
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10718
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10719
$as_echo_n "checking for dlopen... " >&6; }
10720
if test "${ac_cv_func_dlopen+set}" = set; then
10721
$as_echo_n "(cached) " >&6
10723
cat >conftest.$ac_ext <<_ACEOF
10726
cat confdefs.h >>conftest.$ac_ext
10727
cat >>conftest.$ac_ext <<_ACEOF
10728
/* end confdefs.h. */
10729
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10730
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10731
#define dlopen innocuous_dlopen
10733
/* System header to define __stub macros and hopefully few prototypes,
10734
which can conflict with char dlopen (); below.
10735
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10736
<limits.h> exists even on freestanding compilers. */
10739
# include <limits.h>
10741
# include <assert.h>
10746
/* Override any GCC internal prototype to avoid an error.
10747
Use char because int might match the return type of a GCC
10748
builtin and then its argument prototype would still apply. */
10753
/* The GNU C library defines this for functions which it implements
10754
to always fail with ENOSYS. Some functions are actually named
10755
something starting with __ and the normal name is an alias. */
10756
#if defined __stub_dlopen || defined __stub___dlopen
10768
rm -f conftest.$ac_objext conftest$ac_exeext
10769
if { (ac_try="$ac_link"
10770
case "(($ac_try" in
10771
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10772
*) ac_try_echo=$ac_try;;
10774
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10775
$as_echo "$ac_try_echo") >&5
10776
(eval "$ac_link") 2>conftest.er1
10778
grep -v '^ *+' conftest.er1 >conftest.err
10780
cat conftest.err >&5
10781
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782
(exit $ac_status); } && {
10783
test -z "$ac_c_werror_flag" ||
10784
test ! -s conftest.err
10785
} && test -s conftest$ac_exeext && {
10786
test "$cross_compiling" = yes ||
10787
$as_test_x conftest$ac_exeext
10789
ac_cv_func_dlopen=yes
10791
$as_echo "$as_me: failed program was:" >&5
10792
sed 's/^/| /' conftest.$ac_ext >&5
10794
ac_cv_func_dlopen=no
10797
rm -rf conftest.dSYM
10798
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10799
conftest$ac_exeext conftest.$ac_ext
10801
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10802
$as_echo "$ac_cv_func_dlopen" >&6; }
10803
if test "x$ac_cv_func_dlopen" = x""yes; then
10311
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10312
if test "x$ac_cv_func_dlopen" = x""yes; then :
10804
10313
lt_cv_dlopen="dlopen"
10806
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10807
10316
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10808
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10317
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10809
10318
$as_echo_n "(cached) " >&6
10811
10320
ac_check_lib_save_LIBS=$LIBS
10812
10321
LIBS="-ldl $LIBS"
10813
cat >conftest.$ac_ext <<_ACEOF
10816
cat confdefs.h >>conftest.$ac_ext
10817
cat >>conftest.$ac_ext <<_ACEOF
10322
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818
10323
/* end confdefs.h. */
10820
10325
/* Override any GCC internal prototype to avoid an error.
12302
11481
rm -f conftest*
12305
{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
12306
11485
$as_echo "$ac_cv_os_cray" >&6; }
12307
11486
if test $ac_cv_os_cray = yes; then
12308
11487
for ac_func in _getb67 GETB67 getb67; do
12309
11488
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12310
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12311
$as_echo_n "checking for $ac_func... " >&6; }
12312
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12313
$as_echo_n "(cached) " >&6
12315
cat >conftest.$ac_ext <<_ACEOF
12318
cat confdefs.h >>conftest.$ac_ext
12319
cat >>conftest.$ac_ext <<_ACEOF
12320
/* end confdefs.h. */
12321
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12322
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12323
#define $ac_func innocuous_$ac_func
12325
/* System header to define __stub macros and hopefully few prototypes,
12326
which can conflict with char $ac_func (); below.
12327
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12328
<limits.h> exists even on freestanding compilers. */
12331
# include <limits.h>
12333
# include <assert.h>
12338
/* Override any GCC internal prototype to avoid an error.
12339
Use char because int might match the return type of a GCC
12340
builtin and then its argument prototype would still apply. */
12345
/* The GNU C library defines this for functions which it implements
12346
to always fail with ENOSYS. Some functions are actually named
12347
something starting with __ and the normal name is an alias. */
12348
#if defined __stub_$ac_func || defined __stub___$ac_func
12355
return $ac_func ();
12360
rm -f conftest.$ac_objext conftest$ac_exeext
12361
if { (ac_try="$ac_link"
12362
case "(($ac_try" in
12363
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12364
*) ac_try_echo=$ac_try;;
12366
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12367
$as_echo "$ac_try_echo") >&5
12368
(eval "$ac_link") 2>conftest.er1
12370
grep -v '^ *+' conftest.er1 >conftest.err
12372
cat conftest.err >&5
12373
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374
(exit $ac_status); } && {
12375
test -z "$ac_c_werror_flag" ||
12376
test ! -s conftest.err
12377
} && test -s conftest$ac_exeext && {
12378
test "$cross_compiling" = yes ||
12379
$as_test_x conftest$ac_exeext
12381
eval "$as_ac_var=yes"
12383
$as_echo "$as_me: failed program was:" >&5
12384
sed 's/^/| /' conftest.$ac_ext >&5
12386
eval "$as_ac_var=no"
12389
rm -rf conftest.dSYM
12390
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12391
conftest$ac_exeext conftest.$ac_ext
12393
ac_res=`eval 'as_val=${'$as_ac_var'}
12394
$as_echo "$as_val"'`
12395
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12396
$as_echo "$ac_res" >&6; }
12397
as_val=`eval 'as_val=${'$as_ac_var'}
12398
$as_echo "$as_val"'`
12399
if test "x$as_val" = x""yes; then
11489
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11490
eval as_val=\$$as_ac_var
11491
if test "x$as_val" = x""yes; then :
12401
11493
cat >>confdefs.h <<_ACEOF
12402
11494
#define CRAY_STACKSEG_END $ac_func
12495
11553
for ac_header in stdlib.h unistd.h
12497
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12498
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12499
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12500
$as_echo_n "checking for $ac_header... " >&6; }
12501
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12502
$as_echo_n "(cached) " >&6
12504
ac_res=`eval 'as_val=${'$as_ac_Header'}
12505
$as_echo "$as_val"'`
12506
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12507
$as_echo "$ac_res" >&6; }
12509
# Is the header compilable?
12510
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12511
$as_echo_n "checking $ac_header usability... " >&6; }
12512
cat >conftest.$ac_ext <<_ACEOF
12515
cat confdefs.h >>conftest.$ac_ext
12516
cat >>conftest.$ac_ext <<_ACEOF
12517
/* end confdefs.h. */
12518
$ac_includes_default
12519
#include <$ac_header>
12521
rm -f conftest.$ac_objext
12522
if { (ac_try="$ac_compile"
12523
case "(($ac_try" in
12524
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12525
*) ac_try_echo=$ac_try;;
12527
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12528
$as_echo "$ac_try_echo") >&5
12529
(eval "$ac_compile") 2>conftest.er1
12531
grep -v '^ *+' conftest.er1 >conftest.err
12533
cat conftest.err >&5
12534
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535
(exit $ac_status); } && {
12536
test -z "$ac_c_werror_flag" ||
12537
test ! -s conftest.err
12538
} && test -s conftest.$ac_objext; then
12539
ac_header_compiler=yes
12541
$as_echo "$as_me: failed program was:" >&5
12542
sed 's/^/| /' conftest.$ac_ext >&5
12544
ac_header_compiler=no
12547
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12548
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12549
$as_echo "$ac_header_compiler" >&6; }
12551
# Is the header present?
12552
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12553
$as_echo_n "checking $ac_header presence... " >&6; }
12554
cat >conftest.$ac_ext <<_ACEOF
12557
cat confdefs.h >>conftest.$ac_ext
12558
cat >>conftest.$ac_ext <<_ACEOF
12559
/* end confdefs.h. */
12560
#include <$ac_header>
12562
if { (ac_try="$ac_cpp conftest.$ac_ext"
12563
case "(($ac_try" in
12564
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12565
*) ac_try_echo=$ac_try;;
12567
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12568
$as_echo "$ac_try_echo") >&5
12569
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12571
grep -v '^ *+' conftest.er1 >conftest.err
12573
cat conftest.err >&5
12574
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575
(exit $ac_status); } >/dev/null && {
12576
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12577
test ! -s conftest.err
12579
ac_header_preproc=yes
12581
$as_echo "$as_me: failed program was:" >&5
12582
sed 's/^/| /' conftest.$ac_ext >&5
12584
ac_header_preproc=no
12587
rm -f conftest.err conftest.$ac_ext
12588
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12589
$as_echo "$ac_header_preproc" >&6; }
12591
# So? What about this header?
12592
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12594
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12595
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12596
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12597
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12598
ac_header_preproc=yes
12601
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12602
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12603
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12604
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12605
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12606
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12607
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12608
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12609
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12610
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12611
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12612
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12614
## -------------------------------------------- ##
12615
## Report this to ubuntu-devel@lists.ubuntu.com ##
12616
## -------------------------------------------- ##
12618
) | sed "s/^/$as_me: WARNING: /" >&2
12621
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12622
$as_echo_n "checking for $ac_header... " >&6; }
12623
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12624
$as_echo_n "(cached) " >&6
12626
eval "$as_ac_Header=\$ac_header_preproc"
12628
ac_res=`eval 'as_val=${'$as_ac_Header'}
12629
$as_echo "$as_val"'`
12630
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12631
$as_echo "$ac_res" >&6; }
12634
as_val=`eval 'as_val=${'$as_ac_Header'}
12635
$as_echo "$as_val"'`
12636
if test "x$as_val" = x""yes; then
11555
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11556
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11557
eval as_val=\$$as_ac_Header
11558
if test "x$as_val" = x""yes; then :
12637
11559
cat >>confdefs.h <<_ACEOF
12638
11560
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12646
11567
for ac_func in getpagesize
12648
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12649
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12650
$as_echo_n "checking for $ac_func... " >&6; }
12651
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12652
$as_echo_n "(cached) " >&6
12654
cat >conftest.$ac_ext <<_ACEOF
12657
cat confdefs.h >>conftest.$ac_ext
12658
cat >>conftest.$ac_ext <<_ACEOF
12659
/* end confdefs.h. */
12660
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12661
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12662
#define $ac_func innocuous_$ac_func
12664
/* System header to define __stub macros and hopefully few prototypes,
12665
which can conflict with char $ac_func (); below.
12666
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12667
<limits.h> exists even on freestanding compilers. */
12670
# include <limits.h>
12672
# include <assert.h>
12677
/* Override any GCC internal prototype to avoid an error.
12678
Use char because int might match the return type of a GCC
12679
builtin and then its argument prototype would still apply. */
12684
/* The GNU C library defines this for functions which it implements
12685
to always fail with ENOSYS. Some functions are actually named
12686
something starting with __ and the normal name is an alias. */
12687
#if defined __stub_$ac_func || defined __stub___$ac_func
12694
return $ac_func ();
12699
rm -f conftest.$ac_objext conftest$ac_exeext
12700
if { (ac_try="$ac_link"
12701
case "(($ac_try" in
12702
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12703
*) ac_try_echo=$ac_try;;
12705
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12706
$as_echo "$ac_try_echo") >&5
12707
(eval "$ac_link") 2>conftest.er1
12709
grep -v '^ *+' conftest.er1 >conftest.err
12711
cat conftest.err >&5
12712
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713
(exit $ac_status); } && {
12714
test -z "$ac_c_werror_flag" ||
12715
test ! -s conftest.err
12716
} && test -s conftest$ac_exeext && {
12717
test "$cross_compiling" = yes ||
12718
$as_test_x conftest$ac_exeext
12720
eval "$as_ac_var=yes"
12722
$as_echo "$as_me: failed program was:" >&5
12723
sed 's/^/| /' conftest.$ac_ext >&5
12725
eval "$as_ac_var=no"
12728
rm -rf conftest.dSYM
12729
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12730
conftest$ac_exeext conftest.$ac_ext
12732
ac_res=`eval 'as_val=${'$as_ac_var'}
12733
$as_echo "$as_val"'`
12734
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12735
$as_echo "$ac_res" >&6; }
12736
as_val=`eval 'as_val=${'$as_ac_var'}
12737
$as_echo "$as_val"'`
12738
if test "x$as_val" = x""yes; then
11569
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11570
if test "x$ac_cv_func_getpagesize" = x""yes; then :
12739
11571
cat >>confdefs.h <<_ACEOF
12740
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11572
#define HAVE_GETPAGESIZE 1
12746
{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5
11578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12747
11579
$as_echo_n "checking for working mmap... " >&6; }
12748
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
11580
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12749
11581
$as_echo_n "(cached) " >&6
12751
if test "$cross_compiling" = yes; then
11583
if test "$cross_compiling" = yes; then :
12752
11584
ac_cv_func_mmap_fixed_mapped=no
12754
cat >conftest.$ac_ext <<_ACEOF
12757
cat confdefs.h >>conftest.$ac_ext
12758
cat >>conftest.$ac_ext <<_ACEOF
11586
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759
11587
/* end confdefs.h. */
12760
11588
$ac_includes_default
12761
11589
/* malloc might have been renamed as rpl_malloc. */
13203
cat >>confdefs.h <<\_ACEOF
13204
#define HAVE_UINTMAX_T 1
11913
$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
13211
for ac_header in inttypes.h
13213
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13214
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13215
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13216
$as_echo_n "checking for $ac_header... " >&6; }
13217
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13218
$as_echo_n "(cached) " >&6
13220
ac_res=`eval 'as_val=${'$as_ac_Header'}
13221
$as_echo "$as_val"'`
13222
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13223
$as_echo "$ac_res" >&6; }
13225
# Is the header compilable?
13226
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13227
$as_echo_n "checking $ac_header usability... " >&6; }
13228
cat >conftest.$ac_ext <<_ACEOF
13231
cat confdefs.h >>conftest.$ac_ext
13232
cat >>conftest.$ac_ext <<_ACEOF
13233
/* end confdefs.h. */
13234
$ac_includes_default
13235
#include <$ac_header>
13237
rm -f conftest.$ac_objext
13238
if { (ac_try="$ac_compile"
13239
case "(($ac_try" in
13240
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13241
*) ac_try_echo=$ac_try;;
13243
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13244
$as_echo "$ac_try_echo") >&5
13245
(eval "$ac_compile") 2>conftest.er1
13247
grep -v '^ *+' conftest.er1 >conftest.err
13249
cat conftest.err >&5
13250
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251
(exit $ac_status); } && {
13252
test -z "$ac_c_werror_flag" ||
13253
test ! -s conftest.err
13254
} && test -s conftest.$ac_objext; then
13255
ac_header_compiler=yes
13257
$as_echo "$as_me: failed program was:" >&5
13258
sed 's/^/| /' conftest.$ac_ext >&5
13260
ac_header_compiler=no
13263
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13264
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13265
$as_echo "$ac_header_compiler" >&6; }
13267
# Is the header present?
13268
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13269
$as_echo_n "checking $ac_header presence... " >&6; }
13270
cat >conftest.$ac_ext <<_ACEOF
13273
cat confdefs.h >>conftest.$ac_ext
13274
cat >>conftest.$ac_ext <<_ACEOF
13275
/* end confdefs.h. */
13276
#include <$ac_header>
13278
if { (ac_try="$ac_cpp conftest.$ac_ext"
13279
case "(($ac_try" in
13280
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13281
*) ac_try_echo=$ac_try;;
13283
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13284
$as_echo "$ac_try_echo") >&5
13285
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13287
grep -v '^ *+' conftest.er1 >conftest.err
13289
cat conftest.err >&5
13290
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291
(exit $ac_status); } >/dev/null && {
13292
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13293
test ! -s conftest.err
13295
ac_header_preproc=yes
13297
$as_echo "$as_me: failed program was:" >&5
13298
sed 's/^/| /' conftest.$ac_ext >&5
13300
ac_header_preproc=no
13303
rm -f conftest.err conftest.$ac_ext
13304
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13305
$as_echo "$ac_header_preproc" >&6; }
13307
# So? What about this header?
13308
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13310
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13311
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13312
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13313
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13314
ac_header_preproc=yes
13317
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13318
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13319
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13320
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13321
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13322
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13323
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13324
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13325
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13326
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13327
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13328
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13330
## -------------------------------------------- ##
13331
## Report this to ubuntu-devel@lists.ubuntu.com ##
13332
## -------------------------------------------- ##
13334
) | sed "s/^/$as_me: WARNING: /" >&2
13337
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13338
$as_echo_n "checking for $ac_header... " >&6; }
13339
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13340
$as_echo_n "(cached) " >&6
13342
eval "$as_ac_Header=\$ac_header_preproc"
13344
ac_res=`eval 'as_val=${'$as_ac_Header'}
13345
$as_echo "$as_val"'`
13346
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13347
$as_echo "$ac_res" >&6; }
13350
as_val=`eval 'as_val=${'$as_ac_Header'}
13351
$as_echo "$as_val"'`
13352
if test "x$as_val" = x""yes; then
11918
for ac_header in inttypes.h
11920
ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
11921
if test "x$ac_cv_header_inttypes_h" = x""yes; then :
13353
11922
cat >>confdefs.h <<_ACEOF
13354
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11923
#define HAVE_INTTYPES_H 1
13679
rm -f conftest.$ac_objext conftest$ac_exeext
13680
if { (ac_try="$ac_link"
13681
case "(($ac_try" in
13682
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13683
*) ac_try_echo=$ac_try;;
13685
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13686
$as_echo "$ac_try_echo") >&5
13687
(eval "$ac_link") 2>conftest.er1
13689
grep -v '^ *+' conftest.er1 >conftest.err
13691
cat conftest.err >&5
13692
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693
(exit $ac_status); } && {
13694
test -z "$ac_c_werror_flag" ||
13695
test ! -s conftest.err
13696
} && test -s conftest$ac_exeext && {
13697
test "$cross_compiling" = yes ||
13698
$as_test_x conftest$ac_exeext
12217
if ac_fn_c_try_link "$LINENO"; then :
13700
12218
gl_have_weak=yes
13702
$as_echo "$as_me: failed program was:" >&5
13703
sed 's/^/| /' conftest.$ac_ext >&5
13708
rm -rf conftest.dSYM
13709
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13710
conftest$ac_exeext conftest.$ac_ext
13711
{ $as_echo "$as_me:$LINENO: result: $gl_have_weak" >&5
12220
rm -f core conftest.err conftest.$ac_objext \
12221
conftest$ac_exeext conftest.$ac_ext
12222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_weak" >&5
13712
12223
$as_echo "$gl_have_weak" >&6; }
13713
12224
if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
13714
12225
# On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
13715
12226
# it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
13716
if test "${ac_cv_header_pthread_h+set}" = set; then
13717
{ $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
13718
$as_echo_n "checking for pthread.h... " >&6; }
13719
if test "${ac_cv_header_pthread_h+set}" = set; then
13720
$as_echo_n "(cached) " >&6
13722
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
13723
$as_echo "$ac_cv_header_pthread_h" >&6; }
13725
# Is the header compilable?
13726
{ $as_echo "$as_me:$LINENO: checking pthread.h usability" >&5
13727
$as_echo_n "checking pthread.h usability... " >&6; }
13728
cat >conftest.$ac_ext <<_ACEOF
13731
cat confdefs.h >>conftest.$ac_ext
13732
cat >>conftest.$ac_ext <<_ACEOF
13733
/* end confdefs.h. */
13734
$ac_includes_default
13735
#include <pthread.h>
13737
rm -f conftest.$ac_objext
13738
if { (ac_try="$ac_compile"
13739
case "(($ac_try" in
13740
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13741
*) ac_try_echo=$ac_try;;
13743
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13744
$as_echo "$ac_try_echo") >&5
13745
(eval "$ac_compile") 2>conftest.er1
13747
grep -v '^ *+' conftest.er1 >conftest.err
13749
cat conftest.err >&5
13750
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751
(exit $ac_status); } && {
13752
test -z "$ac_c_werror_flag" ||
13753
test ! -s conftest.err
13754
} && test -s conftest.$ac_objext; then
13755
ac_header_compiler=yes
13757
$as_echo "$as_me: failed program was:" >&5
13758
sed 's/^/| /' conftest.$ac_ext >&5
13760
ac_header_compiler=no
13763
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13764
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13765
$as_echo "$ac_header_compiler" >&6; }
13767
# Is the header present?
13768
{ $as_echo "$as_me:$LINENO: checking pthread.h presence" >&5
13769
$as_echo_n "checking pthread.h presence... " >&6; }
13770
cat >conftest.$ac_ext <<_ACEOF
13773
cat confdefs.h >>conftest.$ac_ext
13774
cat >>conftest.$ac_ext <<_ACEOF
13775
/* end confdefs.h. */
13776
#include <pthread.h>
13778
if { (ac_try="$ac_cpp conftest.$ac_ext"
13779
case "(($ac_try" in
13780
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781
*) ac_try_echo=$ac_try;;
13783
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13784
$as_echo "$ac_try_echo") >&5
13785
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13787
grep -v '^ *+' conftest.er1 >conftest.err
13789
cat conftest.err >&5
13790
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791
(exit $ac_status); } >/dev/null && {
13792
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13793
test ! -s conftest.err
13795
ac_header_preproc=yes
13797
$as_echo "$as_me: failed program was:" >&5
13798
sed 's/^/| /' conftest.$ac_ext >&5
13800
ac_header_preproc=no
13803
rm -f conftest.err conftest.$ac_ext
13804
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13805
$as_echo "$ac_header_preproc" >&6; }
13807
# So? What about this header?
13808
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13810
{ $as_echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
13811
$as_echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13812
{ $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
13813
$as_echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
13814
ac_header_preproc=yes
13817
{ $as_echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
13818
$as_echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
13819
{ $as_echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
13820
$as_echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
13821
{ $as_echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
13822
$as_echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
13823
{ $as_echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
13824
$as_echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
13825
{ $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
13826
$as_echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
13827
{ $as_echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
13828
$as_echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
13830
## -------------------------------------------- ##
13831
## Report this to ubuntu-devel@lists.ubuntu.com ##
13832
## -------------------------------------------- ##
13834
) | sed "s/^/$as_me: WARNING: /" >&2
13837
{ $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
13838
$as_echo_n "checking for pthread.h... " >&6; }
13839
if test "${ac_cv_header_pthread_h+set}" = set; then
13840
$as_echo_n "(cached) " >&6
13842
ac_cv_header_pthread_h=$ac_header_preproc
13844
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
13845
$as_echo "$ac_cv_header_pthread_h" >&6; }
13848
if test "x$ac_cv_header_pthread_h" = x""yes; then
12227
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
12228
if test "x$ac_cv_header_pthread_h" = x""yes; then :
13849
12229
gl_have_pthread_h=yes
13851
12231
gl_have_pthread_h=no
14164
12420
# OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
14165
12421
# pthread_rwlock_* functions.
14166
{ $as_echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14167
$as_echo_n "checking for pthread_rwlock_t... " >&6; }
14168
if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14169
$as_echo_n "(cached) " >&6
14171
ac_cv_type_pthread_rwlock_t=no
14172
cat >conftest.$ac_ext <<_ACEOF
14175
cat confdefs.h >>conftest.$ac_ext
14176
cat >>conftest.$ac_ext <<_ACEOF
14177
/* end confdefs.h. */
14178
#include <pthread.h>
14183
if (sizeof (pthread_rwlock_t))
14189
rm -f conftest.$ac_objext
14190
if { (ac_try="$ac_compile"
14191
case "(($ac_try" in
14192
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14193
*) ac_try_echo=$ac_try;;
14195
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14196
$as_echo "$ac_try_echo") >&5
14197
(eval "$ac_compile") 2>conftest.er1
14199
grep -v '^ *+' conftest.er1 >conftest.err
14201
cat conftest.err >&5
14202
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203
(exit $ac_status); } && {
14204
test -z "$ac_c_werror_flag" ||
14205
test ! -s conftest.err
14206
} && test -s conftest.$ac_objext; then
14207
cat >conftest.$ac_ext <<_ACEOF
14210
cat confdefs.h >>conftest.$ac_ext
14211
cat >>conftest.$ac_ext <<_ACEOF
14212
/* end confdefs.h. */
14213
#include <pthread.h>
14218
if (sizeof ((pthread_rwlock_t)))
14224
rm -f conftest.$ac_objext
14225
if { (ac_try="$ac_compile"
14226
case "(($ac_try" in
14227
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14228
*) ac_try_echo=$ac_try;;
14230
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14231
$as_echo "$ac_try_echo") >&5
14232
(eval "$ac_compile") 2>conftest.er1
14234
grep -v '^ *+' conftest.er1 >conftest.err
14236
cat conftest.err >&5
14237
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238
(exit $ac_status); } && {
14239
test -z "$ac_c_werror_flag" ||
14240
test ! -s conftest.err
14241
} && test -s conftest.$ac_objext; then
14244
$as_echo "$as_me: failed program was:" >&5
14245
sed 's/^/| /' conftest.$ac_ext >&5
14247
ac_cv_type_pthread_rwlock_t=yes
14250
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14252
$as_echo "$as_me: failed program was:" >&5
14253
sed 's/^/| /' conftest.$ac_ext >&5
14258
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14260
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14261
$as_echo "$ac_cv_type_pthread_rwlock_t" >&6; }
14262
if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then
14264
cat >>confdefs.h <<\_ACEOF
14265
#define HAVE_PTHREAD_RWLOCK 1
12422
ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
12424
if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
12426
$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
14270
12430
# glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
14271
cat >conftest.$ac_ext <<_ACEOF
14274
cat confdefs.h >>conftest.$ac_ext
14275
cat >>conftest.$ac_ext <<_ACEOF
12431
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276
12432
/* end confdefs.h. */
14277
12433
#include <pthread.h>
15373
rm -f conftest.$ac_objext conftest$ac_exeext
15374
if { (ac_try="$ac_link"
15375
case "(($ac_try" in
15376
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15377
*) ac_try_echo=$ac_try;;
15379
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15380
$as_echo "$ac_try_echo") >&5
15381
(eval "$ac_link") 2>conftest.er1
15383
grep -v '^ *+' conftest.er1 >conftest.err
15385
cat conftest.err >&5
15386
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387
(exit $ac_status); } && {
15388
test -z "$ac_c_werror_flag" ||
15389
test ! -s conftest.err
15390
} && test -s conftest$ac_exeext && {
15391
test "$cross_compiling" = yes ||
15392
$as_test_x conftest$ac_exeext
15395
cat >>confdefs.h <<\_ACEOF
15396
#define HAVE_BUILTIN_EXPECT 1
15400
$as_echo "$as_me: failed program was:" >&5
15401
sed 's/^/| /' conftest.$ac_ext >&5
15406
rm -rf conftest.dSYM
15407
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15408
conftest$ac_exeext conftest.$ac_ext
15415
for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h
15417
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15418
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15419
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15420
$as_echo_n "checking for $ac_header... " >&6; }
15421
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15422
$as_echo_n "(cached) " >&6
15424
ac_res=`eval 'as_val=${'$as_ac_Header'}
15425
$as_echo "$as_val"'`
15426
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15427
$as_echo "$ac_res" >&6; }
15429
# Is the header compilable?
15430
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15431
$as_echo_n "checking $ac_header usability... " >&6; }
15432
cat >conftest.$ac_ext <<_ACEOF
15435
cat confdefs.h >>conftest.$ac_ext
15436
cat >>conftest.$ac_ext <<_ACEOF
15437
/* end confdefs.h. */
15438
$ac_includes_default
15439
#include <$ac_header>
15441
rm -f conftest.$ac_objext
15442
if { (ac_try="$ac_compile"
15443
case "(($ac_try" in
15444
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15445
*) ac_try_echo=$ac_try;;
15447
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15448
$as_echo "$ac_try_echo") >&5
15449
(eval "$ac_compile") 2>conftest.er1
15451
grep -v '^ *+' conftest.er1 >conftest.err
15453
cat conftest.err >&5
15454
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455
(exit $ac_status); } && {
15456
test -z "$ac_c_werror_flag" ||
15457
test ! -s conftest.err
15458
} && test -s conftest.$ac_objext; then
15459
ac_header_compiler=yes
15461
$as_echo "$as_me: failed program was:" >&5
15462
sed 's/^/| /' conftest.$ac_ext >&5
15464
ac_header_compiler=no
15467
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15468
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15469
$as_echo "$ac_header_compiler" >&6; }
15471
# Is the header present?
15472
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15473
$as_echo_n "checking $ac_header presence... " >&6; }
15474
cat >conftest.$ac_ext <<_ACEOF
15477
cat confdefs.h >>conftest.$ac_ext
15478
cat >>conftest.$ac_ext <<_ACEOF
15479
/* end confdefs.h. */
15480
#include <$ac_header>
15482
if { (ac_try="$ac_cpp conftest.$ac_ext"
15483
case "(($ac_try" in
15484
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485
*) ac_try_echo=$ac_try;;
15487
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15488
$as_echo "$ac_try_echo") >&5
15489
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15491
grep -v '^ *+' conftest.er1 >conftest.err
15493
cat conftest.err >&5
15494
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495
(exit $ac_status); } >/dev/null && {
15496
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15497
test ! -s conftest.err
15499
ac_header_preproc=yes
15501
$as_echo "$as_me: failed program was:" >&5
15502
sed 's/^/| /' conftest.$ac_ext >&5
15504
ac_header_preproc=no
15507
rm -f conftest.err conftest.$ac_ext
15508
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15509
$as_echo "$ac_header_preproc" >&6; }
15511
# So? What about this header?
15512
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15514
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15515
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15516
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15517
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15518
ac_header_preproc=yes
15521
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15522
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15523
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15524
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15525
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15526
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15527
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15528
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15529
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15530
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15531
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15532
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15534
## -------------------------------------------- ##
15535
## Report this to ubuntu-devel@lists.ubuntu.com ##
15536
## -------------------------------------------- ##
15538
) | sed "s/^/$as_me: WARNING: /" >&2
15541
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15542
$as_echo_n "checking for $ac_header... " >&6; }
15543
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15544
$as_echo_n "(cached) " >&6
15546
eval "$as_ac_Header=\$ac_header_preproc"
15548
ac_res=`eval 'as_val=${'$as_ac_Header'}
15549
$as_echo "$as_val"'`
15550
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15551
$as_echo "$ac_res" >&6; }
15554
as_val=`eval 'as_val=${'$as_ac_Header'}
15555
$as_echo "$as_val"'`
15556
if test "x$as_val" = x""yes; then
13428
if ac_fn_c_try_link "$LINENO"; then :
13430
$as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
13433
rm -f core conftest.err conftest.$ac_objext \
13434
conftest$ac_exeext conftest.$ac_ext
13436
for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h
13438
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13439
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13440
eval as_val=\$$as_ac_Header
13441
if test "x$as_val" = x""yes; then :
15557
13442
cat >>confdefs.h <<_ACEOF
15558
13443
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15581
for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \
13450
for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \
15582
13451
stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \
15583
13452
argz_next __fsetlocking
15585
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15587
$as_echo_n "checking for $ac_func... " >&6; }
15588
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15589
$as_echo_n "(cached) " >&6
15591
cat >conftest.$ac_ext <<_ACEOF
15594
cat confdefs.h >>conftest.$ac_ext
15595
cat >>conftest.$ac_ext <<_ACEOF
15596
/* end confdefs.h. */
15597
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15598
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15599
#define $ac_func innocuous_$ac_func
15601
/* System header to define __stub macros and hopefully few prototypes,
15602
which can conflict with char $ac_func (); below.
15603
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15604
<limits.h> exists even on freestanding compilers. */
15607
# include <limits.h>
15609
# include <assert.h>
15614
/* Override any GCC internal prototype to avoid an error.
15615
Use char because int might match the return type of a GCC
15616
builtin and then its argument prototype would still apply. */
15621
/* The GNU C library defines this for functions which it implements
15622
to always fail with ENOSYS. Some functions are actually named
15623
something starting with __ and the normal name is an alias. */
15624
#if defined __stub_$ac_func || defined __stub___$ac_func
15631
return $ac_func ();
15636
rm -f conftest.$ac_objext conftest$ac_exeext
15637
if { (ac_try="$ac_link"
15638
case "(($ac_try" in
15639
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15640
*) ac_try_echo=$ac_try;;
15642
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15643
$as_echo "$ac_try_echo") >&5
15644
(eval "$ac_link") 2>conftest.er1
15646
grep -v '^ *+' conftest.er1 >conftest.err
15648
cat conftest.err >&5
15649
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650
(exit $ac_status); } && {
15651
test -z "$ac_c_werror_flag" ||
15652
test ! -s conftest.err
15653
} && test -s conftest$ac_exeext && {
15654
test "$cross_compiling" = yes ||
15655
$as_test_x conftest$ac_exeext
15657
eval "$as_ac_var=yes"
15659
$as_echo "$as_me: failed program was:" >&5
15660
sed 's/^/| /' conftest.$ac_ext >&5
15662
eval "$as_ac_var=no"
15665
rm -rf conftest.dSYM
15666
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15667
conftest$ac_exeext conftest.$ac_ext
15669
ac_res=`eval 'as_val=${'$as_ac_var'}
15670
$as_echo "$as_val"'`
15671
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15672
$as_echo "$ac_res" >&6; }
15673
as_val=`eval 'as_val=${'$as_ac_var'}
15674
$as_echo "$as_val"'`
15675
if test "x$as_val" = x""yes; then
13454
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13455
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13456
eval as_val=\$$as_ac_var
13457
if test "x$as_val" = x""yes; then :
15676
13458
cat >>confdefs.h <<_ACEOF
15677
13459
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16651
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
14083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
16652
14084
$as_echo "$ac_cv_gnu_library_2_1" >&6; }
16654
14086
GLIBC21="$ac_cv_gnu_library_2_1"
16659
for ac_header in stdint.h
16661
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16662
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16663
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16664
$as_echo_n "checking for $ac_header... " >&6; }
16665
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16666
$as_echo_n "(cached) " >&6
16668
ac_res=`eval 'as_val=${'$as_ac_Header'}
16669
$as_echo "$as_val"'`
16670
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16671
$as_echo "$ac_res" >&6; }
16673
# Is the header compilable?
16674
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16675
$as_echo_n "checking $ac_header usability... " >&6; }
16676
cat >conftest.$ac_ext <<_ACEOF
16679
cat confdefs.h >>conftest.$ac_ext
16680
cat >>conftest.$ac_ext <<_ACEOF
16681
/* end confdefs.h. */
16682
$ac_includes_default
16683
#include <$ac_header>
16685
rm -f conftest.$ac_objext
16686
if { (ac_try="$ac_compile"
16687
case "(($ac_try" in
16688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16689
*) ac_try_echo=$ac_try;;
16691
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16692
$as_echo "$ac_try_echo") >&5
16693
(eval "$ac_compile") 2>conftest.er1
16695
grep -v '^ *+' conftest.er1 >conftest.err
16697
cat conftest.err >&5
16698
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699
(exit $ac_status); } && {
16700
test -z "$ac_c_werror_flag" ||
16701
test ! -s conftest.err
16702
} && test -s conftest.$ac_objext; then
16703
ac_header_compiler=yes
16705
$as_echo "$as_me: failed program was:" >&5
16706
sed 's/^/| /' conftest.$ac_ext >&5
16708
ac_header_compiler=no
16711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16712
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16713
$as_echo "$ac_header_compiler" >&6; }
16715
# Is the header present?
16716
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16717
$as_echo_n "checking $ac_header presence... " >&6; }
16718
cat >conftest.$ac_ext <<_ACEOF
16721
cat confdefs.h >>conftest.$ac_ext
16722
cat >>conftest.$ac_ext <<_ACEOF
16723
/* end confdefs.h. */
16724
#include <$ac_header>
16726
if { (ac_try="$ac_cpp conftest.$ac_ext"
16727
case "(($ac_try" in
16728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729
*) ac_try_echo=$ac_try;;
16731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16732
$as_echo "$ac_try_echo") >&5
16733
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16735
grep -v '^ *+' conftest.er1 >conftest.err
16737
cat conftest.err >&5
16738
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739
(exit $ac_status); } >/dev/null && {
16740
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16741
test ! -s conftest.err
16743
ac_header_preproc=yes
16745
$as_echo "$as_me: failed program was:" >&5
16746
sed 's/^/| /' conftest.$ac_ext >&5
16748
ac_header_preproc=no
16751
rm -f conftest.err conftest.$ac_ext
16752
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16753
$as_echo "$ac_header_preproc" >&6; }
16755
# So? What about this header?
16756
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16758
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16759
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16760
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16761
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16762
ac_header_preproc=yes
16765
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16766
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16767
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16768
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16769
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16770
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16771
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16772
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16773
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16774
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16775
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16776
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16778
## -------------------------------------------- ##
16779
## Report this to ubuntu-devel@lists.ubuntu.com ##
16780
## -------------------------------------------- ##
16782
) | sed "s/^/$as_me: WARNING: /" >&2
16785
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16786
$as_echo_n "checking for $ac_header... " >&6; }
16787
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16788
$as_echo_n "(cached) " >&6
16790
eval "$as_ac_Header=\$ac_header_preproc"
16792
ac_res=`eval 'as_val=${'$as_ac_Header'}
16793
$as_echo "$as_val"'`
16794
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16795
$as_echo "$ac_res" >&6; }
16798
as_val=`eval 'as_val=${'$as_ac_Header'}
16799
$as_echo "$as_val"'`
16800
if test "x$as_val" = x""yes; then
14090
for ac_header in stdint.h
14092
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14093
if test "x$ac_cv_header_stdint_h" = x""yes; then :
16801
14094
cat >>confdefs.h <<_ACEOF
16802
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14095
#define HAVE_STDINT_H 1
16809
{ $as_echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
14102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
16810
14103
$as_echo_n "checking for SIZE_MAX... " >&6; }
16811
if test "${gl_cv_size_max+set}" = set; then
14104
if test "${gl_cv_size_max+set}" = set; then :
16812
14105
$as_echo_n "(cached) " >&6
16815
14108
gl_cv_size_max=
16816
cat >conftest.$ac_ext <<_ACEOF
16819
cat confdefs.h >>conftest.$ac_ext
16820
cat >>conftest.$ac_ext <<_ACEOF
14109
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821
14110
/* end confdefs.h. */
16823
14112
#include <limits.h>
16832
14121
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16833
$EGREP "Found it" >/dev/null 2>&1; then
14122
$EGREP "Found it" >/dev/null 2>&1; then :
16834
14123
gl_cv_size_max=yes
16836
14125
rm -f conftest*
16838
14127
if test -z "$gl_cv_size_max"; then
16839
if test "$cross_compiling" = yes; then
16840
# Depending upon the size, compute the lo and hi bounds.
16841
cat >conftest.$ac_ext <<_ACEOF
16844
cat confdefs.h >>conftest.$ac_ext
16845
cat >>conftest.$ac_ext <<_ACEOF
16846
/* end confdefs.h. */
16847
#include <stddef.h>
16848
#include <limits.h>
16852
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= 0)];
16859
rm -f conftest.$ac_objext
16860
if { (ac_try="$ac_compile"
16861
case "(($ac_try" in
16862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863
*) ac_try_echo=$ac_try;;
16865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16866
$as_echo "$ac_try_echo") >&5
16867
(eval "$ac_compile") 2>conftest.er1
16869
grep -v '^ *+' conftest.er1 >conftest.err
16871
cat conftest.err >&5
16872
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873
(exit $ac_status); } && {
16874
test -z "$ac_c_werror_flag" ||
16875
test ! -s conftest.err
16876
} && test -s conftest.$ac_objext; then
16879
cat >conftest.$ac_ext <<_ACEOF
16882
cat confdefs.h >>conftest.$ac_ext
16883
cat >>conftest.$ac_ext <<_ACEOF
16884
/* end confdefs.h. */
16885
#include <stddef.h>
16886
#include <limits.h>
16890
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
16897
rm -f conftest.$ac_objext
16898
if { (ac_try="$ac_compile"
16899
case "(($ac_try" in
16900
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901
*) ac_try_echo=$ac_try;;
16903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16904
$as_echo "$ac_try_echo") >&5
16905
(eval "$ac_compile") 2>conftest.er1
16907
grep -v '^ *+' conftest.er1 >conftest.err
16909
cat conftest.err >&5
16910
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911
(exit $ac_status); } && {
16912
test -z "$ac_c_werror_flag" ||
16913
test ! -s conftest.err
16914
} && test -s conftest.$ac_objext; then
16915
ac_hi=$ac_mid; break
16917
$as_echo "$as_me: failed program was:" >&5
16918
sed 's/^/| /' conftest.$ac_ext >&5
16920
ac_lo=`expr $ac_mid + 1`
16921
if test $ac_lo -le $ac_mid; then
16925
ac_mid=`expr 2 '*' $ac_mid + 1`
16928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16931
$as_echo "$as_me: failed program was:" >&5
16932
sed 's/^/| /' conftest.$ac_ext >&5
16934
cat >conftest.$ac_ext <<_ACEOF
16937
cat confdefs.h >>conftest.$ac_ext
16938
cat >>conftest.$ac_ext <<_ACEOF
16939
/* end confdefs.h. */
16940
#include <stddef.h>
16941
#include <limits.h>
16945
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) < 0)];
16952
rm -f conftest.$ac_objext
16953
if { (ac_try="$ac_compile"
16954
case "(($ac_try" in
16955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16956
*) ac_try_echo=$ac_try;;
16958
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16959
$as_echo "$ac_try_echo") >&5
16960
(eval "$ac_compile") 2>conftest.er1
16962
grep -v '^ *+' conftest.er1 >conftest.err
16964
cat conftest.err >&5
16965
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966
(exit $ac_status); } && {
16967
test -z "$ac_c_werror_flag" ||
16968
test ! -s conftest.err
16969
} && test -s conftest.$ac_objext; then
16972
cat >conftest.$ac_ext <<_ACEOF
16975
cat confdefs.h >>conftest.$ac_ext
16976
cat >>conftest.$ac_ext <<_ACEOF
16977
/* end confdefs.h. */
16978
#include <stddef.h>
16979
#include <limits.h>
16983
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= $ac_mid)];
16990
rm -f conftest.$ac_objext
16991
if { (ac_try="$ac_compile"
16992
case "(($ac_try" in
16993
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16994
*) ac_try_echo=$ac_try;;
16996
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16997
$as_echo "$ac_try_echo") >&5
16998
(eval "$ac_compile") 2>conftest.er1
17000
grep -v '^ *+' conftest.er1 >conftest.err
17002
cat conftest.err >&5
17003
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004
(exit $ac_status); } && {
17005
test -z "$ac_c_werror_flag" ||
17006
test ! -s conftest.err
17007
} && test -s conftest.$ac_objext; then
17008
ac_lo=$ac_mid; break
17010
$as_echo "$as_me: failed program was:" >&5
17011
sed 's/^/| /' conftest.$ac_ext >&5
17013
ac_hi=`expr '(' $ac_mid ')' - 1`
17014
if test $ac_mid -le $ac_hi; then
17018
ac_mid=`expr 2 '*' $ac_mid`
17021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17024
$as_echo "$as_me: failed program was:" >&5
17025
sed 's/^/| /' conftest.$ac_ext >&5
17030
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17034
# Binary search between lo and hi bounds.
17035
while test "x$ac_lo" != "x$ac_hi"; do
17036
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17037
cat >conftest.$ac_ext <<_ACEOF
17040
cat confdefs.h >>conftest.$ac_ext
17041
cat >>conftest.$ac_ext <<_ACEOF
17042
/* end confdefs.h. */
17043
#include <stddef.h>
17044
#include <limits.h>
17048
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
17055
rm -f conftest.$ac_objext
17056
if { (ac_try="$ac_compile"
17057
case "(($ac_try" in
17058
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17059
*) ac_try_echo=$ac_try;;
17061
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17062
$as_echo "$ac_try_echo") >&5
17063
(eval "$ac_compile") 2>conftest.er1
17065
grep -v '^ *+' conftest.er1 >conftest.err
17067
cat conftest.err >&5
17068
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069
(exit $ac_status); } && {
17070
test -z "$ac_c_werror_flag" ||
17071
test ! -s conftest.err
17072
} && test -s conftest.$ac_objext; then
17075
$as_echo "$as_me: failed program was:" >&5
17076
sed 's/^/| /' conftest.$ac_ext >&5
17078
ac_lo=`expr '(' $ac_mid ')' + 1`
17081
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17084
?*) size_t_bits_minus_1=$ac_lo;;
17085
'') size_t_bits_minus_1= ;;
17088
cat >conftest.$ac_ext <<_ACEOF
17091
cat confdefs.h >>conftest.$ac_ext
17092
cat >>conftest.$ac_ext <<_ACEOF
17093
/* end confdefs.h. */
17094
#include <stddef.h>
17095
#include <limits.h>
17096
static long int longval () { return sizeof (size_t) * CHAR_BIT - 1; }
17097
static unsigned long int ulongval () { return sizeof (size_t) * CHAR_BIT - 1; }
17099
#include <stdlib.h>
17104
FILE *f = fopen ("conftest.val", "w");
17107
if ((sizeof (size_t) * CHAR_BIT - 1) < 0)
17109
long int i = longval ();
17110
if (i != (sizeof (size_t) * CHAR_BIT - 1))
17112
fprintf (f, "%ld", i);
17116
unsigned long int i = ulongval ();
17117
if (i != (sizeof (size_t) * CHAR_BIT - 1))
17119
fprintf (f, "%lu", i);
17121
/* Do not output a trailing newline, as this causes \r\n confusion
17122
on some platforms. */
17123
return ferror (f) || fclose (f) != 0;
17129
rm -f conftest$ac_exeext
17130
if { (ac_try="$ac_link"
17131
case "(($ac_try" in
17132
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17133
*) ac_try_echo=$ac_try;;
17135
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17136
$as_echo "$ac_try_echo") >&5
17137
(eval "$ac_link") 2>&5
17139
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17141
{ (case "(($ac_try" in
17142
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143
*) ac_try_echo=$ac_try;;
17145
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17146
$as_echo "$ac_try_echo") >&5
17147
(eval "$ac_try") 2>&5
17149
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150
(exit $ac_status); }; }; then
17151
size_t_bits_minus_1=`cat conftest.val`
17153
$as_echo "$as_me: program exited with status $ac_status" >&5
17154
$as_echo "$as_me: failed program was:" >&5
17155
sed 's/^/| /' conftest.$ac_ext >&5
17157
( exit $ac_status )
17158
size_t_bits_minus_1=
17160
rm -rf conftest.dSYM
17161
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17165
if test "$cross_compiling" = yes; then
17166
# Depending upon the size, compute the lo and hi bounds.
17167
cat >conftest.$ac_ext <<_ACEOF
17170
cat confdefs.h >>conftest.$ac_ext
17171
cat >>conftest.$ac_ext <<_ACEOF
17172
/* end confdefs.h. */
17173
#include <stddef.h>
17177
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
17184
rm -f conftest.$ac_objext
17185
if { (ac_try="$ac_compile"
17186
case "(($ac_try" in
17187
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17188
*) ac_try_echo=$ac_try;;
17190
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17191
$as_echo "$ac_try_echo") >&5
17192
(eval "$ac_compile") 2>conftest.er1
17194
grep -v '^ *+' conftest.er1 >conftest.err
17196
cat conftest.err >&5
17197
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198
(exit $ac_status); } && {
17199
test -z "$ac_c_werror_flag" ||
17200
test ! -s conftest.err
17201
} && test -s conftest.$ac_objext; then
17204
cat >conftest.$ac_ext <<_ACEOF
17207
cat confdefs.h >>conftest.$ac_ext
17208
cat >>conftest.$ac_ext <<_ACEOF
17209
/* end confdefs.h. */
17210
#include <stddef.h>
17214
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
17221
rm -f conftest.$ac_objext
17222
if { (ac_try="$ac_compile"
17223
case "(($ac_try" in
17224
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17225
*) ac_try_echo=$ac_try;;
17227
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17228
$as_echo "$ac_try_echo") >&5
17229
(eval "$ac_compile") 2>conftest.er1
17231
grep -v '^ *+' conftest.er1 >conftest.err
17233
cat conftest.err >&5
17234
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235
(exit $ac_status); } && {
17236
test -z "$ac_c_werror_flag" ||
17237
test ! -s conftest.err
17238
} && test -s conftest.$ac_objext; then
17239
ac_hi=$ac_mid; break
17241
$as_echo "$as_me: failed program was:" >&5
17242
sed 's/^/| /' conftest.$ac_ext >&5
17244
ac_lo=`expr $ac_mid + 1`
17245
if test $ac_lo -le $ac_mid; then
17249
ac_mid=`expr 2 '*' $ac_mid + 1`
17252
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255
$as_echo "$as_me: failed program was:" >&5
17256
sed 's/^/| /' conftest.$ac_ext >&5
17258
cat >conftest.$ac_ext <<_ACEOF
17261
cat confdefs.h >>conftest.$ac_ext
17262
cat >>conftest.$ac_ext <<_ACEOF
17263
/* end confdefs.h. */
17264
#include <stddef.h>
17268
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
17275
rm -f conftest.$ac_objext
17276
if { (ac_try="$ac_compile"
17277
case "(($ac_try" in
17278
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17279
*) ac_try_echo=$ac_try;;
17281
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17282
$as_echo "$ac_try_echo") >&5
17283
(eval "$ac_compile") 2>conftest.er1
17285
grep -v '^ *+' conftest.er1 >conftest.err
17287
cat conftest.err >&5
17288
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289
(exit $ac_status); } && {
17290
test -z "$ac_c_werror_flag" ||
17291
test ! -s conftest.err
17292
} && test -s conftest.$ac_objext; then
17295
cat >conftest.$ac_ext <<_ACEOF
17298
cat confdefs.h >>conftest.$ac_ext
17299
cat >>conftest.$ac_ext <<_ACEOF
17300
/* end confdefs.h. */
17301
#include <stddef.h>
17305
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
17312
rm -f conftest.$ac_objext
17313
if { (ac_try="$ac_compile"
17314
case "(($ac_try" in
17315
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17316
*) ac_try_echo=$ac_try;;
17318
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17319
$as_echo "$ac_try_echo") >&5
17320
(eval "$ac_compile") 2>conftest.er1
17322
grep -v '^ *+' conftest.er1 >conftest.err
17324
cat conftest.err >&5
17325
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326
(exit $ac_status); } && {
17327
test -z "$ac_c_werror_flag" ||
17328
test ! -s conftest.err
17329
} && test -s conftest.$ac_objext; then
17330
ac_lo=$ac_mid; break
17332
$as_echo "$as_me: failed program was:" >&5
17333
sed 's/^/| /' conftest.$ac_ext >&5
17335
ac_hi=`expr '(' $ac_mid ')' - 1`
17336
if test $ac_mid -le $ac_hi; then
17340
ac_mid=`expr 2 '*' $ac_mid`
17343
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17346
$as_echo "$as_me: failed program was:" >&5
17347
sed 's/^/| /' conftest.$ac_ext >&5
17352
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356
# Binary search between lo and hi bounds.
17357
while test "x$ac_lo" != "x$ac_hi"; do
17358
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17359
cat >conftest.$ac_ext <<_ACEOF
17362
cat confdefs.h >>conftest.$ac_ext
17363
cat >>conftest.$ac_ext <<_ACEOF
17364
/* end confdefs.h. */
17365
#include <stddef.h>
17369
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
17376
rm -f conftest.$ac_objext
17377
if { (ac_try="$ac_compile"
17378
case "(($ac_try" in
17379
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17380
*) ac_try_echo=$ac_try;;
17382
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17383
$as_echo "$ac_try_echo") >&5
17384
(eval "$ac_compile") 2>conftest.er1
17386
grep -v '^ *+' conftest.er1 >conftest.err
17388
cat conftest.err >&5
17389
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390
(exit $ac_status); } && {
17391
test -z "$ac_c_werror_flag" ||
17392
test ! -s conftest.err
17393
} && test -s conftest.$ac_objext; then
17396
$as_echo "$as_me: failed program was:" >&5
17397
sed 's/^/| /' conftest.$ac_ext >&5
17399
ac_lo=`expr '(' $ac_mid ')' + 1`
17402
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405
?*) fits_in_uint=$ac_lo;;
17406
'') fits_in_uint= ;;
17409
cat >conftest.$ac_ext <<_ACEOF
17412
cat confdefs.h >>conftest.$ac_ext
17413
cat >>conftest.$ac_ext <<_ACEOF
17414
/* end confdefs.h. */
17415
#include <stddef.h>
17416
static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
17417
static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
17419
#include <stdlib.h>
17424
FILE *f = fopen ("conftest.val", "w");
17427
if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
17429
long int i = longval ();
17430
if (i != (sizeof (size_t) <= sizeof (unsigned int)))
17432
fprintf (f, "%ld", i);
17436
unsigned long int i = ulongval ();
17437
if (i != (sizeof (size_t) <= sizeof (unsigned int)))
17439
fprintf (f, "%lu", i);
17441
/* Do not output a trailing newline, as this causes \r\n confusion
17442
on some platforms. */
17443
return ferror (f) || fclose (f) != 0;
17449
rm -f conftest$ac_exeext
17450
if { (ac_try="$ac_link"
17451
case "(($ac_try" in
17452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453
*) ac_try_echo=$ac_try;;
17455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17456
$as_echo "$ac_try_echo") >&5
17457
(eval "$ac_link") 2>&5
17459
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17461
{ (case "(($ac_try" in
17462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17463
*) ac_try_echo=$ac_try;;
17465
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17466
$as_echo "$ac_try_echo") >&5
17467
(eval "$ac_try") 2>&5
17469
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470
(exit $ac_status); }; }; then
17471
fits_in_uint=`cat conftest.val`
17473
$as_echo "$as_me: program exited with status $ac_status" >&5
17474
$as_echo "$as_me: failed program was:" >&5
17475
sed 's/^/| /' conftest.$ac_ext >&5
17477
( exit $ac_status )
17480
rm -rf conftest.dSYM
17481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14128
if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include <stddef.h>
14129
#include <limits.h>"; then :
14132
size_t_bits_minus_1=
14136
if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
17485
14143
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
17486
14144
if test $fits_in_uint = 1; then
17487
cat >conftest.$ac_ext <<_ACEOF
17490
cat confdefs.h >>conftest.$ac_ext
17491
cat >>conftest.$ac_ext <<_ACEOF
14145
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492
14146
/* end confdefs.h. */
17493
14147
#include <stddef.h>
17494
14148
extern size_t foo;
17559
for ac_header in stdint.h
17561
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17562
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17563
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17564
$as_echo_n "checking for $ac_header... " >&6; }
17565
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17566
$as_echo_n "(cached) " >&6
17568
ac_res=`eval 'as_val=${'$as_ac_Header'}
17569
$as_echo "$as_val"'`
17570
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17571
$as_echo "$ac_res" >&6; }
17573
# Is the header compilable?
17574
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17575
$as_echo_n "checking $ac_header usability... " >&6; }
17576
cat >conftest.$ac_ext <<_ACEOF
17579
cat confdefs.h >>conftest.$ac_ext
17580
cat >>conftest.$ac_ext <<_ACEOF
17581
/* end confdefs.h. */
17582
$ac_includes_default
17583
#include <$ac_header>
17585
rm -f conftest.$ac_objext
17586
if { (ac_try="$ac_compile"
17587
case "(($ac_try" in
17588
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17589
*) ac_try_echo=$ac_try;;
17591
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17592
$as_echo "$ac_try_echo") >&5
17593
(eval "$ac_compile") 2>conftest.er1
17595
grep -v '^ *+' conftest.er1 >conftest.err
17597
cat conftest.err >&5
17598
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599
(exit $ac_status); } && {
17600
test -z "$ac_c_werror_flag" ||
17601
test ! -s conftest.err
17602
} && test -s conftest.$ac_objext; then
17603
ac_header_compiler=yes
17605
$as_echo "$as_me: failed program was:" >&5
17606
sed 's/^/| /' conftest.$ac_ext >&5
17608
ac_header_compiler=no
17611
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17613
$as_echo "$ac_header_compiler" >&6; }
17615
# Is the header present?
17616
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17617
$as_echo_n "checking $ac_header presence... " >&6; }
17618
cat >conftest.$ac_ext <<_ACEOF
17621
cat confdefs.h >>conftest.$ac_ext
17622
cat >>conftest.$ac_ext <<_ACEOF
17623
/* end confdefs.h. */
17624
#include <$ac_header>
17626
if { (ac_try="$ac_cpp conftest.$ac_ext"
17627
case "(($ac_try" in
17628
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17629
*) ac_try_echo=$ac_try;;
17631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17632
$as_echo "$ac_try_echo") >&5
17633
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17635
grep -v '^ *+' conftest.er1 >conftest.err
17637
cat conftest.err >&5
17638
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639
(exit $ac_status); } >/dev/null && {
17640
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17641
test ! -s conftest.err
17643
ac_header_preproc=yes
17645
$as_echo "$as_me: failed program was:" >&5
17646
sed 's/^/| /' conftest.$ac_ext >&5
17648
ac_header_preproc=no
17651
rm -f conftest.err conftest.$ac_ext
17652
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17653
$as_echo "$ac_header_preproc" >&6; }
17655
# So? What about this header?
17656
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17658
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17659
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17660
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17661
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17662
ac_header_preproc=yes
17665
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17666
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17667
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17668
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17669
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17670
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17671
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17672
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17673
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17674
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17675
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17676
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17678
## -------------------------------------------- ##
17679
## Report this to ubuntu-devel@lists.ubuntu.com ##
17680
## -------------------------------------------- ##
17682
) | sed "s/^/$as_me: WARNING: /" >&2
17685
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17686
$as_echo_n "checking for $ac_header... " >&6; }
17687
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17688
$as_echo_n "(cached) " >&6
17690
eval "$as_ac_Header=\$ac_header_preproc"
17692
ac_res=`eval 'as_val=${'$as_ac_Header'}
17693
$as_echo "$as_val"'`
17694
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17695
$as_echo "$ac_res" >&6; }
17698
as_val=`eval 'as_val=${'$as_ac_Header'}
17699
$as_echo "$as_val"'`
17700
if test "x$as_val" = x""yes; then
14189
for ac_header in stdint.h
14191
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14192
if test "x$ac_cv_header_stdint_h" = x""yes; then :
17701
14193
cat >>confdefs.h <<_ACEOF
17702
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14194
#define HAVE_STDINT_H 1
17852
{ $as_echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
17853
$as_echo_n "checking for ptrdiff_t... " >&6; }
17854
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
17855
$as_echo_n "(cached) " >&6
17857
ac_cv_type_ptrdiff_t=no
17858
cat >conftest.$ac_ext <<_ACEOF
17861
cat confdefs.h >>conftest.$ac_ext
17862
cat >>conftest.$ac_ext <<_ACEOF
17863
/* end confdefs.h. */
17864
$ac_includes_default
17868
if (sizeof (ptrdiff_t))
17874
rm -f conftest.$ac_objext
17875
if { (ac_try="$ac_compile"
17876
case "(($ac_try" in
17877
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17878
*) ac_try_echo=$ac_try;;
17880
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17881
$as_echo "$ac_try_echo") >&5
17882
(eval "$ac_compile") 2>conftest.er1
17884
grep -v '^ *+' conftest.er1 >conftest.err
17886
cat conftest.err >&5
17887
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888
(exit $ac_status); } && {
17889
test -z "$ac_c_werror_flag" ||
17890
test ! -s conftest.err
17891
} && test -s conftest.$ac_objext; then
17892
cat >conftest.$ac_ext <<_ACEOF
17895
cat confdefs.h >>conftest.$ac_ext
17896
cat >>conftest.$ac_ext <<_ACEOF
17897
/* end confdefs.h. */
17898
$ac_includes_default
17902
if (sizeof ((ptrdiff_t)))
17908
rm -f conftest.$ac_objext
17909
if { (ac_try="$ac_compile"
17910
case "(($ac_try" in
17911
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17912
*) ac_try_echo=$ac_try;;
17914
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17915
$as_echo "$ac_try_echo") >&5
17916
(eval "$ac_compile") 2>conftest.er1
17918
grep -v '^ *+' conftest.er1 >conftest.err
17920
cat conftest.err >&5
17921
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922
(exit $ac_status); } && {
17923
test -z "$ac_c_werror_flag" ||
17924
test ! -s conftest.err
17925
} && test -s conftest.$ac_objext; then
17928
$as_echo "$as_me: failed program was:" >&5
17929
sed 's/^/| /' conftest.$ac_ext >&5
17931
ac_cv_type_ptrdiff_t=yes
17934
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17936
$as_echo "$as_me: failed program was:" >&5
17937
sed 's/^/| /' conftest.$ac_ext >&5
17942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
17945
$as_echo "$ac_cv_type_ptrdiff_t" >&6; }
17946
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then
17950
cat >>confdefs.h <<\_ACEOF
17951
#define ptrdiff_t long
17960
for ac_header in stddef.h stdlib.h string.h
17962
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17963
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17964
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17965
$as_echo_n "checking for $ac_header... " >&6; }
17966
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17967
$as_echo_n "(cached) " >&6
17969
ac_res=`eval 'as_val=${'$as_ac_Header'}
17970
$as_echo "$as_val"'`
17971
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17972
$as_echo "$ac_res" >&6; }
17974
# Is the header compilable?
17975
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17976
$as_echo_n "checking $ac_header usability... " >&6; }
17977
cat >conftest.$ac_ext <<_ACEOF
17980
cat confdefs.h >>conftest.$ac_ext
17981
cat >>conftest.$ac_ext <<_ACEOF
17982
/* end confdefs.h. */
17983
$ac_includes_default
17984
#include <$ac_header>
17986
rm -f conftest.$ac_objext
17987
if { (ac_try="$ac_compile"
17988
case "(($ac_try" in
17989
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17990
*) ac_try_echo=$ac_try;;
17992
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17993
$as_echo "$ac_try_echo") >&5
17994
(eval "$ac_compile") 2>conftest.er1
17996
grep -v '^ *+' conftest.er1 >conftest.err
17998
cat conftest.err >&5
17999
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000
(exit $ac_status); } && {
18001
test -z "$ac_c_werror_flag" ||
18002
test ! -s conftest.err
18003
} && test -s conftest.$ac_objext; then
18004
ac_header_compiler=yes
18006
$as_echo "$as_me: failed program was:" >&5
18007
sed 's/^/| /' conftest.$ac_ext >&5
18009
ac_header_compiler=no
18012
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18014
$as_echo "$ac_header_compiler" >&6; }
18016
# Is the header present?
18017
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18018
$as_echo_n "checking $ac_header presence... " >&6; }
18019
cat >conftest.$ac_ext <<_ACEOF
18022
cat confdefs.h >>conftest.$ac_ext
18023
cat >>conftest.$ac_ext <<_ACEOF
18024
/* end confdefs.h. */
18025
#include <$ac_header>
18027
if { (ac_try="$ac_cpp conftest.$ac_ext"
18028
case "(($ac_try" in
18029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030
*) ac_try_echo=$ac_try;;
18032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18033
$as_echo "$ac_try_echo") >&5
18034
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18036
grep -v '^ *+' conftest.er1 >conftest.err
18038
cat conftest.err >&5
18039
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040
(exit $ac_status); } >/dev/null && {
18041
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18042
test ! -s conftest.err
18044
ac_header_preproc=yes
18046
$as_echo "$as_me: failed program was:" >&5
18047
sed 's/^/| /' conftest.$ac_ext >&5
18049
ac_header_preproc=no
18052
rm -f conftest.err conftest.$ac_ext
18053
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18054
$as_echo "$ac_header_preproc" >&6; }
18056
# So? What about this header?
18057
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18059
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18060
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18061
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18062
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18063
ac_header_preproc=yes
18066
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18067
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18068
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18069
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18070
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18071
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18072
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18073
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18074
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18075
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18076
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18077
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18079
## -------------------------------------------- ##
18080
## Report this to ubuntu-devel@lists.ubuntu.com ##
18081
## -------------------------------------------- ##
18083
) | sed "s/^/$as_me: WARNING: /" >&2
18086
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18087
$as_echo_n "checking for $ac_header... " >&6; }
18088
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18089
$as_echo_n "(cached) " >&6
18091
eval "$as_ac_Header=\$ac_header_preproc"
18093
ac_res=`eval 'as_val=${'$as_ac_Header'}
18094
$as_echo "$as_val"'`
18095
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18096
$as_echo "$ac_res" >&6; }
18099
as_val=`eval 'as_val=${'$as_ac_Header'}
18100
$as_echo "$as_val"'`
18101
if test "x$as_val" = x""yes; then
14282
ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
14283
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
14287
$as_echo "#define ptrdiff_t long" >>confdefs.h
14292
for ac_header in stddef.h stdlib.h string.h
14294
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14295
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14296
eval as_val=\$$as_ac_Header
14297
if test "x$as_val" = x""yes; then :
18102
14298
cat >>confdefs.h <<_ACEOF
18103
14299
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18117
for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen
18119
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18120
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18121
$as_echo_n "checking for $ac_func... " >&6; }
18122
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18123
$as_echo_n "(cached) " >&6
18125
cat >conftest.$ac_ext <<_ACEOF
18128
cat confdefs.h >>conftest.$ac_ext
18129
cat >>conftest.$ac_ext <<_ACEOF
18130
/* end confdefs.h. */
18131
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18132
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18133
#define $ac_func innocuous_$ac_func
18135
/* System header to define __stub macros and hopefully few prototypes,
18136
which can conflict with char $ac_func (); below.
18137
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18138
<limits.h> exists even on freestanding compilers. */
18141
# include <limits.h>
18143
# include <assert.h>
18148
/* Override any GCC internal prototype to avoid an error.
18149
Use char because int might match the return type of a GCC
18150
builtin and then its argument prototype would still apply. */
18155
/* The GNU C library defines this for functions which it implements
18156
to always fail with ENOSYS. Some functions are actually named
18157
something starting with __ and the normal name is an alias. */
18158
#if defined __stub_$ac_func || defined __stub___$ac_func
18165
return $ac_func ();
18170
rm -f conftest.$ac_objext conftest$ac_exeext
18171
if { (ac_try="$ac_link"
18172
case "(($ac_try" in
18173
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18174
*) ac_try_echo=$ac_try;;
18176
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18177
$as_echo "$ac_try_echo") >&5
18178
(eval "$ac_link") 2>conftest.er1
18180
grep -v '^ *+' conftest.er1 >conftest.err
18182
cat conftest.err >&5
18183
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184
(exit $ac_status); } && {
18185
test -z "$ac_c_werror_flag" ||
18186
test ! -s conftest.err
18187
} && test -s conftest$ac_exeext && {
18188
test "$cross_compiling" = yes ||
18189
$as_test_x conftest$ac_exeext
18191
eval "$as_ac_var=yes"
18193
$as_echo "$as_me: failed program was:" >&5
18194
sed 's/^/| /' conftest.$ac_ext >&5
18196
eval "$as_ac_var=no"
18199
rm -rf conftest.dSYM
18200
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18201
conftest$ac_exeext conftest.$ac_ext
18203
ac_res=`eval 'as_val=${'$as_ac_var'}
18204
$as_echo "$as_val"'`
18205
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18206
$as_echo "$ac_res" >&6; }
18207
as_val=`eval 'as_val=${'$as_ac_var'}
18208
$as_echo "$as_val"'`
18209
if test "x$as_val" = x""yes; then
14306
for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen
14308
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14309
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14310
eval as_val=\$$as_ac_var
14311
if test "x$as_val" = x""yes; then :
18210
14312
cat >>confdefs.h <<_ACEOF
18211
14313
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19848
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15653
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19849
15654
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19850
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19851
See \`config.log' for more details." >&5
19852
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
19853
See \`config.log' for more details." >&2;}
19854
{ (exit 1); exit 1; }; }; }
15655
as_fn_error "no acceptable C compiler found in \$PATH
15656
See \`config.log' for more details." "$LINENO" 5; }
19856
15658
# Provide some information about the compiler.
19857
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
15659
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
19858
15660
set X $ac_compile
19859
15661
ac_compiler=$2
19860
{ (ac_try="$ac_compiler --version >&5"
19861
case "(($ac_try" in
19862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863
*) ac_try_echo=$ac_try;;
19865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19866
$as_echo "$ac_try_echo") >&5
19867
(eval "$ac_compiler --version >&5") 2>&5
19869
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870
(exit $ac_status); }
19871
{ (ac_try="$ac_compiler -v >&5"
19872
case "(($ac_try" in
19873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874
*) ac_try_echo=$ac_try;;
19876
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19877
$as_echo "$ac_try_echo") >&5
19878
(eval "$ac_compiler -v >&5") 2>&5
19880
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881
(exit $ac_status); }
19882
{ (ac_try="$ac_compiler -V >&5"
19883
case "(($ac_try" in
19884
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19885
*) ac_try_echo=$ac_try;;
19887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19888
$as_echo "$ac_try_echo") >&5
19889
(eval "$ac_compiler -V >&5") 2>&5
19891
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892
(exit $ac_status); }
15662
for ac_option in --version -v -V -qversion; do
15663
{ { ac_try="$ac_compiler $ac_option >&5"
15664
case "(($ac_try" in
15665
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15666
*) ac_try_echo=$ac_try;;
15668
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15669
$as_echo "$ac_try_echo"; } >&5
15670
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
15672
if test -s conftest.err; then
15674
... rest of stderr output deleted ...
15675
10q' conftest.err >conftest.er1
15676
cat conftest.er1 >&5
15677
rm -f conftest.er1 conftest.err
15679
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15680
test $ac_status = 0; }
19894
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
19895
15684
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
19896
if test "${ac_cv_c_compiler_gnu+set}" = set; then
15685
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
19897
15686
$as_echo_n "(cached) " >&6
19899
cat >conftest.$ac_ext <<_ACEOF
19902
cat confdefs.h >>conftest.$ac_ext
19903
cat >>conftest.$ac_ext <<_ACEOF
15688
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904
15689
/* end confdefs.h. */
20262
15920
# existing .o file with -o, though they will create one.
20263
15921
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20264
15922
rm -f conftest2.*
20265
if { (case "(($ac_try" in
20266
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20267
*) ac_try_echo=$ac_try;;
20269
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20270
$as_echo "$ac_try_echo") >&5
20271
(eval "$ac_try") 2>&5
20273
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274
(exit $ac_status); } &&
20275
test -f conftest2.$ac_objext && { (case "(($ac_try" in
20276
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20277
*) ac_try_echo=$ac_try;;
20279
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20280
$as_echo "$ac_try_echo") >&5
20281
(eval "$ac_try") 2>&5
20283
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284
(exit $ac_status); };
15923
if { { case "(($ac_try" in
15924
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15925
*) ac_try_echo=$ac_try;;
15927
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15928
$as_echo "$ac_try_echo"; } >&5
15929
(eval "$ac_try") 2>&5
15931
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15932
test $ac_status = 0; } &&
15933
test -f conftest2.$ac_objext && { { case "(($ac_try" in
15934
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935
*) ac_try_echo=$ac_try;;
15937
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15938
$as_echo "$ac_try_echo"; } >&5
15939
(eval "$ac_try") 2>&5
15941
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15942
test $ac_status = 0; };
20286
15944
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
20287
15945
if test "x$CC" != xcc; then
20288
15946
# Test first that cc exists at all.
20289
15947
if { ac_try='cc -c conftest.$ac_ext >&5'
20290
{ (case "(($ac_try" in
15948
{ { case "(($ac_try" in
20291
15949
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20292
15950
*) ac_try_echo=$ac_try;;
20294
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20295
$as_echo "$ac_try_echo") >&5
15952
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15953
$as_echo "$ac_try_echo"; } >&5
20296
15954
(eval "$ac_try") 2>&5
20298
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299
(exit $ac_status); }; }; then
15956
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15957
test $ac_status = 0; }; }; then
20300
15958
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20301
15959
rm -f conftest2.*
20302
if { (case "(($ac_try" in
20303
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20304
*) ac_try_echo=$ac_try;;
20306
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20307
$as_echo "$ac_try_echo") >&5
20308
(eval "$ac_try") 2>&5
20310
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311
(exit $ac_status); } &&
20312
test -f conftest2.$ac_objext && { (case "(($ac_try" in
20313
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20314
*) ac_try_echo=$ac_try;;
20316
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20317
$as_echo "$ac_try_echo") >&5
20318
(eval "$ac_try") 2>&5
20320
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321
(exit $ac_status); };
15960
if { { case "(($ac_try" in
15961
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15962
*) ac_try_echo=$ac_try;;
15964
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15965
$as_echo "$ac_try_echo"; } >&5
15966
(eval "$ac_try") 2>&5
15968
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15969
test $ac_status = 0; } &&
15970
test -f conftest2.$ac_objext && { { case "(($ac_try" in
15971
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15972
*) ac_try_echo=$ac_try;;
15974
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15975
$as_echo "$ac_try_echo"; } >&5
15976
(eval "$ac_try") 2>&5
15978
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15979
test $ac_status = 0; };
20323
15981
# cc works too.
20672
16328
# Put the nasty error message in config.log where it belongs
20673
16329
echo "$DBUS_PKG_ERRORS" >&5
20675
{ { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-1 >= 1.2.16) were not met:
20679
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20680
installed software in a non-standard prefix.
20682
Alternatively, you may set the environment variables DBUS_CFLAGS
20683
and DBUS_LIBS to avoid the need to call pkg-config.
20684
See the pkg-config man page for more details.
20686
$as_echo "$as_me: error: Package requirements (dbus-1 >= 1.2.16) were not met:
20690
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20691
installed software in a non-standard prefix.
20693
Alternatively, you may set the environment variables DBUS_CFLAGS
20694
and DBUS_LIBS to avoid the need to call pkg-config.
20695
See the pkg-config man page for more details.
20697
{ (exit 1); exit 1; }; }
16331
as_fn_error "Package requirements (dbus-1 >= 1.2.16) were not met:
16335
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16336
installed software in a non-standard prefix.
16338
Alternatively, you may set the environment variables DBUS_CFLAGS
16339
and DBUS_LIBS to avoid the need to call pkg-config.
16340
See the pkg-config man page for more details.
20698
16342
elif test $pkg_failed = untried; then
20699
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16343
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20700
16344
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20701
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20702
is in your PATH or set the PKG_CONFIG environment variable to the full
20703
path to pkg-config.
20705
Alternatively, you may set the environment variables DBUS_CFLAGS
20706
and DBUS_LIBS to avoid the need to call pkg-config.
20707
See the pkg-config man page for more details.
20709
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20710
See \`config.log' for more details." >&5
20711
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20712
is in your PATH or set the PKG_CONFIG environment variable to the full
20713
path to pkg-config.
20715
Alternatively, you may set the environment variables DBUS_CFLAGS
20716
and DBUS_LIBS to avoid the need to call pkg-config.
20717
See the pkg-config man page for more details.
20719
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20720
See \`config.log' for more details." >&2;}
20721
{ (exit 1); exit 1; }; }; }
16345
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
16346
is in your PATH or set the PKG_CONFIG environment variable to the full
16347
path to pkg-config.
16349
Alternatively, you may set the environment variables DBUS_CFLAGS
16350
and DBUS_LIBS to avoid the need to call pkg-config.
16351
See the pkg-config man page for more details.
16353
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16354
See \`config.log' for more details." "$LINENO" 5; }
20723
16356
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
20724
16357
DBUS_LIBS=$pkg_cv_DBUS_LIBS
20725
{ $as_echo "$as_me:$LINENO: result: yes" >&5
16358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20726
16359
$as_echo "yes" >&6; }
20729
{ $as_echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
16362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
20730
16363
$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
20731
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
16364
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
20732
16365
$as_echo_n "(cached) " >&6
20734
16367
ac_check_lib_save_LIBS=$LIBS
20735
16368
LIBS="-lexpat $LIBS"
20736
cat >conftest.$ac_ext <<_ACEOF
20739
cat confdefs.h >>conftest.$ac_ext
20740
cat >>conftest.$ac_ext <<_ACEOF
16369
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20741
16370
/* end confdefs.h. */
20743
16372
/* Override any GCC internal prototype to avoid an error.
21106
16617
# Checks for header files.
21108
16618
for ac_header in valgrind/valgrind.h
21110
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21111
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21112
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21113
$as_echo_n "checking for $ac_header... " >&6; }
21114
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21115
$as_echo_n "(cached) " >&6
21117
ac_res=`eval 'as_val=${'$as_ac_Header'}
21118
$as_echo "$as_val"'`
21119
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21120
$as_echo "$ac_res" >&6; }
21122
# Is the header compilable?
21123
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21124
$as_echo_n "checking $ac_header usability... " >&6; }
21125
cat >conftest.$ac_ext <<_ACEOF
21128
cat confdefs.h >>conftest.$ac_ext
21129
cat >>conftest.$ac_ext <<_ACEOF
21130
/* end confdefs.h. */
21131
$ac_includes_default
21132
#include <$ac_header>
21134
rm -f conftest.$ac_objext
21135
if { (ac_try="$ac_compile"
21136
case "(($ac_try" in
21137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21138
*) ac_try_echo=$ac_try;;
21140
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21141
$as_echo "$ac_try_echo") >&5
21142
(eval "$ac_compile") 2>conftest.er1
21144
grep -v '^ *+' conftest.er1 >conftest.err
21146
cat conftest.err >&5
21147
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148
(exit $ac_status); } && {
21149
test -z "$ac_c_werror_flag" ||
21150
test ! -s conftest.err
21151
} && test -s conftest.$ac_objext; then
21152
ac_header_compiler=yes
21154
$as_echo "$as_me: failed program was:" >&5
21155
sed 's/^/| /' conftest.$ac_ext >&5
21157
ac_header_compiler=no
21160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21161
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21162
$as_echo "$ac_header_compiler" >&6; }
21164
# Is the header present?
21165
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21166
$as_echo_n "checking $ac_header presence... " >&6; }
21167
cat >conftest.$ac_ext <<_ACEOF
21170
cat confdefs.h >>conftest.$ac_ext
21171
cat >>conftest.$ac_ext <<_ACEOF
21172
/* end confdefs.h. */
21173
#include <$ac_header>
21175
if { (ac_try="$ac_cpp conftest.$ac_ext"
21176
case "(($ac_try" in
21177
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21178
*) ac_try_echo=$ac_try;;
21180
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21181
$as_echo "$ac_try_echo") >&5
21182
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21184
grep -v '^ *+' conftest.er1 >conftest.err
21186
cat conftest.err >&5
21187
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188
(exit $ac_status); } >/dev/null && {
21189
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21190
test ! -s conftest.err
21192
ac_header_preproc=yes
21194
$as_echo "$as_me: failed program was:" >&5
21195
sed 's/^/| /' conftest.$ac_ext >&5
21197
ac_header_preproc=no
21200
rm -f conftest.err conftest.$ac_ext
21201
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21202
$as_echo "$ac_header_preproc" >&6; }
21204
# So? What about this header?
21205
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21207
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21208
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21209
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21210
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21211
ac_header_preproc=yes
21214
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21215
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21216
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21217
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21218
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21219
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21220
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21221
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21222
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21223
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21224
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21225
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21227
## -------------------------------------------- ##
21228
## Report this to ubuntu-devel@lists.ubuntu.com ##
21229
## -------------------------------------------- ##
21231
) | sed "s/^/$as_me: WARNING: /" >&2
21234
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21235
$as_echo_n "checking for $ac_header... " >&6; }
21236
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21237
$as_echo_n "(cached) " >&6
21239
eval "$as_ac_Header=\$ac_header_preproc"
21241
ac_res=`eval 'as_val=${'$as_ac_Header'}
21242
$as_echo "$as_val"'`
21243
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21244
$as_echo "$ac_res" >&6; }
21247
as_val=`eval 'as_val=${'$as_ac_Header'}
21248
$as_echo "$as_val"'`
21249
if test "x$as_val" = x""yes; then
16620
ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
16621
if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then :
21250
16622
cat >>confdefs.h <<_ACEOF
21251
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16623
#define HAVE_VALGRIND_VALGRIND_H 1
21504
rm -f conftest.$ac_objext
21505
if { (ac_try="$ac_compile"
21506
case "(($ac_try" in
21507
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508
*) ac_try_echo=$ac_try;;
21510
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21511
$as_echo "$ac_try_echo") >&5
21512
(eval "$ac_compile") 2>conftest.er1
21514
grep -v '^ *+' conftest.er1 >conftest.err
21516
cat conftest.err >&5
21517
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518
(exit $ac_status); } && {
21519
test -z "$ac_c_werror_flag" ||
21520
test ! -s conftest.err
21521
} && test -s conftest.$ac_objext; then
16847
if ac_fn_c_try_compile "$LINENO"; then :
21522
16848
nih_cv_c_thread=yes
21524
$as_echo "$as_me: failed program was:" >&5
21525
sed 's/^/| /' conftest.$ac_ext >&5
21530
16852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532
{ $as_echo "$as_me:$LINENO: result: $nih_cv_c_thread" >&5
16854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $nih_cv_c_thread" >&5
21533
16855
$as_echo "$nih_cv_c_thread" >&6; }
21534
if test "x$nih_cv_c_thread" = "xno"; then
16856
if test "x$nih_cv_c_thread" = "xno"; then :
21536
cat >>confdefs.h <<\_ACEOF
21537
#define __thread /**/
16858
$as_echo "#define __thread /**/" >>confdefs.h
21543
cat >>confdefs.h <<\_ACEOF
21544
#define __thread /**/
16862
$as_echo "#define __thread /**/" >>confdefs.h
21550
16866
# Other checks
21551
16867
# Check whether --enable-compiler-warnings was given.
21552
if test "${enable_compiler_warnings+set}" = set; then
21553
enableval=$enable_compiler_warnings; if test "x$enable_compiler_warnings" = "xyes"; then
21554
if test "x$GCC" = "xyes"; then
16868
if test "${enable_compiler_warnings+set}" = set; then :
16869
enableval=$enable_compiler_warnings; if test "x$enable_compiler_warnings" = "xyes"; then :
16870
if test "x$GCC" = "xyes"; then :
21555
16871
CFLAGS="-Wall -Wextra -Wno-empty-body -Wno-missing-field-initializers -Wno-unused-parameter -Wformat-security -Werror -D_FORTIFY_SOURCE=2 $CFLAGS"
21558
if test "x$GXX" = "xyes"; then
16873
if test "x$GXX" = "xyes"; then :
21559
16874
CXXFLAGS="-Wall -Wextra -Wno-empty-body -Wno-missing-field-initializers -Wno-unused-parameter -Wformat-security -Werror -D_FORTIFY_SOURCE=2 $CXXFLAGS"
21567
16880
# Check whether --enable-compiler-optimisations was given.
21568
if test "${enable_compiler_optimisations+set}" = set; then
21569
enableval=$enable_compiler_optimisations; if test "x$enable_compiler_optimisations" = "xno"; then
16881
if test "${enable_compiler_optimisations+set}" = set; then :
16882
enableval=$enable_compiler_optimisations; if test "x$enable_compiler_optimisations" = "xno"; then :
21570
16883
CFLAGS=`echo "$CFLAGS" | sed -e "s/ -O[1-9s]*\b/ -O0/g"`
21571
16884
CXXFLAGS=`echo "$CXXFLAGS" | sed -e "s/ -O[1-9s]*\b/ -O0/g"`
21577
16889
# Check whether --enable-compiler-coverage was given.
21578
if test "${enable_compiler_coverage+set}" = set; then
21579
enableval=$enable_compiler_coverage; if test "x$enable_compiler_coverage" = "xyes"; then
21580
if test "x$GCC" = "xyes"; then
16890
if test "${enable_compiler_coverage+set}" = set; then :
16891
enableval=$enable_compiler_coverage; if test "x$enable_compiler_coverage" = "xyes"; then :
16892
if test "x$GCC" = "xyes"; then :
21581
16893
CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
21584
if test "x$GXX" = "xyes"; then
16895
if test "x$GXX" = "xyes"; then :
21585
16896
CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
21594
16903
# Check whether --enable-linker-optimisations was given.
21595
if test "${enable_linker_optimisations+set}" = set; then
21596
enableval=$enable_linker_optimisations; if test "x$enable_linker_optimisations" = "xno"; then
16904
if test "${enable_linker_optimisations+set}" = set; then :
16905
enableval=$enable_linker_optimisations; if test "x$enable_linker_optimisations" = "xno"; then :
21597
16906
LDFLAGS=`echo "$LDFLAGS" | sed -e "s/ -Wl,-O0-9*\b//g"`
21599
16908
LDFLAGS="$LDFLAGS -Wl,-O1"
21605
{ $as_echo "$as_me:$LINENO: checking for linker version script argument" >&5
16913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker version script argument" >&5
21606
16914
$as_echo_n "checking for linker version script argument... " >&6; }
21607
if test "${nih_cv_version_script+set}" = set; then
16915
if test "${nih_cv_version_script+set}" = set; then :
21608
16916
$as_echo_n "(cached) " >&6
21610
16918
nih_cv_version_script=none
22116
17234
# Put the nasty error message in config.log where it belongs
22117
17235
echo "$UDEV_PKG_ERRORS" >&5
22119
{ { $as_echo "$as_me:$LINENO: error: Package requirements (libudev >= 146) were not met:
22123
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22124
installed software in a non-standard prefix.
22126
Alternatively, you may set the environment variables UDEV_CFLAGS
22127
and UDEV_LIBS to avoid the need to call pkg-config.
22128
See the pkg-config man page for more details.
22130
$as_echo "$as_me: error: Package requirements (libudev >= 146) were not met:
22134
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22135
installed software in a non-standard prefix.
22137
Alternatively, you may set the environment variables UDEV_CFLAGS
22138
and UDEV_LIBS to avoid the need to call pkg-config.
22139
See the pkg-config man page for more details.
22141
{ (exit 1); exit 1; }; }
17237
as_fn_error "Package requirements (libudev >= 146) were not met:
17241
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17242
installed software in a non-standard prefix.
17244
Alternatively, you may set the environment variables UDEV_CFLAGS
17245
and UDEV_LIBS to avoid the need to call pkg-config.
17246
See the pkg-config man page for more details.
22142
17248
elif test $pkg_failed = untried; then
22143
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17249
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22144
17250
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22145
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
22146
is in your PATH or set the PKG_CONFIG environment variable to the full
22147
path to pkg-config.
22149
Alternatively, you may set the environment variables UDEV_CFLAGS
22150
and UDEV_LIBS to avoid the need to call pkg-config.
22151
See the pkg-config man page for more details.
22153
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22154
See \`config.log' for more details." >&5
22155
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
22156
is in your PATH or set the PKG_CONFIG environment variable to the full
22157
path to pkg-config.
22159
Alternatively, you may set the environment variables UDEV_CFLAGS
22160
and UDEV_LIBS to avoid the need to call pkg-config.
22161
See the pkg-config man page for more details.
22163
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22164
See \`config.log' for more details." >&2;}
22165
{ (exit 1); exit 1; }; }; }
17251
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
17252
is in your PATH or set the PKG_CONFIG environment variable to the full
17253
path to pkg-config.
17255
Alternatively, you may set the environment variables UDEV_CFLAGS
17256
and UDEV_LIBS to avoid the need to call pkg-config.
17257
See the pkg-config man page for more details.
17259
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17260
See \`config.log' for more details." "$LINENO" 5; }
22167
17262
UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
22168
17263
UDEV_LIBS=$pkg_cv_UDEV_LIBS
22169
{ $as_echo "$as_me:$LINENO: result: yes" >&5
17264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22170
17265
$as_echo "yes" >&6; }