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. :-)
1736
1702
test -n "$ac_init_help" && exit $ac_status
1737
1703
if $ac_init_version; then
1739
gbrainy configure 1.20
1740
generated by GNU Autoconf 2.63
1705
gbrainy configure 1.30
1706
generated by GNU Autoconf 2.64
1742
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1743
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1708
Copyright (C) 2009 Free Software Foundation, Inc.
1744
1709
This configure script is free software; the Free Software Foundation
1745
1710
gives unlimited permission to copy, distribute and modify it.
1715
## ------------------------ ##
1716
## Autoconf initialization. ##
1717
## ------------------------ ##
1719
# ac_fn_c_try_compile LINENO
1720
# --------------------------
1721
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1722
ac_fn_c_try_compile ()
1724
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725
rm -f conftest.$ac_objext
1726
if { { ac_try="$ac_compile"
1728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729
*) ac_try_echo=$ac_try;;
1731
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732
$as_echo "$ac_try_echo"; } >&5
1733
(eval "$ac_compile") 2>conftest.err
1735
if test -s conftest.err; then
1736
grep -v '^ *+' conftest.err >conftest.er1
1737
cat conftest.er1 >&5
1738
mv -f conftest.er1 conftest.err
1740
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741
test $ac_status = 0; } && {
1742
test -z "$ac_c_werror_flag" ||
1743
test ! -s conftest.err
1744
} && test -s conftest.$ac_objext; then :
1747
$as_echo "$as_me: failed program was:" >&5
1748
sed 's/^/| /' conftest.$ac_ext >&5
1752
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1755
} # ac_fn_c_try_compile
1757
# ac_fn_c_try_link LINENO
1758
# -----------------------
1759
# Try to link conftest.$ac_ext, and return whether this succeeded.
1762
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763
rm -f conftest.$ac_objext conftest$ac_exeext
1764
if { { ac_try="$ac_link"
1766
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767
*) ac_try_echo=$ac_try;;
1769
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770
$as_echo "$ac_try_echo"; } >&5
1771
(eval "$ac_link") 2>conftest.err
1773
if test -s conftest.err; then
1774
grep -v '^ *+' conftest.err >conftest.er1
1775
cat conftest.er1 >&5
1776
mv -f conftest.er1 conftest.err
1778
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779
test $ac_status = 0; } && {
1780
test -z "$ac_c_werror_flag" ||
1781
test ! -s conftest.err
1782
} && test -s conftest$ac_exeext && {
1783
test "$cross_compiling" = yes ||
1784
$as_test_x conftest$ac_exeext
1788
$as_echo "$as_me: failed program was:" >&5
1789
sed 's/^/| /' conftest.$ac_ext >&5
1793
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1794
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1795
# interfere with the next link command; also delete a directory that is
1796
# left behind by Apple's compiler. We do this before executing the actions.
1797
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1798
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801
} # ac_fn_c_try_link
1803
# ac_fn_c_check_func LINENO FUNC VAR
1804
# ----------------------------------
1805
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1806
ac_fn_c_check_func ()
1808
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810
$as_echo_n "checking for $2... " >&6; }
1811
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1812
$as_echo_n "(cached) " >&6
1814
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815
/* end confdefs.h. */
1816
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1817
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1818
#define $2 innocuous_$2
1820
/* System header to define __stub macros and hopefully few prototypes,
1821
which can conflict with char $2 (); below.
1822
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1823
<limits.h> exists even on freestanding compilers. */
1826
# include <limits.h>
1828
# include <assert.h>
1833
/* Override any GCC internal prototype to avoid an error.
1834
Use char because int might match the return type of a GCC
1835
builtin and then its argument prototype would still apply. */
1840
/* The GNU C library defines this for functions which it implements
1841
to always fail with ENOSYS. Some functions are actually named
1842
something starting with __ and the normal name is an alias. */
1843
#if defined __stub_$2 || defined __stub___$2
1855
if ac_fn_c_try_link "$LINENO"; then :
1860
rm -f core conftest.err conftest.$ac_objext \
1861
conftest$ac_exeext conftest.$ac_ext
1864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865
$as_echo "$ac_res" >&6; }
1866
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1868
} # ac_fn_c_check_func
1870
# ac_fn_c_try_cpp LINENO
1871
# ----------------------
1872
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1875
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876
if { { ac_try="$ac_cpp conftest.$ac_ext"
1878
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879
*) ac_try_echo=$ac_try;;
1881
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882
$as_echo "$ac_try_echo"; } >&5
1883
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1885
if test -s conftest.err; then
1886
grep -v '^ *+' conftest.err >conftest.er1
1887
cat conftest.er1 >&5
1888
mv -f conftest.er1 conftest.err
1890
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891
test $ac_status = 0; } >/dev/null && {
1892
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1893
test ! -s conftest.err
1897
$as_echo "$as_me: failed program was:" >&5
1898
sed 's/^/| /' conftest.$ac_ext >&5
1902
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907
# ac_fn_c_try_run LINENO
1908
# ----------------------
1909
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1910
# that executables *can* be run.
1913
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914
if { { ac_try="$ac_link"
1916
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1917
*) ac_try_echo=$ac_try;;
1919
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1920
$as_echo "$ac_try_echo"; } >&5
1921
(eval "$ac_link") 2>&5
1923
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1924
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1925
{ { case "(($ac_try" in
1926
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1927
*) ac_try_echo=$ac_try;;
1929
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930
$as_echo "$ac_try_echo"; } >&5
1931
(eval "$ac_try") 2>&5
1933
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934
test $ac_status = 0; }; }; then :
1937
$as_echo "$as_me: program exited with status $ac_status" >&5
1938
$as_echo "$as_me: failed program was:" >&5
1939
sed 's/^/| /' conftest.$ac_ext >&5
1941
ac_retval=$ac_status
1943
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1944
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1949
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1950
# -------------------------------------------------------
1951
# Tests whether HEADER exists and can be compiled using the include files in
1952
# INCLUDES, setting the cache variable VAR accordingly.
1953
ac_fn_c_check_header_compile ()
1955
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957
$as_echo_n "checking for $2... " >&6; }
1958
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1959
$as_echo_n "(cached) " >&6
1961
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962
/* end confdefs.h. */
1966
if ac_fn_c_try_compile "$LINENO"; then :
1971
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975
$as_echo "$ac_res" >&6; }
1976
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978
} # ac_fn_c_check_header_compile
1980
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1981
# -------------------------------------------------------
1982
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1983
# the include files in INCLUDES and setting the cache variable VAR
1985
ac_fn_c_check_header_mongrel ()
1987
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1990
$as_echo_n "checking for $2... " >&6; }
1991
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1992
$as_echo_n "(cached) " >&6
1995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996
$as_echo "$ac_res" >&6; }
1998
# Is the header compilable?
1999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2000
$as_echo_n "checking $2 usability... " >&6; }
2001
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002
/* end confdefs.h. */
2006
if ac_fn_c_try_compile "$LINENO"; then :
2007
ac_header_compiler=yes
2009
ac_header_compiler=no
2011
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2013
$as_echo "$ac_header_compiler" >&6; }
2015
# Is the header present?
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2017
$as_echo_n "checking $2 presence... " >&6; }
2018
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019
/* end confdefs.h. */
2022
if ac_fn_c_try_cpp "$LINENO"; then :
2023
ac_header_preproc=yes
2025
ac_header_preproc=no
2027
rm -f conftest.err conftest.$ac_ext
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2029
$as_echo "$ac_header_preproc" >&6; }
2031
# So? What about this header?
2032
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2035
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2036
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2037
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2041
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2043
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2044
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2045
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2046
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2047
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2048
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2049
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053
$as_echo_n "checking for $2... " >&6; }
2054
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2055
$as_echo_n "(cached) " >&6
2057
eval "$3=\$ac_header_compiler"
2060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061
$as_echo "$ac_res" >&6; }
2063
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2065
} # ac_fn_c_check_header_mongrel
1749
2066
cat >config.log <<_ACEOF
1750
2067
This file contains any messages produced by compilers while
1751
2068
running configure, to aid debugging if configure makes a mistake.
1753
It was created by gbrainy $as_me 1.20, which was
1754
generated by GNU Autoconf 2.63. Invocation command line was
2070
It was created by gbrainy $as_me 1.30, which was
2071
generated by GNU Autoconf 2.64. Invocation command line was
2306
2602
# expand $ac_aux_dir to an absolute path
2307
2603
am_aux_dir=`cd $ac_aux_dir && pwd`
2309
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2605
if test x"${MISSING+set}" != xset; then
2608
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2610
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2310
2613
# Use eval to expand $SHELL
2311
2614
if eval "$MISSING --run true"; then
2312
2615
am_missing_run="$MISSING --run "
2314
2617
am_missing_run=
2315
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2618
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2316
2619
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2319
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2320
# We used to keeping the `.' as first argument, in order to
2321
# allow $(mkdir_p) to be used without argument. As in
2322
# $(mkdir_p) $(somedir)
2323
# where $(somedir) is conditionally defined. However this is wrong
2325
# 1. if the package is installed by a user who cannot write `.'
2326
# make install will fail,
2327
# 2. the above comment should most certainly read
2328
# $(mkdir_p) $(DESTDIR)$(somedir)
2329
# so it does not work when $(somedir) is undefined and
2330
# $(DESTDIR) is not.
2331
# To support the latter case, we have to write
2332
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2333
# so the `.' trick is pointless.
2334
mkdir_p='mkdir -p --'
2336
# On NextStep and OpenStep, the `mkdir' command does not
2337
# recognize any option. It will interpret all options as
2338
# directories to create, and then abort because `.' already
2340
for d in ./-p ./--version;
2342
test -d $d && rmdir $d
2344
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2345
if test -f "$ac_aux_dir/mkinstalldirs"; then
2346
mkdir_p='$(mkinstalldirs)'
2348
mkdir_p='$(install_sh) -d'
2622
if test x"${install_sh}" != xset; then
2625
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2627
install_sh="\${SHELL} $am_aux_dir/install-sh"
2631
# Installed binaries are usually stripped using `strip' when the user
2632
# run `make install-strip'. However `strip' might not be the right
2633
# tool to use in cross-compilation environments, therefore Automake
2634
# will honor the `STRIP' environment variable to overrule this program.
2635
if test "$cross_compiling" != no; then
2636
if test -n "$ac_tool_prefix"; then
2637
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2638
set dummy ${ac_tool_prefix}strip; ac_word=$2
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2640
$as_echo_n "checking for $ac_word... " >&6; }
2641
if test "${ac_cv_prog_STRIP+set}" = set; then :
2642
$as_echo_n "(cached) " >&6
2644
if test -n "$STRIP"; then
2645
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2647
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651
test -z "$as_dir" && as_dir=.
2652
for ac_exec_ext in '' $ac_executable_extensions; do
2653
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2654
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2655
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664
STRIP=$ac_cv_prog_STRIP
2665
if test -n "$STRIP"; then
2666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2667
$as_echo "$STRIP" >&6; }
2669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2670
$as_echo "no" >&6; }
2675
if test -z "$ac_cv_prog_STRIP"; then
2677
# Extract the first word of "strip", so it can be a program name with args.
2678
set dummy strip; ac_word=$2
2679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2680
$as_echo_n "checking for $ac_word... " >&6; }
2681
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2682
$as_echo_n "(cached) " >&6
2684
if test -n "$ac_ct_STRIP"; then
2685
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691
test -z "$as_dir" && as_dir=.
2692
for ac_exec_ext in '' $ac_executable_extensions; do
2693
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694
ac_cv_prog_ac_ct_STRIP="strip"
2695
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2704
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2705
if test -n "$ac_ct_STRIP"; then
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2707
$as_echo "$ac_ct_STRIP" >&6; }
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710
$as_echo "no" >&6; }
2713
if test "x$ac_ct_STRIP" = x; then
2716
case $cross_compiling:$ac_tool_warned in
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2719
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2720
ac_tool_warned=yes ;;
2725
STRIP="$ac_cv_prog_STRIP"
2729
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2732
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2733
if test -z "$MKDIR_P"; then
2734
if test "${ac_cv_path_mkdir+set}" = set; then :
2735
$as_echo_n "(cached) " >&6
2737
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2741
test -z "$as_dir" && as_dir=.
2742
for ac_prog in mkdir gmkdir; do
2743
for ac_exec_ext in '' $ac_executable_extensions; do
2744
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2745
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2746
'mkdir (GNU coreutils) '* | \
2747
'mkdir (coreutils) '* | \
2748
'mkdir (fileutils) '4.1*)
2749
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2759
if test "${ac_cv_path_mkdir+set}" = set; then
2760
MKDIR_P="$ac_cv_path_mkdir -p"
2762
# As a last resort, use the slow shell script. Don't cache a
2763
# value for MKDIR_P within a source directory, because that will
2764
# break other packages using the cache if that directory is
2765
# removed, or if the value is a relative name.
2766
test -d ./--version && rmdir ./--version
2767
MKDIR_P="$ac_install_sh -d"
2770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2771
$as_echo "$MKDIR_P" >&6; }
2775
[\\/$]* | ?:[\\/]*) ;;
2776
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2352
2779
for ac_prog in gawk mawk nawk awk
2354
2781
# Extract the first word of "$ac_prog", so it can be a program name with args.
2355
2782
set dummy $ac_prog; ac_word=$2
2356
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2357
2784
$as_echo_n "checking for $ac_word... " >&6; }
2358
if test "${ac_cv_prog_AWK+set}" = set; then
2785
if test "${ac_cv_prog_AWK+set}" = set; then :
2359
2786
$as_echo_n "(cached) " >&6
2361
2788
if test -n "$AWK"; then
2480
2909
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2482
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2484
# Installed binaries are usually stripped using `strip' when the user
2485
# run `make install-strip'. However `strip' might not be the right
2486
# tool to use in cross-compilation environments, therefore Automake
2487
# will honor the `STRIP' environment variable to overrule this program.
2488
if test "$cross_compiling" != no; then
2489
if test -n "$ac_tool_prefix"; then
2490
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2491
set dummy ${ac_tool_prefix}strip; ac_word=$2
2492
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2493
$as_echo_n "checking for $ac_word... " >&6; }
2494
if test "${ac_cv_prog_STRIP+set}" = set; then
2495
$as_echo_n "(cached) " >&6
2497
if test -n "$STRIP"; then
2498
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2500
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504
test -z "$as_dir" && as_dir=.
2505
for ac_exec_ext in '' $ac_executable_extensions; do
2506
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2508
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517
STRIP=$ac_cv_prog_STRIP
2518
if test -n "$STRIP"; then
2519
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2520
$as_echo "$STRIP" >&6; }
2522
{ $as_echo "$as_me:$LINENO: result: no" >&5
2523
$as_echo "no" >&6; }
2528
if test -z "$ac_cv_prog_STRIP"; then
2530
# Extract the first word of "strip", so it can be a program name with args.
2531
set dummy strip; ac_word=$2
2532
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2533
$as_echo_n "checking for $ac_word... " >&6; }
2534
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2535
$as_echo_n "(cached) " >&6
2537
if test -n "$ac_ct_STRIP"; then
2538
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544
test -z "$as_dir" && as_dir=.
2545
for ac_exec_ext in '' $ac_executable_extensions; do
2546
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547
ac_cv_prog_ac_ct_STRIP="strip"
2548
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2558
if test -n "$ac_ct_STRIP"; then
2559
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2560
$as_echo "$ac_ct_STRIP" >&6; }
2562
{ $as_echo "$as_me:$LINENO: result: no" >&5
2563
$as_echo "no" >&6; }
2566
if test "x$ac_ct_STRIP" = x; then
2569
case $cross_compiling:$ac_tool_warned in
2571
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2572
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2573
ac_tool_warned=yes ;;
2578
STRIP="$ac_cv_prog_STRIP"
2582
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2584
2911
# We need awk for the "check" target. The system "awk" is bad on
2585
2912
# some platforms.
2586
2913
# Always define AMTAR for backward compatibility.
3080
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3403
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081
3404
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3083
See \`config.log' for more details." >&5
3084
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3085
See \`config.log' for more details." >&2;}
3086
{ (exit 1); exit 1; }; }; }
3405
as_fn_error "no acceptable C compiler found in \$PATH
3406
See \`config.log' for more details." "$LINENO" 5; }
3088
3408
# Provide some information about the compiler.
3089
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3409
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3090
3410
set X $ac_compile
3092
{ (ac_try="$ac_compiler --version >&5"
3094
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095
*) ac_try_echo=$ac_try;;
3097
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3098
$as_echo "$ac_try_echo") >&5
3099
(eval "$ac_compiler --version >&5") 2>&5
3101
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102
(exit $ac_status); }
3103
{ (ac_try="$ac_compiler -v >&5"
3105
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106
*) ac_try_echo=$ac_try;;
3108
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3109
$as_echo "$ac_try_echo") >&5
3110
(eval "$ac_compiler -v >&5") 2>&5
3112
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113
(exit $ac_status); }
3114
{ (ac_try="$ac_compiler -V >&5"
3116
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117
*) ac_try_echo=$ac_try;;
3119
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3120
$as_echo "$ac_try_echo") >&5
3121
(eval "$ac_compiler -V >&5") 2>&5
3123
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124
(exit $ac_status); }
3412
for ac_option in --version -v -V -qversion; do
3413
{ { ac_try="$ac_compiler $ac_option >&5"
3415
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416
*) ac_try_echo=$ac_try;;
3418
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419
$as_echo "$ac_try_echo"; } >&5
3420
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3422
if test -s conftest.err; then
3424
... rest of stderr output deleted ...
3425
10q' conftest.err >conftest.er1
3426
cat conftest.er1 >&5
3427
rm -f conftest.er1 conftest.err
3429
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430
test $ac_status = 0; }
3126
cat >conftest.$ac_ext <<_ACEOF
3129
cat confdefs.h >>conftest.$ac_ext
3130
cat >>conftest.$ac_ext <<_ACEOF
3433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131
3434
/* end confdefs.h. */
3439
FILE *f = fopen ("conftest.out", "w");
3440
return ferror (f) || fclose (f) != 0;
3141
3446
ac_clean_files_save=$ac_clean_files
3142
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3447
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3143
3448
# Try to create an executable without -o first, disregard a.out.
3144
3449
# It will help us diagnose broken compilers, and finding out an intuition
3146
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3147
3452
$as_echo_n "checking for C compiler default output file name... " >&6; }
3148
3453
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3210
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3211
3515
$as_echo "$ac_file" >&6; }
3212
if test -z "$ac_file"; then
3516
if test -z "$ac_file"; then :
3213
3517
$as_echo "$as_me: failed program was:" >&5
3214
3518
sed 's/^/| /' conftest.$ac_ext >&5
3216
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3520
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217
3521
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3219
See \`config.log' for more details." >&5
3220
$as_echo "$as_me: error: C compiler cannot create executables
3221
See \`config.log' for more details." >&2;}
3222
{ (exit 77); exit 77; }; }; }
3522
{ as_fn_set_status 77
3523
as_fn_error "C compiler cannot create executables
3524
See \`config.log' for more details." "$LINENO" 5; }; }
3225
3526
ac_exeext=$ac_cv_exeext
3227
3528
# Check that the compiler produces executables we can run. If not, either
3228
3529
# the compiler is broken, or we cross compile.
3229
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3230
3531
$as_echo_n "checking whether the C compiler works... " >&6; }
3231
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3232
3532
# If not cross compiling, check that we can run a simple program.
3233
3533
if test "$cross_compiling" != yes; then
3234
3534
if { ac_try='./$ac_file'
3235
{ (case "(($ac_try" in
3535
{ { case "(($ac_try" in
3236
3536
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237
3537
*) ac_try_echo=$ac_try;;
3239
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3240
$as_echo "$ac_try_echo") >&5
3539
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540
$as_echo "$ac_try_echo"; } >&5
3241
3541
(eval "$ac_try") 2>&5
3243
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244
(exit $ac_status); }; }; then
3543
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3544
test $ac_status = 0; }; }; then
3245
3545
cross_compiling=no
3247
3547
if test "$cross_compiling" = maybe; then
3248
3548
cross_compiling=yes
3250
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3550
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251
3551
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3253
If you meant to cross compile, use \`--host'.
3254
See \`config.log' for more details." >&5
3255
$as_echo "$as_me: error: cannot run C compiled programs.
3256
If you meant to cross compile, use \`--host'.
3257
See \`config.log' for more details." >&2;}
3258
{ (exit 1); exit 1; }; }; }
3552
as_fn_error "cannot run C compiled programs.
3553
If you meant to cross compile, use \`--host'.
3554
See \`config.log' for more details." "$LINENO" 5; }
3262
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3263
3559
$as_echo "yes" >&6; }
3265
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3561
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3266
3562
ac_clean_files=$ac_clean_files_save
3267
3563
# Check that the compiler produces executables we can run. If not, either
3268
3564
# the compiler is broken, or we cross compile.
3269
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3270
3566
$as_echo_n "checking whether we are cross compiling... " >&6; }
3271
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3272
3568
$as_echo "$cross_compiling" >&6; }
3274
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3275
3571
$as_echo_n "checking for suffix of executables... " >&6; }
3276
if { (ac_try="$ac_link"
3572
if { { ac_try="$ac_link"
3277
3573
case "(($ac_try" in
3278
3574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279
3575
*) ac_try_echo=$ac_try;;
3281
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3282
$as_echo "$ac_try_echo") >&5
3577
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578
$as_echo "$ac_try_echo"; } >&5
3283
3579
(eval "$ac_link") 2>&5
3285
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286
(exit $ac_status); }; then
3581
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582
test $ac_status = 0; }; then :
3287
3583
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3288
3584
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3289
3585
# work properly (i.e., refer to `conftest.exe'), while it won't with
4363
rm -f conftest.$ac_objext conftest$ac_exeext
4364
if { (ac_try="$ac_link"
4366
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4367
*) ac_try_echo=$ac_try;;
4369
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4370
$as_echo "$ac_try_echo") >&5
4371
(eval "$ac_link") 2>conftest.er1
4373
grep -v '^ *+' conftest.er1 >conftest.err
4375
cat conftest.err >&5
4376
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377
(exit $ac_status); } && {
4378
test -z "$ac_c_werror_flag" ||
4379
test ! -s conftest.err
4380
} && test -s conftest$ac_exeext && {
4381
test "$cross_compiling" = yes ||
4382
$as_test_x conftest$ac_exeext
4518
if ac_fn_c_try_link "$LINENO"; then :
4384
4519
DATADIRNAME=share
4386
$as_echo "$as_me: failed program was:" >&5
4387
sed 's/^/| /' conftest.$ac_ext >&5
4391
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4392
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4393
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4394
$as_echo_n "(cached) " >&6
4396
cat >conftest.$ac_ext <<_ACEOF
4399
cat confdefs.h >>conftest.$ac_ext
4400
cat >>conftest.$ac_ext <<_ACEOF
4401
/* end confdefs.h. */
4402
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4403
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4404
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4406
/* System header to define __stub macros and hopefully few prototypes,
4407
which can conflict with char bind_textdomain_codeset (); below.
4408
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4409
<limits.h> exists even on freestanding compilers. */
4412
# include <limits.h>
4414
# include <assert.h>
4417
#undef bind_textdomain_codeset
4419
/* Override any GCC internal prototype to avoid an error.
4420
Use char because int might match the return type of a GCC
4421
builtin and then its argument prototype would still apply. */
4425
char bind_textdomain_codeset ();
4426
/* The GNU C library defines this for functions which it implements
4427
to always fail with ENOSYS. Some functions are actually named
4428
something starting with __ and the normal name is an alias. */
4429
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4436
return bind_textdomain_codeset ();
4441
rm -f conftest.$ac_objext conftest$ac_exeext
4442
if { (ac_try="$ac_link"
4444
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445
*) ac_try_echo=$ac_try;;
4447
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4448
$as_echo "$ac_try_echo") >&5
4449
(eval "$ac_link") 2>conftest.er1
4451
grep -v '^ *+' conftest.er1 >conftest.err
4453
cat conftest.err >&5
4454
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455
(exit $ac_status); } && {
4456
test -z "$ac_c_werror_flag" ||
4457
test ! -s conftest.err
4458
} && test -s conftest$ac_exeext && {
4459
test "$cross_compiling" = yes ||
4460
$as_test_x conftest$ac_exeext
4462
ac_cv_func_bind_textdomain_codeset=yes
4464
$as_echo "$as_me: failed program was:" >&5
4465
sed 's/^/| /' conftest.$ac_ext >&5
4467
ac_cv_func_bind_textdomain_codeset=no
4470
rm -rf conftest.dSYM
4471
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4472
conftest$ac_exeext conftest.$ac_ext
4474
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4475
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4476
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4523
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4524
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4477
4525
DATADIRNAME=share
4479
4527
DATADIRNAME=lib
4797
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4843
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4798
4844
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4799
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4800
See \`config.log' for more details." >&5
4801
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4802
See \`config.log' for more details." >&2;}
4803
{ (exit 1); exit 1; }; }; }
4845
as_fn_error "no acceptable C compiler found in \$PATH
4846
See \`config.log' for more details." "$LINENO" 5; }
4805
4848
# Provide some information about the compiler.
4806
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4849
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4807
4850
set X $ac_compile
4809
{ (ac_try="$ac_compiler --version >&5"
4811
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812
*) ac_try_echo=$ac_try;;
4814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4815
$as_echo "$ac_try_echo") >&5
4816
(eval "$ac_compiler --version >&5") 2>&5
4818
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819
(exit $ac_status); }
4820
{ (ac_try="$ac_compiler -v >&5"
4822
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823
*) ac_try_echo=$ac_try;;
4825
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4826
$as_echo "$ac_try_echo") >&5
4827
(eval "$ac_compiler -v >&5") 2>&5
4829
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830
(exit $ac_status); }
4831
{ (ac_try="$ac_compiler -V >&5"
4833
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834
*) ac_try_echo=$ac_try;;
4836
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4837
$as_echo "$ac_try_echo") >&5
4838
(eval "$ac_compiler -V >&5") 2>&5
4840
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
(exit $ac_status); }
4852
for ac_option in --version -v -V -qversion; do
4853
{ { ac_try="$ac_compiler $ac_option >&5"
4855
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856
*) ac_try_echo=$ac_try;;
4858
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4859
$as_echo "$ac_try_echo"; } >&5
4860
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4862
if test -s conftest.err; then
4864
... rest of stderr output deleted ...
4865
10q' conftest.err >conftest.er1
4866
cat conftest.er1 >&5
4867
rm -f conftest.er1 conftest.err
4869
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4870
test $ac_status = 0; }
4843
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4844
4874
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4845
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4875
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4846
4876
$as_echo_n "(cached) " >&6
4848
cat >conftest.$ac_ext <<_ACEOF
4851
cat confdefs.h >>conftest.$ac_ext
4852
cat >>conftest.$ac_ext <<_ACEOF
4878
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853
4879
/* end confdefs.h. */
5525
if { (ac_try="$ac_cpp conftest.$ac_ext"
5527
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5528
*) ac_try_echo=$ac_try;;
5530
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5531
$as_echo "$ac_try_echo") >&5
5532
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5534
grep -v '^ *+' conftest.er1 >conftest.err
5536
cat conftest.err >&5
5537
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538
(exit $ac_status); } >/dev/null && {
5539
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5540
test ! -s conftest.err
5363
if ac_fn_c_try_cpp "$LINENO"; then :
5544
$as_echo "$as_me: failed program was:" >&5
5545
sed 's/^/| /' conftest.$ac_ext >&5
5547
5366
# Broken: fails on valid input.
5551
5369
rm -f conftest.err conftest.$ac_ext
5553
5371
# OK, works on sane cases. Now check whether nonexistent headers
5554
5372
# can be detected and how.
5555
cat >conftest.$ac_ext <<_ACEOF
5558
cat confdefs.h >>conftest.$ac_ext
5559
cat >>conftest.$ac_ext <<_ACEOF
5373
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5560
5374
/* end confdefs.h. */
5561
5375
#include <ac_nonexistent.h>
5563
if { (ac_try="$ac_cpp conftest.$ac_ext"
5565
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5566
*) ac_try_echo=$ac_try;;
5568
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5569
$as_echo "$ac_try_echo") >&5
5570
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5572
grep -v '^ *+' conftest.er1 >conftest.err
5574
cat conftest.err >&5
5575
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576
(exit $ac_status); } >/dev/null && {
5577
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5578
test ! -s conftest.err
5377
if ac_fn_c_try_cpp "$LINENO"; then :
5580
5378
# Broken: success on invalid input.
5583
$as_echo "$as_me: failed program was:" >&5
5584
sed 's/^/| /' conftest.$ac_ext >&5
5586
5381
# Passes both tests.
5587
5382
ac_preproc_ok=:
5591
5385
rm -f conftest.err conftest.$ac_ext
5594
5388
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5595
5389
rm -f conftest.err conftest.$ac_ext
5596
if $ac_preproc_ok; then
5390
if $ac_preproc_ok; then :
5599
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5393
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5600
5394
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5601
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5602
See \`config.log' for more details." >&5
5603
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5604
See \`config.log' for more details." >&2;}
5605
{ (exit 1); exit 1; }; }; }
5395
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5396
See \`config.log' for more details." "$LINENO" 5; }
11961
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11962
$as_echo_n "checking for shl_load... " >&6; }
11963
if test "${ac_cv_func_shl_load+set}" = set; then
11964
$as_echo_n "(cached) " >&6
11966
cat >conftest.$ac_ext <<_ACEOF
11969
cat confdefs.h >>conftest.$ac_ext
11970
cat >>conftest.$ac_ext <<_ACEOF
11971
/* end confdefs.h. */
11972
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11973
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11974
#define shl_load innocuous_shl_load
11976
/* System header to define __stub macros and hopefully few prototypes,
11977
which can conflict with char shl_load (); below.
11978
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11979
<limits.h> exists even on freestanding compilers. */
11982
# include <limits.h>
11984
# include <assert.h>
11989
/* Override any GCC internal prototype to avoid an error.
11990
Use char because int might match the return type of a GCC
11991
builtin and then its argument prototype would still apply. */
11996
/* The GNU C library defines this for functions which it implements
11997
to always fail with ENOSYS. Some functions are actually named
11998
something starting with __ and the normal name is an alias. */
11999
#if defined __stub_shl_load || defined __stub___shl_load
12006
return shl_load ();
12011
rm -f conftest.$ac_objext conftest$ac_exeext
12012
if { (ac_try="$ac_link"
12013
case "(($ac_try" in
12014
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12015
*) ac_try_echo=$ac_try;;
12017
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12018
$as_echo "$ac_try_echo") >&5
12019
(eval "$ac_link") 2>conftest.er1
12021
grep -v '^ *+' conftest.er1 >conftest.err
12023
cat conftest.err >&5
12024
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025
(exit $ac_status); } && {
12026
test -z "$ac_c_werror_flag" ||
12027
test ! -s conftest.err
12028
} && test -s conftest$ac_exeext && {
12029
test "$cross_compiling" = yes ||
12030
$as_test_x conftest$ac_exeext
12032
ac_cv_func_shl_load=yes
12034
$as_echo "$as_me: failed program was:" >&5
12035
sed 's/^/| /' conftest.$ac_ext >&5
12037
ac_cv_func_shl_load=no
12040
rm -rf conftest.dSYM
12041
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12042
conftest$ac_exeext conftest.$ac_ext
12044
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12045
$as_echo "$ac_cv_func_shl_load" >&6; }
12046
if test "x$ac_cv_func_shl_load" = x""yes; then
11356
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11357
if test "x$ac_cv_func_shl_load" = x""yes; then :
12047
11358
lt_cv_dlopen="shl_load"
12049
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12050
11361
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12051
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11362
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12052
11363
$as_echo_n "(cached) " >&6
12054
11365
ac_check_lib_save_LIBS=$LIBS
12055
11366
LIBS="-ldld $LIBS"
12056
cat >conftest.$ac_ext <<_ACEOF
12059
cat confdefs.h >>conftest.$ac_ext
12060
cat >>conftest.$ac_ext <<_ACEOF
11367
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061
11368
/* end confdefs.h. */
12063
11370
/* Override any GCC internal prototype to avoid an error.
12078
rm -f conftest.$ac_objext conftest$ac_exeext
12079
if { (ac_try="$ac_link"
12080
case "(($ac_try" in
12081
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12082
*) ac_try_echo=$ac_try;;
12084
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12085
$as_echo "$ac_try_echo") >&5
12086
(eval "$ac_link") 2>conftest.er1
12088
grep -v '^ *+' conftest.er1 >conftest.err
12090
cat conftest.err >&5
12091
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092
(exit $ac_status); } && {
12093
test -z "$ac_c_werror_flag" ||
12094
test ! -s conftest.err
12095
} && test -s conftest$ac_exeext && {
12096
test "$cross_compiling" = yes ||
12097
$as_test_x conftest$ac_exeext
11385
if ac_fn_c_try_link "$LINENO"; then :
12099
11386
ac_cv_lib_dld_shl_load=yes
12101
$as_echo "$as_me: failed program was:" >&5
12102
sed 's/^/| /' conftest.$ac_ext >&5
12104
ac_cv_lib_dld_shl_load=no
11388
ac_cv_lib_dld_shl_load=no
12107
rm -rf conftest.dSYM
12108
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12109
conftest$ac_exeext conftest.$ac_ext
11390
rm -f core conftest.err conftest.$ac_objext \
11391
conftest$ac_exeext conftest.$ac_ext
12110
11392
LIBS=$ac_check_lib_save_LIBS
12112
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12113
11395
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12114
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11396
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12115
11397
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12117
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12118
$as_echo_n "checking for dlopen... " >&6; }
12119
if test "${ac_cv_func_dlopen+set}" = set; then
12120
$as_echo_n "(cached) " >&6
12122
cat >conftest.$ac_ext <<_ACEOF
12125
cat confdefs.h >>conftest.$ac_ext
12126
cat >>conftest.$ac_ext <<_ACEOF
12127
/* end confdefs.h. */
12128
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12129
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12130
#define dlopen innocuous_dlopen
12132
/* System header to define __stub macros and hopefully few prototypes,
12133
which can conflict with char dlopen (); below.
12134
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12135
<limits.h> exists even on freestanding compilers. */
12138
# include <limits.h>
12140
# include <assert.h>
12145
/* Override any GCC internal prototype to avoid an error.
12146
Use char because int might match the return type of a GCC
12147
builtin and then its argument prototype would still apply. */
12152
/* The GNU C library defines this for functions which it implements
12153
to always fail with ENOSYS. Some functions are actually named
12154
something starting with __ and the normal name is an alias. */
12155
#if defined __stub_dlopen || defined __stub___dlopen
12167
rm -f conftest.$ac_objext conftest$ac_exeext
12168
if { (ac_try="$ac_link"
12169
case "(($ac_try" in
12170
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12171
*) ac_try_echo=$ac_try;;
12173
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12174
$as_echo "$ac_try_echo") >&5
12175
(eval "$ac_link") 2>conftest.er1
12177
grep -v '^ *+' conftest.er1 >conftest.err
12179
cat conftest.err >&5
12180
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181
(exit $ac_status); } && {
12182
test -z "$ac_c_werror_flag" ||
12183
test ! -s conftest.err
12184
} && test -s conftest$ac_exeext && {
12185
test "$cross_compiling" = yes ||
12186
$as_test_x conftest$ac_exeext
12188
ac_cv_func_dlopen=yes
12190
$as_echo "$as_me: failed program was:" >&5
12191
sed 's/^/| /' conftest.$ac_ext >&5
12193
ac_cv_func_dlopen=no
12196
rm -rf conftest.dSYM
12197
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12198
conftest$ac_exeext conftest.$ac_ext
12200
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12201
$as_echo "$ac_cv_func_dlopen" >&6; }
12202
if test "x$ac_cv_func_dlopen" = x""yes; then
11399
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11400
if test "x$ac_cv_func_dlopen" = x""yes; then :
12203
11401
lt_cv_dlopen="dlopen"
12205
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12206
11404
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12207
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11405
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12208
11406
$as_echo_n "(cached) " >&6
12210
11408
ac_check_lib_save_LIBS=$LIBS
12211
11409
LIBS="-ldl $LIBS"
12212
cat >conftest.$ac_ext <<_ACEOF
12215
cat confdefs.h >>conftest.$ac_ext
12216
cat >>conftest.$ac_ext <<_ACEOF
11410
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217
11411
/* end confdefs.h. */
12219
11413
/* Override any GCC internal prototype to avoid an error.
13406
12430
CSC_DEFINES=""
13408
12432
if test ! -x "$MCS"; then
13409
{ { $as_echo "$as_me:$LINENO: error: No $CS compiler found" >&5
13410
$as_echo "$as_me: error: No $CS compiler found" >&2;}
13411
{ (exit 1); exit 1; }; }
13416
{ $as_echo "$as_me:$LINENO: checking for mono.pc" >&5
12433
as_fn_error "No $CS compiler found" "$LINENO" 5
12438
gdu_cv_version_required=0.3.2
12440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12441
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12442
if test -n "$PKG_CONFIG" && \
12443
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
12444
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12446
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12447
test $ac_status = 0; }; then
12448
gdu_cv_have_gdu=yes
12453
if test "$gdu_cv_have_gdu" = "yes"; then
12454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12455
$as_echo "yes" >&6; }
12458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12459
$as_echo "no" >&6; }
12460
as_fn_error "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
12465
# Check whether --with-help-dir was given.
12466
if test "${with_help_dir+set}" = set; then :
12467
withval=$with_help_dir;
12469
with_help_dir='${datadir}/gnome/help'
12472
HELP_DIR="$with_help_dir"
12476
# Check whether --with-omf-dir was given.
12477
if test "${with_omf_dir+set}" = set; then :
12478
withval=$with_omf_dir;
12480
with_omf_dir='${datadir}/omf'
12483
OMF_DIR="$with_omf_dir"
12487
# Check whether --with-help-formats was given.
12488
if test "${with_help_formats+set}" = set; then :
12489
withval=$with_help_formats;
12491
with_help_formats=''
12494
DOC_USER_FORMATS="$with_help_formats"
12497
# Check whether --enable-scrollkeeper was given.
12498
if test "${enable_scrollkeeper+set}" = set; then :
12499
enableval=$enable_scrollkeeper;
12501
enable_scrollkeeper=yes
12504
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
12506
ENABLE_SK_FALSE='#'
12513
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
12516
if test "$gdu_cv_have_gdu" = "yes"; then
12517
HAVE_GNOME_DOC_UTILS_TRUE=
12518
HAVE_GNOME_DOC_UTILS_FALSE='#'
12520
HAVE_GNOME_DOC_UTILS_TRUE='#'
12521
HAVE_GNOME_DOC_UTILS_FALSE=
12528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mono.pc" >&5
13417
12529
$as_echo_n "checking for mono.pc... " >&6; }
13418
12530
if test -z `$PKG_CONFIG --variable=prefix mono`; then
13419
{ { $as_echo "$as_me:$LINENO: error: missing the mono.pc file, usually found in the mono-devel package" >&5
13420
$as_echo "$as_me: error: missing the mono.pc file, usually found in the mono-devel package" >&2;}
13421
{ (exit 1); exit 1; }; }
12531
as_fn_error "missing the mono.pc file, usually found in the mono-devel package" "$LINENO" 5
13423
{ $as_echo "$as_me:$LINENO: result: found" >&5
12533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13424
12534
$as_echo "found" >&6; }
13428
12538
needed_dlls="Mono.Posix Mono.Cairo"
13429
12539
for i in $needed_dlls; do
13430
{ $as_echo "$as_me:$LINENO: checking for $i.dll" >&5
12540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i.dll" >&5
13431
12541
$as_echo_n "checking for $i.dll... " >&6; }
13432
12542
if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/2.0/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/2.0//$i.dll \); then
13433
{ { $as_echo "$as_me:$LINENO: error: missing required mono 2.0 DLL: $i.dll" >&5
13434
$as_echo "$as_me: error: missing required mono 2.0 DLL: $i.dll" >&2;}
13435
{ (exit 1); exit 1; }; }
12543
as_fn_error "missing required mono 2.0 DLL: $i.dll" "$LINENO" 5
13437
{ $as_echo "$as_me:$LINENO: result: found" >&5
12545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13438
12546
$as_echo "found" >&6; }
13511
12619
# Put the nasty error message in config.log where it belongs
13512
12620
echo "$GBRAINY_CORE_PKG_ERRORS" >&5
13514
{ { $as_echo "$as_me:$LINENO: error: Package requirements (mono >= $MONO_REQUIRED) were not met:
13516
$GBRAINY_CORE_PKG_ERRORS
13518
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13519
installed software in a non-standard prefix.
13521
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
13522
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
13523
See the pkg-config man page for more details.
13525
$as_echo "$as_me: error: Package requirements (mono >= $MONO_REQUIRED) were not met:
13527
$GBRAINY_CORE_PKG_ERRORS
13529
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13530
installed software in a non-standard prefix.
13532
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
13533
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
13534
See the pkg-config man page for more details.
13536
{ (exit 1); exit 1; }; }
12622
as_fn_error "Package requirements (mono >= $MONO_REQUIRED) were not met:
12624
$GBRAINY_CORE_PKG_ERRORS
12626
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12627
installed software in a non-standard prefix.
12629
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
12630
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
12631
See the pkg-config man page for more details.
13537
12633
elif test $pkg_failed = untried; then
13538
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12634
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13539
12635
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13540
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13541
is in your PATH or set the PKG_CONFIG environment variable to the full
13542
path to pkg-config.
13544
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
13545
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
13546
See the pkg-config man page for more details.
13548
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13549
See \`config.log' for more details." >&5
13550
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13551
is in your PATH or set the PKG_CONFIG environment variable to the full
13552
path to pkg-config.
13554
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
13555
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
13556
See the pkg-config man page for more details.
13558
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13559
See \`config.log' for more details." >&2;}
13560
{ (exit 1); exit 1; }; }; }
12636
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12637
is in your PATH or set the PKG_CONFIG environment variable to the full
12638
path to pkg-config.
12640
Alternatively, you may set the environment variables GBRAINY_CORE_CFLAGS
12641
and GBRAINY_CORE_LIBS to avoid the need to call pkg-config.
12642
See the pkg-config man page for more details.
12644
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12645
See \`config.log' for more details." "$LINENO" 5; }
13562
12647
GBRAINY_CORE_CFLAGS=$pkg_cv_GBRAINY_CORE_CFLAGS
13563
12648
GBRAINY_CORE_LIBS=$pkg_cv_GBRAINY_CORE_LIBS
13564
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13565
12650
$as_echo "yes" >&6; }
13642
12727
# Put the nasty error message in config.log where it belongs
13643
12728
echo "$GBRAINY_PKG_ERRORS" >&5
13645
{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
13646
gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
13647
glade-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
13649
$GBRAINY_PKG_ERRORS
13651
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13652
installed software in a non-standard prefix.
13654
Alternatively, you may set the environment variables GBRAINY_CFLAGS
13655
and GBRAINY_LIBS to avoid the need to call pkg-config.
13656
See the pkg-config man page for more details.
13658
$as_echo "$as_me: error: Package requirements (gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
13659
gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
13660
glade-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
13662
$GBRAINY_PKG_ERRORS
13664
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13665
installed software in a non-standard prefix.
13667
Alternatively, you may set the environment variables GBRAINY_CFLAGS
13668
and GBRAINY_LIBS to avoid the need to call pkg-config.
13669
See the pkg-config man page for more details.
13671
{ (exit 1); exit 1; }; }
12730
as_fn_error "Package requirements (gtk-sharp-2.0 >= $GTKSHARP_REQUIRED
12731
gnome-sharp-2.0 >= $GTKSHARP_REQUIRED
12732
glade-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
12734
$GBRAINY_PKG_ERRORS
12736
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12737
installed software in a non-standard prefix.
12739
Alternatively, you may set the environment variables GBRAINY_CFLAGS
12740
and GBRAINY_LIBS to avoid the need to call pkg-config.
12741
See the pkg-config man page for more details.
13672
12743
elif test $pkg_failed = untried; then
13673
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12744
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13674
12745
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13675
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13676
is in your PATH or set the PKG_CONFIG environment variable to the full
13677
path to pkg-config.
13679
Alternatively, you may set the environment variables GBRAINY_CFLAGS
13680
and GBRAINY_LIBS to avoid the need to call pkg-config.
13681
See the pkg-config man page for more details.
13683
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13684
See \`config.log' for more details." >&5
13685
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13686
is in your PATH or set the PKG_CONFIG environment variable to the full
13687
path to pkg-config.
13689
Alternatively, you may set the environment variables GBRAINY_CFLAGS
13690
and GBRAINY_LIBS to avoid the need to call pkg-config.
13691
See the pkg-config man page for more details.
13693
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13694
See \`config.log' for more details." >&2;}
13695
{ (exit 1); exit 1; }; }; }
12746
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12747
is in your PATH or set the PKG_CONFIG environment variable to the full
12748
path to pkg-config.
12750
Alternatively, you may set the environment variables GBRAINY_CFLAGS
12751
and GBRAINY_LIBS to avoid the need to call pkg-config.
12752
See the pkg-config man page for more details.
12754
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12755
See \`config.log' for more details." "$LINENO" 5; }
13697
12757
GBRAINY_CFLAGS=$pkg_cv_GBRAINY_CFLAGS
13698
12758
GBRAINY_LIBS=$pkg_cv_GBRAINY_LIBS
13699
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13700
12760
$as_echo "yes" >&6; }
13705
12765
# Check whether --enable-addins was given.
13706
if test "${enable_addins+set}" = set; then
12766
if test "${enable_addins+set}" = set; then :
13707
12767
enableval=$enable_addins;
13709
12769
enable_addins="yes"
13881
12937
# Put the nasty error message in config.log where it belongs
13882
12938
echo "$GBRAINY_CHECK_PKG_ERRORS" >&5
13884
{ { $as_echo "$as_me:$LINENO: error: Package requirements (librsvg-2.0) were not met:
13886
$GBRAINY_CHECK_PKG_ERRORS
13888
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13889
installed software in a non-standard prefix.
13891
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
13892
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
13893
See the pkg-config man page for more details.
13895
$as_echo "$as_me: error: Package requirements (librsvg-2.0) were not met:
13897
$GBRAINY_CHECK_PKG_ERRORS
13899
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13900
installed software in a non-standard prefix.
13902
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
13903
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
13904
See the pkg-config man page for more details.
13906
{ (exit 1); exit 1; }; }
12940
as_fn_error "Package requirements (librsvg-2.0) were not met:
12942
$GBRAINY_CHECK_PKG_ERRORS
12944
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12945
installed software in a non-standard prefix.
12947
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
12948
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
12949
See the pkg-config man page for more details.
13907
12951
elif test $pkg_failed = untried; then
13908
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12952
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13909
12953
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13910
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13911
is in your PATH or set the PKG_CONFIG environment variable to the full
13912
path to pkg-config.
13914
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
13915
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
13916
See the pkg-config man page for more details.
13918
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13919
See \`config.log' for more details." >&5
13920
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13921
is in your PATH or set the PKG_CONFIG environment variable to the full
13922
path to pkg-config.
13924
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
13925
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
13926
See the pkg-config man page for more details.
13928
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13929
See \`config.log' for more details." >&2;}
13930
{ (exit 1); exit 1; }; }; }
12954
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12955
is in your PATH or set the PKG_CONFIG environment variable to the full
12956
path to pkg-config.
12958
Alternatively, you may set the environment variables GBRAINY_CHECK_CFLAGS
12959
and GBRAINY_CHECK_LIBS to avoid the need to call pkg-config.
12960
See the pkg-config man page for more details.
12962
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12963
See \`config.log' for more details." "$LINENO" 5; }
13932
12965
GBRAINY_CHECK_CFLAGS=$pkg_cv_GBRAINY_CHECK_CFLAGS
13933
12966
GBRAINY_CHECK_LIBS=$pkg_cv_GBRAINY_CHECK_LIBS
13934
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13935
12968
$as_echo "yes" >&6; }
13951
for ac_header in locale.h
13953
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13954
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13955
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13956
$as_echo_n "checking for $ac_header... " >&6; }
13957
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13958
$as_echo_n "(cached) " >&6
13960
ac_res=`eval 'as_val=${'$as_ac_Header'}
13961
$as_echo "$as_val"'`
13962
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13963
$as_echo "$ac_res" >&6; }
13965
# Is the header compilable?
13966
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13967
$as_echo_n "checking $ac_header usability... " >&6; }
13968
cat >conftest.$ac_ext <<_ACEOF
13971
cat confdefs.h >>conftest.$ac_ext
13972
cat >>conftest.$ac_ext <<_ACEOF
13973
/* end confdefs.h. */
13974
$ac_includes_default
13975
#include <$ac_header>
13977
rm -f conftest.$ac_objext
13978
if { (ac_try="$ac_compile"
13979
case "(($ac_try" in
13980
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13981
*) ac_try_echo=$ac_try;;
13983
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13984
$as_echo "$ac_try_echo") >&5
13985
(eval "$ac_compile") 2>conftest.er1
13987
grep -v '^ *+' conftest.er1 >conftest.err
13989
cat conftest.err >&5
13990
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991
(exit $ac_status); } && {
13992
test -z "$ac_c_werror_flag" ||
13993
test ! -s conftest.err
13994
} && test -s conftest.$ac_objext; then
13995
ac_header_compiler=yes
13997
$as_echo "$as_me: failed program was:" >&5
13998
sed 's/^/| /' conftest.$ac_ext >&5
14000
ac_header_compiler=no
14003
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14004
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14005
$as_echo "$ac_header_compiler" >&6; }
14007
# Is the header present?
14008
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14009
$as_echo_n "checking $ac_header presence... " >&6; }
14010
cat >conftest.$ac_ext <<_ACEOF
14013
cat confdefs.h >>conftest.$ac_ext
14014
cat >>conftest.$ac_ext <<_ACEOF
14015
/* end confdefs.h. */
14016
#include <$ac_header>
14018
if { (ac_try="$ac_cpp conftest.$ac_ext"
14019
case "(($ac_try" in
14020
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14021
*) ac_try_echo=$ac_try;;
14023
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14024
$as_echo "$ac_try_echo") >&5
14025
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14027
grep -v '^ *+' conftest.er1 >conftest.err
14029
cat conftest.err >&5
14030
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031
(exit $ac_status); } >/dev/null && {
14032
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14033
test ! -s conftest.err
14035
ac_header_preproc=yes
14037
$as_echo "$as_me: failed program was:" >&5
14038
sed 's/^/| /' conftest.$ac_ext >&5
14040
ac_header_preproc=no
14043
rm -f conftest.err conftest.$ac_ext
14044
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14045
$as_echo "$ac_header_preproc" >&6; }
14047
# So? What about this header?
14048
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14050
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14051
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14052
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14053
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14054
ac_header_preproc=yes
14057
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14058
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14059
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14060
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14061
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14062
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14063
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14064
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14065
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14066
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14067
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14068
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14072
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14073
$as_echo_n "checking for $ac_header... " >&6; }
14074
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14075
$as_echo_n "(cached) " >&6
14077
eval "$as_ac_Header=\$ac_header_preproc"
14079
ac_res=`eval 'as_val=${'$as_ac_Header'}
14080
$as_echo "$as_val"'`
14081
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14082
$as_echo "$ac_res" >&6; }
14085
as_val=`eval 'as_val=${'$as_ac_Header'}
14086
$as_echo "$as_val"'`
14087
if test "x$as_val" = x""yes; then
12983
for ac_header in locale.h
12985
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12986
if test "x$ac_cv_header_locale_h" = x""yes; then :
14088
12987
cat >>confdefs.h <<_ACEOF
14089
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12988
#define HAVE_LOCALE_H 1
14169
if test "${ac_cv_header_libintl_h+set}" = set; then
14170
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
14171
$as_echo_n "checking for libintl.h... " >&6; }
14172
if test "${ac_cv_header_libintl_h+set}" = set; then
14173
$as_echo_n "(cached) " >&6
14175
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14176
$as_echo "$ac_cv_header_libintl_h" >&6; }
14178
# Is the header compilable?
14179
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
14180
$as_echo_n "checking libintl.h usability... " >&6; }
14181
cat >conftest.$ac_ext <<_ACEOF
14184
cat confdefs.h >>conftest.$ac_ext
14185
cat >>conftest.$ac_ext <<_ACEOF
14186
/* end confdefs.h. */
14187
$ac_includes_default
14188
#include <libintl.h>
14190
rm -f conftest.$ac_objext
14191
if { (ac_try="$ac_compile"
14192
case "(($ac_try" in
14193
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14194
*) ac_try_echo=$ac_try;;
14196
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14197
$as_echo "$ac_try_echo") >&5
14198
(eval "$ac_compile") 2>conftest.er1
14200
grep -v '^ *+' conftest.er1 >conftest.err
14202
cat conftest.err >&5
14203
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204
(exit $ac_status); } && {
14205
test -z "$ac_c_werror_flag" ||
14206
test ! -s conftest.err
14207
} && test -s conftest.$ac_objext; then
14208
ac_header_compiler=yes
14210
$as_echo "$as_me: failed program was:" >&5
14211
sed 's/^/| /' conftest.$ac_ext >&5
14213
ac_header_compiler=no
14216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14217
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14218
$as_echo "$ac_header_compiler" >&6; }
14220
# Is the header present?
14221
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
14222
$as_echo_n "checking libintl.h presence... " >&6; }
14223
cat >conftest.$ac_ext <<_ACEOF
14226
cat confdefs.h >>conftest.$ac_ext
14227
cat >>conftest.$ac_ext <<_ACEOF
14228
/* end confdefs.h. */
14229
#include <libintl.h>
14231
if { (ac_try="$ac_cpp conftest.$ac_ext"
14232
case "(($ac_try" in
14233
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14234
*) ac_try_echo=$ac_try;;
14236
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14237
$as_echo "$ac_try_echo") >&5
14238
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14240
grep -v '^ *+' conftest.er1 >conftest.err
14242
cat conftest.err >&5
14243
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244
(exit $ac_status); } >/dev/null && {
14245
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14246
test ! -s conftest.err
14248
ac_header_preproc=yes
14250
$as_echo "$as_me: failed program was:" >&5
14251
sed 's/^/| /' conftest.$ac_ext >&5
14253
ac_header_preproc=no
14256
rm -f conftest.err conftest.$ac_ext
14257
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14258
$as_echo "$ac_header_preproc" >&6; }
14260
# So? What about this header?
14261
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14263
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
14264
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14265
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
14266
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
14267
ac_header_preproc=yes
14270
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
14271
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
14272
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
14273
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
14274
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
14275
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
14276
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
14277
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
14278
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
14279
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
14280
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
14281
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
14285
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
14286
$as_echo_n "checking for libintl.h... " >&6; }
14287
if test "${ac_cv_header_libintl_h+set}" = set; then
14288
$as_echo_n "(cached) " >&6
14290
ac_cv_header_libintl_h=$ac_header_preproc
14292
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14293
$as_echo "$ac_cv_header_libintl_h" >&6; }
14296
if test "x$ac_cv_header_libintl_h" = x""yes; then
13037
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13038
if test "x$ac_cv_header_libintl_h" = x""yes; then :
14297
13039
gt_cv_func_dgettext_libintl="no"
14298
13040
libintl_extra_libs=""
14301
13043
# First check in libc
14303
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
13045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14304
13046
$as_echo_n "checking for ngettext in libc... " >&6; }
14305
if test "${gt_cv_func_ngettext_libc+set}" = set; then
13047
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
14306
13048
$as_echo_n "(cached) " >&6
14308
cat >conftest.$ac_ext <<_ACEOF
14311
cat confdefs.h >>conftest.$ac_ext
14312
cat >>conftest.$ac_ext <<_ACEOF
13050
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313
13051
/* end confdefs.h. */
14315
13053
#include <libintl.h>
14385
rm -f conftest.$ac_objext conftest$ac_exeext
14386
if { (ac_try="$ac_link"
14387
case "(($ac_try" in
14388
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389
*) ac_try_echo=$ac_try;;
14391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14392
$as_echo "$ac_try_echo") >&5
14393
(eval "$ac_link") 2>conftest.er1
14395
grep -v '^ *+' conftest.er1 >conftest.err
14397
cat conftest.err >&5
14398
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399
(exit $ac_status); } && {
14400
test -z "$ac_c_werror_flag" ||
14401
test ! -s conftest.err
14402
} && test -s conftest$ac_exeext && {
14403
test "$cross_compiling" = yes ||
14404
$as_test_x conftest$ac_exeext
13094
if ac_fn_c_try_link "$LINENO"; then :
14406
13095
gt_cv_func_dgettext_libc=yes
14408
$as_echo "$as_me: failed program was:" >&5
14409
sed 's/^/| /' conftest.$ac_ext >&5
14411
gt_cv_func_dgettext_libc=no
14414
rm -rf conftest.dSYM
14415
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14416
conftest$ac_exeext conftest.$ac_ext
14419
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
13097
gt_cv_func_dgettext_libc=no
13099
rm -f core conftest.err conftest.$ac_objext \
13100
conftest$ac_exeext conftest.$ac_ext
13103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14420
13104
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14423
13107
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14425
for ac_func in bind_textdomain_codeset
14427
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14428
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14429
$as_echo_n "checking for $ac_func... " >&6; }
14430
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14431
$as_echo_n "(cached) " >&6
14433
cat >conftest.$ac_ext <<_ACEOF
14436
cat confdefs.h >>conftest.$ac_ext
14437
cat >>conftest.$ac_ext <<_ACEOF
14438
/* end confdefs.h. */
14439
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14440
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14441
#define $ac_func innocuous_$ac_func
14443
/* System header to define __stub macros and hopefully few prototypes,
14444
which can conflict with char $ac_func (); below.
14445
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14446
<limits.h> exists even on freestanding compilers. */
14449
# include <limits.h>
14451
# include <assert.h>
14456
/* Override any GCC internal prototype to avoid an error.
14457
Use char because int might match the return type of a GCC
14458
builtin and then its argument prototype would still apply. */
14463
/* The GNU C library defines this for functions which it implements
14464
to always fail with ENOSYS. Some functions are actually named
14465
something starting with __ and the normal name is an alias. */
14466
#if defined __stub_$ac_func || defined __stub___$ac_func
14473
return $ac_func ();
14478
rm -f conftest.$ac_objext conftest$ac_exeext
14479
if { (ac_try="$ac_link"
14480
case "(($ac_try" in
14481
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14482
*) ac_try_echo=$ac_try;;
14484
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14485
$as_echo "$ac_try_echo") >&5
14486
(eval "$ac_link") 2>conftest.er1
14488
grep -v '^ *+' conftest.er1 >conftest.err
14490
cat conftest.err >&5
14491
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492
(exit $ac_status); } && {
14493
test -z "$ac_c_werror_flag" ||
14494
test ! -s conftest.err
14495
} && test -s conftest$ac_exeext && {
14496
test "$cross_compiling" = yes ||
14497
$as_test_x conftest$ac_exeext
14499
eval "$as_ac_var=yes"
14501
$as_echo "$as_me: failed program was:" >&5
14502
sed 's/^/| /' conftest.$ac_ext >&5
14504
eval "$as_ac_var=no"
14507
rm -rf conftest.dSYM
14508
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14509
conftest$ac_exeext conftest.$ac_ext
14511
ac_res=`eval 'as_val=${'$as_ac_var'}
14512
$as_echo "$as_val"'`
14513
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14514
$as_echo "$ac_res" >&6; }
14515
as_val=`eval 'as_val=${'$as_ac_var'}
14516
$as_echo "$as_val"'`
14517
if test "x$as_val" = x""yes; then
13108
for ac_func in bind_textdomain_codeset
13110
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13111
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14518
13112
cat >>confdefs.h <<_ACEOF
14519
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13113
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14774
rm -f conftest.$ac_objext conftest$ac_exeext
14775
if { (ac_try="$ac_link"
14776
case "(($ac_try" in
14777
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778
*) ac_try_echo=$ac_try;;
14780
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14781
$as_echo "$ac_try_echo") >&5
14782
(eval "$ac_link") 2>conftest.er1
14784
grep -v '^ *+' conftest.er1 >conftest.err
14786
cat conftest.err >&5
14787
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788
(exit $ac_status); } && {
14789
test -z "$ac_c_werror_flag" ||
14790
test ! -s conftest.err
14791
} && test -s conftest$ac_exeext && {
14792
test "$cross_compiling" = yes ||
14793
$as_test_x conftest$ac_exeext
13277
if ac_fn_c_try_link "$LINENO"; then :
14795
13278
ac_cv_lib_intl_ngettext=yes
14797
$as_echo "$as_me: failed program was:" >&5
14798
sed 's/^/| /' conftest.$ac_ext >&5
14800
ac_cv_lib_intl_ngettext=no
13280
ac_cv_lib_intl_ngettext=no
14803
rm -rf conftest.dSYM
14804
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14805
conftest$ac_exeext conftest.$ac_ext
13282
rm -f core conftest.err conftest.$ac_objext \
13283
conftest$ac_exeext conftest.$ac_ext
14806
13284
LIBS=$ac_check_lib_save_LIBS
14808
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
13286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14809
13287
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14810
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
14811
{ $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
13288
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14812
13290
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14813
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
13291
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
14814
13292
$as_echo_n "(cached) " >&6
14816
13294
ac_check_lib_save_LIBS=$LIBS
14817
13295
LIBS="-lintl -liconv $LIBS"
14818
cat >conftest.$ac_ext <<_ACEOF
14821
cat confdefs.h >>conftest.$ac_ext
14822
cat >>conftest.$ac_ext <<_ACEOF
13296
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823
13297
/* end confdefs.h. */
14825
13299
/* Override any GCC internal prototype to avoid an error.
14895
13344
glib_save_LIBS="$LIBS"
14896
13345
LIBS="$LIBS -lintl $libintl_extra_libs"
14897
13346
unset ac_cv_func_bind_textdomain_codeset
14899
for ac_func in bind_textdomain_codeset
14901
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14902
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14903
$as_echo_n "checking for $ac_func... " >&6; }
14904
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14905
$as_echo_n "(cached) " >&6
14907
cat >conftest.$ac_ext <<_ACEOF
14910
cat confdefs.h >>conftest.$ac_ext
14911
cat >>conftest.$ac_ext <<_ACEOF
14912
/* end confdefs.h. */
14913
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14914
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14915
#define $ac_func innocuous_$ac_func
14917
/* System header to define __stub macros and hopefully few prototypes,
14918
which can conflict with char $ac_func (); below.
14919
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14920
<limits.h> exists even on freestanding compilers. */
14923
# include <limits.h>
14925
# include <assert.h>
14930
/* Override any GCC internal prototype to avoid an error.
14931
Use char because int might match the return type of a GCC
14932
builtin and then its argument prototype would still apply. */
14937
/* The GNU C library defines this for functions which it implements
14938
to always fail with ENOSYS. Some functions are actually named
14939
something starting with __ and the normal name is an alias. */
14940
#if defined __stub_$ac_func || defined __stub___$ac_func
14947
return $ac_func ();
14952
rm -f conftest.$ac_objext conftest$ac_exeext
14953
if { (ac_try="$ac_link"
14954
case "(($ac_try" in
14955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14956
*) ac_try_echo=$ac_try;;
14958
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14959
$as_echo "$ac_try_echo") >&5
14960
(eval "$ac_link") 2>conftest.er1
14962
grep -v '^ *+' conftest.er1 >conftest.err
14964
cat conftest.err >&5
14965
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966
(exit $ac_status); } && {
14967
test -z "$ac_c_werror_flag" ||
14968
test ! -s conftest.err
14969
} && test -s conftest$ac_exeext && {
14970
test "$cross_compiling" = yes ||
14971
$as_test_x conftest$ac_exeext
14973
eval "$as_ac_var=yes"
14975
$as_echo "$as_me: failed program was:" >&5
14976
sed 's/^/| /' conftest.$ac_ext >&5
14978
eval "$as_ac_var=no"
14981
rm -rf conftest.dSYM
14982
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14983
conftest$ac_exeext conftest.$ac_ext
14985
ac_res=`eval 'as_val=${'$as_ac_var'}
14986
$as_echo "$as_val"'`
14987
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14988
$as_echo "$ac_res" >&6; }
14989
as_val=`eval 'as_val=${'$as_ac_var'}
14990
$as_echo "$as_val"'`
14991
if test "x$as_val" = x""yes; then
13347
for ac_func in bind_textdomain_codeset
13349
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13350
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14992
13351
cat >>confdefs.h <<_ACEOF
14993
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13352
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15054
13411
MSGFMT="$ac_cv_path_MSGFMT"
15055
13412
if test "$MSGFMT" != "no"; then
15056
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15057
13414
$as_echo "$MSGFMT" >&6; }
15059
{ $as_echo "$as_me:$LINENO: result: no" >&5
13416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15060
13417
$as_echo "no" >&6; }
15062
13419
if test "$MSGFMT" != "no"; then
15063
13420
glib_save_LIBS="$LIBS"
15064
13421
LIBS="$LIBS $INTLLIBS"
15066
for ac_func in dcgettext
15068
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15069
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15070
$as_echo_n "checking for $ac_func... " >&6; }
15071
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15072
$as_echo_n "(cached) " >&6
15074
cat >conftest.$ac_ext <<_ACEOF
15077
cat confdefs.h >>conftest.$ac_ext
15078
cat >>conftest.$ac_ext <<_ACEOF
15079
/* end confdefs.h. */
15080
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15081
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15082
#define $ac_func innocuous_$ac_func
15084
/* System header to define __stub macros and hopefully few prototypes,
15085
which can conflict with char $ac_func (); below.
15086
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15087
<limits.h> exists even on freestanding compilers. */
15090
# include <limits.h>
15092
# include <assert.h>
15097
/* Override any GCC internal prototype to avoid an error.
15098
Use char because int might match the return type of a GCC
15099
builtin and then its argument prototype would still apply. */
15104
/* The GNU C library defines this for functions which it implements
15105
to always fail with ENOSYS. Some functions are actually named
15106
something starting with __ and the normal name is an alias. */
15107
#if defined __stub_$ac_func || defined __stub___$ac_func
15114
return $ac_func ();
15119
rm -f conftest.$ac_objext conftest$ac_exeext
15120
if { (ac_try="$ac_link"
15121
case "(($ac_try" in
15122
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15123
*) ac_try_echo=$ac_try;;
15125
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15126
$as_echo "$ac_try_echo") >&5
15127
(eval "$ac_link") 2>conftest.er1
15129
grep -v '^ *+' conftest.er1 >conftest.err
15131
cat conftest.err >&5
15132
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133
(exit $ac_status); } && {
15134
test -z "$ac_c_werror_flag" ||
15135
test ! -s conftest.err
15136
} && test -s conftest$ac_exeext && {
15137
test "$cross_compiling" = yes ||
15138
$as_test_x conftest$ac_exeext
15140
eval "$as_ac_var=yes"
15142
$as_echo "$as_me: failed program was:" >&5
15143
sed 's/^/| /' conftest.$ac_ext >&5
15145
eval "$as_ac_var=no"
15148
rm -rf conftest.dSYM
15149
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15150
conftest$ac_exeext conftest.$ac_ext
15152
ac_res=`eval 'as_val=${'$as_ac_var'}
15153
$as_echo "$as_val"'`
15154
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15155
$as_echo "$ac_res" >&6; }
15156
as_val=`eval 'as_val=${'$as_ac_var'}
15157
$as_echo "$as_val"'`
15158
if test "x$as_val" = x""yes; then
13422
for ac_func in dcgettext
13424
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13425
if test "x$ac_cv_func_dcgettext" = x""yes; then :
15159
13426
cat >>confdefs.h <<_ACEOF
15160
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13427
#define HAVE_DCGETTEXT 1
15167
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
13434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15168
13435
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15169
13436
cat >conftest.foo <<_ACEOF
15288
rm -f conftest.$ac_objext conftest$ac_exeext
15289
if { (ac_try="$ac_link"
15290
case "(($ac_try" in
15291
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15292
*) ac_try_echo=$ac_try;;
15294
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15295
$as_echo "$ac_try_echo") >&5
15296
(eval "$ac_link") 2>conftest.er1
15298
grep -v '^ *+' conftest.er1 >conftest.err
15300
cat conftest.err >&5
15301
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302
(exit $ac_status); } && {
15303
test -z "$ac_c_werror_flag" ||
15304
test ! -s conftest.err
15305
} && test -s conftest$ac_exeext && {
15306
test "$cross_compiling" = yes ||
15307
$as_test_x conftest$ac_exeext
13551
if ac_fn_c_try_link "$LINENO"; then :
15309
13552
CATOBJEXT=.gmo
15310
13553
DATADIRNAME=share
15312
$as_echo "$as_me: failed program was:" >&5
15313
sed 's/^/| /' conftest.$ac_ext >&5
15316
13556
*-*-solaris*)
15317
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
15318
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
15319
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
15320
$as_echo_n "(cached) " >&6
15322
cat >conftest.$ac_ext <<_ACEOF
15325
cat confdefs.h >>conftest.$ac_ext
15326
cat >>conftest.$ac_ext <<_ACEOF
15327
/* end confdefs.h. */
15328
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
15329
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15330
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
15332
/* System header to define __stub macros and hopefully few prototypes,
15333
which can conflict with char bind_textdomain_codeset (); below.
15334
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15335
<limits.h> exists even on freestanding compilers. */
15338
# include <limits.h>
15340
# include <assert.h>
15343
#undef bind_textdomain_codeset
15345
/* Override any GCC internal prototype to avoid an error.
15346
Use char because int might match the return type of a GCC
15347
builtin and then its argument prototype would still apply. */
15351
char bind_textdomain_codeset ();
15352
/* The GNU C library defines this for functions which it implements
15353
to always fail with ENOSYS. Some functions are actually named
15354
something starting with __ and the normal name is an alias. */
15355
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
15362
return bind_textdomain_codeset ();
15367
rm -f conftest.$ac_objext conftest$ac_exeext
15368
if { (ac_try="$ac_link"
15369
case "(($ac_try" in
15370
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15371
*) ac_try_echo=$ac_try;;
15373
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15374
$as_echo "$ac_try_echo") >&5
15375
(eval "$ac_link") 2>conftest.er1
15377
grep -v '^ *+' conftest.er1 >conftest.err
15379
cat conftest.err >&5
15380
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381
(exit $ac_status); } && {
15382
test -z "$ac_c_werror_flag" ||
15383
test ! -s conftest.err
15384
} && test -s conftest$ac_exeext && {
15385
test "$cross_compiling" = yes ||
15386
$as_test_x conftest$ac_exeext
15388
ac_cv_func_bind_textdomain_codeset=yes
15390
$as_echo "$as_me: failed program was:" >&5
15391
sed 's/^/| /' conftest.$ac_ext >&5
15393
ac_cv_func_bind_textdomain_codeset=no
15396
rm -rf conftest.dSYM
15397
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15398
conftest$ac_exeext conftest.$ac_ext
15400
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
15401
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
15402
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
13557
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13558
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15403
13559
CATOBJEXT=.gmo
15404
13560
DATADIRNAME=share
15682
13836
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15683
13837
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15684
13838
# will be set to the directory where LIBOBJS objects are built.
15685
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15686
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13839
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13840
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15688
13842
LIBOBJS=$ac_libobjs
15690
13844
LTLIBOBJS=$ac_ltlibobjs
13847
if test -n "$EXEEXT"; then
13849
am__EXEEXT_FALSE='#'
13851
am__EXEEXT_TRUE='#'
15693
13855
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15694
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15695
Usually this means the macro was only invoked conditionally." >&5
15696
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15697
Usually this means the macro was only invoked conditionally." >&2;}
15698
{ (exit 1); exit 1; }; }
13856
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
13857
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15700
13859
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15701
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15702
Usually this means the macro was only invoked conditionally." >&5
15703
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
15704
Usually this means the macro was only invoked conditionally." >&2;}
15705
{ (exit 1); exit 1; }; }
13860
as_fn_error "conditional \"AMDEP\" was never defined.
13861
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15707
13863
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15708
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15709
Usually this means the macro was only invoked conditionally." >&5
15710
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15711
Usually this means the macro was only invoked conditionally." >&2;}
15712
{ (exit 1); exit 1; }; }
13864
as_fn_error "conditional \"am__fastdepCC\" was never defined.
13865
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15715
13868
ac_config_commands="$ac_config_commands po/stamp-it"
15718
13871
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15719
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15720
Usually this means the macro was only invoked conditionally." >&5
15721
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15722
Usually this means the macro was only invoked conditionally." >&2;}
15723
{ (exit 1); exit 1; }; }
13872
as_fn_error "conditional \"am__fastdepCC\" was never defined.
13873
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13875
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
13876
as_fn_error "conditional \"ENABLE_SK\" was never defined.
13877
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13879
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
13880
as_fn_error "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
13881
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15725
13883
if test -z "${ENABLE_ADDINS_TRUE}" && test -z "${ENABLE_ADDINS_FALSE}"; then
15726
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_ADDINS\" was never defined.
15727
Usually this means the macro was only invoked conditionally." >&5
15728
$as_echo "$as_me: error: conditional \"ENABLE_ADDINS\" was never defined.
15729
Usually this means the macro was only invoked conditionally." >&2;}
15730
{ (exit 1); exit 1; }; }
13884
as_fn_error "conditional \"ENABLE_ADDINS\" was never defined.
13885
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15733
13888
: ${CONFIG_STATUS=./config.status}
15734
13889
ac_write_fail=0
15735
13890
ac_clean_files_save=$ac_clean_files
15736
13891
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15737
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13892
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15738
13893
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15739
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13895
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15741
13897
# Generated by $as_me.
15742
13898
# Run this file to recreate the current configuration.
17190
# Extract the definition of DEPDIR, am__include, and am__quote
17191
# from the Makefile without running `make'.
17192
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17193
test -z "$DEPDIR" && continue
17194
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17195
test -z "am__include" && continue
17196
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17197
# When using ansi2knr, U may be empty or an underscore; expand it
17198
U=`sed -n 's/^U = //p' < "$mf"`
17199
# Find all dependency output files, they are included files with
17200
# $(DEPDIR) in their names. We invoke sed twice because it is the
17201
# simplest approach to changing $(DEPDIR) to its actual value in the
17203
for file in `sed -n "
17204
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17205
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17206
# Make sure the directory exists.
17207
test -f "$dirpart/$file" && continue
17208
fdir=`$as_dirname -- "$file" ||
15386
# Extract the definition of DEPDIR, am__include, and am__quote
15387
# from the Makefile without running `make'.
15388
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15389
test -z "$DEPDIR" && continue
15390
am__include=`sed -n 's/^am__include = //p' < "$mf"`
15391
test -z "am__include" && continue
15392
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15393
# When using ansi2knr, U may be empty or an underscore; expand it
15394
U=`sed -n 's/^U = //p' < "$mf"`
15395
# Find all dependency output files, they are included files with
15396
# $(DEPDIR) in their names. We invoke sed twice because it is the
15397
# simplest approach to changing $(DEPDIR) to its actual value in the
15399
for file in `sed -n "
15400
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15401
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15402
# Make sure the directory exists.
15403
test -f "$dirpart/$file" && continue
15404
fdir=`$as_dirname -- "$file" ||
17209
15405
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17210
15406
X"$file" : 'X\(//\)[^/]' \| \
17211
15407
X"$file" : 'X\(//\)$' \| \