136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
138
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
177
178
as_have_required=yes
179
180
as_have_required=no
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
190
test -z "$as_dir" && as_dir=.
249
194
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
export CONFIG_SHELL
368
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=cups-pk-helper
235
$0: about your system, including any error possibly output
236
$0: before this message. Then install a modern shell, or
237
$0: manually run the script under such a shell if you do
244
SHELL=${CONFIG_SHELL-/bin/sh}
246
# Unset more variables known to interfere with behavior of common tools.
247
CLICOLOR_FORCE= GREP_OPTIONS=
248
unset CLICOLOR_FORCE GREP_OPTIONS
250
## --------------------- ##
251
## M4sh Shell Functions. ##
252
## --------------------- ##
255
# Portably unset VAR.
258
{ eval $1=; unset $1;}
262
# as_fn_set_status STATUS
263
# -----------------------
264
# Set $? to STATUS, without forking.
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282
# Create "$as_dir" as a directory, including parents if necessary.
287
-*) as_dir=./$as_dir;;
289
test -d "$as_dir" || eval $as_mkdir_p || {
293
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
as_dirs="'$as_qdir' $as_dirs"
297
as_dir=`$as_dirname -- "$as_dir" ||
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299
X"$as_dir" : 'X\(//\)[^/]' \| \
300
X"$as_dir" : 'X\(//\)$' \| \
301
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302
$as_echo X"$as_dir" |
303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
test -d "$as_dir" && break
322
test -z "$as_dirs" || eval "mkdir $as_dirs"
323
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
327
# as_fn_append VAR VALUE
328
# ----------------------
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
330
# advantage of any shell optimizations that allow amortized linear growth over
331
# repeated appends, instead of the typical quadratic growth present in naive
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334
eval 'as_fn_append ()
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
349
# must be portable across $(()) and expr.
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358
as_val=`expr "$@" || test $? -eq 1`
363
# as_fn_error ERROR [LINENO LOG_FD]
364
# ---------------------------------
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with status $?, using 1 if that was 0.
370
as_status=$?; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375
$as_echo "$as_me: error: $1" >&2
376
as_fn_exit $as_status
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
380
test "X`expr 00001 : '.*\(...\)'`" = X001; then
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398
as_me=`$as_basename -- "$0" ||
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400
X"$0" : 'X\(//\)$' \| \
401
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
sed '/^.*\/\([^/][^/]*\)\/*$/{
417
# Avoid depending upon Character Ranges.
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421
as_cr_digits='0123456789'
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
425
as_lineno_1=$LINENO as_lineno_1a=$LINENO
426
as_lineno_2=$LINENO as_lineno_2a=$LINENO
427
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1721
1678
test -n "$ac_init_help" && exit $ac_status
1722
1679
if $ac_init_version; then
1724
cups-pk-helper configure 0.1.0
1725
generated by GNU Autoconf 2.63
1681
cups-pk-helper configure 0.1.2
1682
generated by GNU Autoconf 2.65
1727
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1728
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1684
Copyright (C) 2009 Free Software Foundation, Inc.
1729
1685
This configure script is free software; the Free Software Foundation
1730
1686
gives unlimited permission to copy, distribute and modify it.
1691
## ------------------------ ##
1692
## Autoconf initialization. ##
1693
## ------------------------ ##
1695
# ac_fn_c_try_compile LINENO
1696
# --------------------------
1697
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1698
ac_fn_c_try_compile ()
1700
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701
rm -f conftest.$ac_objext
1702
if { { ac_try="$ac_compile"
1704
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705
*) ac_try_echo=$ac_try;;
1707
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708
$as_echo "$ac_try_echo"; } >&5
1709
(eval "$ac_compile") 2>conftest.err
1711
if test -s conftest.err; then
1712
grep -v '^ *+' conftest.err >conftest.er1
1713
cat conftest.er1 >&5
1714
mv -f conftest.er1 conftest.err
1716
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717
test $ac_status = 0; } && {
1718
test -z "$ac_c_werror_flag" ||
1719
test ! -s conftest.err
1720
} && test -s conftest.$ac_objext; then :
1723
$as_echo "$as_me: failed program was:" >&5
1724
sed 's/^/| /' conftest.$ac_ext >&5
1728
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729
as_fn_set_status $ac_retval
1731
} # ac_fn_c_try_compile
1733
# ac_fn_c_try_link LINENO
1734
# -----------------------
1735
# Try to link conftest.$ac_ext, and return whether this succeeded.
1738
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739
rm -f conftest.$ac_objext conftest$ac_exeext
1740
if { { ac_try="$ac_link"
1742
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1743
*) ac_try_echo=$ac_try;;
1745
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746
$as_echo "$ac_try_echo"; } >&5
1747
(eval "$ac_link") 2>conftest.err
1749
if test -s conftest.err; then
1750
grep -v '^ *+' conftest.err >conftest.er1
1751
cat conftest.er1 >&5
1752
mv -f conftest.er1 conftest.err
1754
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755
test $ac_status = 0; } && {
1756
test -z "$ac_c_werror_flag" ||
1757
test ! -s conftest.err
1758
} && test -s conftest$ac_exeext && {
1759
test "$cross_compiling" = yes ||
1760
$as_test_x conftest$ac_exeext
1764
$as_echo "$as_me: failed program was:" >&5
1765
sed 's/^/| /' conftest.$ac_ext >&5
1769
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1770
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1771
# interfere with the next link command; also delete a directory that is
1772
# left behind by Apple's compiler. We do this before executing the actions.
1773
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775
as_fn_set_status $ac_retval
1777
} # ac_fn_c_try_link
1779
# ac_fn_c_try_cpp LINENO
1780
# ----------------------
1781
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1784
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785
if { { ac_try="$ac_cpp conftest.$ac_ext"
1787
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788
*) ac_try_echo=$ac_try;;
1790
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791
$as_echo "$ac_try_echo"; } >&5
1792
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1794
if test -s conftest.err; then
1795
grep -v '^ *+' conftest.err >conftest.er1
1796
cat conftest.er1 >&5
1797
mv -f conftest.er1 conftest.err
1799
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800
test $ac_status = 0; } >/dev/null && {
1801
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802
test ! -s conftest.err
1806
$as_echo "$as_me: failed program was:" >&5
1807
sed 's/^/| /' conftest.$ac_ext >&5
1811
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812
as_fn_set_status $ac_retval
1816
# ac_fn_c_try_run LINENO
1817
# ----------------------
1818
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1819
# that executables *can* be run.
1822
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823
if { { ac_try="$ac_link"
1825
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826
*) ac_try_echo=$ac_try;;
1828
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829
$as_echo "$ac_try_echo"; } >&5
1830
(eval "$ac_link") 2>&5
1832
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1834
{ { case "(($ac_try" in
1835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
*) ac_try_echo=$ac_try;;
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839
$as_echo "$ac_try_echo"; } >&5
1840
(eval "$ac_try") 2>&5
1842
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843
test $ac_status = 0; }; }; then :
1846
$as_echo "$as_me: program exited with status $ac_status" >&5
1847
$as_echo "$as_me: failed program was:" >&5
1848
sed 's/^/| /' conftest.$ac_ext >&5
1850
ac_retval=$ac_status
1852
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1854
as_fn_set_status $ac_retval
1858
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1859
# -------------------------------------------------------
1860
# Tests whether HEADER exists and can be compiled using the include files in
1861
# INCLUDES, setting the cache variable VAR accordingly.
1862
ac_fn_c_check_header_compile ()
1864
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866
$as_echo_n "checking for $2... " >&6; }
1867
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1868
$as_echo_n "(cached) " >&6
1870
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871
/* end confdefs.h. */
1875
if ac_fn_c_try_compile "$LINENO"; then :
1880
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884
$as_echo "$ac_res" >&6; }
1885
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887
} # ac_fn_c_check_header_compile
1889
# ac_fn_c_check_func LINENO FUNC VAR
1890
# ----------------------------------
1891
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1892
ac_fn_c_check_func ()
1894
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896
$as_echo_n "checking for $2... " >&6; }
1897
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1898
$as_echo_n "(cached) " >&6
1900
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901
/* end confdefs.h. */
1902
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1903
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1904
#define $2 innocuous_$2
1906
/* System header to define __stub macros and hopefully few prototypes,
1907
which can conflict with char $2 (); below.
1908
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1909
<limits.h> exists even on freestanding compilers. */
1912
# include <limits.h>
1914
# include <assert.h>
1919
/* Override any GCC internal prototype to avoid an error.
1920
Use char because int might match the return type of a GCC
1921
builtin and then its argument prototype would still apply. */
1926
/* The GNU C library defines this for functions which it implements
1927
to always fail with ENOSYS. Some functions are actually named
1928
something starting with __ and the normal name is an alias. */
1929
#if defined __stub_$2 || defined __stub___$2
1941
if ac_fn_c_try_link "$LINENO"; then :
1946
rm -f core conftest.err conftest.$ac_objext \
1947
conftest$ac_exeext conftest.$ac_ext
1950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951
$as_echo "$ac_res" >&6; }
1952
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1954
} # ac_fn_c_check_func
1956
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1957
# -------------------------------------------------------
1958
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1959
# the include files in INCLUDES and setting the cache variable VAR
1961
ac_fn_c_check_header_mongrel ()
1963
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966
$as_echo_n "checking for $2... " >&6; }
1967
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1968
$as_echo_n "(cached) " >&6
1971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972
$as_echo "$ac_res" >&6; }
1974
# Is the header compilable?
1975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1976
$as_echo_n "checking $2 usability... " >&6; }
1977
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978
/* end confdefs.h. */
1982
if ac_fn_c_try_compile "$LINENO"; then :
1983
ac_header_compiler=yes
1985
ac_header_compiler=no
1987
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1989
$as_echo "$ac_header_compiler" >&6; }
1991
# Is the header present?
1992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1993
$as_echo_n "checking $2 presence... " >&6; }
1994
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995
/* end confdefs.h. */
1998
if ac_fn_c_try_cpp "$LINENO"; then :
1999
ac_header_preproc=yes
2001
ac_header_preproc=no
2003
rm -f conftest.err conftest.$ac_ext
2004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2005
$as_echo "$ac_header_preproc" >&6; }
2007
# So? What about this header?
2008
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2010
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2011
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2013
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2017
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2019
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2020
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2021
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2022
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2023
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2024
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2025
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2027
## -------------------------------------------------------------------------------- ##
2028
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=cups-pk-helper ##
2029
## -------------------------------------------------------------------------------- ##
2031
) | sed "s/^/$as_me: WARNING: /" >&2
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035
$as_echo_n "checking for $2... " >&6; }
2036
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2037
$as_echo_n "(cached) " >&6
2039
eval "$3=\$ac_header_compiler"
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043
$as_echo "$ac_res" >&6; }
2045
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047
} # ac_fn_c_check_header_mongrel
1734
2048
cat >config.log <<_ACEOF
1735
2049
This file contains any messages produced by compilers while
1736
2050
running configure, to aid debugging if configure makes a mistake.
1738
It was created by cups-pk-helper $as_me 0.1.0, which was
1739
generated by GNU Autoconf 2.63. Invocation command line was
2052
It was created by cups-pk-helper $as_me 0.1.2, which was
2053
generated by GNU Autoconf 2.65. Invocation command line was
2979
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3252
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2980
3253
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2982
See \`config.log' for more details." >&5
2983
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2984
See \`config.log' for more details." >&2;}
2985
{ (exit 1); exit 1; }; }; }
3254
as_fn_error "no acceptable C compiler found in \$PATH
3255
See \`config.log' for more details." "$LINENO" 5; }
2987
3257
# Provide some information about the compiler.
2988
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3258
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2989
3259
set X $ac_compile
2991
{ (ac_try="$ac_compiler --version >&5"
2993
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994
*) ac_try_echo=$ac_try;;
2996
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2997
$as_echo "$ac_try_echo") >&5
2998
(eval "$ac_compiler --version >&5") 2>&5
3000
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001
(exit $ac_status); }
3002
{ (ac_try="$ac_compiler -v >&5"
3004
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005
*) ac_try_echo=$ac_try;;
3007
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3008
$as_echo "$ac_try_echo") >&5
3009
(eval "$ac_compiler -v >&5") 2>&5
3011
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
(exit $ac_status); }
3013
{ (ac_try="$ac_compiler -V >&5"
3015
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016
*) ac_try_echo=$ac_try;;
3018
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3019
$as_echo "$ac_try_echo") >&5
3020
(eval "$ac_compiler -V >&5") 2>&5
3022
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023
(exit $ac_status); }
3261
for ac_option in --version -v -V -qversion; do
3262
{ { ac_try="$ac_compiler $ac_option >&5"
3264
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265
*) ac_try_echo=$ac_try;;
3267
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268
$as_echo "$ac_try_echo"; } >&5
3269
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3271
if test -s conftest.err; then
3273
... rest of stderr output deleted ...
3274
10q' conftest.err >conftest.er1
3275
cat conftest.er1 >&5
3277
rm -f conftest.er1 conftest.err
3278
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279
test $ac_status = 0; }
3025
cat >conftest.$ac_ext <<_ACEOF
3028
cat confdefs.h >>conftest.$ac_ext
3029
cat >>conftest.$ac_ext <<_ACEOF
3282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030
3283
/* end confdefs.h. */
3361
if test -z "$ac_file"; then :
3362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363
$as_echo "no" >&6; }
3364
$as_echo "$as_me: failed program was:" >&5
3365
sed 's/^/| /' conftest.$ac_ext >&5
3109
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3367
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369
{ as_fn_set_status 77
3370
as_fn_error "C compiler cannot create executables
3371
See \`config.log' for more details." "$LINENO" 5; }; }
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3374
$as_echo "yes" >&6; }
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3377
$as_echo_n "checking for C compiler default output file name... " >&6; }
3378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3110
3379
$as_echo "$ac_file" >&6; }
3111
if test -z "$ac_file"; then
3112
$as_echo "$as_me: failed program was:" >&5
3113
sed 's/^/| /' conftest.$ac_ext >&5
3115
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3116
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3118
See \`config.log' for more details." >&5
3119
$as_echo "$as_me: error: C compiler cannot create executables
3120
See \`config.log' for more details." >&2;}
3121
{ (exit 77); exit 77; }; }; }
3124
3380
ac_exeext=$ac_cv_exeext
3126
# Check that the compiler produces executables we can run. If not, either
3127
# the compiler is broken, or we cross compile.
3128
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3129
$as_echo_n "checking whether the C compiler works... " >&6; }
3130
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3131
# If not cross compiling, check that we can run a simple program.
3132
if test "$cross_compiling" != yes; then
3133
if { ac_try='./$ac_file'
3134
{ (case "(($ac_try" in
3135
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136
*) ac_try_echo=$ac_try;;
3138
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3139
$as_echo "$ac_try_echo") >&5
3140
(eval "$ac_try") 2>&5
3142
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143
(exit $ac_status); }; }; then
3146
if test "$cross_compiling" = maybe; then
3149
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3150
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3152
If you meant to cross compile, use \`--host'.
3153
See \`config.log' for more details." >&5
3154
$as_echo "$as_me: error: cannot run C compiled programs.
3155
If you meant to cross compile, use \`--host'.
3156
See \`config.log' for more details." >&2;}
3157
{ (exit 1); exit 1; }; }; }
3161
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3162
$as_echo "yes" >&6; }
3164
3382
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3165
3383
ac_clean_files=$ac_clean_files_save
3166
# Check that the compiler produces executables we can run. If not, either
3167
# the compiler is broken, or we cross compile.
3168
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3169
$as_echo_n "checking whether we are cross compiling... " >&6; }
3170
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3171
$as_echo "$cross_compiling" >&6; }
3173
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3174
3385
$as_echo_n "checking for suffix of executables... " >&6; }
3175
if { (ac_try="$ac_link"
3386
if { { ac_try="$ac_link"
3176
3387
case "(($ac_try" in
3177
3388
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178
3389
*) ac_try_echo=$ac_try;;
3180
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3181
$as_echo "$ac_try_echo") >&5
3391
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3392
$as_echo "$ac_try_echo"; } >&5
3182
3393
(eval "$ac_link") 2>&5
3184
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185
(exit $ac_status); }; then
3395
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3396
test $ac_status = 0; }; then :
3186
3397
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3187
3398
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3188
3399
# work properly (i.e., refer to `conftest.exe'), while it won't with
3200
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3411
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3201
3412
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3202
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3203
See \`config.log' for more details." >&5
3204
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3205
See \`config.log' for more details." >&2;}
3206
{ (exit 1); exit 1; }; }; }
3413
as_fn_error "cannot compute suffix of executables: cannot compile and link
3414
See \`config.log' for more details." "$LINENO" 5; }
3209
rm -f conftest$ac_cv_exeext
3210
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3416
rm -f conftest conftest$ac_cv_exeext
3417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3211
3418
$as_echo "$ac_cv_exeext" >&6; }
3213
3420
rm -f conftest.$ac_ext
3214
3421
EXEEXT=$ac_cv_exeext
3215
3422
ac_exeext=$EXEEXT
3216
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3423
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424
/* end confdefs.h. */
3429
FILE *f = fopen ("conftest.out", "w");
3430
return ferror (f) || fclose (f) != 0;
3436
ac_clean_files="$ac_clean_files conftest.out"
3437
# Check that the compiler produces executables we can run. If not, either
3438
# the compiler is broken, or we cross compile.
3439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3440
$as_echo_n "checking whether we are cross compiling... " >&6; }
3441
if test "$cross_compiling" != yes; then
3442
{ { ac_try="$ac_link"
3444
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445
*) ac_try_echo=$ac_try;;
3447
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448
$as_echo "$ac_try_echo"; } >&5
3449
(eval "$ac_link") 2>&5
3451
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452
test $ac_status = 0; }
3453
if { ac_try='./conftest$ac_cv_exeext'
3454
{ { case "(($ac_try" in
3455
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456
*) ac_try_echo=$ac_try;;
3458
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459
$as_echo "$ac_try_echo"; } >&5
3460
(eval "$ac_try") 2>&5
3462
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463
test $ac_status = 0; }; }; then
3466
if test "$cross_compiling" = maybe; then
3469
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3470
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3471
as_fn_error "cannot run C compiled programs.
3472
If you meant to cross compile, use \`--host'.
3473
See \`config.log' for more details." "$LINENO" 5; }
3477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3478
$as_echo "$cross_compiling" >&6; }
3480
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3481
ac_clean_files=$ac_clean_files_save
3482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3217
3483
$as_echo_n "checking for suffix of object files... " >&6; }
3218
if test "${ac_cv_objext+set}" = set; then
3484
if test "${ac_cv_objext+set}" = set; then :
3219
3485
$as_echo_n "(cached) " >&6
3221
cat >conftest.$ac_ext <<_ACEOF
3224
cat confdefs.h >>conftest.$ac_ext
3225
cat >>conftest.$ac_ext <<_ACEOF
3487
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226
3488
/* end confdefs.h. */
4038
if { (ac_try="$ac_cpp conftest.$ac_ext"
4040
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041
*) ac_try_echo=$ac_try;;
4043
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4044
$as_echo "$ac_try_echo") >&5
4045
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4047
grep -v '^ *+' conftest.er1 >conftest.err
4049
cat conftest.err >&5
4050
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051
(exit $ac_status); } >/dev/null && {
4052
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4053
test ! -s conftest.err
4086
if ac_fn_c_try_cpp "$LINENO"; then :
4057
$as_echo "$as_me: failed program was:" >&5
4058
sed 's/^/| /' conftest.$ac_ext >&5
4060
4089
# Broken: fails on valid input.
4064
4092
rm -f conftest.err conftest.$ac_ext
4066
4094
# OK, works on sane cases. Now check whether nonexistent headers
4067
4095
# can be detected and how.
4068
cat >conftest.$ac_ext <<_ACEOF
4071
cat confdefs.h >>conftest.$ac_ext
4072
cat >>conftest.$ac_ext <<_ACEOF
4096
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073
4097
/* end confdefs.h. */
4074
4098
#include <ac_nonexistent.h>
4076
if { (ac_try="$ac_cpp conftest.$ac_ext"
4078
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079
*) ac_try_echo=$ac_try;;
4081
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4082
$as_echo "$ac_try_echo") >&5
4083
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4085
grep -v '^ *+' conftest.er1 >conftest.err
4087
cat conftest.err >&5
4088
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089
(exit $ac_status); } >/dev/null && {
4090
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4091
test ! -s conftest.err
4100
if ac_fn_c_try_cpp "$LINENO"; then :
4093
4101
# Broken: success on invalid input.
4096
$as_echo "$as_me: failed program was:" >&5
4097
sed 's/^/| /' conftest.$ac_ext >&5
4099
4104
# Passes both tests.
4100
4105
ac_preproc_ok=:
4104
4108
rm -f conftest.err conftest.$ac_ext
4107
4111
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4108
4112
rm -f conftest.err conftest.$ac_ext
4109
if $ac_preproc_ok; then
4113
if $ac_preproc_ok; then :
4112
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4116
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113
4117
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4115
See \`config.log' for more details." >&5
4116
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4117
See \`config.log' for more details." >&2;}
4118
{ (exit 1); exit 1; }; }; }
4118
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4119
See \`config.log' for more details." "$LINENO" 5; }
10461
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10462
$as_echo_n "checking for shl_load... " >&6; }
10463
if test "${ac_cv_func_shl_load+set}" = set; then
10464
$as_echo_n "(cached) " >&6
10466
cat >conftest.$ac_ext <<_ACEOF
10469
cat confdefs.h >>conftest.$ac_ext
10470
cat >>conftest.$ac_ext <<_ACEOF
10471
/* end confdefs.h. */
10472
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10473
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10474
#define shl_load innocuous_shl_load
10476
/* System header to define __stub macros and hopefully few prototypes,
10477
which can conflict with char shl_load (); below.
10478
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10479
<limits.h> exists even on freestanding compilers. */
10482
# include <limits.h>
10484
# include <assert.h>
10489
/* Override any GCC internal prototype to avoid an error.
10490
Use char because int might match the return type of a GCC
10491
builtin and then its argument prototype would still apply. */
10496
/* The GNU C library defines this for functions which it implements
10497
to always fail with ENOSYS. Some functions are actually named
10498
something starting with __ and the normal name is an alias. */
10499
#if defined __stub_shl_load || defined __stub___shl_load
10506
return shl_load ();
10511
rm -f conftest.$ac_objext conftest$ac_exeext
10512
if { (ac_try="$ac_link"
10513
case "(($ac_try" in
10514
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10515
*) ac_try_echo=$ac_try;;
10517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10518
$as_echo "$ac_try_echo") >&5
10519
(eval "$ac_link") 2>conftest.er1
10521
grep -v '^ *+' conftest.er1 >conftest.err
10523
cat conftest.err >&5
10524
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525
(exit $ac_status); } && {
10526
test -z "$ac_c_werror_flag" ||
10527
test ! -s conftest.err
10528
} && test -s conftest$ac_exeext && {
10529
test "$cross_compiling" = yes ||
10530
$as_test_x conftest$ac_exeext
10532
ac_cv_func_shl_load=yes
10534
$as_echo "$as_me: failed program was:" >&5
10535
sed 's/^/| /' conftest.$ac_ext >&5
10537
ac_cv_func_shl_load=no
10540
rm -rf conftest.dSYM
10541
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10542
conftest$ac_exeext conftest.$ac_ext
10544
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10545
$as_echo "$ac_cv_func_shl_load" >&6; }
10546
if test "x$ac_cv_func_shl_load" = x""yes; then
10063
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10064
if test "x$ac_cv_func_shl_load" = x""yes; then :
10547
10065
lt_cv_dlopen="shl_load"
10549
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10550
10068
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10551
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10069
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10552
10070
$as_echo_n "(cached) " >&6
10554
10072
ac_check_lib_save_LIBS=$LIBS
10555
10073
LIBS="-ldld $LIBS"
10556
cat >conftest.$ac_ext <<_ACEOF
10559
cat confdefs.h >>conftest.$ac_ext
10560
cat >>conftest.$ac_ext <<_ACEOF
10074
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561
10075
/* end confdefs.h. */
10563
10077
/* Override any GCC internal prototype to avoid an error.
10578
rm -f conftest.$ac_objext conftest$ac_exeext
10579
if { (ac_try="$ac_link"
10580
case "(($ac_try" in
10581
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10582
*) ac_try_echo=$ac_try;;
10584
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10585
$as_echo "$ac_try_echo") >&5
10586
(eval "$ac_link") 2>conftest.er1
10588
grep -v '^ *+' conftest.er1 >conftest.err
10590
cat conftest.err >&5
10591
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592
(exit $ac_status); } && {
10593
test -z "$ac_c_werror_flag" ||
10594
test ! -s conftest.err
10595
} && test -s conftest$ac_exeext && {
10596
test "$cross_compiling" = yes ||
10597
$as_test_x conftest$ac_exeext
10092
if ac_fn_c_try_link "$LINENO"; then :
10599
10093
ac_cv_lib_dld_shl_load=yes
10601
$as_echo "$as_me: failed program was:" >&5
10602
sed 's/^/| /' conftest.$ac_ext >&5
10604
ac_cv_lib_dld_shl_load=no
10095
ac_cv_lib_dld_shl_load=no
10607
rm -rf conftest.dSYM
10608
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10609
conftest$ac_exeext conftest.$ac_ext
10097
rm -f core conftest.err conftest.$ac_objext \
10098
conftest$ac_exeext conftest.$ac_ext
10610
10099
LIBS=$ac_check_lib_save_LIBS
10612
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10613
10102
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10614
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10103
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10615
10104
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10617
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10618
$as_echo_n "checking for dlopen... " >&6; }
10619
if test "${ac_cv_func_dlopen+set}" = set; then
10620
$as_echo_n "(cached) " >&6
10622
cat >conftest.$ac_ext <<_ACEOF
10625
cat confdefs.h >>conftest.$ac_ext
10626
cat >>conftest.$ac_ext <<_ACEOF
10627
/* end confdefs.h. */
10628
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10629
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10630
#define dlopen innocuous_dlopen
10632
/* System header to define __stub macros and hopefully few prototypes,
10633
which can conflict with char dlopen (); below.
10634
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10635
<limits.h> exists even on freestanding compilers. */
10638
# include <limits.h>
10640
# include <assert.h>
10645
/* Override any GCC internal prototype to avoid an error.
10646
Use char because int might match the return type of a GCC
10647
builtin and then its argument prototype would still apply. */
10652
/* The GNU C library defines this for functions which it implements
10653
to always fail with ENOSYS. Some functions are actually named
10654
something starting with __ and the normal name is an alias. */
10655
#if defined __stub_dlopen || defined __stub___dlopen
10667
rm -f conftest.$ac_objext conftest$ac_exeext
10668
if { (ac_try="$ac_link"
10669
case "(($ac_try" in
10670
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10671
*) ac_try_echo=$ac_try;;
10673
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10674
$as_echo "$ac_try_echo") >&5
10675
(eval "$ac_link") 2>conftest.er1
10677
grep -v '^ *+' conftest.er1 >conftest.err
10679
cat conftest.err >&5
10680
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681
(exit $ac_status); } && {
10682
test -z "$ac_c_werror_flag" ||
10683
test ! -s conftest.err
10684
} && test -s conftest$ac_exeext && {
10685
test "$cross_compiling" = yes ||
10686
$as_test_x conftest$ac_exeext
10688
ac_cv_func_dlopen=yes
10690
$as_echo "$as_me: failed program was:" >&5
10691
sed 's/^/| /' conftest.$ac_ext >&5
10693
ac_cv_func_dlopen=no
10696
rm -rf conftest.dSYM
10697
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10698
conftest$ac_exeext conftest.$ac_ext
10700
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10701
$as_echo "$ac_cv_func_dlopen" >&6; }
10702
if test "x$ac_cv_func_dlopen" = x""yes; then
10106
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10107
if test "x$ac_cv_func_dlopen" = x""yes; then :
10703
10108
lt_cv_dlopen="dlopen"
10705
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10706
10111
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10707
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10112
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10708
10113
$as_echo_n "(cached) " >&6
10710
10115
ac_check_lib_save_LIBS=$LIBS
10711
10116
LIBS="-ldl $LIBS"
10712
cat >conftest.$ac_ext <<_ACEOF
10715
cat confdefs.h >>conftest.$ac_ext
10716
cat >>conftest.$ac_ext <<_ACEOF
10117
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717
10118
/* end confdefs.h. */
10719
10120
/* Override any GCC internal prototype to avoid an error.
11308
10622
# existing .o file with -o, though they will create one.
11309
10623
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11310
10624
rm -f conftest2.*
11311
if { (case "(($ac_try" in
11312
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11313
*) ac_try_echo=$ac_try;;
11315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11316
$as_echo "$ac_try_echo") >&5
11317
(eval "$ac_try") 2>&5
11319
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320
(exit $ac_status); } &&
11321
test -f conftest2.$ac_objext && { (case "(($ac_try" in
11322
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11323
*) ac_try_echo=$ac_try;;
11325
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11326
$as_echo "$ac_try_echo") >&5
11327
(eval "$ac_try") 2>&5
11329
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330
(exit $ac_status); };
10625
if { { case "(($ac_try" in
10626
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10627
*) ac_try_echo=$ac_try;;
10629
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10630
$as_echo "$ac_try_echo"; } >&5
10631
(eval "$ac_try") 2>&5
10633
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10634
test $ac_status = 0; } &&
10635
test -f conftest2.$ac_objext && { { case "(($ac_try" in
10636
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10637
*) ac_try_echo=$ac_try;;
10639
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10640
$as_echo "$ac_try_echo"; } >&5
10641
(eval "$ac_try") 2>&5
10643
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10644
test $ac_status = 0; };
11332
10646
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11333
10647
if test "x$CC" != xcc; then
11334
10648
# Test first that cc exists at all.
11335
10649
if { ac_try='cc -c conftest.$ac_ext >&5'
11336
{ (case "(($ac_try" in
10650
{ { case "(($ac_try" in
11337
10651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11338
10652
*) ac_try_echo=$ac_try;;
11340
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11341
$as_echo "$ac_try_echo") >&5
10654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10655
$as_echo "$ac_try_echo"; } >&5
11342
10656
(eval "$ac_try") 2>&5
11344
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345
(exit $ac_status); }; }; then
10658
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10659
test $ac_status = 0; }; }; then
11346
10660
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11347
10661
rm -f conftest2.*
11348
if { (case "(($ac_try" in
11349
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11350
*) ac_try_echo=$ac_try;;
11352
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11353
$as_echo "$ac_try_echo") >&5
11354
(eval "$ac_try") 2>&5
11356
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357
(exit $ac_status); } &&
11358
test -f conftest2.$ac_objext && { (case "(($ac_try" in
11359
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11360
*) ac_try_echo=$ac_try;;
11362
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11363
$as_echo "$ac_try_echo") >&5
11364
(eval "$ac_try") 2>&5
11366
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367
(exit $ac_status); };
10662
if { { case "(($ac_try" in
10663
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10664
*) ac_try_echo=$ac_try;;
10666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10667
$as_echo "$ac_try_echo"; } >&5
10668
(eval "$ac_try") 2>&5
10670
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10671
test $ac_status = 0; } &&
10672
test -f conftest2.$ac_objext && { { case "(($ac_try" in
10673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10674
*) ac_try_echo=$ac_try;;
10676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10677
$as_echo "$ac_try_echo"; } >&5
10678
(eval "$ac_try") 2>&5
10680
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10681
test $ac_status = 0; };
11369
10683
# cc works too.
12007
rm -f conftest.$ac_objext conftest$ac_exeext
12008
if { (ac_try="$ac_link"
12009
case "(($ac_try" in
12010
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12011
*) ac_try_echo=$ac_try;;
12013
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12014
$as_echo "$ac_try_echo") >&5
12015
(eval "$ac_link") 2>conftest.er1
12017
grep -v '^ *+' conftest.er1 >conftest.err
12019
cat conftest.err >&5
12020
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021
(exit $ac_status); } && {
12022
test -z "$ac_c_werror_flag" ||
12023
test ! -s conftest.err
12024
} && test -s conftest$ac_exeext && {
12025
test "$cross_compiling" = yes ||
12026
$as_test_x conftest$ac_exeext
11299
if ac_fn_c_try_link "$LINENO"; then :
12028
11300
DATADIRNAME=share
12030
$as_echo "$as_me: failed program was:" >&5
12031
sed 's/^/| /' conftest.$ac_ext >&5
12034
11303
*-*-solaris*)
12035
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
12036
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
12037
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
12038
$as_echo_n "(cached) " >&6
12040
cat >conftest.$ac_ext <<_ACEOF
12043
cat confdefs.h >>conftest.$ac_ext
12044
cat >>conftest.$ac_ext <<_ACEOF
12045
/* end confdefs.h. */
12046
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
12047
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12048
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
12050
/* System header to define __stub macros and hopefully few prototypes,
12051
which can conflict with char bind_textdomain_codeset (); below.
12052
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12053
<limits.h> exists even on freestanding compilers. */
12056
# include <limits.h>
12058
# include <assert.h>
12061
#undef bind_textdomain_codeset
12063
/* Override any GCC internal prototype to avoid an error.
12064
Use char because int might match the return type of a GCC
12065
builtin and then its argument prototype would still apply. */
12069
char bind_textdomain_codeset ();
12070
/* The GNU C library defines this for functions which it implements
12071
to always fail with ENOSYS. Some functions are actually named
12072
something starting with __ and the normal name is an alias. */
12073
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
12080
return bind_textdomain_codeset ();
12085
rm -f conftest.$ac_objext conftest$ac_exeext
12086
if { (ac_try="$ac_link"
12087
case "(($ac_try" in
12088
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12089
*) ac_try_echo=$ac_try;;
12091
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12092
$as_echo "$ac_try_echo") >&5
12093
(eval "$ac_link") 2>conftest.er1
12095
grep -v '^ *+' conftest.er1 >conftest.err
12097
cat conftest.err >&5
12098
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099
(exit $ac_status); } && {
12100
test -z "$ac_c_werror_flag" ||
12101
test ! -s conftest.err
12102
} && test -s conftest$ac_exeext && {
12103
test "$cross_compiling" = yes ||
12104
$as_test_x conftest$ac_exeext
12106
ac_cv_func_bind_textdomain_codeset=yes
12108
$as_echo "$as_me: failed program was:" >&5
12109
sed 's/^/| /' conftest.$ac_ext >&5
12111
ac_cv_func_bind_textdomain_codeset=no
12114
rm -rf conftest.dSYM
12115
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12116
conftest$ac_exeext conftest.$ac_ext
12118
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
12119
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
12120
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
11304
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11305
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12121
11306
DATADIRNAME=share
12123
11308
DATADIRNAME=lib
12151
for ac_header in locale.h
12153
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12154
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12155
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12156
$as_echo_n "checking for $ac_header... " >&6; }
12157
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12158
$as_echo_n "(cached) " >&6
12160
ac_res=`eval 'as_val=${'$as_ac_Header'}
12161
$as_echo "$as_val"'`
12162
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12163
$as_echo "$ac_res" >&6; }
12165
# Is the header compilable?
12166
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12167
$as_echo_n "checking $ac_header usability... " >&6; }
12168
cat >conftest.$ac_ext <<_ACEOF
12171
cat confdefs.h >>conftest.$ac_ext
12172
cat >>conftest.$ac_ext <<_ACEOF
12173
/* end confdefs.h. */
12174
$ac_includes_default
12175
#include <$ac_header>
12177
rm -f conftest.$ac_objext
12178
if { (ac_try="$ac_compile"
12179
case "(($ac_try" in
12180
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12181
*) ac_try_echo=$ac_try;;
12183
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12184
$as_echo "$ac_try_echo") >&5
12185
(eval "$ac_compile") 2>conftest.er1
12187
grep -v '^ *+' conftest.er1 >conftest.err
12189
cat conftest.err >&5
12190
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191
(exit $ac_status); } && {
12192
test -z "$ac_c_werror_flag" ||
12193
test ! -s conftest.err
12194
} && test -s conftest.$ac_objext; then
12195
ac_header_compiler=yes
12197
$as_echo "$as_me: failed program was:" >&5
12198
sed 's/^/| /' conftest.$ac_ext >&5
12200
ac_header_compiler=no
12203
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12204
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12205
$as_echo "$ac_header_compiler" >&6; }
12207
# Is the header present?
12208
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12209
$as_echo_n "checking $ac_header presence... " >&6; }
12210
cat >conftest.$ac_ext <<_ACEOF
12213
cat confdefs.h >>conftest.$ac_ext
12214
cat >>conftest.$ac_ext <<_ACEOF
12215
/* end confdefs.h. */
12216
#include <$ac_header>
12218
if { (ac_try="$ac_cpp conftest.$ac_ext"
12219
case "(($ac_try" in
12220
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12221
*) ac_try_echo=$ac_try;;
12223
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12224
$as_echo "$ac_try_echo") >&5
12225
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12227
grep -v '^ *+' conftest.er1 >conftest.err
12229
cat conftest.err >&5
12230
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231
(exit $ac_status); } >/dev/null && {
12232
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12233
test ! -s conftest.err
12235
ac_header_preproc=yes
12237
$as_echo "$as_me: failed program was:" >&5
12238
sed 's/^/| /' conftest.$ac_ext >&5
12240
ac_header_preproc=no
12243
rm -f conftest.err conftest.$ac_ext
12244
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12245
$as_echo "$ac_header_preproc" >&6; }
12247
# So? What about this header?
12248
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12250
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12251
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12252
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12253
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12254
ac_header_preproc=yes
12257
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12258
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12259
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12260
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12261
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12262
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12263
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12264
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12265
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12266
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12267
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12268
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12270
## -------------------------------------- ##
12271
## Report this to mailto:vuntz@novell.com ##
12272
## -------------------------------------- ##
12274
) | sed "s/^/$as_me: WARNING: /" >&2
12277
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12278
$as_echo_n "checking for $ac_header... " >&6; }
12279
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12280
$as_echo_n "(cached) " >&6
12282
eval "$as_ac_Header=\$ac_header_preproc"
12284
ac_res=`eval 'as_val=${'$as_ac_Header'}
12285
$as_echo "$as_val"'`
12286
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12287
$as_echo "$ac_res" >&6; }
12290
as_val=`eval 'as_val=${'$as_ac_Header'}
12291
$as_echo "$as_val"'`
12292
if test "x$as_val" = x""yes; then
11333
for ac_header in locale.h
11335
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11336
if test "x$ac_cv_header_locale_h" = x""yes; then :
12293
11337
cat >>confdefs.h <<_ACEOF
12294
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11338
#define HAVE_LOCALE_H 1
12374
if test "${ac_cv_header_libintl_h+set}" = set; then
12375
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
12376
$as_echo_n "checking for libintl.h... " >&6; }
12377
if test "${ac_cv_header_libintl_h+set}" = set; then
12378
$as_echo_n "(cached) " >&6
12380
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
12381
$as_echo "$ac_cv_header_libintl_h" >&6; }
12383
# Is the header compilable?
12384
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
12385
$as_echo_n "checking libintl.h usability... " >&6; }
12386
cat >conftest.$ac_ext <<_ACEOF
12389
cat confdefs.h >>conftest.$ac_ext
12390
cat >>conftest.$ac_ext <<_ACEOF
12391
/* end confdefs.h. */
12392
$ac_includes_default
12393
#include <libintl.h>
12395
rm -f conftest.$ac_objext
12396
if { (ac_try="$ac_compile"
12397
case "(($ac_try" in
12398
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12399
*) ac_try_echo=$ac_try;;
12401
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12402
$as_echo "$ac_try_echo") >&5
12403
(eval "$ac_compile") 2>conftest.er1
12405
grep -v '^ *+' conftest.er1 >conftest.err
12407
cat conftest.err >&5
12408
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409
(exit $ac_status); } && {
12410
test -z "$ac_c_werror_flag" ||
12411
test ! -s conftest.err
12412
} && test -s conftest.$ac_objext; then
12413
ac_header_compiler=yes
12415
$as_echo "$as_me: failed program was:" >&5
12416
sed 's/^/| /' conftest.$ac_ext >&5
12418
ac_header_compiler=no
12421
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12422
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12423
$as_echo "$ac_header_compiler" >&6; }
12425
# Is the header present?
12426
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
12427
$as_echo_n "checking libintl.h presence... " >&6; }
12428
cat >conftest.$ac_ext <<_ACEOF
12431
cat confdefs.h >>conftest.$ac_ext
12432
cat >>conftest.$ac_ext <<_ACEOF
12433
/* end confdefs.h. */
12434
#include <libintl.h>
12436
if { (ac_try="$ac_cpp conftest.$ac_ext"
12437
case "(($ac_try" in
12438
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12439
*) ac_try_echo=$ac_try;;
12441
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12442
$as_echo "$ac_try_echo") >&5
12443
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12445
grep -v '^ *+' conftest.er1 >conftest.err
12447
cat conftest.err >&5
12448
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449
(exit $ac_status); } >/dev/null && {
12450
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12451
test ! -s conftest.err
12453
ac_header_preproc=yes
12455
$as_echo "$as_me: failed program was:" >&5
12456
sed 's/^/| /' conftest.$ac_ext >&5
12458
ac_header_preproc=no
12461
rm -f conftest.err conftest.$ac_ext
12462
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12463
$as_echo "$ac_header_preproc" >&6; }
12465
# So? What about this header?
12466
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12468
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
12469
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12470
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
12471
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
12472
ac_header_preproc=yes
12475
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
12476
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
12477
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
12478
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
12479
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
12480
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
12481
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
12482
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
12483
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
12484
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
12485
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
12486
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
12488
## -------------------------------------- ##
12489
## Report this to mailto:vuntz@novell.com ##
12490
## -------------------------------------- ##
12492
) | sed "s/^/$as_me: WARNING: /" >&2
12495
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
12496
$as_echo_n "checking for libintl.h... " >&6; }
12497
if test "${ac_cv_header_libintl_h+set}" = set; then
12498
$as_echo_n "(cached) " >&6
12500
ac_cv_header_libintl_h=$ac_header_preproc
12502
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
12503
$as_echo "$ac_cv_header_libintl_h" >&6; }
12506
if test "x$ac_cv_header_libintl_h" = x""yes; then
11387
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11388
if test "x$ac_cv_header_libintl_h" = x""yes; then :
12507
11389
gt_cv_func_dgettext_libintl="no"
12508
11390
libintl_extra_libs=""
12511
11393
# First check in libc
12513
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
11395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12514
11396
$as_echo_n "checking for ngettext in libc... " >&6; }
12515
if test "${gt_cv_func_ngettext_libc+set}" = set; then
11397
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12516
11398
$as_echo_n "(cached) " >&6
12518
cat >conftest.$ac_ext <<_ACEOF
12521
cat confdefs.h >>conftest.$ac_ext
12522
cat >>conftest.$ac_ext <<_ACEOF
11400
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523
11401
/* end confdefs.h. */
12525
11403
#include <libintl.h>
12595
rm -f conftest.$ac_objext conftest$ac_exeext
12596
if { (ac_try="$ac_link"
12597
case "(($ac_try" in
12598
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12599
*) ac_try_echo=$ac_try;;
12601
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12602
$as_echo "$ac_try_echo") >&5
12603
(eval "$ac_link") 2>conftest.er1
12605
grep -v '^ *+' conftest.er1 >conftest.err
12607
cat conftest.err >&5
12608
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609
(exit $ac_status); } && {
12610
test -z "$ac_c_werror_flag" ||
12611
test ! -s conftest.err
12612
} && test -s conftest$ac_exeext && {
12613
test "$cross_compiling" = yes ||
12614
$as_test_x conftest$ac_exeext
11444
if ac_fn_c_try_link "$LINENO"; then :
12616
11445
gt_cv_func_dgettext_libc=yes
12618
$as_echo "$as_me: failed program was:" >&5
12619
sed 's/^/| /' conftest.$ac_ext >&5
12621
gt_cv_func_dgettext_libc=no
12624
rm -rf conftest.dSYM
12625
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12626
conftest$ac_exeext conftest.$ac_ext
12629
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
11447
gt_cv_func_dgettext_libc=no
11449
rm -f core conftest.err conftest.$ac_objext \
11450
conftest$ac_exeext conftest.$ac_ext
11453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12630
11454
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
12633
11457
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12635
for ac_func in bind_textdomain_codeset
12637
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12638
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12639
$as_echo_n "checking for $ac_func... " >&6; }
12640
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12641
$as_echo_n "(cached) " >&6
12643
cat >conftest.$ac_ext <<_ACEOF
12646
cat confdefs.h >>conftest.$ac_ext
12647
cat >>conftest.$ac_ext <<_ACEOF
12648
/* end confdefs.h. */
12649
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12650
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12651
#define $ac_func innocuous_$ac_func
12653
/* System header to define __stub macros and hopefully few prototypes,
12654
which can conflict with char $ac_func (); below.
12655
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12656
<limits.h> exists even on freestanding compilers. */
12659
# include <limits.h>
12661
# include <assert.h>
12666
/* Override any GCC internal prototype to avoid an error.
12667
Use char because int might match the return type of a GCC
12668
builtin and then its argument prototype would still apply. */
12673
/* The GNU C library defines this for functions which it implements
12674
to always fail with ENOSYS. Some functions are actually named
12675
something starting with __ and the normal name is an alias. */
12676
#if defined __stub_$ac_func || defined __stub___$ac_func
12683
return $ac_func ();
12688
rm -f conftest.$ac_objext conftest$ac_exeext
12689
if { (ac_try="$ac_link"
12690
case "(($ac_try" in
12691
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12692
*) ac_try_echo=$ac_try;;
12694
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12695
$as_echo "$ac_try_echo") >&5
12696
(eval "$ac_link") 2>conftest.er1
12698
grep -v '^ *+' conftest.er1 >conftest.err
12700
cat conftest.err >&5
12701
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702
(exit $ac_status); } && {
12703
test -z "$ac_c_werror_flag" ||
12704
test ! -s conftest.err
12705
} && test -s conftest$ac_exeext && {
12706
test "$cross_compiling" = yes ||
12707
$as_test_x conftest$ac_exeext
12709
eval "$as_ac_var=yes"
12711
$as_echo "$as_me: failed program was:" >&5
12712
sed 's/^/| /' conftest.$ac_ext >&5
12714
eval "$as_ac_var=no"
12717
rm -rf conftest.dSYM
12718
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12719
conftest$ac_exeext conftest.$ac_ext
12721
ac_res=`eval 'as_val=${'$as_ac_var'}
12722
$as_echo "$as_val"'`
12723
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12724
$as_echo "$ac_res" >&6; }
12725
as_val=`eval 'as_val=${'$as_ac_var'}
12726
$as_echo "$as_val"'`
12727
if test "x$as_val" = x""yes; then
11458
for ac_func in bind_textdomain_codeset
11460
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11461
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12728
11462
cat >>confdefs.h <<_ACEOF
12729
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11463
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13105
11694
glib_save_LIBS="$LIBS"
13106
11695
LIBS="$LIBS -lintl $libintl_extra_libs"
13107
11696
unset ac_cv_func_bind_textdomain_codeset
13109
for ac_func in bind_textdomain_codeset
13111
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13112
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13113
$as_echo_n "checking for $ac_func... " >&6; }
13114
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13115
$as_echo_n "(cached) " >&6
13117
cat >conftest.$ac_ext <<_ACEOF
13120
cat confdefs.h >>conftest.$ac_ext
13121
cat >>conftest.$ac_ext <<_ACEOF
13122
/* end confdefs.h. */
13123
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13124
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13125
#define $ac_func innocuous_$ac_func
13127
/* System header to define __stub macros and hopefully few prototypes,
13128
which can conflict with char $ac_func (); below.
13129
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13130
<limits.h> exists even on freestanding compilers. */
13133
# include <limits.h>
13135
# include <assert.h>
13140
/* Override any GCC internal prototype to avoid an error.
13141
Use char because int might match the return type of a GCC
13142
builtin and then its argument prototype would still apply. */
13147
/* The GNU C library defines this for functions which it implements
13148
to always fail with ENOSYS. Some functions are actually named
13149
something starting with __ and the normal name is an alias. */
13150
#if defined __stub_$ac_func || defined __stub___$ac_func
13157
return $ac_func ();
13162
rm -f conftest.$ac_objext conftest$ac_exeext
13163
if { (ac_try="$ac_link"
13164
case "(($ac_try" in
13165
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13166
*) ac_try_echo=$ac_try;;
13168
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13169
$as_echo "$ac_try_echo") >&5
13170
(eval "$ac_link") 2>conftest.er1
13172
grep -v '^ *+' conftest.er1 >conftest.err
13174
cat conftest.err >&5
13175
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176
(exit $ac_status); } && {
13177
test -z "$ac_c_werror_flag" ||
13178
test ! -s conftest.err
13179
} && test -s conftest$ac_exeext && {
13180
test "$cross_compiling" = yes ||
13181
$as_test_x conftest$ac_exeext
13183
eval "$as_ac_var=yes"
13185
$as_echo "$as_me: failed program was:" >&5
13186
sed 's/^/| /' conftest.$ac_ext >&5
13188
eval "$as_ac_var=no"
13191
rm -rf conftest.dSYM
13192
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13193
conftest$ac_exeext conftest.$ac_ext
13195
ac_res=`eval 'as_val=${'$as_ac_var'}
13196
$as_echo "$as_val"'`
13197
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13198
$as_echo "$ac_res" >&6; }
13199
as_val=`eval 'as_val=${'$as_ac_var'}
13200
$as_echo "$as_val"'`
13201
if test "x$as_val" = x""yes; then
11697
for ac_func in bind_textdomain_codeset
11699
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11700
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13202
11701
cat >>confdefs.h <<_ACEOF
13203
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11702
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13264
11761
MSGFMT="$ac_cv_path_MSGFMT"
13265
11762
if test "$MSGFMT" != "no"; then
13266
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
11763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13267
11764
$as_echo "$MSGFMT" >&6; }
13269
{ $as_echo "$as_me:$LINENO: result: no" >&5
11766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270
11767
$as_echo "no" >&6; }
13272
11769
if test "$MSGFMT" != "no"; then
13273
11770
glib_save_LIBS="$LIBS"
13274
11771
LIBS="$LIBS $INTLLIBS"
13276
for ac_func in dcgettext
13278
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13279
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13280
$as_echo_n "checking for $ac_func... " >&6; }
13281
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13282
$as_echo_n "(cached) " >&6
13284
cat >conftest.$ac_ext <<_ACEOF
13287
cat confdefs.h >>conftest.$ac_ext
13288
cat >>conftest.$ac_ext <<_ACEOF
13289
/* end confdefs.h. */
13290
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13291
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13292
#define $ac_func innocuous_$ac_func
13294
/* System header to define __stub macros and hopefully few prototypes,
13295
which can conflict with char $ac_func (); below.
13296
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13297
<limits.h> exists even on freestanding compilers. */
13300
# include <limits.h>
13302
# include <assert.h>
13307
/* Override any GCC internal prototype to avoid an error.
13308
Use char because int might match the return type of a GCC
13309
builtin and then its argument prototype would still apply. */
13314
/* The GNU C library defines this for functions which it implements
13315
to always fail with ENOSYS. Some functions are actually named
13316
something starting with __ and the normal name is an alias. */
13317
#if defined __stub_$ac_func || defined __stub___$ac_func
13324
return $ac_func ();
13329
rm -f conftest.$ac_objext conftest$ac_exeext
13330
if { (ac_try="$ac_link"
13331
case "(($ac_try" in
13332
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13333
*) ac_try_echo=$ac_try;;
13335
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13336
$as_echo "$ac_try_echo") >&5
13337
(eval "$ac_link") 2>conftest.er1
13339
grep -v '^ *+' conftest.er1 >conftest.err
13341
cat conftest.err >&5
13342
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343
(exit $ac_status); } && {
13344
test -z "$ac_c_werror_flag" ||
13345
test ! -s conftest.err
13346
} && test -s conftest$ac_exeext && {
13347
test "$cross_compiling" = yes ||
13348
$as_test_x conftest$ac_exeext
13350
eval "$as_ac_var=yes"
13352
$as_echo "$as_me: failed program was:" >&5
13353
sed 's/^/| /' conftest.$ac_ext >&5
13355
eval "$as_ac_var=no"
13358
rm -rf conftest.dSYM
13359
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13360
conftest$ac_exeext conftest.$ac_ext
13362
ac_res=`eval 'as_val=${'$as_ac_var'}
13363
$as_echo "$as_val"'`
13364
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13365
$as_echo "$ac_res" >&6; }
13366
as_val=`eval 'as_val=${'$as_ac_var'}
13367
$as_echo "$as_val"'`
13368
if test "x$as_val" = x""yes; then
11772
for ac_func in dcgettext
11774
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11775
if test "x$ac_cv_func_dcgettext" = x""yes; then :
13369
11776
cat >>confdefs.h <<_ACEOF
13370
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11777
#define HAVE_DCGETTEXT 1
13377
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
11784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13378
11785
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13379
11786
cat >conftest.foo <<_ACEOF
13498
rm -f conftest.$ac_objext conftest$ac_exeext
13499
if { (ac_try="$ac_link"
13500
case "(($ac_try" in
13501
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13502
*) ac_try_echo=$ac_try;;
13504
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13505
$as_echo "$ac_try_echo") >&5
13506
(eval "$ac_link") 2>conftest.er1
13508
grep -v '^ *+' conftest.er1 >conftest.err
13510
cat conftest.err >&5
13511
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512
(exit $ac_status); } && {
13513
test -z "$ac_c_werror_flag" ||
13514
test ! -s conftest.err
13515
} && test -s conftest$ac_exeext && {
13516
test "$cross_compiling" = yes ||
13517
$as_test_x conftest$ac_exeext
11901
if ac_fn_c_try_link "$LINENO"; then :
13519
11902
CATOBJEXT=.gmo
13520
11903
DATADIRNAME=share
13522
$as_echo "$as_me: failed program was:" >&5
13523
sed 's/^/| /' conftest.$ac_ext >&5
13526
11906
*-*-solaris*)
13527
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
13528
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
13529
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
13530
$as_echo_n "(cached) " >&6
13532
cat >conftest.$ac_ext <<_ACEOF
13535
cat confdefs.h >>conftest.$ac_ext
13536
cat >>conftest.$ac_ext <<_ACEOF
13537
/* end confdefs.h. */
13538
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
13539
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13540
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
13542
/* System header to define __stub macros and hopefully few prototypes,
13543
which can conflict with char bind_textdomain_codeset (); below.
13544
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13545
<limits.h> exists even on freestanding compilers. */
13548
# include <limits.h>
13550
# include <assert.h>
13553
#undef bind_textdomain_codeset
13555
/* Override any GCC internal prototype to avoid an error.
13556
Use char because int might match the return type of a GCC
13557
builtin and then its argument prototype would still apply. */
13561
char bind_textdomain_codeset ();
13562
/* The GNU C library defines this for functions which it implements
13563
to always fail with ENOSYS. Some functions are actually named
13564
something starting with __ and the normal name is an alias. */
13565
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
13572
return bind_textdomain_codeset ();
13577
rm -f conftest.$ac_objext conftest$ac_exeext
13578
if { (ac_try="$ac_link"
13579
case "(($ac_try" in
13580
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13581
*) ac_try_echo=$ac_try;;
13583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13584
$as_echo "$ac_try_echo") >&5
13585
(eval "$ac_link") 2>conftest.er1
13587
grep -v '^ *+' conftest.er1 >conftest.err
13589
cat conftest.err >&5
13590
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591
(exit $ac_status); } && {
13592
test -z "$ac_c_werror_flag" ||
13593
test ! -s conftest.err
13594
} && test -s conftest$ac_exeext && {
13595
test "$cross_compiling" = yes ||
13596
$as_test_x conftest$ac_exeext
13598
ac_cv_func_bind_textdomain_codeset=yes
13600
$as_echo "$as_me: failed program was:" >&5
13601
sed 's/^/| /' conftest.$ac_ext >&5
13603
ac_cv_func_bind_textdomain_codeset=no
13606
rm -rf conftest.dSYM
13607
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13608
conftest$ac_exeext conftest.$ac_ext
13610
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
13611
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
13612
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
11907
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11908
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13613
11909
CATOBJEXT=.gmo
13614
11910
DATADIRNAME=share
14108
12378
# Put the nasty error message in config.log where it belongs
14109
12379
echo "$CUPS_PK_PKG_ERRORS" >&5
14111
{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
14114
dbus-1 >= $DBUS_REQUIRED \
14115
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14116
polkit-gobject-1 >= $POLKIT_REQUIRED) were not met:
14118
$CUPS_PK_PKG_ERRORS
14120
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14121
installed software in a non-standard prefix.
14123
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
14124
and CUPS_PK_LIBS to avoid the need to call pkg-config.
14125
See the pkg-config man page for more details.
14127
$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
14130
dbus-1 >= $DBUS_REQUIRED \
14131
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14132
polkit-gobject-1 >= $POLKIT_REQUIRED) were not met:
14134
$CUPS_PK_PKG_ERRORS
14136
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14137
installed software in a non-standard prefix.
14139
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
14140
and CUPS_PK_LIBS to avoid the need to call pkg-config.
14141
See the pkg-config man page for more details.
14143
{ (exit 1); exit 1; }; }
12381
as_fn_error "Package requirements (glib-2.0 >= $GLIB_REQUIRED \
12384
dbus-1 >= $DBUS_REQUIRED \
12385
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
12386
polkit-gobject-1 >= $POLKIT_REQUIRED) were not met:
12388
$CUPS_PK_PKG_ERRORS
12390
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12391
installed software in a non-standard prefix.
12393
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
12394
and CUPS_PK_LIBS to avoid the need to call pkg-config.
12395
See the pkg-config man page for more details." "$LINENO" 5
14144
12396
elif test $pkg_failed = untried; then
14145
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12398
$as_echo "no" >&6; }
12399
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14146
12400
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14147
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14148
is in your PATH or set the PKG_CONFIG environment variable to the full
14149
path to pkg-config.
14151
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
14152
and CUPS_PK_LIBS to avoid the need to call pkg-config.
14153
See the pkg-config man page for more details.
14155
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14156
See \`config.log' for more details." >&5
14157
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14158
is in your PATH or set the PKG_CONFIG environment variable to the full
14159
path to pkg-config.
14161
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
14162
and CUPS_PK_LIBS to avoid the need to call pkg-config.
14163
See the pkg-config man page for more details.
14165
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14166
See \`config.log' for more details." >&2;}
14167
{ (exit 1); exit 1; }; }; }
12401
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12402
is in your PATH or set the PKG_CONFIG environment variable to the full
12403
path to pkg-config.
12405
Alternatively, you may set the environment variables CUPS_PK_CFLAGS
12406
and CUPS_PK_LIBS to avoid the need to call pkg-config.
12407
See the pkg-config man page for more details.
12409
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12410
See \`config.log' for more details." "$LINENO" 5; }
14169
12412
CUPS_PK_CFLAGS=$pkg_cv_CUPS_PK_CFLAGS
14170
12413
CUPS_PK_LIBS=$pkg_cv_CUPS_PK_LIBS
14171
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14172
12415
$as_echo "yes" >&6; }
14179
12422
pkg_failed=no
14180
{ $as_echo "$as_me:$LINENO: checking for CUPS_PK_GNOME" >&5
12423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUPS_PK_GNOME" >&5
14181
12424
$as_echo_n "checking for CUPS_PK_GNOME... " >&6; }
14183
12426
if test -n "$CUPS_PK_GNOME_CFLAGS"; then
14184
12427
pkg_cv_CUPS_PK_GNOME_CFLAGS="$CUPS_PK_GNOME_CFLAGS"
14185
12428
elif test -n "$PKG_CONFIG"; then
14186
12429
if test -n "$PKG_CONFIG" && \
14187
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
12430
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\
14188
12431
dbus-1 >= \$DBUS_REQUIRED \\
14189
dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\"") >&5
12432
dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
14190
12433
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED \
14191
12434
dbus-1 >= $DBUS_REQUIRED \
14192
12435
dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
14194
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195
(exit $ac_status); }; then
12437
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12438
test $ac_status = 0; }; then
14196
12439
pkg_cv_CUPS_PK_GNOME_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED \
14197
12440
dbus-1 >= $DBUS_REQUIRED \
14198
12441
dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
14246
12491
# Put the nasty error message in config.log where it belongs
14247
12492
echo "$CUPS_PK_GNOME_PKG_ERRORS" >&5
14249
{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
14250
dbus-1 >= $DBUS_REQUIRED \
14251
dbus-glib-1 >= $DBUS_GLIB_REQUIRED) were not met:
14253
$CUPS_PK_GNOME_PKG_ERRORS
14255
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14256
installed software in a non-standard prefix.
14258
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
14259
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
14260
See the pkg-config man page for more details.
14262
$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED \
14263
dbus-1 >= $DBUS_REQUIRED \
14264
dbus-glib-1 >= $DBUS_GLIB_REQUIRED) were not met:
14266
$CUPS_PK_GNOME_PKG_ERRORS
14268
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14269
installed software in a non-standard prefix.
14271
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
14272
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
14273
See the pkg-config man page for more details.
14275
{ (exit 1); exit 1; }; }
12494
as_fn_error "Package requirements (glib-2.0 >= $GLIB_REQUIRED \
12495
dbus-1 >= $DBUS_REQUIRED \
12496
dbus-glib-1 >= $DBUS_GLIB_REQUIRED) were not met:
12498
$CUPS_PK_GNOME_PKG_ERRORS
12500
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12501
installed software in a non-standard prefix.
12503
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
12504
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
12505
See the pkg-config man page for more details." "$LINENO" 5
14276
12506
elif test $pkg_failed = untried; then
14277
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12508
$as_echo "no" >&6; }
12509
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14278
12510
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14279
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14280
is in your PATH or set the PKG_CONFIG environment variable to the full
14281
path to pkg-config.
14283
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
14284
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
14285
See the pkg-config man page for more details.
14287
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14288
See \`config.log' for more details." >&5
14289
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14290
is in your PATH or set the PKG_CONFIG environment variable to the full
14291
path to pkg-config.
14293
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
14294
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
14295
See the pkg-config man page for more details.
14297
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14298
See \`config.log' for more details." >&2;}
14299
{ (exit 1); exit 1; }; }; }
12511
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12512
is in your PATH or set the PKG_CONFIG environment variable to the full
12513
path to pkg-config.
12515
Alternatively, you may set the environment variables CUPS_PK_GNOME_CFLAGS
12516
and CUPS_PK_GNOME_LIBS to avoid the need to call pkg-config.
12517
See the pkg-config man page for more details.
12519
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12520
See \`config.log' for more details." "$LINENO" 5; }
14301
12522
CUPS_PK_GNOME_CFLAGS=$pkg_cv_CUPS_PK_GNOME_CFLAGS
14302
12523
CUPS_PK_GNOME_LIBS=$pkg_cv_CUPS_PK_GNOME_LIBS
14303
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14304
12525
$as_echo "yes" >&6; }
14310
12531
# check for cups
14314
12532
for ac_header in cups/cups.h cups/http.h cups/ipp.h
14316
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14317
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14318
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14319
$as_echo_n "checking for $ac_header... " >&6; }
14320
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14321
$as_echo_n "(cached) " >&6
14323
ac_res=`eval 'as_val=${'$as_ac_Header'}
14324
$as_echo "$as_val"'`
14325
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14326
$as_echo "$ac_res" >&6; }
14328
# Is the header compilable?
14329
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14330
$as_echo_n "checking $ac_header usability... " >&6; }
14331
cat >conftest.$ac_ext <<_ACEOF
14334
cat confdefs.h >>conftest.$ac_ext
14335
cat >>conftest.$ac_ext <<_ACEOF
14336
/* end confdefs.h. */
14337
$ac_includes_default
14338
#include <$ac_header>
14340
rm -f conftest.$ac_objext
14341
if { (ac_try="$ac_compile"
14342
case "(($ac_try" in
14343
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14344
*) ac_try_echo=$ac_try;;
14346
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14347
$as_echo "$ac_try_echo") >&5
14348
(eval "$ac_compile") 2>conftest.er1
14350
grep -v '^ *+' conftest.er1 >conftest.err
14352
cat conftest.err >&5
14353
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354
(exit $ac_status); } && {
14355
test -z "$ac_c_werror_flag" ||
14356
test ! -s conftest.err
14357
} && test -s conftest.$ac_objext; then
14358
ac_header_compiler=yes
14360
$as_echo "$as_me: failed program was:" >&5
14361
sed 's/^/| /' conftest.$ac_ext >&5
14363
ac_header_compiler=no
14366
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14367
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14368
$as_echo "$ac_header_compiler" >&6; }
14370
# Is the header present?
14371
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14372
$as_echo_n "checking $ac_header presence... " >&6; }
14373
cat >conftest.$ac_ext <<_ACEOF
14376
cat confdefs.h >>conftest.$ac_ext
14377
cat >>conftest.$ac_ext <<_ACEOF
14378
/* end confdefs.h. */
14379
#include <$ac_header>
14381
if { (ac_try="$ac_cpp conftest.$ac_ext"
14382
case "(($ac_try" in
14383
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14384
*) ac_try_echo=$ac_try;;
14386
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14387
$as_echo "$ac_try_echo") >&5
14388
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14390
grep -v '^ *+' conftest.er1 >conftest.err
14392
cat conftest.err >&5
14393
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394
(exit $ac_status); } >/dev/null && {
14395
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14396
test ! -s conftest.err
14398
ac_header_preproc=yes
14400
$as_echo "$as_me: failed program was:" >&5
14401
sed 's/^/| /' conftest.$ac_ext >&5
14403
ac_header_preproc=no
14406
rm -f conftest.err conftest.$ac_ext
14407
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14408
$as_echo "$ac_header_preproc" >&6; }
14410
# So? What about this header?
14411
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14413
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14414
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14415
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14416
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14417
ac_header_preproc=yes
14420
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14421
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14422
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14423
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14424
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14425
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14426
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14427
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14428
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14429
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14430
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14431
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14433
## -------------------------------------- ##
14434
## Report this to mailto:vuntz@novell.com ##
14435
## -------------------------------------- ##
14437
) | sed "s/^/$as_me: WARNING: /" >&2
14440
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14441
$as_echo_n "checking for $ac_header... " >&6; }
14442
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14443
$as_echo_n "(cached) " >&6
14445
eval "$as_ac_Header=\$ac_header_preproc"
14447
ac_res=`eval 'as_val=${'$as_ac_Header'}
14448
$as_echo "$as_val"'`
14449
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14450
$as_echo "$ac_res" >&6; }
14453
as_val=`eval 'as_val=${'$as_ac_Header'}
14454
$as_echo "$as_val"'`
14455
if test "x$as_val" = x""yes; then
12534
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12535
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12536
eval as_val=\$$as_ac_Header
12537
if test "x$as_val" = x""yes; then :
14456
12538
cat >>confdefs.h <<_ACEOF
14457
12539
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1