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 '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173
136
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
175
176
as_have_required=yes
177
178
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
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
test -z "$as_dir" && as_dir=.
247
192
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
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
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
220
export CONFIG_SHELL
366
221
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. :-)
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
360
# ----------------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with STATUS, using 1 if that was 0.
366
as_status=$1; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371
$as_echo "$as_me: error: $2" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1468
1453
test -n "$ac_init_help" && exit $ac_status
1469
1454
if $ac_init_version; then
1471
virt-manager configure 0.8.4
1472
generated by GNU Autoconf 2.63
1456
virt-manager configure 0.8.6
1457
generated by GNU Autoconf 2.66
1474
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1475
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1459
Copyright (C) 2010 Free Software Foundation, Inc.
1476
1460
This configure script is free software; the Free Software Foundation
1477
1461
gives unlimited permission to copy, distribute and modify it.
1466
## ------------------------ ##
1467
## Autoconf initialization. ##
1468
## ------------------------ ##
1470
# ac_fn_c_try_compile LINENO
1471
# --------------------------
1472
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1473
ac_fn_c_try_compile ()
1475
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1476
rm -f conftest.$ac_objext
1477
if { { ac_try="$ac_compile"
1479
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1480
*) ac_try_echo=$ac_try;;
1482
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1483
$as_echo "$ac_try_echo"; } >&5
1484
(eval "$ac_compile") 2>conftest.err
1486
if test -s conftest.err; then
1487
grep -v '^ *+' conftest.err >conftest.er1
1488
cat conftest.er1 >&5
1489
mv -f conftest.er1 conftest.err
1491
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1492
test $ac_status = 0; } && {
1493
test -z "$ac_c_werror_flag" ||
1494
test ! -s conftest.err
1495
} && test -s conftest.$ac_objext; then :
1498
$as_echo "$as_me: failed program was:" >&5
1499
sed 's/^/| /' conftest.$ac_ext >&5
1503
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1504
as_fn_set_status $ac_retval
1506
} # ac_fn_c_try_compile
1508
# ac_fn_c_try_link LINENO
1509
# -----------------------
1510
# Try to link conftest.$ac_ext, and return whether this succeeded.
1513
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514
rm -f conftest.$ac_objext conftest$ac_exeext
1515
if { { ac_try="$ac_link"
1517
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1518
*) ac_try_echo=$ac_try;;
1520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521
$as_echo "$ac_try_echo"; } >&5
1522
(eval "$ac_link") 2>conftest.err
1524
if test -s conftest.err; then
1525
grep -v '^ *+' conftest.err >conftest.er1
1526
cat conftest.er1 >&5
1527
mv -f conftest.er1 conftest.err
1529
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530
test $ac_status = 0; } && {
1531
test -z "$ac_c_werror_flag" ||
1532
test ! -s conftest.err
1533
} && test -s conftest$ac_exeext && {
1534
test "$cross_compiling" = yes ||
1535
$as_test_x conftest$ac_exeext
1539
$as_echo "$as_me: failed program was:" >&5
1540
sed 's/^/| /' conftest.$ac_ext >&5
1544
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1545
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1546
# interfere with the next link command; also delete a directory that is
1547
# left behind by Apple's compiler. We do this before executing the actions.
1548
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1549
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1550
as_fn_set_status $ac_retval
1552
} # ac_fn_c_try_link
1554
# ac_fn_c_check_func LINENO FUNC VAR
1555
# ----------------------------------
1556
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1557
ac_fn_c_check_func ()
1559
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1561
$as_echo_n "checking for $2... " >&6; }
1562
if eval "test \"\${$3+set}\"" = set; then :
1563
$as_echo_n "(cached) " >&6
1565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1566
/* end confdefs.h. */
1567
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1568
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1569
#define $2 innocuous_$2
1571
/* System header to define __stub macros and hopefully few prototypes,
1572
which can conflict with char $2 (); below.
1573
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1574
<limits.h> exists even on freestanding compilers. */
1577
# include <limits.h>
1579
# include <assert.h>
1584
/* Override any GCC internal prototype to avoid an error.
1585
Use char because int might match the return type of a GCC
1586
builtin and then its argument prototype would still apply. */
1591
/* The GNU C library defines this for functions which it implements
1592
to always fail with ENOSYS. Some functions are actually named
1593
something starting with __ and the normal name is an alias. */
1594
#if defined __stub_$2 || defined __stub___$2
1606
if ac_fn_c_try_link "$LINENO"; then :
1611
rm -f core conftest.err conftest.$ac_objext \
1612
conftest$ac_exeext conftest.$ac_ext
1615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616
$as_echo "$ac_res" >&6; }
1617
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1619
} # ac_fn_c_check_func
1621
# ac_fn_c_try_cpp LINENO
1622
# ----------------------
1623
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1626
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627
if { { ac_try="$ac_cpp conftest.$ac_ext"
1629
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630
*) ac_try_echo=$ac_try;;
1632
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633
$as_echo "$ac_try_echo"; } >&5
1634
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636
if test -s conftest.err; then
1637
grep -v '^ *+' conftest.err >conftest.er1
1638
cat conftest.er1 >&5
1639
mv -f conftest.er1 conftest.err
1641
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642
test $ac_status = 0; } >/dev/null && {
1643
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644
test ! -s conftest.err
1648
$as_echo "$as_me: failed program was:" >&5
1649
sed 's/^/| /' conftest.$ac_ext >&5
1653
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1654
as_fn_set_status $ac_retval
1658
# ac_fn_c_try_run LINENO
1659
# ----------------------
1660
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661
# that executables *can* be run.
1664
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665
if { { ac_try="$ac_link"
1667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668
*) ac_try_echo=$ac_try;;
1670
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671
$as_echo "$ac_try_echo"; } >&5
1672
(eval "$ac_link") 2>&5
1674
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676
{ { case "(($ac_try" in
1677
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678
*) ac_try_echo=$ac_try;;
1680
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681
$as_echo "$ac_try_echo"; } >&5
1682
(eval "$ac_try") 2>&5
1684
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685
test $ac_status = 0; }; }; then :
1688
$as_echo "$as_me: program exited with status $ac_status" >&5
1689
$as_echo "$as_me: failed program was:" >&5
1690
sed 's/^/| /' conftest.$ac_ext >&5
1692
ac_retval=$ac_status
1694
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696
as_fn_set_status $ac_retval
1481
1699
cat >config.log <<_ACEOF
1482
1700
This file contains any messages produced by compilers while
1483
1701
running configure, to aid debugging if configure makes a mistake.
1485
It was created by virt-manager $as_me 0.8.4, which was
1486
generated by GNU Autoconf 2.63. Invocation command line was
1703
It was created by virt-manager $as_me 0.8.6, which was
1704
generated by GNU Autoconf 2.66. Invocation command line was
2752
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2962
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2753
2963
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2755
See \`config.log' for more details." >&5
2756
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2757
See \`config.log' for more details." >&2;}
2758
{ (exit 1); exit 1; }; }; }
2964
as_fn_error $? "no acceptable C compiler found in \$PATH
2965
See \`config.log' for more details" "$LINENO" 5; }
2760
2967
# Provide some information about the compiler.
2761
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2968
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2762
2969
set X $ac_compile
2764
{ (ac_try="$ac_compiler --version >&5"
2766
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767
*) ac_try_echo=$ac_try;;
2769
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2770
$as_echo "$ac_try_echo") >&5
2771
(eval "$ac_compiler --version >&5") 2>&5
2773
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774
(exit $ac_status); }
2775
{ (ac_try="$ac_compiler -v >&5"
2777
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778
*) ac_try_echo=$ac_try;;
2780
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2781
$as_echo "$ac_try_echo") >&5
2782
(eval "$ac_compiler -v >&5") 2>&5
2784
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785
(exit $ac_status); }
2786
{ (ac_try="$ac_compiler -V >&5"
2788
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789
*) ac_try_echo=$ac_try;;
2791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2792
$as_echo "$ac_try_echo") >&5
2793
(eval "$ac_compiler -V >&5") 2>&5
2795
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796
(exit $ac_status); }
2971
for ac_option in --version -v -V -qversion; do
2972
{ { ac_try="$ac_compiler $ac_option >&5"
2974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
*) ac_try_echo=$ac_try;;
2977
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978
$as_echo "$ac_try_echo"; } >&5
2979
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2981
if test -s conftest.err; then
2983
... rest of stderr output deleted ...
2984
10q' conftest.err >conftest.er1
2985
cat conftest.er1 >&5
2987
rm -f conftest.er1 conftest.err
2988
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989
test $ac_status = 0; }
2798
cat >conftest.$ac_ext <<_ACEOF
2801
cat confdefs.h >>conftest.$ac_ext
2802
cat >>conftest.$ac_ext <<_ACEOF
2992
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803
2993
/* end confdefs.h. */
3071
if test -z "$ac_file"; then :
3072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073
$as_echo "no" >&6; }
3074
$as_echo "$as_me: failed program was:" >&5
3075
sed 's/^/| /' conftest.$ac_ext >&5
2882
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3077
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3078
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079
as_fn_error 77 "C compiler cannot create executables
3080
See \`config.log' for more details" "$LINENO" 5; }
3082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3083
$as_echo "yes" >&6; }
3085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3086
$as_echo_n "checking for C compiler default output file name... " >&6; }
3087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2883
3088
$as_echo "$ac_file" >&6; }
2884
if test -z "$ac_file"; then
2885
$as_echo "$as_me: failed program was:" >&5
2886
sed 's/^/| /' conftest.$ac_ext >&5
2888
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2889
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2890
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2891
See \`config.log' for more details." >&5
2892
$as_echo "$as_me: error: C compiler cannot create executables
2893
See \`config.log' for more details." >&2;}
2894
{ (exit 77); exit 77; }; }; }
2897
3089
ac_exeext=$ac_cv_exeext
2899
# Check that the compiler produces executables we can run. If not, either
2900
# the compiler is broken, or we cross compile.
2901
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2902
$as_echo_n "checking whether the C compiler works... " >&6; }
2903
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2904
# If not cross compiling, check that we can run a simple program.
2905
if test "$cross_compiling" != yes; then
2906
if { ac_try='./$ac_file'
2907
{ (case "(($ac_try" in
2908
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909
*) ac_try_echo=$ac_try;;
2911
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2912
$as_echo "$ac_try_echo") >&5
2913
(eval "$ac_try") 2>&5
2915
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916
(exit $ac_status); }; }; then
2919
if test "$cross_compiling" = maybe; then
2922
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2923
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2925
If you meant to cross compile, use \`--host'.
2926
See \`config.log' for more details." >&5
2927
$as_echo "$as_me: error: cannot run C compiled programs.
2928
If you meant to cross compile, use \`--host'.
2929
See \`config.log' for more details." >&2;}
2930
{ (exit 1); exit 1; }; }; }
2934
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2935
$as_echo "yes" >&6; }
2937
3091
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2938
3092
ac_clean_files=$ac_clean_files_save
2939
# Check that the compiler produces executables we can run. If not, either
2940
# the compiler is broken, or we cross compile.
2941
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2942
$as_echo_n "checking whether we are cross compiling... " >&6; }
2943
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2944
$as_echo "$cross_compiling" >&6; }
2946
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2947
3094
$as_echo_n "checking for suffix of executables... " >&6; }
2948
if { (ac_try="$ac_link"
3095
if { { ac_try="$ac_link"
2949
3096
case "(($ac_try" in
2950
3097
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951
3098
*) ac_try_echo=$ac_try;;
2953
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2954
$as_echo "$ac_try_echo") >&5
3100
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101
$as_echo "$ac_try_echo"; } >&5
2955
3102
(eval "$ac_link") 2>&5
2957
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958
(exit $ac_status); }; then
3104
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105
test $ac_status = 0; }; then :
2959
3106
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2960
3107
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2961
3108
# work properly (i.e., refer to `conftest.exe'), while it won't with
2973
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3120
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974
3121
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2976
See \`config.log' for more details." >&5
2977
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2978
See \`config.log' for more details." >&2;}
2979
{ (exit 1); exit 1; }; }; }
3122
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3123
See \`config.log' for more details" "$LINENO" 5; }
2982
rm -f conftest$ac_cv_exeext
2983
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3125
rm -f conftest conftest$ac_cv_exeext
3126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2984
3127
$as_echo "$ac_cv_exeext" >&6; }
2986
3129
rm -f conftest.$ac_ext
2987
3130
EXEEXT=$ac_cv_exeext
2988
3131
ac_exeext=$EXEEXT
2989
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3132
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133
/* end confdefs.h. */
3138
FILE *f = fopen ("conftest.out", "w");
3139
return ferror (f) || fclose (f) != 0;
3145
ac_clean_files="$ac_clean_files conftest.out"
3146
# Check that the compiler produces executables we can run. If not, either
3147
# the compiler is broken, or we cross compile.
3148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3149
$as_echo_n "checking whether we are cross compiling... " >&6; }
3150
if test "$cross_compiling" != yes; then
3151
{ { ac_try="$ac_link"
3153
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154
*) ac_try_echo=$ac_try;;
3156
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157
$as_echo "$ac_try_echo"; } >&5
3158
(eval "$ac_link") 2>&5
3160
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3161
test $ac_status = 0; }
3162
if { ac_try='./conftest$ac_cv_exeext'
3163
{ { case "(($ac_try" in
3164
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165
*) ac_try_echo=$ac_try;;
3167
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168
$as_echo "$ac_try_echo"; } >&5
3169
(eval "$ac_try") 2>&5
3171
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3172
test $ac_status = 0; }; }; then
3175
if test "$cross_compiling" = maybe; then
3178
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3179
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3180
as_fn_error $? "cannot run C compiled programs.
3181
If you meant to cross compile, use \`--host'.
3182
See \`config.log' for more details" "$LINENO" 5; }
3186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3187
$as_echo "$cross_compiling" >&6; }
3189
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3190
ac_clean_files=$ac_clean_files_save
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2990
3192
$as_echo_n "checking for suffix of object files... " >&6; }
2991
if test "${ac_cv_objext+set}" = set; then
3193
if test "${ac_cv_objext+set}" = set; then :
2992
3194
$as_echo_n "(cached) " >&6
2994
cat >conftest.$ac_ext <<_ACEOF
2997
cat confdefs.h >>conftest.$ac_ext
2998
cat >>conftest.$ac_ext <<_ACEOF
3196
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999
3197
/* end confdefs.h. */
4053
rm -f conftest.$ac_objext conftest$ac_exeext
4054
if { (ac_try="$ac_link"
4056
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057
*) ac_try_echo=$ac_try;;
4059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4060
$as_echo "$ac_try_echo") >&5
4061
(eval "$ac_link") 2>conftest.er1
4063
grep -v '^ *+' conftest.er1 >conftest.err
4065
cat conftest.err >&5
4066
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067
(exit $ac_status); } && {
4068
test -z "$ac_c_werror_flag" ||
4069
test ! -s conftest.err
4070
} && test -s conftest$ac_exeext && {
4071
test "$cross_compiling" = yes ||
4072
$as_test_x conftest$ac_exeext
4100
if ac_fn_c_try_link "$LINENO"; then :
4074
4101
DATADIRNAME=share
4076
$as_echo "$as_me: failed program was:" >&5
4077
sed 's/^/| /' conftest.$ac_ext >&5
4081
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4082
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4083
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4084
$as_echo_n "(cached) " >&6
4086
cat >conftest.$ac_ext <<_ACEOF
4089
cat confdefs.h >>conftest.$ac_ext
4090
cat >>conftest.$ac_ext <<_ACEOF
4091
/* end confdefs.h. */
4092
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4093
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4094
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4096
/* System header to define __stub macros and hopefully few prototypes,
4097
which can conflict with char bind_textdomain_codeset (); below.
4098
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4099
<limits.h> exists even on freestanding compilers. */
4102
# include <limits.h>
4104
# include <assert.h>
4107
#undef bind_textdomain_codeset
4109
/* Override any GCC internal prototype to avoid an error.
4110
Use char because int might match the return type of a GCC
4111
builtin and then its argument prototype would still apply. */
4115
char bind_textdomain_codeset ();
4116
/* The GNU C library defines this for functions which it implements
4117
to always fail with ENOSYS. Some functions are actually named
4118
something starting with __ and the normal name is an alias. */
4119
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4126
return bind_textdomain_codeset ();
4131
rm -f conftest.$ac_objext conftest$ac_exeext
4132
if { (ac_try="$ac_link"
4134
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135
*) ac_try_echo=$ac_try;;
4137
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4138
$as_echo "$ac_try_echo") >&5
4139
(eval "$ac_link") 2>conftest.er1
4141
grep -v '^ *+' conftest.er1 >conftest.err
4143
cat conftest.err >&5
4144
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145
(exit $ac_status); } && {
4146
test -z "$ac_c_werror_flag" ||
4147
test ! -s conftest.err
4148
} && test -s conftest$ac_exeext && {
4149
test "$cross_compiling" = yes ||
4150
$as_test_x conftest$ac_exeext
4152
ac_cv_func_bind_textdomain_codeset=yes
4154
$as_echo "$as_me: failed program was:" >&5
4155
sed 's/^/| /' conftest.$ac_ext >&5
4157
ac_cv_func_bind_textdomain_codeset=no
4160
rm -rf conftest.dSYM
4161
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4162
conftest$ac_exeext conftest.$ac_ext
4164
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4165
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4166
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4105
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4106
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4167
4107
DATADIRNAME=share
4169
4109
DATADIRNAME=lib
4713
4637
acl_hardcode_direct="$acl_cv_hardcode_direct"
4714
4638
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4715
4639
# Check whether --enable-rpath was given.
4716
if test "${enable_rpath+set}" = set; then
4640
if test "${enable_rpath+set}" = set; then :
4717
4641
enableval=$enable_rpath; :
4719
4643
enable_rpath=yes
4725
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4726
if test -n "$searchpath"; then
4727
acl_save_IFS="${IFS= }"; IFS=":"
4728
for searchdir in $searchpath; do
4729
if test -d "$searchdir"; then
4730
case "$searchdir" in
4731
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4732
*) searchdir=`cd "$searchdir" && pwd`
4733
case "$searchdir" in
4734
*/lib64 ) acl_libdirstem=lib64 ;;
4648
ac_cpp='$CPP $CPPFLAGS'
4649
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4653
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4654
# On Suns, sometimes $CPP names a directory.
4655
if test -n "$CPP" && test -d "$CPP"; then
4658
if test -z "$CPP"; then
4659
if test "${ac_cv_prog_CPP+set}" = set; then :
4660
$as_echo_n "(cached) " >&6
4662
# Double quotes because CPP needs to be expanded
4663
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4666
for ac_c_preproc_warn_flag in '' yes
4668
# Use a header file that comes with gcc, so configuring glibc
4669
# with a fresh cross-compiler works.
4670
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4671
# <limits.h> exists even on freestanding compilers.
4672
# On the NeXT, cc -E runs the code through the compiler's parser,
4673
# not just through cpp. "Syntax error" is here to catch this case.
4674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675
/* end confdefs.h. */
4677
# include <limits.h>
4679
# include <assert.h>
4683
if ac_fn_c_try_cpp "$LINENO"; then :
4686
# Broken: fails on valid input.
4689
rm -f conftest.err conftest.$ac_ext
4691
# OK, works on sane cases. Now check whether nonexistent headers
4692
# can be detected and how.
4693
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694
/* end confdefs.h. */
4695
#include <ac_nonexistent.h>
4697
if ac_fn_c_try_cpp "$LINENO"; then :
4698
# Broken: success on invalid input.
4701
# Passes both tests.
4705
rm -f conftest.err conftest.$ac_ext
4708
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4709
rm -f conftest.err conftest.$ac_ext
4710
if $ac_preproc_ok; then :
4722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4723
$as_echo "$CPP" >&6; }
4725
for ac_c_preproc_warn_flag in '' yes
4727
# Use a header file that comes with gcc, so configuring glibc
4728
# with a fresh cross-compiler works.
4729
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4730
# <limits.h> exists even on freestanding compilers.
4731
# On the NeXT, cc -E runs the code through the compiler's parser,
4732
# not just through cpp. "Syntax error" is here to catch this case.
4733
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734
/* end confdefs.h. */
4736
# include <limits.h>
4738
# include <assert.h>
4742
if ac_fn_c_try_cpp "$LINENO"; then :
4745
# Broken: fails on valid input.
4748
rm -f conftest.err conftest.$ac_ext
4750
# OK, works on sane cases. Now check whether nonexistent headers
4751
# can be detected and how.
4752
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753
/* end confdefs.h. */
4754
#include <ac_nonexistent.h>
4756
if ac_fn_c_try_cpp "$LINENO"; then :
4757
# Broken: success on invalid input.
4760
# Passes both tests.
4764
rm -f conftest.err conftest.$ac_ext
4767
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4768
rm -f conftest.err conftest.$ac_ext
4769
if $ac_preproc_ok; then :
4772
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4773
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4774
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4775
See \`config.log' for more details" "$LINENO" 5; }
4779
ac_cpp='$CPP $CPPFLAGS'
4780
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4781
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4782
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4786
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4787
if test "${ac_cv_path_GREP+set}" = set; then :
4788
$as_echo_n "(cached) " >&6
4790
if test -z "$GREP"; then
4791
ac_path_GREP_found=false
4792
# Loop through the user's path and test for each of PROGNAME-LIST
4793
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4797
test -z "$as_dir" && as_dir=.
4798
for ac_prog in grep ggrep; do
4799
for ac_exec_ext in '' $ac_executable_extensions; do
4800
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4801
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4802
# Check for GNU ac_path_GREP and select it if it is found.
4803
# Check for GNU $ac_path_GREP
4804
case `"$ac_path_GREP" --version 2>&1` in
4806
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4809
$as_echo_n 0123456789 >"conftest.in"
4812
cat "conftest.in" "conftest.in" >"conftest.tmp"
4813
mv "conftest.tmp" "conftest.in"
4814
cp "conftest.in" "conftest.nl"
4815
$as_echo 'GREP' >> "conftest.nl"
4816
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4817
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4818
as_fn_arith $ac_count + 1 && ac_count=$as_val
4819
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4820
# Best one so far, save it but keep looking for a better one
4821
ac_cv_path_GREP="$ac_path_GREP"
4822
ac_path_GREP_max=$ac_count
4824
# 10*(2^10) chars as input seems more than enough
4825
test $ac_count -gt 10 && break
4827
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4830
$ac_path_GREP_found && break 3
4835
if test -z "$ac_cv_path_GREP"; then
4836
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4839
ac_cv_path_GREP=$GREP
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4844
$as_echo "$ac_cv_path_GREP" >&6; }
4845
GREP="$ac_cv_path_GREP"
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4849
$as_echo_n "checking for egrep... " >&6; }
4850
if test "${ac_cv_path_EGREP+set}" = set; then :
4851
$as_echo_n "(cached) " >&6
4853
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4854
then ac_cv_path_EGREP="$GREP -E"
4856
if test -z "$EGREP"; then
4857
ac_path_EGREP_found=false
4858
# Loop through the user's path and test for each of PROGNAME-LIST
4859
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4863
test -z "$as_dir" && as_dir=.
4864
for ac_prog in egrep; do
4865
for ac_exec_ext in '' $ac_executable_extensions; do
4866
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4867
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4868
# Check for GNU ac_path_EGREP and select it if it is found.
4869
# Check for GNU $ac_path_EGREP
4870
case `"$ac_path_EGREP" --version 2>&1` in
4872
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4875
$as_echo_n 0123456789 >"conftest.in"
4878
cat "conftest.in" "conftest.in" >"conftest.tmp"
4879
mv "conftest.tmp" "conftest.in"
4880
cp "conftest.in" "conftest.nl"
4881
$as_echo 'EGREP' >> "conftest.nl"
4882
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4883
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4884
as_fn_arith $ac_count + 1 && ac_count=$as_val
4885
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4886
# Best one so far, save it but keep looking for a better one
4887
ac_cv_path_EGREP="$ac_path_EGREP"
4888
ac_path_EGREP_max=$ac_count
4890
# 10*(2^10) chars as input seems more than enough
4891
test $ac_count -gt 10 && break
4893
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4896
$ac_path_EGREP_found && break 3
4901
if test -z "$ac_cv_path_EGREP"; then
4902
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4905
ac_cv_path_EGREP=$EGREP
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4911
$as_echo "$ac_cv_path_EGREP" >&6; }
4912
EGREP="$ac_cv_path_EGREP"
4921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4922
$as_echo_n "checking for 64-bit host... " >&6; }
4923
if test "${gl_cv_solaris_64bit+set}" = set; then :
4924
$as_echo_n "(cached) " >&6
4926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927
/* end confdefs.h. */
4934
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4935
$EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4936
gl_cv_solaris_64bit=yes
4938
gl_cv_solaris_64bit=no
4944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4945
$as_echo "$gl_cv_solaris_64bit" >&6; }
4946
if test $gl_cv_solaris_64bit = yes; then
4947
acl_libdirstem=lib/64
4949
sparc*) acl_libdirstem2=lib/sparcv9 ;;
4950
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4955
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4956
if test -n "$searchpath"; then
4957
acl_save_IFS="${IFS= }"; IFS=":"
4958
for searchdir in $searchpath; do
4959
if test -d "$searchdir"; then
4960
case "$searchdir" in
4961
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4963
# Better ignore directories of this form. They are misleading.
4965
*) searchdir=`cd "$searchdir" && pwd`
4966
case "$searchdir" in
4967
*/lib64 ) acl_libdirstem=lib64 ;;
4976
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5227
rm -f conftest.$ac_objext conftest$ac_exeext
5228
if { (ac_try="$ac_link"
5230
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231
*) ac_try_echo=$ac_try;;
5233
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5234
$as_echo "$ac_try_echo") >&5
5235
(eval "$ac_link") 2>conftest.er1
5237
grep -v '^ *+' conftest.er1 >conftest.err
5239
cat conftest.err >&5
5240
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241
(exit $ac_status); } && {
5242
test -z "$ac_c_werror_flag" ||
5243
test ! -s conftest.err
5244
} && test -s conftest$ac_exeext && {
5245
test "$cross_compiling" = yes ||
5246
$as_test_x conftest$ac_exeext
5486
if ac_fn_c_try_link "$LINENO"; then :
5248
5487
gt_cv_func_CFPreferencesCopyAppValue=yes
5250
$as_echo "$as_me: failed program was:" >&5
5251
sed 's/^/| /' conftest.$ac_ext >&5
5253
gt_cv_func_CFPreferencesCopyAppValue=no
5489
gt_cv_func_CFPreferencesCopyAppValue=no
5256
rm -rf conftest.dSYM
5257
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5258
conftest$ac_exeext conftest.$ac_ext
5491
rm -f core conftest.err conftest.$ac_objext \
5492
conftest$ac_exeext conftest.$ac_ext
5259
5493
LIBS="$gt_save_LIBS"
5261
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5262
5496
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5263
5497
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5265
cat >>confdefs.h <<\_ACEOF
5266
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5499
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5270
{ $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5271
5503
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5272
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
5504
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
5273
5505
$as_echo_n "(cached) " >&6
5275
5507
gt_save_LIBS="$LIBS"
5276
5508
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5277
cat >conftest.$ac_ext <<_ACEOF
5280
cat confdefs.h >>conftest.$ac_ext
5281
cat >>conftest.$ac_ext <<_ACEOF
5509
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282
5510
/* end confdefs.h. */
5283
5511
#include <CoreFoundation/CFLocale.h>
6418
# Latest virtinst version required to run
6419
VIRTINST_VERSION="0.500.3"
6422
# Extract the first word of "scrollkeeper-config", so it can be a program name with args.
6423
set dummy scrollkeeper-config; ac_word=$2
6424
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6425
$as_echo_n "checking for $ac_word... " >&6; }
6426
if test "${ac_cv_path_SCROLLKEEPER_CONFIG+set}" = set; then
6427
$as_echo_n "(cached) " >&6
6429
case $SCROLLKEEPER_CONFIG in
6431
ac_cv_path_SCROLLKEEPER_CONFIG="$SCROLLKEEPER_CONFIG" # Let the user override the test with a path.
6434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438
test -z "$as_dir" && as_dir=.
6439
for ac_exec_ext in '' $ac_executable_extensions; do
6440
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441
ac_cv_path_SCROLLKEEPER_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6442
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6449
test -z "$ac_cv_path_SCROLLKEEPER_CONFIG" && ac_cv_path_SCROLLKEEPER_CONFIG="no"
6453
SCROLLKEEPER_CONFIG=$ac_cv_path_SCROLLKEEPER_CONFIG
6454
if test -n "$SCROLLKEEPER_CONFIG"; then
6455
{ $as_echo "$as_me:$LINENO: result: $SCROLLKEEPER_CONFIG" >&5
6456
$as_echo "$SCROLLKEEPER_CONFIG" >&6; }
6458
{ $as_echo "$as_me:$LINENO: result: no" >&5
6459
$as_echo "no" >&6; }
6463
if test x$SCROLLKEEPER_CONFIG = xno; then
6464
{ { $as_echo "$as_me:$LINENO: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&5
6465
$as_echo "$as_me: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&2;}
6466
{ (exit 1); exit 1; }; }
6469
ac_config_files="$ac_config_files Makefile pixmaps/Makefile pixmaps/hicolor/Makefile pixmaps/hicolor/16x16/Makefile pixmaps/hicolor/16x16/actions/Makefile pixmaps/hicolor/22x22/Makefile pixmaps/hicolor/22x22/actions/Makefile pixmaps/hicolor/24x24/Makefile pixmaps/hicolor/24x24/actions/Makefile pixmaps/hicolor/32x32/Makefile pixmaps/hicolor/32x32/actions/Makefile po/Makefile.in src/Makefile src/virtManager/Makefile man/Makefile tests/Makefile virt-manager.spec help/Makefile help/virt-manager/Makefile help/virt-manager/C/Makefile"
6472
# Help is so outdated, don't even distribute it
6474
#help/virt-manager/Makefile
6475
#help/virt-manager/C/Makefile
6476
#AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
6477
#if test x$SCROLLKEEPER_CONFIG = xno; then
6478
# AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net)
6483
# Check whether --with-tui was given.
6484
if test "${with_tui+set}" = set; then :
6492
# Check whether --with-qemu-user was given.
6493
if test "${with_qemu_user+set}" = set; then :
6494
withval=$with_qemu_user; DEFAULT_QEMU_USER=$withval
6496
DEFAULT_QEMU_USER="root"
6501
# Check whether --with-libvirt-package-names was given.
6502
if test "${with_libvirt_package_names+set}" = set; then :
6503
withval=$with_libvirt_package_names; LIBVIRT_PACKAGES=$withval
6510
# Check whether --with-kvm-packages was given.
6511
if test "${with_kvm_packages+set}" = set; then :
6512
withval=$with_kvm_packages; KVM_PACKAGES=$withval
6518
# Check whether --enable-unsupported-rhel-options was given.
6519
if test "${enable_unsupported_rhel_options+set}" = set; then :
6520
enableval=$enable_unsupported_rhel_options; test "x$enableval" == "xno" && ENABLE_UNSUPPORTED_RHEL_OPTS=0
6522
ENABLE_UNSUPPORTED_RHEL_OPTS=1
6527
# Check whether --with-preferred-distros was given.
6528
if test "${with_preferred_distros+set}" = set; then :
6529
withval=$with_preferred_distros; PREFERRED_DISTROS=$withval
6531
PREFERRED_DISTROS=""
6541
if test "x$with_tui" = "xyes"; then
6543
INSTALL_TUI_FALSE='#'
6545
INSTALL_TUI_TRUE='#'
6551
ac_config_files="$ac_config_files Makefile pixmaps/Makefile pixmaps/hicolor/Makefile pixmaps/hicolor/16x16/Makefile pixmaps/hicolor/16x16/actions/Makefile pixmaps/hicolor/22x22/Makefile pixmaps/hicolor/22x22/actions/Makefile pixmaps/hicolor/24x24/Makefile pixmaps/hicolor/24x24/actions/Makefile pixmaps/hicolor/32x32/Makefile pixmaps/hicolor/32x32/actions/Makefile po/Makefile.in src/Makefile src/virtManager/Makefile src/virtManagerTui/Makefile man/Makefile tests/Makefile virt-manager.spec"
6471
6553
cat >confcache <<\_ACEOF
6472
6554
# This file is a shell script that caches the results of configure
7926
8002
exec 5>>config.log
7927
8003
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
7928
8004
# would make configure fail if this is the last instruction.
7929
$ac_cs_success || { (exit 1); exit 1; }
8005
$ac_cs_success || as_fn_exit 1
7931
8007
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7932
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8008
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7933
8009
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8014
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
8015
$as_echo "$as_me: " >&6;}
8016
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
8017
$as_echo "$as_me: " >&6;}
8019
{ $as_echo "$as_me:${as_lineno-$LINENO}: Required virtinst: $VIRTINST_VERSION" >&5
8020
$as_echo "$as_me: Required virtinst: $VIRTINST_VERSION" >&6;}
8021
{ $as_echo "$as_me:${as_lineno-$LINENO}: Default qemu user: $DEFAULT_QEMU_USER" >&5
8022
$as_echo "$as_me: Default qemu user: $DEFAULT_QEMU_USER" >&6;}
8023
if test "x$with_tui" = "xyes" ; then
8024
{ $as_echo "$as_me:${as_lineno-$LINENO}: Install TUI: yes" >&5
8025
$as_echo "$as_me: Install TUI: yes" >&6;}
8027
{ $as_echo "$as_me:${as_lineno-$LINENO}: Install TUI: no" >&5
8028
$as_echo "$as_me: Install TUI: no" >&6;}
8030
if test "x$ENABLE_UNSUPPORTED_RHEL_OPTS" = "x1" ; then
8031
{ $as_echo "$as_me:${as_lineno-$LINENO}: Enable unsupported RHEL opts: yes" >&5
8032
$as_echo "$as_me: Enable unsupported RHEL opts: yes" >&6;}
8034
{ $as_echo "$as_me:${as_lineno-$LINENO}: Enable unsupported RHEL opts: no" >&5
8035
$as_echo "$as_me: Enable unsupported RHEL opts: no" >&6;}
8037
if test "x$PREFERRED_DISTROS" = "x" ; then
8038
{ $as_echo "$as_me:${as_lineno-$LINENO}: Preferred distros: none" >&5
8039
$as_echo "$as_me: Preferred distros: none" >&6;}
8041
{ $as_echo "$as_me:${as_lineno-$LINENO}: Preferred distros: $PREFERRED_DISTROS" >&5
8042
$as_echo "$as_me: Preferred distros: $PREFERRED_DISTROS" >&6;}
8044
if test "x$LIBVIRT_PACKAGES" = "x" ; then
8045
{ $as_echo "$as_me:${as_lineno-$LINENO}: Libvirt packages: none" >&5
8046
$as_echo "$as_me: Libvirt packages: none" >&6;}
8048
{ $as_echo "$as_me:${as_lineno-$LINENO}: Libvirt Packages: $LIBVIRT_PACKAGES" >&5
8049
$as_echo "$as_me: Libvirt Packages: $LIBVIRT_PACKAGES" >&6;}
8051
if test "x$KVM_PACKAGES" = "x" ; then
8052
{ $as_echo "$as_me:${as_lineno-$LINENO}: KVM packages: none" >&5
8053
$as_echo "$as_me: KVM packages: none" >&6;}
8055
{ $as_echo "$as_me:${as_lineno-$LINENO}: KVM packages: $KVM_PACKAGES" >&5
8056
$as_echo "$as_me: KVM packages: $KVM_PACKAGES" >&6;}
8059
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
8060
$as_echo "$as_me: " >&6;}
8061
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
8062
$as_echo "$as_me: " >&6;}