134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173
134
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
135
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
# is contrary to our usage. Disable this feature.
140
alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
case \`(set -o) 2>/dev/null\` in #(
151
as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
exitcode=1; echo positional parameters were not saved.
167
test x\$exitcode = x0 || exit 1"
168
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1"
173
if (eval "$as_required") 2>/dev/null; then :
175
174
as_have_required=yes
177
176
as_have_required=no
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
178
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
186
test -z "$as_dir" && as_dir=.
247
190
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
191
# Try only shells that exist, to save several forks.
192
as_shell=$as_dir/$as_base
193
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
CONFIG_SHELL=$as_shell as_have_required=yes
196
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
CONFIG_SHELL=$SHELL as_have_required=yes
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
211
if test "x$CONFIG_SHELL" != x; then :
212
# We cannot yet assume a decent shell, so we have to provide a
213
# neutralization value for shells without unset; and this also
214
# works around shells that cannot unset nonexistent variables.
217
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
218
export CONFIG_SHELL
366
219
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
222
if test x$as_have_required = xno; then :
223
$as_echo "$0: This script requires a shell more modern than all"
224
$as_echo "$0: the shells that I found on your system."
225
if test x${ZSH_VERSION+set} = xset ; then
226
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
229
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
$0: including any error possibly output before this
231
$0: message. Then install a modern shell, or manually run
232
$0: the script under such a shell if you do have one."
238
SHELL=${CONFIG_SHELL-/bin/sh}
240
# Unset more variables known to interfere with behavior of common tools.
241
CLICOLOR_FORCE= GREP_OPTIONS=
242
unset CLICOLOR_FORCE GREP_OPTIONS
244
## --------------------- ##
245
## M4sh Shell Functions. ##
246
## --------------------- ##
249
# Portably unset VAR.
252
{ eval $1=; unset $1;}
256
# as_fn_set_status STATUS
257
# -----------------------
258
# Set $? to STATUS, without forking.
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276
# Create "$as_dir" as a directory, including parents if necessary.
281
-*) as_dir=./$as_dir;;
283
test -d "$as_dir" || eval $as_mkdir_p || {
287
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
as_dirs="'$as_qdir' $as_dirs"
291
as_dir=`$as_dirname -- "$as_dir" ||
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
X"$as_dir" : 'X\(//\)[^/]' \| \
294
X"$as_dir" : 'X\(//\)$' \| \
295
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
$as_echo X"$as_dir" |
297
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314
test -d "$as_dir" && break
316
test -z "$as_dirs" || eval "mkdir $as_dirs"
317
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
# as_fn_append VAR VALUE
322
# ----------------------
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
324
# advantage of any shell optimizations that allow amortized linear growth over
325
# repeated appends, instead of the typical quadratic growth present in naive
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
eval 'as_fn_append ()
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
343
# must be portable across $(()) and expr.
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
as_val=`expr "$@" || test $? -eq 1`
357
# as_fn_error ERROR [LINENO LOG_FD]
358
# ---------------------------------
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
# script with status $?, using 1 if that was 0.
364
as_status=$?; test $as_status -eq 0 && as_status=1
366
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369
$as_echo "$as_me: error: $1" >&2
370
as_fn_exit $as_status
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
as_me=`$as_basename -- "$0" ||
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394
X"$0" : 'X\(//\)$' \| \
395
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397
sed '/^.*\/\([^/][^/]*\)\/*$/{
411
# Avoid depending upon Character Ranges.
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415
as_cr_digits='0123456789'
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
as_lineno_1=$LINENO as_lineno_1a=$LINENO
420
as_lineno_2=$LINENO as_lineno_2a=$LINENO
421
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1729
1675
test -n "$ac_init_help" && exit $ac_status
1730
1676
if $ac_init_version; then
1732
pcmanfm configure 0.5.1
1733
generated by GNU Autoconf 2.63
1678
pcmanfm configure 0.5.2
1679
generated by GNU Autoconf 2.64
1735
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1736
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1681
Copyright (C) 2009 Free Software Foundation, Inc.
1737
1682
This configure script is free software; the Free Software Foundation
1738
1683
gives unlimited permission to copy, distribute and modify it.
1688
## ------------------------ ##
1689
## Autoconf initialization. ##
1690
## ------------------------ ##
1692
# ac_fn_c_try_compile LINENO
1693
# --------------------------
1694
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1695
ac_fn_c_try_compile ()
1697
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698
rm -f conftest.$ac_objext
1699
if { { ac_try="$ac_compile"
1701
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702
*) ac_try_echo=$ac_try;;
1704
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705
$as_echo "$ac_try_echo"; } >&5
1706
(eval "$ac_compile") 2>conftest.err
1708
if test -s conftest.err; then
1709
grep -v '^ *+' conftest.err >conftest.er1
1710
cat conftest.er1 >&5
1711
mv -f conftest.er1 conftest.err
1713
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714
test $ac_status = 0; } && {
1715
test -z "$ac_c_werror_flag" ||
1716
test ! -s conftest.err
1717
} && test -s conftest.$ac_objext; then :
1720
$as_echo "$as_me: failed program was:" >&5
1721
sed 's/^/| /' conftest.$ac_ext >&5
1725
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728
} # ac_fn_c_try_compile
1730
# ac_fn_c_try_link LINENO
1731
# -----------------------
1732
# Try to link conftest.$ac_ext, and return whether this succeeded.
1735
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736
rm -f conftest.$ac_objext conftest$ac_exeext
1737
if { { ac_try="$ac_link"
1739
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740
*) ac_try_echo=$ac_try;;
1742
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743
$as_echo "$ac_try_echo"; } >&5
1744
(eval "$ac_link") 2>conftest.err
1746
if test -s conftest.err; then
1747
grep -v '^ *+' conftest.err >conftest.er1
1748
cat conftest.er1 >&5
1749
mv -f conftest.er1 conftest.err
1751
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752
test $ac_status = 0; } && {
1753
test -z "$ac_c_werror_flag" ||
1754
test ! -s conftest.err
1755
} && test -s conftest$ac_exeext && {
1756
test "$cross_compiling" = yes ||
1757
$as_test_x conftest$ac_exeext
1761
$as_echo "$as_me: failed program was:" >&5
1762
sed 's/^/| /' conftest.$ac_ext >&5
1766
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1767
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1768
# interfere with the next link command; also delete a directory that is
1769
# left behind by Apple's compiler. We do this before executing the actions.
1770
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774
} # ac_fn_c_try_link
1776
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777
# -------------------------------------------------------
1778
# Tests whether HEADER exists and can be compiled using the include files in
1779
# INCLUDES, setting the cache variable VAR accordingly.
1780
ac_fn_c_check_header_compile ()
1782
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784
$as_echo_n "checking for $2... " >&6; }
1785
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786
$as_echo_n "(cached) " >&6
1788
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789
/* end confdefs.h. */
1793
if ac_fn_c_try_compile "$LINENO"; then :
1798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802
$as_echo "$ac_res" >&6; }
1803
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805
} # ac_fn_c_check_header_compile
1807
# ac_fn_c_try_cpp LINENO
1808
# ----------------------
1809
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1812
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813
if { { ac_try="$ac_cpp conftest.$ac_ext"
1815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816
*) ac_try_echo=$ac_try;;
1818
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819
$as_echo "$ac_try_echo"; } >&5
1820
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1822
if test -s conftest.err; then
1823
grep -v '^ *+' conftest.err >conftest.er1
1824
cat conftest.er1 >&5
1825
mv -f conftest.er1 conftest.err
1827
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828
test $ac_status = 0; } >/dev/null && {
1829
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1830
test ! -s conftest.err
1834
$as_echo "$as_me: failed program was:" >&5
1835
sed 's/^/| /' conftest.$ac_ext >&5
1839
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1844
# ac_fn_c_try_run LINENO
1845
# ----------------------
1846
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847
# that executables *can* be run.
1850
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851
if { { ac_try="$ac_link"
1853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854
*) ac_try_echo=$ac_try;;
1856
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857
$as_echo "$ac_try_echo"; } >&5
1858
(eval "$ac_link") 2>&5
1860
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1862
{ { case "(($ac_try" in
1863
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864
*) ac_try_echo=$ac_try;;
1866
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867
$as_echo "$ac_try_echo"; } >&5
1868
(eval "$ac_try") 2>&5
1870
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871
test $ac_status = 0; }; }; then :
1874
$as_echo "$as_me: program exited with status $ac_status" >&5
1875
$as_echo "$as_me: failed program was:" >&5
1876
sed 's/^/| /' conftest.$ac_ext >&5
1878
ac_retval=$ac_status
1880
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886
# ac_fn_c_check_func LINENO FUNC VAR
1887
# ----------------------------------
1888
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1889
ac_fn_c_check_func ()
1891
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893
$as_echo_n "checking for $2... " >&6; }
1894
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1895
$as_echo_n "(cached) " >&6
1897
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898
/* end confdefs.h. */
1899
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901
#define $2 innocuous_$2
1903
/* System header to define __stub macros and hopefully few prototypes,
1904
which can conflict with char $2 (); below.
1905
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906
<limits.h> exists even on freestanding compilers. */
1909
# include <limits.h>
1911
# include <assert.h>
1916
/* Override any GCC internal prototype to avoid an error.
1917
Use char because int might match the return type of a GCC
1918
builtin and then its argument prototype would still apply. */
1923
/* The GNU C library defines this for functions which it implements
1924
to always fail with ENOSYS. Some functions are actually named
1925
something starting with __ and the normal name is an alias. */
1926
#if defined __stub_$2 || defined __stub___$2
1938
if ac_fn_c_try_link "$LINENO"; then :
1943
rm -f core conftest.err conftest.$ac_objext \
1944
conftest$ac_exeext conftest.$ac_ext
1947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948
$as_echo "$ac_res" >&6; }
1949
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951
} # ac_fn_c_check_func
1953
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1954
# -------------------------------------------------------
1955
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1956
# the include files in INCLUDES and setting the cache variable VAR
1958
ac_fn_c_check_header_mongrel ()
1960
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963
$as_echo_n "checking for $2... " >&6; }
1964
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965
$as_echo_n "(cached) " >&6
1968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969
$as_echo "$ac_res" >&6; }
1971
# Is the header compilable?
1972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1973
$as_echo_n "checking $2 usability... " >&6; }
1974
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975
/* end confdefs.h. */
1979
if ac_fn_c_try_compile "$LINENO"; then :
1980
ac_header_compiler=yes
1982
ac_header_compiler=no
1984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1986
$as_echo "$ac_header_compiler" >&6; }
1988
# Is the header present?
1989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1990
$as_echo_n "checking $2 presence... " >&6; }
1991
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992
/* end confdefs.h. */
1995
if ac_fn_c_try_cpp "$LINENO"; then :
1996
ac_header_preproc=yes
1998
ac_header_preproc=no
2000
rm -f conftest.err conftest.$ac_ext
2001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2002
$as_echo "$ac_header_preproc" >&6; }
2004
# So? What about this header?
2005
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2007
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2008
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2009
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2010
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2013
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2014
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2015
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2016
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2017
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2018
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2019
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2020
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2021
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2022
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026
$as_echo_n "checking for $2... " >&6; }
2027
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2028
$as_echo_n "(cached) " >&6
2030
eval "$3=\$ac_header_compiler"
2033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034
$as_echo "$ac_res" >&6; }
2036
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2038
} # ac_fn_c_check_header_mongrel
1742
2039
cat >config.log <<_ACEOF
1743
2040
This file contains any messages produced by compilers while
1744
2041
running configure, to aid debugging if configure makes a mistake.
1746
It was created by pcmanfm $as_me 0.5.1, which was
1747
generated by GNU Autoconf 2.63. Invocation command line was
2043
It was created by pcmanfm $as_me 0.5.2, which was
2044
generated by GNU Autoconf 2.64. Invocation command line was
2296
2571
# expand $ac_aux_dir to an absolute path
2297
2572
am_aux_dir=`cd $ac_aux_dir && pwd`
2299
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2574
if test x"${MISSING+set}" != xset; then
2577
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2579
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2300
2582
# Use eval to expand $SHELL
2301
2583
if eval "$MISSING --run true"; then
2302
2584
am_missing_run="$MISSING --run "
2304
2586
am_missing_run=
2305
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2306
2588
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2309
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2591
if test x"${install_sh}" != xset; then
2594
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2596
install_sh="\${SHELL} $am_aux_dir/install-sh"
2600
# Installed binaries are usually stripped using `strip' when the user
2601
# run `make install-strip'. However `strip' might not be the right
2602
# tool to use in cross-compilation environments, therefore Automake
2603
# will honor the `STRIP' environment variable to overrule this program.
2604
if test "$cross_compiling" != no; then
2605
if test -n "$ac_tool_prefix"; then
2606
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2607
set dummy ${ac_tool_prefix}strip; ac_word=$2
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609
$as_echo_n "checking for $ac_word... " >&6; }
2610
if test "${ac_cv_prog_STRIP+set}" = set; then :
2611
$as_echo_n "(cached) " >&6
2613
if test -n "$STRIP"; then
2614
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620
test -z "$as_dir" && as_dir=.
2621
for ac_exec_ext in '' $ac_executable_extensions; do
2622
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2624
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633
STRIP=$ac_cv_prog_STRIP
2634
if test -n "$STRIP"; then
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2636
$as_echo "$STRIP" >&6; }
2638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639
$as_echo "no" >&6; }
2644
if test -z "$ac_cv_prog_STRIP"; then
2646
# Extract the first word of "strip", so it can be a program name with args.
2647
set dummy strip; ac_word=$2
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649
$as_echo_n "checking for $ac_word... " >&6; }
2650
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2651
$as_echo_n "(cached) " >&6
2653
if test -n "$ac_ct_STRIP"; then
2654
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660
test -z "$as_dir" && as_dir=.
2661
for ac_exec_ext in '' $ac_executable_extensions; do
2662
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663
ac_cv_prog_ac_ct_STRIP="strip"
2664
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2674
if test -n "$ac_ct_STRIP"; then
2675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2676
$as_echo "$ac_ct_STRIP" >&6; }
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679
$as_echo "no" >&6; }
2682
if test "x$ac_ct_STRIP" = x; then
2685
case $cross_compiling:$ac_tool_warned in
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689
ac_tool_warned=yes ;;
2694
STRIP="$ac_cv_prog_STRIP"
2698
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2310
2701
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2311
2702
if test -z "$MKDIR_P"; then
2312
if test "${ac_cv_path_mkdir+set}" = set; then
2703
if test "${ac_cv_path_mkdir+set}" = set; then :
2313
2704
$as_echo_n "(cached) " >&6
2315
2706
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489
2878
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2491
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2493
# Installed binaries are usually stripped using `strip' when the user
2494
# run `make install-strip'. However `strip' might not be the right
2495
# tool to use in cross-compilation environments, therefore Automake
2496
# will honor the `STRIP' environment variable to overrule this program.
2497
if test "$cross_compiling" != no; then
2498
if test -n "$ac_tool_prefix"; then
2499
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2500
set dummy ${ac_tool_prefix}strip; ac_word=$2
2501
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2502
$as_echo_n "checking for $ac_word... " >&6; }
2503
if test "${ac_cv_prog_STRIP+set}" = set; then
2504
$as_echo_n "(cached) " >&6
2506
if test -n "$STRIP"; then
2507
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513
test -z "$as_dir" && as_dir=.
2514
for ac_exec_ext in '' $ac_executable_extensions; do
2515
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2517
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526
STRIP=$ac_cv_prog_STRIP
2527
if test -n "$STRIP"; then
2528
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2529
$as_echo "$STRIP" >&6; }
2531
{ $as_echo "$as_me:$LINENO: result: no" >&5
2532
$as_echo "no" >&6; }
2537
if test -z "$ac_cv_prog_STRIP"; then
2539
# Extract the first word of "strip", so it can be a program name with args.
2540
set dummy strip; ac_word=$2
2541
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2542
$as_echo_n "checking for $ac_word... " >&6; }
2543
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2544
$as_echo_n "(cached) " >&6
2546
if test -n "$ac_ct_STRIP"; then
2547
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553
test -z "$as_dir" && as_dir=.
2554
for ac_exec_ext in '' $ac_executable_extensions; do
2555
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556
ac_cv_prog_ac_ct_STRIP="strip"
2557
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2567
if test -n "$ac_ct_STRIP"; then
2568
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2569
$as_echo "$ac_ct_STRIP" >&6; }
2571
{ $as_echo "$as_me:$LINENO: result: no" >&5
2572
$as_echo "no" >&6; }
2575
if test "x$ac_ct_STRIP" = x; then
2578
case $cross_compiling:$ac_tool_warned in
2580
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2581
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2582
ac_tool_warned=yes ;;
2587
STRIP="$ac_cv_prog_STRIP"
2591
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2593
2880
# We need awk for the "check" target. The system "awk" is bad on
2594
2881
# some platforms.
2595
2882
# Always define AMTAR for backward compatibility.
3020
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3308
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021
3309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3023
See \`config.log' for more details." >&5
3024
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3025
See \`config.log' for more details." >&2;}
3026
{ (exit 1); exit 1; }; }; }
3310
as_fn_error "no acceptable C compiler found in \$PATH
3311
See \`config.log' for more details." "$LINENO" 5; }
3028
3313
# Provide some information about the compiler.
3029
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3314
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3030
3315
set X $ac_compile
3032
{ (ac_try="$ac_compiler --version >&5"
3034
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035
*) ac_try_echo=$ac_try;;
3037
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3038
$as_echo "$ac_try_echo") >&5
3039
(eval "$ac_compiler --version >&5") 2>&5
3041
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042
(exit $ac_status); }
3043
{ (ac_try="$ac_compiler -v >&5"
3045
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046
*) ac_try_echo=$ac_try;;
3048
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3049
$as_echo "$ac_try_echo") >&5
3050
(eval "$ac_compiler -v >&5") 2>&5
3052
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053
(exit $ac_status); }
3054
{ (ac_try="$ac_compiler -V >&5"
3056
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057
*) ac_try_echo=$ac_try;;
3059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3060
$as_echo "$ac_try_echo") >&5
3061
(eval "$ac_compiler -V >&5") 2>&5
3063
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064
(exit $ac_status); }
3317
for ac_option in --version -v -V -qversion; do
3318
{ { ac_try="$ac_compiler $ac_option >&5"
3320
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321
*) ac_try_echo=$ac_try;;
3323
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324
$as_echo "$ac_try_echo"; } >&5
3325
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3327
if test -s conftest.err; then
3329
... rest of stderr output deleted ...
3330
10q' conftest.err >conftest.er1
3331
cat conftest.er1 >&5
3332
rm -f conftest.er1 conftest.err
3334
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335
test $ac_status = 0; }
3066
cat >conftest.$ac_ext <<_ACEOF
3069
cat confdefs.h >>conftest.$ac_ext
3070
cat >>conftest.$ac_ext <<_ACEOF
3338
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071
3339
/* end confdefs.h. */
3344
FILE *f = fopen ("conftest.out", "w");
3345
return ferror (f) || fclose (f) != 0;
3081
3351
ac_clean_files_save=$ac_clean_files
3082
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3352
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3083
3353
# Try to create an executable without -o first, disregard a.out.
3084
3354
# It will help us diagnose broken compilers, and finding out an intuition
3086
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3087
3357
$as_echo_n "checking for C compiler default output file name... " >&6; }
3088
3358
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3150
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3151
3420
$as_echo "$ac_file" >&6; }
3152
if test -z "$ac_file"; then
3421
if test -z "$ac_file"; then :
3153
3422
$as_echo "$as_me: failed program was:" >&5
3154
3423
sed 's/^/| /' conftest.$ac_ext >&5
3156
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3425
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157
3426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3159
See \`config.log' for more details." >&5
3160
$as_echo "$as_me: error: C compiler cannot create executables
3161
See \`config.log' for more details." >&2;}
3162
{ (exit 77); exit 77; }; }; }
3427
{ as_fn_set_status 77
3428
as_fn_error "C compiler cannot create executables
3429
See \`config.log' for more details." "$LINENO" 5; }; }
3165
3431
ac_exeext=$ac_cv_exeext
3167
3433
# Check that the compiler produces executables we can run. If not, either
3168
3434
# the compiler is broken, or we cross compile.
3169
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3170
3436
$as_echo_n "checking whether the C compiler works... " >&6; }
3171
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3172
3437
# If not cross compiling, check that we can run a simple program.
3173
3438
if test "$cross_compiling" != yes; then
3174
3439
if { ac_try='./$ac_file'
3175
{ (case "(($ac_try" in
3440
{ { case "(($ac_try" in
3176
3441
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177
3442
*) ac_try_echo=$ac_try;;
3179
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180
$as_echo "$ac_try_echo") >&5
3444
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445
$as_echo "$ac_try_echo"; } >&5
3181
3446
(eval "$ac_try") 2>&5
3183
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184
(exit $ac_status); }; }; then
3448
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3449
test $ac_status = 0; }; }; then
3185
3450
cross_compiling=no
3187
3452
if test "$cross_compiling" = maybe; then
3188
3453
cross_compiling=yes
3190
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3455
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191
3456
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3193
If you meant to cross compile, use \`--host'.
3194
See \`config.log' for more details." >&5
3195
$as_echo "$as_me: error: cannot run C compiled programs.
3196
If you meant to cross compile, use \`--host'.
3197
See \`config.log' for more details." >&2;}
3198
{ (exit 1); exit 1; }; }; }
3457
as_fn_error "cannot run C compiled programs.
3458
If you meant to cross compile, use \`--host'.
3459
See \`config.log' for more details." "$LINENO" 5; }
3202
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203
3464
$as_echo "yes" >&6; }
3205
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3466
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3206
3467
ac_clean_files=$ac_clean_files_save
3207
3468
# Check that the compiler produces executables we can run. If not, either
3208
3469
# the compiler is broken, or we cross compile.
3209
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3210
3471
$as_echo_n "checking whether we are cross compiling... " >&6; }
3211
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3212
3473
$as_echo "$cross_compiling" >&6; }
3214
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3215
3476
$as_echo_n "checking for suffix of executables... " >&6; }
3216
if { (ac_try="$ac_link"
3477
if { { ac_try="$ac_link"
3217
3478
case "(($ac_try" in
3218
3479
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219
3480
*) ac_try_echo=$ac_try;;
3221
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3222
$as_echo "$ac_try_echo") >&5
3482
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483
$as_echo "$ac_try_echo"; } >&5
3223
3484
(eval "$ac_link") 2>&5
3225
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226
(exit $ac_status); }; then
3486
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487
test $ac_status = 0; }; then :
3227
3488
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3228
3489
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3229
3490
# work properly (i.e., refer to `conftest.exe'), while it won't with
4149
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4259
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150
4260
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4152
See \`config.log' for more details." >&5
4153
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4154
See \`config.log' for more details." >&2;}
4155
{ (exit 1); exit 1; }; }; }
4261
as_fn_error "no acceptable C compiler found in \$PATH
4262
See \`config.log' for more details." "$LINENO" 5; }
4157
4264
# Provide some information about the compiler.
4158
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4265
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4159
4266
set X $ac_compile
4161
{ (ac_try="$ac_compiler --version >&5"
4163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164
*) ac_try_echo=$ac_try;;
4166
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4167
$as_echo "$ac_try_echo") >&5
4168
(eval "$ac_compiler --version >&5") 2>&5
4170
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171
(exit $ac_status); }
4172
{ (ac_try="$ac_compiler -v >&5"
4174
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175
*) ac_try_echo=$ac_try;;
4177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4178
$as_echo "$ac_try_echo") >&5
4179
(eval "$ac_compiler -v >&5") 2>&5
4181
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182
(exit $ac_status); }
4183
{ (ac_try="$ac_compiler -V >&5"
4185
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186
*) ac_try_echo=$ac_try;;
4188
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4189
$as_echo "$ac_try_echo") >&5
4190
(eval "$ac_compiler -V >&5") 2>&5
4192
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193
(exit $ac_status); }
4268
for ac_option in --version -v -V -qversion; do
4269
{ { ac_try="$ac_compiler $ac_option >&5"
4271
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272
*) ac_try_echo=$ac_try;;
4274
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275
$as_echo "$ac_try_echo"; } >&5
4276
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4278
if test -s conftest.err; then
4280
... rest of stderr output deleted ...
4281
10q' conftest.err >conftest.er1
4282
cat conftest.er1 >&5
4283
rm -f conftest.er1 conftest.err
4285
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286
test $ac_status = 0; }
4195
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4196
4290
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4197
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4291
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4198
4292
$as_echo_n "(cached) " >&6
4200
cat >conftest.$ac_ext <<_ACEOF
4203
cat confdefs.h >>conftest.$ac_ext
4204
cat >>conftest.$ac_ext <<_ACEOF
4294
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205
4295
/* end confdefs.h. */
7507
if { (ac_try="$ac_cpp conftest.$ac_ext"
7509
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510
*) ac_try_echo=$ac_try;;
7512
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7513
$as_echo "$ac_try_echo") >&5
7514
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7516
grep -v '^ *+' conftest.er1 >conftest.err
7518
cat conftest.err >&5
7519
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520
(exit $ac_status); } >/dev/null && {
7521
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7522
test ! -s conftest.err
7361
if ac_fn_c_try_cpp "$LINENO"; then :
7526
$as_echo "$as_me: failed program was:" >&5
7527
sed 's/^/| /' conftest.$ac_ext >&5
7529
7364
# Broken: fails on valid input.
7533
7367
rm -f conftest.err conftest.$ac_ext
7535
7369
# OK, works on sane cases. Now check whether nonexistent headers
7536
7370
# can be detected and how.
7537
cat >conftest.$ac_ext <<_ACEOF
7540
cat confdefs.h >>conftest.$ac_ext
7541
cat >>conftest.$ac_ext <<_ACEOF
7371
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542
7372
/* end confdefs.h. */
7543
7373
#include <ac_nonexistent.h>
7545
if { (ac_try="$ac_cpp conftest.$ac_ext"
7547
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7548
*) ac_try_echo=$ac_try;;
7550
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7551
$as_echo "$ac_try_echo") >&5
7552
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7554
grep -v '^ *+' conftest.er1 >conftest.err
7556
cat conftest.err >&5
7557
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558
(exit $ac_status); } >/dev/null && {
7559
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7560
test ! -s conftest.err
7375
if ac_fn_c_try_cpp "$LINENO"; then :
7562
7376
# Broken: success on invalid input.
7565
$as_echo "$as_me: failed program was:" >&5
7566
sed 's/^/| /' conftest.$ac_ext >&5
7568
7379
# Passes both tests.
7569
7380
ac_preproc_ok=:
7573
7383
rm -f conftest.err conftest.$ac_ext
7576
7386
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7577
7387
rm -f conftest.err conftest.$ac_ext
7578
if $ac_preproc_ok; then
7388
if $ac_preproc_ok; then :
7581
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7391
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7582
7392
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7583
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7584
See \`config.log' for more details." >&5
7585
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7586
See \`config.log' for more details." >&2;}
7587
{ (exit 1); exit 1; }; }; }
7393
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7394
See \`config.log' for more details." "$LINENO" 5; }
7727
rm -f conftest$ac_exeext
7728
if { (ac_try="$ac_link"
7730
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7731
*) ac_try_echo=$ac_try;;
7733
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7734
$as_echo "$ac_try_echo") >&5
7735
(eval "$ac_link") 2>&5
7737
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7739
{ (case "(($ac_try" in
7740
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7741
*) ac_try_echo=$ac_try;;
7743
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7744
$as_echo "$ac_try_echo") >&5
7745
(eval "$ac_try") 2>&5
7747
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748
(exit $ac_status); }; }; then
7497
if ac_fn_c_try_run "$LINENO"; then :
7751
$as_echo "$as_me: program exited with status $ac_status" >&5
7752
$as_echo "$as_me: failed program was:" >&5
7753
sed 's/^/| /' conftest.$ac_ext >&5
7756
ac_cv_header_stdc=no
7758
rm -rf conftest.dSYM
7759
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7765
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7500
ac_cv_header_stdc=no
7502
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7503
conftest.$ac_objext conftest.beam conftest.$ac_ext
7508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7766
7509
$as_echo "$ac_cv_header_stdc" >&6; }
7767
7510
if test $ac_cv_header_stdc = yes; then
7769
cat >>confdefs.h <<\_ACEOF
7770
#define STDC_HEADERS 1
7512
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7775
7516
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7785
7517
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7786
7518
inttypes.h stdint.h unistd.h
7788
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7789
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7790
$as_echo_n "checking for $ac_header... " >&6; }
7791
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7792
$as_echo_n "(cached) " >&6
7794
cat >conftest.$ac_ext <<_ACEOF
7797
cat confdefs.h >>conftest.$ac_ext
7798
cat >>conftest.$ac_ext <<_ACEOF
7799
/* end confdefs.h. */
7800
$ac_includes_default
7802
#include <$ac_header>
7804
rm -f conftest.$ac_objext
7805
if { (ac_try="$ac_compile"
7807
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7808
*) ac_try_echo=$ac_try;;
7810
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7811
$as_echo "$ac_try_echo") >&5
7812
(eval "$ac_compile") 2>conftest.er1
7814
grep -v '^ *+' conftest.er1 >conftest.err
7816
cat conftest.err >&5
7817
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818
(exit $ac_status); } && {
7819
test -z "$ac_c_werror_flag" ||
7820
test ! -s conftest.err
7821
} && test -s conftest.$ac_objext; then
7822
eval "$as_ac_Header=yes"
7824
$as_echo "$as_me: failed program was:" >&5
7825
sed 's/^/| /' conftest.$ac_ext >&5
7827
eval "$as_ac_Header=no"
7830
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7832
ac_res=`eval 'as_val=${'$as_ac_Header'}
7833
$as_echo "$as_val"'`
7834
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7835
$as_echo "$ac_res" >&6; }
7836
as_val=`eval 'as_val=${'$as_ac_Header'}
7837
$as_echo "$as_val"'`
7838
if test "x$as_val" = x""yes; then
7520
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7521
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7523
eval as_val=\$$as_ac_Header
7524
if test "x$as_val" = x""yes; then :
7839
7525
cat >>confdefs.h <<_ACEOF
7840
7526
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11198
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11199
$as_echo_n "checking for shl_load... " >&6; }
11200
if test "${ac_cv_func_shl_load+set}" = set; then
11201
$as_echo_n "(cached) " >&6
11203
cat >conftest.$ac_ext <<_ACEOF
11206
cat confdefs.h >>conftest.$ac_ext
11207
cat >>conftest.$ac_ext <<_ACEOF
11208
/* end confdefs.h. */
11209
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11210
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11211
#define shl_load innocuous_shl_load
11213
/* System header to define __stub macros and hopefully few prototypes,
11214
which can conflict with char shl_load (); below.
11215
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11216
<limits.h> exists even on freestanding compilers. */
11219
# include <limits.h>
11221
# include <assert.h>
11226
/* Override any GCC internal prototype to avoid an error.
11227
Use char because int might match the return type of a GCC
11228
builtin and then its argument prototype would still apply. */
11233
/* The GNU C library defines this for functions which it implements
11234
to always fail with ENOSYS. Some functions are actually named
11235
something starting with __ and the normal name is an alias. */
11236
#if defined __stub_shl_load || defined __stub___shl_load
11243
return shl_load ();
11248
rm -f conftest.$ac_objext conftest$ac_exeext
11249
if { (ac_try="$ac_link"
11250
case "(($ac_try" in
11251
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11252
*) ac_try_echo=$ac_try;;
11254
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11255
$as_echo "$ac_try_echo") >&5
11256
(eval "$ac_link") 2>conftest.er1
11258
grep -v '^ *+' conftest.er1 >conftest.err
11260
cat conftest.err >&5
11261
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262
(exit $ac_status); } && {
11263
test -z "$ac_c_werror_flag" ||
11264
test ! -s conftest.err
11265
} && test -s conftest$ac_exeext && {
11266
test "$cross_compiling" = yes ||
11267
$as_test_x conftest$ac_exeext
11269
ac_cv_func_shl_load=yes
11271
$as_echo "$as_me: failed program was:" >&5
11272
sed 's/^/| /' conftest.$ac_ext >&5
11274
ac_cv_func_shl_load=no
11277
rm -rf conftest.dSYM
11278
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11279
conftest$ac_exeext conftest.$ac_ext
11281
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11282
$as_echo "$ac_cv_func_shl_load" >&6; }
11283
if test "x$ac_cv_func_shl_load" = x""yes; then
10686
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10687
if test "x$ac_cv_func_shl_load" = x""yes; then :
11284
10688
lt_cv_dlopen="shl_load"
11286
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11287
10691
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11288
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10692
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11289
10693
$as_echo_n "(cached) " >&6
11291
10695
ac_check_lib_save_LIBS=$LIBS
11292
10696
LIBS="-ldld $LIBS"
11293
cat >conftest.$ac_ext <<_ACEOF
11296
cat confdefs.h >>conftest.$ac_ext
11297
cat >>conftest.$ac_ext <<_ACEOF
10697
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298
10698
/* end confdefs.h. */
11300
10700
/* Override any GCC internal prototype to avoid an error.
11315
rm -f conftest.$ac_objext conftest$ac_exeext
11316
if { (ac_try="$ac_link"
11317
case "(($ac_try" in
11318
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11319
*) ac_try_echo=$ac_try;;
11321
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11322
$as_echo "$ac_try_echo") >&5
11323
(eval "$ac_link") 2>conftest.er1
11325
grep -v '^ *+' conftest.er1 >conftest.err
11327
cat conftest.err >&5
11328
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329
(exit $ac_status); } && {
11330
test -z "$ac_c_werror_flag" ||
11331
test ! -s conftest.err
11332
} && test -s conftest$ac_exeext && {
11333
test "$cross_compiling" = yes ||
11334
$as_test_x conftest$ac_exeext
10715
if ac_fn_c_try_link "$LINENO"; then :
11336
10716
ac_cv_lib_dld_shl_load=yes
11338
$as_echo "$as_me: failed program was:" >&5
11339
sed 's/^/| /' conftest.$ac_ext >&5
11341
ac_cv_lib_dld_shl_load=no
10718
ac_cv_lib_dld_shl_load=no
11344
rm -rf conftest.dSYM
11345
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11346
conftest$ac_exeext conftest.$ac_ext
10720
rm -f core conftest.err conftest.$ac_objext \
10721
conftest$ac_exeext conftest.$ac_ext
11347
10722
LIBS=$ac_check_lib_save_LIBS
11349
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11350
10725
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11351
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10726
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11352
10727
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11354
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11355
$as_echo_n "checking for dlopen... " >&6; }
11356
if test "${ac_cv_func_dlopen+set}" = set; then
11357
$as_echo_n "(cached) " >&6
11359
cat >conftest.$ac_ext <<_ACEOF
11362
cat confdefs.h >>conftest.$ac_ext
11363
cat >>conftest.$ac_ext <<_ACEOF
11364
/* end confdefs.h. */
11365
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11366
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11367
#define dlopen innocuous_dlopen
11369
/* System header to define __stub macros and hopefully few prototypes,
11370
which can conflict with char dlopen (); below.
11371
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11372
<limits.h> exists even on freestanding compilers. */
11375
# include <limits.h>
11377
# include <assert.h>
11382
/* Override any GCC internal prototype to avoid an error.
11383
Use char because int might match the return type of a GCC
11384
builtin and then its argument prototype would still apply. */
11389
/* The GNU C library defines this for functions which it implements
11390
to always fail with ENOSYS. Some functions are actually named
11391
something starting with __ and the normal name is an alias. */
11392
#if defined __stub_dlopen || defined __stub___dlopen
11404
rm -f conftest.$ac_objext conftest$ac_exeext
11405
if { (ac_try="$ac_link"
11406
case "(($ac_try" in
11407
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11408
*) ac_try_echo=$ac_try;;
11410
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11411
$as_echo "$ac_try_echo") >&5
11412
(eval "$ac_link") 2>conftest.er1
11414
grep -v '^ *+' conftest.er1 >conftest.err
11416
cat conftest.err >&5
11417
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418
(exit $ac_status); } && {
11419
test -z "$ac_c_werror_flag" ||
11420
test ! -s conftest.err
11421
} && test -s conftest$ac_exeext && {
11422
test "$cross_compiling" = yes ||
11423
$as_test_x conftest$ac_exeext
11425
ac_cv_func_dlopen=yes
11427
$as_echo "$as_me: failed program was:" >&5
11428
sed 's/^/| /' conftest.$ac_ext >&5
11430
ac_cv_func_dlopen=no
11433
rm -rf conftest.dSYM
11434
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11435
conftest$ac_exeext conftest.$ac_ext
11437
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11438
$as_echo "$ac_cv_func_dlopen" >&6; }
11439
if test "x$ac_cv_func_dlopen" = x""yes; then
10729
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10730
if test "x$ac_cv_func_dlopen" = x""yes; then :
11440
10731
lt_cv_dlopen="dlopen"
11442
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11443
10734
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11444
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10735
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11445
10736
$as_echo_n "(cached) " >&6
11447
10738
ac_check_lib_save_LIBS=$LIBS
11448
10739
LIBS="-ldl $LIBS"
11449
cat >conftest.$ac_ext <<_ACEOF
11452
cat confdefs.h >>conftest.$ac_ext
11453
cat >>conftest.$ac_ext <<_ACEOF
10740
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454
10741
/* end confdefs.h. */
11456
10743
/* Override any GCC internal prototype to avoid an error.
12314
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11518
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12315
11519
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12316
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12317
See \`config.log' for more details." >&5
12318
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12319
See \`config.log' for more details." >&2;}
12320
{ (exit 1); exit 1; }; }; }
11520
as_fn_error "no acceptable C compiler found in \$PATH
11521
See \`config.log' for more details." "$LINENO" 5; }
12322
11523
# Provide some information about the compiler.
12323
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
11524
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12324
11525
set X $ac_compile
12325
11526
ac_compiler=$2
12326
{ (ac_try="$ac_compiler --version >&5"
12327
case "(($ac_try" in
12328
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12329
*) ac_try_echo=$ac_try;;
12331
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12332
$as_echo "$ac_try_echo") >&5
12333
(eval "$ac_compiler --version >&5") 2>&5
12335
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336
(exit $ac_status); }
12337
{ (ac_try="$ac_compiler -v >&5"
12338
case "(($ac_try" in
12339
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12340
*) ac_try_echo=$ac_try;;
12342
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12343
$as_echo "$ac_try_echo") >&5
12344
(eval "$ac_compiler -v >&5") 2>&5
12346
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347
(exit $ac_status); }
12348
{ (ac_try="$ac_compiler -V >&5"
12349
case "(($ac_try" in
12350
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12351
*) ac_try_echo=$ac_try;;
12353
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12354
$as_echo "$ac_try_echo") >&5
12355
(eval "$ac_compiler -V >&5") 2>&5
12357
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358
(exit $ac_status); }
11527
for ac_option in --version -v -V -qversion; do
11528
{ { ac_try="$ac_compiler $ac_option >&5"
11529
case "(($ac_try" in
11530
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11531
*) ac_try_echo=$ac_try;;
11533
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11534
$as_echo "$ac_try_echo"; } >&5
11535
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11537
if test -s conftest.err; then
11539
... rest of stderr output deleted ...
11540
10q' conftest.err >conftest.er1
11541
cat conftest.er1 >&5
11542
rm -f conftest.er1 conftest.err
11544
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11545
test $ac_status = 0; }
12360
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12361
11549
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12362
if test "${ac_cv_c_compiler_gnu+set}" = set; then
11550
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12363
11551
$as_echo_n "(cached) " >&6
12365
cat >conftest.$ac_ext <<_ACEOF
12368
cat confdefs.h >>conftest.$ac_ext
12369
cat >>conftest.$ac_ext <<_ACEOF
11553
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370
11554
/* end confdefs.h. */
13362
rm -f conftest.$ac_objext conftest$ac_exeext
13363
if { (ac_try="$ac_link"
13364
case "(($ac_try" in
13365
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13366
*) ac_try_echo=$ac_try;;
13368
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13369
$as_echo "$ac_try_echo") >&5
13370
(eval "$ac_link") 2>conftest.er1
13372
grep -v '^ *+' conftest.er1 >conftest.err
13374
cat conftest.err >&5
13375
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376
(exit $ac_status); } && {
13377
test -z "$ac_c_werror_flag" ||
13378
test ! -s conftest.err
13379
} && test -s conftest$ac_exeext && {
13380
test "$cross_compiling" = yes ||
13381
$as_test_x conftest$ac_exeext
12422
if ac_fn_c_try_link "$LINENO"; then :
13383
12423
DATADIRNAME=share
13385
$as_echo "$as_me: failed program was:" >&5
13386
sed 's/^/| /' conftest.$ac_ext >&5
13389
12426
*-*-solaris*)
13390
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
13391
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
13392
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
13393
$as_echo_n "(cached) " >&6
13395
cat >conftest.$ac_ext <<_ACEOF
13398
cat confdefs.h >>conftest.$ac_ext
13399
cat >>conftest.$ac_ext <<_ACEOF
13400
/* end confdefs.h. */
13401
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
13402
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13403
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
13405
/* System header to define __stub macros and hopefully few prototypes,
13406
which can conflict with char bind_textdomain_codeset (); below.
13407
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13408
<limits.h> exists even on freestanding compilers. */
13411
# include <limits.h>
13413
# include <assert.h>
13416
#undef bind_textdomain_codeset
13418
/* Override any GCC internal prototype to avoid an error.
13419
Use char because int might match the return type of a GCC
13420
builtin and then its argument prototype would still apply. */
13424
char bind_textdomain_codeset ();
13425
/* The GNU C library defines this for functions which it implements
13426
to always fail with ENOSYS. Some functions are actually named
13427
something starting with __ and the normal name is an alias. */
13428
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
13435
return bind_textdomain_codeset ();
13440
rm -f conftest.$ac_objext conftest$ac_exeext
13441
if { (ac_try="$ac_link"
13442
case "(($ac_try" in
13443
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13444
*) ac_try_echo=$ac_try;;
13446
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13447
$as_echo "$ac_try_echo") >&5
13448
(eval "$ac_link") 2>conftest.er1
13450
grep -v '^ *+' conftest.er1 >conftest.err
13452
cat conftest.err >&5
13453
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454
(exit $ac_status); } && {
13455
test -z "$ac_c_werror_flag" ||
13456
test ! -s conftest.err
13457
} && test -s conftest$ac_exeext && {
13458
test "$cross_compiling" = yes ||
13459
$as_test_x conftest$ac_exeext
13461
ac_cv_func_bind_textdomain_codeset=yes
13463
$as_echo "$as_me: failed program was:" >&5
13464
sed 's/^/| /' conftest.$ac_ext >&5
13466
ac_cv_func_bind_textdomain_codeset=no
13469
rm -rf conftest.dSYM
13470
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13471
conftest$ac_exeext conftest.$ac_ext
13473
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
13474
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
13475
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
12427
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12428
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13476
12429
DATADIRNAME=share
13478
12431
DATADIRNAME=lib
13681
12566
# check for mmap()
13684
12567
for ac_header in stdlib.h unistd.h
13686
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13687
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13688
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13689
$as_echo_n "checking for $ac_header... " >&6; }
13690
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13691
$as_echo_n "(cached) " >&6
13693
ac_res=`eval 'as_val=${'$as_ac_Header'}
13694
$as_echo "$as_val"'`
13695
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13696
$as_echo "$ac_res" >&6; }
13698
# Is the header compilable?
13699
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13700
$as_echo_n "checking $ac_header usability... " >&6; }
13701
cat >conftest.$ac_ext <<_ACEOF
13704
cat confdefs.h >>conftest.$ac_ext
13705
cat >>conftest.$ac_ext <<_ACEOF
13706
/* end confdefs.h. */
13707
$ac_includes_default
13708
#include <$ac_header>
13710
rm -f conftest.$ac_objext
13711
if { (ac_try="$ac_compile"
13712
case "(($ac_try" in
13713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13714
*) ac_try_echo=$ac_try;;
13716
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13717
$as_echo "$ac_try_echo") >&5
13718
(eval "$ac_compile") 2>conftest.er1
13720
grep -v '^ *+' conftest.er1 >conftest.err
13722
cat conftest.err >&5
13723
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724
(exit $ac_status); } && {
13725
test -z "$ac_c_werror_flag" ||
13726
test ! -s conftest.err
13727
} && test -s conftest.$ac_objext; then
13728
ac_header_compiler=yes
13730
$as_echo "$as_me: failed program was:" >&5
13731
sed 's/^/| /' conftest.$ac_ext >&5
13733
ac_header_compiler=no
13736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13737
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13738
$as_echo "$ac_header_compiler" >&6; }
13740
# Is the header present?
13741
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13742
$as_echo_n "checking $ac_header presence... " >&6; }
13743
cat >conftest.$ac_ext <<_ACEOF
13746
cat confdefs.h >>conftest.$ac_ext
13747
cat >>conftest.$ac_ext <<_ACEOF
13748
/* end confdefs.h. */
13749
#include <$ac_header>
13751
if { (ac_try="$ac_cpp conftest.$ac_ext"
13752
case "(($ac_try" in
13753
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13754
*) ac_try_echo=$ac_try;;
13756
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13757
$as_echo "$ac_try_echo") >&5
13758
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13760
grep -v '^ *+' conftest.er1 >conftest.err
13762
cat conftest.err >&5
13763
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764
(exit $ac_status); } >/dev/null && {
13765
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13766
test ! -s conftest.err
13768
ac_header_preproc=yes
13770
$as_echo "$as_me: failed program was:" >&5
13771
sed 's/^/| /' conftest.$ac_ext >&5
13773
ac_header_preproc=no
13776
rm -f conftest.err conftest.$ac_ext
13777
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13778
$as_echo "$ac_header_preproc" >&6; }
13780
# So? What about this header?
13781
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13783
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13784
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13785
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13786
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13787
ac_header_preproc=yes
13790
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13791
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13792
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13793
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13794
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13795
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13796
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13797
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13798
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13799
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13800
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13801
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13805
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13806
$as_echo_n "checking for $ac_header... " >&6; }
13807
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13808
$as_echo_n "(cached) " >&6
13810
eval "$as_ac_Header=\$ac_header_preproc"
13812
ac_res=`eval 'as_val=${'$as_ac_Header'}
13813
$as_echo "$as_val"'`
13814
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13815
$as_echo "$ac_res" >&6; }
13818
as_val=`eval 'as_val=${'$as_ac_Header'}
13819
$as_echo "$as_val"'`
13820
if test "x$as_val" = x""yes; then
12569
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12570
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12571
eval as_val=\$$as_ac_Header
12572
if test "x$as_val" = x""yes; then :
13821
12573
cat >>confdefs.h <<_ACEOF
13822
12574
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13830
12581
for ac_func in getpagesize
13832
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13833
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13834
$as_echo_n "checking for $ac_func... " >&6; }
13835
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13836
$as_echo_n "(cached) " >&6
13838
cat >conftest.$ac_ext <<_ACEOF
13841
cat confdefs.h >>conftest.$ac_ext
13842
cat >>conftest.$ac_ext <<_ACEOF
13843
/* end confdefs.h. */
13844
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13845
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13846
#define $ac_func innocuous_$ac_func
13848
/* System header to define __stub macros and hopefully few prototypes,
13849
which can conflict with char $ac_func (); below.
13850
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13851
<limits.h> exists even on freestanding compilers. */
13854
# include <limits.h>
13856
# include <assert.h>
13861
/* Override any GCC internal prototype to avoid an error.
13862
Use char because int might match the return type of a GCC
13863
builtin and then its argument prototype would still apply. */
13868
/* The GNU C library defines this for functions which it implements
13869
to always fail with ENOSYS. Some functions are actually named
13870
something starting with __ and the normal name is an alias. */
13871
#if defined __stub_$ac_func || defined __stub___$ac_func
13878
return $ac_func ();
13883
rm -f conftest.$ac_objext conftest$ac_exeext
13884
if { (ac_try="$ac_link"
13885
case "(($ac_try" in
13886
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13887
*) ac_try_echo=$ac_try;;
13889
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13890
$as_echo "$ac_try_echo") >&5
13891
(eval "$ac_link") 2>conftest.er1
13893
grep -v '^ *+' conftest.er1 >conftest.err
13895
cat conftest.err >&5
13896
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897
(exit $ac_status); } && {
13898
test -z "$ac_c_werror_flag" ||
13899
test ! -s conftest.err
13900
} && test -s conftest$ac_exeext && {
13901
test "$cross_compiling" = yes ||
13902
$as_test_x conftest$ac_exeext
13904
eval "$as_ac_var=yes"
13906
$as_echo "$as_me: failed program was:" >&5
13907
sed 's/^/| /' conftest.$ac_ext >&5
13909
eval "$as_ac_var=no"
13912
rm -rf conftest.dSYM
13913
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13914
conftest$ac_exeext conftest.$ac_ext
13916
ac_res=`eval 'as_val=${'$as_ac_var'}
13917
$as_echo "$as_val"'`
13918
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13919
$as_echo "$ac_res" >&6; }
13920
as_val=`eval 'as_val=${'$as_ac_var'}
13921
$as_echo "$as_val"'`
13922
if test "x$as_val" = x""yes; then
12583
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12584
if test "x$ac_cv_func_getpagesize" = x""yes; then :
13923
12585
cat >>confdefs.h <<_ACEOF
13924
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12586
#define HAVE_GETPAGESIZE 1
13930
{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5
12592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13931
12593
$as_echo_n "checking for working mmap... " >&6; }
13932
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12594
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
13933
12595
$as_echo_n "(cached) " >&6
13935
if test "$cross_compiling" = yes; then
12597
if test "$cross_compiling" = yes; then :
13936
12598
ac_cv_func_mmap_fixed_mapped=no
13938
cat >conftest.$ac_ext <<_ACEOF
13941
cat confdefs.h >>conftest.$ac_ext
13942
cat >>conftest.$ac_ext <<_ACEOF
12600
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943
12601
/* end confdefs.h. */
13944
12602
$ac_includes_default
13945
12603
/* malloc might have been renamed as rpl_malloc. */
14294
12923
# Put the nasty error message in config.log where it belongs
14295
12924
echo "$GTK_PKG_ERRORS" >&5
14297
{ { $as_echo "$as_me:$LINENO: error: Package requirements ($gtk_modules) were not met:
14301
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14302
installed software in a non-standard prefix.
14304
Alternatively, you may set the environment variables GTK_CFLAGS
14305
and GTK_LIBS to avoid the need to call pkg-config.
14306
See the pkg-config man page for more details.
14308
$as_echo "$as_me: error: Package requirements ($gtk_modules) were not met:
14312
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14313
installed software in a non-standard prefix.
14315
Alternatively, you may set the environment variables GTK_CFLAGS
14316
and GTK_LIBS to avoid the need to call pkg-config.
14317
See the pkg-config man page for more details.
14319
{ (exit 1); exit 1; }; }
12926
as_fn_error "Package requirements ($gtk_modules) were not met:
12930
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12931
installed software in a non-standard prefix.
12933
Alternatively, you may set the environment variables GTK_CFLAGS
12934
and GTK_LIBS to avoid the need to call pkg-config.
12935
See the pkg-config man page for more details.
14320
12937
elif test $pkg_failed = untried; then
14321
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12938
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14322
12939
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14323
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14324
is in your PATH or set the PKG_CONFIG environment variable to the full
14325
path to pkg-config.
14327
Alternatively, you may set the environment variables GTK_CFLAGS
14328
and GTK_LIBS to avoid the need to call pkg-config.
14329
See the pkg-config man page for more details.
14331
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14332
See \`config.log' for more details." >&5
14333
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14334
is in your PATH or set the PKG_CONFIG environment variable to the full
14335
path to pkg-config.
14337
Alternatively, you may set the environment variables GTK_CFLAGS
14338
and GTK_LIBS to avoid the need to call pkg-config.
14339
See the pkg-config man page for more details.
14341
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14342
See \`config.log' for more details." >&2;}
14343
{ (exit 1); exit 1; }; }; }
12940
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12941
is in your PATH or set the PKG_CONFIG environment variable to the full
12942
path to pkg-config.
12944
Alternatively, you may set the environment variables GTK_CFLAGS
12945
and GTK_LIBS to avoid the need to call pkg-config.
12946
See the pkg-config man page for more details.
12948
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12949
See \`config.log' for more details." "$LINENO" 5; }
14345
12951
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14346
12952
GTK_LIBS=$pkg_cv_GTK_LIBS
14347
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14348
12954
$as_echo "yes" >&6; }
14411
13017
# Put the nasty error message in config.log where it belongs
14412
13018
echo "$SN_PKG_ERRORS" >&5
14414
{ { $as_echo "$as_me:$LINENO: error: Package requirements ($sn_modules) were not met:
14418
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14419
installed software in a non-standard prefix.
14421
Alternatively, you may set the environment variables SN_CFLAGS
14422
and SN_LIBS to avoid the need to call pkg-config.
14423
See the pkg-config man page for more details.
14425
$as_echo "$as_me: error: Package requirements ($sn_modules) were not met:
14429
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14430
installed software in a non-standard prefix.
14432
Alternatively, you may set the environment variables SN_CFLAGS
14433
and SN_LIBS to avoid the need to call pkg-config.
14434
See the pkg-config man page for more details.
14436
{ (exit 1); exit 1; }; }
13020
as_fn_error "Package requirements ($sn_modules) were not met:
13024
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13025
installed software in a non-standard prefix.
13027
Alternatively, you may set the environment variables SN_CFLAGS
13028
and SN_LIBS to avoid the need to call pkg-config.
13029
See the pkg-config man page for more details.
14437
13031
elif test $pkg_failed = untried; then
14438
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13032
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14439
13033
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14440
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14441
is in your PATH or set the PKG_CONFIG environment variable to the full
14442
path to pkg-config.
14444
Alternatively, you may set the environment variables SN_CFLAGS
14445
and SN_LIBS to avoid the need to call pkg-config.
14446
See the pkg-config man page for more details.
14448
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14449
See \`config.log' for more details." >&5
14450
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14451
is in your PATH or set the PKG_CONFIG environment variable to the full
14452
path to pkg-config.
14454
Alternatively, you may set the environment variables SN_CFLAGS
14455
and SN_LIBS to avoid the need to call pkg-config.
14456
See the pkg-config man page for more details.
14458
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14459
See \`config.log' for more details." >&2;}
14460
{ (exit 1); exit 1; }; }; }
13034
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13035
is in your PATH or set the PKG_CONFIG environment variable to the full
13036
path to pkg-config.
13038
Alternatively, you may set the environment variables SN_CFLAGS
13039
and SN_LIBS to avoid the need to call pkg-config.
13040
See the pkg-config man page for more details.
13042
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13043
See \`config.log' for more details." "$LINENO" 5; }
14462
13045
SN_CFLAGS=$pkg_cv_SN_CFLAGS
14463
13046
SN_LIBS=$pkg_cv_SN_LIBS
14464
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14465
13048
$as_echo "yes" >&6; }
14471
{ $as_echo "$as_me:$LINENO: checking whether $LD accepts --as-needed" >&5
13054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5
14472
13055
$as_echo_n "checking whether $LD accepts --as-needed... " >&6; }
14473
13056
case `$LD --as-needed -v 2>&1 </dev/null` in
14474
13057
*GNU* | *'with BFD'*)
14475
13058
LDFLAGS="$LDFLAGS -Wl,--as-needed"
14476
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14477
13060
$as_echo "yes" >&6; }
14480
{ $as_echo "$as_me:$LINENO: result: no" >&5
13063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14481
13064
$as_echo "no" >&6; }
14484
{ $as_echo "$as_me:$LINENO: checking whether $LD accepts -O1" >&5
13067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5
14485
13068
$as_echo_n "checking whether $LD accepts -O1... " >&6; }
14486
13069
case `$LD -O1 -v 2>&1 </dev/null` in
14487
13070
*GNU* | *'with BFD'*)
14488
13071
LDFLAGS="$LDFLAGS -Wl,-O1"
14489
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14490
13073
$as_echo "yes" >&6; }
14493
{ $as_echo "$as_me:$LINENO: result: no" >&5
13076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14494
13077
$as_echo "no" >&6; }
14497
{ $as_echo "$as_me:$LINENO: checking whether $LD accepts -Bsymbolic-functions" >&5
13080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -Bsymbolic-functions" >&5
14498
13081
$as_echo_n "checking whether $LD accepts -Bsymbolic-functions... " >&6; }
14499
13082
case `$LD -Bsymbolic-functions -v 2>&1 </dev/null` in
14500
13083
*GNU* | *'with BFD'*)
14501
13084
LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions"
14502
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14503
13086
$as_echo "yes" >&6; }
14506
{ $as_echo "$as_me:$LINENO: result: no" >&5
13089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14507
13090
$as_echo "no" >&6; }
14511
13094
# Check whether --enable-cast-checks was given.
14512
if test "${enable_cast_checks+set}" = set; then
13095
if test "${enable_cast_checks+set}" = set; then :
14513
13096
enableval=$enable_cast_checks; cast_checks=$enableval
14515
13098
cast_checks="no"
14637
13216
if test x"$use_inotify" = x"yes"; then
14639
cat >>confdefs.h <<\_ACEOF
14640
#define USE_INOTIFY 1
13218
$as_echo "#define USE_INOTIFY 1" >>confdefs.h
14645
13222
FAM_CFLAGS=""
14647
13224
have_libfam=no
14649
for ac_header in fam.h
14651
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14652
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14653
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14654
$as_echo_n "checking for $ac_header... " >&6; }
14655
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14656
$as_echo_n "(cached) " >&6
14658
ac_res=`eval 'as_val=${'$as_ac_Header'}
14659
$as_echo "$as_val"'`
14660
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14661
$as_echo "$ac_res" >&6; }
14663
# Is the header compilable?
14664
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14665
$as_echo_n "checking $ac_header usability... " >&6; }
14666
cat >conftest.$ac_ext <<_ACEOF
14669
cat confdefs.h >>conftest.$ac_ext
14670
cat >>conftest.$ac_ext <<_ACEOF
14671
/* end confdefs.h. */
14672
$ac_includes_default
14673
#include <$ac_header>
14675
rm -f conftest.$ac_objext
14676
if { (ac_try="$ac_compile"
14677
case "(($ac_try" in
14678
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14679
*) ac_try_echo=$ac_try;;
14681
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14682
$as_echo "$ac_try_echo") >&5
14683
(eval "$ac_compile") 2>conftest.er1
14685
grep -v '^ *+' conftest.er1 >conftest.err
14687
cat conftest.err >&5
14688
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689
(exit $ac_status); } && {
14690
test -z "$ac_c_werror_flag" ||
14691
test ! -s conftest.err
14692
} && test -s conftest.$ac_objext; then
14693
ac_header_compiler=yes
14695
$as_echo "$as_me: failed program was:" >&5
14696
sed 's/^/| /' conftest.$ac_ext >&5
14698
ac_header_compiler=no
14701
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14702
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14703
$as_echo "$ac_header_compiler" >&6; }
14705
# Is the header present?
14706
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14707
$as_echo_n "checking $ac_header presence... " >&6; }
14708
cat >conftest.$ac_ext <<_ACEOF
14711
cat confdefs.h >>conftest.$ac_ext
14712
cat >>conftest.$ac_ext <<_ACEOF
14713
/* end confdefs.h. */
14714
#include <$ac_header>
14716
if { (ac_try="$ac_cpp conftest.$ac_ext"
14717
case "(($ac_try" in
14718
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719
*) ac_try_echo=$ac_try;;
14721
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14722
$as_echo "$ac_try_echo") >&5
14723
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14725
grep -v '^ *+' conftest.er1 >conftest.err
14727
cat conftest.err >&5
14728
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729
(exit $ac_status); } >/dev/null && {
14730
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14731
test ! -s conftest.err
14733
ac_header_preproc=yes
14735
$as_echo "$as_me: failed program was:" >&5
14736
sed 's/^/| /' conftest.$ac_ext >&5
14738
ac_header_preproc=no
14741
rm -f conftest.err conftest.$ac_ext
14742
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14743
$as_echo "$ac_header_preproc" >&6; }
14745
# So? What about this header?
14746
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14748
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14749
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14750
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14751
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14752
ac_header_preproc=yes
14755
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14756
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14757
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14758
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14759
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14760
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14761
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14762
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14763
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14764
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14765
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14766
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14770
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14771
$as_echo_n "checking for $ac_header... " >&6; }
14772
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14773
$as_echo_n "(cached) " >&6
14775
eval "$as_ac_Header=\$ac_header_preproc"
14777
ac_res=`eval 'as_val=${'$as_ac_Header'}
14778
$as_echo "$as_val"'`
14779
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14780
$as_echo "$ac_res" >&6; }
14783
as_val=`eval 'as_val=${'$as_ac_Header'}
14784
$as_echo "$as_val"'`
14785
if test "x$as_val" = x""yes; then
13225
for ac_header in fam.h
13227
ac_fn_c_check_header_mongrel "$LINENO" "fam.h" "ac_cv_header_fam_h" "$ac_includes_default"
13228
if test "x$ac_cv_header_fam_h" = x""yes; then :
14786
13229
cat >>confdefs.h <<_ACEOF
14787
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13230
#define HAVE_FAM_H 1
14790
{ $as_echo "$as_me:$LINENO: checking for FAMOpen in -lfam" >&5
13233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FAMOpen in -lfam" >&5
14791
13234
$as_echo_n "checking for FAMOpen in -lfam... " >&6; }
14792
if test "${ac_cv_lib_fam_FAMOpen+set}" = set; then
13235
if test "${ac_cv_lib_fam_FAMOpen+set}" = set; then :
14793
13236
$as_echo_n "(cached) " >&6
14795
13238
ac_check_lib_save_LIBS=$LIBS
14796
13239
LIBS="-lfam $LIBS"
14797
cat >conftest.$ac_ext <<_ACEOF
14800
cat confdefs.h >>conftest.$ac_ext
14801
cat >>conftest.$ac_ext <<_ACEOF
13240
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802
13241
/* end confdefs.h. */
14804
13243
/* Override any GCC internal prototype to avoid an error.
14865
13279
if test x"$have_libfam" = x"yes"; then
14867
cat >>confdefs.h <<\_ACEOF
14868
#define HAVE_FAM_H 1
14872
cat >>confdefs.h <<\_ACEOF
14873
#define HAVE_LIBFAM 1
13281
$as_echo "#define HAVE_FAM_H 1" >>confdefs.h
13284
$as_echo "#define HAVE_LIBFAM 1" >>confdefs.h
14877
13287
save_LIBS="$LIBS"
14878
13288
LIBS="$LIBS $FAM_LIBS"
14880
for ac_func in FAMNoExists
14882
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14883
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14884
$as_echo_n "checking for $ac_func... " >&6; }
14885
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14886
$as_echo_n "(cached) " >&6
14888
cat >conftest.$ac_ext <<_ACEOF
14891
cat confdefs.h >>conftest.$ac_ext
14892
cat >>conftest.$ac_ext <<_ACEOF
14893
/* end confdefs.h. */
14894
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14895
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14896
#define $ac_func innocuous_$ac_func
14898
/* System header to define __stub macros and hopefully few prototypes,
14899
which can conflict with char $ac_func (); below.
14900
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14901
<limits.h> exists even on freestanding compilers. */
14904
# include <limits.h>
14906
# include <assert.h>
14911
/* Override any GCC internal prototype to avoid an error.
14912
Use char because int might match the return type of a GCC
14913
builtin and then its argument prototype would still apply. */
14918
/* The GNU C library defines this for functions which it implements
14919
to always fail with ENOSYS. Some functions are actually named
14920
something starting with __ and the normal name is an alias. */
14921
#if defined __stub_$ac_func || defined __stub___$ac_func
14928
return $ac_func ();
14933
rm -f conftest.$ac_objext conftest$ac_exeext
14934
if { (ac_try="$ac_link"
14935
case "(($ac_try" in
14936
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937
*) ac_try_echo=$ac_try;;
14939
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14940
$as_echo "$ac_try_echo") >&5
14941
(eval "$ac_link") 2>conftest.er1
14943
grep -v '^ *+' conftest.er1 >conftest.err
14945
cat conftest.err >&5
14946
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947
(exit $ac_status); } && {
14948
test -z "$ac_c_werror_flag" ||
14949
test ! -s conftest.err
14950
} && test -s conftest$ac_exeext && {
14951
test "$cross_compiling" = yes ||
14952
$as_test_x conftest$ac_exeext
14954
eval "$as_ac_var=yes"
14956
$as_echo "$as_me: failed program was:" >&5
14957
sed 's/^/| /' conftest.$ac_ext >&5
14959
eval "$as_ac_var=no"
14962
rm -rf conftest.dSYM
14963
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14964
conftest$ac_exeext conftest.$ac_ext
14966
ac_res=`eval 'as_val=${'$as_ac_var'}
14967
$as_echo "$as_val"'`
14968
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14969
$as_echo "$ac_res" >&6; }
14970
as_val=`eval 'as_val=${'$as_ac_var'}
14971
$as_echo "$as_val"'`
14972
if test "x$as_val" = x""yes; then
13289
for ac_func in FAMNoExists
13291
ac_fn_c_check_func "$LINENO" "FAMNoExists" "ac_cv_func_FAMNoExists"
13292
if test "x$ac_cv_func_FAMNoExists" = x""yes; then :
14973
13293
cat >>confdefs.h <<_ACEOF
14974
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13294
#define HAVE_FAMNOEXISTS 1
15060
13370
CPPFLAGS="$CPPFLAGS -fstrict-aliasing -fmessage-length=0"
15062
{ $as_echo "$as_me:$LINENO: checking for euidaccess" >&5
15063
$as_echo_n "checking for euidaccess... " >&6; }
15064
if test "${ac_cv_func_euidaccess+set}" = set; then
15065
$as_echo_n "(cached) " >&6
15067
cat >conftest.$ac_ext <<_ACEOF
15070
cat confdefs.h >>conftest.$ac_ext
15071
cat >>conftest.$ac_ext <<_ACEOF
15072
/* end confdefs.h. */
15073
/* Define euidaccess to an innocuous variant, in case <limits.h> declares euidaccess.
15074
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15075
#define euidaccess innocuous_euidaccess
15077
/* System header to define __stub macros and hopefully few prototypes,
15078
which can conflict with char euidaccess (); below.
15079
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15080
<limits.h> exists even on freestanding compilers. */
15083
# include <limits.h>
15085
# include <assert.h>
15090
/* Override any GCC internal prototype to avoid an error.
15091
Use char because int might match the return type of a GCC
15092
builtin and then its argument prototype would still apply. */
15096
char euidaccess ();
15097
/* The GNU C library defines this for functions which it implements
15098
to always fail with ENOSYS. Some functions are actually named
15099
something starting with __ and the normal name is an alias. */
15100
#if defined __stub_euidaccess || defined __stub___euidaccess
15107
return euidaccess ();
15112
rm -f conftest.$ac_objext conftest$ac_exeext
15113
if { (ac_try="$ac_link"
15114
case "(($ac_try" in
15115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116
*) ac_try_echo=$ac_try;;
15118
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15119
$as_echo "$ac_try_echo") >&5
15120
(eval "$ac_link") 2>conftest.er1
15122
grep -v '^ *+' conftest.er1 >conftest.err
15124
cat conftest.err >&5
15125
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126
(exit $ac_status); } && {
15127
test -z "$ac_c_werror_flag" ||
15128
test ! -s conftest.err
15129
} && test -s conftest$ac_exeext && {
15130
test "$cross_compiling" = yes ||
15131
$as_test_x conftest$ac_exeext
15133
ac_cv_func_euidaccess=yes
15135
$as_echo "$as_me: failed program was:" >&5
15136
sed 's/^/| /' conftest.$ac_ext >&5
15138
ac_cv_func_euidaccess=no
15141
rm -rf conftest.dSYM
15142
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15143
conftest$ac_exeext conftest.$ac_ext
15145
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_euidaccess" >&5
15146
$as_echo "$ac_cv_func_euidaccess" >&6; }
15147
if test "x$ac_cv_func_euidaccess" = x""yes; then
15149
cat >>confdefs.h <<\_ACEOF
15150
#define HAVE_EUIDACCESS /**/
15155
{ $as_echo "$as_me:$LINENO: checking for eaccess" >&5
15156
$as_echo_n "checking for eaccess... " >&6; }
15157
if test "${ac_cv_func_eaccess+set}" = set; then
15158
$as_echo_n "(cached) " >&6
15160
cat >conftest.$ac_ext <<_ACEOF
15163
cat confdefs.h >>conftest.$ac_ext
15164
cat >>conftest.$ac_ext <<_ACEOF
15165
/* end confdefs.h. */
15166
/* Define eaccess to an innocuous variant, in case <limits.h> declares eaccess.
15167
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15168
#define eaccess innocuous_eaccess
15170
/* System header to define __stub macros and hopefully few prototypes,
15171
which can conflict with char eaccess (); below.
15172
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15173
<limits.h> exists even on freestanding compilers. */
15176
# include <limits.h>
15178
# include <assert.h>
15183
/* Override any GCC internal prototype to avoid an error.
15184
Use char because int might match the return type of a GCC
15185
builtin and then its argument prototype would still apply. */
15190
/* The GNU C library defines this for functions which it implements
15191
to always fail with ENOSYS. Some functions are actually named
15192
something starting with __ and the normal name is an alias. */
15193
#if defined __stub_eaccess || defined __stub___eaccess
15205
rm -f conftest.$ac_objext conftest$ac_exeext
15206
if { (ac_try="$ac_link"
15207
case "(($ac_try" in
15208
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15209
*) ac_try_echo=$ac_try;;
15211
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15212
$as_echo "$ac_try_echo") >&5
15213
(eval "$ac_link") 2>conftest.er1
15215
grep -v '^ *+' conftest.er1 >conftest.err
15217
cat conftest.err >&5
15218
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219
(exit $ac_status); } && {
15220
test -z "$ac_c_werror_flag" ||
15221
test ! -s conftest.err
15222
} && test -s conftest$ac_exeext && {
15223
test "$cross_compiling" = yes ||
15224
$as_test_x conftest$ac_exeext
15226
ac_cv_func_eaccess=yes
15228
$as_echo "$as_me: failed program was:" >&5
15229
sed 's/^/| /' conftest.$ac_ext >&5
15231
ac_cv_func_eaccess=no
15234
rm -rf conftest.dSYM
15235
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15236
conftest$ac_exeext conftest.$ac_ext
15238
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_eaccess" >&5
15239
$as_echo "$ac_cv_func_eaccess" >&6; }
15240
if test "x$ac_cv_func_eaccess" = x""yes; then
15242
cat >>confdefs.h <<\_ACEOF
15243
#define HAVE_EACCESS /**/
15249
{ $as_echo "$as_me:$LINENO: checking for statvfs" >&5
15250
$as_echo_n "checking for statvfs... " >&6; }
15251
if test "${ac_cv_func_statvfs+set}" = set; then
15252
$as_echo_n "(cached) " >&6
15254
cat >conftest.$ac_ext <<_ACEOF
15257
cat confdefs.h >>conftest.$ac_ext
15258
cat >>conftest.$ac_ext <<_ACEOF
15259
/* end confdefs.h. */
15260
/* Define statvfs to an innocuous variant, in case <limits.h> declares statvfs.
15261
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15262
#define statvfs innocuous_statvfs
15264
/* System header to define __stub macros and hopefully few prototypes,
15265
which can conflict with char statvfs (); below.
15266
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15267
<limits.h> exists even on freestanding compilers. */
15270
# include <limits.h>
15272
# include <assert.h>
15277
/* Override any GCC internal prototype to avoid an error.
15278
Use char because int might match the return type of a GCC
15279
builtin and then its argument prototype would still apply. */
15284
/* The GNU C library defines this for functions which it implements
15285
to always fail with ENOSYS. Some functions are actually named
15286
something starting with __ and the normal name is an alias. */
15287
#if defined __stub_statvfs || defined __stub___statvfs
15299
rm -f conftest.$ac_objext conftest$ac_exeext
15300
if { (ac_try="$ac_link"
15301
case "(($ac_try" in
15302
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303
*) ac_try_echo=$ac_try;;
15305
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15306
$as_echo "$ac_try_echo") >&5
15307
(eval "$ac_link") 2>conftest.er1
15309
grep -v '^ *+' conftest.er1 >conftest.err
15311
cat conftest.err >&5
15312
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313
(exit $ac_status); } && {
15314
test -z "$ac_c_werror_flag" ||
15315
test ! -s conftest.err
15316
} && test -s conftest$ac_exeext && {
15317
test "$cross_compiling" = yes ||
15318
$as_test_x conftest$ac_exeext
15320
ac_cv_func_statvfs=yes
15322
$as_echo "$as_me: failed program was:" >&5
15323
sed 's/^/| /' conftest.$ac_ext >&5
15325
ac_cv_func_statvfs=no
15328
rm -rf conftest.dSYM
15329
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15330
conftest$ac_exeext conftest.$ac_ext
15332
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5
15333
$as_echo "$ac_cv_func_statvfs" >&6; }
15334
if test "x$ac_cv_func_statvfs" = x""yes; then
15336
cat >>confdefs.h <<\_ACEOF
15337
#define HAVE_STATVFS /**/
13372
ac_fn_c_check_func "$LINENO" "euidaccess" "ac_cv_func_euidaccess"
13373
if test "x$ac_cv_func_euidaccess" = x""yes; then :
13375
$as_echo "#define HAVE_EUIDACCESS /**/" >>confdefs.h
13379
ac_fn_c_check_func "$LINENO" "eaccess" "ac_cv_func_eaccess"
13380
if test "x$ac_cv_func_eaccess" = x""yes; then :
13382
$as_echo "#define HAVE_EACCESS /**/" >>confdefs.h
13387
ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs"
13388
if test "x$ac_cv_func_statvfs" = x""yes; then :
13390
$as_echo "#define HAVE_STATVFS /**/" >>confdefs.h
15359
13411
ALL_LINGUAS="af ar da ca cs de es et eu fa fi fr gl he hr hu id it ja ko lt ml ms nb nl nn pl ps pt pt_BR ru sk sl sv tr uk ur ur_PK vi zh_CN zh_TW"
15362
for ac_header in locale.h
15364
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15365
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15366
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15367
$as_echo_n "checking for $ac_header... " >&6; }
15368
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15369
$as_echo_n "(cached) " >&6
15371
ac_res=`eval 'as_val=${'$as_ac_Header'}
15372
$as_echo "$as_val"'`
15373
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15374
$as_echo "$ac_res" >&6; }
15376
# Is the header compilable?
15377
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15378
$as_echo_n "checking $ac_header usability... " >&6; }
15379
cat >conftest.$ac_ext <<_ACEOF
15382
cat confdefs.h >>conftest.$ac_ext
15383
cat >>conftest.$ac_ext <<_ACEOF
15384
/* end confdefs.h. */
15385
$ac_includes_default
15386
#include <$ac_header>
15388
rm -f conftest.$ac_objext
15389
if { (ac_try="$ac_compile"
15390
case "(($ac_try" in
15391
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392
*) ac_try_echo=$ac_try;;
15394
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15395
$as_echo "$ac_try_echo") >&5
15396
(eval "$ac_compile") 2>conftest.er1
15398
grep -v '^ *+' conftest.er1 >conftest.err
15400
cat conftest.err >&5
15401
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402
(exit $ac_status); } && {
15403
test -z "$ac_c_werror_flag" ||
15404
test ! -s conftest.err
15405
} && test -s conftest.$ac_objext; then
15406
ac_header_compiler=yes
15408
$as_echo "$as_me: failed program was:" >&5
15409
sed 's/^/| /' conftest.$ac_ext >&5
15411
ac_header_compiler=no
15414
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15416
$as_echo "$ac_header_compiler" >&6; }
15418
# Is the header present?
15419
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15420
$as_echo_n "checking $ac_header presence... " >&6; }
15421
cat >conftest.$ac_ext <<_ACEOF
15424
cat confdefs.h >>conftest.$ac_ext
15425
cat >>conftest.$ac_ext <<_ACEOF
15426
/* end confdefs.h. */
15427
#include <$ac_header>
15429
if { (ac_try="$ac_cpp conftest.$ac_ext"
15430
case "(($ac_try" in
15431
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432
*) ac_try_echo=$ac_try;;
15434
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15435
$as_echo "$ac_try_echo") >&5
15436
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15438
grep -v '^ *+' conftest.er1 >conftest.err
15440
cat conftest.err >&5
15441
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442
(exit $ac_status); } >/dev/null && {
15443
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15444
test ! -s conftest.err
15446
ac_header_preproc=yes
15448
$as_echo "$as_me: failed program was:" >&5
15449
sed 's/^/| /' conftest.$ac_ext >&5
15451
ac_header_preproc=no
15454
rm -f conftest.err conftest.$ac_ext
15455
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15456
$as_echo "$ac_header_preproc" >&6; }
15458
# So? What about this header?
15459
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15461
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15462
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15463
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15464
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15465
ac_header_preproc=yes
15468
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15469
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15470
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15471
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15472
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15473
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15474
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15475
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15476
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15477
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15478
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15479
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15483
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15484
$as_echo_n "checking for $ac_header... " >&6; }
15485
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15486
$as_echo_n "(cached) " >&6
15488
eval "$as_ac_Header=\$ac_header_preproc"
15490
ac_res=`eval 'as_val=${'$as_ac_Header'}
15491
$as_echo "$as_val"'`
15492
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15493
$as_echo "$ac_res" >&6; }
15496
as_val=`eval 'as_val=${'$as_ac_Header'}
15497
$as_echo "$as_val"'`
15498
if test "x$as_val" = x""yes; then
13413
for ac_header in locale.h
13415
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13416
if test "x$ac_cv_header_locale_h" = x""yes; then :
15499
13417
cat >>confdefs.h <<_ACEOF
15500
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13418
#define HAVE_LOCALE_H 1
15580
if test "${ac_cv_header_libintl_h+set}" = set; then
15581
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15582
$as_echo_n "checking for libintl.h... " >&6; }
15583
if test "${ac_cv_header_libintl_h+set}" = set; then
15584
$as_echo_n "(cached) " >&6
15586
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15587
$as_echo "$ac_cv_header_libintl_h" >&6; }
15589
# Is the header compilable?
15590
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
15591
$as_echo_n "checking libintl.h usability... " >&6; }
15592
cat >conftest.$ac_ext <<_ACEOF
15595
cat confdefs.h >>conftest.$ac_ext
15596
cat >>conftest.$ac_ext <<_ACEOF
15597
/* end confdefs.h. */
15598
$ac_includes_default
15599
#include <libintl.h>
15601
rm -f conftest.$ac_objext
15602
if { (ac_try="$ac_compile"
15603
case "(($ac_try" in
15604
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605
*) ac_try_echo=$ac_try;;
15607
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15608
$as_echo "$ac_try_echo") >&5
15609
(eval "$ac_compile") 2>conftest.er1
15611
grep -v '^ *+' conftest.er1 >conftest.err
15613
cat conftest.err >&5
15614
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615
(exit $ac_status); } && {
15616
test -z "$ac_c_werror_flag" ||
15617
test ! -s conftest.err
15618
} && test -s conftest.$ac_objext; then
15619
ac_header_compiler=yes
15621
$as_echo "$as_me: failed program was:" >&5
15622
sed 's/^/| /' conftest.$ac_ext >&5
15624
ac_header_compiler=no
15627
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15628
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15629
$as_echo "$ac_header_compiler" >&6; }
15631
# Is the header present?
15632
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
15633
$as_echo_n "checking libintl.h presence... " >&6; }
15634
cat >conftest.$ac_ext <<_ACEOF
15637
cat confdefs.h >>conftest.$ac_ext
15638
cat >>conftest.$ac_ext <<_ACEOF
15639
/* end confdefs.h. */
15640
#include <libintl.h>
15642
if { (ac_try="$ac_cpp conftest.$ac_ext"
15643
case "(($ac_try" in
15644
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645
*) ac_try_echo=$ac_try;;
15647
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15648
$as_echo "$ac_try_echo") >&5
15649
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15651
grep -v '^ *+' conftest.er1 >conftest.err
15653
cat conftest.err >&5
15654
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655
(exit $ac_status); } >/dev/null && {
15656
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15657
test ! -s conftest.err
15659
ac_header_preproc=yes
15661
$as_echo "$as_me: failed program was:" >&5
15662
sed 's/^/| /' conftest.$ac_ext >&5
15664
ac_header_preproc=no
15667
rm -f conftest.err conftest.$ac_ext
15668
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15669
$as_echo "$ac_header_preproc" >&6; }
15671
# So? What about this header?
15672
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15674
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
15675
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15676
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
15677
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
15678
ac_header_preproc=yes
15681
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
15682
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
15683
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
15684
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
15685
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
15686
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
15687
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
15688
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
15689
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
15690
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
15691
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
15692
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
15696
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15697
$as_echo_n "checking for libintl.h... " >&6; }
15698
if test "${ac_cv_header_libintl_h+set}" = set; then
15699
$as_echo_n "(cached) " >&6
15701
ac_cv_header_libintl_h=$ac_header_preproc
15703
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15704
$as_echo "$ac_cv_header_libintl_h" >&6; }
15707
if test "x$ac_cv_header_libintl_h" = x""yes; then
13467
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13468
if test "x$ac_cv_header_libintl_h" = x""yes; then :
15708
13469
gt_cv_func_dgettext_libintl="no"
15709
13470
libintl_extra_libs=""
15712
13473
# First check in libc
15714
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
13475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15715
13476
$as_echo_n "checking for ngettext in libc... " >&6; }
15716
if test "${gt_cv_func_ngettext_libc+set}" = set; then
13477
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
15717
13478
$as_echo_n "(cached) " >&6
15719
cat >conftest.$ac_ext <<_ACEOF
15722
cat confdefs.h >>conftest.$ac_ext
15723
cat >>conftest.$ac_ext <<_ACEOF
13480
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724
13481
/* end confdefs.h. */
15726
13483
#include <libintl.h>
15796
rm -f conftest.$ac_objext conftest$ac_exeext
15797
if { (ac_try="$ac_link"
15798
case "(($ac_try" in
15799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800
*) ac_try_echo=$ac_try;;
15802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15803
$as_echo "$ac_try_echo") >&5
15804
(eval "$ac_link") 2>conftest.er1
15806
grep -v '^ *+' conftest.er1 >conftest.err
15808
cat conftest.err >&5
15809
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810
(exit $ac_status); } && {
15811
test -z "$ac_c_werror_flag" ||
15812
test ! -s conftest.err
15813
} && test -s conftest$ac_exeext && {
15814
test "$cross_compiling" = yes ||
15815
$as_test_x conftest$ac_exeext
13524
if ac_fn_c_try_link "$LINENO"; then :
15817
13525
gt_cv_func_dgettext_libc=yes
15819
$as_echo "$as_me: failed program was:" >&5
15820
sed 's/^/| /' conftest.$ac_ext >&5
15822
gt_cv_func_dgettext_libc=no
15825
rm -rf conftest.dSYM
15826
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15827
conftest$ac_exeext conftest.$ac_ext
15830
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
13527
gt_cv_func_dgettext_libc=no
13529
rm -f core conftest.err conftest.$ac_objext \
13530
conftest$ac_exeext conftest.$ac_ext
13533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15831
13534
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
15834
13537
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15836
for ac_func in bind_textdomain_codeset
15838
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15839
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15840
$as_echo_n "checking for $ac_func... " >&6; }
15841
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15842
$as_echo_n "(cached) " >&6
15844
cat >conftest.$ac_ext <<_ACEOF
15847
cat confdefs.h >>conftest.$ac_ext
15848
cat >>conftest.$ac_ext <<_ACEOF
15849
/* end confdefs.h. */
15850
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15851
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15852
#define $ac_func innocuous_$ac_func
15854
/* System header to define __stub macros and hopefully few prototypes,
15855
which can conflict with char $ac_func (); below.
15856
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15857
<limits.h> exists even on freestanding compilers. */
15860
# include <limits.h>
15862
# include <assert.h>
15867
/* Override any GCC internal prototype to avoid an error.
15868
Use char because int might match the return type of a GCC
15869
builtin and then its argument prototype would still apply. */
15874
/* The GNU C library defines this for functions which it implements
15875
to always fail with ENOSYS. Some functions are actually named
15876
something starting with __ and the normal name is an alias. */
15877
#if defined __stub_$ac_func || defined __stub___$ac_func
15884
return $ac_func ();
15889
rm -f conftest.$ac_objext conftest$ac_exeext
15890
if { (ac_try="$ac_link"
15891
case "(($ac_try" in
15892
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15893
*) ac_try_echo=$ac_try;;
15895
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15896
$as_echo "$ac_try_echo") >&5
15897
(eval "$ac_link") 2>conftest.er1
15899
grep -v '^ *+' conftest.er1 >conftest.err
15901
cat conftest.err >&5
15902
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903
(exit $ac_status); } && {
15904
test -z "$ac_c_werror_flag" ||
15905
test ! -s conftest.err
15906
} && test -s conftest$ac_exeext && {
15907
test "$cross_compiling" = yes ||
15908
$as_test_x conftest$ac_exeext
15910
eval "$as_ac_var=yes"
15912
$as_echo "$as_me: failed program was:" >&5
15913
sed 's/^/| /' conftest.$ac_ext >&5
15915
eval "$as_ac_var=no"
15918
rm -rf conftest.dSYM
15919
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15920
conftest$ac_exeext conftest.$ac_ext
15922
ac_res=`eval 'as_val=${'$as_ac_var'}
15923
$as_echo "$as_val"'`
15924
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15925
$as_echo "$ac_res" >&6; }
15926
as_val=`eval 'as_val=${'$as_ac_var'}
15927
$as_echo "$as_val"'`
15928
if test "x$as_val" = x""yes; then
13538
for ac_func in bind_textdomain_codeset
13540
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13541
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15929
13542
cat >>confdefs.h <<_ACEOF
15930
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13543
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16185
rm -f conftest.$ac_objext conftest$ac_exeext
16186
if { (ac_try="$ac_link"
16187
case "(($ac_try" in
16188
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16189
*) ac_try_echo=$ac_try;;
16191
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16192
$as_echo "$ac_try_echo") >&5
16193
(eval "$ac_link") 2>conftest.er1
16195
grep -v '^ *+' conftest.er1 >conftest.err
16197
cat conftest.err >&5
16198
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199
(exit $ac_status); } && {
16200
test -z "$ac_c_werror_flag" ||
16201
test ! -s conftest.err
16202
} && test -s conftest$ac_exeext && {
16203
test "$cross_compiling" = yes ||
16204
$as_test_x conftest$ac_exeext
13707
if ac_fn_c_try_link "$LINENO"; then :
16206
13708
ac_cv_lib_intl_ngettext=yes
16208
$as_echo "$as_me: failed program was:" >&5
16209
sed 's/^/| /' conftest.$ac_ext >&5
16211
ac_cv_lib_intl_ngettext=no
13710
ac_cv_lib_intl_ngettext=no
16214
rm -rf conftest.dSYM
16215
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16216
conftest$ac_exeext conftest.$ac_ext
13712
rm -f core conftest.err conftest.$ac_objext \
13713
conftest$ac_exeext conftest.$ac_ext
16217
13714
LIBS=$ac_check_lib_save_LIBS
16219
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
13716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
16220
13717
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
16221
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
16222
{ $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
13718
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
16223
13720
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
16224
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
13721
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
16225
13722
$as_echo_n "(cached) " >&6
16227
13724
ac_check_lib_save_LIBS=$LIBS
16228
13725
LIBS="-lintl -liconv $LIBS"
16229
cat >conftest.$ac_ext <<_ACEOF
16232
cat confdefs.h >>conftest.$ac_ext
16233
cat >>conftest.$ac_ext <<_ACEOF
13726
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234
13727
/* end confdefs.h. */
16236
13729
/* Override any GCC internal prototype to avoid an error.
16306
13774
glib_save_LIBS="$LIBS"
16307
13775
LIBS="$LIBS -lintl $libintl_extra_libs"
16308
13776
unset ac_cv_func_bind_textdomain_codeset
16310
for ac_func in bind_textdomain_codeset
16312
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16313
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16314
$as_echo_n "checking for $ac_func... " >&6; }
16315
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16316
$as_echo_n "(cached) " >&6
16318
cat >conftest.$ac_ext <<_ACEOF
16321
cat confdefs.h >>conftest.$ac_ext
16322
cat >>conftest.$ac_ext <<_ACEOF
16323
/* end confdefs.h. */
16324
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16325
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16326
#define $ac_func innocuous_$ac_func
16328
/* System header to define __stub macros and hopefully few prototypes,
16329
which can conflict with char $ac_func (); below.
16330
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16331
<limits.h> exists even on freestanding compilers. */
16334
# include <limits.h>
16336
# include <assert.h>
16341
/* Override any GCC internal prototype to avoid an error.
16342
Use char because int might match the return type of a GCC
16343
builtin and then its argument prototype would still apply. */
16348
/* The GNU C library defines this for functions which it implements
16349
to always fail with ENOSYS. Some functions are actually named
16350
something starting with __ and the normal name is an alias. */
16351
#if defined __stub_$ac_func || defined __stub___$ac_func
16358
return $ac_func ();
16363
rm -f conftest.$ac_objext conftest$ac_exeext
16364
if { (ac_try="$ac_link"
16365
case "(($ac_try" in
16366
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367
*) ac_try_echo=$ac_try;;
16369
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16370
$as_echo "$ac_try_echo") >&5
16371
(eval "$ac_link") 2>conftest.er1
16373
grep -v '^ *+' conftest.er1 >conftest.err
16375
cat conftest.err >&5
16376
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377
(exit $ac_status); } && {
16378
test -z "$ac_c_werror_flag" ||
16379
test ! -s conftest.err
16380
} && test -s conftest$ac_exeext && {
16381
test "$cross_compiling" = yes ||
16382
$as_test_x conftest$ac_exeext
16384
eval "$as_ac_var=yes"
16386
$as_echo "$as_me: failed program was:" >&5
16387
sed 's/^/| /' conftest.$ac_ext >&5
16389
eval "$as_ac_var=no"
16392
rm -rf conftest.dSYM
16393
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16394
conftest$ac_exeext conftest.$ac_ext
16396
ac_res=`eval 'as_val=${'$as_ac_var'}
16397
$as_echo "$as_val"'`
16398
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16399
$as_echo "$ac_res" >&6; }
16400
as_val=`eval 'as_val=${'$as_ac_var'}
16401
$as_echo "$as_val"'`
16402
if test "x$as_val" = x""yes; then
13777
for ac_func in bind_textdomain_codeset
13779
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13780
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
16403
13781
cat >>confdefs.h <<_ACEOF
16404
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13782
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16465
13841
MSGFMT="$ac_cv_path_MSGFMT"
16466
13842
if test "$MSGFMT" != "no"; then
16467
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16468
13844
$as_echo "$MSGFMT" >&6; }
16470
{ $as_echo "$as_me:$LINENO: result: no" >&5
13846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16471
13847
$as_echo "no" >&6; }
16473
13849
if test "$MSGFMT" != "no"; then
16474
13850
glib_save_LIBS="$LIBS"
16475
13851
LIBS="$LIBS $INTLLIBS"
16477
for ac_func in dcgettext
16479
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16480
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16481
$as_echo_n "checking for $ac_func... " >&6; }
16482
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16483
$as_echo_n "(cached) " >&6
16485
cat >conftest.$ac_ext <<_ACEOF
16488
cat confdefs.h >>conftest.$ac_ext
16489
cat >>conftest.$ac_ext <<_ACEOF
16490
/* end confdefs.h. */
16491
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16492
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16493
#define $ac_func innocuous_$ac_func
16495
/* System header to define __stub macros and hopefully few prototypes,
16496
which can conflict with char $ac_func (); below.
16497
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16498
<limits.h> exists even on freestanding compilers. */
16501
# include <limits.h>
16503
# include <assert.h>
16508
/* Override any GCC internal prototype to avoid an error.
16509
Use char because int might match the return type of a GCC
16510
builtin and then its argument prototype would still apply. */
16515
/* The GNU C library defines this for functions which it implements
16516
to always fail with ENOSYS. Some functions are actually named
16517
something starting with __ and the normal name is an alias. */
16518
#if defined __stub_$ac_func || defined __stub___$ac_func
16525
return $ac_func ();
16530
rm -f conftest.$ac_objext conftest$ac_exeext
16531
if { (ac_try="$ac_link"
16532
case "(($ac_try" in
16533
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534
*) ac_try_echo=$ac_try;;
16536
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16537
$as_echo "$ac_try_echo") >&5
16538
(eval "$ac_link") 2>conftest.er1
16540
grep -v '^ *+' conftest.er1 >conftest.err
16542
cat conftest.err >&5
16543
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544
(exit $ac_status); } && {
16545
test -z "$ac_c_werror_flag" ||
16546
test ! -s conftest.err
16547
} && test -s conftest$ac_exeext && {
16548
test "$cross_compiling" = yes ||
16549
$as_test_x conftest$ac_exeext
16551
eval "$as_ac_var=yes"
16553
$as_echo "$as_me: failed program was:" >&5
16554
sed 's/^/| /' conftest.$ac_ext >&5
16556
eval "$as_ac_var=no"
16559
rm -rf conftest.dSYM
16560
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16561
conftest$ac_exeext conftest.$ac_ext
16563
ac_res=`eval 'as_val=${'$as_ac_var'}
16564
$as_echo "$as_val"'`
16565
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16566
$as_echo "$ac_res" >&6; }
16567
as_val=`eval 'as_val=${'$as_ac_var'}
16568
$as_echo "$as_val"'`
16569
if test "x$as_val" = x""yes; then
13852
for ac_func in dcgettext
13854
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13855
if test "x$ac_cv_func_dcgettext" = x""yes; then :
16570
13856
cat >>confdefs.h <<_ACEOF
16571
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13857
#define HAVE_DCGETTEXT 1
16578
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
13864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
16579
13865
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
16580
13866
cat >conftest.foo <<_ACEOF
16699
rm -f conftest.$ac_objext conftest$ac_exeext
16700
if { (ac_try="$ac_link"
16701
case "(($ac_try" in
16702
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16703
*) ac_try_echo=$ac_try;;
16705
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16706
$as_echo "$ac_try_echo") >&5
16707
(eval "$ac_link") 2>conftest.er1
16709
grep -v '^ *+' conftest.er1 >conftest.err
16711
cat conftest.err >&5
16712
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713
(exit $ac_status); } && {
16714
test -z "$ac_c_werror_flag" ||
16715
test ! -s conftest.err
16716
} && test -s conftest$ac_exeext && {
16717
test "$cross_compiling" = yes ||
16718
$as_test_x conftest$ac_exeext
13981
if ac_fn_c_try_link "$LINENO"; then :
16720
13982
CATOBJEXT=.gmo
16721
13983
DATADIRNAME=share
16723
$as_echo "$as_me: failed program was:" >&5
16724
sed 's/^/| /' conftest.$ac_ext >&5
16727
13986
*-*-solaris*)
16728
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
16729
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
16730
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
16731
$as_echo_n "(cached) " >&6
16733
cat >conftest.$ac_ext <<_ACEOF
16736
cat confdefs.h >>conftest.$ac_ext
16737
cat >>conftest.$ac_ext <<_ACEOF
16738
/* end confdefs.h. */
16739
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
16740
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16741
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
16743
/* System header to define __stub macros and hopefully few prototypes,
16744
which can conflict with char bind_textdomain_codeset (); below.
16745
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16746
<limits.h> exists even on freestanding compilers. */
16749
# include <limits.h>
16751
# include <assert.h>
16754
#undef bind_textdomain_codeset
16756
/* Override any GCC internal prototype to avoid an error.
16757
Use char because int might match the return type of a GCC
16758
builtin and then its argument prototype would still apply. */
16762
char bind_textdomain_codeset ();
16763
/* The GNU C library defines this for functions which it implements
16764
to always fail with ENOSYS. Some functions are actually named
16765
something starting with __ and the normal name is an alias. */
16766
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
16773
return bind_textdomain_codeset ();
16778
rm -f conftest.$ac_objext conftest$ac_exeext
16779
if { (ac_try="$ac_link"
16780
case "(($ac_try" in
16781
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16782
*) ac_try_echo=$ac_try;;
16784
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16785
$as_echo "$ac_try_echo") >&5
16786
(eval "$ac_link") 2>conftest.er1
16788
grep -v '^ *+' conftest.er1 >conftest.err
16790
cat conftest.err >&5
16791
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792
(exit $ac_status); } && {
16793
test -z "$ac_c_werror_flag" ||
16794
test ! -s conftest.err
16795
} && test -s conftest$ac_exeext && {
16796
test "$cross_compiling" = yes ||
16797
$as_test_x conftest$ac_exeext
16799
ac_cv_func_bind_textdomain_codeset=yes
16801
$as_echo "$as_me: failed program was:" >&5
16802
sed 's/^/| /' conftest.$ac_ext >&5
16804
ac_cv_func_bind_textdomain_codeset=no
16807
rm -rf conftest.dSYM
16808
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16809
conftest$ac_exeext conftest.$ac_ext
16811
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
16812
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
16813
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
13987
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13988
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
16814
13989
CATOBJEXT=.gmo
16815
13990
DATADIRNAME=share
17070
14241
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17071
14242
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17072
14243
# will be set to the directory where LIBOBJS objects are built.
17073
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17074
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14244
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14245
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17076
14247
LIBOBJS=$ac_libobjs
17078
14249
LTLIBOBJS=$ac_ltlibobjs
14252
if test -n "$EXEEXT"; then
14254
am__EXEEXT_FALSE='#'
14256
am__EXEEXT_TRUE='#'
17081
14260
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17082
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17083
Usually this means the macro was only invoked conditionally." >&5
17084
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17085
Usually this means the macro was only invoked conditionally." >&2;}
17086
{ (exit 1); exit 1; }; }
14261
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14262
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17088
14264
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17089
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17090
Usually this means the macro was only invoked conditionally." >&5
17091
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17092
Usually this means the macro was only invoked conditionally." >&2;}
17093
{ (exit 1); exit 1; }; }
17095
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17096
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17097
Usually this means the macro was only invoked conditionally." >&5
17098
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17099
Usually this means the macro was only invoked conditionally." >&2;}
17100
{ (exit 1); exit 1; }; }
17102
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17103
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17104
Usually this means the macro was only invoked conditionally." >&5
17105
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17106
Usually this means the macro was only invoked conditionally." >&2;}
17107
{ (exit 1); exit 1; }; }
17109
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17110
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17111
Usually this means the macro was only invoked conditionally." >&5
17112
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17113
Usually this means the macro was only invoked conditionally." >&2;}
17114
{ (exit 1); exit 1; }; }
14265
as_fn_error "conditional \"AMDEP\" was never defined.
14266
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14268
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14269
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14270
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14272
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14273
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14274
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14276
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14277
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14278
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17117
14281
ac_config_commands="$ac_config_commands po/stamp-it"
17120
14284
if test -z "${USE_HAL_TRUE}" && test -z "${USE_HAL_FALSE}"; then
17121
{ { $as_echo "$as_me:$LINENO: error: conditional \"USE_HAL\" was never defined.
17122
Usually this means the macro was only invoked conditionally." >&5
17123
$as_echo "$as_me: error: conditional \"USE_HAL\" was never defined.
17124
Usually this means the macro was only invoked conditionally." >&2;}
17125
{ (exit 1); exit 1; }; }
14285
as_fn_error "conditional \"USE_HAL\" was never defined.
14286
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17127
14288
if test -z "${DESKTOP_INTEGRATION_TRUE}" && test -z "${DESKTOP_INTEGRATION_FALSE}"; then
17128
{ { $as_echo "$as_me:$LINENO: error: conditional \"DESKTOP_INTEGRATION\" was never defined.
17129
Usually this means the macro was only invoked conditionally." >&5
17130
$as_echo "$as_me: error: conditional \"DESKTOP_INTEGRATION\" was never defined.
17131
Usually this means the macro was only invoked conditionally." >&2;}
17132
{ (exit 1); exit 1; }; }
14289
as_fn_error "conditional \"DESKTOP_INTEGRATION\" was never defined.
14290
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17135
14293
: ${CONFIG_STATUS=./config.status}
17136
14294
ac_write_fail=0
17137
14295
ac_clean_files_save=$ac_clean_files
17138
14296
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17139
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14297
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17140
14298
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17141
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14300
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17143
14302
# Generated by $as_me.
17144
14303
# Run this file to recreate the current configuration.
18350
15536
-) cat "$tmp/out" && rm -f "$tmp/out";;
18351
15537
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18353
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18354
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18355
{ (exit 1); exit 1; }; }
15539
|| as_fn_error "could not create $ac_file" "$LINENO" 5
18359
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15543
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18360
15544
$as_echo "$as_me: executing $ac_file commands" >&6;}
18365
15549
case $ac_file$ac_mode in
18366
"depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
18367
# are listed without --file. Let's play safe and only enable the eval
18368
# if we detect the quoting.
18369
case $CONFIG_FILES in
18370
*\'*) eval set x "$CONFIG_FILES" ;;
18371
*) set x $CONFIG_FILES ;;
18376
# Strip MF so we end up with the name of the file.
18377
mf=`echo "$mf" | sed -e 's/:.*$//'`
18378
# Check whether this is an Automake generated Makefile or not.
18379
# We used to match only the files named `Makefile.in', but
18380
# some people rename them; so instead we look at the file content.
18381
# Grep'ing the first line is not enough: some people post-process
18382
# each Makefile.in and add a new line on top of each file to say so.
18383
# Grep'ing the whole file is not good either: AIX grep has a line
18384
# limit of 2048, but all sed's we know have understand at least 4000.
18385
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18386
dirpart=`$as_dirname -- "$mf" ||
15550
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15551
# Autoconf 2.62 quotes --file arguments for eval, but not when files
15552
# are listed without --file. Let's play safe and only enable the eval
15553
# if we detect the quoting.
15554
case $CONFIG_FILES in
15555
*\'*) eval set x "$CONFIG_FILES" ;;
15556
*) set x $CONFIG_FILES ;;
15561
# Strip MF so we end up with the name of the file.
15562
mf=`echo "$mf" | sed -e 's/:.*$//'`
15563
# Check whether this is an Automake generated Makefile or not.
15564
# We used to match only the files named `Makefile.in', but
15565
# some people rename them; so instead we look at the file content.
15566
# Grep'ing the first line is not enough: some people post-process
15567
# each Makefile.in and add a new line on top of each file to say so.
15568
# Grep'ing the whole file is not good either: AIX grep has a line
15569
# limit of 2048, but all sed's we know have understand at least 4000.
15570
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15571
dirpart=`$as_dirname -- "$mf" ||
18387
15572
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18388
15573
X"$mf" : 'X\(//\)[^/]' \| \
18389
15574
X"$mf" : 'X\(//\)$' \| \
18412
# Extract the definition of DEPDIR, am__include, and am__quote
18413
# from the Makefile without running `make'.
18414
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18415
test -z "$DEPDIR" && continue
18416
am__include=`sed -n 's/^am__include = //p' < "$mf"`
18417
test -z "am__include" && continue
18418
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18419
# When using ansi2knr, U may be empty or an underscore; expand it
18420
U=`sed -n 's/^U = //p' < "$mf"`
18421
# Find all dependency output files, they are included files with
18422
# $(DEPDIR) in their names. We invoke sed twice because it is the
18423
# simplest approach to changing $(DEPDIR) to its actual value in the
18425
for file in `sed -n "
18426
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18427
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18428
# Make sure the directory exists.
18429
test -f "$dirpart/$file" && continue
18430
fdir=`$as_dirname -- "$file" ||
15597
# Extract the definition of DEPDIR, am__include, and am__quote
15598
# from the Makefile without running `make'.
15599
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15600
test -z "$DEPDIR" && continue
15601
am__include=`sed -n 's/^am__include = //p' < "$mf"`
15602
test -z "am__include" && continue
15603
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15604
# When using ansi2knr, U may be empty or an underscore; expand it
15605
U=`sed -n 's/^U = //p' < "$mf"`
15606
# Find all dependency output files, they are included files with
15607
# $(DEPDIR) in their names. We invoke sed twice because it is the
15608
# simplest approach to changing $(DEPDIR) to its actual value in the
15610
for file in `sed -n "
15611
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15612
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15613
# Make sure the directory exists.
15614
test -f "$dirpart/$file" && continue
15615
fdir=`$as_dirname -- "$file" ||
18431
15616
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18432
15617
X"$file" : 'X\(//\)[^/]' \| \
18433
15618
X"$file" : 'X\(//\)$' \| \