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 '/^.*\/\([^/][^/]*\)\/*$/{
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
139
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1"
178
if (eval "$as_required") 2>/dev/null; then :
177
179
as_have_required=yes
179
181
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
183
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
191
test -z "$as_dir" && as_dir=.
249
195
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
196
# Try only shells that exist, to save several forks.
197
as_shell=$as_dir/$as_base
198
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200
CONFIG_SHELL=$as_shell as_have_required=yes
201
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211
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
216
if test "x$CONFIG_SHELL" != x; then :
217
# We cannot yet assume a decent shell, so we have to provide a
218
# neutralization value for shells without unset; and this also
219
# works around shells that cannot unset nonexistent variables.
220
# Preserve -v and -x to the replacement shell.
223
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
224
export CONFIG_SHELL
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
226
*v*x* | *x*v* ) as_opts=-vx ;;
231
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234
if test x$as_have_required = xno; then :
235
$as_echo "$0: This script requires a shell more modern than all"
236
$as_echo "$0: the shells that I found on your system."
237
if test x${ZSH_VERSION+set} = xset ; then
238
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
241
$as_echo "$0: Please tell bug-autoconf@gnu.org and
242
$0: https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon
243
$0: about your system, including any error possibly output
244
$0: before this message. Then install a modern shell, or
245
$0: manually run the script under such a shell if you do
252
SHELL=${CONFIG_SHELL-/bin/sh}
254
# Unset more variables known to interfere with behavior of common tools.
255
CLICOLOR_FORCE= GREP_OPTIONS=
256
unset CLICOLOR_FORCE GREP_OPTIONS
258
## --------------------- ##
259
## M4sh Shell Functions. ##
260
## --------------------- ##
263
# Portably unset VAR.
266
{ eval $1=; unset $1;}
270
# as_fn_set_status STATUS
271
# -----------------------
272
# Set $? to STATUS, without forking.
280
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290
# Create "$as_dir" as a directory, including parents if necessary.
295
-*) as_dir=./$as_dir;;
297
test -d "$as_dir" || eval $as_mkdir_p || {
301
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304
as_dirs="'$as_qdir' $as_dirs"
305
as_dir=`$as_dirname -- "$as_dir" ||
306
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307
X"$as_dir" : 'X\(//\)[^/]' \| \
308
X"$as_dir" : 'X\(//\)$' \| \
309
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310
$as_echo X"$as_dir" |
311
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328
test -d "$as_dir" && break
330
test -z "$as_dirs" || eval "mkdir $as_dirs"
331
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
335
# as_fn_append VAR VALUE
336
# ----------------------
337
# Append the text in VALUE to the end of the definition contained in VAR. Take
338
# advantage of any shell optimizations that allow amortized linear growth over
339
# repeated appends, instead of the typical quadratic growth present in naive
341
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342
eval 'as_fn_append ()
355
# Perform arithmetic evaluation on the ARGs, and store the result in the
356
# global $as_val. Take advantage of shells that can avoid forks. The arguments
357
# must be portable across $(()) and expr.
358
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366
as_val=`expr "$@" || test $? -eq 1`
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
372
# ----------------------------------------
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375
# script with STATUS, using 1 if that was 0.
378
as_status=$1; test $as_status -eq 0 && as_status=1
380
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383
$as_echo "$as_me: error: $2" >&2
384
as_fn_exit $as_status
387
if expr a : '\(a\)' >/dev/null 2>&1 &&
388
test "X`expr 00001 : '.*\(...\)'`" = X001; then
394
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406
as_me=`$as_basename -- "$0" ||
407
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408
X"$0" : 'X\(//\)$' \| \
409
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411
sed '/^.*\/\([^/][^/]*\)\/*$/{
425
# Avoid depending upon Character Ranges.
426
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429
as_cr_digits='0123456789'
430
as_cr_alnum=$as_cr_Letters$as_cr_digits
433
as_lineno_1=$LINENO as_lineno_1a=$LINENO
434
as_lineno_2=$LINENO as_lineno_2a=$LINENO
435
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1510
1464
test -n "$ac_init_help" && exit $ac_status
1511
1465
if $ac_init_version; then
1513
transmageddon configure 0.16
1514
generated by GNU Autoconf 2.63
1467
transmageddon configure 0.20
1468
generated by GNU Autoconf 2.68
1516
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1517
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1470
Copyright (C) 2010 Free Software Foundation, Inc.
1518
1471
This configure script is free software; the Free Software Foundation
1519
1472
gives unlimited permission to copy, distribute and modify it.
1477
## ------------------------ ##
1478
## Autoconf initialization. ##
1479
## ------------------------ ##
1481
# ac_fn_c_try_compile LINENO
1482
# --------------------------
1483
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1484
ac_fn_c_try_compile ()
1486
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487
rm -f conftest.$ac_objext
1488
if { { ac_try="$ac_compile"
1490
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491
*) ac_try_echo=$ac_try;;
1493
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494
$as_echo "$ac_try_echo"; } >&5
1495
(eval "$ac_compile") 2>conftest.err
1497
if test -s conftest.err; then
1498
grep -v '^ *+' conftest.err >conftest.er1
1499
cat conftest.er1 >&5
1500
mv -f conftest.er1 conftest.err
1502
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503
test $ac_status = 0; } && {
1504
test -z "$ac_c_werror_flag" ||
1505
test ! -s conftest.err
1506
} && test -s conftest.$ac_objext; then :
1509
$as_echo "$as_me: failed program was:" >&5
1510
sed 's/^/| /' conftest.$ac_ext >&5
1514
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515
as_fn_set_status $ac_retval
1517
} # ac_fn_c_try_compile
1519
# ac_fn_c_try_cpp LINENO
1520
# ----------------------
1521
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1524
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525
if { { ac_try="$ac_cpp conftest.$ac_ext"
1527
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1528
*) ac_try_echo=$ac_try;;
1530
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531
$as_echo "$ac_try_echo"; } >&5
1532
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1534
if test -s conftest.err; then
1535
grep -v '^ *+' conftest.err >conftest.er1
1536
cat conftest.er1 >&5
1537
mv -f conftest.er1 conftest.err
1539
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540
test $ac_status = 0; } > conftest.i && {
1541
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1542
test ! -s conftest.err
1546
$as_echo "$as_me: failed program was:" >&5
1547
sed 's/^/| /' conftest.$ac_ext >&5
1551
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1552
as_fn_set_status $ac_retval
1556
# ac_fn_c_try_run LINENO
1557
# ----------------------
1558
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1559
# that executables *can* be run.
1562
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563
if { { ac_try="$ac_link"
1565
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566
*) ac_try_echo=$ac_try;;
1568
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569
$as_echo "$ac_try_echo"; } >&5
1570
(eval "$ac_link") 2>&5
1572
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1574
{ { case "(($ac_try" in
1575
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576
*) ac_try_echo=$ac_try;;
1578
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579
$as_echo "$ac_try_echo"; } >&5
1580
(eval "$ac_try") 2>&5
1582
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583
test $ac_status = 0; }; }; then :
1586
$as_echo "$as_me: program exited with status $ac_status" >&5
1587
$as_echo "$as_me: failed program was:" >&5
1588
sed 's/^/| /' conftest.$ac_ext >&5
1590
ac_retval=$ac_status
1592
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1593
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594
as_fn_set_status $ac_retval
1598
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1599
# -------------------------------------------------------
1600
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1601
# the include files in INCLUDES and setting the cache variable VAR
1603
ac_fn_c_check_header_mongrel ()
1605
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606
if eval \${$3+:} false; then :
1607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608
$as_echo_n "checking for $2... " >&6; }
1609
if eval \${$3+:} false; then :
1610
$as_echo_n "(cached) " >&6
1613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614
$as_echo "$ac_res" >&6; }
1616
# Is the header compilable?
1617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1618
$as_echo_n "checking $2 usability... " >&6; }
1619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620
/* end confdefs.h. */
1624
if ac_fn_c_try_compile "$LINENO"; then :
1625
ac_header_compiler=yes
1627
ac_header_compiler=no
1629
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1631
$as_echo "$ac_header_compiler" >&6; }
1633
# Is the header present?
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1635
$as_echo_n "checking $2 presence... " >&6; }
1636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637
/* end confdefs.h. */
1640
if ac_fn_c_try_cpp "$LINENO"; then :
1641
ac_header_preproc=yes
1643
ac_header_preproc=no
1645
rm -f conftest.err conftest.i conftest.$ac_ext
1646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1647
$as_echo "$ac_header_preproc" >&6; }
1649
# So? What about this header?
1650
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1652
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1653
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1654
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1655
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1658
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1659
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1660
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1661
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1662
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1663
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1664
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1665
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1666
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1667
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1668
( $as_echo "## ----------------------------------------------------------------------------- ##
1669
## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=transmageddon ##
1670
## ----------------------------------------------------------------------------- ##"
1671
) | sed "s/^/$as_me: WARNING: /" >&2
1674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675
$as_echo_n "checking for $2... " >&6; }
1676
if eval \${$3+:} false; then :
1677
$as_echo_n "(cached) " >&6
1679
eval "$3=\$ac_header_compiler"
1682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683
$as_echo "$ac_res" >&6; }
1685
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687
} # ac_fn_c_check_header_mongrel
1689
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1690
# -------------------------------------------------------
1691
# Tests whether HEADER exists and can be compiled using the include files in
1692
# INCLUDES, setting the cache variable VAR accordingly.
1693
ac_fn_c_check_header_compile ()
1695
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1697
$as_echo_n "checking for $2... " >&6; }
1698
if eval \${$3+:} false; then :
1699
$as_echo_n "(cached) " >&6
1701
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1702
/* end confdefs.h. */
1706
if ac_fn_c_try_compile "$LINENO"; then :
1711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1715
$as_echo "$ac_res" >&6; }
1716
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718
} # ac_fn_c_check_header_compile
1720
# ac_fn_c_try_link LINENO
1721
# -----------------------
1722
# Try to link conftest.$ac_ext, and return whether this succeeded.
1725
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726
rm -f conftest.$ac_objext conftest$ac_exeext
1727
if { { ac_try="$ac_link"
1729
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730
*) ac_try_echo=$ac_try;;
1732
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733
$as_echo "$ac_try_echo"; } >&5
1734
(eval "$ac_link") 2>conftest.err
1736
if test -s conftest.err; then
1737
grep -v '^ *+' conftest.err >conftest.er1
1738
cat conftest.er1 >&5
1739
mv -f conftest.er1 conftest.err
1741
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742
test $ac_status = 0; } && {
1743
test -z "$ac_c_werror_flag" ||
1744
test ! -s conftest.err
1745
} && test -s conftest$ac_exeext && {
1746
test "$cross_compiling" = yes ||
1747
$as_test_x conftest$ac_exeext
1751
$as_echo "$as_me: failed program was:" >&5
1752
sed 's/^/| /' conftest.$ac_ext >&5
1756
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1757
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1758
# interfere with the next link command; also delete a directory that is
1759
# left behind by Apple's compiler. We do this before executing the actions.
1760
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1761
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762
as_fn_set_status $ac_retval
1764
} # ac_fn_c_try_link
1766
# ac_fn_c_check_func LINENO FUNC VAR
1767
# ----------------------------------
1768
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1769
ac_fn_c_check_func ()
1771
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773
$as_echo_n "checking for $2... " >&6; }
1774
if eval \${$3+:} false; then :
1775
$as_echo_n "(cached) " >&6
1777
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778
/* end confdefs.h. */
1779
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1780
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1781
#define $2 innocuous_$2
1783
/* System header to define __stub macros and hopefully few prototypes,
1784
which can conflict with char $2 (); below.
1785
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1786
<limits.h> exists even on freestanding compilers. */
1789
# include <limits.h>
1791
# include <assert.h>
1796
/* Override any GCC internal prototype to avoid an error.
1797
Use char because int might match the return type of a GCC
1798
builtin and then its argument prototype would still apply. */
1803
/* The GNU C library defines this for functions which it implements
1804
to always fail with ENOSYS. Some functions are actually named
1805
something starting with __ and the normal name is an alias. */
1806
#if defined __stub_$2 || defined __stub___$2
1818
if ac_fn_c_try_link "$LINENO"; then :
1823
rm -f core conftest.err conftest.$ac_objext \
1824
conftest$ac_exeext conftest.$ac_ext
1827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828
$as_echo "$ac_res" >&6; }
1829
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831
} # ac_fn_c_check_func
1523
1832
cat >config.log <<_ACEOF
1524
1833
This file contains any messages produced by compilers while
1525
1834
running configure, to aid debugging if configure makes a mistake.
1527
It was created by transmageddon $as_me 0.16, which was
1528
generated by GNU Autoconf 2.63. Invocation command line was
1836
It was created by transmageddon $as_me 0.20, which was
1837
generated by GNU Autoconf 2.68. Invocation command line was
3458
if test -z "$ac_file"; then :
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460
$as_echo "no" >&6; }
3461
$as_echo "$as_me: failed program was:" >&5
3462
sed 's/^/| /' conftest.$ac_ext >&5
3281
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3464
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466
as_fn_error 77 "C compiler cannot create executables
3467
See \`config.log' for more details" "$LINENO" 5; }
3469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470
$as_echo "yes" >&6; }
3472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3473
$as_echo_n "checking for C compiler default output file name... " >&6; }
3474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3282
3475
$as_echo "$ac_file" >&6; }
3283
if test -z "$ac_file"; then
3284
$as_echo "$as_me: failed program was:" >&5
3285
sed 's/^/| /' conftest.$ac_ext >&5
3287
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3288
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3290
See \`config.log' for more details." >&5
3291
$as_echo "$as_me: error: C compiler cannot create executables
3292
See \`config.log' for more details." >&2;}
3293
{ (exit 77); exit 77; }; }; }
3296
3476
ac_exeext=$ac_cv_exeext
3298
# Check that the compiler produces executables we can run. If not, either
3299
# the compiler is broken, or we cross compile.
3300
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3301
$as_echo_n "checking whether the C compiler works... " >&6; }
3302
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3303
# If not cross compiling, check that we can run a simple program.
3304
if test "$cross_compiling" != yes; then
3305
if { ac_try='./$ac_file'
3306
{ (case "(($ac_try" in
3307
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308
*) ac_try_echo=$ac_try;;
3310
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3311
$as_echo "$ac_try_echo") >&5
3312
(eval "$ac_try") 2>&5
3314
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315
(exit $ac_status); }; }; then
3318
if test "$cross_compiling" = maybe; then
3321
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3322
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3324
If you meant to cross compile, use \`--host'.
3325
See \`config.log' for more details." >&5
3326
$as_echo "$as_me: error: cannot run C compiled programs.
3327
If you meant to cross compile, use \`--host'.
3328
See \`config.log' for more details." >&2;}
3329
{ (exit 1); exit 1; }; }; }
3333
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3334
$as_echo "yes" >&6; }
3336
3478
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3337
3479
ac_clean_files=$ac_clean_files_save
3338
# Check that the compiler produces executables we can run. If not, either
3339
# the compiler is broken, or we cross compile.
3340
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3341
$as_echo_n "checking whether we are cross compiling... " >&6; }
3342
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3343
$as_echo "$cross_compiling" >&6; }
3345
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3346
3481
$as_echo_n "checking for suffix of executables... " >&6; }
3347
if { (ac_try="$ac_link"
3482
if { { ac_try="$ac_link"
3348
3483
case "(($ac_try" in
3349
3484
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350
3485
*) ac_try_echo=$ac_try;;
3352
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3353
$as_echo "$ac_try_echo") >&5
3487
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488
$as_echo "$ac_try_echo"; } >&5
3354
3489
(eval "$ac_link") 2>&5
3356
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357
(exit $ac_status); }; then
3491
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492
test $ac_status = 0; }; then :
3358
3493
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3359
3494
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3360
3495
# work properly (i.e., refer to `conftest.exe'), while it won't with
3372
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3507
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3373
3508
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3375
See \`config.log' for more details." >&5
3376
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3377
See \`config.log' for more details." >&2;}
3378
{ (exit 1); exit 1; }; }; }
3509
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3510
See \`config.log' for more details" "$LINENO" 5; }
3381
rm -f conftest$ac_cv_exeext
3382
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3512
rm -f conftest conftest$ac_cv_exeext
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3383
3514
$as_echo "$ac_cv_exeext" >&6; }
3385
3516
rm -f conftest.$ac_ext
3386
3517
EXEEXT=$ac_cv_exeext
3387
3518
ac_exeext=$EXEEXT
3388
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
/* end confdefs.h. */
3525
FILE *f = fopen ("conftest.out", "w");
3526
return ferror (f) || fclose (f) != 0;
3532
ac_clean_files="$ac_clean_files conftest.out"
3533
# Check that the compiler produces executables we can run. If not, either
3534
# the compiler is broken, or we cross compile.
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536
$as_echo_n "checking whether we are cross compiling... " >&6; }
3537
if test "$cross_compiling" != yes; then
3538
{ { ac_try="$ac_link"
3540
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541
*) ac_try_echo=$ac_try;;
3543
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544
$as_echo "$ac_try_echo"; } >&5
3545
(eval "$ac_link") 2>&5
3547
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548
test $ac_status = 0; }
3549
if { ac_try='./conftest$ac_cv_exeext'
3550
{ { case "(($ac_try" in
3551
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552
*) ac_try_echo=$ac_try;;
3554
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555
$as_echo "$ac_try_echo"; } >&5
3556
(eval "$ac_try") 2>&5
3558
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559
test $ac_status = 0; }; }; then
3562
if test "$cross_compiling" = maybe; then
3565
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567
as_fn_error $? "cannot run C compiled programs.
3568
If you meant to cross compile, use \`--host'.
3569
See \`config.log' for more details" "$LINENO" 5; }
3573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574
$as_echo "$cross_compiling" >&6; }
3576
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577
ac_clean_files=$ac_clean_files_save
3578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3389
3579
$as_echo_n "checking for suffix of object files... " >&6; }
3390
if test "${ac_cv_objext+set}" = set; then
3580
if ${ac_cv_objext+:} false; then :
3391
3581
$as_echo_n "(cached) " >&6
3393
cat >conftest.$ac_ext <<_ACEOF
3396
cat confdefs.h >>conftest.$ac_ext
3397
cat >>conftest.$ac_ext <<_ACEOF
3583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398
3584
/* end confdefs.h. */
3766
3819
case "x$ac_cv_prog_cc_c89" in
3768
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
3821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3769
3822
$as_echo "none needed" >&6; } ;;
3771
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
3824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3772
3825
$as_echo "unsupported" >&6; } ;;
3774
3827
CC="$CC $ac_cv_prog_cc_c89"
3775
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3776
3829
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3781
ac_cpp='$CPP $CPPFLAGS'
3782
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3783
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3784
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3786
depcc="$CC" am_compiler_list=
3788
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3789
$as_echo_n "checking dependency style of $depcc... " >&6; }
3790
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3791
$as_echo_n "(cached) " >&6
3793
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3794
# We make a subdir and do the tests there. Otherwise we can end up
3795
# making bogus files that we don't know about and never remove. For
3796
# instance it was reported that on HP-UX the gcc test will end up
3797
# making a dummy file named `D' -- because `-MD' means `put the output
3800
# Copy depcomp to subdir because otherwise we won't find it if we're
3801
# using a relative directory.
3802
cp "$am_depcomp" conftest.dir
3804
# We will build objects and dependencies in a subdirectory because
3805
# it helps to detect inapplicable dependency modes. For instance
3806
# both Tru64's cc and ICC support -MD to output dependencies as a
3807
# side effect of compilation, but ICC will put the dependencies in
3808
# the current directory while Tru64 will put them in the object
3812
am_cv_CC_dependencies_compiler_type=none
3813
if test "$am_compiler_list" = ""; then
3814
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3817
case " $depcc " in #(
3818
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3821
for depmode in $am_compiler_list; do
3822
# Setup a source with many dependencies, because some compilers
3823
# like to wrap large dependency lists on column 80 (with \), and
3824
# we should not choose a depcomp mode which is confused by this.
3826
# We need to recreate these files for each test, as the compiler may
3827
# overwrite some of them when testing with obscure command lines.
3828
# This happens at least with the AIX C compiler.
3830
for i in 1 2 3 4 5 6; do
3831
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3832
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3833
# Solaris 8's {/usr,}/bin/sh.
3834
touch sub/conftst$i.h
3836
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3838
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3839
# mode. It turns out that the SunPro C++ compiler does not properly
3840
# handle `-M -o', and we need to detect this. Also, some Intel
3841
# versions had trouble with output in subdirs
3842
am__obj=sub/conftest.${OBJEXT-o}
3843
am__minus_obj="-o $am__obj"
3846
# This depmode causes a compiler race in universal mode.
3847
test "$am__universal" = false || continue
3850
# after this tag, mechanisms are not by side-effect, so they'll
3851
# only be used when explicitly requested
3852
if test "x$enable_dependency_tracking" = xyes; then
3858
msvisualcpp | msvcmsys)
3859
# This compiler won't grok `-c -o', but also, the minuso test has
3860
# not run yet. These depmodes are late enough in the game, and
3861
# so weak that their functioning should not be impacted.
3862
am__obj=conftest.${OBJEXT-o}
3867
if depmode=$depmode \
3868
source=sub/conftest.c object=$am__obj \
3869
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3870
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3871
>/dev/null 2>conftest.err &&
3872
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3873
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3874
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3875
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3876
# icc doesn't choke on unknown options, it will just issue warnings
3877
# or remarks (even with -Werror). So we grep stderr for any message
3878
# that says an option was ignored or not supported.
3879
# When given -MP, icc 7.0 and 7.1 complain thusly:
3880
# icc: Command line warning: ignoring option '-M'; no argument required
3881
# The diagnosis changed in icc 8.0:
3882
# icc: Command line remark: option '-MP' not supported
3883
if (grep 'ignoring option' conftest.err ||
3884
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3885
am_cv_CC_dependencies_compiler_type=$depmode
3894
am_cv_CC_dependencies_compiler_type=none
3898
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3899
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3900
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3903
test "x$enable_dependency_tracking" != xno \
3904
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3906
am__fastdepCC_FALSE='#'
3908
am__fastdepCC_TRUE='#'
3909
am__fastdepCC_FALSE=
3913
depcc="$CC" am_compiler_list=
3915
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3916
$as_echo_n "checking dependency style of $depcc... " >&6; }
3917
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3918
$as_echo_n "(cached) " >&6
3920
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3921
# We make a subdir and do the tests there. Otherwise we can end up
3922
# making bogus files that we don't know about and never remove. For
3923
# instance it was reported that on HP-UX the gcc test will end up
3924
# making a dummy file named `D' -- because `-MD' means `put the output
3927
# Copy depcomp to subdir because otherwise we won't find it if we're
3928
# using a relative directory.
3929
cp "$am_depcomp" conftest.dir
3931
# We will build objects and dependencies in a subdirectory because
3932
# it helps to detect inapplicable dependency modes. For instance
3933
# both Tru64's cc and ICC support -MD to output dependencies as a
3934
# side effect of compilation, but ICC will put the dependencies in
3935
# the current directory while Tru64 will put them in the object
3939
am_cv_CC_dependencies_compiler_type=none
3940
if test "$am_compiler_list" = ""; then
3941
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3944
case " $depcc " in #(
3945
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3948
for depmode in $am_compiler_list; do
3949
# Setup a source with many dependencies, because some compilers
3950
# like to wrap large dependency lists on column 80 (with \), and
3951
# we should not choose a depcomp mode which is confused by this.
3953
# We need to recreate these files for each test, as the compiler may
3954
# overwrite some of them when testing with obscure command lines.
3955
# This happens at least with the AIX C compiler.
3957
for i in 1 2 3 4 5 6; do
3958
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3959
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3960
# Solaris 8's {/usr,}/bin/sh.
3961
touch sub/conftst$i.h
3963
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3965
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3966
# mode. It turns out that the SunPro C++ compiler does not properly
3967
# handle `-M -o', and we need to detect this. Also, some Intel
3968
# versions had trouble with output in subdirs
3969
am__obj=sub/conftest.${OBJEXT-o}
3970
am__minus_obj="-o $am__obj"
3973
# This depmode causes a compiler race in universal mode.
3974
test "$am__universal" = false || continue
3977
# after this tag, mechanisms are not by side-effect, so they'll
3978
# only be used when explicitly requested
3979
if test "x$enable_dependency_tracking" = xyes; then
3985
msvisualcpp | msvcmsys)
3986
# This compiler won't grok `-c -o', but also, the minuso test has
3987
# not run yet. These depmodes are late enough in the game, and
3988
# so weak that their functioning should not be impacted.
3989
am__obj=conftest.${OBJEXT-o}
3994
if depmode=$depmode \
3995
source=sub/conftest.c object=$am__obj \
3996
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3997
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3998
>/dev/null 2>conftest.err &&
3999
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4000
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4001
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4002
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4003
# icc doesn't choke on unknown options, it will just issue warnings
4004
# or remarks (even with -Werror). So we grep stderr for any message
4005
# that says an option was ignored or not supported.
4006
# When given -MP, icc 7.0 and 7.1 complain thusly:
4007
# icc: Command line warning: ignoring option '-M'; no argument required
4008
# The diagnosis changed in icc 8.0:
4009
# icc: Command line remark: option '-MP' not supported
4010
if (grep 'ignoring option' conftest.err ||
4011
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4012
am_cv_CC_dependencies_compiler_type=$depmode
4021
am_cv_CC_dependencies_compiler_type=none
4025
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4026
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4027
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4030
test "x$enable_dependency_tracking" != xno \
4031
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4033
am__fastdepCC_FALSE='#'
4035
am__fastdepCC_TRUE='#'
4036
am__fastdepCC_FALSE=
4042
ac_cpp='$CPP $CPPFLAGS'
4043
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4044
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4045
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3831
if test "x$ac_cv_prog_cc_c89" != xno; then :
3836
ac_cpp='$CPP $CPPFLAGS'
3837
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841
depcc="$CC" am_compiler_list=
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3844
$as_echo_n "checking dependency style of $depcc... " >&6; }
3845
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3846
$as_echo_n "(cached) " >&6
3848
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3849
# We make a subdir and do the tests there. Otherwise we can end up
3850
# making bogus files that we don't know about and never remove. For
3851
# instance it was reported that on HP-UX the gcc test will end up
3852
# making a dummy file named `D' -- because `-MD' means `put the output
3855
# Copy depcomp to subdir because otherwise we won't find it if we're
3856
# using a relative directory.
3857
cp "$am_depcomp" conftest.dir
3859
# We will build objects and dependencies in a subdirectory because
3860
# it helps to detect inapplicable dependency modes. For instance
3861
# both Tru64's cc and ICC support -MD to output dependencies as a
3862
# side effect of compilation, but ICC will put the dependencies in
3863
# the current directory while Tru64 will put them in the object
3867
am_cv_CC_dependencies_compiler_type=none
3868
if test "$am_compiler_list" = ""; then
3869
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3872
case " $depcc " in #(
3873
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3876
for depmode in $am_compiler_list; do
3877
# Setup a source with many dependencies, because some compilers
3878
# like to wrap large dependency lists on column 80 (with \), and
3879
# we should not choose a depcomp mode which is confused by this.
3881
# We need to recreate these files for each test, as the compiler may
3882
# overwrite some of them when testing with obscure command lines.
3883
# This happens at least with the AIX C compiler.
3885
for i in 1 2 3 4 5 6; do
3886
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3887
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3888
# Solaris 8's {/usr,}/bin/sh.
3889
touch sub/conftst$i.h
3891
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3893
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3894
# mode. It turns out that the SunPro C++ compiler does not properly
3895
# handle `-M -o', and we need to detect this. Also, some Intel
3896
# versions had trouble with output in subdirs
3897
am__obj=sub/conftest.${OBJEXT-o}
3898
am__minus_obj="-o $am__obj"
3901
# This depmode causes a compiler race in universal mode.
3902
test "$am__universal" = false || continue
3905
# after this tag, mechanisms are not by side-effect, so they'll
3906
# only be used when explicitly requested
3907
if test "x$enable_dependency_tracking" = xyes; then
3913
msvisualcpp | msvcmsys)
3914
# This compiler won't grok `-c -o', but also, the minuso test has
3915
# not run yet. These depmodes are late enough in the game, and
3916
# so weak that their functioning should not be impacted.
3917
am__obj=conftest.${OBJEXT-o}
3922
if depmode=$depmode \
3923
source=sub/conftest.c object=$am__obj \
3924
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3925
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3926
>/dev/null 2>conftest.err &&
3927
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3928
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3929
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3930
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3931
# icc doesn't choke on unknown options, it will just issue warnings
3932
# or remarks (even with -Werror). So we grep stderr for any message
3933
# that says an option was ignored or not supported.
3934
# When given -MP, icc 7.0 and 7.1 complain thusly:
3935
# icc: Command line warning: ignoring option '-M'; no argument required
3936
# The diagnosis changed in icc 8.0:
3937
# icc: Command line remark: option '-MP' not supported
3938
if (grep 'ignoring option' conftest.err ||
3939
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3940
am_cv_CC_dependencies_compiler_type=$depmode
3949
am_cv_CC_dependencies_compiler_type=none
3953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3954
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3955
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3958
test "x$enable_dependency_tracking" != xno \
3959
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3961
am__fastdepCC_FALSE='#'
3963
am__fastdepCC_TRUE='#'
3964
am__fastdepCC_FALSE=
3970
ac_cpp='$CPP $CPPFLAGS'
3971
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3972
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3973
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4047
3975
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4048
3976
# On Suns, sometimes $CPP names a directory.
4049
3977
if test -n "$CPP" && test -d "$CPP"; then
4052
3980
if test -z "$CPP"; then
4053
if test "${ac_cv_prog_CPP+set}" = set; then
3981
if ${ac_cv_prog_CPP+:} false; then :
4054
3982
$as_echo_n "(cached) " >&6
4056
3984
# Double quotes because CPP needs to be expanded
4542
rm -f conftest$ac_exeext
4543
if { (ac_try="$ac_link"
4545
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546
*) ac_try_echo=$ac_try;;
4548
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4549
$as_echo "$ac_try_echo") >&5
4550
(eval "$ac_link") 2>&5
4552
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4554
{ (case "(($ac_try" in
4555
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556
*) ac_try_echo=$ac_try;;
4558
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4559
$as_echo "$ac_try_echo") >&5
4560
(eval "$ac_try") 2>&5
4562
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563
(exit $ac_status); }; }; then
4330
if ac_fn_c_try_run "$LINENO"; then :
4566
$as_echo "$as_me: program exited with status $ac_status" >&5
4567
$as_echo "$as_me: failed program was:" >&5
4568
sed 's/^/| /' conftest.$ac_ext >&5
4571
ac_cv_header_stdc=no
4573
rm -rf conftest.dSYM
4574
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4580
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4333
ac_cv_header_stdc=no
4335
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4336
conftest.$ac_objext conftest.beam conftest.$ac_ext
4341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4581
4342
$as_echo "$ac_cv_header_stdc" >&6; }
4582
4343
if test $ac_cv_header_stdc = yes; then
4584
cat >>confdefs.h <<\_ACEOF
4585
#define STDC_HEADERS 1
4345
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4590
4349
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4600
4350
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4601
4351
inttypes.h stdint.h unistd.h
4603
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4604
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4605
$as_echo_n "checking for $ac_header... " >&6; }
4606
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4607
$as_echo_n "(cached) " >&6
4609
cat >conftest.$ac_ext <<_ACEOF
4612
cat confdefs.h >>conftest.$ac_ext
4613
cat >>conftest.$ac_ext <<_ACEOF
4614
/* end confdefs.h. */
4615
$ac_includes_default
4617
#include <$ac_header>
4619
rm -f conftest.$ac_objext
4620
if { (ac_try="$ac_compile"
4622
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623
*) ac_try_echo=$ac_try;;
4625
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4626
$as_echo "$ac_try_echo") >&5
4627
(eval "$ac_compile") 2>conftest.er1
4629
grep -v '^ *+' conftest.er1 >conftest.err
4631
cat conftest.err >&5
4632
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633
(exit $ac_status); } && {
4634
test -z "$ac_c_werror_flag" ||
4635
test ! -s conftest.err
4636
} && test -s conftest.$ac_objext; then
4637
eval "$as_ac_Header=yes"
4639
$as_echo "$as_me: failed program was:" >&5
4640
sed 's/^/| /' conftest.$ac_ext >&5
4642
eval "$as_ac_Header=no"
4645
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647
ac_res=`eval 'as_val=${'$as_ac_Header'}
4648
$as_echo "$as_val"'`
4649
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4650
$as_echo "$ac_res" >&6; }
4651
as_val=`eval 'as_val=${'$as_ac_Header'}
4652
$as_echo "$as_val"'`
4653
if test "x$as_val" = x""yes; then
4353
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4354
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4356
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4654
4357
cat >>confdefs.h <<_ACEOF
4655
4358
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4665
for ac_header in locale.h
4667
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4668
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4669
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4670
$as_echo_n "checking for $ac_header... " >&6; }
4671
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4672
$as_echo_n "(cached) " >&6
4674
ac_res=`eval 'as_val=${'$as_ac_Header'}
4675
$as_echo "$as_val"'`
4676
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4677
$as_echo "$ac_res" >&6; }
4679
# Is the header compilable?
4680
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4681
$as_echo_n "checking $ac_header usability... " >&6; }
4682
cat >conftest.$ac_ext <<_ACEOF
4685
cat confdefs.h >>conftest.$ac_ext
4686
cat >>conftest.$ac_ext <<_ACEOF
4687
/* end confdefs.h. */
4688
$ac_includes_default
4689
#include <$ac_header>
4691
rm -f conftest.$ac_objext
4692
if { (ac_try="$ac_compile"
4694
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695
*) ac_try_echo=$ac_try;;
4697
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4698
$as_echo "$ac_try_echo") >&5
4699
(eval "$ac_compile") 2>conftest.er1
4701
grep -v '^ *+' conftest.er1 >conftest.err
4703
cat conftest.err >&5
4704
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705
(exit $ac_status); } && {
4706
test -z "$ac_c_werror_flag" ||
4707
test ! -s conftest.err
4708
} && test -s conftest.$ac_objext; then
4709
ac_header_compiler=yes
4711
$as_echo "$as_me: failed program was:" >&5
4712
sed 's/^/| /' conftest.$ac_ext >&5
4714
ac_header_compiler=no
4717
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4719
$as_echo "$ac_header_compiler" >&6; }
4721
# Is the header present?
4722
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4723
$as_echo_n "checking $ac_header presence... " >&6; }
4724
cat >conftest.$ac_ext <<_ACEOF
4727
cat confdefs.h >>conftest.$ac_ext
4728
cat >>conftest.$ac_ext <<_ACEOF
4729
/* end confdefs.h. */
4730
#include <$ac_header>
4732
if { (ac_try="$ac_cpp conftest.$ac_ext"
4734
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735
*) ac_try_echo=$ac_try;;
4737
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4738
$as_echo "$ac_try_echo") >&5
4739
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4741
grep -v '^ *+' conftest.er1 >conftest.err
4743
cat conftest.err >&5
4744
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
(exit $ac_status); } >/dev/null && {
4746
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4747
test ! -s conftest.err
4749
ac_header_preproc=yes
4751
$as_echo "$as_me: failed program was:" >&5
4752
sed 's/^/| /' conftest.$ac_ext >&5
4754
ac_header_preproc=no
4757
rm -f conftest.err conftest.$ac_ext
4758
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4759
$as_echo "$ac_header_preproc" >&6; }
4761
# So? What about this header?
4762
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4764
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4765
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4766
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4767
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4768
ac_header_preproc=yes
4771
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4772
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4773
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4774
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4775
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4776
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4777
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4778
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4779
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4780
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4781
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4782
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4784
## ------------------------------------------------------- ##
4785
## Report this to http://www.linuxrising.org/transmageddon ##
4786
## ------------------------------------------------------- ##
4788
) | sed "s/^/$as_me: WARNING: /" >&2
4791
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4792
$as_echo_n "checking for $ac_header... " >&6; }
4793
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4794
$as_echo_n "(cached) " >&6
4796
eval "$as_ac_Header=\$ac_header_preproc"
4798
ac_res=`eval 'as_val=${'$as_ac_Header'}
4799
$as_echo "$as_val"'`
4800
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4801
$as_echo "$ac_res" >&6; }
4804
as_val=`eval 'as_val=${'$as_ac_Header'}
4805
$as_echo "$as_val"'`
4806
if test "x$as_val" = x""yes; then
4367
for ac_header in locale.h
4369
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4370
if test "x$ac_cv_header_locale_h" = xyes; then :
4807
4371
cat >>confdefs.h <<_ACEOF
4808
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4372
#define HAVE_LOCALE_H 1
4888
if test "${ac_cv_header_libintl_h+set}" = set; then
4889
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
4890
$as_echo_n "checking for libintl.h... " >&6; }
4891
if test "${ac_cv_header_libintl_h+set}" = set; then
4892
$as_echo_n "(cached) " >&6
4894
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4895
$as_echo "$ac_cv_header_libintl_h" >&6; }
4897
# Is the header compilable?
4898
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
4899
$as_echo_n "checking libintl.h usability... " >&6; }
4900
cat >conftest.$ac_ext <<_ACEOF
4903
cat confdefs.h >>conftest.$ac_ext
4904
cat >>conftest.$ac_ext <<_ACEOF
4905
/* end confdefs.h. */
4906
$ac_includes_default
4907
#include <libintl.h>
4909
rm -f conftest.$ac_objext
4910
if { (ac_try="$ac_compile"
4912
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913
*) ac_try_echo=$ac_try;;
4915
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4916
$as_echo "$ac_try_echo") >&5
4917
(eval "$ac_compile") 2>conftest.er1
4919
grep -v '^ *+' conftest.er1 >conftest.err
4921
cat conftest.err >&5
4922
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923
(exit $ac_status); } && {
4924
test -z "$ac_c_werror_flag" ||
4925
test ! -s conftest.err
4926
} && test -s conftest.$ac_objext; then
4927
ac_header_compiler=yes
4929
$as_echo "$as_me: failed program was:" >&5
4930
sed 's/^/| /' conftest.$ac_ext >&5
4932
ac_header_compiler=no
4935
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4936
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4937
$as_echo "$ac_header_compiler" >&6; }
4939
# Is the header present?
4940
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
4941
$as_echo_n "checking libintl.h presence... " >&6; }
4942
cat >conftest.$ac_ext <<_ACEOF
4945
cat confdefs.h >>conftest.$ac_ext
4946
cat >>conftest.$ac_ext <<_ACEOF
4947
/* end confdefs.h. */
4948
#include <libintl.h>
4950
if { (ac_try="$ac_cpp conftest.$ac_ext"
4952
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4953
*) ac_try_echo=$ac_try;;
4955
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4956
$as_echo "$ac_try_echo") >&5
4957
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4959
grep -v '^ *+' conftest.er1 >conftest.err
4961
cat conftest.err >&5
4962
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963
(exit $ac_status); } >/dev/null && {
4964
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4965
test ! -s conftest.err
4967
ac_header_preproc=yes
4969
$as_echo "$as_me: failed program was:" >&5
4970
sed 's/^/| /' conftest.$ac_ext >&5
4972
ac_header_preproc=no
4975
rm -f conftest.err conftest.$ac_ext
4976
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4977
$as_echo "$ac_header_preproc" >&6; }
4979
# So? What about this header?
4980
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4982
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4983
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4984
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4985
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4986
ac_header_preproc=yes
4989
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4990
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4991
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4992
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4993
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4994
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4995
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4996
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4997
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4998
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4999
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5000
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5002
## ------------------------------------------------------- ##
5003
## Report this to http://www.linuxrising.org/transmageddon ##
5004
## ------------------------------------------------------- ##
5006
) | sed "s/^/$as_me: WARNING: /" >&2
5009
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
5010
$as_echo_n "checking for libintl.h... " >&6; }
5011
if test "${ac_cv_header_libintl_h+set}" = set; then
5012
$as_echo_n "(cached) " >&6
5014
ac_cv_header_libintl_h=$ac_header_preproc
5016
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5017
$as_echo "$ac_cv_header_libintl_h" >&6; }
5020
if test "x$ac_cv_header_libintl_h" = x""yes; then
4421
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4422
if test "x$ac_cv_header_libintl_h" = xyes; then :
5021
4423
gt_cv_func_dgettext_libintl="no"
5022
4424
libintl_extra_libs=""
5025
4427
# First check in libc
5027
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5028
4430
$as_echo_n "checking for ngettext in libc... " >&6; }
5029
if test "${gt_cv_func_ngettext_libc+set}" = set; then
4431
if ${gt_cv_func_ngettext_libc+:} false; then :
5030
4432
$as_echo_n "(cached) " >&6
5032
cat >conftest.$ac_ext <<_ACEOF
5035
cat confdefs.h >>conftest.$ac_ext
5036
cat >>conftest.$ac_ext <<_ACEOF
4434
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037
4435
/* end confdefs.h. */
5039
4437
#include <libintl.h>
5109
rm -f conftest.$ac_objext conftest$ac_exeext
5110
if { (ac_try="$ac_link"
5112
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5113
*) ac_try_echo=$ac_try;;
5115
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5116
$as_echo "$ac_try_echo") >&5
5117
(eval "$ac_link") 2>conftest.er1
5119
grep -v '^ *+' conftest.er1 >conftest.err
5121
cat conftest.err >&5
5122
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123
(exit $ac_status); } && {
5124
test -z "$ac_c_werror_flag" ||
5125
test ! -s conftest.err
5126
} && test -s conftest$ac_exeext && {
5127
test "$cross_compiling" = yes ||
5128
$as_test_x conftest$ac_exeext
4478
if ac_fn_c_try_link "$LINENO"; then :
5130
4479
gt_cv_func_dgettext_libc=yes
5132
$as_echo "$as_me: failed program was:" >&5
5133
sed 's/^/| /' conftest.$ac_ext >&5
5135
gt_cv_func_dgettext_libc=no
5138
rm -rf conftest.dSYM
5139
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5140
conftest$ac_exeext conftest.$ac_ext
5143
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4481
gt_cv_func_dgettext_libc=no
4483
rm -f core conftest.err conftest.$ac_objext \
4484
conftest$ac_exeext conftest.$ac_ext
4487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5144
4488
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5147
4491
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5149
for ac_func in bind_textdomain_codeset
5151
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5152
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5153
$as_echo_n "checking for $ac_func... " >&6; }
5154
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5155
$as_echo_n "(cached) " >&6
5157
cat >conftest.$ac_ext <<_ACEOF
5160
cat confdefs.h >>conftest.$ac_ext
5161
cat >>conftest.$ac_ext <<_ACEOF
5162
/* end confdefs.h. */
5163
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5164
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5165
#define $ac_func innocuous_$ac_func
5167
/* System header to define __stub macros and hopefully few prototypes,
5168
which can conflict with char $ac_func (); below.
5169
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5170
<limits.h> exists even on freestanding compilers. */
5173
# include <limits.h>
5175
# include <assert.h>
5180
/* Override any GCC internal prototype to avoid an error.
5181
Use char because int might match the return type of a GCC
5182
builtin and then its argument prototype would still apply. */
5187
/* The GNU C library defines this for functions which it implements
5188
to always fail with ENOSYS. Some functions are actually named
5189
something starting with __ and the normal name is an alias. */
5190
#if defined __stub_$ac_func || defined __stub___$ac_func
5202
rm -f conftest.$ac_objext conftest$ac_exeext
5203
if { (ac_try="$ac_link"
5205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5206
*) ac_try_echo=$ac_try;;
5208
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5209
$as_echo "$ac_try_echo") >&5
5210
(eval "$ac_link") 2>conftest.er1
5212
grep -v '^ *+' conftest.er1 >conftest.err
5214
cat conftest.err >&5
5215
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216
(exit $ac_status); } && {
5217
test -z "$ac_c_werror_flag" ||
5218
test ! -s conftest.err
5219
} && test -s conftest$ac_exeext && {
5220
test "$cross_compiling" = yes ||
5221
$as_test_x conftest$ac_exeext
5223
eval "$as_ac_var=yes"
5225
$as_echo "$as_me: failed program was:" >&5
5226
sed 's/^/| /' conftest.$ac_ext >&5
5228
eval "$as_ac_var=no"
5231
rm -rf conftest.dSYM
5232
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5233
conftest$ac_exeext conftest.$ac_ext
5235
ac_res=`eval 'as_val=${'$as_ac_var'}
5236
$as_echo "$as_val"'`
5237
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5238
$as_echo "$ac_res" >&6; }
5239
as_val=`eval 'as_val=${'$as_ac_var'}
5240
$as_echo "$as_val"'`
5241
if test "x$as_val" = x""yes; then
4492
for ac_func in bind_textdomain_codeset
4494
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4495
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5242
4496
cat >>confdefs.h <<_ACEOF
5243
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4497
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5619
4728
glib_save_LIBS="$LIBS"
5620
4729
LIBS="$LIBS -lintl $libintl_extra_libs"
5621
4730
unset ac_cv_func_bind_textdomain_codeset
5623
for ac_func in bind_textdomain_codeset
5625
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5626
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5627
$as_echo_n "checking for $ac_func... " >&6; }
5628
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5629
$as_echo_n "(cached) " >&6
5631
cat >conftest.$ac_ext <<_ACEOF
5634
cat confdefs.h >>conftest.$ac_ext
5635
cat >>conftest.$ac_ext <<_ACEOF
5636
/* end confdefs.h. */
5637
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5638
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5639
#define $ac_func innocuous_$ac_func
5641
/* System header to define __stub macros and hopefully few prototypes,
5642
which can conflict with char $ac_func (); below.
5643
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5644
<limits.h> exists even on freestanding compilers. */
5647
# include <limits.h>
5649
# include <assert.h>
5654
/* Override any GCC internal prototype to avoid an error.
5655
Use char because int might match the return type of a GCC
5656
builtin and then its argument prototype would still apply. */
5661
/* The GNU C library defines this for functions which it implements
5662
to always fail with ENOSYS. Some functions are actually named
5663
something starting with __ and the normal name is an alias. */
5664
#if defined __stub_$ac_func || defined __stub___$ac_func
5676
rm -f conftest.$ac_objext conftest$ac_exeext
5677
if { (ac_try="$ac_link"
5679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5680
*) ac_try_echo=$ac_try;;
5682
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5683
$as_echo "$ac_try_echo") >&5
5684
(eval "$ac_link") 2>conftest.er1
5686
grep -v '^ *+' conftest.er1 >conftest.err
5688
cat conftest.err >&5
5689
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
(exit $ac_status); } && {
5691
test -z "$ac_c_werror_flag" ||
5692
test ! -s conftest.err
5693
} && test -s conftest$ac_exeext && {
5694
test "$cross_compiling" = yes ||
5695
$as_test_x conftest$ac_exeext
5697
eval "$as_ac_var=yes"
5699
$as_echo "$as_me: failed program was:" >&5
5700
sed 's/^/| /' conftest.$ac_ext >&5
5702
eval "$as_ac_var=no"
5705
rm -rf conftest.dSYM
5706
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5707
conftest$ac_exeext conftest.$ac_ext
5709
ac_res=`eval 'as_val=${'$as_ac_var'}
5710
$as_echo "$as_val"'`
5711
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5712
$as_echo "$ac_res" >&6; }
5713
as_val=`eval 'as_val=${'$as_ac_var'}
5714
$as_echo "$as_val"'`
5715
if test "x$as_val" = x""yes; then
4731
for ac_func in bind_textdomain_codeset
4733
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4734
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5716
4735
cat >>confdefs.h <<_ACEOF
5717
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4736
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5778
4795
MSGFMT="$ac_cv_path_MSGFMT"
5779
4796
if test "$MSGFMT" != "no"; then
5780
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
4797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5781
4798
$as_echo "$MSGFMT" >&6; }
5783
{ $as_echo "$as_me:$LINENO: result: no" >&5
4800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784
4801
$as_echo "no" >&6; }
5786
4803
if test "$MSGFMT" != "no"; then
5787
4804
glib_save_LIBS="$LIBS"
5788
4805
LIBS="$LIBS $INTLLIBS"
5790
for ac_func in dcgettext
5792
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5793
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5794
$as_echo_n "checking for $ac_func... " >&6; }
5795
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5796
$as_echo_n "(cached) " >&6
5798
cat >conftest.$ac_ext <<_ACEOF
5801
cat confdefs.h >>conftest.$ac_ext
5802
cat >>conftest.$ac_ext <<_ACEOF
5803
/* end confdefs.h. */
5804
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5805
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5806
#define $ac_func innocuous_$ac_func
5808
/* System header to define __stub macros and hopefully few prototypes,
5809
which can conflict with char $ac_func (); below.
5810
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5811
<limits.h> exists even on freestanding compilers. */
5814
# include <limits.h>
5816
# include <assert.h>
5821
/* Override any GCC internal prototype to avoid an error.
5822
Use char because int might match the return type of a GCC
5823
builtin and then its argument prototype would still apply. */
5828
/* The GNU C library defines this for functions which it implements
5829
to always fail with ENOSYS. Some functions are actually named
5830
something starting with __ and the normal name is an alias. */
5831
#if defined __stub_$ac_func || defined __stub___$ac_func
5843
rm -f conftest.$ac_objext conftest$ac_exeext
5844
if { (ac_try="$ac_link"
5846
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5847
*) ac_try_echo=$ac_try;;
5849
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5850
$as_echo "$ac_try_echo") >&5
5851
(eval "$ac_link") 2>conftest.er1
5853
grep -v '^ *+' conftest.er1 >conftest.err
5855
cat conftest.err >&5
5856
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857
(exit $ac_status); } && {
5858
test -z "$ac_c_werror_flag" ||
5859
test ! -s conftest.err
5860
} && test -s conftest$ac_exeext && {
5861
test "$cross_compiling" = yes ||
5862
$as_test_x conftest$ac_exeext
5864
eval "$as_ac_var=yes"
5866
$as_echo "$as_me: failed program was:" >&5
5867
sed 's/^/| /' conftest.$ac_ext >&5
5869
eval "$as_ac_var=no"
5872
rm -rf conftest.dSYM
5873
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5874
conftest$ac_exeext conftest.$ac_ext
5876
ac_res=`eval 'as_val=${'$as_ac_var'}
5877
$as_echo "$as_val"'`
5878
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5879
$as_echo "$ac_res" >&6; }
5880
as_val=`eval 'as_val=${'$as_ac_var'}
5881
$as_echo "$as_val"'`
5882
if test "x$as_val" = x""yes; then
4806
for ac_func in dcgettext
4808
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
4809
if test "x$ac_cv_func_dcgettext" = xyes; then :
5883
4810
cat >>confdefs.h <<_ACEOF
5884
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4811
#define HAVE_DCGETTEXT 1
5891
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
4818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5892
4819
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5893
4820
cat >conftest.foo <<_ACEOF
6012
rm -f conftest.$ac_objext conftest$ac_exeext
6013
if { (ac_try="$ac_link"
6015
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016
*) ac_try_echo=$ac_try;;
6018
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6019
$as_echo "$ac_try_echo") >&5
6020
(eval "$ac_link") 2>conftest.er1
6022
grep -v '^ *+' conftest.er1 >conftest.err
6024
cat conftest.err >&5
6025
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026
(exit $ac_status); } && {
6027
test -z "$ac_c_werror_flag" ||
6028
test ! -s conftest.err
6029
} && test -s conftest$ac_exeext && {
6030
test "$cross_compiling" = yes ||
6031
$as_test_x conftest$ac_exeext
4935
if ac_fn_c_try_link "$LINENO"; then :
6034
4937
DATADIRNAME=share
6036
$as_echo "$as_me: failed program was:" >&5
6037
sed 's/^/| /' conftest.$ac_ext >&5
6041
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6042
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6043
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6044
$as_echo_n "(cached) " >&6
6046
cat >conftest.$ac_ext <<_ACEOF
6049
cat confdefs.h >>conftest.$ac_ext
6050
cat >>conftest.$ac_ext <<_ACEOF
6051
/* end confdefs.h. */
6052
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6053
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6054
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6056
/* System header to define __stub macros and hopefully few prototypes,
6057
which can conflict with char bind_textdomain_codeset (); below.
6058
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6059
<limits.h> exists even on freestanding compilers. */
6062
# include <limits.h>
6064
# include <assert.h>
6067
#undef bind_textdomain_codeset
6069
/* Override any GCC internal prototype to avoid an error.
6070
Use char because int might match the return type of a GCC
6071
builtin and then its argument prototype would still apply. */
6075
char bind_textdomain_codeset ();
6076
/* The GNU C library defines this for functions which it implements
6077
to always fail with ENOSYS. Some functions are actually named
6078
something starting with __ and the normal name is an alias. */
6079
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6086
return bind_textdomain_codeset ();
6091
rm -f conftest.$ac_objext conftest$ac_exeext
6092
if { (ac_try="$ac_link"
6094
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6095
*) ac_try_echo=$ac_try;;
6097
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6098
$as_echo "$ac_try_echo") >&5
6099
(eval "$ac_link") 2>conftest.er1
6101
grep -v '^ *+' conftest.er1 >conftest.err
6103
cat conftest.err >&5
6104
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105
(exit $ac_status); } && {
6106
test -z "$ac_c_werror_flag" ||
6107
test ! -s conftest.err
6108
} && test -s conftest$ac_exeext && {
6109
test "$cross_compiling" = yes ||
6110
$as_test_x conftest$ac_exeext
6112
ac_cv_func_bind_textdomain_codeset=yes
6114
$as_echo "$as_me: failed program was:" >&5
6115
sed 's/^/| /' conftest.$ac_ext >&5
6117
ac_cv_func_bind_textdomain_codeset=no
6120
rm -rf conftest.dSYM
6121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6122
conftest$ac_exeext conftest.$ac_ext
6124
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6125
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6126
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4941
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4942
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6128
4944
DATADIRNAME=share
6810
rm -f conftest.$ac_objext conftest$ac_exeext
6811
if { (ac_try="$ac_link"
6813
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6814
*) ac_try_echo=$ac_try;;
6816
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6817
$as_echo "$ac_try_echo") >&5
6818
(eval "$ac_link") 2>conftest.er1
6820
grep -v '^ *+' conftest.er1 >conftest.err
6822
cat conftest.err >&5
6823
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824
(exit $ac_status); } && {
6825
test -z "$ac_c_werror_flag" ||
6826
test ! -s conftest.err
6827
} && test -s conftest$ac_exeext && {
6828
test "$cross_compiling" = yes ||
6829
$as_test_x conftest$ac_exeext
5602
if ac_fn_c_try_link "$LINENO"; then :
6831
5603
DATADIRNAME=share
6833
$as_echo "$as_me: failed program was:" >&5
6834
sed 's/^/| /' conftest.$ac_ext >&5
6838
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6839
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6840
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6841
$as_echo_n "(cached) " >&6
6843
cat >conftest.$ac_ext <<_ACEOF
6846
cat confdefs.h >>conftest.$ac_ext
6847
cat >>conftest.$ac_ext <<_ACEOF
6848
/* end confdefs.h. */
6849
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6850
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6851
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6853
/* System header to define __stub macros and hopefully few prototypes,
6854
which can conflict with char bind_textdomain_codeset (); below.
6855
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6856
<limits.h> exists even on freestanding compilers. */
6859
# include <limits.h>
6861
# include <assert.h>
6864
#undef bind_textdomain_codeset
6866
/* Override any GCC internal prototype to avoid an error.
6867
Use char because int might match the return type of a GCC
6868
builtin and then its argument prototype would still apply. */
6872
char bind_textdomain_codeset ();
6873
/* The GNU C library defines this for functions which it implements
6874
to always fail with ENOSYS. Some functions are actually named
6875
something starting with __ and the normal name is an alias. */
6876
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6883
return bind_textdomain_codeset ();
6888
rm -f conftest.$ac_objext conftest$ac_exeext
6889
if { (ac_try="$ac_link"
6891
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6892
*) ac_try_echo=$ac_try;;
6894
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6895
$as_echo "$ac_try_echo") >&5
6896
(eval "$ac_link") 2>conftest.er1
6898
grep -v '^ *+' conftest.er1 >conftest.err
6900
cat conftest.err >&5
6901
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902
(exit $ac_status); } && {
6903
test -z "$ac_c_werror_flag" ||
6904
test ! -s conftest.err
6905
} && test -s conftest$ac_exeext && {
6906
test "$cross_compiling" = yes ||
6907
$as_test_x conftest$ac_exeext
6909
ac_cv_func_bind_textdomain_codeset=yes
6911
$as_echo "$as_me: failed program was:" >&5
6912
sed 's/^/| /' conftest.$ac_ext >&5
6914
ac_cv_func_bind_textdomain_codeset=no
6917
rm -rf conftest.dSYM
6918
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6919
conftest$ac_exeext conftest.$ac_ext
6921
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6922
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6923
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
5607
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5608
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6924
5609
DATADIRNAME=share
6926
5611
DATADIRNAME=lib