136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
138
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
177
178
as_have_required=yes
179
180
as_have_required=no
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
190
test -z "$as_dir" && as_dir=.
249
194
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
export CONFIG_SHELL
368
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte
235
$0: about your system, including any error possibly output
236
$0: before this message. Then install a modern shell, or
237
$0: manually run the script under such a shell if you do
244
SHELL=${CONFIG_SHELL-/bin/sh}
246
# Unset more variables known to interfere with behavior of common tools.
247
CLICOLOR_FORCE= GREP_OPTIONS=
248
unset CLICOLOR_FORCE GREP_OPTIONS
250
## --------------------- ##
251
## M4sh Shell Functions. ##
252
## --------------------- ##
255
# Portably unset VAR.
258
{ eval $1=; unset $1;}
262
# as_fn_set_status STATUS
263
# -----------------------
264
# Set $? to STATUS, without forking.
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282
# Create "$as_dir" as a directory, including parents if necessary.
287
-*) as_dir=./$as_dir;;
289
test -d "$as_dir" || eval $as_mkdir_p || {
293
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
as_dirs="'$as_qdir' $as_dirs"
297
as_dir=`$as_dirname -- "$as_dir" ||
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299
X"$as_dir" : 'X\(//\)[^/]' \| \
300
X"$as_dir" : 'X\(//\)$' \| \
301
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302
$as_echo X"$as_dir" |
303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
test -d "$as_dir" && break
322
test -z "$as_dirs" || eval "mkdir $as_dirs"
323
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
327
# as_fn_append VAR VALUE
328
# ----------------------
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
330
# advantage of any shell optimizations that allow amortized linear growth over
331
# repeated appends, instead of the typical quadratic growth present in naive
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334
eval 'as_fn_append ()
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
349
# must be portable across $(()) and expr.
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358
as_val=`expr "$@" || test $? -eq 1`
363
# as_fn_error ERROR [LINENO LOG_FD]
364
# ---------------------------------
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with status $?, using 1 if that was 0.
370
as_status=$?; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375
$as_echo "$as_me: error: $1" >&2
376
as_fn_exit $as_status
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
380
test "X`expr 00001 : '.*\(...\)'`" = X001; then
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398
as_me=`$as_basename -- "$0" ||
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400
X"$0" : 'X\(//\)$' \| \
401
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
sed '/^.*\/\([^/][^/]*\)\/*$/{
417
# Avoid depending upon Character Ranges.
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421
as_cr_digits='0123456789'
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
425
as_lineno_1=$LINENO as_lineno_1a=$LINENO
426
as_lineno_2=$LINENO as_lineno_2a=$LINENO
427
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1512
1460
test -n "$ac_init_help" && exit $ac_status
1513
1461
if $ac_init_version; then
1515
alacarte configure 0.12.4
1516
generated by GNU Autoconf 2.63
1463
alacarte configure 0.13.1
1464
generated by GNU Autoconf 2.65
1518
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1519
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1466
Copyright (C) 2009 Free Software Foundation, Inc.
1520
1467
This configure script is free software; the Free Software Foundation
1521
1468
gives unlimited permission to copy, distribute and modify it.
1473
## ------------------------ ##
1474
## Autoconf initialization. ##
1475
## ------------------------ ##
1477
# ac_fn_c_try_compile LINENO
1478
# --------------------------
1479
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1480
ac_fn_c_try_compile ()
1482
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483
rm -f conftest.$ac_objext
1484
if { { ac_try="$ac_compile"
1486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1487
*) ac_try_echo=$ac_try;;
1489
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490
$as_echo "$ac_try_echo"; } >&5
1491
(eval "$ac_compile") 2>conftest.err
1493
if test -s conftest.err; then
1494
grep -v '^ *+' conftest.err >conftest.er1
1495
cat conftest.er1 >&5
1496
mv -f conftest.er1 conftest.err
1498
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499
test $ac_status = 0; } && {
1500
test -z "$ac_c_werror_flag" ||
1501
test ! -s conftest.err
1502
} && test -s conftest.$ac_objext; then :
1505
$as_echo "$as_me: failed program was:" >&5
1506
sed 's/^/| /' conftest.$ac_ext >&5
1510
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1511
as_fn_set_status $ac_retval
1513
} # ac_fn_c_try_compile
1515
# ac_fn_c_try_cpp LINENO
1516
# ----------------------
1517
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1520
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521
if { { ac_try="$ac_cpp conftest.$ac_ext"
1523
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1524
*) ac_try_echo=$ac_try;;
1526
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527
$as_echo "$ac_try_echo"; } >&5
1528
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1530
if test -s conftest.err; then
1531
grep -v '^ *+' conftest.err >conftest.er1
1532
cat conftest.er1 >&5
1533
mv -f conftest.er1 conftest.err
1535
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536
test $ac_status = 0; } >/dev/null && {
1537
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1538
test ! -s conftest.err
1542
$as_echo "$as_me: failed program was:" >&5
1543
sed 's/^/| /' conftest.$ac_ext >&5
1547
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1548
as_fn_set_status $ac_retval
1552
# ac_fn_c_try_run LINENO
1553
# ----------------------
1554
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1555
# that executables *can* be run.
1558
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559
if { { ac_try="$ac_link"
1561
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562
*) ac_try_echo=$ac_try;;
1564
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565
$as_echo "$ac_try_echo"; } >&5
1566
(eval "$ac_link") 2>&5
1568
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1570
{ { case "(($ac_try" in
1571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1572
*) ac_try_echo=$ac_try;;
1574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575
$as_echo "$ac_try_echo"; } >&5
1576
(eval "$ac_try") 2>&5
1578
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579
test $ac_status = 0; }; }; then :
1582
$as_echo "$as_me: program exited with status $ac_status" >&5
1583
$as_echo "$as_me: failed program was:" >&5
1584
sed 's/^/| /' conftest.$ac_ext >&5
1586
ac_retval=$ac_status
1588
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1589
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1590
as_fn_set_status $ac_retval
1594
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1595
# -------------------------------------------------------
1596
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1597
# the include files in INCLUDES and setting the cache variable VAR
1599
ac_fn_c_check_header_mongrel ()
1601
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604
$as_echo_n "checking for $2... " >&6; }
1605
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1606
$as_echo_n "(cached) " >&6
1609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610
$as_echo "$ac_res" >&6; }
1612
# Is the header compilable?
1613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1614
$as_echo_n "checking $2 usability... " >&6; }
1615
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616
/* end confdefs.h. */
1620
if ac_fn_c_try_compile "$LINENO"; then :
1621
ac_header_compiler=yes
1623
ac_header_compiler=no
1625
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1627
$as_echo "$ac_header_compiler" >&6; }
1629
# Is the header present?
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1631
$as_echo_n "checking $2 presence... " >&6; }
1632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633
/* end confdefs.h. */
1636
if ac_fn_c_try_cpp "$LINENO"; then :
1637
ac_header_preproc=yes
1639
ac_header_preproc=no
1641
rm -f conftest.err conftest.$ac_ext
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1643
$as_echo "$ac_header_preproc" >&6; }
1645
# So? What about this header?
1646
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1648
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1649
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1650
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1651
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1654
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1655
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1656
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1657
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1658
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1659
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1660
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1661
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1662
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665
## ----------------------------------------------------------------------- ##
1666
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte ##
1667
## ----------------------------------------------------------------------- ##
1669
) | sed "s/^/$as_me: WARNING: /" >&2
1672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673
$as_echo_n "checking for $2... " >&6; }
1674
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1675
$as_echo_n "(cached) " >&6
1677
eval "$3=\$ac_header_compiler"
1680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681
$as_echo "$ac_res" >&6; }
1683
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1685
} # ac_fn_c_check_header_mongrel
1687
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688
# -------------------------------------------------------
1689
# Tests whether HEADER exists and can be compiled using the include files in
1690
# INCLUDES, setting the cache variable VAR accordingly.
1691
ac_fn_c_check_header_compile ()
1693
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695
$as_echo_n "checking for $2... " >&6; }
1696
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1697
$as_echo_n "(cached) " >&6
1699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700
/* end confdefs.h. */
1704
if ac_fn_c_try_compile "$LINENO"; then :
1709
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713
$as_echo "$ac_res" >&6; }
1714
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716
} # ac_fn_c_check_header_compile
1718
# ac_fn_c_try_link LINENO
1719
# -----------------------
1720
# Try to link conftest.$ac_ext, and return whether this succeeded.
1723
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724
rm -f conftest.$ac_objext conftest$ac_exeext
1725
if { { ac_try="$ac_link"
1727
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728
*) ac_try_echo=$ac_try;;
1730
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731
$as_echo "$ac_try_echo"; } >&5
1732
(eval "$ac_link") 2>conftest.err
1734
if test -s conftest.err; then
1735
grep -v '^ *+' conftest.err >conftest.er1
1736
cat conftest.er1 >&5
1737
mv -f conftest.er1 conftest.err
1739
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740
test $ac_status = 0; } && {
1741
test -z "$ac_c_werror_flag" ||
1742
test ! -s conftest.err
1743
} && test -s conftest$ac_exeext && {
1744
test "$cross_compiling" = yes ||
1745
$as_test_x conftest$ac_exeext
1749
$as_echo "$as_me: failed program was:" >&5
1750
sed 's/^/| /' conftest.$ac_ext >&5
1754
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1755
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1756
# interfere with the next link command; also delete a directory that is
1757
# left behind by Apple's compiler. We do this before executing the actions.
1758
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760
as_fn_set_status $ac_retval
1762
} # ac_fn_c_try_link
1764
# ac_fn_c_check_func LINENO FUNC VAR
1765
# ----------------------------------
1766
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1767
ac_fn_c_check_func ()
1769
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771
$as_echo_n "checking for $2... " >&6; }
1772
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1773
$as_echo_n "(cached) " >&6
1775
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776
/* end confdefs.h. */
1777
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1778
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1779
#define $2 innocuous_$2
1781
/* System header to define __stub macros and hopefully few prototypes,
1782
which can conflict with char $2 (); below.
1783
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1784
<limits.h> exists even on freestanding compilers. */
1787
# include <limits.h>
1789
# include <assert.h>
1794
/* Override any GCC internal prototype to avoid an error.
1795
Use char because int might match the return type of a GCC
1796
builtin and then its argument prototype would still apply. */
1801
/* The GNU C library defines this for functions which it implements
1802
to always fail with ENOSYS. Some functions are actually named
1803
something starting with __ and the normal name is an alias. */
1804
#if defined __stub_$2 || defined __stub___$2
1816
if ac_fn_c_try_link "$LINENO"; then :
1821
rm -f core conftest.err conftest.$ac_objext \
1822
conftest$ac_exeext conftest.$ac_ext
1825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826
$as_echo "$ac_res" >&6; }
1827
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829
} # ac_fn_c_check_func
1525
1830
cat >config.log <<_ACEOF
1526
1831
This file contains any messages produced by compilers while
1527
1832
running configure, to aid debugging if configure makes a mistake.
1529
It was created by alacarte $as_me 0.12.4, which was
1530
generated by GNU Autoconf 2.63. Invocation command line was
1834
It was created by alacarte $as_me 0.13.1, which was
1835
generated by GNU Autoconf 2.65. Invocation command line was
3191
if test -z "$ac_file"; then :
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193
$as_echo "no" >&6; }
3194
$as_echo "$as_me: failed program was:" >&5
3195
sed 's/^/| /' conftest.$ac_ext >&5
2948
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3197
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3198
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3199
{ as_fn_set_status 77
3200
as_fn_error "C compiler cannot create executables
3201
See \`config.log' for more details." "$LINENO" 5; }; }
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3204
$as_echo "yes" >&6; }
3206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3207
$as_echo_n "checking for C compiler default output file name... " >&6; }
3208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2949
3209
$as_echo "$ac_file" >&6; }
2950
if test -z "$ac_file"; then
2951
$as_echo "$as_me: failed program was:" >&5
2952
sed 's/^/| /' conftest.$ac_ext >&5
2954
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2955
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2956
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2957
See \`config.log' for more details." >&5
2958
$as_echo "$as_me: error: C compiler cannot create executables
2959
See \`config.log' for more details." >&2;}
2960
{ (exit 77); exit 77; }; }; }
2963
3210
ac_exeext=$ac_cv_exeext
2965
# Check that the compiler produces executables we can run. If not, either
2966
# the compiler is broken, or we cross compile.
2967
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2968
$as_echo_n "checking whether the C compiler works... " >&6; }
2969
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2970
# If not cross compiling, check that we can run a simple program.
2971
if test "$cross_compiling" != yes; then
2972
if { ac_try='./$ac_file'
2973
{ (case "(($ac_try" in
2974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
*) ac_try_echo=$ac_try;;
2977
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2978
$as_echo "$ac_try_echo") >&5
2979
(eval "$ac_try") 2>&5
2981
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982
(exit $ac_status); }; }; then
2985
if test "$cross_compiling" = maybe; then
2988
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2991
If you meant to cross compile, use \`--host'.
2992
See \`config.log' for more details." >&5
2993
$as_echo "$as_me: error: cannot run C compiled programs.
2994
If you meant to cross compile, use \`--host'.
2995
See \`config.log' for more details." >&2;}
2996
{ (exit 1); exit 1; }; }; }
3000
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3001
$as_echo "yes" >&6; }
3003
3212
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3004
3213
ac_clean_files=$ac_clean_files_save
3005
# Check that the compiler produces executables we can run. If not, either
3006
# the compiler is broken, or we cross compile.
3007
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3008
$as_echo_n "checking whether we are cross compiling... " >&6; }
3009
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3010
$as_echo "$cross_compiling" >&6; }
3012
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3013
3215
$as_echo_n "checking for suffix of executables... " >&6; }
3014
if { (ac_try="$ac_link"
3216
if { { ac_try="$ac_link"
3015
3217
case "(($ac_try" in
3016
3218
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017
3219
*) ac_try_echo=$ac_try;;
3019
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3020
$as_echo "$ac_try_echo") >&5
3221
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3222
$as_echo "$ac_try_echo"; } >&5
3021
3223
(eval "$ac_link") 2>&5
3023
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
(exit $ac_status); }; then
3225
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3226
test $ac_status = 0; }; then :
3025
3227
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3026
3228
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3027
3229
# work properly (i.e., refer to `conftest.exe'), while it won't with
3039
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3241
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040
3242
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3042
See \`config.log' for more details." >&5
3043
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3044
See \`config.log' for more details." >&2;}
3045
{ (exit 1); exit 1; }; }; }
3243
as_fn_error "cannot compute suffix of executables: cannot compile and link
3244
See \`config.log' for more details." "$LINENO" 5; }
3048
rm -f conftest$ac_cv_exeext
3049
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3246
rm -f conftest conftest$ac_cv_exeext
3247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3050
3248
$as_echo "$ac_cv_exeext" >&6; }
3052
3250
rm -f conftest.$ac_ext
3053
3251
EXEEXT=$ac_cv_exeext
3054
3252
ac_exeext=$EXEEXT
3055
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3253
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254
/* end confdefs.h. */
3259
FILE *f = fopen ("conftest.out", "w");
3260
return ferror (f) || fclose (f) != 0;
3266
ac_clean_files="$ac_clean_files conftest.out"
3267
# Check that the compiler produces executables we can run. If not, either
3268
# the compiler is broken, or we cross compile.
3269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3270
$as_echo_n "checking whether we are cross compiling... " >&6; }
3271
if test "$cross_compiling" != yes; then
3272
{ { ac_try="$ac_link"
3274
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275
*) ac_try_echo=$ac_try;;
3277
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278
$as_echo "$ac_try_echo"; } >&5
3279
(eval "$ac_link") 2>&5
3281
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3282
test $ac_status = 0; }
3283
if { ac_try='./conftest$ac_cv_exeext'
3284
{ { case "(($ac_try" in
3285
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286
*) ac_try_echo=$ac_try;;
3288
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289
$as_echo "$ac_try_echo"; } >&5
3290
(eval "$ac_try") 2>&5
3292
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293
test $ac_status = 0; }; }; then
3296
if test "$cross_compiling" = maybe; then
3299
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301
as_fn_error "cannot run C compiled programs.
3302
If you meant to cross compile, use \`--host'.
3303
See \`config.log' for more details." "$LINENO" 5; }
3307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3308
$as_echo "$cross_compiling" >&6; }
3310
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3311
ac_clean_files=$ac_clean_files_save
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3056
3313
$as_echo_n "checking for suffix of object files... " >&6; }
3057
if test "${ac_cv_objext+set}" = set; then
3314
if test "${ac_cv_objext+set}" = set; then :
3058
3315
$as_echo_n "(cached) " >&6
3060
cat >conftest.$ac_ext <<_ACEOF
3063
cat confdefs.h >>conftest.$ac_ext
3064
cat >>conftest.$ac_ext <<_ACEOF
3317
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065
3318
/* end confdefs.h. */
4082
rm -f conftest$ac_exeext
4083
if { (ac_try="$ac_link"
4085
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086
*) ac_try_echo=$ac_try;;
4088
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4089
$as_echo "$ac_try_echo") >&5
4090
(eval "$ac_link") 2>&5
4092
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4094
{ (case "(($ac_try" in
4095
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096
*) ac_try_echo=$ac_try;;
4098
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4099
$as_echo "$ac_try_echo") >&5
4100
(eval "$ac_try") 2>&5
4102
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103
(exit $ac_status); }; }; then
4064
if ac_fn_c_try_run "$LINENO"; then :
4106
$as_echo "$as_me: program exited with status $ac_status" >&5
4107
$as_echo "$as_me: failed program was:" >&5
4108
sed 's/^/| /' conftest.$ac_ext >&5
4111
ac_cv_header_stdc=no
4113
rm -rf conftest.dSYM
4114
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4120
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4067
ac_cv_header_stdc=no
4069
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4070
conftest.$ac_objext conftest.beam conftest.$ac_ext
4075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4121
4076
$as_echo "$ac_cv_header_stdc" >&6; }
4122
4077
if test $ac_cv_header_stdc = yes; then
4124
cat >>confdefs.h <<\_ACEOF
4125
#define STDC_HEADERS 1
4079
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4130
4083
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4140
4084
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4141
4085
inttypes.h stdint.h unistd.h
4143
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4144
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4145
$as_echo_n "checking for $ac_header... " >&6; }
4146
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4147
$as_echo_n "(cached) " >&6
4149
cat >conftest.$ac_ext <<_ACEOF
4152
cat confdefs.h >>conftest.$ac_ext
4153
cat >>conftest.$ac_ext <<_ACEOF
4154
/* end confdefs.h. */
4155
$ac_includes_default
4157
#include <$ac_header>
4159
rm -f conftest.$ac_objext
4160
if { (ac_try="$ac_compile"
4162
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163
*) ac_try_echo=$ac_try;;
4165
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4166
$as_echo "$ac_try_echo") >&5
4167
(eval "$ac_compile") 2>conftest.er1
4169
grep -v '^ *+' conftest.er1 >conftest.err
4171
cat conftest.err >&5
4172
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173
(exit $ac_status); } && {
4174
test -z "$ac_c_werror_flag" ||
4175
test ! -s conftest.err
4176
} && test -s conftest.$ac_objext; then
4177
eval "$as_ac_Header=yes"
4179
$as_echo "$as_me: failed program was:" >&5
4180
sed 's/^/| /' conftest.$ac_ext >&5
4182
eval "$as_ac_Header=no"
4185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187
ac_res=`eval 'as_val=${'$as_ac_Header'}
4188
$as_echo "$as_val"'`
4189
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4190
$as_echo "$ac_res" >&6; }
4191
as_val=`eval 'as_val=${'$as_ac_Header'}
4192
$as_echo "$as_val"'`
4193
if test "x$as_val" = x""yes; then
4087
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4088
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4090
eval as_val=\$$as_ac_Header
4091
if test "x$as_val" = x""yes; then :
4194
4092
cat >>confdefs.h <<_ACEOF
4195
4093
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4205
for ac_header in locale.h
4207
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4208
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4209
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4210
$as_echo_n "checking for $ac_header... " >&6; }
4211
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4212
$as_echo_n "(cached) " >&6
4214
ac_res=`eval 'as_val=${'$as_ac_Header'}
4215
$as_echo "$as_val"'`
4216
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4217
$as_echo "$ac_res" >&6; }
4219
# Is the header compilable?
4220
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4221
$as_echo_n "checking $ac_header usability... " >&6; }
4222
cat >conftest.$ac_ext <<_ACEOF
4225
cat confdefs.h >>conftest.$ac_ext
4226
cat >>conftest.$ac_ext <<_ACEOF
4227
/* end confdefs.h. */
4228
$ac_includes_default
4229
#include <$ac_header>
4231
rm -f conftest.$ac_objext
4232
if { (ac_try="$ac_compile"
4234
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235
*) ac_try_echo=$ac_try;;
4237
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4238
$as_echo "$ac_try_echo") >&5
4239
(eval "$ac_compile") 2>conftest.er1
4241
grep -v '^ *+' conftest.er1 >conftest.err
4243
cat conftest.err >&5
4244
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245
(exit $ac_status); } && {
4246
test -z "$ac_c_werror_flag" ||
4247
test ! -s conftest.err
4248
} && test -s conftest.$ac_objext; then
4249
ac_header_compiler=yes
4251
$as_echo "$as_me: failed program was:" >&5
4252
sed 's/^/| /' conftest.$ac_ext >&5
4254
ac_header_compiler=no
4257
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4259
$as_echo "$ac_header_compiler" >&6; }
4261
# Is the header present?
4262
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4263
$as_echo_n "checking $ac_header presence... " >&6; }
4264
cat >conftest.$ac_ext <<_ACEOF
4267
cat confdefs.h >>conftest.$ac_ext
4268
cat >>conftest.$ac_ext <<_ACEOF
4269
/* end confdefs.h. */
4270
#include <$ac_header>
4272
if { (ac_try="$ac_cpp conftest.$ac_ext"
4274
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4275
*) ac_try_echo=$ac_try;;
4277
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4278
$as_echo "$ac_try_echo") >&5
4279
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4281
grep -v '^ *+' conftest.er1 >conftest.err
4283
cat conftest.err >&5
4284
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285
(exit $ac_status); } >/dev/null && {
4286
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4287
test ! -s conftest.err
4289
ac_header_preproc=yes
4291
$as_echo "$as_me: failed program was:" >&5
4292
sed 's/^/| /' conftest.$ac_ext >&5
4294
ac_header_preproc=no
4297
rm -f conftest.err conftest.$ac_ext
4298
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4299
$as_echo "$ac_header_preproc" >&6; }
4301
# So? What about this header?
4302
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4304
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4305
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4306
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4307
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4308
ac_header_preproc=yes
4311
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4312
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4313
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4314
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4315
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4316
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4317
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4318
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4319
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4320
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4321
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4322
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4324
## ----------------------------------------------------------------------- ##
4325
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte ##
4326
## ----------------------------------------------------------------------- ##
4328
) | sed "s/^/$as_me: WARNING: /" >&2
4331
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4332
$as_echo_n "checking for $ac_header... " >&6; }
4333
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4334
$as_echo_n "(cached) " >&6
4336
eval "$as_ac_Header=\$ac_header_preproc"
4338
ac_res=`eval 'as_val=${'$as_ac_Header'}
4339
$as_echo "$as_val"'`
4340
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4341
$as_echo "$ac_res" >&6; }
4344
as_val=`eval 'as_val=${'$as_ac_Header'}
4345
$as_echo "$as_val"'`
4346
if test "x$as_val" = x""yes; then
4102
for ac_header in locale.h
4104
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4105
if test "x$ac_cv_header_locale_h" = x""yes; then :
4347
4106
cat >>confdefs.h <<_ACEOF
4348
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4107
#define HAVE_LOCALE_H 1
4428
if test "${ac_cv_header_libintl_h+set}" = set; then
4429
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
4430
$as_echo_n "checking for libintl.h... " >&6; }
4431
if test "${ac_cv_header_libintl_h+set}" = set; then
4432
$as_echo_n "(cached) " >&6
4434
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4435
$as_echo "$ac_cv_header_libintl_h" >&6; }
4437
# Is the header compilable?
4438
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
4439
$as_echo_n "checking libintl.h usability... " >&6; }
4440
cat >conftest.$ac_ext <<_ACEOF
4443
cat confdefs.h >>conftest.$ac_ext
4444
cat >>conftest.$ac_ext <<_ACEOF
4445
/* end confdefs.h. */
4446
$ac_includes_default
4447
#include <libintl.h>
4449
rm -f conftest.$ac_objext
4450
if { (ac_try="$ac_compile"
4452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453
*) ac_try_echo=$ac_try;;
4455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4456
$as_echo "$ac_try_echo") >&5
4457
(eval "$ac_compile") 2>conftest.er1
4459
grep -v '^ *+' conftest.er1 >conftest.err
4461
cat conftest.err >&5
4462
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463
(exit $ac_status); } && {
4464
test -z "$ac_c_werror_flag" ||
4465
test ! -s conftest.err
4466
} && test -s conftest.$ac_objext; then
4467
ac_header_compiler=yes
4469
$as_echo "$as_me: failed program was:" >&5
4470
sed 's/^/| /' conftest.$ac_ext >&5
4472
ac_header_compiler=no
4475
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4477
$as_echo "$ac_header_compiler" >&6; }
4479
# Is the header present?
4480
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
4481
$as_echo_n "checking libintl.h presence... " >&6; }
4482
cat >conftest.$ac_ext <<_ACEOF
4485
cat confdefs.h >>conftest.$ac_ext
4486
cat >>conftest.$ac_ext <<_ACEOF
4487
/* end confdefs.h. */
4488
#include <libintl.h>
4490
if { (ac_try="$ac_cpp conftest.$ac_ext"
4492
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4493
*) ac_try_echo=$ac_try;;
4495
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4496
$as_echo "$ac_try_echo") >&5
4497
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4499
grep -v '^ *+' conftest.er1 >conftest.err
4501
cat conftest.err >&5
4502
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503
(exit $ac_status); } >/dev/null && {
4504
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4505
test ! -s conftest.err
4507
ac_header_preproc=yes
4509
$as_echo "$as_me: failed program was:" >&5
4510
sed 's/^/| /' conftest.$ac_ext >&5
4512
ac_header_preproc=no
4515
rm -f conftest.err conftest.$ac_ext
4516
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4517
$as_echo "$ac_header_preproc" >&6; }
4519
# So? What about this header?
4520
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4522
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4523
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4524
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4525
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4526
ac_header_preproc=yes
4529
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4530
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4531
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4532
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4533
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4534
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4535
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4536
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4537
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4538
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4539
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4540
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4542
## ----------------------------------------------------------------------- ##
4543
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte ##
4544
## ----------------------------------------------------------------------- ##
4546
) | sed "s/^/$as_me: WARNING: /" >&2
4549
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
4550
$as_echo_n "checking for libintl.h... " >&6; }
4551
if test "${ac_cv_header_libintl_h+set}" = set; then
4552
$as_echo_n "(cached) " >&6
4554
ac_cv_header_libintl_h=$ac_header_preproc
4556
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4557
$as_echo "$ac_cv_header_libintl_h" >&6; }
4560
if test "x$ac_cv_header_libintl_h" = x""yes; then
4156
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4157
if test "x$ac_cv_header_libintl_h" = x""yes; then :
4561
4158
gt_cv_func_dgettext_libintl="no"
4562
4159
libintl_extra_libs=""
4565
4162
# First check in libc
4567
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
4568
4165
$as_echo_n "checking for ngettext in libc... " >&6; }
4569
if test "${gt_cv_func_ngettext_libc+set}" = set; then
4166
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
4570
4167
$as_echo_n "(cached) " >&6
4572
cat >conftest.$ac_ext <<_ACEOF
4575
cat confdefs.h >>conftest.$ac_ext
4576
cat >>conftest.$ac_ext <<_ACEOF
4169
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577
4170
/* end confdefs.h. */
4579
4172
#include <libintl.h>
4649
rm -f conftest.$ac_objext conftest$ac_exeext
4650
if { (ac_try="$ac_link"
4652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653
*) ac_try_echo=$ac_try;;
4655
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4656
$as_echo "$ac_try_echo") >&5
4657
(eval "$ac_link") 2>conftest.er1
4659
grep -v '^ *+' conftest.er1 >conftest.err
4661
cat conftest.err >&5
4662
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663
(exit $ac_status); } && {
4664
test -z "$ac_c_werror_flag" ||
4665
test ! -s conftest.err
4666
} && test -s conftest$ac_exeext && {
4667
test "$cross_compiling" = yes ||
4668
$as_test_x conftest$ac_exeext
4213
if ac_fn_c_try_link "$LINENO"; then :
4670
4214
gt_cv_func_dgettext_libc=yes
4672
$as_echo "$as_me: failed program was:" >&5
4673
sed 's/^/| /' conftest.$ac_ext >&5
4675
gt_cv_func_dgettext_libc=no
4678
rm -rf conftest.dSYM
4679
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4680
conftest$ac_exeext conftest.$ac_ext
4683
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4216
gt_cv_func_dgettext_libc=no
4218
rm -f core conftest.err conftest.$ac_objext \
4219
conftest$ac_exeext conftest.$ac_ext
4222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
4684
4223
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
4687
4226
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4689
for ac_func in bind_textdomain_codeset
4691
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4692
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4693
$as_echo_n "checking for $ac_func... " >&6; }
4694
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4695
$as_echo_n "(cached) " >&6
4697
cat >conftest.$ac_ext <<_ACEOF
4700
cat confdefs.h >>conftest.$ac_ext
4701
cat >>conftest.$ac_ext <<_ACEOF
4702
/* end confdefs.h. */
4703
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4704
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4705
#define $ac_func innocuous_$ac_func
4707
/* System header to define __stub macros and hopefully few prototypes,
4708
which can conflict with char $ac_func (); below.
4709
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710
<limits.h> exists even on freestanding compilers. */
4713
# include <limits.h>
4715
# include <assert.h>
4720
/* Override any GCC internal prototype to avoid an error.
4721
Use char because int might match the return type of a GCC
4722
builtin and then its argument prototype would still apply. */
4727
/* The GNU C library defines this for functions which it implements
4728
to always fail with ENOSYS. Some functions are actually named
4729
something starting with __ and the normal name is an alias. */
4730
#if defined __stub_$ac_func || defined __stub___$ac_func
4742
rm -f conftest.$ac_objext conftest$ac_exeext
4743
if { (ac_try="$ac_link"
4745
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746
*) ac_try_echo=$ac_try;;
4748
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4749
$as_echo "$ac_try_echo") >&5
4750
(eval "$ac_link") 2>conftest.er1
4752
grep -v '^ *+' conftest.er1 >conftest.err
4754
cat conftest.err >&5
4755
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756
(exit $ac_status); } && {
4757
test -z "$ac_c_werror_flag" ||
4758
test ! -s conftest.err
4759
} && test -s conftest$ac_exeext && {
4760
test "$cross_compiling" = yes ||
4761
$as_test_x conftest$ac_exeext
4763
eval "$as_ac_var=yes"
4765
$as_echo "$as_me: failed program was:" >&5
4766
sed 's/^/| /' conftest.$ac_ext >&5
4768
eval "$as_ac_var=no"
4771
rm -rf conftest.dSYM
4772
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773
conftest$ac_exeext conftest.$ac_ext
4775
ac_res=`eval 'as_val=${'$as_ac_var'}
4776
$as_echo "$as_val"'`
4777
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4778
$as_echo "$ac_res" >&6; }
4779
as_val=`eval 'as_val=${'$as_ac_var'}
4780
$as_echo "$as_val"'`
4781
if test "x$as_val" = x""yes; then
4227
for ac_func in bind_textdomain_codeset
4229
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4230
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4782
4231
cat >>confdefs.h <<_ACEOF
4783
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4232
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5159
4463
glib_save_LIBS="$LIBS"
5160
4464
LIBS="$LIBS -lintl $libintl_extra_libs"
5161
4465
unset ac_cv_func_bind_textdomain_codeset
5163
for ac_func in bind_textdomain_codeset
5165
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5166
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5167
$as_echo_n "checking for $ac_func... " >&6; }
5168
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5169
$as_echo_n "(cached) " >&6
5171
cat >conftest.$ac_ext <<_ACEOF
5174
cat confdefs.h >>conftest.$ac_ext
5175
cat >>conftest.$ac_ext <<_ACEOF
5176
/* end confdefs.h. */
5177
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5178
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5179
#define $ac_func innocuous_$ac_func
5181
/* System header to define __stub macros and hopefully few prototypes,
5182
which can conflict with char $ac_func (); below.
5183
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5184
<limits.h> exists even on freestanding compilers. */
5187
# include <limits.h>
5189
# include <assert.h>
5194
/* Override any GCC internal prototype to avoid an error.
5195
Use char because int might match the return type of a GCC
5196
builtin and then its argument prototype would still apply. */
5201
/* The GNU C library defines this for functions which it implements
5202
to always fail with ENOSYS. Some functions are actually named
5203
something starting with __ and the normal name is an alias. */
5204
#if defined __stub_$ac_func || defined __stub___$ac_func
5216
rm -f conftest.$ac_objext conftest$ac_exeext
5217
if { (ac_try="$ac_link"
5219
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5220
*) ac_try_echo=$ac_try;;
5222
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5223
$as_echo "$ac_try_echo") >&5
5224
(eval "$ac_link") 2>conftest.er1
5226
grep -v '^ *+' conftest.er1 >conftest.err
5228
cat conftest.err >&5
5229
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230
(exit $ac_status); } && {
5231
test -z "$ac_c_werror_flag" ||
5232
test ! -s conftest.err
5233
} && test -s conftest$ac_exeext && {
5234
test "$cross_compiling" = yes ||
5235
$as_test_x conftest$ac_exeext
5237
eval "$as_ac_var=yes"
5239
$as_echo "$as_me: failed program was:" >&5
5240
sed 's/^/| /' conftest.$ac_ext >&5
5242
eval "$as_ac_var=no"
5245
rm -rf conftest.dSYM
5246
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5247
conftest$ac_exeext conftest.$ac_ext
5249
ac_res=`eval 'as_val=${'$as_ac_var'}
5250
$as_echo "$as_val"'`
5251
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5252
$as_echo "$ac_res" >&6; }
5253
as_val=`eval 'as_val=${'$as_ac_var'}
5254
$as_echo "$as_val"'`
5255
if test "x$as_val" = x""yes; then
4466
for ac_func in bind_textdomain_codeset
4468
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4469
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5256
4470
cat >>confdefs.h <<_ACEOF
5257
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4471
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5318
4530
MSGFMT="$ac_cv_path_MSGFMT"
5319
4531
if test "$MSGFMT" != "no"; then
5320
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
4532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5321
4533
$as_echo "$MSGFMT" >&6; }
5323
{ $as_echo "$as_me:$LINENO: result: no" >&5
4535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324
4536
$as_echo "no" >&6; }
5326
4538
if test "$MSGFMT" != "no"; then
5327
4539
glib_save_LIBS="$LIBS"
5328
4540
LIBS="$LIBS $INTLLIBS"
5330
for ac_func in dcgettext
5332
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5333
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5334
$as_echo_n "checking for $ac_func... " >&6; }
5335
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5336
$as_echo_n "(cached) " >&6
5338
cat >conftest.$ac_ext <<_ACEOF
5341
cat confdefs.h >>conftest.$ac_ext
5342
cat >>conftest.$ac_ext <<_ACEOF
5343
/* end confdefs.h. */
5344
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5345
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5346
#define $ac_func innocuous_$ac_func
5348
/* System header to define __stub macros and hopefully few prototypes,
5349
which can conflict with char $ac_func (); below.
5350
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5351
<limits.h> exists even on freestanding compilers. */
5354
# include <limits.h>
5356
# include <assert.h>
5361
/* Override any GCC internal prototype to avoid an error.
5362
Use char because int might match the return type of a GCC
5363
builtin and then its argument prototype would still apply. */
5368
/* The GNU C library defines this for functions which it implements
5369
to always fail with ENOSYS. Some functions are actually named
5370
something starting with __ and the normal name is an alias. */
5371
#if defined __stub_$ac_func || defined __stub___$ac_func
5383
rm -f conftest.$ac_objext conftest$ac_exeext
5384
if { (ac_try="$ac_link"
5386
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5387
*) ac_try_echo=$ac_try;;
5389
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5390
$as_echo "$ac_try_echo") >&5
5391
(eval "$ac_link") 2>conftest.er1
5393
grep -v '^ *+' conftest.er1 >conftest.err
5395
cat conftest.err >&5
5396
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397
(exit $ac_status); } && {
5398
test -z "$ac_c_werror_flag" ||
5399
test ! -s conftest.err
5400
} && test -s conftest$ac_exeext && {
5401
test "$cross_compiling" = yes ||
5402
$as_test_x conftest$ac_exeext
5404
eval "$as_ac_var=yes"
5406
$as_echo "$as_me: failed program was:" >&5
5407
sed 's/^/| /' conftest.$ac_ext >&5
5409
eval "$as_ac_var=no"
5412
rm -rf conftest.dSYM
5413
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5414
conftest$ac_exeext conftest.$ac_ext
5416
ac_res=`eval 'as_val=${'$as_ac_var'}
5417
$as_echo "$as_val"'`
5418
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5419
$as_echo "$ac_res" >&6; }
5420
as_val=`eval 'as_val=${'$as_ac_var'}
5421
$as_echo "$as_val"'`
5422
if test "x$as_val" = x""yes; then
4541
for ac_func in dcgettext
4543
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
4544
if test "x$ac_cv_func_dcgettext" = x""yes; then :
5423
4545
cat >>confdefs.h <<_ACEOF
5424
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4546
#define HAVE_DCGETTEXT 1
5431
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
4553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5432
4554
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5433
4555
cat >conftest.foo <<_ACEOF
5552
rm -f conftest.$ac_objext conftest$ac_exeext
5553
if { (ac_try="$ac_link"
5555
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5556
*) ac_try_echo=$ac_try;;
5558
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5559
$as_echo "$ac_try_echo") >&5
5560
(eval "$ac_link") 2>conftest.er1
5562
grep -v '^ *+' conftest.er1 >conftest.err
5564
cat conftest.err >&5
5565
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566
(exit $ac_status); } && {
5567
test -z "$ac_c_werror_flag" ||
5568
test ! -s conftest.err
5569
} && test -s conftest$ac_exeext && {
5570
test "$cross_compiling" = yes ||
5571
$as_test_x conftest$ac_exeext
4670
if ac_fn_c_try_link "$LINENO"; then :
5574
4672
DATADIRNAME=share
5576
$as_echo "$as_me: failed program was:" >&5
5577
sed 's/^/| /' conftest.$ac_ext >&5
5581
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5582
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
5583
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5584
$as_echo_n "(cached) " >&6
5586
cat >conftest.$ac_ext <<_ACEOF
5589
cat confdefs.h >>conftest.$ac_ext
5590
cat >>conftest.$ac_ext <<_ACEOF
5591
/* end confdefs.h. */
5592
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5593
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5594
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5596
/* System header to define __stub macros and hopefully few prototypes,
5597
which can conflict with char bind_textdomain_codeset (); below.
5598
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5599
<limits.h> exists even on freestanding compilers. */
5602
# include <limits.h>
5604
# include <assert.h>
5607
#undef bind_textdomain_codeset
5609
/* Override any GCC internal prototype to avoid an error.
5610
Use char because int might match the return type of a GCC
5611
builtin and then its argument prototype would still apply. */
5615
char bind_textdomain_codeset ();
5616
/* The GNU C library defines this for functions which it implements
5617
to always fail with ENOSYS. Some functions are actually named
5618
something starting with __ and the normal name is an alias. */
5619
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
5626
return bind_textdomain_codeset ();
5631
rm -f conftest.$ac_objext conftest$ac_exeext
5632
if { (ac_try="$ac_link"
5634
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5635
*) ac_try_echo=$ac_try;;
5637
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5638
$as_echo "$ac_try_echo") >&5
5639
(eval "$ac_link") 2>conftest.er1
5641
grep -v '^ *+' conftest.er1 >conftest.err
5643
cat conftest.err >&5
5644
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645
(exit $ac_status); } && {
5646
test -z "$ac_c_werror_flag" ||
5647
test ! -s conftest.err
5648
} && test -s conftest$ac_exeext && {
5649
test "$cross_compiling" = yes ||
5650
$as_test_x conftest$ac_exeext
5652
ac_cv_func_bind_textdomain_codeset=yes
5654
$as_echo "$as_me: failed program was:" >&5
5655
sed 's/^/| /' conftest.$ac_ext >&5
5657
ac_cv_func_bind_textdomain_codeset=no
5660
rm -rf conftest.dSYM
5661
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5662
conftest$ac_exeext conftest.$ac_ext
5664
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5665
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
5666
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4676
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4677
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5668
4679
DATADIRNAME=share
6350
rm -f conftest.$ac_objext conftest$ac_exeext
6351
if { (ac_try="$ac_link"
6353
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6354
*) ac_try_echo=$ac_try;;
6356
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6357
$as_echo "$ac_try_echo") >&5
6358
(eval "$ac_link") 2>conftest.er1
6360
grep -v '^ *+' conftest.er1 >conftest.err
6362
cat conftest.err >&5
6363
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364
(exit $ac_status); } && {
6365
test -z "$ac_c_werror_flag" ||
6366
test ! -s conftest.err
6367
} && test -s conftest$ac_exeext && {
6368
test "$cross_compiling" = yes ||
6369
$as_test_x conftest$ac_exeext
5337
if ac_fn_c_try_link "$LINENO"; then :
6371
5338
DATADIRNAME=share
6373
$as_echo "$as_me: failed program was:" >&5
6374
sed 's/^/| /' conftest.$ac_ext >&5
6378
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6379
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6380
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6381
$as_echo_n "(cached) " >&6
6383
cat >conftest.$ac_ext <<_ACEOF
6386
cat confdefs.h >>conftest.$ac_ext
6387
cat >>conftest.$ac_ext <<_ACEOF
6388
/* end confdefs.h. */
6389
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6390
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6391
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6393
/* System header to define __stub macros and hopefully few prototypes,
6394
which can conflict with char bind_textdomain_codeset (); below.
6395
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6396
<limits.h> exists even on freestanding compilers. */
6399
# include <limits.h>
6401
# include <assert.h>
6404
#undef bind_textdomain_codeset
6406
/* Override any GCC internal prototype to avoid an error.
6407
Use char because int might match the return type of a GCC
6408
builtin and then its argument prototype would still apply. */
6412
char bind_textdomain_codeset ();
6413
/* The GNU C library defines this for functions which it implements
6414
to always fail with ENOSYS. Some functions are actually named
6415
something starting with __ and the normal name is an alias. */
6416
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6423
return bind_textdomain_codeset ();
6428
rm -f conftest.$ac_objext conftest$ac_exeext
6429
if { (ac_try="$ac_link"
6431
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6432
*) ac_try_echo=$ac_try;;
6434
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6435
$as_echo "$ac_try_echo") >&5
6436
(eval "$ac_link") 2>conftest.er1
6438
grep -v '^ *+' conftest.er1 >conftest.err
6440
cat conftest.err >&5
6441
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442
(exit $ac_status); } && {
6443
test -z "$ac_c_werror_flag" ||
6444
test ! -s conftest.err
6445
} && test -s conftest$ac_exeext && {
6446
test "$cross_compiling" = yes ||
6447
$as_test_x conftest$ac_exeext
6449
ac_cv_func_bind_textdomain_codeset=yes
6451
$as_echo "$as_me: failed program was:" >&5
6452
sed 's/^/| /' conftest.$ac_ext >&5
6454
ac_cv_func_bind_textdomain_codeset=no
6457
rm -rf conftest.dSYM
6458
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6459
conftest$ac_exeext conftest.$ac_ext
6461
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6462
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6463
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
5342
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5343
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6464
5344
DATADIRNAME=share
6466
5346
DATADIRNAME=lib
6729
5605
($PYTHON -c "$prog") >&5 2>&5
6731
5607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732
(exit $ac_status); }; then
6733
{ $as_echo "$as_me:$LINENO: result: yes" >&5
5608
(exit $ac_status); }; then :
5609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6734
5610
$as_echo "yes" >&6; }
6736
{ $as_echo "$as_me:$LINENO: result: no" >&5
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737
5613
$as_echo "no" >&6; }; PYTHON=""
6744
5619
if test -z "$PYTHON"; then
6746
{ { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
6747
$as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
6748
{ (exit 1); exit 1; }; }
6754
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
6755
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6756
if test "${am_cv_python_version+set}" = set; then
6757
$as_echo_n "(cached) " >&6
6759
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
6761
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
6762
$as_echo "$am_cv_python_version" >&6; }
6763
PYTHON_VERSION=$am_cv_python_version
6767
PYTHON_PREFIX='${prefix}'
6769
PYTHON_EXEC_PREFIX='${exec_prefix}'
6773
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
6774
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6775
if test "${am_cv_python_platform+set}" = set; then
6776
$as_echo_n "(cached) " >&6
6778
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
6780
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
6781
$as_echo "$am_cv_python_platform" >&6; }
6782
PYTHON_PLATFORM=$am_cv_python_platform
6787
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
6788
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6789
if test "${am_cv_python_pythondir+set}" = set; then
6790
$as_echo_n "(cached) " >&6
6792
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
6793
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
6795
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
6796
$as_echo "$am_cv_python_pythondir" >&6; }
6797
pythondir=$am_cv_python_pythondir
6801
pkgpythondir=\${pythondir}/$PACKAGE
6804
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
6805
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6806
if test "${am_cv_python_pyexecdir+set}" = set; then
6807
$as_echo_n "(cached) " >&6
6809
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
6810
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
6812
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
6813
$as_echo "$am_cv_python_pyexecdir" >&6; }
6814
pyexecdir=$am_cv_python_pyexecdir
6818
pkgpyexecdir=\${pyexecdir}/$PACKAGE
6829
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
6830
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6831
if test "${am_cv_python_version+set}" = set; then
6832
$as_echo_n "(cached) " >&6
6834
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
6836
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
6837
$as_echo "$am_cv_python_version" >&6; }
6838
PYTHON_VERSION=$am_cv_python_version
6842
PYTHON_PREFIX='${prefix}'
6844
PYTHON_EXEC_PREFIX='${exec_prefix}'
6848
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
6849
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6850
if test "${am_cv_python_platform+set}" = set; then
6851
$as_echo_n "(cached) " >&6
6853
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
6855
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
6856
$as_echo "$am_cv_python_platform" >&6; }
6857
PYTHON_PLATFORM=$am_cv_python_platform
6862
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
6863
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6864
if test "${am_cv_python_pythondir+set}" = set; then
6865
$as_echo_n "(cached) " >&6
6867
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
6868
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
6870
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
6871
$as_echo "$am_cv_python_pythondir" >&6; }
6872
pythondir=$am_cv_python_pythondir
6876
pkgpythondir=\${pythondir}/$PACKAGE
6879
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
6880
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6881
if test "${am_cv_python_pyexecdir+set}" = set; then
6882
$as_echo_n "(cached) " >&6
6884
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
6885
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
6887
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
6888
$as_echo "$am_cv_python_pyexecdir" >&6; }
6889
pyexecdir=$am_cv_python_pyexecdir
6893
pkgpyexecdir=\${pyexecdir}/$PACKAGE
6904
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
6905
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6906
if test "${am_cv_python_version+set}" = set; then
6907
$as_echo_n "(cached) " >&6
6909
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
6911
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
6912
$as_echo "$am_cv_python_version" >&6; }
6913
PYTHON_VERSION=$am_cv_python_version
6917
PYTHON_PREFIX='${prefix}'
6919
PYTHON_EXEC_PREFIX='${exec_prefix}'
6923
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
6924
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6925
if test "${am_cv_python_platform+set}" = set; then
6926
$as_echo_n "(cached) " >&6
6928
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
6930
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
6931
$as_echo "$am_cv_python_platform" >&6; }
6932
PYTHON_PLATFORM=$am_cv_python_platform
6937
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
6938
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6939
if test "${am_cv_python_pythondir+set}" = set; then
6940
$as_echo_n "(cached) " >&6
6942
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
6943
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
6945
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
6946
$as_echo "$am_cv_python_pythondir" >&6; }
6947
pythondir=$am_cv_python_pythondir
6951
pkgpythondir=\${pythondir}/$PACKAGE
6954
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
6955
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6956
if test "${am_cv_python_pyexecdir+set}" = set; then
6957
$as_echo_n "(cached) " >&6
6959
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
6960
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
6962
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5621
as_fn_error "no suitable Python interpreter found" "$LINENO" 5
5627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5628
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5629
if test "${am_cv_python_version+set}" = set; then :
5630
$as_echo_n "(cached) " >&6
5632
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
5634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5635
$as_echo "$am_cv_python_version" >&6; }
5636
PYTHON_VERSION=$am_cv_python_version
5640
PYTHON_PREFIX='${prefix}'
5642
PYTHON_EXEC_PREFIX='${exec_prefix}'
5646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5647
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5648
if test "${am_cv_python_platform+set}" = set; then :
5649
$as_echo_n "(cached) " >&6
5651
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
5653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5654
$as_echo "$am_cv_python_platform" >&6; }
5655
PYTHON_PLATFORM=$am_cv_python_platform
5660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5661
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5662
if test "${am_cv_python_pythondir+set}" = set; then :
5663
$as_echo_n "(cached) " >&6
5665
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5666
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5669
$as_echo "$am_cv_python_pythondir" >&6; }
5670
pythondir=$am_cv_python_pythondir
5674
pkgpythondir=\${pythondir}/$PACKAGE
5677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5678
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5679
if test "${am_cv_python_pyexecdir+set}" = set; then :
5680
$as_echo_n "(cached) " >&6
5682
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5683
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5686
$as_echo "$am_cv_python_pyexecdir" >&6; }
5687
pyexecdir=$am_cv_python_pyexecdir
5691
pkgpyexecdir=\${pyexecdir}/$PACKAGE
5702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5703
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5704
if test "${am_cv_python_version+set}" = set; then :
5705
$as_echo_n "(cached) " >&6
5707
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
5709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5710
$as_echo "$am_cv_python_version" >&6; }
5711
PYTHON_VERSION=$am_cv_python_version
5715
PYTHON_PREFIX='${prefix}'
5717
PYTHON_EXEC_PREFIX='${exec_prefix}'
5721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5722
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5723
if test "${am_cv_python_platform+set}" = set; then :
5724
$as_echo_n "(cached) " >&6
5726
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
5728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5729
$as_echo "$am_cv_python_platform" >&6; }
5730
PYTHON_PLATFORM=$am_cv_python_platform
5735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5736
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5737
if test "${am_cv_python_pythondir+set}" = set; then :
5738
$as_echo_n "(cached) " >&6
5740
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5741
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5744
$as_echo "$am_cv_python_pythondir" >&6; }
5745
pythondir=$am_cv_python_pythondir
5749
pkgpythondir=\${pythondir}/$PACKAGE
5752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5753
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5754
if test "${am_cv_python_pyexecdir+set}" = set; then :
5755
$as_echo_n "(cached) " >&6
5757
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5758
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5761
$as_echo "$am_cv_python_pyexecdir" >&6; }
5762
pyexecdir=$am_cv_python_pyexecdir
5766
pkgpyexecdir=\${pyexecdir}/$PACKAGE
5777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5778
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5779
if test "${am_cv_python_version+set}" = set; then :
5780
$as_echo_n "(cached) " >&6
5782
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
5784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5785
$as_echo "$am_cv_python_version" >&6; }
5786
PYTHON_VERSION=$am_cv_python_version
5790
PYTHON_PREFIX='${prefix}'
5792
PYTHON_EXEC_PREFIX='${exec_prefix}'
5796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5797
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5798
if test "${am_cv_python_platform+set}" = set; then :
5799
$as_echo_n "(cached) " >&6
5801
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
5803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5804
$as_echo "$am_cv_python_platform" >&6; }
5805
PYTHON_PLATFORM=$am_cv_python_platform
5810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5811
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5812
if test "${am_cv_python_pythondir+set}" = set; then :
5813
$as_echo_n "(cached) " >&6
5815
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5816
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5819
$as_echo "$am_cv_python_pythondir" >&6; }
5820
pythondir=$am_cv_python_pythondir
5824
pkgpythondir=\${pythondir}/$PACKAGE
5827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5828
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5829
if test "${am_cv_python_pyexecdir+set}" = set; then :
5830
$as_echo_n "(cached) " >&6
5832
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5833
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6963
5836
$as_echo "$am_cv_python_pyexecdir" >&6; }
6964
5837
pyexecdir=$am_cv_python_pyexecdir
7143
6016
# Put the nasty error message in config.log where it belongs
7144
6017
echo "$ALACARTE_PKG_ERRORS" >&5
7146
{ { $as_echo "$as_me:$LINENO: error: Package requirements (libgnome-menu >= 2.27.92) were not met:
7148
$ALACARTE_PKG_ERRORS
7150
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7151
installed software in a non-standard prefix.
7153
Alternatively, you may set the environment variables ALACARTE_CFLAGS
7154
and ALACARTE_LIBS to avoid the need to call pkg-config.
7155
See the pkg-config man page for more details.
7157
$as_echo "$as_me: error: Package requirements (libgnome-menu >= 2.27.92) were not met:
7159
$ALACARTE_PKG_ERRORS
7161
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7162
installed software in a non-standard prefix.
7164
Alternatively, you may set the environment variables ALACARTE_CFLAGS
7165
and ALACARTE_LIBS to avoid the need to call pkg-config.
7166
See the pkg-config man page for more details.
7168
{ (exit 1); exit 1; }; }
6019
as_fn_error "Package requirements (libgnome-menu >= 2.27.92) were not met:
6021
$ALACARTE_PKG_ERRORS
6023
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6024
installed software in a non-standard prefix.
6026
Alternatively, you may set the environment variables ALACARTE_CFLAGS
6027
and ALACARTE_LIBS to avoid the need to call pkg-config.
6028
See the pkg-config man page for more details.
7169
6030
elif test $pkg_failed = untried; then
7170
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6031
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7171
6032
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7172
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7173
is in your PATH or set the PKG_CONFIG environment variable to the full
7176
Alternatively, you may set the environment variables ALACARTE_CFLAGS
7177
and ALACARTE_LIBS to avoid the need to call pkg-config.
7178
See the pkg-config man page for more details.
7180
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7181
See \`config.log' for more details." >&5
7182
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7183
is in your PATH or set the PKG_CONFIG environment variable to the full
7186
Alternatively, you may set the environment variables ALACARTE_CFLAGS
7187
and ALACARTE_LIBS to avoid the need to call pkg-config.
7188
See the pkg-config man page for more details.
7190
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7191
See \`config.log' for more details." >&2;}
7192
{ (exit 1); exit 1; }; }; }
6033
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
6034
is in your PATH or set the PKG_CONFIG environment variable to the full
6037
Alternatively, you may set the environment variables ALACARTE_CFLAGS
6038
and ALACARTE_LIBS to avoid the need to call pkg-config.
6039
See the pkg-config man page for more details.
6041
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6042
See \`config.log' for more details." "$LINENO" 5; }
7194
6044
ALACARTE_CFLAGS=$pkg_cv_ALACARTE_CFLAGS
7195
6045
ALACARTE_LIBS=$pkg_cv_ALACARTE_LIBS
7196
{ $as_echo "$as_me:$LINENO: result: yes" >&5
6046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7197
6047
$as_echo "yes" >&6; }
7201
{ $as_echo "$as_me:$LINENO: checking for pygobject 2.15.1 installed for python required_python_abi" >&5
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygobject 2.15.1 installed for python required_python_abi" >&5
7202
6052
$as_echo_n "checking for pygobject 2.15.1 installed for python required_python_abi... " >&6; }
7204
6054
import pygtk; pygtk.require('2.0')