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
138
175
if test "x$CONFIG_SHELL" = x; 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 :
176
if (eval ":") 2>/dev/null; then
178
177
as_have_required=yes
180
179
as_have_required=no
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
187
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
246
test -z "$as_dir" && as_dir=.
194
249
for as_base in sh bash ksh sh5; do
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 :
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
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
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
222
367
export CONFIG_SHELL
223
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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: http://code.google.com/p/gnome-paint/ about your
235
$0: system, including any error possibly output before this
236
$0: message. Then install a modern shell, or manually run
237
$0: the script under such a shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
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. :-)
1642
1695
test -n "$ac_init_help" && exit $ac_status
1643
1696
if $ac_init_version; then
1645
gnome-paint configure 0.3
1646
generated by GNU Autoconf 2.65
1698
gnome-paint configure 0.4.0
1699
generated by GNU Autoconf 2.63
1648
Copyright (C) 2009 Free Software Foundation, Inc.
1701
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1702
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1649
1703
This configure script is free software; the Free Software Foundation
1650
1704
gives unlimited permission to copy, distribute and modify it.
1655
## ------------------------ ##
1656
## Autoconf initialization. ##
1657
## ------------------------ ##
1659
# ac_fn_c_try_compile LINENO
1660
# --------------------------
1661
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1662
ac_fn_c_try_compile ()
1664
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665
rm -f conftest.$ac_objext
1666
if { { ac_try="$ac_compile"
1668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669
*) ac_try_echo=$ac_try;;
1671
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672
$as_echo "$ac_try_echo"; } >&5
1673
(eval "$ac_compile") 2>conftest.err
1675
if test -s conftest.err; then
1676
grep -v '^ *+' conftest.err >conftest.er1
1677
cat conftest.er1 >&5
1678
mv -f conftest.er1 conftest.err
1680
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681
test $ac_status = 0; } && {
1682
test -z "$ac_c_werror_flag" ||
1683
test ! -s conftest.err
1684
} && test -s conftest.$ac_objext; then :
1687
$as_echo "$as_me: failed program was:" >&5
1688
sed 's/^/| /' conftest.$ac_ext >&5
1692
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693
as_fn_set_status $ac_retval
1695
} # ac_fn_c_try_compile
1697
# ac_fn_c_try_link LINENO
1698
# -----------------------
1699
# Try to link conftest.$ac_ext, and return whether this succeeded.
1702
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703
rm -f conftest.$ac_objext conftest$ac_exeext
1704
if { { ac_try="$ac_link"
1706
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1707
*) ac_try_echo=$ac_try;;
1709
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710
$as_echo "$ac_try_echo"; } >&5
1711
(eval "$ac_link") 2>conftest.err
1713
if test -s conftest.err; then
1714
grep -v '^ *+' conftest.err >conftest.er1
1715
cat conftest.er1 >&5
1716
mv -f conftest.er1 conftest.err
1718
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719
test $ac_status = 0; } && {
1720
test -z "$ac_c_werror_flag" ||
1721
test ! -s conftest.err
1722
} && test -s conftest$ac_exeext && {
1723
test "$cross_compiling" = yes ||
1724
$as_test_x conftest$ac_exeext
1728
$as_echo "$as_me: failed program was:" >&5
1729
sed 's/^/| /' conftest.$ac_ext >&5
1733
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1734
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1735
# interfere with the next link command; also delete a directory that is
1736
# left behind by Apple's compiler. We do this before executing the actions.
1737
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1738
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739
as_fn_set_status $ac_retval
1741
} # ac_fn_c_try_link
1743
# ac_fn_c_try_cpp LINENO
1744
# ----------------------
1745
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749
if { { ac_try="$ac_cpp conftest.$ac_ext"
1751
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752
*) ac_try_echo=$ac_try;;
1754
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755
$as_echo "$ac_try_echo"; } >&5
1756
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1758
if test -s conftest.err; then
1759
grep -v '^ *+' conftest.err >conftest.er1
1760
cat conftest.er1 >&5
1761
mv -f conftest.er1 conftest.err
1763
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764
test $ac_status = 0; } >/dev/null && {
1765
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1766
test ! -s conftest.err
1770
$as_echo "$as_me: failed program was:" >&5
1771
sed 's/^/| /' conftest.$ac_ext >&5
1775
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1776
as_fn_set_status $ac_retval
1780
# ac_fn_c_try_run LINENO
1781
# ----------------------
1782
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1783
# that executables *can* be run.
1786
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787
if { { ac_try="$ac_link"
1789
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790
*) ac_try_echo=$ac_try;;
1792
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793
$as_echo "$ac_try_echo"; } >&5
1794
(eval "$ac_link") 2>&5
1796
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1798
{ { case "(($ac_try" in
1799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800
*) ac_try_echo=$ac_try;;
1802
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803
$as_echo "$ac_try_echo"; } >&5
1804
(eval "$ac_try") 2>&5
1806
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807
test $ac_status = 0; }; }; then :
1810
$as_echo "$as_me: program exited with status $ac_status" >&5
1811
$as_echo "$as_me: failed program was:" >&5
1812
sed 's/^/| /' conftest.$ac_ext >&5
1814
ac_retval=$ac_status
1816
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818
as_fn_set_status $ac_retval
1822
# ac_fn_c_check_func LINENO FUNC VAR
1823
# ----------------------------------
1824
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1825
ac_fn_c_check_func ()
1827
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829
$as_echo_n "checking for $2... " >&6; }
1830
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1831
$as_echo_n "(cached) " >&6
1833
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834
/* end confdefs.h. */
1835
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1836
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1837
#define $2 innocuous_$2
1839
/* System header to define __stub macros and hopefully few prototypes,
1840
which can conflict with char $2 (); below.
1841
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1842
<limits.h> exists even on freestanding compilers. */
1845
# include <limits.h>
1847
# include <assert.h>
1852
/* Override any GCC internal prototype to avoid an error.
1853
Use char because int might match the return type of a GCC
1854
builtin and then its argument prototype would still apply. */
1859
/* The GNU C library defines this for functions which it implements
1860
to always fail with ENOSYS. Some functions are actually named
1861
something starting with __ and the normal name is an alias. */
1862
#if defined __stub_$2 || defined __stub___$2
1874
if ac_fn_c_try_link "$LINENO"; then :
1879
rm -f core conftest.err conftest.$ac_objext \
1880
conftest$ac_exeext 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_func
1889
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1890
# -------------------------------------------------------
1891
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1892
# the include files in INCLUDES and setting the cache variable VAR
1894
ac_fn_c_check_header_mongrel ()
1896
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899
$as_echo_n "checking for $2... " >&6; }
1900
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901
$as_echo_n "(cached) " >&6
1904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905
$as_echo "$ac_res" >&6; }
1907
# Is the header compilable?
1908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1909
$as_echo_n "checking $2 usability... " >&6; }
1910
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911
/* end confdefs.h. */
1915
if ac_fn_c_try_compile "$LINENO"; then :
1916
ac_header_compiler=yes
1918
ac_header_compiler=no
1920
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1922
$as_echo "$ac_header_compiler" >&6; }
1924
# Is the header present?
1925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1926
$as_echo_n "checking $2 presence... " >&6; }
1927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928
/* end confdefs.h. */
1931
if ac_fn_c_try_cpp "$LINENO"; then :
1932
ac_header_preproc=yes
1934
ac_header_preproc=no
1936
rm -f conftest.err conftest.$ac_ext
1937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1938
$as_echo "$ac_header_preproc" >&6; }
1940
# So? What about this header?
1941
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1943
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1944
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1945
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1946
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1950
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1951
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1952
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1953
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1954
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1955
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1956
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1957
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1958
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1960
## ---------------------------------------------------- ##
1961
## Report this to http://code.google.com/p/gnome-paint/ ##
1962
## ---------------------------------------------------- ##
1964
) | sed "s/^/$as_me: WARNING: /" >&2
1967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968
$as_echo_n "checking for $2... " >&6; }
1969
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1970
$as_echo_n "(cached) " >&6
1972
eval "$3=\$ac_header_compiler"
1975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976
$as_echo "$ac_res" >&6; }
1978
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1980
} # ac_fn_c_check_header_mongrel
1982
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1983
# -------------------------------------------------------
1984
# Tests whether HEADER exists and can be compiled using the include files in
1985
# INCLUDES, setting the cache variable VAR accordingly.
1986
ac_fn_c_check_header_compile ()
1988
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1990
$as_echo_n "checking for $2... " >&6; }
1991
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1992
$as_echo_n "(cached) " >&6
1994
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995
/* end confdefs.h. */
1999
if ac_fn_c_try_compile "$LINENO"; then :
2004
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008
$as_echo "$ac_res" >&6; }
2009
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011
} # ac_fn_c_check_header_compile
2012
1708
cat >config.log <<_ACEOF
2013
1709
This file contains any messages produced by compilers while
2014
1710
running configure, to aid debugging if configure makes a mistake.
2016
It was created by gnome-paint $as_me 0.3, which was
2017
generated by GNU Autoconf 2.65. Invocation command line was
1712
It was created by gnome-paint $as_me 0.4.0, which was
1713
generated by GNU Autoconf 2.63. Invocation command line was
3251
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2988
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3252
2989
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253
as_fn_error "no acceptable C compiler found in \$PATH
3254
See \`config.log' for more details." "$LINENO" 5; }
2990
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2991
See \`config.log' for more details." >&5
2992
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2993
See \`config.log' for more details." >&2;}
2994
{ (exit 1); exit 1; }; }; }
3256
2996
# Provide some information about the compiler.
3257
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2997
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3258
2998
set X $ac_compile
3260
for ac_option in --version -v -V -qversion; do
3261
{ { ac_try="$ac_compiler $ac_option >&5"
3263
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264
*) ac_try_echo=$ac_try;;
3266
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3267
$as_echo "$ac_try_echo"; } >&5
3268
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3270
if test -s conftest.err; then
3272
... rest of stderr output deleted ...
3273
10q' conftest.err >conftest.er1
3274
cat conftest.er1 >&5
3276
rm -f conftest.er1 conftest.err
3277
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278
test $ac_status = 0; }
3000
{ (ac_try="$ac_compiler --version >&5"
3002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003
*) ac_try_echo=$ac_try;;
3005
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3006
$as_echo "$ac_try_echo") >&5
3007
(eval "$ac_compiler --version >&5") 2>&5
3009
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010
(exit $ac_status); }
3011
{ (ac_try="$ac_compiler -v >&5"
3013
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014
*) ac_try_echo=$ac_try;;
3016
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3017
$as_echo "$ac_try_echo") >&5
3018
(eval "$ac_compiler -v >&5") 2>&5
3020
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021
(exit $ac_status); }
3022
{ (ac_try="$ac_compiler -V >&5"
3024
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025
*) ac_try_echo=$ac_try;;
3027
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3028
$as_echo "$ac_try_echo") >&5
3029
(eval "$ac_compiler -V >&5") 2>&5
3031
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032
(exit $ac_status); }
3281
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034
cat >conftest.$ac_ext <<_ACEOF
3037
cat confdefs.h >>conftest.$ac_ext
3038
cat >>conftest.$ac_ext <<_ACEOF
3282
3039
/* end confdefs.h. */
3360
if test -z "$ac_file"; then :
3361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362
$as_echo "no" >&6; }
3363
$as_echo "$as_me: failed program was:" >&5
3364
sed 's/^/| /' conftest.$ac_ext >&5
3366
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368
{ as_fn_set_status 77
3369
as_fn_error "C compiler cannot create executables
3370
See \`config.log' for more details." "$LINENO" 5; }; }
3372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3373
$as_echo "yes" >&6; }
3375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3376
$as_echo_n "checking for C compiler default output file name... " >&6; }
3377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3118
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3378
3119
$as_echo "$ac_file" >&6; }
3120
if test -z "$ac_file"; then
3121
$as_echo "$as_me: failed program was:" >&5
3122
sed 's/^/| /' conftest.$ac_ext >&5
3124
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3125
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3127
See \`config.log' for more details." >&5
3128
$as_echo "$as_me: error: C compiler cannot create executables
3129
See \`config.log' for more details." >&2;}
3130
{ (exit 77); exit 77; }; }; }
3379
3133
ac_exeext=$ac_cv_exeext
3135
# Check that the compiler produces executables we can run. If not, either
3136
# the compiler is broken, or we cross compile.
3137
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3138
$as_echo_n "checking whether the C compiler works... " >&6; }
3139
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3140
# If not cross compiling, check that we can run a simple program.
3141
if test "$cross_compiling" != yes; then
3142
if { ac_try='./$ac_file'
3143
{ (case "(($ac_try" in
3144
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145
*) ac_try_echo=$ac_try;;
3147
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3148
$as_echo "$ac_try_echo") >&5
3149
(eval "$ac_try") 2>&5
3151
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152
(exit $ac_status); }; }; then
3155
if test "$cross_compiling" = maybe; then
3158
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3159
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3161
If you meant to cross compile, use \`--host'.
3162
See \`config.log' for more details." >&5
3163
$as_echo "$as_me: error: cannot run C compiled programs.
3164
If you meant to cross compile, use \`--host'.
3165
See \`config.log' for more details." >&2;}
3166
{ (exit 1); exit 1; }; }; }
3170
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3171
$as_echo "yes" >&6; }
3381
3173
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3382
3174
ac_clean_files=$ac_clean_files_save
3383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3175
# Check that the compiler produces executables we can run. If not, either
3176
# the compiler is broken, or we cross compile.
3177
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3178
$as_echo_n "checking whether we are cross compiling... " >&6; }
3179
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3180
$as_echo "$cross_compiling" >&6; }
3182
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3384
3183
$as_echo_n "checking for suffix of executables... " >&6; }
3385
if { { ac_try="$ac_link"
3184
if { (ac_try="$ac_link"
3386
3185
case "(($ac_try" in
3387
3186
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388
3187
*) ac_try_echo=$ac_try;;
3390
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391
$as_echo "$ac_try_echo"; } >&5
3189
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3190
$as_echo "$ac_try_echo") >&5
3392
3191
(eval "$ac_link") 2>&5
3394
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395
test $ac_status = 0; }; then :
3193
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194
(exit $ac_status); }; then
3396
3195
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3397
3196
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3398
3197
# work properly (i.e., refer to `conftest.exe'), while it won't with
3410
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3411
3210
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412
as_fn_error "cannot compute suffix of executables: cannot compile and link
3413
See \`config.log' for more details." "$LINENO" 5; }
3211
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3212
See \`config.log' for more details." >&5
3213
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3214
See \`config.log' for more details." >&2;}
3215
{ (exit 1); exit 1; }; }; }
3415
rm -f conftest conftest$ac_cv_exeext
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3218
rm -f conftest$ac_cv_exeext
3219
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3417
3220
$as_echo "$ac_cv_exeext" >&6; }
3419
3222
rm -f conftest.$ac_ext
3420
3223
EXEEXT=$ac_cv_exeext
3421
3224
ac_exeext=$EXEEXT
3422
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423
/* end confdefs.h. */
3428
FILE *f = fopen ("conftest.out", "w");
3429
return ferror (f) || fclose (f) != 0;
3435
ac_clean_files="$ac_clean_files conftest.out"
3436
# Check that the compiler produces executables we can run. If not, either
3437
# the compiler is broken, or we cross compile.
3438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3439
$as_echo_n "checking whether we are cross compiling... " >&6; }
3440
if test "$cross_compiling" != yes; then
3441
{ { ac_try="$ac_link"
3443
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444
*) ac_try_echo=$ac_try;;
3446
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447
$as_echo "$ac_try_echo"; } >&5
3448
(eval "$ac_link") 2>&5
3450
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451
test $ac_status = 0; }
3452
if { ac_try='./conftest$ac_cv_exeext'
3453
{ { case "(($ac_try" in
3454
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455
*) ac_try_echo=$ac_try;;
3457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458
$as_echo "$ac_try_echo"; } >&5
3459
(eval "$ac_try") 2>&5
3461
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462
test $ac_status = 0; }; }; then
3465
if test "$cross_compiling" = maybe; then
3468
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470
as_fn_error "cannot run C compiled programs.
3471
If you meant to cross compile, use \`--host'.
3472
See \`config.log' for more details." "$LINENO" 5; }
3476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3477
$as_echo "$cross_compiling" >&6; }
3479
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3480
ac_clean_files=$ac_clean_files_save
3481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3225
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3482
3226
$as_echo_n "checking for suffix of object files... " >&6; }
3483
if test "${ac_cv_objext+set}" = set; then :
3227
if test "${ac_cv_objext+set}" = set; then
3484
3228
$as_echo_n "(cached) " >&6
3486
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230
cat >conftest.$ac_ext <<_ACEOF
3233
cat confdefs.h >>conftest.$ac_ext
3234
cat >>conftest.$ac_ext <<_ACEOF
3487
3235
/* end confdefs.h. */
4226
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4136
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4227
4137
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228
as_fn_error "no acceptable C compiler found in \$PATH
4229
See \`config.log' for more details." "$LINENO" 5; }
4138
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4139
See \`config.log' for more details." >&5
4140
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4141
See \`config.log' for more details." >&2;}
4142
{ (exit 1); exit 1; }; }; }
4231
4144
# Provide some information about the compiler.
4232
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4145
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4233
4146
set X $ac_compile
4235
for ac_option in --version -v -V -qversion; do
4236
{ { ac_try="$ac_compiler $ac_option >&5"
4238
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239
*) ac_try_echo=$ac_try;;
4241
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242
$as_echo "$ac_try_echo"; } >&5
4243
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4245
if test -s conftest.err; then
4247
... rest of stderr output deleted ...
4248
10q' conftest.err >conftest.er1
4249
cat conftest.er1 >&5
4251
rm -f conftest.er1 conftest.err
4252
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4253
test $ac_status = 0; }
4148
{ (ac_try="$ac_compiler --version >&5"
4150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151
*) ac_try_echo=$ac_try;;
4153
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4154
$as_echo "$ac_try_echo") >&5
4155
(eval "$ac_compiler --version >&5") 2>&5
4157
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158
(exit $ac_status); }
4159
{ (ac_try="$ac_compiler -v >&5"
4161
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162
*) ac_try_echo=$ac_try;;
4164
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4165
$as_echo "$ac_try_echo") >&5
4166
(eval "$ac_compiler -v >&5") 2>&5
4168
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169
(exit $ac_status); }
4170
{ (ac_try="$ac_compiler -V >&5"
4172
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173
*) ac_try_echo=$ac_try;;
4175
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4176
$as_echo "$ac_try_echo") >&5
4177
(eval "$ac_compiler -V >&5") 2>&5
4179
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
(exit $ac_status); }
4256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4182
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4257
4183
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4258
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4184
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4259
4185
$as_echo_n "(cached) " >&6
4261
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187
cat >conftest.$ac_ext <<_ACEOF
4190
cat confdefs.h >>conftest.$ac_ext
4191
cat >>conftest.$ac_ext <<_ACEOF
4262
4192
/* end confdefs.h. */
4893
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4946
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4894
4947
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4895
as_fn_error "no acceptable C compiler found in \$PATH
4896
See \`config.log' for more details." "$LINENO" 5; }
4948
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4949
See \`config.log' for more details." >&5
4950
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4951
See \`config.log' for more details." >&2;}
4952
{ (exit 1); exit 1; }; }; }
4898
4954
# Provide some information about the compiler.
4899
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4955
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4900
4956
set X $ac_compile
4902
for ac_option in --version -v -V -qversion; do
4903
{ { ac_try="$ac_compiler $ac_option >&5"
4905
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906
*) ac_try_echo=$ac_try;;
4908
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4909
$as_echo "$ac_try_echo"; } >&5
4910
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4912
if test -s conftest.err; then
4914
... rest of stderr output deleted ...
4915
10q' conftest.err >conftest.er1
4916
cat conftest.er1 >&5
4918
rm -f conftest.er1 conftest.err
4919
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4920
test $ac_status = 0; }
4958
{ (ac_try="$ac_compiler --version >&5"
4960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4961
*) ac_try_echo=$ac_try;;
4963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4964
$as_echo "$ac_try_echo") >&5
4965
(eval "$ac_compiler --version >&5") 2>&5
4967
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968
(exit $ac_status); }
4969
{ (ac_try="$ac_compiler -v >&5"
4971
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4972
*) ac_try_echo=$ac_try;;
4974
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4975
$as_echo "$ac_try_echo") >&5
4976
(eval "$ac_compiler -v >&5") 2>&5
4978
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979
(exit $ac_status); }
4980
{ (ac_try="$ac_compiler -V >&5"
4982
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983
*) ac_try_echo=$ac_try;;
4985
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4986
$as_echo "$ac_try_echo") >&5
4987
(eval "$ac_compiler -V >&5") 2>&5
4989
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990
(exit $ac_status); }
4923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4992
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4924
4993
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4925
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4994
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4926
4995
$as_echo_n "(cached) " >&6
4928
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997
cat >conftest.$ac_ext <<_ACEOF
5000
cat confdefs.h >>conftest.$ac_ext
5001
cat >>conftest.$ac_ext <<_ACEOF
4929
5002
/* end confdefs.h. */
5360
if ac_fn_c_try_cpp "$LINENO"; then :
5608
if { (ac_try="$ac_cpp conftest.$ac_ext"
5610
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5611
*) ac_try_echo=$ac_try;;
5613
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5614
$as_echo "$ac_try_echo") >&5
5615
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5617
grep -v '^ *+' conftest.er1 >conftest.err
5619
cat conftest.err >&5
5620
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621
(exit $ac_status); } >/dev/null && {
5622
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5623
test ! -s conftest.err
5627
$as_echo "$as_me: failed program was:" >&5
5628
sed 's/^/| /' conftest.$ac_ext >&5
5363
5630
# Broken: fails on valid input.
5366
5634
rm -f conftest.err conftest.$ac_ext
5368
5636
# OK, works on sane cases. Now check whether nonexistent headers
5369
5637
# can be detected and how.
5370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5638
cat >conftest.$ac_ext <<_ACEOF
5641
cat confdefs.h >>conftest.$ac_ext
5642
cat >>conftest.$ac_ext <<_ACEOF
5371
5643
/* end confdefs.h. */
5372
5644
#include <ac_nonexistent.h>
5374
if ac_fn_c_try_cpp "$LINENO"; then :
5646
if { (ac_try="$ac_cpp conftest.$ac_ext"
5648
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5649
*) ac_try_echo=$ac_try;;
5651
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5652
$as_echo "$ac_try_echo") >&5
5653
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5655
grep -v '^ *+' conftest.er1 >conftest.err
5657
cat conftest.err >&5
5658
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659
(exit $ac_status); } >/dev/null && {
5660
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5661
test ! -s conftest.err
5375
5663
# Broken: success on invalid input.
5666
$as_echo "$as_me: failed program was:" >&5
5667
sed 's/^/| /' conftest.$ac_ext >&5
5378
5669
# Passes both tests.
5379
5670
ac_preproc_ok=:
5382
5674
rm -f conftest.err conftest.$ac_ext
5385
5677
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5386
5678
rm -f conftest.err conftest.$ac_ext
5387
if $ac_preproc_ok; then :
5679
if $ac_preproc_ok; then
5390
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5682
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5391
5683
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5392
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5393
See \`config.log' for more details." "$LINENO" 5; }
5684
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5685
See \`config.log' for more details." >&5
5686
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5687
See \`config.log' for more details." >&2;}
5688
{ (exit 1); exit 1; }; }; }
6181
if ac_fn_c_try_link "$LINENO"; then :
6566
rm -f conftest.$ac_objext conftest$ac_exeext
6567
if { (ac_try="$ac_link"
6569
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6570
*) ac_try_echo=$ac_try;;
6572
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6573
$as_echo "$ac_try_echo") >&5
6574
(eval "$ac_link") 2>conftest.er1
6576
grep -v '^ *+' conftest.er1 >conftest.err
6578
cat conftest.err >&5
6579
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580
(exit $ac_status); } && {
6581
test -z "$ac_c_werror_flag" ||
6582
test ! -s conftest.err
6583
} && test -s conftest$ac_exeext && {
6584
test "$cross_compiling" = yes ||
6585
$as_test_x conftest$ac_exeext
6182
6587
DATADIRNAME=share
6589
$as_echo "$as_me: failed program was:" >&5
6590
sed 's/^/| /' conftest.$ac_ext >&5
6186
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6187
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6594
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6595
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6596
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6597
$as_echo_n "(cached) " >&6
6599
cat >conftest.$ac_ext <<_ACEOF
6602
cat confdefs.h >>conftest.$ac_ext
6603
cat >>conftest.$ac_ext <<_ACEOF
6604
/* end confdefs.h. */
6605
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6606
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6607
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6609
/* System header to define __stub macros and hopefully few prototypes,
6610
which can conflict with char bind_textdomain_codeset (); below.
6611
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6612
<limits.h> exists even on freestanding compilers. */
6615
# include <limits.h>
6617
# include <assert.h>
6620
#undef bind_textdomain_codeset
6622
/* Override any GCC internal prototype to avoid an error.
6623
Use char because int might match the return type of a GCC
6624
builtin and then its argument prototype would still apply. */
6628
char bind_textdomain_codeset ();
6629
/* The GNU C library defines this for functions which it implements
6630
to always fail with ENOSYS. Some functions are actually named
6631
something starting with __ and the normal name is an alias. */
6632
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6639
return bind_textdomain_codeset ();
6644
rm -f conftest.$ac_objext conftest$ac_exeext
6645
if { (ac_try="$ac_link"
6647
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6648
*) ac_try_echo=$ac_try;;
6650
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6651
$as_echo "$ac_try_echo") >&5
6652
(eval "$ac_link") 2>conftest.er1
6654
grep -v '^ *+' conftest.er1 >conftest.err
6656
cat conftest.err >&5
6657
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658
(exit $ac_status); } && {
6659
test -z "$ac_c_werror_flag" ||
6660
test ! -s conftest.err
6661
} && test -s conftest$ac_exeext && {
6662
test "$cross_compiling" = yes ||
6663
$as_test_x conftest$ac_exeext
6665
ac_cv_func_bind_textdomain_codeset=yes
6667
$as_echo "$as_me: failed program was:" >&5
6668
sed 's/^/| /' conftest.$ac_ext >&5
6670
ac_cv_func_bind_textdomain_codeset=no
6673
rm -rf conftest.dSYM
6674
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6675
conftest$ac_exeext conftest.$ac_ext
6677
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6678
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6679
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
6188
6680
DATADIRNAME=share
6190
6682
DATADIRNAME=lib
6234
for ac_header in locale.h
6236
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
6237
if test "x$ac_cv_header_locale_h" = x""yes; then :
6784
for ac_header in locale.h
6786
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6787
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6788
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6789
$as_echo_n "checking for $ac_header... " >&6; }
6790
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6791
$as_echo_n "(cached) " >&6
6793
ac_res=`eval 'as_val=${'$as_ac_Header'}
6794
$as_echo "$as_val"'`
6795
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6796
$as_echo "$ac_res" >&6; }
6798
# Is the header compilable?
6799
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6800
$as_echo_n "checking $ac_header usability... " >&6; }
6801
cat >conftest.$ac_ext <<_ACEOF
6804
cat confdefs.h >>conftest.$ac_ext
6805
cat >>conftest.$ac_ext <<_ACEOF
6806
/* end confdefs.h. */
6807
$ac_includes_default
6808
#include <$ac_header>
6810
rm -f conftest.$ac_objext
6811
if { (ac_try="$ac_compile"
6813
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6814
*) ac_try_echo=$ac_try;;
6816
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6817
$as_echo "$ac_try_echo") >&5
6818
(eval "$ac_compile") 2>conftest.er1
6820
grep -v '^ *+' conftest.er1 >conftest.err
6822
cat conftest.err >&5
6823
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824
(exit $ac_status); } && {
6825
test -z "$ac_c_werror_flag" ||
6826
test ! -s conftest.err
6827
} && test -s conftest.$ac_objext; then
6828
ac_header_compiler=yes
6830
$as_echo "$as_me: failed program was:" >&5
6831
sed 's/^/| /' conftest.$ac_ext >&5
6833
ac_header_compiler=no
6836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6837
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6838
$as_echo "$ac_header_compiler" >&6; }
6840
# Is the header present?
6841
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6842
$as_echo_n "checking $ac_header presence... " >&6; }
6843
cat >conftest.$ac_ext <<_ACEOF
6846
cat confdefs.h >>conftest.$ac_ext
6847
cat >>conftest.$ac_ext <<_ACEOF
6848
/* end confdefs.h. */
6849
#include <$ac_header>
6851
if { (ac_try="$ac_cpp conftest.$ac_ext"
6853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6854
*) ac_try_echo=$ac_try;;
6856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6857
$as_echo "$ac_try_echo") >&5
6858
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6860
grep -v '^ *+' conftest.er1 >conftest.err
6862
cat conftest.err >&5
6863
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864
(exit $ac_status); } >/dev/null && {
6865
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6866
test ! -s conftest.err
6868
ac_header_preproc=yes
6870
$as_echo "$as_me: failed program was:" >&5
6871
sed 's/^/| /' conftest.$ac_ext >&5
6873
ac_header_preproc=no
6876
rm -f conftest.err conftest.$ac_ext
6877
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6878
$as_echo "$ac_header_preproc" >&6; }
6880
# So? What about this header?
6881
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6883
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6884
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6885
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6886
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6887
ac_header_preproc=yes
6890
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6891
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6892
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6893
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6894
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6895
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6896
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6897
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6898
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6899
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6900
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6901
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6903
## ---------------------------------------------------- ##
6904
## Report this to http://code.google.com/p/gnome-paint/ ##
6905
## ---------------------------------------------------- ##
6907
) | sed "s/^/$as_me: WARNING: /" >&2
6910
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6911
$as_echo_n "checking for $ac_header... " >&6; }
6912
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6913
$as_echo_n "(cached) " >&6
6915
eval "$as_ac_Header=\$ac_header_preproc"
6917
ac_res=`eval 'as_val=${'$as_ac_Header'}
6918
$as_echo "$as_val"'`
6919
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6920
$as_echo "$ac_res" >&6; }
6923
as_val=`eval 'as_val=${'$as_ac_Header'}
6924
$as_echo "$as_val"'`
6925
if test "x$as_val" = x""yes; then
6238
6926
cat >>confdefs.h <<_ACEOF
6239
#define HAVE_LOCALE_H 1
6927
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6288
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
6289
if test "x$ac_cv_header_libintl_h" = x""yes; then :
7007
if test "${ac_cv_header_libintl_h+set}" = set; then
7008
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
7009
$as_echo_n "checking for libintl.h... " >&6; }
7010
if test "${ac_cv_header_libintl_h+set}" = set; then
7011
$as_echo_n "(cached) " >&6
7013
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7014
$as_echo "$ac_cv_header_libintl_h" >&6; }
7016
# Is the header compilable?
7017
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
7018
$as_echo_n "checking libintl.h usability... " >&6; }
7019
cat >conftest.$ac_ext <<_ACEOF
7022
cat confdefs.h >>conftest.$ac_ext
7023
cat >>conftest.$ac_ext <<_ACEOF
7024
/* end confdefs.h. */
7025
$ac_includes_default
7026
#include <libintl.h>
7028
rm -f conftest.$ac_objext
7029
if { (ac_try="$ac_compile"
7031
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7032
*) ac_try_echo=$ac_try;;
7034
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7035
$as_echo "$ac_try_echo") >&5
7036
(eval "$ac_compile") 2>conftest.er1
7038
grep -v '^ *+' conftest.er1 >conftest.err
7040
cat conftest.err >&5
7041
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042
(exit $ac_status); } && {
7043
test -z "$ac_c_werror_flag" ||
7044
test ! -s conftest.err
7045
} && test -s conftest.$ac_objext; then
7046
ac_header_compiler=yes
7048
$as_echo "$as_me: failed program was:" >&5
7049
sed 's/^/| /' conftest.$ac_ext >&5
7051
ac_header_compiler=no
7054
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7055
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7056
$as_echo "$ac_header_compiler" >&6; }
7058
# Is the header present?
7059
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
7060
$as_echo_n "checking libintl.h presence... " >&6; }
7061
cat >conftest.$ac_ext <<_ACEOF
7064
cat confdefs.h >>conftest.$ac_ext
7065
cat >>conftest.$ac_ext <<_ACEOF
7066
/* end confdefs.h. */
7067
#include <libintl.h>
7069
if { (ac_try="$ac_cpp conftest.$ac_ext"
7071
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7072
*) ac_try_echo=$ac_try;;
7074
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7075
$as_echo "$ac_try_echo") >&5
7076
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7078
grep -v '^ *+' conftest.er1 >conftest.err
7080
cat conftest.err >&5
7081
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082
(exit $ac_status); } >/dev/null && {
7083
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7084
test ! -s conftest.err
7086
ac_header_preproc=yes
7088
$as_echo "$as_me: failed program was:" >&5
7089
sed 's/^/| /' conftest.$ac_ext >&5
7091
ac_header_preproc=no
7094
rm -f conftest.err conftest.$ac_ext
7095
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7096
$as_echo "$ac_header_preproc" >&6; }
7098
# So? What about this header?
7099
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7101
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7102
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7103
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7104
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7105
ac_header_preproc=yes
7108
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7109
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7110
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7111
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7112
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7113
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7114
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7115
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7116
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7117
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7118
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7119
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7121
## ---------------------------------------------------- ##
7122
## Report this to http://code.google.com/p/gnome-paint/ ##
7123
## ---------------------------------------------------- ##
7125
) | sed "s/^/$as_me: WARNING: /" >&2
7128
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
7129
$as_echo_n "checking for libintl.h... " >&6; }
7130
if test "${ac_cv_header_libintl_h+set}" = set; then
7131
$as_echo_n "(cached) " >&6
7133
ac_cv_header_libintl_h=$ac_header_preproc
7135
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7136
$as_echo "$ac_cv_header_libintl_h" >&6; }
7139
if test "x$ac_cv_header_libintl_h" = x""yes; then
6290
7140
gt_cv_func_dgettext_libintl="no"
6291
7141
libintl_extra_libs=""
6294
7144
# First check in libc
6296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
7146
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6297
7147
$as_echo_n "checking for ngettext in libc... " >&6; }
6298
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
7148
if test "${gt_cv_func_ngettext_libc+set}" = set; then
6299
7149
$as_echo_n "(cached) " >&6
6301
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7151
cat >conftest.$ac_ext <<_ACEOF
7154
cat confdefs.h >>conftest.$ac_ext
7155
cat >>conftest.$ac_ext <<_ACEOF
6302
7156
/* end confdefs.h. */
6304
7158
#include <libintl.h>
6345
if ac_fn_c_try_link "$LINENO"; then :
7228
rm -f conftest.$ac_objext conftest$ac_exeext
7229
if { (ac_try="$ac_link"
7231
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7232
*) ac_try_echo=$ac_try;;
7234
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7235
$as_echo "$ac_try_echo") >&5
7236
(eval "$ac_link") 2>conftest.er1
7238
grep -v '^ *+' conftest.er1 >conftest.err
7240
cat conftest.err >&5
7241
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242
(exit $ac_status); } && {
7243
test -z "$ac_c_werror_flag" ||
7244
test ! -s conftest.err
7245
} && test -s conftest$ac_exeext && {
7246
test "$cross_compiling" = yes ||
7247
$as_test_x conftest$ac_exeext
6346
7249
gt_cv_func_dgettext_libc=yes
6348
gt_cv_func_dgettext_libc=no
6350
rm -f core conftest.err conftest.$ac_objext \
6351
conftest$ac_exeext conftest.$ac_ext
6354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
7251
$as_echo "$as_me: failed program was:" >&5
7252
sed 's/^/| /' conftest.$ac_ext >&5
7254
gt_cv_func_dgettext_libc=no
7257
rm -rf conftest.dSYM
7258
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7259
conftest$ac_exeext conftest.$ac_ext
7262
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6355
7263
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6358
7266
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6359
for ac_func in bind_textdomain_codeset
6361
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6362
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7268
for ac_func in bind_textdomain_codeset
7270
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7271
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7272
$as_echo_n "checking for $ac_func... " >&6; }
7273
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7274
$as_echo_n "(cached) " >&6
7276
cat >conftest.$ac_ext <<_ACEOF
7279
cat confdefs.h >>conftest.$ac_ext
7280
cat >>conftest.$ac_ext <<_ACEOF
7281
/* end confdefs.h. */
7282
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7283
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7284
#define $ac_func innocuous_$ac_func
7286
/* System header to define __stub macros and hopefully few prototypes,
7287
which can conflict with char $ac_func (); below.
7288
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7289
<limits.h> exists even on freestanding compilers. */
7292
# include <limits.h>
7294
# include <assert.h>
7299
/* Override any GCC internal prototype to avoid an error.
7300
Use char because int might match the return type of a GCC
7301
builtin and then its argument prototype would still apply. */
7306
/* The GNU C library defines this for functions which it implements
7307
to always fail with ENOSYS. Some functions are actually named
7308
something starting with __ and the normal name is an alias. */
7309
#if defined __stub_$ac_func || defined __stub___$ac_func
7321
rm -f conftest.$ac_objext conftest$ac_exeext
7322
if { (ac_try="$ac_link"
7324
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7325
*) ac_try_echo=$ac_try;;
7327
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7328
$as_echo "$ac_try_echo") >&5
7329
(eval "$ac_link") 2>conftest.er1
7331
grep -v '^ *+' conftest.er1 >conftest.err
7333
cat conftest.err >&5
7334
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335
(exit $ac_status); } && {
7336
test -z "$ac_c_werror_flag" ||
7337
test ! -s conftest.err
7338
} && test -s conftest$ac_exeext && {
7339
test "$cross_compiling" = yes ||
7340
$as_test_x conftest$ac_exeext
7342
eval "$as_ac_var=yes"
7344
$as_echo "$as_me: failed program was:" >&5
7345
sed 's/^/| /' conftest.$ac_ext >&5
7347
eval "$as_ac_var=no"
7350
rm -rf conftest.dSYM
7351
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7352
conftest$ac_exeext conftest.$ac_ext
7354
ac_res=`eval 'as_val=${'$as_ac_var'}
7355
$as_echo "$as_val"'`
7356
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7357
$as_echo "$ac_res" >&6; }
7358
as_val=`eval 'as_val=${'$as_ac_var'}
7359
$as_echo "$as_val"'`
7360
if test "x$as_val" = x""yes; then
6363
7361
cat >>confdefs.h <<_ACEOF
6364
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
7362
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6595
7738
glib_save_LIBS="$LIBS"
6596
7739
LIBS="$LIBS -lintl $libintl_extra_libs"
6597
7740
unset ac_cv_func_bind_textdomain_codeset
6598
for ac_func in bind_textdomain_codeset
6600
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6601
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7742
for ac_func in bind_textdomain_codeset
7744
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7745
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7746
$as_echo_n "checking for $ac_func... " >&6; }
7747
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7748
$as_echo_n "(cached) " >&6
7750
cat >conftest.$ac_ext <<_ACEOF
7753
cat confdefs.h >>conftest.$ac_ext
7754
cat >>conftest.$ac_ext <<_ACEOF
7755
/* end confdefs.h. */
7756
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7757
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7758
#define $ac_func innocuous_$ac_func
7760
/* System header to define __stub macros and hopefully few prototypes,
7761
which can conflict with char $ac_func (); below.
7762
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7763
<limits.h> exists even on freestanding compilers. */
7766
# include <limits.h>
7768
# include <assert.h>
7773
/* Override any GCC internal prototype to avoid an error.
7774
Use char because int might match the return type of a GCC
7775
builtin and then its argument prototype would still apply. */
7780
/* The GNU C library defines this for functions which it implements
7781
to always fail with ENOSYS. Some functions are actually named
7782
something starting with __ and the normal name is an alias. */
7783
#if defined __stub_$ac_func || defined __stub___$ac_func
7795
rm -f conftest.$ac_objext conftest$ac_exeext
7796
if { (ac_try="$ac_link"
7798
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7799
*) ac_try_echo=$ac_try;;
7801
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7802
$as_echo "$ac_try_echo") >&5
7803
(eval "$ac_link") 2>conftest.er1
7805
grep -v '^ *+' conftest.er1 >conftest.err
7807
cat conftest.err >&5
7808
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809
(exit $ac_status); } && {
7810
test -z "$ac_c_werror_flag" ||
7811
test ! -s conftest.err
7812
} && test -s conftest$ac_exeext && {
7813
test "$cross_compiling" = yes ||
7814
$as_test_x conftest$ac_exeext
7816
eval "$as_ac_var=yes"
7818
$as_echo "$as_me: failed program was:" >&5
7819
sed 's/^/| /' conftest.$ac_ext >&5
7821
eval "$as_ac_var=no"
7824
rm -rf conftest.dSYM
7825
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7826
conftest$ac_exeext conftest.$ac_ext
7828
ac_res=`eval 'as_val=${'$as_ac_var'}
7829
$as_echo "$as_val"'`
7830
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7831
$as_echo "$ac_res" >&6; }
7832
as_val=`eval 'as_val=${'$as_ac_var'}
7833
$as_echo "$as_val"'`
7834
if test "x$as_val" = x""yes; then
6602
7835
cat >>confdefs.h <<_ACEOF
6603
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
7836
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6662
7897
MSGFMT="$ac_cv_path_MSGFMT"
6663
7898
if test "$MSGFMT" != "no"; then
6664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7899
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
6665
7900
$as_echo "$MSGFMT" >&6; }
6667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902
{ $as_echo "$as_me:$LINENO: result: no" >&5
6668
7903
$as_echo "no" >&6; }
6670
7905
if test "$MSGFMT" != "no"; then
6671
7906
glib_save_LIBS="$LIBS"
6672
7907
LIBS="$LIBS $INTLLIBS"
6673
for ac_func in dcgettext
6675
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6676
if test "x$ac_cv_func_dcgettext" = x""yes; then :
7909
for ac_func in dcgettext
7911
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7912
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7913
$as_echo_n "checking for $ac_func... " >&6; }
7914
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7915
$as_echo_n "(cached) " >&6
7917
cat >conftest.$ac_ext <<_ACEOF
7920
cat confdefs.h >>conftest.$ac_ext
7921
cat >>conftest.$ac_ext <<_ACEOF
7922
/* end confdefs.h. */
7923
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7924
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7925
#define $ac_func innocuous_$ac_func
7927
/* System header to define __stub macros and hopefully few prototypes,
7928
which can conflict with char $ac_func (); below.
7929
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7930
<limits.h> exists even on freestanding compilers. */
7933
# include <limits.h>
7935
# include <assert.h>
7940
/* Override any GCC internal prototype to avoid an error.
7941
Use char because int might match the return type of a GCC
7942
builtin and then its argument prototype would still apply. */
7947
/* The GNU C library defines this for functions which it implements
7948
to always fail with ENOSYS. Some functions are actually named
7949
something starting with __ and the normal name is an alias. */
7950
#if defined __stub_$ac_func || defined __stub___$ac_func
7962
rm -f conftest.$ac_objext conftest$ac_exeext
7963
if { (ac_try="$ac_link"
7965
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7966
*) ac_try_echo=$ac_try;;
7968
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7969
$as_echo "$ac_try_echo") >&5
7970
(eval "$ac_link") 2>conftest.er1
7972
grep -v '^ *+' conftest.er1 >conftest.err
7974
cat conftest.err >&5
7975
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976
(exit $ac_status); } && {
7977
test -z "$ac_c_werror_flag" ||
7978
test ! -s conftest.err
7979
} && test -s conftest$ac_exeext && {
7980
test "$cross_compiling" = yes ||
7981
$as_test_x conftest$ac_exeext
7983
eval "$as_ac_var=yes"
7985
$as_echo "$as_me: failed program was:" >&5
7986
sed 's/^/| /' conftest.$ac_ext >&5
7988
eval "$as_ac_var=no"
7991
rm -rf conftest.dSYM
7992
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7993
conftest$ac_exeext conftest.$ac_ext
7995
ac_res=`eval 'as_val=${'$as_ac_var'}
7996
$as_echo "$as_val"'`
7997
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7998
$as_echo "$ac_res" >&6; }
7999
as_val=`eval 'as_val=${'$as_ac_var'}
8000
$as_echo "$as_val"'`
8001
if test "x$as_val" = x""yes; then
6677
8002
cat >>confdefs.h <<_ACEOF
6678
#define HAVE_DCGETTEXT 1
8003
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
8010
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
6686
8011
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6687
8012
cat >conftest.foo <<_ACEOF
6802
if ac_fn_c_try_link "$LINENO"; then :
8131
rm -f conftest.$ac_objext conftest$ac_exeext
8132
if { (ac_try="$ac_link"
8134
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8135
*) ac_try_echo=$ac_try;;
8137
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8138
$as_echo "$ac_try_echo") >&5
8139
(eval "$ac_link") 2>conftest.er1
8141
grep -v '^ *+' conftest.er1 >conftest.err
8143
cat conftest.err >&5
8144
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145
(exit $ac_status); } && {
8146
test -z "$ac_c_werror_flag" ||
8147
test ! -s conftest.err
8148
} && test -s conftest$ac_exeext && {
8149
test "$cross_compiling" = yes ||
8150
$as_test_x conftest$ac_exeext
6804
8153
DATADIRNAME=share
8155
$as_echo "$as_me: failed program was:" >&5
8156
sed 's/^/| /' conftest.$ac_ext >&5
6808
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6809
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
8160
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8161
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
8162
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8163
$as_echo_n "(cached) " >&6
8165
cat >conftest.$ac_ext <<_ACEOF
8168
cat confdefs.h >>conftest.$ac_ext
8169
cat >>conftest.$ac_ext <<_ACEOF
8170
/* end confdefs.h. */
8171
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8172
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8173
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8175
/* System header to define __stub macros and hopefully few prototypes,
8176
which can conflict with char bind_textdomain_codeset (); below.
8177
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8178
<limits.h> exists even on freestanding compilers. */
8181
# include <limits.h>
8183
# include <assert.h>
8186
#undef bind_textdomain_codeset
8188
/* Override any GCC internal prototype to avoid an error.
8189
Use char because int might match the return type of a GCC
8190
builtin and then its argument prototype would still apply. */
8194
char bind_textdomain_codeset ();
8195
/* The GNU C library defines this for functions which it implements
8196
to always fail with ENOSYS. Some functions are actually named
8197
something starting with __ and the normal name is an alias. */
8198
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8205
return bind_textdomain_codeset ();
8210
rm -f conftest.$ac_objext conftest$ac_exeext
8211
if { (ac_try="$ac_link"
8213
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8214
*) ac_try_echo=$ac_try;;
8216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8217
$as_echo "$ac_try_echo") >&5
8218
(eval "$ac_link") 2>conftest.er1
8220
grep -v '^ *+' conftest.er1 >conftest.err
8222
cat conftest.err >&5
8223
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224
(exit $ac_status); } && {
8225
test -z "$ac_c_werror_flag" ||
8226
test ! -s conftest.err
8227
} && test -s conftest$ac_exeext && {
8228
test "$cross_compiling" = yes ||
8229
$as_test_x conftest$ac_exeext
8231
ac_cv_func_bind_textdomain_codeset=yes
8233
$as_echo "$as_me: failed program was:" >&5
8234
sed 's/^/| /' conftest.$ac_ext >&5
8236
ac_cv_func_bind_textdomain_codeset=no
8239
rm -rf conftest.dSYM
8240
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8241
conftest$ac_exeext conftest.$ac_ext
8243
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8244
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
8245
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
6811
8247
DATADIRNAME=share
12632
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12633
if test "x$ac_cv_func_shl_load" = x""yes; then :
14332
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
14333
$as_echo_n "checking for shl_load... " >&6; }
14334
if test "${ac_cv_func_shl_load+set}" = set; then
14335
$as_echo_n "(cached) " >&6
14337
cat >conftest.$ac_ext <<_ACEOF
14340
cat confdefs.h >>conftest.$ac_ext
14341
cat >>conftest.$ac_ext <<_ACEOF
14342
/* end confdefs.h. */
14343
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14344
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14345
#define shl_load innocuous_shl_load
14347
/* System header to define __stub macros and hopefully few prototypes,
14348
which can conflict with char shl_load (); below.
14349
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14350
<limits.h> exists even on freestanding compilers. */
14353
# include <limits.h>
14355
# include <assert.h>
14360
/* Override any GCC internal prototype to avoid an error.
14361
Use char because int might match the return type of a GCC
14362
builtin and then its argument prototype would still apply. */
14367
/* The GNU C library defines this for functions which it implements
14368
to always fail with ENOSYS. Some functions are actually named
14369
something starting with __ and the normal name is an alias. */
14370
#if defined __stub_shl_load || defined __stub___shl_load
14377
return shl_load ();
14382
rm -f conftest.$ac_objext conftest$ac_exeext
14383
if { (ac_try="$ac_link"
14384
case "(($ac_try" in
14385
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386
*) ac_try_echo=$ac_try;;
14388
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14389
$as_echo "$ac_try_echo") >&5
14390
(eval "$ac_link") 2>conftest.er1
14392
grep -v '^ *+' conftest.er1 >conftest.err
14394
cat conftest.err >&5
14395
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396
(exit $ac_status); } && {
14397
test -z "$ac_c_werror_flag" ||
14398
test ! -s conftest.err
14399
} && test -s conftest$ac_exeext && {
14400
test "$cross_compiling" = yes ||
14401
$as_test_x conftest$ac_exeext
14403
ac_cv_func_shl_load=yes
14405
$as_echo "$as_me: failed program was:" >&5
14406
sed 's/^/| /' conftest.$ac_ext >&5
14408
ac_cv_func_shl_load=no
14411
rm -rf conftest.dSYM
14412
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14413
conftest$ac_exeext conftest.$ac_ext
14415
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14416
$as_echo "$ac_cv_func_shl_load" >&6; }
14417
if test "x$ac_cv_func_shl_load" = x""yes; then
12634
14418
lt_cv_dlopen="shl_load"
12636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14420
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12637
14421
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12638
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
14422
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12639
14423
$as_echo_n "(cached) " >&6
12641
14425
ac_check_lib_save_LIBS=$LIBS
12642
14426
LIBS="-ldld $LIBS"
12643
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427
cat >conftest.$ac_ext <<_ACEOF
14430
cat confdefs.h >>conftest.$ac_ext
14431
cat >>conftest.$ac_ext <<_ACEOF
12644
14432
/* end confdefs.h. */
12646
14434
/* Override any GCC internal prototype to avoid an error.
12661
if ac_fn_c_try_link "$LINENO"; then :
14449
rm -f conftest.$ac_objext conftest$ac_exeext
14450
if { (ac_try="$ac_link"
14451
case "(($ac_try" in
14452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14453
*) ac_try_echo=$ac_try;;
14455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14456
$as_echo "$ac_try_echo") >&5
14457
(eval "$ac_link") 2>conftest.er1
14459
grep -v '^ *+' conftest.er1 >conftest.err
14461
cat conftest.err >&5
14462
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463
(exit $ac_status); } && {
14464
test -z "$ac_c_werror_flag" ||
14465
test ! -s conftest.err
14466
} && test -s conftest$ac_exeext && {
14467
test "$cross_compiling" = yes ||
14468
$as_test_x conftest$ac_exeext
12662
14470
ac_cv_lib_dld_shl_load=yes
12664
ac_cv_lib_dld_shl_load=no
14472
$as_echo "$as_me: failed program was:" >&5
14473
sed 's/^/| /' conftest.$ac_ext >&5
14475
ac_cv_lib_dld_shl_load=no
12666
rm -f core conftest.err conftest.$ac_objext \
12667
conftest$ac_exeext conftest.$ac_ext
14478
rm -rf conftest.dSYM
14479
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14480
conftest$ac_exeext conftest.$ac_ext
12668
14481
LIBS=$ac_check_lib_save_LIBS
12670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14483
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12671
14484
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12672
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
14485
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12673
14486
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12675
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12676
if test "x$ac_cv_func_dlopen" = x""yes; then :
14488
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
14489
$as_echo_n "checking for dlopen... " >&6; }
14490
if test "${ac_cv_func_dlopen+set}" = set; then
14491
$as_echo_n "(cached) " >&6
14493
cat >conftest.$ac_ext <<_ACEOF
14496
cat confdefs.h >>conftest.$ac_ext
14497
cat >>conftest.$ac_ext <<_ACEOF
14498
/* end confdefs.h. */
14499
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14500
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14501
#define dlopen innocuous_dlopen
14503
/* System header to define __stub macros and hopefully few prototypes,
14504
which can conflict with char dlopen (); below.
14505
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14506
<limits.h> exists even on freestanding compilers. */
14509
# include <limits.h>
14511
# include <assert.h>
14516
/* Override any GCC internal prototype to avoid an error.
14517
Use char because int might match the return type of a GCC
14518
builtin and then its argument prototype would still apply. */
14523
/* The GNU C library defines this for functions which it implements
14524
to always fail with ENOSYS. Some functions are actually named
14525
something starting with __ and the normal name is an alias. */
14526
#if defined __stub_dlopen || defined __stub___dlopen
14538
rm -f conftest.$ac_objext conftest$ac_exeext
14539
if { (ac_try="$ac_link"
14540
case "(($ac_try" in
14541
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14542
*) ac_try_echo=$ac_try;;
14544
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14545
$as_echo "$ac_try_echo") >&5
14546
(eval "$ac_link") 2>conftest.er1
14548
grep -v '^ *+' conftest.er1 >conftest.err
14550
cat conftest.err >&5
14551
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552
(exit $ac_status); } && {
14553
test -z "$ac_c_werror_flag" ||
14554
test ! -s conftest.err
14555
} && test -s conftest$ac_exeext && {
14556
test "$cross_compiling" = yes ||
14557
$as_test_x conftest$ac_exeext
14559
ac_cv_func_dlopen=yes
14561
$as_echo "$as_me: failed program was:" >&5
14562
sed 's/^/| /' conftest.$ac_ext >&5
14564
ac_cv_func_dlopen=no
14567
rm -rf conftest.dSYM
14568
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14569
conftest$ac_exeext conftest.$ac_ext
14571
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14572
$as_echo "$ac_cv_func_dlopen" >&6; }
14573
if test "x$ac_cv_func_dlopen" = x""yes; then
12677
14574
lt_cv_dlopen="dlopen"
12679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14576
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12680
14577
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12681
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
14578
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12682
14579
$as_echo_n "(cached) " >&6
12684
14581
ac_check_lib_save_LIBS=$LIBS
12685
14582
LIBS="-ldl $LIBS"
12686
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583
cat >conftest.$ac_ext <<_ACEOF
14586
cat confdefs.h >>conftest.$ac_ext
14587
cat >>conftest.$ac_ext <<_ACEOF
12687
14588
/* end confdefs.h. */
12689
14590
/* Override any GCC internal prototype to avoid an error.
13334
15314
_pkg_short_errors_supported=no
13336
15316
if test $_pkg_short_errors_supported = yes; then
13337
GNOME_PAINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8"`
15317
GNOME_PAINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.16" 2>&1`
13339
GNOME_PAINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8"`
15319
GNOME_PAINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.16" 2>&1`
13341
15321
# Put the nasty error message in config.log where it belongs
13342
15322
echo "$GNOME_PAINT_PKG_ERRORS" >&5
13344
as_fn_error "Package requirements (gtk+-2.0 >= 2.8) were not met:
13346
$GNOME_PAINT_PKG_ERRORS
13348
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13349
installed software in a non-standard prefix.
13351
Alternatively, you may set the environment variables GNOME_PAINT_CFLAGS
13352
and GNOME_PAINT_LIBS to avoid the need to call pkg-config.
13353
See the pkg-config man page for more details.
15324
{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.16) were not met:
15326
$GNOME_PAINT_PKG_ERRORS
15328
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15329
installed software in a non-standard prefix.
15331
Alternatively, you may set the environment variables GNOME_PAINT_CFLAGS
15332
and GNOME_PAINT_LIBS to avoid the need to call pkg-config.
15333
See the pkg-config man page for more details.
15335
$as_echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.16) were not met:
15337
$GNOME_PAINT_PKG_ERRORS
15339
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15340
installed software in a non-standard prefix.
15342
Alternatively, you may set the environment variables GNOME_PAINT_CFLAGS
15343
and GNOME_PAINT_LIBS to avoid the need to call pkg-config.
15344
See the pkg-config man page for more details.
15346
{ (exit 1); exit 1; }; }
13355
15347
elif test $pkg_failed = untried; then
13356
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15348
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13357
15349
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13358
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13359
is in your PATH or set the PKG_CONFIG environment variable to the full
13360
path to pkg-config.
13362
Alternatively, you may set the environment variables GNOME_PAINT_CFLAGS
13363
and GNOME_PAINT_LIBS to avoid the need to call pkg-config.
13364
See the pkg-config man page for more details.
13366
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13367
See \`config.log' for more details." "$LINENO" 5; }
15350
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15351
is in your PATH or set the PKG_CONFIG environment variable to the full
15352
path to pkg-config.
15354
Alternatively, you may set the environment variables GNOME_PAINT_CFLAGS
15355
and GNOME_PAINT_LIBS to avoid the need to call pkg-config.
15356
See the pkg-config man page for more details.
15358
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15359
See \`config.log' for more details." >&5
15360
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15361
is in your PATH or set the PKG_CONFIG environment variable to the full
15362
path to pkg-config.
15364
Alternatively, you may set the environment variables GNOME_PAINT_CFLAGS
15365
and GNOME_PAINT_LIBS to avoid the need to call pkg-config.
15366
See the pkg-config man page for more details.
15368
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15369
See \`config.log' for more details." >&2;}
15370
{ (exit 1); exit 1; }; }; }
13369
15372
GNOME_PAINT_CFLAGS=$pkg_cv_GNOME_PAINT_CFLAGS
13370
15373
GNOME_PAINT_LIBS=$pkg_cv_GNOME_PAINT_LIBS
13371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15374
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13372
15375
$as_echo "yes" >&6; }
13486
15489
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13487
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
13488
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15490
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15491
Usually this means the macro was only invoked conditionally." >&5
15492
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15493
Usually this means the macro was only invoked conditionally." >&2;}
15494
{ (exit 1); exit 1; }; }
13490
15496
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13491
as_fn_error "conditional \"AMDEP\" was never defined.
13492
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13494
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13495
as_fn_error "conditional \"am__fastdepCC\" was never defined.
13496
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13498
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13499
as_fn_error "conditional \"am__fastdepCC\" was never defined.
13500
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13502
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13503
as_fn_error "conditional \"am__fastdepCC\" was never defined.
13504
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15497
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15498
Usually this means the macro was only invoked conditionally." >&5
15499
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
15500
Usually this means the macro was only invoked conditionally." >&2;}
15501
{ (exit 1); exit 1; }; }
15503
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15504
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15505
Usually this means the macro was only invoked conditionally." >&5
15506
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15507
Usually this means the macro was only invoked conditionally." >&2;}
15508
{ (exit 1); exit 1; }; }
15510
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15511
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15512
Usually this means the macro was only invoked conditionally." >&5
15513
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15514
Usually this means the macro was only invoked conditionally." >&2;}
15515
{ (exit 1); exit 1; }; }
15517
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15518
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15519
Usually this means the macro was only invoked conditionally." >&5
15520
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15521
Usually this means the macro was only invoked conditionally." >&2;}
15522
{ (exit 1); exit 1; }; }
13507
15525
ac_config_commands="$ac_config_commands po/stamp-it"