136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
136
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
177
176
as_have_required=yes
179
178
as_have_required=no
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
188
test -z "$as_dir" && as_dir=.
249
192
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
220
export CONFIG_SHELL
368
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org and
232
$0: <mystilleef@gmail.com> about your system, including any
233
$0: error possibly output before this message. Then install
234
$0: a modern shell, or manually run the script under such a
235
$0: shell if you do have one."
241
SHELL=${CONFIG_SHELL-/bin/sh}
243
# Unset more variables known to interfere with behavior of common tools.
244
CLICOLOR_FORCE= GREP_OPTIONS=
245
unset CLICOLOR_FORCE GREP_OPTIONS
247
## --------------------- ##
248
## M4sh Shell Functions. ##
249
## --------------------- ##
252
# Portably unset VAR.
255
{ eval $1=; unset $1;}
259
# as_fn_set_status STATUS
260
# -----------------------
261
# Set $? to STATUS, without forking.
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279
# Create "$as_dir" as a directory, including parents if necessary.
284
-*) as_dir=./$as_dir;;
286
test -d "$as_dir" || eval $as_mkdir_p || {
290
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293
as_dirs="'$as_qdir' $as_dirs"
294
as_dir=`$as_dirname -- "$as_dir" ||
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296
X"$as_dir" : 'X\(//\)[^/]' \| \
297
X"$as_dir" : 'X\(//\)$' \| \
298
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299
$as_echo X"$as_dir" |
300
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317
test -d "$as_dir" && break
319
test -z "$as_dirs" || eval "mkdir $as_dirs"
320
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324
# as_fn_append VAR VALUE
325
# ----------------------
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
327
# advantage of any shell optimizations that allow amortized linear growth over
328
# repeated appends, instead of the typical quadratic growth present in naive
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331
eval 'as_fn_append ()
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
346
# must be portable across $(()) and expr.
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355
as_val=`expr "$@" || test $? -eq 1`
360
# as_fn_error ERROR [LINENO LOG_FD]
361
# ---------------------------------
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364
# script with status $?, using 1 if that was 0.
367
as_status=$?; test $as_status -eq 0 && as_status=1
369
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372
$as_echo "$as_me: error: $1" >&2
373
as_fn_exit $as_status
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
377
test "X`expr 00001 : '.*\(...\)'`" = X001; then
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395
as_me=`$as_basename -- "$0" ||
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397
X"$0" : 'X\(//\)$' \| \
398
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400
sed '/^.*\/\([^/][^/]*\)\/*$/{
414
# Avoid depending upon Character Ranges.
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418
as_cr_digits='0123456789'
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
422
as_lineno_1=$LINENO as_lineno_1a=$LINENO
423
as_lineno_2=$LINENO as_lineno_2a=$LINENO
424
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1525
1471
test -n "$ac_init_help" && exit $ac_status
1526
1472
if $ac_init_version; then
1528
scribes configure 0.4-dev-build504
1529
generated by GNU Autoconf 2.63
1474
scribes configure 0.4-dev-build505
1475
generated by GNU Autoconf 2.64
1531
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1532
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1477
Copyright (C) 2009 Free Software Foundation, Inc.
1533
1478
This configure script is free software; the Free Software Foundation
1534
1479
gives unlimited permission to copy, distribute and modify it.
1484
## ------------------------ ##
1485
## Autoconf initialization. ##
1486
## ------------------------ ##
1488
# ac_fn_c_try_compile LINENO
1489
# --------------------------
1490
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1491
ac_fn_c_try_compile ()
1493
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494
rm -f conftest.$ac_objext
1495
if { { ac_try="$ac_compile"
1497
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498
*) ac_try_echo=$ac_try;;
1500
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501
$as_echo "$ac_try_echo"; } >&5
1502
(eval "$ac_compile") 2>conftest.err
1504
if test -s conftest.err; then
1505
grep -v '^ *+' conftest.err >conftest.er1
1506
cat conftest.er1 >&5
1507
mv -f conftest.er1 conftest.err
1509
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510
test $ac_status = 0; } && {
1511
test -z "$ac_c_werror_flag" ||
1512
test ! -s conftest.err
1513
} && test -s conftest.$ac_objext; then :
1516
$as_echo "$as_me: failed program was:" >&5
1517
sed 's/^/| /' conftest.$ac_ext >&5
1521
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1524
} # ac_fn_c_try_compile
1526
# ac_fn_c_try_link LINENO
1527
# -----------------------
1528
# Try to link conftest.$ac_ext, and return whether this succeeded.
1531
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532
rm -f conftest.$ac_objext conftest$ac_exeext
1533
if { { ac_try="$ac_link"
1535
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536
*) ac_try_echo=$ac_try;;
1538
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539
$as_echo "$ac_try_echo"; } >&5
1540
(eval "$ac_link") 2>conftest.err
1542
if test -s conftest.err; then
1543
grep -v '^ *+' conftest.err >conftest.er1
1544
cat conftest.er1 >&5
1545
mv -f conftest.er1 conftest.err
1547
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548
test $ac_status = 0; } && {
1549
test -z "$ac_c_werror_flag" ||
1550
test ! -s conftest.err
1551
} && test -s conftest$ac_exeext && {
1552
test "$cross_compiling" = yes ||
1553
$as_test_x conftest$ac_exeext
1557
$as_echo "$as_me: failed program was:" >&5
1558
sed 's/^/| /' conftest.$ac_ext >&5
1562
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1563
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1564
# interfere with the next link command; also delete a directory that is
1565
# left behind by Apple's compiler. We do this before executing the actions.
1566
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1567
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1570
} # ac_fn_c_try_link
1572
# ac_fn_c_check_func LINENO FUNC VAR
1573
# ----------------------------------
1574
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1575
ac_fn_c_check_func ()
1577
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1579
$as_echo_n "checking for $2... " >&6; }
1580
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1581
$as_echo_n "(cached) " >&6
1583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1584
/* end confdefs.h. */
1585
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1586
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1587
#define $2 innocuous_$2
1589
/* System header to define __stub macros and hopefully few prototypes,
1590
which can conflict with char $2 (); below.
1591
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1592
<limits.h> exists even on freestanding compilers. */
1595
# include <limits.h>
1597
# include <assert.h>
1602
/* Override any GCC internal prototype to avoid an error.
1603
Use char because int might match the return type of a GCC
1604
builtin and then its argument prototype would still apply. */
1609
/* The GNU C library defines this for functions which it implements
1610
to always fail with ENOSYS. Some functions are actually named
1611
something starting with __ and the normal name is an alias. */
1612
#if defined __stub_$2 || defined __stub___$2
1624
if ac_fn_c_try_link "$LINENO"; then :
1629
rm -f core conftest.err conftest.$ac_objext \
1630
conftest$ac_exeext conftest.$ac_ext
1633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1634
$as_echo "$ac_res" >&6; }
1635
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1637
} # ac_fn_c_check_func
1639
# ac_fn_c_try_cpp LINENO
1640
# ----------------------
1641
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1644
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645
if { { ac_try="$ac_cpp conftest.$ac_ext"
1647
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648
*) ac_try_echo=$ac_try;;
1650
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651
$as_echo "$ac_try_echo"; } >&5
1652
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1654
if test -s conftest.err; then
1655
grep -v '^ *+' conftest.err >conftest.er1
1656
cat conftest.er1 >&5
1657
mv -f conftest.er1 conftest.err
1659
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660
test $ac_status = 0; } >/dev/null && {
1661
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1662
test ! -s conftest.err
1666
$as_echo "$as_me: failed program was:" >&5
1667
sed 's/^/| /' conftest.$ac_ext >&5
1671
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1676
# ac_fn_c_try_run LINENO
1677
# ----------------------
1678
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1679
# that executables *can* be run.
1682
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683
if { { ac_try="$ac_link"
1685
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686
*) ac_try_echo=$ac_try;;
1688
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689
$as_echo "$ac_try_echo"; } >&5
1690
(eval "$ac_link") 2>&5
1692
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1694
{ { case "(($ac_try" in
1695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696
*) ac_try_echo=$ac_try;;
1698
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699
$as_echo "$ac_try_echo"; } >&5
1700
(eval "$ac_try") 2>&5
1702
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703
test $ac_status = 0; }; }; then :
1706
$as_echo "$as_me: program exited with status $ac_status" >&5
1707
$as_echo "$as_me: failed program was:" >&5
1708
sed 's/^/| /' conftest.$ac_ext >&5
1710
ac_retval=$ac_status
1712
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1713
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1719
# -------------------------------------------------------
1720
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1721
# the include files in INCLUDES and setting the cache variable VAR
1723
ac_fn_c_check_header_mongrel ()
1725
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728
$as_echo_n "checking for $2... " >&6; }
1729
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1730
$as_echo_n "(cached) " >&6
1733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734
$as_echo "$ac_res" >&6; }
1736
# Is the header compilable?
1737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1738
$as_echo_n "checking $2 usability... " >&6; }
1739
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740
/* end confdefs.h. */
1744
if ac_fn_c_try_compile "$LINENO"; then :
1745
ac_header_compiler=yes
1747
ac_header_compiler=no
1749
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1751
$as_echo "$ac_header_compiler" >&6; }
1753
# Is the header present?
1754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1755
$as_echo_n "checking $2 presence... " >&6; }
1756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757
/* end confdefs.h. */
1760
if ac_fn_c_try_cpp "$LINENO"; then :
1761
ac_header_preproc=yes
1763
ac_header_preproc=no
1765
rm -f conftest.err conftest.$ac_ext
1766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1767
$as_echo "$ac_header_preproc" >&6; }
1769
# So? What about this header?
1770
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1772
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1773
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1774
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1775
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1779
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1780
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1781
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1782
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1783
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1784
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1785
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1786
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1787
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1789
## ------------------------------------- ##
1790
## Report this to <mystilleef@gmail.com> ##
1791
## ------------------------------------- ##
1793
) | sed "s/^/$as_me: WARNING: /" >&2
1796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797
$as_echo_n "checking for $2... " >&6; }
1798
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1799
$as_echo_n "(cached) " >&6
1801
eval "$3=\$ac_header_compiler"
1804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805
$as_echo "$ac_res" >&6; }
1807
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809
} # ac_fn_c_check_header_mongrel
1811
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1812
# -------------------------------------------------------
1813
# Tests whether HEADER exists and can be compiled using the include files in
1814
# INCLUDES, setting the cache variable VAR accordingly.
1815
ac_fn_c_check_header_compile ()
1817
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819
$as_echo_n "checking for $2... " >&6; }
1820
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1821
$as_echo_n "(cached) " >&6
1823
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824
/* end confdefs.h. */
1828
if ac_fn_c_try_compile "$LINENO"; then :
1833
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837
$as_echo "$ac_res" >&6; }
1838
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840
} # ac_fn_c_check_header_compile
1538
1841
cat >config.log <<_ACEOF
1539
1842
This file contains any messages produced by compilers while
1540
1843
running configure, to aid debugging if configure makes a mistake.
1542
It was created by scribes $as_me 0.4-dev-build504, which was
1543
generated by GNU Autoconf 2.63. Invocation command line was
1845
It was created by scribes $as_me 0.4-dev-build505, which was
1846
generated by GNU Autoconf 2.64. Invocation command line was
2102
2383
# expand $ac_aux_dir to an absolute path
2103
2384
am_aux_dir=`cd $ac_aux_dir && pwd`
2105
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2386
if test x"${MISSING+set}" != xset; then
2389
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2391
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2106
2394
# Use eval to expand $SHELL
2107
2395
if eval "$MISSING --run true"; then
2108
2396
am_missing_run="$MISSING --run "
2110
2398
am_missing_run=
2111
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2399
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2112
2400
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2115
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2403
if test x"${install_sh}" != xset; then
2406
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2408
install_sh="\${SHELL} $am_aux_dir/install-sh"
2412
# Installed binaries are usually stripped using `strip' when the user
2413
# run `make install-strip'. However `strip' might not be the right
2414
# tool to use in cross-compilation environments, therefore Automake
2415
# will honor the `STRIP' environment variable to overrule this program.
2416
if test "$cross_compiling" != no; then
2417
if test -n "$ac_tool_prefix"; then
2418
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2419
set dummy ${ac_tool_prefix}strip; ac_word=$2
2420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2421
$as_echo_n "checking for $ac_word... " >&6; }
2422
if test "${ac_cv_prog_STRIP+set}" = set; then :
2423
$as_echo_n "(cached) " >&6
2425
if test -n "$STRIP"; then
2426
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2428
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432
test -z "$as_dir" && as_dir=.
2433
for ac_exec_ext in '' $ac_executable_extensions; do
2434
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2436
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445
STRIP=$ac_cv_prog_STRIP
2446
if test -n "$STRIP"; then
2447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2448
$as_echo "$STRIP" >&6; }
2450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2451
$as_echo "no" >&6; }
2456
if test -z "$ac_cv_prog_STRIP"; then
2458
# Extract the first word of "strip", so it can be a program name with args.
2459
set dummy strip; ac_word=$2
2460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461
$as_echo_n "checking for $ac_word... " >&6; }
2462
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2463
$as_echo_n "(cached) " >&6
2465
if test -n "$ac_ct_STRIP"; then
2466
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472
test -z "$as_dir" && as_dir=.
2473
for ac_exec_ext in '' $ac_executable_extensions; do
2474
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475
ac_cv_prog_ac_ct_STRIP="strip"
2476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2486
if test -n "$ac_ct_STRIP"; then
2487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2488
$as_echo "$ac_ct_STRIP" >&6; }
2490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491
$as_echo "no" >&6; }
2494
if test "x$ac_ct_STRIP" = x; then
2497
case $cross_compiling:$ac_tool_warned in
2499
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2500
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2501
ac_tool_warned=yes ;;
2506
STRIP="$ac_cv_prog_STRIP"
2510
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2116
2513
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2117
2514
if test -z "$MKDIR_P"; then
2118
if test "${ac_cv_path_mkdir+set}" = set; then
2515
if test "${ac_cv_path_mkdir+set}" = set; then :
2119
2516
$as_echo_n "(cached) " >&6
2121
2518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295
2690
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2297
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2299
# Installed binaries are usually stripped using `strip' when the user
2300
# run `make install-strip'. However `strip' might not be the right
2301
# tool to use in cross-compilation environments, therefore Automake
2302
# will honor the `STRIP' environment variable to overrule this program.
2303
if test "$cross_compiling" != no; then
2304
if test -n "$ac_tool_prefix"; then
2305
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2306
set dummy ${ac_tool_prefix}strip; ac_word=$2
2307
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2308
$as_echo_n "checking for $ac_word... " >&6; }
2309
if test "${ac_cv_prog_STRIP+set}" = set; then
2310
$as_echo_n "(cached) " >&6
2312
if test -n "$STRIP"; then
2313
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319
test -z "$as_dir" && as_dir=.
2320
for ac_exec_ext in '' $ac_executable_extensions; do
2321
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2323
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332
STRIP=$ac_cv_prog_STRIP
2333
if test -n "$STRIP"; then
2334
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2335
$as_echo "$STRIP" >&6; }
2337
{ $as_echo "$as_me:$LINENO: result: no" >&5
2338
$as_echo "no" >&6; }
2343
if test -z "$ac_cv_prog_STRIP"; then
2345
# Extract the first word of "strip", so it can be a program name with args.
2346
set dummy strip; ac_word=$2
2347
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2348
$as_echo_n "checking for $ac_word... " >&6; }
2349
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2350
$as_echo_n "(cached) " >&6
2352
if test -n "$ac_ct_STRIP"; then
2353
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2355
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359
test -z "$as_dir" && as_dir=.
2360
for ac_exec_ext in '' $ac_executable_extensions; do
2361
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362
ac_cv_prog_ac_ct_STRIP="strip"
2363
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2373
if test -n "$ac_ct_STRIP"; then
2374
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2375
$as_echo "$ac_ct_STRIP" >&6; }
2377
{ $as_echo "$as_me:$LINENO: result: no" >&5
2378
$as_echo "no" >&6; }
2381
if test "x$ac_ct_STRIP" = x; then
2384
case $cross_compiling:$ac_tool_warned in
2386
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2387
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2388
ac_tool_warned=yes ;;
2393
STRIP="$ac_cv_prog_STRIP"
2397
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2399
2692
# We need awk for the "check" target. The system "awk" is bad on
2400
2693
# some platforms.
2401
2694
# Always define AMTAR for backward compatibility.
2811
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3105
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2812
3106
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2813
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2814
See \`config.log' for more details." >&5
2815
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2816
See \`config.log' for more details." >&2;}
2817
{ (exit 1); exit 1; }; }; }
3107
as_fn_error "no acceptable C compiler found in \$PATH
3108
See \`config.log' for more details." "$LINENO" 5; }
2819
3110
# Provide some information about the compiler.
2820
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3111
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2821
3112
set X $ac_compile
2823
{ (ac_try="$ac_compiler --version >&5"
2825
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826
*) ac_try_echo=$ac_try;;
2828
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829
$as_echo "$ac_try_echo") >&5
2830
(eval "$ac_compiler --version >&5") 2>&5
2832
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833
(exit $ac_status); }
2834
{ (ac_try="$ac_compiler -v >&5"
2836
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837
*) ac_try_echo=$ac_try;;
2839
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2840
$as_echo "$ac_try_echo") >&5
2841
(eval "$ac_compiler -v >&5") 2>&5
2843
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844
(exit $ac_status); }
2845
{ (ac_try="$ac_compiler -V >&5"
2847
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848
*) ac_try_echo=$ac_try;;
2850
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2851
$as_echo "$ac_try_echo") >&5
2852
(eval "$ac_compiler -V >&5") 2>&5
2854
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855
(exit $ac_status); }
3114
for ac_option in --version -v -V -qversion; do
3115
{ { ac_try="$ac_compiler $ac_option >&5"
3117
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118
*) ac_try_echo=$ac_try;;
3120
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121
$as_echo "$ac_try_echo"; } >&5
3122
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3124
if test -s conftest.err; then
3126
... rest of stderr output deleted ...
3127
10q' conftest.err >conftest.er1
3128
cat conftest.er1 >&5
3129
rm -f conftest.er1 conftest.err
3131
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132
test $ac_status = 0; }
2857
cat >conftest.$ac_ext <<_ACEOF
2860
cat confdefs.h >>conftest.$ac_ext
2861
cat >>conftest.$ac_ext <<_ACEOF
3135
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862
3136
/* end confdefs.h. */
3141
FILE *f = fopen ("conftest.out", "w");
3142
return ferror (f) || fclose (f) != 0;
2872
3148
ac_clean_files_save=$ac_clean_files
2873
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3149
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2874
3150
# Try to create an executable without -o first, disregard a.out.
2875
3151
# It will help us diagnose broken compilers, and finding out an intuition
2877
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2878
3154
$as_echo_n "checking for C compiler default output file name... " >&6; }
2879
3155
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2941
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2942
3217
$as_echo "$ac_file" >&6; }
2943
if test -z "$ac_file"; then
3218
if test -z "$ac_file"; then :
2944
3219
$as_echo "$as_me: failed program was:" >&5
2945
3220
sed 's/^/| /' conftest.$ac_ext >&5
2947
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3222
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948
3223
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2950
See \`config.log' for more details." >&5
2951
$as_echo "$as_me: error: C compiler cannot create executables
2952
See \`config.log' for more details." >&2;}
2953
{ (exit 77); exit 77; }; }; }
3224
{ as_fn_set_status 77
3225
as_fn_error "C compiler cannot create executables
3226
See \`config.log' for more details." "$LINENO" 5; }; }
2956
3228
ac_exeext=$ac_cv_exeext
2958
3230
# Check that the compiler produces executables we can run. If not, either
2959
3231
# the compiler is broken, or we cross compile.
2960
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2961
3233
$as_echo_n "checking whether the C compiler works... " >&6; }
2962
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2963
3234
# If not cross compiling, check that we can run a simple program.
2964
3235
if test "$cross_compiling" != yes; then
2965
3236
if { ac_try='./$ac_file'
2966
{ (case "(($ac_try" in
3237
{ { case "(($ac_try" in
2967
3238
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968
3239
*) ac_try_echo=$ac_try;;
2970
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2971
$as_echo "$ac_try_echo") >&5
3241
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242
$as_echo "$ac_try_echo"; } >&5
2972
3243
(eval "$ac_try") 2>&5
2974
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975
(exit $ac_status); }; }; then
3245
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3246
test $ac_status = 0; }; }; then
2976
3247
cross_compiling=no
2978
3249
if test "$cross_compiling" = maybe; then
2979
3250
cross_compiling=yes
2981
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3252
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982
3253
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2984
If you meant to cross compile, use \`--host'.
2985
See \`config.log' for more details." >&5
2986
$as_echo "$as_me: error: cannot run C compiled programs.
2987
If you meant to cross compile, use \`--host'.
2988
See \`config.log' for more details." >&2;}
2989
{ (exit 1); exit 1; }; }; }
3254
as_fn_error "cannot run C compiled programs.
3255
If you meant to cross compile, use \`--host'.
3256
See \`config.log' for more details." "$LINENO" 5; }
2993
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2994
3261
$as_echo "yes" >&6; }
2996
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3263
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2997
3264
ac_clean_files=$ac_clean_files_save
2998
3265
# Check that the compiler produces executables we can run. If not, either
2999
3266
# the compiler is broken, or we cross compile.
3000
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3001
3268
$as_echo_n "checking whether we are cross compiling... " >&6; }
3002
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3003
3270
$as_echo "$cross_compiling" >&6; }
3005
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3006
3273
$as_echo_n "checking for suffix of executables... " >&6; }
3007
if { (ac_try="$ac_link"
3274
if { { ac_try="$ac_link"
3008
3275
case "(($ac_try" in
3009
3276
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010
3277
*) ac_try_echo=$ac_try;;
3012
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3013
$as_echo "$ac_try_echo") >&5
3279
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280
$as_echo "$ac_try_echo"; } >&5
3014
3281
(eval "$ac_link") 2>&5
3016
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017
(exit $ac_status); }; then
3283
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284
test $ac_status = 0; }; then :
3018
3285
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3019
3286
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3020
3287
# work properly (i.e., refer to `conftest.exe'), while it won't with
4093
rm -f conftest.$ac_objext conftest$ac_exeext
4094
if { (ac_try="$ac_link"
4096
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097
*) ac_try_echo=$ac_try;;
4099
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4100
$as_echo "$ac_try_echo") >&5
4101
(eval "$ac_link") 2>conftest.er1
4103
grep -v '^ *+' conftest.er1 >conftest.err
4105
cat conftest.err >&5
4106
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107
(exit $ac_status); } && {
4108
test -z "$ac_c_werror_flag" ||
4109
test ! -s conftest.err
4110
} && test -s conftest$ac_exeext && {
4111
test "$cross_compiling" = yes ||
4112
$as_test_x conftest$ac_exeext
4220
if ac_fn_c_try_link "$LINENO"; then :
4114
4221
DATADIRNAME=share
4116
$as_echo "$as_me: failed program was:" >&5
4117
sed 's/^/| /' conftest.$ac_ext >&5
4121
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4122
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4123
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4124
$as_echo_n "(cached) " >&6
4126
cat >conftest.$ac_ext <<_ACEOF
4129
cat confdefs.h >>conftest.$ac_ext
4130
cat >>conftest.$ac_ext <<_ACEOF
4131
/* end confdefs.h. */
4132
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4133
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4134
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4136
/* System header to define __stub macros and hopefully few prototypes,
4137
which can conflict with char bind_textdomain_codeset (); below.
4138
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4139
<limits.h> exists even on freestanding compilers. */
4142
# include <limits.h>
4144
# include <assert.h>
4147
#undef bind_textdomain_codeset
4149
/* Override any GCC internal prototype to avoid an error.
4150
Use char because int might match the return type of a GCC
4151
builtin and then its argument prototype would still apply. */
4155
char bind_textdomain_codeset ();
4156
/* The GNU C library defines this for functions which it implements
4157
to always fail with ENOSYS. Some functions are actually named
4158
something starting with __ and the normal name is an alias. */
4159
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4166
return bind_textdomain_codeset ();
4171
rm -f conftest.$ac_objext conftest$ac_exeext
4172
if { (ac_try="$ac_link"
4174
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175
*) ac_try_echo=$ac_try;;
4177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4178
$as_echo "$ac_try_echo") >&5
4179
(eval "$ac_link") 2>conftest.er1
4181
grep -v '^ *+' conftest.er1 >conftest.err
4183
cat conftest.err >&5
4184
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185
(exit $ac_status); } && {
4186
test -z "$ac_c_werror_flag" ||
4187
test ! -s conftest.err
4188
} && test -s conftest$ac_exeext && {
4189
test "$cross_compiling" = yes ||
4190
$as_test_x conftest$ac_exeext
4192
ac_cv_func_bind_textdomain_codeset=yes
4194
$as_echo "$as_me: failed program was:" >&5
4195
sed 's/^/| /' conftest.$ac_ext >&5
4197
ac_cv_func_bind_textdomain_codeset=no
4200
rm -rf conftest.dSYM
4201
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4202
conftest$ac_exeext conftest.$ac_ext
4204
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4205
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4206
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4225
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4226
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4207
4227
DATADIRNAME=share
4209
4229
DATADIRNAME=lib
4385
if { (ac_try="$ac_cpp conftest.$ac_ext"
4387
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388
*) ac_try_echo=$ac_try;;
4390
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4391
$as_echo "$ac_try_echo") >&5
4392
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4394
grep -v '^ *+' conftest.er1 >conftest.err
4396
cat conftest.err >&5
4397
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398
(exit $ac_status); } >/dev/null && {
4399
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4400
test ! -s conftest.err
4351
if ac_fn_c_try_cpp "$LINENO"; then :
4404
$as_echo "$as_me: failed program was:" >&5
4405
sed 's/^/| /' conftest.$ac_ext >&5
4407
4354
# Broken: fails on valid input.
4411
4357
rm -f conftest.err conftest.$ac_ext
4413
4359
# OK, works on sane cases. Now check whether nonexistent headers
4414
4360
# can be detected and how.
4415
cat >conftest.$ac_ext <<_ACEOF
4418
cat confdefs.h >>conftest.$ac_ext
4419
cat >>conftest.$ac_ext <<_ACEOF
4361
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420
4362
/* end confdefs.h. */
4421
4363
#include <ac_nonexistent.h>
4423
if { (ac_try="$ac_cpp conftest.$ac_ext"
4425
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426
*) ac_try_echo=$ac_try;;
4428
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4429
$as_echo "$ac_try_echo") >&5
4430
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4432
grep -v '^ *+' conftest.er1 >conftest.err
4434
cat conftest.err >&5
4435
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436
(exit $ac_status); } >/dev/null && {
4437
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4438
test ! -s conftest.err
4365
if ac_fn_c_try_cpp "$LINENO"; then :
4440
4366
# Broken: success on invalid input.
4443
$as_echo "$as_me: failed program was:" >&5
4444
sed 's/^/| /' conftest.$ac_ext >&5
4446
4369
# Passes both tests.
4447
4370
ac_preproc_ok=:
4451
4373
rm -f conftest.err conftest.$ac_ext
4454
4376
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4455
4377
rm -f conftest.err conftest.$ac_ext
4456
if $ac_preproc_ok; then
4378
if $ac_preproc_ok; then :
4459
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4381
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4460
4382
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4461
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4462
See \`config.log' for more details." >&5
4463
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4464
See \`config.log' for more details." >&2;}
4465
{ (exit 1); exit 1; }; }; }
4383
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4384
See \`config.log' for more details." "$LINENO" 5; }
4739
rm -f conftest$ac_exeext
4740
if { (ac_try="$ac_link"
4742
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743
*) ac_try_echo=$ac_try;;
4745
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4746
$as_echo "$ac_try_echo") >&5
4747
(eval "$ac_link") 2>&5
4749
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4751
{ (case "(($ac_try" in
4752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753
*) ac_try_echo=$ac_try;;
4755
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4756
$as_echo "$ac_try_echo") >&5
4757
(eval "$ac_try") 2>&5
4759
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760
(exit $ac_status); }; }; then
4617
if ac_fn_c_try_run "$LINENO"; then :
4763
$as_echo "$as_me: program exited with status $ac_status" >&5
4764
$as_echo "$as_me: failed program was:" >&5
4765
sed 's/^/| /' conftest.$ac_ext >&5
4768
ac_cv_header_stdc=no
4770
rm -rf conftest.dSYM
4771
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4777
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4620
ac_cv_header_stdc=no
4622
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4623
conftest.$ac_objext conftest.beam conftest.$ac_ext
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4778
4629
$as_echo "$ac_cv_header_stdc" >&6; }
4779
4630
if test $ac_cv_header_stdc = yes; then
4781
cat >>confdefs.h <<\_ACEOF
4782
#define STDC_HEADERS 1
4632
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4787
4636
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4797
4637
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4798
4638
inttypes.h stdint.h unistd.h
4800
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4801
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4802
$as_echo_n "checking for $ac_header... " >&6; }
4803
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4804
$as_echo_n "(cached) " >&6
4806
cat >conftest.$ac_ext <<_ACEOF
4809
cat confdefs.h >>conftest.$ac_ext
4810
cat >>conftest.$ac_ext <<_ACEOF
4811
/* end confdefs.h. */
4812
$ac_includes_default
4814
#include <$ac_header>
4816
rm -f conftest.$ac_objext
4817
if { (ac_try="$ac_compile"
4819
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820
*) ac_try_echo=$ac_try;;
4822
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4823
$as_echo "$ac_try_echo") >&5
4824
(eval "$ac_compile") 2>conftest.er1
4826
grep -v '^ *+' conftest.er1 >conftest.err
4828
cat conftest.err >&5
4829
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830
(exit $ac_status); } && {
4831
test -z "$ac_c_werror_flag" ||
4832
test ! -s conftest.err
4833
} && test -s conftest.$ac_objext; then
4834
eval "$as_ac_Header=yes"
4836
$as_echo "$as_me: failed program was:" >&5
4837
sed 's/^/| /' conftest.$ac_ext >&5
4839
eval "$as_ac_Header=no"
4842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4844
ac_res=`eval 'as_val=${'$as_ac_Header'}
4845
$as_echo "$as_val"'`
4846
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4847
$as_echo "$ac_res" >&6; }
4848
as_val=`eval 'as_val=${'$as_ac_Header'}
4849
$as_echo "$as_val"'`
4850
if test "x$as_val" = x""yes; then
4640
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4641
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4643
eval as_val=\$$as_ac_Header
4644
if test "x$as_val" = x""yes; then :
4851
4645
cat >>confdefs.h <<_ACEOF
4852
4646
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4862
for ac_header in locale.h
4864
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4865
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4866
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4867
$as_echo_n "checking for $ac_header... " >&6; }
4868
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4869
$as_echo_n "(cached) " >&6
4871
ac_res=`eval 'as_val=${'$as_ac_Header'}
4872
$as_echo "$as_val"'`
4873
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4874
$as_echo "$ac_res" >&6; }
4876
# Is the header compilable?
4877
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4878
$as_echo_n "checking $ac_header usability... " >&6; }
4879
cat >conftest.$ac_ext <<_ACEOF
4882
cat confdefs.h >>conftest.$ac_ext
4883
cat >>conftest.$ac_ext <<_ACEOF
4884
/* end confdefs.h. */
4885
$ac_includes_default
4886
#include <$ac_header>
4888
rm -f conftest.$ac_objext
4889
if { (ac_try="$ac_compile"
4891
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4892
*) ac_try_echo=$ac_try;;
4894
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4895
$as_echo "$ac_try_echo") >&5
4896
(eval "$ac_compile") 2>conftest.er1
4898
grep -v '^ *+' conftest.er1 >conftest.err
4900
cat conftest.err >&5
4901
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902
(exit $ac_status); } && {
4903
test -z "$ac_c_werror_flag" ||
4904
test ! -s conftest.err
4905
} && test -s conftest.$ac_objext; then
4906
ac_header_compiler=yes
4908
$as_echo "$as_me: failed program was:" >&5
4909
sed 's/^/| /' conftest.$ac_ext >&5
4911
ac_header_compiler=no
4914
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4916
$as_echo "$ac_header_compiler" >&6; }
4918
# Is the header present?
4919
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4920
$as_echo_n "checking $ac_header presence... " >&6; }
4921
cat >conftest.$ac_ext <<_ACEOF
4924
cat confdefs.h >>conftest.$ac_ext
4925
cat >>conftest.$ac_ext <<_ACEOF
4926
/* end confdefs.h. */
4927
#include <$ac_header>
4929
if { (ac_try="$ac_cpp conftest.$ac_ext"
4931
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932
*) ac_try_echo=$ac_try;;
4934
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4935
$as_echo "$ac_try_echo") >&5
4936
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4938
grep -v '^ *+' conftest.er1 >conftest.err
4940
cat conftest.err >&5
4941
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942
(exit $ac_status); } >/dev/null && {
4943
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4944
test ! -s conftest.err
4946
ac_header_preproc=yes
4948
$as_echo "$as_me: failed program was:" >&5
4949
sed 's/^/| /' conftest.$ac_ext >&5
4951
ac_header_preproc=no
4954
rm -f conftest.err conftest.$ac_ext
4955
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4956
$as_echo "$ac_header_preproc" >&6; }
4958
# So? What about this header?
4959
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4961
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4962
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4963
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4964
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4965
ac_header_preproc=yes
4968
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4969
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4970
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4971
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4972
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4973
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4974
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4975
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4976
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4977
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4978
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4979
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4981
## ------------------------------------- ##
4982
## Report this to <mystilleef@gmail.com> ##
4983
## ------------------------------------- ##
4985
) | sed "s/^/$as_me: WARNING: /" >&2
4988
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4989
$as_echo_n "checking for $ac_header... " >&6; }
4990
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4991
$as_echo_n "(cached) " >&6
4993
eval "$as_ac_Header=\$ac_header_preproc"
4995
ac_res=`eval 'as_val=${'$as_ac_Header'}
4996
$as_echo "$as_val"'`
4997
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4998
$as_echo "$ac_res" >&6; }
5001
as_val=`eval 'as_val=${'$as_ac_Header'}
5002
$as_echo "$as_val"'`
5003
if test "x$as_val" = x""yes; then
4655
for ac_header in locale.h
4657
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4658
if test "x$ac_cv_header_locale_h" = x""yes; then :
5004
4659
cat >>confdefs.h <<_ACEOF
5005
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4660
#define HAVE_LOCALE_H 1
5085
if test "${ac_cv_header_libintl_h+set}" = set; then
5086
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
5087
$as_echo_n "checking for libintl.h... " >&6; }
5088
if test "${ac_cv_header_libintl_h+set}" = set; then
5089
$as_echo_n "(cached) " >&6
5091
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5092
$as_echo "$ac_cv_header_libintl_h" >&6; }
5094
# Is the header compilable?
5095
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
5096
$as_echo_n "checking libintl.h usability... " >&6; }
5097
cat >conftest.$ac_ext <<_ACEOF
5100
cat confdefs.h >>conftest.$ac_ext
5101
cat >>conftest.$ac_ext <<_ACEOF
5102
/* end confdefs.h. */
5103
$ac_includes_default
5104
#include <libintl.h>
5106
rm -f conftest.$ac_objext
5107
if { (ac_try="$ac_compile"
5109
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5110
*) ac_try_echo=$ac_try;;
5112
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5113
$as_echo "$ac_try_echo") >&5
5114
(eval "$ac_compile") 2>conftest.er1
5116
grep -v '^ *+' conftest.er1 >conftest.err
5118
cat conftest.err >&5
5119
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120
(exit $ac_status); } && {
5121
test -z "$ac_c_werror_flag" ||
5122
test ! -s conftest.err
5123
} && test -s conftest.$ac_objext; then
5124
ac_header_compiler=yes
5126
$as_echo "$as_me: failed program was:" >&5
5127
sed 's/^/| /' conftest.$ac_ext >&5
5129
ac_header_compiler=no
5132
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5133
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5134
$as_echo "$ac_header_compiler" >&6; }
5136
# Is the header present?
5137
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
5138
$as_echo_n "checking libintl.h presence... " >&6; }
5139
cat >conftest.$ac_ext <<_ACEOF
5142
cat confdefs.h >>conftest.$ac_ext
5143
cat >>conftest.$ac_ext <<_ACEOF
5144
/* end confdefs.h. */
5145
#include <libintl.h>
5147
if { (ac_try="$ac_cpp conftest.$ac_ext"
5149
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5150
*) ac_try_echo=$ac_try;;
5152
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5153
$as_echo "$ac_try_echo") >&5
5154
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5156
grep -v '^ *+' conftest.er1 >conftest.err
5158
cat conftest.err >&5
5159
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160
(exit $ac_status); } >/dev/null && {
5161
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5162
test ! -s conftest.err
5164
ac_header_preproc=yes
5166
$as_echo "$as_me: failed program was:" >&5
5167
sed 's/^/| /' conftest.$ac_ext >&5
5169
ac_header_preproc=no
5172
rm -f conftest.err conftest.$ac_ext
5173
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5174
$as_echo "$ac_header_preproc" >&6; }
5176
# So? What about this header?
5177
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5179
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5180
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5181
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5182
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5183
ac_header_preproc=yes
5186
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5187
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5188
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5189
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5190
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5191
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5192
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5193
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5194
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5195
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5196
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5197
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5199
## ------------------------------------- ##
5200
## Report this to <mystilleef@gmail.com> ##
5201
## ------------------------------------- ##
5203
) | sed "s/^/$as_me: WARNING: /" >&2
5206
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
5207
$as_echo_n "checking for libintl.h... " >&6; }
5208
if test "${ac_cv_header_libintl_h+set}" = set; then
5209
$as_echo_n "(cached) " >&6
5211
ac_cv_header_libintl_h=$ac_header_preproc
5213
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5214
$as_echo "$ac_cv_header_libintl_h" >&6; }
5217
if test "x$ac_cv_header_libintl_h" = x""yes; then
4709
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4710
if test "x$ac_cv_header_libintl_h" = x""yes; then :
5218
4711
gt_cv_func_dgettext_libintl="no"
5219
4712
libintl_extra_libs=""
5222
4715
# First check in libc
5224
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5225
4718
$as_echo_n "checking for ngettext in libc... " >&6; }
5226
if test "${gt_cv_func_ngettext_libc+set}" = set; then
4719
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
5227
4720
$as_echo_n "(cached) " >&6
5229
cat >conftest.$ac_ext <<_ACEOF
5232
cat confdefs.h >>conftest.$ac_ext
5233
cat >>conftest.$ac_ext <<_ACEOF
4722
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234
4723
/* end confdefs.h. */
5236
4725
#include <libintl.h>
5306
rm -f conftest.$ac_objext conftest$ac_exeext
5307
if { (ac_try="$ac_link"
5309
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5310
*) ac_try_echo=$ac_try;;
5312
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5313
$as_echo "$ac_try_echo") >&5
5314
(eval "$ac_link") 2>conftest.er1
5316
grep -v '^ *+' conftest.er1 >conftest.err
5318
cat conftest.err >&5
5319
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320
(exit $ac_status); } && {
5321
test -z "$ac_c_werror_flag" ||
5322
test ! -s conftest.err
5323
} && test -s conftest$ac_exeext && {
5324
test "$cross_compiling" = yes ||
5325
$as_test_x conftest$ac_exeext
4766
if ac_fn_c_try_link "$LINENO"; then :
5327
4767
gt_cv_func_dgettext_libc=yes
5329
$as_echo "$as_me: failed program was:" >&5
5330
sed 's/^/| /' conftest.$ac_ext >&5
5332
gt_cv_func_dgettext_libc=no
5335
rm -rf conftest.dSYM
5336
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5337
conftest$ac_exeext conftest.$ac_ext
5340
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4769
gt_cv_func_dgettext_libc=no
4771
rm -f core conftest.err conftest.$ac_objext \
4772
conftest$ac_exeext conftest.$ac_ext
4775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5341
4776
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5344
4779
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5346
for ac_func in bind_textdomain_codeset
5348
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5349
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5350
$as_echo_n "checking for $ac_func... " >&6; }
5351
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5352
$as_echo_n "(cached) " >&6
5354
cat >conftest.$ac_ext <<_ACEOF
5357
cat confdefs.h >>conftest.$ac_ext
5358
cat >>conftest.$ac_ext <<_ACEOF
5359
/* end confdefs.h. */
5360
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5361
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5362
#define $ac_func innocuous_$ac_func
5364
/* System header to define __stub macros and hopefully few prototypes,
5365
which can conflict with char $ac_func (); below.
5366
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5367
<limits.h> exists even on freestanding compilers. */
5370
# include <limits.h>
5372
# include <assert.h>
5377
/* Override any GCC internal prototype to avoid an error.
5378
Use char because int might match the return type of a GCC
5379
builtin and then its argument prototype would still apply. */
5384
/* The GNU C library defines this for functions which it implements
5385
to always fail with ENOSYS. Some functions are actually named
5386
something starting with __ and the normal name is an alias. */
5387
#if defined __stub_$ac_func || defined __stub___$ac_func
5399
rm -f conftest.$ac_objext conftest$ac_exeext
5400
if { (ac_try="$ac_link"
5402
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5403
*) ac_try_echo=$ac_try;;
5405
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5406
$as_echo "$ac_try_echo") >&5
5407
(eval "$ac_link") 2>conftest.er1
5409
grep -v '^ *+' conftest.er1 >conftest.err
5411
cat conftest.err >&5
5412
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413
(exit $ac_status); } && {
5414
test -z "$ac_c_werror_flag" ||
5415
test ! -s conftest.err
5416
} && test -s conftest$ac_exeext && {
5417
test "$cross_compiling" = yes ||
5418
$as_test_x conftest$ac_exeext
5420
eval "$as_ac_var=yes"
5422
$as_echo "$as_me: failed program was:" >&5
5423
sed 's/^/| /' conftest.$ac_ext >&5
5425
eval "$as_ac_var=no"
5428
rm -rf conftest.dSYM
5429
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5430
conftest$ac_exeext conftest.$ac_ext
5432
ac_res=`eval 'as_val=${'$as_ac_var'}
5433
$as_echo "$as_val"'`
5434
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5435
$as_echo "$ac_res" >&6; }
5436
as_val=`eval 'as_val=${'$as_ac_var'}
5437
$as_echo "$as_val"'`
5438
if test "x$as_val" = x""yes; then
4780
for ac_func in bind_textdomain_codeset
4782
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4783
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5439
4784
cat >>confdefs.h <<_ACEOF
5440
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4785
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5816
5016
glib_save_LIBS="$LIBS"
5817
5017
LIBS="$LIBS -lintl $libintl_extra_libs"
5818
5018
unset ac_cv_func_bind_textdomain_codeset
5820
for ac_func in bind_textdomain_codeset
5822
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5823
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5824
$as_echo_n "checking for $ac_func... " >&6; }
5825
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5826
$as_echo_n "(cached) " >&6
5828
cat >conftest.$ac_ext <<_ACEOF
5831
cat confdefs.h >>conftest.$ac_ext
5832
cat >>conftest.$ac_ext <<_ACEOF
5833
/* end confdefs.h. */
5834
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5835
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5836
#define $ac_func innocuous_$ac_func
5838
/* System header to define __stub macros and hopefully few prototypes,
5839
which can conflict with char $ac_func (); below.
5840
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5841
<limits.h> exists even on freestanding compilers. */
5844
# include <limits.h>
5846
# include <assert.h>
5851
/* Override any GCC internal prototype to avoid an error.
5852
Use char because int might match the return type of a GCC
5853
builtin and then its argument prototype would still apply. */
5858
/* The GNU C library defines this for functions which it implements
5859
to always fail with ENOSYS. Some functions are actually named
5860
something starting with __ and the normal name is an alias. */
5861
#if defined __stub_$ac_func || defined __stub___$ac_func
5873
rm -f conftest.$ac_objext conftest$ac_exeext
5874
if { (ac_try="$ac_link"
5876
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5877
*) ac_try_echo=$ac_try;;
5879
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5880
$as_echo "$ac_try_echo") >&5
5881
(eval "$ac_link") 2>conftest.er1
5883
grep -v '^ *+' conftest.er1 >conftest.err
5885
cat conftest.err >&5
5886
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887
(exit $ac_status); } && {
5888
test -z "$ac_c_werror_flag" ||
5889
test ! -s conftest.err
5890
} && test -s conftest$ac_exeext && {
5891
test "$cross_compiling" = yes ||
5892
$as_test_x conftest$ac_exeext
5894
eval "$as_ac_var=yes"
5896
$as_echo "$as_me: failed program was:" >&5
5897
sed 's/^/| /' conftest.$ac_ext >&5
5899
eval "$as_ac_var=no"
5902
rm -rf conftest.dSYM
5903
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5904
conftest$ac_exeext conftest.$ac_ext
5906
ac_res=`eval 'as_val=${'$as_ac_var'}
5907
$as_echo "$as_val"'`
5908
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5909
$as_echo "$ac_res" >&6; }
5910
as_val=`eval 'as_val=${'$as_ac_var'}
5911
$as_echo "$as_val"'`
5912
if test "x$as_val" = x""yes; then
5019
for ac_func in bind_textdomain_codeset
5021
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5022
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5913
5023
cat >>confdefs.h <<_ACEOF
5914
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5024
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5975
5083
MSGFMT="$ac_cv_path_MSGFMT"
5976
5084
if test "$MSGFMT" != "no"; then
5977
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5978
5086
$as_echo "$MSGFMT" >&6; }
5980
{ $as_echo "$as_me:$LINENO: result: no" >&5
5088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981
5089
$as_echo "no" >&6; }
5983
5091
if test "$MSGFMT" != "no"; then
5984
5092
glib_save_LIBS="$LIBS"
5985
5093
LIBS="$LIBS $INTLLIBS"
5987
for ac_func in dcgettext
5989
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5990
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5991
$as_echo_n "checking for $ac_func... " >&6; }
5992
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5993
$as_echo_n "(cached) " >&6
5995
cat >conftest.$ac_ext <<_ACEOF
5998
cat confdefs.h >>conftest.$ac_ext
5999
cat >>conftest.$ac_ext <<_ACEOF
6000
/* end confdefs.h. */
6001
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6002
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6003
#define $ac_func innocuous_$ac_func
6005
/* System header to define __stub macros and hopefully few prototypes,
6006
which can conflict with char $ac_func (); below.
6007
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6008
<limits.h> exists even on freestanding compilers. */
6011
# include <limits.h>
6013
# include <assert.h>
6018
/* Override any GCC internal prototype to avoid an error.
6019
Use char because int might match the return type of a GCC
6020
builtin and then its argument prototype would still apply. */
6025
/* The GNU C library defines this for functions which it implements
6026
to always fail with ENOSYS. Some functions are actually named
6027
something starting with __ and the normal name is an alias. */
6028
#if defined __stub_$ac_func || defined __stub___$ac_func
6040
rm -f conftest.$ac_objext conftest$ac_exeext
6041
if { (ac_try="$ac_link"
6043
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6044
*) ac_try_echo=$ac_try;;
6046
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6047
$as_echo "$ac_try_echo") >&5
6048
(eval "$ac_link") 2>conftest.er1
6050
grep -v '^ *+' conftest.er1 >conftest.err
6052
cat conftest.err >&5
6053
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054
(exit $ac_status); } && {
6055
test -z "$ac_c_werror_flag" ||
6056
test ! -s conftest.err
6057
} && test -s conftest$ac_exeext && {
6058
test "$cross_compiling" = yes ||
6059
$as_test_x conftest$ac_exeext
6061
eval "$as_ac_var=yes"
6063
$as_echo "$as_me: failed program was:" >&5
6064
sed 's/^/| /' conftest.$ac_ext >&5
6066
eval "$as_ac_var=no"
6069
rm -rf conftest.dSYM
6070
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6071
conftest$ac_exeext conftest.$ac_ext
6073
ac_res=`eval 'as_val=${'$as_ac_var'}
6074
$as_echo "$as_val"'`
6075
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6076
$as_echo "$ac_res" >&6; }
6077
as_val=`eval 'as_val=${'$as_ac_var'}
6078
$as_echo "$as_val"'`
6079
if test "x$as_val" = x""yes; then
5094
for ac_func in dcgettext
5096
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5097
if test "x$ac_cv_func_dcgettext" = x""yes; then :
6080
5098
cat >>confdefs.h <<_ACEOF
6081
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5099
#define HAVE_DCGETTEXT 1
6088
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
5106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6089
5107
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6090
5108
cat >conftest.foo <<_ACEOF
6209
rm -f conftest.$ac_objext conftest$ac_exeext
6210
if { (ac_try="$ac_link"
6212
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6213
*) ac_try_echo=$ac_try;;
6215
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6216
$as_echo "$ac_try_echo") >&5
6217
(eval "$ac_link") 2>conftest.er1
6219
grep -v '^ *+' conftest.er1 >conftest.err
6221
cat conftest.err >&5
6222
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223
(exit $ac_status); } && {
6224
test -z "$ac_c_werror_flag" ||
6225
test ! -s conftest.err
6226
} && test -s conftest$ac_exeext && {
6227
test "$cross_compiling" = yes ||
6228
$as_test_x conftest$ac_exeext
5223
if ac_fn_c_try_link "$LINENO"; then :
6231
5225
DATADIRNAME=share
6233
$as_echo "$as_me: failed program was:" >&5
6234
sed 's/^/| /' conftest.$ac_ext >&5
6238
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6239
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6240
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6241
$as_echo_n "(cached) " >&6
6243
cat >conftest.$ac_ext <<_ACEOF
6246
cat confdefs.h >>conftest.$ac_ext
6247
cat >>conftest.$ac_ext <<_ACEOF
6248
/* end confdefs.h. */
6249
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6250
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6251
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6253
/* System header to define __stub macros and hopefully few prototypes,
6254
which can conflict with char bind_textdomain_codeset (); below.
6255
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6256
<limits.h> exists even on freestanding compilers. */
6259
# include <limits.h>
6261
# include <assert.h>
6264
#undef bind_textdomain_codeset
6266
/* Override any GCC internal prototype to avoid an error.
6267
Use char because int might match the return type of a GCC
6268
builtin and then its argument prototype would still apply. */
6272
char bind_textdomain_codeset ();
6273
/* The GNU C library defines this for functions which it implements
6274
to always fail with ENOSYS. Some functions are actually named
6275
something starting with __ and the normal name is an alias. */
6276
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6283
return bind_textdomain_codeset ();
6288
rm -f conftest.$ac_objext conftest$ac_exeext
6289
if { (ac_try="$ac_link"
6291
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6292
*) ac_try_echo=$ac_try;;
6294
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6295
$as_echo "$ac_try_echo") >&5
6296
(eval "$ac_link") 2>conftest.er1
6298
grep -v '^ *+' conftest.er1 >conftest.err
6300
cat conftest.err >&5
6301
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302
(exit $ac_status); } && {
6303
test -z "$ac_c_werror_flag" ||
6304
test ! -s conftest.err
6305
} && test -s conftest$ac_exeext && {
6306
test "$cross_compiling" = yes ||
6307
$as_test_x conftest$ac_exeext
6309
ac_cv_func_bind_textdomain_codeset=yes
6311
$as_echo "$as_me: failed program was:" >&5
6312
sed 's/^/| /' conftest.$ac_ext >&5
6314
ac_cv_func_bind_textdomain_codeset=no
6317
rm -rf conftest.dSYM
6318
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6319
conftest$ac_exeext conftest.$ac_ext
6321
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6322
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6323
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
5229
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5230
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6325
5232
DATADIRNAME=share
6756
5663
if test -n "$PYTHON"; then
6757
5664
# If the user set $PYTHON, use it and don't search something else.
6758
{ $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
5665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
6759
5666
$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
6760
prog="import sys, string
6761
5668
# split strings by '.' and convert to numeric. Append some zeros
6762
5669
# because we need at least 4 digits for the hex conversion.
6763
minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5670
# map returns an iterator in Python 3.0 and a list in 2.x
5671
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6765
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5673
# xrange is not present in Python 3.0 and range returns an iterator
5674
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6766
5675
sys.exit(sys.hexversion < minverhex)"
6767
5676
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
6768
5677
($PYTHON -c "$prog") >&5 2>&5
6770
5679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771
(exit $ac_status); }; then
6772
{ $as_echo "$as_me:$LINENO: result: yes" >&5
5680
(exit $ac_status); }; then :
5681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6773
5682
$as_echo "yes" >&6; }
6775
{ { $as_echo "$as_me:$LINENO: error: too old" >&5
6776
$as_echo "$as_me: error: too old" >&2;}
6777
{ (exit 1); exit 1; }; }
5684
as_fn_error "too old" "$LINENO" 5
6780
5686
am_display_PYTHON=$PYTHON
6782
5688
# Otherwise, try each interpreter until we find one that satisfies
6784
{ $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
5690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
6785
5691
$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
6786
if test "${am_cv_pathless_PYTHON+set}" = set; then
5692
if test "${am_cv_pathless_PYTHON+set}" = set; then :
6787
5693
$as_echo_n "(cached) " >&6
6790
for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
5696
for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
6791
5697
test "$am_cv_pathless_PYTHON" = none && break
6792
prog="import sys, string
6793
5699
# split strings by '.' and convert to numeric. Append some zeros
6794
5700
# because we need at least 4 digits for the hex conversion.
6795
minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5701
# map returns an iterator in Python 3.0 and a list in 2.x
5702
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6797
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5704
# xrange is not present in Python 3.0 and range returns an iterator
5705
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6798
5706
sys.exit(sys.hexversion < minverhex)"
6799
5707
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
6800
5708
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
6802
5710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803
(exit $ac_status); }; then
5711
(exit $ac_status); }; then :
6809
{ $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
6810
5717
$as_echo "$am_cv_pathless_PYTHON" >&6; }
6811
5718
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
6812
5719
if test "$am_cv_pathless_PYTHON" = none; then
7158
6027
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7159
6028
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7160
6029
# will be set to the directory where LIBOBJS objects are built.
7161
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7162
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6030
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6031
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7164
6033
LIBOBJS=$ac_libobjs
7166
6035
LTLIBOBJS=$ac_ltlibobjs
6038
if test -n "$EXEEXT"; then
6040
am__EXEEXT_FALSE='#'
7169
6046
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7170
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7171
Usually this means the macro was only invoked conditionally." >&5
7172
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7173
Usually this means the macro was only invoked conditionally." >&2;}
7174
{ (exit 1); exit 1; }; }
6047
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
6048
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7176
6050
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7177
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7178
Usually this means the macro was only invoked conditionally." >&5
7179
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7180
Usually this means the macro was only invoked conditionally." >&2;}
7181
{ (exit 1); exit 1; }; }
6051
as_fn_error "conditional \"AMDEP\" was never defined.
6052
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7183
6054
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7184
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7185
Usually this means the macro was only invoked conditionally." >&5
7186
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7187
Usually this means the macro was only invoked conditionally." >&2;}
7188
{ (exit 1); exit 1; }; }
6055
as_fn_error "conditional \"am__fastdepCC\" was never defined.
6056
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7191
6059
ac_config_commands="$ac_config_commands po/stamp-it"
7194
6062
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
7195
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
7196
Usually this means the macro was only invoked conditionally." >&5
7197
$as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
7198
Usually this means the macro was only invoked conditionally." >&2;}
7199
{ (exit 1); exit 1; }; }
6063
as_fn_error "conditional \"ENABLE_SK\" was never defined.
6064
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7201
6066
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
7202
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
7203
Usually this means the macro was only invoked conditionally." >&5
7204
$as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
7205
Usually this means the macro was only invoked conditionally." >&2;}
7206
{ (exit 1); exit 1; }; }
6067
as_fn_error "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
6068
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7209
6071
: ${CONFIG_STATUS=./config.status}
7210
6072
ac_write_fail=0
7211
6073
ac_clean_files_save=$ac_clean_files
7212
6074
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7213
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6075
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7214
6076
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7215
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6078
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7217
6080
# Generated by $as_me.
7218
6081
# Run this file to recreate the current configuration.