134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173
134
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
135
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
# is contrary to our usage. Disable this feature.
140
alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
case \`(set -o) 2>/dev/null\` in @%:@(
145
set -o posix ;; @%:@(
151
as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
exitcode=1; echo positional parameters were not saved.
167
test x\$exitcode = x0 || exit 1"
168
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1"
173
if (eval "$as_required") 2>/dev/null; then :
175
174
as_have_required=yes
177
176
as_have_required=no
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
178
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
186
test -z "$as_dir" && as_dir=.
188
case $as_dir in @%:@(
247
190
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
191
# Try only shells that exist, to save several forks.
192
as_shell=$as_dir/$as_base
193
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
CONFIG_SHELL=$as_shell as_have_required=yes
196
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
CONFIG_SHELL=$SHELL as_have_required=yes
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
211
if test "x$CONFIG_SHELL" != x; then :
212
# We cannot yet assume a decent shell, so we have to provide a
213
# neutralization value for shells without unset; and this also
214
# works around shells that cannot unset nonexistent variables.
217
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
218
export CONFIG_SHELL
366
219
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
222
if test x$as_have_required = xno; then :
223
$as_echo "$0: This script requires a shell more modern than all"
224
$as_echo "$0: the shells that I found on your system."
225
if test x${ZSH_VERSION+set} = xset ; then
226
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
229
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
$0: including any error possibly output before this
231
$0: message. Then install a modern shell, or manually run
232
$0: the script under such a shell if you do have one."
238
SHELL=${CONFIG_SHELL-/bin/sh}
240
# Unset more variables known to interfere with behavior of common tools.
241
CLICOLOR_FORCE= GREP_OPTIONS=
242
unset CLICOLOR_FORCE GREP_OPTIONS
244
## --------------------- ##
245
## M4sh Shell Functions. ##
246
## --------------------- ##
249
@%:@ Portably unset VAR.
252
{ eval $1=; unset $1;}
256
@%:@ as_fn_set_status STATUS
257
@%:@ -----------------------
258
@%:@ Set $? to STATUS, without forking.
262
} @%:@ as_fn_set_status
264
@%:@ as_fn_exit STATUS
265
@%:@ -----------------
266
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276
@%:@ Create "$as_dir" as a directory, including parents if necessary.
281
-*) as_dir=./$as_dir;;
283
test -d "$as_dir" || eval $as_mkdir_p || {
287
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
as_dirs="'$as_qdir' $as_dirs"
291
as_dir=`$as_dirname -- "$as_dir" ||
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
X"$as_dir" : 'X\(//\)[^/]' \| \
294
X"$as_dir" : 'X\(//\)$' \| \
295
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
$as_echo X"$as_dir" |
297
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314
test -d "$as_dir" && break
316
test -z "$as_dirs" || eval "mkdir $as_dirs"
317
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
@%:@ as_fn_append VAR VALUE
322
@%:@ ----------------------
323
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
324
@%:@ advantage of any shell optimizations that allow amortized linear growth over
325
@%:@ repeated appends, instead of the typical quadratic growth present in naive
326
@%:@ implementations.
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
eval 'as_fn_append ()
339
@%:@ as_fn_arith ARG...
340
@%:@ ------------------
341
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
342
@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments
343
@%:@ must be portable across $(()) and expr.
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
as_val=`expr "$@" || test $? -eq 1`
357
@%:@ as_fn_error ERROR [LINENO LOG_FD]
358
@%:@ ---------------------------------
359
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
@%:@ script with status $?, using 1 if that was 0.
364
as_status=$?; test $as_status -eq 0 && as_status=1
366
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369
$as_echo "$as_me: error: $1" >&2
370
as_fn_exit $as_status
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
as_me=`$as_basename -- "$0" ||
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394
X"$0" : 'X\(//\)$' \| \
395
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397
sed '/^.*\/\([^/][^/]*\)\/*$/{
411
# Avoid depending upon Character Ranges.
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415
as_cr_digits='0123456789'
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
as_lineno_1=$LINENO as_lineno_1a=$LINENO
420
as_lineno_2=$LINENO as_lineno_2a=$LINENO
421
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1507
1453
if $ac_init_version; then
1509
1455
src/ldm.c configure gtkgreet/ldmgtkgreeter.c
1510
generated by GNU Autoconf 2.63
1456
generated by GNU Autoconf 2.64
1512
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1513
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1458
Copyright (C) 2009 Free Software Foundation, Inc.
1514
1459
This configure script is free software; the Free Software Foundation
1515
1460
gives unlimited permission to copy, distribute and modify it.
1465
## ------------------------ ##
1466
## Autoconf initialization. ##
1467
## ------------------------ ##
1469
@%:@ ac_fn_c_try_compile LINENO
1470
@%:@ --------------------------
1471
@%:@ Try to compile conftest.$ac_ext, and return whether this succeeded.
1472
ac_fn_c_try_compile ()
1474
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475
rm -f conftest.$ac_objext
1476
if { { ac_try="$ac_compile"
1478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479
*) ac_try_echo=$ac_try;;
1481
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482
$as_echo "$ac_try_echo"; } >&5
1483
(eval "$ac_compile") 2>conftest.err
1485
if test -s conftest.err; then
1486
grep -v '^ *+' conftest.err >conftest.er1
1487
cat conftest.er1 >&5
1488
mv -f conftest.er1 conftest.err
1490
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491
test $ac_status = 0; } && {
1492
test -z "$ac_c_werror_flag" ||
1493
test ! -s conftest.err
1494
} && test -s conftest.$ac_objext; then :
1497
$as_echo "$as_me: failed program was:" >&5
1498
sed 's/^/| /' conftest.$ac_ext >&5
1502
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1505
} @%:@ ac_fn_c_try_compile
1507
@%:@ ac_fn_c_try_cpp LINENO
1508
@%:@ ----------------------
1509
@%:@ Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1512
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513
if { { ac_try="$ac_cpp conftest.$ac_ext"
1515
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516
*) ac_try_echo=$ac_try;;
1518
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519
$as_echo "$ac_try_echo"; } >&5
1520
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1522
if test -s conftest.err; then
1523
grep -v '^ *+' conftest.err >conftest.er1
1524
cat conftest.er1 >&5
1525
mv -f conftest.er1 conftest.err
1527
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528
test $ac_status = 0; } >/dev/null && {
1529
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1530
test ! -s conftest.err
1534
$as_echo "$as_me: failed program was:" >&5
1535
sed 's/^/| /' conftest.$ac_ext >&5
1539
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1542
} @%:@ ac_fn_c_try_cpp
1544
@%:@ ac_fn_c_try_run LINENO
1545
@%:@ ----------------------
1546
@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1547
@%:@ that executables *can* be run.
1550
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551
if { { ac_try="$ac_link"
1553
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554
*) ac_try_echo=$ac_try;;
1556
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557
$as_echo "$ac_try_echo"; } >&5
1558
(eval "$ac_link") 2>&5
1560
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1562
{ { case "(($ac_try" in
1563
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564
*) ac_try_echo=$ac_try;;
1566
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567
$as_echo "$ac_try_echo"; } >&5
1568
(eval "$ac_try") 2>&5
1570
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571
test $ac_status = 0; }; }; then :
1574
$as_echo "$as_me: program exited with status $ac_status" >&5
1575
$as_echo "$as_me: failed program was:" >&5
1576
sed 's/^/| /' conftest.$ac_ext >&5
1578
ac_retval=$ac_status
1580
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1581
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1584
} @%:@ ac_fn_c_try_run
1586
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1587
@%:@ -------------------------------------------------------
1588
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1589
@%:@ the include files in INCLUDES and setting the cache variable VAR
1591
ac_fn_c_check_header_mongrel ()
1593
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1596
$as_echo_n "checking for $2... " >&6; }
1597
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1598
$as_echo_n "(cached) " >&6
1601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1602
$as_echo "$ac_res" >&6; }
1604
# Is the header compilable?
1605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1606
$as_echo_n "checking $2 usability... " >&6; }
1607
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608
/* end confdefs.h. */
1612
if ac_fn_c_try_compile "$LINENO"; then :
1613
ac_header_compiler=yes
1615
ac_header_compiler=no
1617
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1619
$as_echo "$ac_header_compiler" >&6; }
1621
# Is the header present?
1622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1623
$as_echo_n "checking $2 presence... " >&6; }
1624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625
/* end confdefs.h. */
1628
if ac_fn_c_try_cpp "$LINENO"; then :
1629
ac_header_preproc=yes
1631
ac_header_preproc=no
1633
rm -f conftest.err conftest.$ac_ext
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1635
$as_echo "$ac_header_preproc" >&6; }
1637
# So? What about this header?
1638
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1640
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1641
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1643
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1646
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1647
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1648
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1649
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1650
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1651
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1652
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1653
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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}: checking for $2" >&5
1659
$as_echo_n "checking for $2... " >&6; }
1660
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1661
$as_echo_n "(cached) " >&6
1663
eval "$3=\$ac_header_compiler"
1666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667
$as_echo "$ac_res" >&6; }
1669
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671
} @%:@ ac_fn_c_check_header_mongrel
1673
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1674
@%:@ -------------------------------------------------------
1675
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1676
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1677
ac_fn_c_check_header_compile ()
1679
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681
$as_echo_n "checking for $2... " >&6; }
1682
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1683
$as_echo_n "(cached) " >&6
1685
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686
/* end confdefs.h. */
1690
if ac_fn_c_try_compile "$LINENO"; then :
1695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1699
$as_echo "$ac_res" >&6; }
1700
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702
} @%:@ ac_fn_c_check_header_compile
1704
@%:@ ac_fn_c_try_link LINENO
1705
@%:@ -----------------------
1706
@%:@ Try to link conftest.$ac_ext, and return whether this succeeded.
1709
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710
rm -f conftest.$ac_objext conftest$ac_exeext
1711
if { { ac_try="$ac_link"
1713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714
*) ac_try_echo=$ac_try;;
1716
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717
$as_echo "$ac_try_echo"; } >&5
1718
(eval "$ac_link") 2>conftest.err
1720
if test -s conftest.err; then
1721
grep -v '^ *+' conftest.err >conftest.er1
1722
cat conftest.er1 >&5
1723
mv -f conftest.er1 conftest.err
1725
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726
test $ac_status = 0; } && {
1727
test -z "$ac_c_werror_flag" ||
1728
test ! -s conftest.err
1729
} && test -s conftest$ac_exeext && {
1730
test "$cross_compiling" = yes ||
1731
$as_test_x conftest$ac_exeext
1735
$as_echo "$as_me: failed program was:" >&5
1736
sed 's/^/| /' conftest.$ac_ext >&5
1740
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1741
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1742
# interfere with the next link command; also delete a directory that is
1743
# left behind by Apple's compiler. We do this before executing the actions.
1744
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1745
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748
} @%:@ ac_fn_c_try_link
1750
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1751
@%:@ ----------------------------------
1752
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1753
ac_fn_c_check_func ()
1755
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757
$as_echo_n "checking for $2... " >&6; }
1758
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1759
$as_echo_n "(cached) " >&6
1761
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762
/* end confdefs.h. */
1763
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1764
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1765
#define $2 innocuous_$2
1767
/* System header to define __stub macros and hopefully few prototypes,
1768
which can conflict with char $2 (); below.
1769
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1770
<limits.h> exists even on freestanding compilers. */
1773
# include <limits.h>
1775
# include <assert.h>
1780
/* Override any GCC internal prototype to avoid an error.
1781
Use char because int might match the return type of a GCC
1782
builtin and then its argument prototype would still apply. */
1787
/* The GNU C library defines this for functions which it implements
1788
to always fail with ENOSYS. Some functions are actually named
1789
something starting with __ and the normal name is an alias. */
1790
#if defined __stub_$2 || defined __stub___$2
1802
if ac_fn_c_try_link "$LINENO"; then :
1807
rm -f core conftest.err conftest.$ac_objext \
1808
conftest$ac_exeext conftest.$ac_ext
1811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812
$as_echo "$ac_res" >&6; }
1813
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815
} @%:@ ac_fn_c_check_func
1519
1816
cat >config.log <<_ACEOF
1520
1817
This file contains any messages produced by compilers while
1521
1818
running configure, to aid debugging if configure makes a mistake.
1523
1820
It was created by src/ldm.c $as_me gtkgreet/ldmgtkgreeter.c, which was
1524
generated by GNU Autoconf 2.63. Invocation command line was
1821
generated by GNU Autoconf 2.64. Invocation command line was
2079
2354
# expand $ac_aux_dir to an absolute path
2080
2355
am_aux_dir=`cd $ac_aux_dir && pwd`
2082
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2357
if test x"${MISSING+set}" != xset; then
2360
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2362
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2083
2365
# Use eval to expand $SHELL
2084
2366
if eval "$MISSING --run true"; then
2085
2367
am_missing_run="$MISSING --run "
2087
2369
am_missing_run=
2088
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2370
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2089
2371
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2092
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2374
if test x"${install_sh}" != xset; then
2377
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2379
install_sh="\${SHELL} $am_aux_dir/install-sh"
2383
# Installed binaries are usually stripped using `strip' when the user
2384
# run `make install-strip'. However `strip' might not be the right
2385
# tool to use in cross-compilation environments, therefore Automake
2386
# will honor the `STRIP' environment variable to overrule this program.
2387
if test "$cross_compiling" != no; then
2388
if test -n "$ac_tool_prefix"; then
2389
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2390
set dummy ${ac_tool_prefix}strip; ac_word=$2
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392
$as_echo_n "checking for $ac_word... " >&6; }
2393
if test "${ac_cv_prog_STRIP+set}" = set; then :
2394
$as_echo_n "(cached) " >&6
2396
if test -n "$STRIP"; then
2397
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403
test -z "$as_dir" && as_dir=.
2404
for ac_exec_ext in '' $ac_executable_extensions; do
2405
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2407
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416
STRIP=$ac_cv_prog_STRIP
2417
if test -n "$STRIP"; then
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2419
$as_echo "$STRIP" >&6; }
2421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2422
$as_echo "no" >&6; }
2427
if test -z "$ac_cv_prog_STRIP"; then
2429
# Extract the first word of "strip", so it can be a program name with args.
2430
set dummy strip; ac_word=$2
2431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2432
$as_echo_n "checking for $ac_word... " >&6; }
2433
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2434
$as_echo_n "(cached) " >&6
2436
if test -n "$ac_ct_STRIP"; then
2437
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2439
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443
test -z "$as_dir" && as_dir=.
2444
for ac_exec_ext in '' $ac_executable_extensions; do
2445
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2446
ac_cv_prog_ac_ct_STRIP="strip"
2447
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2456
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2457
if test -n "$ac_ct_STRIP"; then
2458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2459
$as_echo "$ac_ct_STRIP" >&6; }
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2462
$as_echo "no" >&6; }
2465
if test "x$ac_ct_STRIP" = x; then
2468
case $cross_compiling:$ac_tool_warned in
2470
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2471
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2472
ac_tool_warned=yes ;;
2477
STRIP="$ac_cv_prog_STRIP"
2481
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2093
2484
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2094
2485
if test -z "$MKDIR_P"; then
2095
if test "${ac_cv_path_mkdir+set}" = set; then
2486
if test "${ac_cv_path_mkdir+set}" = set; then :
2096
2487
$as_echo_n "(cached) " >&6
2098
2489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263
2652
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2265
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2267
# Installed binaries are usually stripped using `strip' when the user
2268
# run `make install-strip'. However `strip' might not be the right
2269
# tool to use in cross-compilation environments, therefore Automake
2270
# will honor the `STRIP' environment variable to overrule this program.
2271
if test "$cross_compiling" != no; then
2272
if test -n "$ac_tool_prefix"; then
2273
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2274
set dummy ${ac_tool_prefix}strip; ac_word=$2
2275
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2276
$as_echo_n "checking for $ac_word... " >&6; }
2277
if test "${ac_cv_prog_STRIP+set}" = set; then
2278
$as_echo_n "(cached) " >&6
2280
if test -n "$STRIP"; then
2281
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287
test -z "$as_dir" && as_dir=.
2288
for ac_exec_ext in '' $ac_executable_extensions; do
2289
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2291
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300
STRIP=$ac_cv_prog_STRIP
2301
if test -n "$STRIP"; then
2302
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2303
$as_echo "$STRIP" >&6; }
2305
{ $as_echo "$as_me:$LINENO: result: no" >&5
2306
$as_echo "no" >&6; }
2311
if test -z "$ac_cv_prog_STRIP"; then
2313
# Extract the first word of "strip", so it can be a program name with args.
2314
set dummy strip; ac_word=$2
2315
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2316
$as_echo_n "checking for $ac_word... " >&6; }
2317
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2318
$as_echo_n "(cached) " >&6
2320
if test -n "$ac_ct_STRIP"; then
2321
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327
test -z "$as_dir" && as_dir=.
2328
for ac_exec_ext in '' $ac_executable_extensions; do
2329
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2330
ac_cv_prog_ac_ct_STRIP="strip"
2331
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2341
if test -n "$ac_ct_STRIP"; then
2342
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2343
$as_echo "$ac_ct_STRIP" >&6; }
2345
{ $as_echo "$as_me:$LINENO: result: no" >&5
2346
$as_echo "no" >&6; }
2349
if test "x$ac_ct_STRIP" = x; then
2352
case $cross_compiling:$ac_tool_warned in
2354
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2355
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2356
ac_tool_warned=yes ;;
2361
STRIP="$ac_cv_prog_STRIP"
2365
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2367
2654
# We need awk for the "check" target. The system "awk" is bad on
2368
2655
# some platforms.
2369
2656
# Always define AMTAR for backward compatibility.
2701
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2702
2990
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2703
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2704
See \`config.log' for more details." >&5
2705
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2706
See \`config.log' for more details." >&2;}
2707
{ (exit 1); exit 1; }; }; }
2991
as_fn_error "no acceptable C compiler found in \$PATH
2992
See \`config.log' for more details." "$LINENO" 5; }
2709
2994
# Provide some information about the compiler.
2710
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2995
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2711
2996
set X $ac_compile
2713
{ (ac_try="$ac_compiler --version >&5"
2715
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716
*) ac_try_echo=$ac_try;;
2718
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2719
$as_echo "$ac_try_echo") >&5
2720
(eval "$ac_compiler --version >&5") 2>&5
2722
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723
(exit $ac_status); }
2724
{ (ac_try="$ac_compiler -v >&5"
2726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727
*) ac_try_echo=$ac_try;;
2729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2730
$as_echo "$ac_try_echo") >&5
2731
(eval "$ac_compiler -v >&5") 2>&5
2733
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734
(exit $ac_status); }
2735
{ (ac_try="$ac_compiler -V >&5"
2737
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738
*) ac_try_echo=$ac_try;;
2740
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2741
$as_echo "$ac_try_echo") >&5
2742
(eval "$ac_compiler -V >&5") 2>&5
2744
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745
(exit $ac_status); }
2998
for ac_option in --version -v -V -qversion; do
2999
{ { ac_try="$ac_compiler $ac_option >&5"
3001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002
*) ac_try_echo=$ac_try;;
3004
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005
$as_echo "$ac_try_echo"; } >&5
3006
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3008
if test -s conftest.err; then
3010
... rest of stderr output deleted ...
3011
10q' conftest.err >conftest.er1
3012
cat conftest.er1 >&5
3013
rm -f conftest.er1 conftest.err
3015
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016
test $ac_status = 0; }
2747
cat >conftest.$ac_ext <<_ACEOF
2750
cat confdefs.h >>conftest.$ac_ext
2751
cat >>conftest.$ac_ext <<_ACEOF
3019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752
3020
/* end confdefs.h. */
3021
@%:@include <stdio.h>
3025
FILE *f = fopen ("conftest.out", "w");
3026
return ferror (f) || fclose (f) != 0;
2762
3032
ac_clean_files_save=$ac_clean_files
2763
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3033
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2764
3034
# Try to create an executable without -o first, disregard a.out.
2765
3035
# It will help us diagnose broken compilers, and finding out an intuition
2767
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2768
3038
$as_echo_n "checking for C compiler default output file name... " >&6; }
2769
3039
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2831
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2832
3101
$as_echo "$ac_file" >&6; }
2833
if test -z "$ac_file"; then
3102
if test -z "$ac_file"; then :
2834
3103
$as_echo "$as_me: failed program was:" >&5
2835
3104
sed 's/^/| /' conftest.$ac_ext >&5
2837
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3106
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2838
3107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2839
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2840
See \`config.log' for more details." >&5
2841
$as_echo "$as_me: error: C compiler cannot create executables
2842
See \`config.log' for more details." >&2;}
2843
{ (exit 77); exit 77; }; }; }
3108
{ as_fn_set_status 77
3109
as_fn_error "C compiler cannot create executables
3110
See \`config.log' for more details." "$LINENO" 5; }; }
2846
3112
ac_exeext=$ac_cv_exeext
2848
3114
# Check that the compiler produces executables we can run. If not, either
2849
3115
# the compiler is broken, or we cross compile.
2850
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2851
3117
$as_echo_n "checking whether the C compiler works... " >&6; }
2852
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2853
3118
# If not cross compiling, check that we can run a simple program.
2854
3119
if test "$cross_compiling" != yes; then
2855
3120
if { ac_try='./$ac_file'
2856
{ (case "(($ac_try" in
3121
{ { case "(($ac_try" in
2857
3122
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858
3123
*) ac_try_echo=$ac_try;;
2860
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2861
$as_echo "$ac_try_echo") >&5
3125
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126
$as_echo "$ac_try_echo"; } >&5
2862
3127
(eval "$ac_try") 2>&5
2864
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865
(exit $ac_status); }; }; then
3129
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130
test $ac_status = 0; }; }; then
2866
3131
cross_compiling=no
2868
3133
if test "$cross_compiling" = maybe; then
2869
3134
cross_compiling=yes
2871
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3136
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2872
3137
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2873
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2874
If you meant to cross compile, use \`--host'.
2875
See \`config.log' for more details." >&5
2876
$as_echo "$as_me: error: cannot run C compiled programs.
2877
If you meant to cross compile, use \`--host'.
2878
See \`config.log' for more details." >&2;}
2879
{ (exit 1); exit 1; }; }; }
3138
as_fn_error "cannot run C compiled programs.
3139
If you meant to cross compile, use \`--host'.
3140
See \`config.log' for more details." "$LINENO" 5; }
2883
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2884
3145
$as_echo "yes" >&6; }
2886
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3147
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2887
3148
ac_clean_files=$ac_clean_files_save
2888
3149
# Check that the compiler produces executables we can run. If not, either
2889
3150
# the compiler is broken, or we cross compile.
2890
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2891
3152
$as_echo_n "checking whether we are cross compiling... " >&6; }
2892
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2893
3154
$as_echo "$cross_compiling" >&6; }
2895
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2896
3157
$as_echo_n "checking for suffix of executables... " >&6; }
2897
if { (ac_try="$ac_link"
3158
if { { ac_try="$ac_link"
2898
3159
case "(($ac_try" in
2899
3160
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900
3161
*) ac_try_echo=$ac_try;;
2902
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2903
$as_echo "$ac_try_echo") >&5
3163
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164
$as_echo "$ac_try_echo"; } >&5
2904
3165
(eval "$ac_link") 2>&5
2906
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907
(exit $ac_status); }; then
3167
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168
test $ac_status = 0; }; then :
2908
3169
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2909
3170
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2910
3171
# work properly (i.e., refer to `conftest.exe'), while it won't with
3506
# Find a good install program. We prefer a C program (faster),
3507
# so one script is as good as another. But avoid the broken or
3508
# incompatible versions:
3509
# SysV /etc/install, /usr/sbin/install
3510
# SunOS /usr/etc/install
3511
# IRIX /sbin/install
3513
# AmigaOS /C/install, which installs bootblocks on floppy discs
3514
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3515
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3516
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3517
# OS/2's system install, which has a completely different semantic
3518
# ./install, which can be erroneously created by make from ./install.sh.
3519
# Reject install programs that cannot install multiple files.
3520
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3521
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3522
if test -z "$INSTALL"; then
3523
if test "${ac_cv_path_install+set}" = set; then
3524
$as_echo_n "(cached) " >&6
3526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530
test -z "$as_dir" && as_dir=.
3531
# Account for people who put trailing slashes in PATH elements.
3533
./ | .// | /cC/* | \
3534
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3535
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3538
# OSF1 and SCO ODT 3.0 have their own names for install.
3539
# Don't use installbsd from OSF since it installs stuff as root
3541
for ac_prog in ginstall scoinst install; do
3542
for ac_exec_ext in '' $ac_executable_extensions; do
3543
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3544
if test $ac_prog = install &&
3545
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3546
# AIX install. It has an incompatible calling convention.
3548
elif test $ac_prog = install &&
3549
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3550
# program-specific install script used by HP pwplus--don't use.
3553
rm -rf conftest.one conftest.two conftest.dir
3554
echo one > conftest.one
3555
echo two > conftest.two
3557
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3558
test -s conftest.one && test -s conftest.two &&
3559
test -s conftest.dir/conftest.one &&
3560
test -s conftest.dir/conftest.two
3562
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3575
rm -rf conftest.one conftest.two conftest.dir
3578
if test "${ac_cv_path_install+set}" = set; then
3579
INSTALL=$ac_cv_path_install
3581
# As a last resort, use the slow shell script. Don't cache a
3582
# value for INSTALL within a source directory, because that will
3583
# break other packages using the cache if that directory is
3584
# removed, or if the value is a relative name.
3585
INSTALL=$ac_install_sh
3588
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3589
$as_echo "$INSTALL" >&6; }
3591
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3592
# It thinks the first close brace ends the variable substitution.
3593
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3595
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3597
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3966
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3967
3913
$as_echo "$ac_cv_path_EGREP" >&6; }
3968
3914
EGREP="$ac_cv_path_EGREP"
3971
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3972
$as_echo_n "checking for ANSI C header files... " >&6; }
3973
if test "${ac_cv_header_stdc+set}" = set; then
3974
$as_echo_n "(cached) " >&6
3976
cat >conftest.$ac_ext <<_ACEOF
3979
cat confdefs.h >>conftest.$ac_ext
3980
cat >>conftest.$ac_ext <<_ACEOF
3981
/* end confdefs.h. */
3995
rm -f conftest.$ac_objext
3996
if { (ac_try="$ac_compile"
3998
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999
*) ac_try_echo=$ac_try;;
4001
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4002
$as_echo "$ac_try_echo") >&5
4003
(eval "$ac_compile") 2>conftest.er1
4005
grep -v '^ *+' conftest.er1 >conftest.err
4007
cat conftest.err >&5
4008
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009
(exit $ac_status); } && {
4010
test -z "$ac_c_werror_flag" ||
4011
test ! -s conftest.err
4012
} && test -s conftest.$ac_objext; then
4013
ac_cv_header_stdc=yes
4015
$as_echo "$as_me: failed program was:" >&5
4016
sed 's/^/| /' conftest.$ac_ext >&5
4018
ac_cv_header_stdc=no
4021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023
if test $ac_cv_header_stdc = yes; then
4024
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4025
cat >conftest.$ac_ext <<_ACEOF
4028
cat confdefs.h >>conftest.$ac_ext
4029
cat >>conftest.$ac_ext <<_ACEOF
4030
/* end confdefs.h. */
4034
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4035
$EGREP "memchr" >/dev/null 2>&1; then
4038
ac_cv_header_stdc=no
4044
if test $ac_cv_header_stdc = yes; then
4045
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4046
cat >conftest.$ac_ext <<_ACEOF
4049
cat confdefs.h >>conftest.$ac_ext
4050
cat >>conftest.$ac_ext <<_ACEOF
4051
/* end confdefs.h. */
4055
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4056
$EGREP "free" >/dev/null 2>&1; then
4059
ac_cv_header_stdc=no
4065
if test $ac_cv_header_stdc = yes; then
4066
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4067
if test "$cross_compiling" = yes; then
4070
cat >conftest.$ac_ext <<_ACEOF
4073
cat confdefs.h >>conftest.$ac_ext
4074
cat >>conftest.$ac_ext <<_ACEOF
4075
/* end confdefs.h. */
4078
#if ((' ' & 0x0FF) == 0x020)
4079
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4080
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4082
# define ISLOWER(c) \
4083
(('a' <= (c) && (c) <= 'i') \
4084
|| ('j' <= (c) && (c) <= 'r') \
4085
|| ('s' <= (c) && (c) <= 'z'))
4086
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4089
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4094
for (i = 0; i < 256; i++)
4095
if (XOR (islower (i), ISLOWER (i))
4096
|| toupper (i) != TOUPPER (i))
4101
rm -f conftest$ac_exeext
4102
if { (ac_try="$ac_link"
4104
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105
*) ac_try_echo=$ac_try;;
4107
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4108
$as_echo "$ac_try_echo") >&5
4109
(eval "$ac_link") 2>&5
4111
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4113
{ (case "(($ac_try" in
4114
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115
*) ac_try_echo=$ac_try;;
4117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4118
$as_echo "$ac_try_echo") >&5
4119
(eval "$ac_try") 2>&5
4121
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122
(exit $ac_status); }; }; then
4125
$as_echo "$as_me: program exited with status $ac_status" >&5
4126
$as_echo "$as_me: failed program was:" >&5
4127
sed 's/^/| /' conftest.$ac_ext >&5
4130
ac_cv_header_stdc=no
4132
rm -rf conftest.dSYM
4133
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4139
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4140
$as_echo "$ac_cv_header_stdc" >&6; }
4141
if test $ac_cv_header_stdc = yes; then
4143
cat >>confdefs.h <<\_ACEOF
4144
@%:@define STDC_HEADERS 1
4150
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4151
$as_echo_n "checking for ANSI C header files... " >&6; }
4152
if test "${ac_cv_header_stdc+set}" = set; then
4153
$as_echo_n "(cached) " >&6
4155
cat >conftest.$ac_ext <<_ACEOF
4158
cat confdefs.h >>conftest.$ac_ext
4159
cat >>conftest.$ac_ext <<_ACEOF
4160
/* end confdefs.h. */
4174
rm -f conftest.$ac_objext
4175
if { (ac_try="$ac_compile"
4177
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178
*) ac_try_echo=$ac_try;;
4180
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4181
$as_echo "$ac_try_echo") >&5
4182
(eval "$ac_compile") 2>conftest.er1
4184
grep -v '^ *+' conftest.er1 >conftest.err
4186
cat conftest.err >&5
4187
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188
(exit $ac_status); } && {
4189
test -z "$ac_c_werror_flag" ||
4190
test ! -s conftest.err
4191
} && test -s conftest.$ac_objext; then
4192
ac_cv_header_stdc=yes
4194
$as_echo "$as_me: failed program was:" >&5
4195
sed 's/^/| /' conftest.$ac_ext >&5
4197
ac_cv_header_stdc=no
4200
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202
if test $ac_cv_header_stdc = yes; then
4203
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4204
cat >conftest.$ac_ext <<_ACEOF
4207
cat confdefs.h >>conftest.$ac_ext
4208
cat >>conftest.$ac_ext <<_ACEOF
4209
/* end confdefs.h. */
4213
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4214
$EGREP "memchr" >/dev/null 2>&1; then
4217
ac_cv_header_stdc=no
4223
if test $ac_cv_header_stdc = yes; then
4224
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4225
cat >conftest.$ac_ext <<_ACEOF
4228
cat confdefs.h >>conftest.$ac_ext
4229
cat >>conftest.$ac_ext <<_ACEOF
4230
/* end confdefs.h. */
4234
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4235
$EGREP "free" >/dev/null 2>&1; then
4238
ac_cv_header_stdc=no
4244
if test $ac_cv_header_stdc = yes; then
4245
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4246
if test "$cross_compiling" = yes; then
4249
cat >conftest.$ac_ext <<_ACEOF
4252
cat confdefs.h >>conftest.$ac_ext
4253
cat >>conftest.$ac_ext <<_ACEOF
4254
/* end confdefs.h. */
4257
#if ((' ' & 0x0FF) == 0x020)
4258
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4259
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4261
# define ISLOWER(c) \
4262
(('a' <= (c) && (c) <= 'i') \
4263
|| ('j' <= (c) && (c) <= 'r') \
4264
|| ('s' <= (c) && (c) <= 'z'))
4265
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4268
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4273
for (i = 0; i < 256; i++)
4274
if (XOR (islower (i), ISLOWER (i))
4275
|| toupper (i) != TOUPPER (i))
4280
rm -f conftest$ac_exeext
4281
if { (ac_try="$ac_link"
4283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284
*) ac_try_echo=$ac_try;;
4286
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4287
$as_echo "$ac_try_echo") >&5
4288
(eval "$ac_link") 2>&5
4290
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4292
{ (case "(($ac_try" in
4293
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294
*) ac_try_echo=$ac_try;;
4296
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4297
$as_echo "$ac_try_echo") >&5
4298
(eval "$ac_try") 2>&5
4300
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301
(exit $ac_status); }; }; then
4304
$as_echo "$as_me: program exited with status $ac_status" >&5
4305
$as_echo "$as_me: failed program was:" >&5
4306
sed 's/^/| /' conftest.$ac_ext >&5
4309
ac_cv_header_stdc=no
4311
rm -rf conftest.dSYM
4312
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4318
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4319
$as_echo "$ac_cv_header_stdc" >&6; }
4320
if test $ac_cv_header_stdc = yes; then
4322
cat >>confdefs.h <<\_ACEOF
4323
@%:@define STDC_HEADERS 1
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3918
$as_echo_n "checking for ANSI C header files... " >&6; }
3919
if test "${ac_cv_header_stdc+set}" = set; then :
3920
$as_echo_n "(cached) " >&6
3922
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923
/* end confdefs.h. */
3937
if ac_fn_c_try_compile "$LINENO"; then :
3938
ac_cv_header_stdc=yes
3940
ac_cv_header_stdc=no
3942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3944
if test $ac_cv_header_stdc = yes; then
3945
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3946
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947
/* end confdefs.h. */
3951
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3952
$EGREP "memchr" >/dev/null 2>&1; then :
3955
ac_cv_header_stdc=no
3961
if test $ac_cv_header_stdc = yes; then
3962
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3963
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964
/* end confdefs.h. */
3968
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3969
$EGREP "free" >/dev/null 2>&1; then :
3972
ac_cv_header_stdc=no
3978
if test $ac_cv_header_stdc = yes; then
3979
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3980
if test "$cross_compiling" = yes; then :
3983
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984
/* end confdefs.h. */
3987
#if ((' ' & 0x0FF) == 0x020)
3988
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3989
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3991
# define ISLOWER(c) \
3992
(('a' <= (c) && (c) <= 'i') \
3993
|| ('j' <= (c) && (c) <= 'r') \
3994
|| ('s' <= (c) && (c) <= 'z'))
3995
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3998
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4003
for (i = 0; i < 256; i++)
4004
if (XOR (islower (i), ISLOWER (i))
4005
|| toupper (i) != TOUPPER (i))
4010
if ac_fn_c_try_run "$LINENO"; then :
4013
ac_cv_header_stdc=no
4015
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4016
conftest.$ac_objext conftest.beam conftest.$ac_ext
4021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4022
$as_echo "$ac_cv_header_stdc" >&6; }
4023
if test $ac_cv_header_stdc = yes; then
4025
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4031
$as_echo_n "checking for ANSI C header files... " >&6; }
4032
if test "${ac_cv_header_stdc+set}" = set; then :
4033
$as_echo_n "(cached) " >&6
4035
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036
/* end confdefs.h. */
4050
if ac_fn_c_try_compile "$LINENO"; then :
4051
ac_cv_header_stdc=yes
4053
ac_cv_header_stdc=no
4055
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4057
if test $ac_cv_header_stdc = yes; then
4058
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4059
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060
/* end confdefs.h. */
4064
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4065
$EGREP "memchr" >/dev/null 2>&1; then :
4068
ac_cv_header_stdc=no
4074
if test $ac_cv_header_stdc = yes; then
4075
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4076
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077
/* end confdefs.h. */
4081
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4082
$EGREP "free" >/dev/null 2>&1; then :
4085
ac_cv_header_stdc=no
4091
if test $ac_cv_header_stdc = yes; then
4092
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4093
if test "$cross_compiling" = yes; then :
4096
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097
/* end confdefs.h. */
4100
#if ((' ' & 0x0FF) == 0x020)
4101
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4102
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4104
# define ISLOWER(c) \
4105
(('a' <= (c) && (c) <= 'i') \
4106
|| ('j' <= (c) && (c) <= 'r') \
4107
|| ('s' <= (c) && (c) <= 'z'))
4108
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4111
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4116
for (i = 0; i < 256; i++)
4117
if (XOR (islower (i), ISLOWER (i))
4118
|| toupper (i) != TOUPPER (i))
4123
if ac_fn_c_try_run "$LINENO"; then :
4126
ac_cv_header_stdc=no
4128
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4129
conftest.$ac_objext conftest.beam conftest.$ac_ext
4134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4135
$as_echo "$ac_cv_header_stdc" >&6; }
4136
if test $ac_cv_header_stdc = yes; then
4138
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4328
4142
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4338
4143
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4339
4144
inttypes.h stdint.h unistd.h
4341
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4342
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4343
$as_echo_n "checking for $ac_header... " >&6; }
4344
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4345
$as_echo_n "(cached) " >&6
4347
cat >conftest.$ac_ext <<_ACEOF
4350
cat confdefs.h >>conftest.$ac_ext
4351
cat >>conftest.$ac_ext <<_ACEOF
4352
/* end confdefs.h. */
4353
$ac_includes_default
4355
@%:@include <$ac_header>
4357
rm -f conftest.$ac_objext
4358
if { (ac_try="$ac_compile"
4360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361
*) ac_try_echo=$ac_try;;
4363
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4364
$as_echo "$ac_try_echo") >&5
4365
(eval "$ac_compile") 2>conftest.er1
4367
grep -v '^ *+' conftest.er1 >conftest.err
4369
cat conftest.err >&5
4370
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371
(exit $ac_status); } && {
4372
test -z "$ac_c_werror_flag" ||
4373
test ! -s conftest.err
4374
} && test -s conftest.$ac_objext; then
4375
eval "$as_ac_Header=yes"
4377
$as_echo "$as_me: failed program was:" >&5
4378
sed 's/^/| /' conftest.$ac_ext >&5
4380
eval "$as_ac_Header=no"
4383
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385
ac_res=`eval 'as_val=${'$as_ac_Header'}
4386
$as_echo "$as_val"'`
4387
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4388
$as_echo "$ac_res" >&6; }
4389
as_val=`eval 'as_val=${'$as_ac_Header'}
4390
$as_echo "$as_val"'`
4391
if test "x$as_val" = x""yes; then
4146
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4147
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4149
eval as_val=\$$as_ac_Header
4150
if test "x$as_val" = x""yes; then :
4392
4151
cat >>confdefs.h <<_ACEOF
4393
4152
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4404
4160
for ac_header in syslog.h sys/wait.h fcntl.h
4406
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4407
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4408
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4409
$as_echo_n "checking for $ac_header... " >&6; }
4410
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4411
$as_echo_n "(cached) " >&6
4413
ac_res=`eval 'as_val=${'$as_ac_Header'}
4414
$as_echo "$as_val"'`
4415
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4416
$as_echo "$ac_res" >&6; }
4418
# Is the header compilable?
4419
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4420
$as_echo_n "checking $ac_header usability... " >&6; }
4421
cat >conftest.$ac_ext <<_ACEOF
4424
cat confdefs.h >>conftest.$ac_ext
4425
cat >>conftest.$ac_ext <<_ACEOF
4426
/* end confdefs.h. */
4427
$ac_includes_default
4428
@%:@include <$ac_header>
4430
rm -f conftest.$ac_objext
4431
if { (ac_try="$ac_compile"
4433
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434
*) ac_try_echo=$ac_try;;
4436
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4437
$as_echo "$ac_try_echo") >&5
4438
(eval "$ac_compile") 2>conftest.er1
4440
grep -v '^ *+' conftest.er1 >conftest.err
4442
cat conftest.err >&5
4443
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444
(exit $ac_status); } && {
4445
test -z "$ac_c_werror_flag" ||
4446
test ! -s conftest.err
4447
} && test -s conftest.$ac_objext; then
4448
ac_header_compiler=yes
4450
$as_echo "$as_me: failed program was:" >&5
4451
sed 's/^/| /' conftest.$ac_ext >&5
4453
ac_header_compiler=no
4456
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4457
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4458
$as_echo "$ac_header_compiler" >&6; }
4460
# Is the header present?
4461
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4462
$as_echo_n "checking $ac_header presence... " >&6; }
4463
cat >conftest.$ac_ext <<_ACEOF
4466
cat confdefs.h >>conftest.$ac_ext
4467
cat >>conftest.$ac_ext <<_ACEOF
4468
/* end confdefs.h. */
4469
@%:@include <$ac_header>
4471
if { (ac_try="$ac_cpp conftest.$ac_ext"
4473
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4474
*) ac_try_echo=$ac_try;;
4476
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4477
$as_echo "$ac_try_echo") >&5
4478
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4480
grep -v '^ *+' conftest.er1 >conftest.err
4482
cat conftest.err >&5
4483
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484
(exit $ac_status); } >/dev/null && {
4485
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4486
test ! -s conftest.err
4488
ac_header_preproc=yes
4490
$as_echo "$as_me: failed program was:" >&5
4491
sed 's/^/| /' conftest.$ac_ext >&5
4493
ac_header_preproc=no
4496
rm -f conftest.err conftest.$ac_ext
4497
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4498
$as_echo "$ac_header_preproc" >&6; }
4500
# So? What about this header?
4501
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4503
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4504
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4505
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4506
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4507
ac_header_preproc=yes
4510
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4511
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4512
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4513
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4514
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4515
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4516
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4517
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4518
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4519
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4520
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4521
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4525
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4526
$as_echo_n "checking for $ac_header... " >&6; }
4527
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4528
$as_echo_n "(cached) " >&6
4530
eval "$as_ac_Header=\$ac_header_preproc"
4532
ac_res=`eval 'as_val=${'$as_ac_Header'}
4533
$as_echo "$as_val"'`
4534
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4535
$as_echo "$ac_res" >&6; }
4538
as_val=`eval 'as_val=${'$as_ac_Header'}
4539
$as_echo "$as_val"'`
4540
if test "x$as_val" = x""yes; then
4162
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4163
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4164
eval as_val=\$$as_ac_Header
4165
if test "x$as_val" = x""yes; then :
4541
4166
cat >>confdefs.h <<_ACEOF
4542
4167
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4546
{ { $as_echo "$as_me:$LINENO: error: Required header missing" >&5
4547
$as_echo "$as_me: error: Required header missing" >&2;}
4548
{ (exit 1); exit 1; }; }
4171
as_fn_error "Required header missing" "$LINENO" 5
4555
{ $as_echo "$as_me:$LINENO: checking for main in -lutil" >&5
4177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lutil" >&5
4556
4178
$as_echo_n "checking for main in -lutil... " >&6; }
4557
if test "${ac_cv_lib_util_main+set}" = set; then
4179
if test "${ac_cv_lib_util_main+set}" = set; then :
4558
4180
$as_echo_n "(cached) " >&6
4560
4182
ac_check_lib_save_LIBS=$LIBS
4561
4183
LIBS="-lutil $LIBS"
4562
cat >conftest.$ac_ext <<_ACEOF
4565
cat confdefs.h >>conftest.$ac_ext
4566
cat >>conftest.$ac_ext <<_ACEOF
4184
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567
4185
/* end confdefs.h. */
4800
4391
# Put the nasty error message in config.log where it belongs
4801
4392
echo "$GLIB_PKG_ERRORS" >&5
4803
{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4807
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4808
installed software in a non-standard prefix.
4810
Alternatively, you may set the environment variables GLIB_CFLAGS
4811
and GLIB_LIBS to avoid the need to call pkg-config.
4812
See the pkg-config man page for more details.
4814
$as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4818
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4819
installed software in a non-standard prefix.
4821
Alternatively, you may set the environment variables GLIB_CFLAGS
4822
and GLIB_LIBS to avoid the need to call pkg-config.
4823
See the pkg-config man page for more details.
4825
{ (exit 1); exit 1; }; }
4394
as_fn_error "Package requirements (glib-2.0 >= 2.6.0) were not met:
4398
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4399
installed software in a non-standard prefix.
4401
Alternatively, you may set the environment variables GLIB_CFLAGS
4402
and GLIB_LIBS to avoid the need to call pkg-config.
4403
See the pkg-config man page for more details.
4826
4405
elif test $pkg_failed = untried; then
4827
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4406
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4828
4407
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4829
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4830
is in your PATH or set the PKG_CONFIG environment variable to the full
4833
Alternatively, you may set the environment variables GLIB_CFLAGS
4834
and GLIB_LIBS to avoid the need to call pkg-config.
4835
See the pkg-config man page for more details.
4837
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4838
See \`config.log' for more details." >&5
4839
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4840
is in your PATH or set the PKG_CONFIG environment variable to the full
4843
Alternatively, you may set the environment variables GLIB_CFLAGS
4844
and GLIB_LIBS to avoid the need to call pkg-config.
4845
See the pkg-config man page for more details.
4847
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4848
See \`config.log' for more details." >&2;}
4849
{ (exit 1); exit 1; }; }; }
4408
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
4409
is in your PATH or set the PKG_CONFIG environment variable to the full
4412
Alternatively, you may set the environment variables GLIB_CFLAGS
4413
and GLIB_LIBS to avoid the need to call pkg-config.
4414
See the pkg-config man page for more details.
4416
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4417
See \`config.log' for more details." "$LINENO" 5; }
4851
4419
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4852
4420
GLIB_LIBS=$pkg_cv_GLIB_LIBS
4853
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4854
4422
$as_echo "yes" >&6; }
4859
{ $as_echo "$as_me:$LINENO: checking for GOBJECT" >&5
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
4860
4428
$as_echo_n "checking for GOBJECT... " >&6; }
4862
4430
if test -n "$PKG_CONFIG"; then
4913
4481
# Put the nasty error message in config.log where it belongs
4914
4482
echo "$GOBJECT_PKG_ERRORS" >&5
4916
{ { $as_echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4920
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4921
installed software in a non-standard prefix.
4923
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4924
and GOBJECT_LIBS to avoid the need to call pkg-config.
4925
See the pkg-config man page for more details.
4927
$as_echo "$as_me: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4931
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4932
installed software in a non-standard prefix.
4934
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4935
and GOBJECT_LIBS to avoid the need to call pkg-config.
4936
See the pkg-config man page for more details.
4938
{ (exit 1); exit 1; }; }
4484
as_fn_error "Package requirements (gobject-2.0 >= 2.6.0) were not met:
4488
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4489
installed software in a non-standard prefix.
4491
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4492
and GOBJECT_LIBS to avoid the need to call pkg-config.
4493
See the pkg-config man page for more details.
4939
4495
elif test $pkg_failed = untried; then
4940
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4496
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941
4497
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4942
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4943
is in your PATH or set the PKG_CONFIG environment variable to the full
4946
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4947
and GOBJECT_LIBS to avoid the need to call pkg-config.
4948
See the pkg-config man page for more details.
4950
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4951
See \`config.log' for more details." >&5
4952
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4953
is in your PATH or set the PKG_CONFIG environment variable to the full
4956
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4957
and GOBJECT_LIBS to avoid the need to call pkg-config.
4958
See the pkg-config man page for more details.
4960
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4961
See \`config.log' for more details." >&2;}
4962
{ (exit 1); exit 1; }; }; }
4498
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
4499
is in your PATH or set the PKG_CONFIG environment variable to the full
4502
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4503
and GOBJECT_LIBS to avoid the need to call pkg-config.
4504
See the pkg-config man page for more details.
4506
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4507
See \`config.log' for more details." "$LINENO" 5; }
4964
4509
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
4965
4510
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
4966
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4967
4512
$as_echo "yes" >&6; }
4972
{ $as_echo "$as_me:$LINENO: checking for GTK" >&5
4517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
4973
4518
$as_echo_n "checking for GTK... " >&6; }
4975
4520
if test -n "$PKG_CONFIG"; then
5026
4571
# Put the nasty error message in config.log where it belongs
5027
4572
echo "$GTK_PKG_ERRORS" >&5
5029
{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.2) were not met:
5033
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5034
installed software in a non-standard prefix.
5036
Alternatively, you may set the environment variables GTK_CFLAGS
5037
and GTK_LIBS to avoid the need to call pkg-config.
5038
See the pkg-config man page for more details.
5040
$as_echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.2) were not met:
5044
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5045
installed software in a non-standard prefix.
5047
Alternatively, you may set the environment variables GTK_CFLAGS
5048
and GTK_LIBS to avoid the need to call pkg-config.
5049
See the pkg-config man page for more details.
5051
{ (exit 1); exit 1; }; }
4574
as_fn_error "Package requirements (gtk+-2.0 >= 2.2) were not met:
4578
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4579
installed software in a non-standard prefix.
4581
Alternatively, you may set the environment variables GTK_CFLAGS
4582
and GTK_LIBS to avoid the need to call pkg-config.
4583
See the pkg-config man page for more details.
5052
4585
elif test $pkg_failed = untried; then
5053
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4586
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5054
4587
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5055
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5056
is in your PATH or set the PKG_CONFIG environment variable to the full
5059
Alternatively, you may set the environment variables GTK_CFLAGS
5060
and GTK_LIBS to avoid the need to call pkg-config.
5061
See the pkg-config man page for more details.
5063
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5064
See \`config.log' for more details." >&5
5065
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5066
is in your PATH or set the PKG_CONFIG environment variable to the full
5069
Alternatively, you may set the environment variables GTK_CFLAGS
5070
and GTK_LIBS to avoid the need to call pkg-config.
5071
See the pkg-config man page for more details.
5073
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5074
See \`config.log' for more details." >&2;}
5075
{ (exit 1); exit 1; }; }; }
4588
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
4589
is in your PATH or set the PKG_CONFIG environment variable to the full
4592
Alternatively, you may set the environment variables GTK_CFLAGS
4593
and GTK_LIBS to avoid the need to call pkg-config.
4594
See the pkg-config man page for more details.
4596
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4597
See \`config.log' for more details." "$LINENO" 5; }
5077
4599
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5078
4600
GTK_LIBS=$pkg_cv_GTK_LIBS
5079
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5080
4602
$as_echo "yes" >&6; }
5643
rm -f conftest.$ac_objext conftest$ac_exeext
5644
if { (ac_try="$ac_link"
5646
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5647
*) ac_try_echo=$ac_try;;
5649
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5650
$as_echo "$ac_try_echo") >&5
5651
(eval "$ac_link") 2>conftest.er1
5653
grep -v '^ *+' conftest.er1 >conftest.err
5655
cat conftest.err >&5
5656
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657
(exit $ac_status); } && {
5658
test -z "$ac_c_werror_flag" ||
5659
test ! -s conftest.err
5660
} && test -s conftest$ac_exeext && {
5661
test "$cross_compiling" = yes ||
5662
$as_test_x conftest$ac_exeext
5145
if ac_fn_c_try_link "$LINENO"; then :
5664
5146
DATADIRNAME=share
5666
$as_echo "$as_me: failed program was:" >&5
5667
sed 's/^/| /' conftest.$ac_ext >&5
5671
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5672
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
5673
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5674
$as_echo_n "(cached) " >&6
5676
cat >conftest.$ac_ext <<_ACEOF
5679
cat confdefs.h >>conftest.$ac_ext
5680
cat >>conftest.$ac_ext <<_ACEOF
5681
/* end confdefs.h. */
5682
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5683
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5684
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5686
/* System header to define __stub macros and hopefully few prototypes,
5687
which can conflict with char bind_textdomain_codeset (); below.
5688
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689
<limits.h> exists even on freestanding compilers. */
5692
# include <limits.h>
5694
# include <assert.h>
5697
#undef bind_textdomain_codeset
5699
/* Override any GCC internal prototype to avoid an error.
5700
Use char because int might match the return type of a GCC
5701
builtin and then its argument prototype would still apply. */
5705
char bind_textdomain_codeset ();
5706
/* The GNU C library defines this for functions which it implements
5707
to always fail with ENOSYS. Some functions are actually named
5708
something starting with __ and the normal name is an alias. */
5709
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
5716
return bind_textdomain_codeset ();
5721
rm -f conftest.$ac_objext conftest$ac_exeext
5722
if { (ac_try="$ac_link"
5724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5725
*) ac_try_echo=$ac_try;;
5727
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5728
$as_echo "$ac_try_echo") >&5
5729
(eval "$ac_link") 2>conftest.er1
5731
grep -v '^ *+' conftest.er1 >conftest.err
5733
cat conftest.err >&5
5734
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735
(exit $ac_status); } && {
5736
test -z "$ac_c_werror_flag" ||
5737
test ! -s conftest.err
5738
} && test -s conftest$ac_exeext && {
5739
test "$cross_compiling" = yes ||
5740
$as_test_x conftest$ac_exeext
5742
ac_cv_func_bind_textdomain_codeset=yes
5744
$as_echo "$as_me: failed program was:" >&5
5745
sed 's/^/| /' conftest.$ac_ext >&5
5747
ac_cv_func_bind_textdomain_codeset=no
5750
rm -rf conftest.dSYM
5751
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5752
conftest$ac_exeext conftest.$ac_ext
5754
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5755
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
5756
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
5150
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5151
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5757
5152
DATADIRNAME=share
5759
5154
DATADIRNAME=lib
5782
for ac_header in locale.h
5784
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5785
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5786
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5787
$as_echo_n "checking for $ac_header... " >&6; }
5788
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5789
$as_echo_n "(cached) " >&6
5791
ac_res=`eval 'as_val=${'$as_ac_Header'}
5792
$as_echo "$as_val"'`
5793
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5794
$as_echo "$ac_res" >&6; }
5796
# Is the header compilable?
5797
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5798
$as_echo_n "checking $ac_header usability... " >&6; }
5799
cat >conftest.$ac_ext <<_ACEOF
5802
cat confdefs.h >>conftest.$ac_ext
5803
cat >>conftest.$ac_ext <<_ACEOF
5804
/* end confdefs.h. */
5805
$ac_includes_default
5806
@%:@include <$ac_header>
5808
rm -f conftest.$ac_objext
5809
if { (ac_try="$ac_compile"
5811
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5812
*) ac_try_echo=$ac_try;;
5814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5815
$as_echo "$ac_try_echo") >&5
5816
(eval "$ac_compile") 2>conftest.er1
5818
grep -v '^ *+' conftest.er1 >conftest.err
5820
cat conftest.err >&5
5821
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822
(exit $ac_status); } && {
5823
test -z "$ac_c_werror_flag" ||
5824
test ! -s conftest.err
5825
} && test -s conftest.$ac_objext; then
5826
ac_header_compiler=yes
5828
$as_echo "$as_me: failed program was:" >&5
5829
sed 's/^/| /' conftest.$ac_ext >&5
5831
ac_header_compiler=no
5834
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5835
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5836
$as_echo "$ac_header_compiler" >&6; }
5838
# Is the header present?
5839
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5840
$as_echo_n "checking $ac_header presence... " >&6; }
5841
cat >conftest.$ac_ext <<_ACEOF
5844
cat confdefs.h >>conftest.$ac_ext
5845
cat >>conftest.$ac_ext <<_ACEOF
5846
/* end confdefs.h. */
5847
@%:@include <$ac_header>
5849
if { (ac_try="$ac_cpp conftest.$ac_ext"
5851
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5852
*) ac_try_echo=$ac_try;;
5854
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5855
$as_echo "$ac_try_echo") >&5
5856
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5858
grep -v '^ *+' conftest.er1 >conftest.err
5860
cat conftest.err >&5
5861
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862
(exit $ac_status); } >/dev/null && {
5863
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5864
test ! -s conftest.err
5866
ac_header_preproc=yes
5868
$as_echo "$as_me: failed program was:" >&5
5869
sed 's/^/| /' conftest.$ac_ext >&5
5871
ac_header_preproc=no
5874
rm -f conftest.err conftest.$ac_ext
5875
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5876
$as_echo "$ac_header_preproc" >&6; }
5878
# So? What about this header?
5879
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5881
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5882
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5883
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5884
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5885
ac_header_preproc=yes
5888
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5889
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5890
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5891
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5892
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5893
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5894
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5895
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5896
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5897
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5898
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5899
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5903
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5904
$as_echo_n "checking for $ac_header... " >&6; }
5905
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5906
$as_echo_n "(cached) " >&6
5908
eval "$as_ac_Header=\$ac_header_preproc"
5910
ac_res=`eval 'as_val=${'$as_ac_Header'}
5911
$as_echo "$as_val"'`
5912
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5913
$as_echo "$ac_res" >&6; }
5916
as_val=`eval 'as_val=${'$as_ac_Header'}
5917
$as_echo "$as_val"'`
5918
if test "x$as_val" = x""yes; then
5174
for ac_header in locale.h
5176
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5177
if test "x$ac_cv_header_locale_h" = x""yes; then :
5919
5178
cat >>confdefs.h <<_ACEOF
5920
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5179
@%:@define HAVE_LOCALE_H 1
6000
if test "${ac_cv_header_libintl_h+set}" = set; then
6001
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6002
$as_echo_n "checking for libintl.h... " >&6; }
6003
if test "${ac_cv_header_libintl_h+set}" = set; then
6004
$as_echo_n "(cached) " >&6
6006
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6007
$as_echo "$ac_cv_header_libintl_h" >&6; }
6009
# Is the header compilable?
6010
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
6011
$as_echo_n "checking libintl.h usability... " >&6; }
6012
cat >conftest.$ac_ext <<_ACEOF
6015
cat confdefs.h >>conftest.$ac_ext
6016
cat >>conftest.$ac_ext <<_ACEOF
6017
/* end confdefs.h. */
6018
$ac_includes_default
6019
@%:@include <libintl.h>
6021
rm -f conftest.$ac_objext
6022
if { (ac_try="$ac_compile"
6024
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6025
*) ac_try_echo=$ac_try;;
6027
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6028
$as_echo "$ac_try_echo") >&5
6029
(eval "$ac_compile") 2>conftest.er1
6031
grep -v '^ *+' conftest.er1 >conftest.err
6033
cat conftest.err >&5
6034
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035
(exit $ac_status); } && {
6036
test -z "$ac_c_werror_flag" ||
6037
test ! -s conftest.err
6038
} && test -s conftest.$ac_objext; then
6039
ac_header_compiler=yes
6041
$as_echo "$as_me: failed program was:" >&5
6042
sed 's/^/| /' conftest.$ac_ext >&5
6044
ac_header_compiler=no
6047
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6048
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6049
$as_echo "$ac_header_compiler" >&6; }
6051
# Is the header present?
6052
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
6053
$as_echo_n "checking libintl.h presence... " >&6; }
6054
cat >conftest.$ac_ext <<_ACEOF
6057
cat confdefs.h >>conftest.$ac_ext
6058
cat >>conftest.$ac_ext <<_ACEOF
6059
/* end confdefs.h. */
6060
@%:@include <libintl.h>
6062
if { (ac_try="$ac_cpp conftest.$ac_ext"
6064
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6065
*) ac_try_echo=$ac_try;;
6067
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6068
$as_echo "$ac_try_echo") >&5
6069
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6071
grep -v '^ *+' conftest.er1 >conftest.err
6073
cat conftest.err >&5
6074
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075
(exit $ac_status); } >/dev/null && {
6076
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6077
test ! -s conftest.err
6079
ac_header_preproc=yes
6081
$as_echo "$as_me: failed program was:" >&5
6082
sed 's/^/| /' conftest.$ac_ext >&5
6084
ac_header_preproc=no
6087
rm -f conftest.err conftest.$ac_ext
6088
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6089
$as_echo "$ac_header_preproc" >&6; }
6091
# So? What about this header?
6092
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6094
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6095
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6096
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6097
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6098
ac_header_preproc=yes
6101
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6102
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6103
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6104
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6105
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6106
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6107
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6108
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6109
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6110
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6111
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6112
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6116
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6117
$as_echo_n "checking for libintl.h... " >&6; }
6118
if test "${ac_cv_header_libintl_h+set}" = set; then
6119
$as_echo_n "(cached) " >&6
6121
ac_cv_header_libintl_h=$ac_header_preproc
6123
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6124
$as_echo "$ac_cv_header_libintl_h" >&6; }
6127
if test "x$ac_cv_header_libintl_h" = x""yes; then
5228
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5229
if test "x$ac_cv_header_libintl_h" = x""yes; then :
6128
5230
gt_cv_func_dgettext_libintl="no"
6129
5231
libintl_extra_libs=""
6132
5234
# First check in libc
6134
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
6135
5237
$as_echo_n "checking for ngettext in libc... " >&6; }
6136
if test "${gt_cv_func_ngettext_libc+set}" = set; then
5238
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
6137
5239
$as_echo_n "(cached) " >&6
6139
cat >conftest.$ac_ext <<_ACEOF
6142
cat confdefs.h >>conftest.$ac_ext
6143
cat >>conftest.$ac_ext <<_ACEOF
5241
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6144
5242
/* end confdefs.h. */
6146
5244
#include <libintl.h>
6216
rm -f conftest.$ac_objext conftest$ac_exeext
6217
if { (ac_try="$ac_link"
6219
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6220
*) ac_try_echo=$ac_try;;
6222
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6223
$as_echo "$ac_try_echo") >&5
6224
(eval "$ac_link") 2>conftest.er1
6226
grep -v '^ *+' conftest.er1 >conftest.err
6228
cat conftest.err >&5
6229
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6230
(exit $ac_status); } && {
6231
test -z "$ac_c_werror_flag" ||
6232
test ! -s conftest.err
6233
} && test -s conftest$ac_exeext && {
6234
test "$cross_compiling" = yes ||
6235
$as_test_x conftest$ac_exeext
5285
if ac_fn_c_try_link "$LINENO"; then :
6237
5286
gt_cv_func_dgettext_libc=yes
6239
$as_echo "$as_me: failed program was:" >&5
6240
sed 's/^/| /' conftest.$ac_ext >&5
6242
gt_cv_func_dgettext_libc=no
5288
gt_cv_func_dgettext_libc=no
6245
rm -rf conftest.dSYM
6246
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6247
conftest$ac_exeext conftest.$ac_ext
5290
rm -f core conftest.err conftest.$ac_objext \
5291
conftest$ac_exeext conftest.$ac_ext
6250
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
6251
5295
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6254
5298
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6256
for ac_func in bind_textdomain_codeset
6258
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6259
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6260
$as_echo_n "checking for $ac_func... " >&6; }
6261
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6262
$as_echo_n "(cached) " >&6
6264
cat >conftest.$ac_ext <<_ACEOF
6267
cat confdefs.h >>conftest.$ac_ext
6268
cat >>conftest.$ac_ext <<_ACEOF
6269
/* end confdefs.h. */
6270
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6271
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6272
#define $ac_func innocuous_$ac_func
6274
/* System header to define __stub macros and hopefully few prototypes,
6275
which can conflict with char $ac_func (); below.
6276
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6277
<limits.h> exists even on freestanding compilers. */
6280
# include <limits.h>
6282
# include <assert.h>
6287
/* Override any GCC internal prototype to avoid an error.
6288
Use char because int might match the return type of a GCC
6289
builtin and then its argument prototype would still apply. */
6294
/* The GNU C library defines this for functions which it implements
6295
to always fail with ENOSYS. Some functions are actually named
6296
something starting with __ and the normal name is an alias. */
6297
#if defined __stub_$ac_func || defined __stub___$ac_func
6309
rm -f conftest.$ac_objext conftest$ac_exeext
6310
if { (ac_try="$ac_link"
6312
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6313
*) ac_try_echo=$ac_try;;
6315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6316
$as_echo "$ac_try_echo") >&5
6317
(eval "$ac_link") 2>conftest.er1
6319
grep -v '^ *+' conftest.er1 >conftest.err
6321
cat conftest.err >&5
6322
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323
(exit $ac_status); } && {
6324
test -z "$ac_c_werror_flag" ||
6325
test ! -s conftest.err
6326
} && test -s conftest$ac_exeext && {
6327
test "$cross_compiling" = yes ||
6328
$as_test_x conftest$ac_exeext
6330
eval "$as_ac_var=yes"
6332
$as_echo "$as_me: failed program was:" >&5
6333
sed 's/^/| /' conftest.$ac_ext >&5
6335
eval "$as_ac_var=no"
6338
rm -rf conftest.dSYM
6339
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6340
conftest$ac_exeext conftest.$ac_ext
6342
ac_res=`eval 'as_val=${'$as_ac_var'}
6343
$as_echo "$as_val"'`
6344
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6345
$as_echo "$ac_res" >&6; }
6346
as_val=`eval 'as_val=${'$as_ac_var'}
6347
$as_echo "$as_val"'`
6348
if test "x$as_val" = x""yes; then
5299
for ac_func in bind_textdomain_codeset
5301
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5302
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6349
5303
cat >>confdefs.h <<_ACEOF
6350
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5304
@%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
6726
5535
glib_save_LIBS="$LIBS"
6727
5536
LIBS="$LIBS -lintl $libintl_extra_libs"
6728
5537
unset ac_cv_func_bind_textdomain_codeset
6730
for ac_func in bind_textdomain_codeset
6732
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6733
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6734
$as_echo_n "checking for $ac_func... " >&6; }
6735
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6736
$as_echo_n "(cached) " >&6
6738
cat >conftest.$ac_ext <<_ACEOF
6741
cat confdefs.h >>conftest.$ac_ext
6742
cat >>conftest.$ac_ext <<_ACEOF
6743
/* end confdefs.h. */
6744
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6745
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6746
#define $ac_func innocuous_$ac_func
6748
/* System header to define __stub macros and hopefully few prototypes,
6749
which can conflict with char $ac_func (); below.
6750
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6751
<limits.h> exists even on freestanding compilers. */
6754
# include <limits.h>
6756
# include <assert.h>
6761
/* Override any GCC internal prototype to avoid an error.
6762
Use char because int might match the return type of a GCC
6763
builtin and then its argument prototype would still apply. */
6768
/* The GNU C library defines this for functions which it implements
6769
to always fail with ENOSYS. Some functions are actually named
6770
something starting with __ and the normal name is an alias. */
6771
#if defined __stub_$ac_func || defined __stub___$ac_func
6783
rm -f conftest.$ac_objext conftest$ac_exeext
6784
if { (ac_try="$ac_link"
6786
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6787
*) ac_try_echo=$ac_try;;
6789
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6790
$as_echo "$ac_try_echo") >&5
6791
(eval "$ac_link") 2>conftest.er1
6793
grep -v '^ *+' conftest.er1 >conftest.err
6795
cat conftest.err >&5
6796
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797
(exit $ac_status); } && {
6798
test -z "$ac_c_werror_flag" ||
6799
test ! -s conftest.err
6800
} && test -s conftest$ac_exeext && {
6801
test "$cross_compiling" = yes ||
6802
$as_test_x conftest$ac_exeext
6804
eval "$as_ac_var=yes"
6806
$as_echo "$as_me: failed program was:" >&5
6807
sed 's/^/| /' conftest.$ac_ext >&5
6809
eval "$as_ac_var=no"
6812
rm -rf conftest.dSYM
6813
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6814
conftest$ac_exeext conftest.$ac_ext
6816
ac_res=`eval 'as_val=${'$as_ac_var'}
6817
$as_echo "$as_val"'`
6818
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6819
$as_echo "$ac_res" >&6; }
6820
as_val=`eval 'as_val=${'$as_ac_var'}
6821
$as_echo "$as_val"'`
6822
if test "x$as_val" = x""yes; then
5538
for ac_func in bind_textdomain_codeset
5540
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5541
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6823
5542
cat >>confdefs.h <<_ACEOF
6824
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5543
@%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
6885
5602
MSGFMT="$ac_cv_path_MSGFMT"
6886
5603
if test "$MSGFMT" != "no"; then
6887
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
5604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6888
5605
$as_echo "$MSGFMT" >&6; }
6890
{ $as_echo "$as_me:$LINENO: result: no" >&5
5607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891
5608
$as_echo "no" >&6; }
6893
5610
if test "$MSGFMT" != "no"; then
6894
5611
glib_save_LIBS="$LIBS"
6895
5612
LIBS="$LIBS $INTLLIBS"
6897
for ac_func in dcgettext
6899
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6900
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6901
$as_echo_n "checking for $ac_func... " >&6; }
6902
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6903
$as_echo_n "(cached) " >&6
6905
cat >conftest.$ac_ext <<_ACEOF
6908
cat confdefs.h >>conftest.$ac_ext
6909
cat >>conftest.$ac_ext <<_ACEOF
6910
/* end confdefs.h. */
6911
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6912
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6913
#define $ac_func innocuous_$ac_func
6915
/* System header to define __stub macros and hopefully few prototypes,
6916
which can conflict with char $ac_func (); below.
6917
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6918
<limits.h> exists even on freestanding compilers. */
6921
# include <limits.h>
6923
# include <assert.h>
6928
/* Override any GCC internal prototype to avoid an error.
6929
Use char because int might match the return type of a GCC
6930
builtin and then its argument prototype would still apply. */
6935
/* The GNU C library defines this for functions which it implements
6936
to always fail with ENOSYS. Some functions are actually named
6937
something starting with __ and the normal name is an alias. */
6938
#if defined __stub_$ac_func || defined __stub___$ac_func
6950
rm -f conftest.$ac_objext conftest$ac_exeext
6951
if { (ac_try="$ac_link"
6953
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6954
*) ac_try_echo=$ac_try;;
6956
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6957
$as_echo "$ac_try_echo") >&5
6958
(eval "$ac_link") 2>conftest.er1
6960
grep -v '^ *+' conftest.er1 >conftest.err
6962
cat conftest.err >&5
6963
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964
(exit $ac_status); } && {
6965
test -z "$ac_c_werror_flag" ||
6966
test ! -s conftest.err
6967
} && test -s conftest$ac_exeext && {
6968
test "$cross_compiling" = yes ||
6969
$as_test_x conftest$ac_exeext
6971
eval "$as_ac_var=yes"
6973
$as_echo "$as_me: failed program was:" >&5
6974
sed 's/^/| /' conftest.$ac_ext >&5
6976
eval "$as_ac_var=no"
6979
rm -rf conftest.dSYM
6980
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6981
conftest$ac_exeext conftest.$ac_ext
6983
ac_res=`eval 'as_val=${'$as_ac_var'}
6984
$as_echo "$as_val"'`
6985
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6986
$as_echo "$ac_res" >&6; }
6987
as_val=`eval 'as_val=${'$as_ac_var'}
6988
$as_echo "$as_val"'`
6989
if test "x$as_val" = x""yes; then
5613
for ac_func in dcgettext
5615
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5616
if test "x$ac_cv_func_dcgettext" = x""yes; then :
6990
5617
cat >>confdefs.h <<_ACEOF
6991
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5618
@%:@define HAVE_DCGETTEXT 1
6998
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
5625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6999
5626
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
7000
5627
cat >conftest.foo <<_ACEOF
7119
rm -f conftest.$ac_objext conftest$ac_exeext
7120
if { (ac_try="$ac_link"
7122
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7123
*) ac_try_echo=$ac_try;;
7125
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7126
$as_echo "$ac_try_echo") >&5
7127
(eval "$ac_link") 2>conftest.er1
7129
grep -v '^ *+' conftest.er1 >conftest.err
7131
cat conftest.err >&5
7132
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133
(exit $ac_status); } && {
7134
test -z "$ac_c_werror_flag" ||
7135
test ! -s conftest.err
7136
} && test -s conftest$ac_exeext && {
7137
test "$cross_compiling" = yes ||
7138
$as_test_x conftest$ac_exeext
5742
if ac_fn_c_try_link "$LINENO"; then :
7141
5744
DATADIRNAME=share
7143
$as_echo "$as_me: failed program was:" >&5
7144
sed 's/^/| /' conftest.$ac_ext >&5
7148
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7149
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7150
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7151
$as_echo_n "(cached) " >&6
7153
cat >conftest.$ac_ext <<_ACEOF
7156
cat confdefs.h >>conftest.$ac_ext
7157
cat >>conftest.$ac_ext <<_ACEOF
7158
/* end confdefs.h. */
7159
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7160
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7161
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7163
/* System header to define __stub macros and hopefully few prototypes,
7164
which can conflict with char bind_textdomain_codeset (); below.
7165
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7166
<limits.h> exists even on freestanding compilers. */
7169
# include <limits.h>
7171
# include <assert.h>
7174
#undef bind_textdomain_codeset
7176
/* Override any GCC internal prototype to avoid an error.
7177
Use char because int might match the return type of a GCC
7178
builtin and then its argument prototype would still apply. */
7182
char bind_textdomain_codeset ();
7183
/* The GNU C library defines this for functions which it implements
7184
to always fail with ENOSYS. Some functions are actually named
7185
something starting with __ and the normal name is an alias. */
7186
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7193
return bind_textdomain_codeset ();
7198
rm -f conftest.$ac_objext conftest$ac_exeext
7199
if { (ac_try="$ac_link"
7201
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7202
*) ac_try_echo=$ac_try;;
7204
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7205
$as_echo "$ac_try_echo") >&5
7206
(eval "$ac_link") 2>conftest.er1
7208
grep -v '^ *+' conftest.er1 >conftest.err
7210
cat conftest.err >&5
7211
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212
(exit $ac_status); } && {
7213
test -z "$ac_c_werror_flag" ||
7214
test ! -s conftest.err
7215
} && test -s conftest$ac_exeext && {
7216
test "$cross_compiling" = yes ||
7217
$as_test_x conftest$ac_exeext
7219
ac_cv_func_bind_textdomain_codeset=yes
7221
$as_echo "$as_me: failed program was:" >&5
7222
sed 's/^/| /' conftest.$ac_ext >&5
7224
ac_cv_func_bind_textdomain_codeset=no
7227
rm -rf conftest.dSYM
7228
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7229
conftest$ac_exeext conftest.$ac_ext
7231
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7232
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7233
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
5748
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5749
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7235
5751
DATADIRNAME=share