2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63 for graphviz 2.26.3.
5
# Report bugs to <http://www.graphviz.org/>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# Support unset when possible.
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92
# We need space, tab and new line, in precisely that order. Quoting is
93
# there to prevent editors from complaining about space-tab.
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95
# splitting by setting IFS to empty value.)
98
# Find who we are. Look in the path if we contain no directory separator.
100
*[\\/]* ) as_myself=$0 ;;
101
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105
test -z "$as_dir" && as_dir=.
106
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
113
# in which case we are not to be found in the path.
114
if test "x$as_myself" = x; then
117
if test ! -f "$as_myself"; then
118
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
{ (exit 1); exit 1; }
122
# Work around bugs in pre-3.0 UWIN ksh.
123
for as_var in ENV MAIL MAILPATH
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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 '/^.*\/\([^/][^/]*\)\/*$/{
175
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
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
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
test -z "$as_dir" && as_dir=.
249
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
471
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475
chmod +x "$as_me.lineno" ||
476
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
{ (exit 1); exit 1; }; }
479
# Don't try to exec as it changes $[0], causing all sort of problems
480
# (the dirname of $[0] is not the place where we might find the
481
# original and so on. Autoconf is especially sensitive to this).
483
# Exit status is that of the last command.
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494
ECHO_C= ECHO_N= ECHO_T=
498
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
test "X`expr 00001 : '.*\(...\)'`" = X001; then
511
rm -f conf$$ conf$$.exe conf$$.file
512
if test -d conf$$.dir; then
513
rm -f conf$$.dir/conf$$.file
516
mkdir conf$$.dir 2>/dev/null
518
if (echo >conf$$.file) 2>/dev/null; then
519
if ln -s conf$$.file conf$$ 2>/dev/null; then
521
# ... but there are two gotchas:
522
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524
# In both cases, we have to default to `cp -p'.
525
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527
elif ln conf$$.file conf$$ 2>/dev/null; then
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536
rmdir conf$$.dir 2>/dev/null
538
if mkdir -p . 2>/dev/null; then
541
test -d ./-p && rmdir ./-p
545
if test -x / >/dev/null 2>&1; then
548
if ls -dL / >/dev/null 2>&1; then
555
if test -d "$1"; then
561
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562
???[sx]*):;;*)false;;esac;fi
566
as_executable_p=$as_test_x
568
# Sed expression to map a string onto a valid CPP name.
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571
# Sed expression to map a string onto a valid variable name.
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577
# Check that we are running under the correct shell.
578
SHELL=${CONFIG_SHELL-/bin/sh}
582
# Remove one level of quotation (which was required for Make).
583
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588
if test "X$1" = X--no-reexec; then
589
# Discard the --no-reexec flag, and continue.
591
elif test "X$1" = X--fallback-echo; then
592
# Avoid inline document here, it may be left over
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595
# Yippee, $ECHO works!
598
# Restart under the correct shell.
599
exec $SHELL "$0" --no-reexec ${1+"$@"}
602
if test "X$1" = X--fallback-echo; then
603
# used as fallback echo
611
# The HP-UX ksh and POSIX shell print the target directory to stdout
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615
if test -z "$lt_ECHO"; then
616
if test "X${echo_test_string+set}" != Xset; then
617
# find a string as large as possible, as long as the shell can cope with it
618
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
628
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
test "X$echo_testing_string" = "X$echo_test_string"; then
633
# The Solaris, AIX, and Digital Unix default echo programs unquote
634
# backslashes. This makes it impossible to quote backslashes using
635
# echo "$something" | sed 's/\\/\\\\/g'
637
# So, first we look for a working echo in the user's PATH.
639
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640
for dir in $PATH /usr/ucb; do
642
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645
test "X$echo_testing_string" = "X$echo_test_string"; then
652
if test "X$ECHO" = Xecho; then
653
# We didn't find a better echo, so look for alternatives.
654
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656
test "X$echo_testing_string" = "X$echo_test_string"; then
657
# This shell has a builtin print -r that does the trick.
659
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660
test "X$CONFIG_SHELL" != X/bin/ksh; then
661
# If we have ksh, try running configure again with it.
662
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663
export ORIGINAL_CONFIG_SHELL
664
CONFIG_SHELL=/bin/ksh
666
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672
test "X$echo_testing_string" = "X$echo_test_string"; then
675
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676
test "X$echo_testing_string" = 'X\t' &&
677
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678
test "X$echo_testing_string" = "X$echo_test_string"; then
679
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681
SHELL="$CONFIG_SHELL"
683
ECHO="$CONFIG_SHELL $0 --fallback-echo"
684
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685
test "X$echo_testing_string" = 'X\t' &&
686
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687
test "X$echo_testing_string" = "X$echo_test_string"; then
688
ECHO="$CONFIG_SHELL $0 --fallback-echo"
690
# maybe with a smaller string...
693
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
701
if test "$prev" != 'sed 50q "$0"'; then
702
echo_test_string=`eval $prev`
703
export echo_test_string
704
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706
# Oops. We lost completely, so just stick with echo.
715
# Copy echo and quote the copy suitably for passing to libtool from
716
# the Makefile, instead of quoting the original, which is used later.
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725
lt_ltdl_dir='libltdl'
727
lt_dlopen_dir="$lt_ltdl_dir"
729
exec 7<&0 </dev/null 6>&1
732
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
733
# so uname gets run too.
734
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
739
ac_default_prefix=/usr/local
741
ac_config_libobj_dir=.
747
SHELL=${CONFIG_SHELL-/bin/sh}
749
# Identity of this package.
750
PACKAGE_NAME='graphviz'
751
PACKAGE_TARNAME='graphviz'
752
PACKAGE_VERSION='2.26.3'
753
PACKAGE_STRING='graphviz 2.26.3'
754
PACKAGE_BUGREPORT='http://www.graphviz.org/'
756
ac_unique_file="configure.ac"
757
ac_default_prefix=/usr/local
758
# Factoring default headers for most tests.
759
ac_includes_default="\
761
#ifdef HAVE_SYS_TYPES_H
762
# include <sys/types.h>
764
#ifdef HAVE_SYS_STAT_H
765
# include <sys/stat.h>
771
# ifdef HAVE_STDLIB_H
776
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
781
#ifdef HAVE_STRINGS_H
782
# include <strings.h>
784
#ifdef HAVE_INTTYPES_H
785
# include <inttypes.h>
794
enable_option_checking=no
795
ac_subst_vars='ltdl_LTLIBOBJS
840
PLATFORMSDKINCLUDE_ESCAPED
870
WITH_GDK_PIXBUF_FALSE
874
WITH_FONTCONFIG_FALSE
892
WITH_PANGOCAIRO_FALSE
1057
CONVENIENCE_LTDL_FALSE
1058
CONVENIENCE_LTDL_TRUE
1062
sys_symbol_underscore
1100
am__fastdepOBJC_FALSE
1101
am__fastdepOBJC_TRUE
1106
am__fastdepCXX_FALSE
1153
INSTALL_STRIP_PROGRAM
1172
EXTRA_SMYRNA_LDFLAGS
1177
GRAPHVIZ_VERSION_REVISION
1178
GRAPHVIZ_VERSION_BUILD
1188
GVPLUGIN_VERSION_INFO
1189
GVPLUGIN_CONFIG_FILE
1193
GRAPHVIZ_VERSION_MICRO
1194
GRAPHVIZ_VERSION_MINOR
1195
GRAPHVIZ_VERSION_MAJOR
1223
program_transform_name
1235
enable_option_checking
1238
enable_dependency_tracking
1271
with_extraincludedir
1274
with_expatincludedir
1277
with_devilincludedir
1301
with_platformsdkincludedir
1302
with_platformsdklibdir
1311
with_iconvincludedir
1314
with_libiconv_prefix
1328
ac_precious_vars='build_alias
1375
ac_subdirs_all='libltdl'
1377
# Initialize some variables set by options.
1379
ac_init_version=false
1380
ac_unrecognized_opts=
1381
ac_unrecognized_sep=
1382
# The variables have the same names as the options, with
1383
# dashes changed to underlines.
1384
cache_file=/dev/null
1391
program_transform_name=s,x,x,
1399
# Installation directory options.
1400
# These are left unexpanded so users can "make install exec_prefix=/foo"
1401
# and all the variables that are supposed to be based on exec_prefix
1402
# by default will actually change.
1403
# Use braces instead of parens because sh, perl, etc. also accept them.
1404
# (The list follows the same order as the GNU Coding Standards.)
1405
bindir='${exec_prefix}/bin'
1406
sbindir='${exec_prefix}/sbin'
1407
libexecdir='${exec_prefix}/libexec'
1408
datarootdir='${prefix}/share'
1409
datadir='${datarootdir}'
1410
sysconfdir='${prefix}/etc'
1411
sharedstatedir='${prefix}/com'
1412
localstatedir='${prefix}/var'
1413
includedir='${prefix}/include'
1414
oldincludedir='/usr/include'
1415
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1416
infodir='${datarootdir}/info'
1421
libdir='${exec_prefix}/lib'
1422
localedir='${datarootdir}/locale'
1423
mandir='${datarootdir}/man'
1429
# If the previous option needs an argument, assign it.
1430
if test -n "$ac_prev"; then
1431
eval $ac_prev=\$ac_option
1437
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1441
# Accept the important Cygnus configure options, so we can diagnose typos.
1443
case $ac_dashdash$ac_option in
1447
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1449
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1450
bindir=$ac_optarg ;;
1452
-build | --build | --buil | --bui | --bu)
1453
ac_prev=build_alias ;;
1454
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1455
build_alias=$ac_optarg ;;
1457
-cache-file | --cache-file | --cache-fil | --cache-fi \
1458
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1459
ac_prev=cache_file ;;
1460
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1461
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1462
cache_file=$ac_optarg ;;
1464
--config-cache | -C)
1465
cache_file=config.cache ;;
1467
-datadir | --datadir | --datadi | --datad)
1469
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1470
datadir=$ac_optarg ;;
1472
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1473
| --dataroo | --dataro | --datar)
1474
ac_prev=datarootdir ;;
1475
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1476
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1477
datarootdir=$ac_optarg ;;
1479
-disable-* | --disable-*)
1480
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1481
# Reject names that are not valid shell variable names.
1482
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1483
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1484
{ (exit 1); exit 1; }; }
1485
ac_useropt_orig=$ac_useropt
1486
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1487
case $ac_user_opts in
1489
"enable_$ac_useropt"
1491
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1492
ac_unrecognized_sep=', ';;
1494
eval enable_$ac_useropt=no ;;
1496
-docdir | --docdir | --docdi | --doc | --do)
1498
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1499
docdir=$ac_optarg ;;
1501
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1503
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1504
dvidir=$ac_optarg ;;
1506
-enable-* | --enable-*)
1507
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1508
# Reject names that are not valid shell variable names.
1509
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1510
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1511
{ (exit 1); exit 1; }; }
1512
ac_useropt_orig=$ac_useropt
1513
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1514
case $ac_user_opts in
1516
"enable_$ac_useropt"
1518
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1519
ac_unrecognized_sep=', ';;
1521
eval enable_$ac_useropt=\$ac_optarg ;;
1523
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1524
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1525
| --exec | --exe | --ex)
1526
ac_prev=exec_prefix ;;
1527
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1528
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1529
| --exec=* | --exe=* | --ex=*)
1530
exec_prefix=$ac_optarg ;;
1532
-gas | --gas | --ga | --g)
1533
# Obsolete; use --with-gas.
1536
-help | --help | --hel | --he | -h)
1537
ac_init_help=long ;;
1538
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1539
ac_init_help=recursive ;;
1540
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1541
ac_init_help=short ;;
1543
-host | --host | --hos | --ho)
1544
ac_prev=host_alias ;;
1545
-host=* | --host=* | --hos=* | --ho=*)
1546
host_alias=$ac_optarg ;;
1548
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1550
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1552
htmldir=$ac_optarg ;;
1554
-includedir | --includedir | --includedi | --included | --include \
1555
| --includ | --inclu | --incl | --inc)
1556
ac_prev=includedir ;;
1557
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1558
| --includ=* | --inclu=* | --incl=* | --inc=*)
1559
includedir=$ac_optarg ;;
1561
-infodir | --infodir | --infodi | --infod | --info | --inf)
1563
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1564
infodir=$ac_optarg ;;
1566
-libdir | --libdir | --libdi | --libd)
1568
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1569
libdir=$ac_optarg ;;
1571
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1572
| --libexe | --libex | --libe)
1573
ac_prev=libexecdir ;;
1574
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1575
| --libexe=* | --libex=* | --libe=*)
1576
libexecdir=$ac_optarg ;;
1578
-localedir | --localedir | --localedi | --localed | --locale)
1579
ac_prev=localedir ;;
1580
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1581
localedir=$ac_optarg ;;
1583
-localstatedir | --localstatedir | --localstatedi | --localstated \
1584
| --localstate | --localstat | --localsta | --localst | --locals)
1585
ac_prev=localstatedir ;;
1586
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1587
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1588
localstatedir=$ac_optarg ;;
1590
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1592
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1593
mandir=$ac_optarg ;;
1595
-nfp | --nfp | --nf)
1596
# Obsolete; use --without-fp.
1599
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1600
| --no-cr | --no-c | -n)
1603
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1604
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1607
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1608
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1609
| --oldin | --oldi | --old | --ol | --o)
1610
ac_prev=oldincludedir ;;
1611
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1612
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1613
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1614
oldincludedir=$ac_optarg ;;
1616
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1618
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1619
prefix=$ac_optarg ;;
1621
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1622
| --program-pre | --program-pr | --program-p)
1623
ac_prev=program_prefix ;;
1624
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1625
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1626
program_prefix=$ac_optarg ;;
1628
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1629
| --program-suf | --program-su | --program-s)
1630
ac_prev=program_suffix ;;
1631
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1632
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1633
program_suffix=$ac_optarg ;;
1635
-program-transform-name | --program-transform-name \
1636
| --program-transform-nam | --program-transform-na \
1637
| --program-transform-n | --program-transform- \
1638
| --program-transform | --program-transfor \
1639
| --program-transfo | --program-transf \
1640
| --program-trans | --program-tran \
1641
| --progr-tra | --program-tr | --program-t)
1642
ac_prev=program_transform_name ;;
1643
-program-transform-name=* | --program-transform-name=* \
1644
| --program-transform-nam=* | --program-transform-na=* \
1645
| --program-transform-n=* | --program-transform-=* \
1646
| --program-transform=* | --program-transfor=* \
1647
| --program-transfo=* | --program-transf=* \
1648
| --program-trans=* | --program-tran=* \
1649
| --progr-tra=* | --program-tr=* | --program-t=*)
1650
program_transform_name=$ac_optarg ;;
1652
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1654
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1655
pdfdir=$ac_optarg ;;
1657
-psdir | --psdir | --psdi | --psd | --ps)
1659
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1662
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1663
| -silent | --silent | --silen | --sile | --sil)
1666
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1668
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1670
sbindir=$ac_optarg ;;
1672
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1673
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1674
| --sharedst | --shareds | --shared | --share | --shar \
1676
ac_prev=sharedstatedir ;;
1677
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1678
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1679
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1681
sharedstatedir=$ac_optarg ;;
1683
-site | --site | --sit)
1685
-site=* | --site=* | --sit=*)
1688
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1690
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1691
srcdir=$ac_optarg ;;
1693
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1694
| --syscon | --sysco | --sysc | --sys | --sy)
1695
ac_prev=sysconfdir ;;
1696
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1697
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1698
sysconfdir=$ac_optarg ;;
1700
-target | --target | --targe | --targ | --tar | --ta | --t)
1701
ac_prev=target_alias ;;
1702
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1703
target_alias=$ac_optarg ;;
1705
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1708
-version | --version | --versio | --versi | --vers | -V)
1709
ac_init_version=: ;;
1712
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1713
# Reject names that are not valid shell variable names.
1714
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1715
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1716
{ (exit 1); exit 1; }; }
1717
ac_useropt_orig=$ac_useropt
1718
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1719
case $ac_user_opts in
1723
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1724
ac_unrecognized_sep=', ';;
1726
eval with_$ac_useropt=\$ac_optarg ;;
1728
-without-* | --without-*)
1729
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1730
# Reject names that are not valid shell variable names.
1731
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1732
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1733
{ (exit 1); exit 1; }; }
1734
ac_useropt_orig=$ac_useropt
1735
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1736
case $ac_user_opts in
1740
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1741
ac_unrecognized_sep=', ';;
1743
eval with_$ac_useropt=no ;;
1746
# Obsolete; use --with-x.
1749
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1750
| --x-incl | --x-inc | --x-in | --x-i)
1751
ac_prev=x_includes ;;
1752
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1753
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1754
x_includes=$ac_optarg ;;
1756
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1757
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1758
ac_prev=x_libraries ;;
1759
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1760
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1761
x_libraries=$ac_optarg ;;
1763
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1764
Try \`$0 --help' for more information." >&2
1765
{ (exit 1); exit 1; }; }
1769
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1770
# Reject names that are not valid shell variable names.
1771
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1772
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1773
{ (exit 1); exit 1; }; }
1774
eval $ac_envvar=\$ac_optarg
1775
export $ac_envvar ;;
1778
# FIXME: should be removed in autoconf 3.0.
1779
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1780
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1781
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1782
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1788
if test -n "$ac_prev"; then
1789
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1790
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1791
{ (exit 1); exit 1; }; }
1794
if test -n "$ac_unrecognized_opts"; then
1795
case $enable_option_checking in
1797
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1798
{ (exit 1); exit 1; }; } ;;
1799
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1803
# Check all directory arguments for consistency.
1804
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1805
datadir sysconfdir sharedstatedir localstatedir includedir \
1806
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1807
libdir localedir mandir
1809
eval ac_val=\$$ac_var
1810
# Remove trailing slashes.
1813
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1814
eval $ac_var=\$ac_val;;
1816
# Be sure to have absolute directory names.
1818
[\\/$]* | ?:[\\/]* ) continue;;
1819
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1821
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1822
{ (exit 1); exit 1; }; }
1825
# There might be people who depend on the old broken behavior: `$host'
1826
# used to hold the argument of --host etc.
1827
# FIXME: To remove some day.
1830
target=$target_alias
1832
# FIXME: To remove some day.
1833
if test "x$host_alias" != x; then
1834
if test "x$build_alias" = x; then
1835
cross_compiling=maybe
1836
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1837
If a cross compiler is detected then cross compile mode will be used." >&2
1838
elif test "x$build_alias" != "x$host_alias"; then
1844
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1846
test "$silent" = yes && exec 6>/dev/null
1849
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1850
ac_ls_di=`ls -di .` &&
1851
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1852
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
1853
{ (exit 1); exit 1; }; }
1854
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1855
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1856
{ (exit 1); exit 1; }; }
1859
# Find the source files, if location was not specified.
1860
if test -z "$srcdir"; then
1861
ac_srcdir_defaulted=yes
1862
# Try the directory containing this script, then the parent directory.
1863
ac_confdir=`$as_dirname -- "$as_myself" ||
1864
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1865
X"$as_myself" : 'X\(//\)[^/]' \| \
1866
X"$as_myself" : 'X\(//\)$' \| \
1867
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1868
$as_echo X"$as_myself" |
1869
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1887
if test ! -r "$srcdir/$ac_unique_file"; then
1891
ac_srcdir_defaulted=no
1893
if test ! -r "$srcdir/$ac_unique_file"; then
1894
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1895
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1896
{ (exit 1); exit 1; }; }
1898
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1900
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1901
{ (exit 1); exit 1; }; }
1903
# When building in place, set srcdir=.
1904
if test "$ac_abs_confdir" = "$ac_pwd"; then
1907
# Remove unnecessary trailing slashes from srcdir.
1908
# Double slashes in file names in object file debugging info
1909
# mess up M-x gdb in Emacs.
1911
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1913
for ac_var in $ac_precious_vars; do
1914
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1915
eval ac_env_${ac_var}_value=\$${ac_var}
1916
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1917
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1921
# Report the --help message.
1923
if test "$ac_init_help" = "long"; then
1924
# Omit some internal or obsolete options to make the list less imposing.
1925
# This message is too long to be a string in the A/UX 3.1 sh.
1927
\`configure' configures graphviz 2.26.3 to adapt to many kinds of systems.
1929
Usage: $0 [OPTION]... [VAR=VALUE]...
1931
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1932
VAR=VALUE. See below for descriptions of some of the useful variables.
1934
Defaults for the options are specified in brackets.
1937
-h, --help display this help and exit
1938
--help=short display options specific to this package
1939
--help=recursive display the short help of all the included packages
1940
-V, --version display version information and exit
1941
-q, --quiet, --silent do not print \`checking...' messages
1942
--cache-file=FILE cache test results in FILE [disabled]
1943
-C, --config-cache alias for \`--cache-file=config.cache'
1944
-n, --no-create do not create output files
1945
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1947
Installation directories:
1948
--prefix=PREFIX install architecture-independent files in PREFIX
1949
[$ac_default_prefix]
1950
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1953
By default, \`make install' will install all the files in
1954
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1955
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1956
for instance \`--prefix=\$HOME'.
1958
For better control, use the options below.
1960
Fine tuning of the installation directories:
1961
--bindir=DIR user executables [EPREFIX/bin]
1962
--sbindir=DIR system admin executables [EPREFIX/sbin]
1963
--libexecdir=DIR program executables [EPREFIX/libexec]
1964
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1965
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1966
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1967
--libdir=DIR object code libraries [EPREFIX/lib]
1968
--includedir=DIR C header files [PREFIX/include]
1969
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1970
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1971
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1972
--infodir=DIR info documentation [DATAROOTDIR/info]
1973
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1974
--mandir=DIR man documentation [DATAROOTDIR/man]
1975
--docdir=DIR documentation root [DATAROOTDIR/doc/graphviz]
1976
--htmldir=DIR html documentation [DOCDIR]
1977
--dvidir=DIR dvi documentation [DOCDIR]
1978
--pdfdir=DIR pdf documentation [DOCDIR]
1979
--psdir=DIR ps documentation [DOCDIR]
1985
--program-prefix=PREFIX prepend PREFIX to installed program names
1986
--program-suffix=SUFFIX append SUFFIX to installed program names
1987
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1990
--x-includes=DIR X include files are in DIR
1991
--x-libraries=DIR X library files are in DIR
1994
--build=BUILD configure for building on BUILD [guessed]
1995
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1999
if test -n "$ac_init_help"; then
2000
case $ac_init_help in
2001
short | recursive ) echo "Configuration of graphviz 2.26.3:";;
2006
--disable-option-checking ignore unrecognized --enable/--with options
2007
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2008
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2009
--enable-static build static executable
2010
--enable-static[=PKGS] build static libraries [default=yes]
2011
--enable-shared build shared executable
2012
--enable-shared[=PKGS] build shared libraries [default=yes]
2013
--disable-dependency-tracking speeds up one-time build
2014
--enable-dependency-tracking do not reject slow dependency extractors
2015
--enable-fast-install[=PKGS]
2016
optimize for fast installation [default=yes]
2017
--disable-libtool-lock avoid locking (might break parallel builds)
2018
--enable-ltdl support on-demand plugin loading
2019
--enable-ltdl-install install libltdl
2020
--enable-swig=yes swig-generated language bindings
2021
--enable-sharp=yes C# language bindings
2022
--enable-guile=yes guile language bindings
2023
--enable-io=no io language bindings
2024
--enable-java=yes java language bindings
2025
--enable-lua=yes lua language bindings
2026
--enable-ocaml=yes ocaml language bindings
2027
--enable-perl=yes perl language bindings
2028
--enable-php=yes php language bindings
2029
--enable-python=yes python language bindings
2030
--enable-python23=no python23 language bindings
2031
--enable-python24=no python24 language bindings
2032
--enable-python25=no python25 language bindings
2033
--enable-python26=no python26 language bindings
2034
--enable-r=yes R language bindings
2035
--enable-ruby=yes ruby language bindings
2036
--enable-tcl=yes tcl language bindings
2037
--disable-rpath do not hardcode runtime library paths
2040
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2041
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2042
--with-tcl=PROG use a specific tclsh
2043
--with-pic try to use only PIC/non-PIC objects [default=use
2045
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
2046
--with-included-ltdl use the GNU ltdl sources included here
2047
--with-ltdl-include=DIR use the ltdl headers installed in DIR
2048
--with-ltdl-lib=DIR use the libltdl.la installed in DIR
2049
--with-efence=no use efence for debugging memory use
2050
--with-x use the X Window System
2051
--with-javaincludedir=DIR
2052
use JAVA includes from DIR
2053
--with-javalibdir=DIR use JAVA libraries from DIR
2054
--with-wish=PROG use a specific wish
2055
--with-extraincludedir=DIR
2056
use extra includes from DIR
2057
--with-extralibdir=DIR use extra libraries from DIR
2058
--with-expat=yes use expat
2059
--with-expatincludedir=DIR
2060
use EXPAT includes from DIR
2061
--with-expatlibdir=DIR use EXPAT libraries from DIR
2062
--with-devil=yes DevIL plugin
2063
--with-devilincludedir=DIR
2064
use DevIL includes from DIR
2065
--with-devillibdir=DIR use DevIL libraries from DIR
2066
--with-Xpmincludedir=DIR
2067
use Xpm includes from DIR
2068
--with-Xpmlibdir=DIR use Xpm libraries from DIR
2069
--with-Xawincludedir=DIR
2070
use Xaw includes from DIR
2071
--with-Xawlibdir=DIR use Xaw libraries from DIR
2072
--with-zincludedir=DIR use Z includes from DIR
2073
--with-zlibdir=DIR use Z libraries from DIR
2074
--with-rsvg=yes rsvg library
2075
--with-ghostscript=yes ghostscript library
2076
--with-visio=no visio library
2077
--with-pangocairo=yes pangocairo library
2078
--with-lasi=yes lasi library
2079
--with-glitz=no glitz library
2080
--with-freetype2=yes freetype2 library
2081
--with-fontconfig=yes use fontconfig library
2082
--with-gdk-pixbuf=yes gdk-pixbuf library
2083
--with-gtk=yes gtk+ library
2084
--with-gtkgl=yes gtkgl library
2085
--with-gtkglext=yes gtkglext library
2086
--with-gts=yes gts library
2087
--with-glade=yes glade library
2088
--with-ming=no ming library (plugin for -Tswf)
2089
--with-quartz=no Quartz framework (Mac OS X)
2090
--with-platformsdkincludedir=DIR
2091
use Platform SDK (Windows) includes from DIR
2092
--with-platformsdklibdir=DIR
2093
use Platform SDK (Windows) libraries from DIR
2094
--with-gdiplus=no GDI+ framework (Windows)
2095
--with-libgd=yes use gd library
2096
--with-mylibgd=no use internal gd library in preference to any
2098
--with-gdincludedir=DIR use GD includes from DIR
2099
--with-gdlibdir=DIR use GD libraries from DIR
2100
--with-glut=yes GLUT library
2101
--with-glutincludedir=DIR
2102
use GLUT includes from DIR
2103
--with-glutlibdir=DIR use GLUT libraries from DIR
2104
--with-iconvincludedir=DIR
2105
use ICONV includes from DIR
2106
--with-iconvlibdir=DIR use ICONV libraries from DIR
2107
--with-gnu-ld assume the C compiler uses GNU ld default=no
2108
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2109
--without-libiconv-prefix don't search for libiconv in includedir and libdir
2110
--with-png=yes PNG library
2111
--with-pngincludedir=DIR
2112
use PNG includes from DIR
2113
--with-pnglibdir=DIR use PNG libraries from DIR
2114
--with-jpeg=yes JPEG library
2115
--with-jpegincludedir=DIR
2116
use JPEG includes from DIR
2117
--with-jpeglibdir=DIR use JPEG libraries from DIR
2118
--with-sfdp=yes sfdp layout engine
2119
--with-smyrna=no SMYRNA large graph viewer
2120
--with-cgraph=no Use CGRAPH library
2121
--with-ortho=no ORTHO features in neato layout engine
2122
--with-digcola=yes DIGCOLA features in neato layout engine
2123
--with-ipsepcola=no IPSEPCOLA features in neato layout engine
2125
Some influential environment variables:
2126
CC C compiler command
2127
CFLAGS C compiler flags
2128
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2129
nonstandard directory <lib dir>
2130
LIBS libraries to pass to the linker, e.g. -l<library>
2131
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2132
you have headers in a nonstandard directory <include dir>
2133
YACC The `Yet Another C Compiler' implementation to use. Defaults to
2134
the first program found out of: `bison -y', `byacc', `yacc'.
2135
YFLAGS The list of arguments that will be passed by default to $YACC.
2136
This script will default YFLAGS to the empty string to avoid a
2137
default value of `-d' given by some make applications.
2138
PKG_CONFIG path to pkg-config utility
2139
CXX C++ compiler command
2140
CXXFLAGS C++ compiler flags
2141
OBJC Objective C compiler command
2142
OBJCFLAGS Objective C compiler flags
2144
CXXCPP C++ preprocessor
2145
XMKMF Path to xmkmf, Makefile generator for X Window System
2146
R_CFLAGS C compiler flags for R, overriding pkg-config
2147
R_LIBS linker flags for R, overriding pkg-config
2148
RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config
2149
RSVG_LIBS linker flags for RSVG, overriding pkg-config
2151
C compiler flags for PANGOCAIRO, overriding pkg-config
2153
linker flags for PANGOCAIRO, overriding pkg-config
2154
LASI_CFLAGS C compiler flags for LASI, overriding pkg-config
2155
LASI_LIBS linker flags for LASI, overriding pkg-config
2157
C compiler flags for GLITZ, overriding pkg-config
2158
GLITZ_LIBS linker flags for GLITZ, overriding pkg-config
2160
C compiler flags for FREETYPE2, overriding pkg-config
2162
linker flags for FREETYPE2, overriding pkg-config
2164
C compiler flags for FONTCONFIG, overriding pkg-config
2166
linker flags for FONTCONFIG, overriding pkg-config
2168
C compiler flags for GDK_PIXBUF, overriding pkg-config
2170
linker flags for GDK_PIXBUF, overriding pkg-config
2171
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
2172
GTK_LIBS linker flags for GTK, overriding pkg-config
2174
C compiler flags for GTKGL, overriding pkg-config
2175
GTKGL_LIBS linker flags for GTKGL, overriding pkg-config
2177
C compiler flags for GTKGLEXT, overriding pkg-config
2179
linker flags for GTKGLEXT, overriding pkg-config
2180
GTS_CFLAGS C compiler flags for GTS, overriding pkg-config
2181
GTS_LIBS linker flags for GTS, overriding pkg-config
2183
C compiler flags for GLADE, overriding pkg-config
2184
GLADE_LIBS linker flags for GLADE, overriding pkg-config
2185
MING_CFLAGS C compiler flags for MING, overriding pkg-config
2186
MING_LIBS linker flags for MING, overriding pkg-config
2188
Use these variables to override the choices made by `configure' or to help
2189
it to find libraries and programs with nonstandard names/locations.
2191
Report bugs to <http://www.graphviz.org/>.
2196
if test "$ac_init_help" = "recursive"; then
2197
# If there are subdirs, report their specific --help.
2198
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2199
test -d "$ac_dir" ||
2200
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2205
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2207
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2208
# A ".." for each directory in $ac_dir_suffix.
2209
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2210
case $ac_top_builddir_sub in
2211
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2212
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2215
ac_abs_top_builddir=$ac_pwd
2216
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2217
# for backward compatibility:
2218
ac_top_builddir=$ac_top_build_prefix
2221
.) # We are building in place.
2223
ac_top_srcdir=$ac_top_builddir_sub
2224
ac_abs_top_srcdir=$ac_pwd ;;
2225
[\\/]* | ?:[\\/]* ) # Absolute name.
2226
ac_srcdir=$srcdir$ac_dir_suffix;
2227
ac_top_srcdir=$srcdir
2228
ac_abs_top_srcdir=$srcdir ;;
2230
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2231
ac_top_srcdir=$ac_top_build_prefix$srcdir
2232
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2234
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2236
cd "$ac_dir" || { ac_status=$?; continue; }
2237
# Check for guested configure.
2238
if test -f "$ac_srcdir/configure.gnu"; then
2240
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
2241
elif test -f "$ac_srcdir/configure"; then
2243
$SHELL "$ac_srcdir/configure" --help=recursive
2245
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2247
cd "$ac_pwd" || { ac_status=$?; break; }
2251
test -n "$ac_init_help" && exit $ac_status
2252
if $ac_init_version; then
2254
graphviz configure 2.26.3
2255
generated by GNU Autoconf 2.63
2257
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2258
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2259
This configure script is free software; the Free Software Foundation
2260
gives unlimited permission to copy, distribute and modify it.
2264
cat >config.log <<_ACEOF
2265
This file contains any messages produced by compilers while
2266
running configure, to aid debugging if configure makes a mistake.
2268
It was created by graphviz $as_me 2.26.3, which was
2269
generated by GNU Autoconf 2.63. Invocation command line was
2281
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2282
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2283
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2284
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2285
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2287
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2288
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2290
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2291
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2292
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2293
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2294
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2295
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2296
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304
test -z "$as_dir" && as_dir=.
2305
$as_echo "PATH: $as_dir"
2321
# Keep a trace of the command line.
2322
# Strip out --no-create and --no-recursion so they do not pile up.
2323
# Strip out --silent because we don't want to record it for future runs.
2324
# Also quote any args containing shell meta-characters.
2325
# Make two passes to allow for proper duplicate-argument suppression.
2329
ac_must_keep_next=false
2335
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2336
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2337
| -silent | --silent | --silen | --sile | --sil)
2340
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2343
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2345
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2346
if test $ac_must_keep_next = true; then
2347
ac_must_keep_next=false # Got value, back to normal.
2350
*=* | --config-cache | -C | -disable-* | --disable-* \
2351
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2352
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2353
| -with-* | --with-* | -without-* | --without-* | --x)
2354
case "$ac_configure_args0 " in
2355
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2358
-* ) ac_must_keep_next=true ;;
2361
ac_configure_args="$ac_configure_args '$ac_arg'"
2366
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2367
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2369
# When interrupted or exit'd, cleanup temporary files, and complete
2370
# config.log. We remove comments because anyway the quotes in there
2371
# would cause problems or look ugly.
2372
# WARNING: Use '\'' to represent an apostrophe within the trap.
2373
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2374
trap 'exit_status=$?
2375
# Save into config.log some information that might help in debugging.
2380
## ---------------- ##
2381
## Cache variables. ##
2382
## ---------------- ##
2385
# The following way of writing the cache mishandles newlines in values,
2387
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2388
eval ac_val=\$$ac_var
2392
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2393
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2396
_ | IFS | as_nl) ;; #(
2397
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2398
*) $as_unset $ac_var ;;
2403
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2404
*${as_nl}ac_space=\ *)
2406
"s/'\''/'\''\\\\'\'''\''/g;
2407
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2410
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2418
## ----------------- ##
2419
## Output variables. ##
2420
## ----------------- ##
2423
for ac_var in $ac_subst_vars
2425
eval ac_val=\$$ac_var
2427
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2429
$as_echo "$ac_var='\''$ac_val'\''"
2433
if test -n "$ac_subst_files"; then
2435
## ------------------- ##
2436
## File substitutions. ##
2437
## ------------------- ##
2440
for ac_var in $ac_subst_files
2442
eval ac_val=\$$ac_var
2444
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2446
$as_echo "$ac_var='\''$ac_val'\''"
2451
if test -s confdefs.h; then
2461
test "$ac_signal" != 0 &&
2462
$as_echo "$as_me: caught signal $ac_signal"
2463
$as_echo "$as_me: exit $exit_status"
2465
rm -f core *.core core.conftest.* &&
2466
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2469
for ac_signal in 1 2 13 15; do
2470
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2474
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2475
rm -f -r conftest* confdefs.h
2477
# Predefined preprocessor variables.
2479
cat >>confdefs.h <<_ACEOF
2480
#define PACKAGE_NAME "$PACKAGE_NAME"
2484
cat >>confdefs.h <<_ACEOF
2485
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2489
cat >>confdefs.h <<_ACEOF
2490
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2494
cat >>confdefs.h <<_ACEOF
2495
#define PACKAGE_STRING "$PACKAGE_STRING"
2499
cat >>confdefs.h <<_ACEOF
2500
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2504
# Let the site file select an alternate cache file if it wants to.
2505
# Prefer an explicitly selected file to automatically selected ones.
2508
if test -n "$CONFIG_SITE"; then
2509
ac_site_file1=$CONFIG_SITE
2510
elif test "x$prefix" != xNONE; then
2511
ac_site_file1=$prefix/share/config.site
2512
ac_site_file2=$prefix/etc/config.site
2514
ac_site_file1=$ac_default_prefix/share/config.site
2515
ac_site_file2=$ac_default_prefix/etc/config.site
2517
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2519
test "x$ac_site_file" = xNONE && continue
2520
if test -r "$ac_site_file"; then
2521
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2522
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2523
sed 's/^/| /' "$ac_site_file" >&5
2528
if test -r "$cache_file"; then
2529
# Some versions of bash will fail to source /dev/null (special
2530
# files actually), so we avoid doing that.
2531
if test -f "$cache_file"; then
2532
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2533
$as_echo "$as_me: loading cache $cache_file" >&6;}
2535
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2536
*) . "./$cache_file";;
2540
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2541
$as_echo "$as_me: creating cache $cache_file" >&6;}
2545
# Check that the precious variables saved in the cache have kept the same
2547
ac_cache_corrupted=false
2548
for ac_var in $ac_precious_vars; do
2549
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2550
eval ac_new_set=\$ac_env_${ac_var}_set
2551
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2552
eval ac_new_val=\$ac_env_${ac_var}_value
2553
case $ac_old_set,$ac_new_set in
2555
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2556
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2557
ac_cache_corrupted=: ;;
2559
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2560
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2561
ac_cache_corrupted=: ;;
2564
if test "x$ac_old_val" != "x$ac_new_val"; then
2565
# differences in whitespace do not lead to failure.
2566
ac_old_val_w=`echo x $ac_old_val`
2567
ac_new_val_w=`echo x $ac_new_val`
2568
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2569
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2570
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2571
ac_cache_corrupted=:
2573
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2574
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2575
eval $ac_var=\$ac_old_val
2577
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2578
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2579
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2580
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2583
# Pass precious variables to config.status.
2584
if test "$ac_new_set" = set; then
2586
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2587
*) ac_arg=$ac_var=$ac_new_val ;;
2589
case " $ac_configure_args " in
2590
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2591
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2595
if $ac_cache_corrupted; then
2596
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2597
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2599
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2600
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2601
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2602
{ (exit 1); exit 1; }; }
2630
ac_cpp='$CPP $CPPFLAGS'
2631
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2637
GRAPHVIZ_VERSION_MAJOR=2
2638
GRAPHVIZ_VERSION_MINOR=26
2639
GRAPHVIZ_VERSION_MICRO=3
2644
VERSION_DATE=20100126.1600
2647
#NB: "development" on the next line gets changed to "stable" when building a release
2648
GRAPHVIZ_COLLECTION=development
2650
GRAPHVIZ_SOURCES=graphviz/$GRAPHVIZ_COLLECTION/SOURCES
2655
# libtool shared library version for plugins
2657
# Increment if the interface has additions, changes, removals.
2660
# Increment any time the source changes; set to
2661
# 0 if you increment CURRENT
2664
# Increment if any interfaces have been added; set to 0
2665
# if any interfaces have been removed. removal has
2666
# precedence over adding, so set to 0 if both happened.
2669
GVPLUGIN_CONFIG_FILE="config$GVPLUGIN_CURRENT"
2671
cat >>confdefs.h <<_ACEOF
2672
#define GVPLUGIN_CONFIG_FILE "$GVPLUGIN_CONFIG_FILE"
2677
GVPLUGIN_VERSION_INFO="$GVPLUGIN_CURRENT:$GVPLUGIN_REVISION:$GVPLUGIN_AGE"
2684
for ac_dir in config "$srcdir"/config; do
2685
if test -f "$ac_dir/install-sh"; then
2687
ac_install_sh="$ac_aux_dir/install-sh -c"
2689
elif test -f "$ac_dir/install.sh"; then
2691
ac_install_sh="$ac_aux_dir/install.sh -c"
2693
elif test -f "$ac_dir/shtool"; then
2695
ac_install_sh="$ac_aux_dir/shtool install -c"
2699
if test -z "$ac_aux_dir"; then
2700
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2701
$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2702
{ (exit 1); exit 1; }; }
2705
# These three variables are undocumented and unsupported,
2706
# and are intended to be withdrawn in a future Autoconf release.
2707
# They can cause serious problems if a builder's source tree is in a directory
2708
# whose full name contains unusual characters.
2709
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2710
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2711
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2717
# Make sure we can run config.sub.
2718
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2719
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2720
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2721
{ (exit 1); exit 1; }; }
2723
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2724
$as_echo_n "checking build system type... " >&6; }
2725
if test "${ac_cv_build+set}" = set; then
2726
$as_echo_n "(cached) " >&6
2728
ac_build_alias=$build_alias
2729
test "x$ac_build_alias" = x &&
2730
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2731
test "x$ac_build_alias" = x &&
2732
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2733
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2734
{ (exit 1); exit 1; }; }
2735
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2736
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2737
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2738
{ (exit 1); exit 1; }; }
2741
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2742
$as_echo "$ac_cv_build" >&6; }
2743
case $ac_cv_build in
2745
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2746
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2747
{ (exit 1); exit 1; }; };;
2750
ac_save_IFS=$IFS; IFS='-'
2756
# Remember, the first character of IFS is used to create $*,
2757
# except with old shells:
2760
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2763
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2764
$as_echo_n "checking host system type... " >&6; }
2765
if test "${ac_cv_host+set}" = set; then
2766
$as_echo_n "(cached) " >&6
2768
if test "x$host_alias" = x; then
2769
ac_cv_host=$ac_cv_build
2771
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2772
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2773
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2774
{ (exit 1); exit 1; }; }
2778
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2779
$as_echo "$ac_cv_host" >&6; }
2782
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2783
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2784
{ (exit 1); exit 1; }; };;
2787
ac_save_IFS=$IFS; IFS='-'
2793
# Remember, the first character of IFS is used to create $*,
2794
# except with old shells:
2797
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2801
# This nonsense drives me crazy!!
2802
case "${host_os}" in
2803
*irix* | *nonstopux* )
2804
GVPLUGIN_VERSION=`expr $GVPLUGIN_CURRENT + 1`
2807
GVPLUGIN_VERSION=$GVPLUGIN_CURRENT
2811
cat >>confdefs.h <<_ACEOF
2812
#define GVPLUGIN_VERSION $GVPLUGIN_VERSION
2817
GRAPHVIZ_VERSION_BUILD=0
2818
GRAPHVIZ_VERSION_REVISION=0
2819
case "${host_os}" in
2820
*uwin* | *cygwin* | *mingw32* )
2821
# Windows version numbers
2822
# For the build number: months since Jan 2000, day of month from the timestamp
2823
# For the revision number: hour, minute from the timestamp
2824
if test $GRAPHVIZ_VERSION_MICRO != "0"; then
2825
GRAPHVIZ_VERSION_BUILD=`expr \( ${GRAPHVIZ_VERSION_MICRO:0:4} - 2000 \) \* 12 + ${GRAPHVIZ_VERSION_MICRO:4:2}`${GRAPHVIZ_VERSION_MICRO:6:2}
2826
GRAPHVIZ_VERSION_REVISION=${GRAPHVIZ_VERSION_MICRO:9:4}
2834
case "${host_os}" in
2836
case "${host_cpu}" in
2837
powerpc64 | s390x | x86_64 )
2848
case "${host_os}" in
2851
DEFAULT_FONTPATH="C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"
2852
CFLAGS="${CFLAGS} -DWIN32 -DMSWIN32"
2853
CXXFLAGS="${CXXFLAGS} -DWIN32 -DMSWIN32"
2855
NO_POSTSCRIPT_ALIAS=1
2860
DEFAULT_FONTPATH="C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"
2862
NO_POSTSCRIPT_ALIAS=1
2864
cat >>confdefs.h <<\_ACEOF
2865
#define NO_POSTSCRIPT_ALIAS 1
2872
DEFAULT_FONTPATH="C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"
2874
NO_POSTSCRIPT_ALIAS=1
2880
cat >>confdefs.h <<_ACEOF
2885
DEFAULT_FONTPATH="~/Library/Fonts:/Library/Fonts:/Network/Library/Fonts:/System/Library/Fonts"
2887
NO_POSTSCRIPT_ALIAS=1
2889
cat >>confdefs.h <<_ACEOF
2890
#define DARWIN_DYLIB "$DARWIN_DYLIB"
2894
case "${host_os}" in
2895
*darwin9.4* | *darwin9.5* )
2896
EXTRA_SMYRNA_LDFLAGS="-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
2903
cat >>confdefs.h <<_ACEOF
2907
DEFAULT_FONTPATH="~/Library/Fonts:/Library/Fonts:/Network/Library/Fonts:/System/Library/Fonts"
2909
NO_POSTSCRIPT_ALIAS=1
2912
cat >>confdefs.h <<_ACEOF
2913
#define DARWIN_DYLIB "$DARWIN_DYLIB"
2917
* ) # This sucks! Whatever happened to standards for file system layout?
2918
DEFAULT_FONTPATH="/usr/share/fonts/default/Type1:/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/common/share/fonts/ttf";
2920
NO_POSTSCRIPT_ALIAS=0
2930
cat >>confdefs.h <<_ACEOF
2931
#define DEFAULT_FONTPATH "$DEFAULT_FONTPATH"
2935
cat >>confdefs.h <<_ACEOF
2936
#define PATHSEPARATOR "$PATHSEPARATOR"
2940
cat >>confdefs.h <<_ACEOF
2941
#define NO_POSTSCRIPT_ALIAS $NO_POSTSCRIPT_ALIAS
2944
if test "x$UWIN" = "xyes" -o "x$CYGWIN" = "xyes" -o "x$MINGW32" = "xyes"; then
2946
WITH_WIN32_FALSE='#'
2952
if test "x$DARWIN9" = "xyes"; then
2954
WITH_DARWIN9_FALSE='#'
2956
WITH_DARWIN9_TRUE='#'
2963
cat >>confdefs.h <<_ACEOF
2964
#define DEFAULT_DPI $DEFAULT_DPI
2968
cat >>confdefs.h <<_ACEOF
2969
#define BROWSER "$BROWSER"
2973
am__api_version='1.10'
2975
# Find a good install program. We prefer a C program (faster),
2976
# so one script is as good as another. But avoid the broken or
2977
# incompatible versions:
2978
# SysV /etc/install, /usr/sbin/install
2979
# SunOS /usr/etc/install
2980
# IRIX /sbin/install
2982
# AmigaOS /C/install, which installs bootblocks on floppy discs
2983
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2984
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2985
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2986
# OS/2's system install, which has a completely different semantic
2987
# ./install, which can be erroneously created by make from ./install.sh.
2988
# Reject install programs that cannot install multiple files.
2989
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2990
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2991
if test -z "$INSTALL"; then
2992
if test "${ac_cv_path_install+set}" = set; then
2993
$as_echo_n "(cached) " >&6
2995
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999
test -z "$as_dir" && as_dir=.
3000
# Account for people who put trailing slashes in PATH elements.
3002
./ | .// | /cC/* | \
3003
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3004
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3007
# OSF1 and SCO ODT 3.0 have their own names for install.
3008
# Don't use installbsd from OSF since it installs stuff as root
3010
for ac_prog in ginstall scoinst install; do
3011
for ac_exec_ext in '' $ac_executable_extensions; do
3012
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3013
if test $ac_prog = install &&
3014
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3015
# AIX install. It has an incompatible calling convention.
3017
elif test $ac_prog = install &&
3018
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3019
# program-specific install script used by HP pwplus--don't use.
3022
rm -rf conftest.one conftest.two conftest.dir
3023
echo one > conftest.one
3024
echo two > conftest.two
3026
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3027
test -s conftest.one && test -s conftest.two &&
3028
test -s conftest.dir/conftest.one &&
3029
test -s conftest.dir/conftest.two
3031
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3044
rm -rf conftest.one conftest.two conftest.dir
3047
if test "${ac_cv_path_install+set}" = set; then
3048
INSTALL=$ac_cv_path_install
3050
# As a last resort, use the slow shell script. Don't cache a
3051
# value for INSTALL within a source directory, because that will
3052
# break other packages using the cache if that directory is
3053
# removed, or if the value is a relative name.
3054
INSTALL=$ac_install_sh
3057
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3058
$as_echo "$INSTALL" >&6; }
3060
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3061
# It thinks the first close brace ends the variable substitution.
3062
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3064
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3066
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3068
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3069
$as_echo_n "checking whether build environment is sane... " >&6; }
3072
echo timestamp > conftest.file
3073
# Do `set' in a subshell so we don't clobber the current shell's
3074
# arguments. Must try -L first in case configure is actually a
3075
# symlink; some systems play weird games with the mod time of symlinks
3076
# (eg FreeBSD returns the mod time of the symlink's containing
3079
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3080
if test "$*" = "X"; then
3082
set X `ls -t $srcdir/configure conftest.file`
3085
if test "$*" != "X $srcdir/configure conftest.file" \
3086
&& test "$*" != "X conftest.file $srcdir/configure"; then
3088
# If neither matched, then we have a broken ls. This can happen
3089
# if, for instance, CONFIG_SHELL is bash and it inherits a
3090
# broken ls alias from the environment. This has actually
3091
# happened. Such a system could not be considered "sane".
3092
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3093
alias in your environment" >&5
3094
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3095
alias in your environment" >&2;}
3096
{ (exit 1); exit 1; }; }
3099
test "$2" = conftest.file
3105
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3106
Check your system clock" >&5
3107
$as_echo "$as_me: error: newly created file is older than distributed files!
3108
Check your system clock" >&2;}
3109
{ (exit 1); exit 1; }; }
3111
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3112
$as_echo "yes" >&6; }
3113
test "$program_prefix" != NONE &&
3114
program_transform_name="s&^&$program_prefix&;$program_transform_name"
3115
# Use a double $ so make ignores it.
3116
test "$program_suffix" != NONE &&
3117
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3118
# Double any \ or $.
3119
# By default was `s,x,x', remove it if useless.
3120
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3121
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3123
# expand $ac_aux_dir to an absolute path
3124
am_aux_dir=`cd $ac_aux_dir && pwd`
3126
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3127
# Use eval to expand $SHELL
3128
if eval "$MISSING --run true"; then
3129
am_missing_run="$MISSING --run "
3132
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3133
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3136
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3137
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3138
if test -z "$MKDIR_P"; then
3139
if test "${ac_cv_path_mkdir+set}" = set; then
3140
$as_echo_n "(cached) " >&6
3142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3146
test -z "$as_dir" && as_dir=.
3147
for ac_prog in mkdir gmkdir; do
3148
for ac_exec_ext in '' $ac_executable_extensions; do
3149
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3150
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3151
'mkdir (GNU coreutils) '* | \
3152
'mkdir (coreutils) '* | \
3153
'mkdir (fileutils) '4.1*)
3154
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3164
if test "${ac_cv_path_mkdir+set}" = set; then
3165
MKDIR_P="$ac_cv_path_mkdir -p"
3167
# As a last resort, use the slow shell script. Don't cache a
3168
# value for MKDIR_P within a source directory, because that will
3169
# break other packages using the cache if that directory is
3170
# removed, or if the value is a relative name.
3171
test -d ./--version && rmdir ./--version
3172
MKDIR_P="$ac_install_sh -d"
3175
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3176
$as_echo "$MKDIR_P" >&6; }
3180
[\\/$]* | ?:[\\/]*) ;;
3181
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3184
for ac_prog in gawk mawk nawk awk
3186
# Extract the first word of "$ac_prog", so it can be a program name with args.
3187
set dummy $ac_prog; ac_word=$2
3188
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3189
$as_echo_n "checking for $ac_word... " >&6; }
3190
if test "${ac_cv_prog_AWK+set}" = set; then
3191
$as_echo_n "(cached) " >&6
3193
if test -n "$AWK"; then
3194
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3196
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200
test -z "$as_dir" && as_dir=.
3201
for ac_exec_ext in '' $ac_executable_extensions; do
3202
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203
ac_cv_prog_AWK="$ac_prog"
3204
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3214
if test -n "$AWK"; then
3215
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
3216
$as_echo "$AWK" >&6; }
3218
{ $as_echo "$as_me:$LINENO: result: no" >&5
3219
$as_echo "no" >&6; }
3223
test -n "$AWK" && break
3226
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3227
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3229
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3230
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3231
$as_echo_n "(cached) " >&6
3233
cat >conftest.make <<\_ACEOF
3236
@echo '@@@%%%=$(MAKE)=@@@%%%'
3238
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3239
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3241
eval ac_cv_prog_make_${ac_make}_set=yes;;
3243
eval ac_cv_prog_make_${ac_make}_set=no;;
3247
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3248
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3249
$as_echo "yes" >&6; }
3252
{ $as_echo "$as_me:$LINENO: result: no" >&5
3253
$as_echo "no" >&6; }
3254
SET_MAKE="MAKE=${MAKE-make}"
3257
rm -rf .tst 2>/dev/null
3258
mkdir .tst 2>/dev/null
3259
if test -d .tst; then
3264
rmdir .tst 2>/dev/null
3266
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3267
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3268
# is not polluted with repeated "-I."
3269
am__isrc=' -I$(srcdir)'
3270
# test to see if srcdir already configured
3271
if test -f $srcdir/config.status; then
3272
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3273
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3274
{ (exit 1); exit 1; }; }
3278
# test whether we have cygpath
3279
if test -z "$CYGPATH_W"; then
3280
if (cygpath --version) >/dev/null 2>/dev/null; then
3281
CYGPATH_W='cygpath -w'
3288
# Define the identity of the package.
3293
cat >>confdefs.h <<_ACEOF
3294
#define PACKAGE "$PACKAGE"
3298
cat >>confdefs.h <<_ACEOF
3299
#define VERSION "$VERSION"
3302
# Some tools Automake needs.
3304
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3307
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3310
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3313
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3316
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3318
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3320
# Installed binaries are usually stripped using `strip' when the user
3321
# run `make install-strip'. However `strip' might not be the right
3322
# tool to use in cross-compilation environments, therefore Automake
3323
# will honor the `STRIP' environment variable to overrule this program.
3324
if test "$cross_compiling" != no; then
3325
if test -n "$ac_tool_prefix"; then
3326
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3327
set dummy ${ac_tool_prefix}strip; ac_word=$2
3328
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3329
$as_echo_n "checking for $ac_word... " >&6; }
3330
if test "${ac_cv_prog_STRIP+set}" = set; then
3331
$as_echo_n "(cached) " >&6
3333
if test -n "$STRIP"; then
3334
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340
test -z "$as_dir" && as_dir=.
3341
for ac_exec_ext in '' $ac_executable_extensions; do
3342
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3344
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3353
STRIP=$ac_cv_prog_STRIP
3354
if test -n "$STRIP"; then
3355
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3356
$as_echo "$STRIP" >&6; }
3358
{ $as_echo "$as_me:$LINENO: result: no" >&5
3359
$as_echo "no" >&6; }
3364
if test -z "$ac_cv_prog_STRIP"; then
3366
# Extract the first word of "strip", so it can be a program name with args.
3367
set dummy strip; ac_word=$2
3368
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3369
$as_echo_n "checking for $ac_word... " >&6; }
3370
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3371
$as_echo_n "(cached) " >&6
3373
if test -n "$ac_ct_STRIP"; then
3374
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3376
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380
test -z "$as_dir" && as_dir=.
3381
for ac_exec_ext in '' $ac_executable_extensions; do
3382
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383
ac_cv_prog_ac_ct_STRIP="strip"
3384
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3394
if test -n "$ac_ct_STRIP"; then
3395
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3396
$as_echo "$ac_ct_STRIP" >&6; }
3398
{ $as_echo "$as_me:$LINENO: result: no" >&5
3399
$as_echo "no" >&6; }
3402
if test "x$ac_ct_STRIP" = x; then
3405
case $cross_compiling:$ac_tool_warned in
3407
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3408
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3409
ac_tool_warned=yes ;;
3414
STRIP="$ac_cv_prog_STRIP"
3418
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3420
# We need awk for the "check" target. The system "awk" is bad on
3422
# Always define AMTAR for backward compatibility.
3424
AMTAR=${AMTAR-"${am_missing_run}tar"}
3426
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3433
# Suppress verbose compile lines
3436
ac_config_headers="$ac_config_headers config.h"
3439
# put BUILDDATE in its own file so that only targets that use it get rebuilt
3440
echo "#define BUILDDATE \"$VERSION_DATE\"" > builddate.h
3442
# only update ast_common.h (for GNU builds) from master if changed
3443
if ! `cmp -s $srcdir/ast_common.h.in ast_common.h`; then
3444
cp $srcdir/ast_common.h.in ast_common.h;
3448
if test "x${prefix}" = "xNONE"; then
3449
prefix=${ac_default_prefix}
3453
# automatically check for other dependencies in $prefix first
3454
if test "x${prefix}" != "x/usr"; then
3455
CPPFLAGS="$CPPFLAGS -I${prefix}/include"
3456
LDFLAGS="$LDFLAGS -L${prefix}/lib"
3457
PKG_CONFIG_PATH="$prefix/lib/pkgconfig$PATHSEPARATOR$PKG_CONFIG_PATH"
3458
export PKG_CONFIG_PATH
3461
# Set of all available languages
3464
# Static/Shared binaries
3466
# Check whether --enable-static was given.
3467
if test "${enable_static+set}" = set; then
3468
enableval=$enable_static;
3471
if test "x$enable_static" = "xyes"; then
3472
# Check whether --enable-static was given.
3473
if test "${enable_static+set}" = set; then
3474
enableval=$enable_static; p=${PACKAGE-default}
3476
yes) enable_static=yes ;;
3477
no) enable_static=no ;;
3480
# Look at the argument we got. We use all the common list separators.
3481
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3482
for pkg in $enableval; do
3484
if test "X$pkg" = "X$p"; then
3505
# Check whether --enable-static was given.
3506
if test "${enable_static+set}" = set; then
3507
enableval=$enable_static; p=${PACKAGE-default}
3509
yes) enable_static=yes ;;
3510
no) enable_static=no ;;
3513
# Look at the argument we got. We use all the common list separators.
3514
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3515
for pkg in $enableval; do
3517
if test "X$pkg" = "X$p"; then
3533
use_static="No (disabled by default)"
3535
if test "x$enable_static" = "xyes"; then
3537
ENABLE_STATIC_FALSE='#'
3539
ENABLE_STATIC_TRUE='#'
3540
ENABLE_STATIC_FALSE=
3544
# Check whether --enable-shared was given.
3545
if test "${enable_shared+set}" = set; then
3546
enableval=$enable_shared;
3549
if test "x$enable_shared" != "xno"; then
3550
# Check whether --enable-shared was given.
3551
if test "${enable_shared+set}" = set; then
3552
enableval=$enable_shared; p=${PACKAGE-default}
3554
yes) enable_shared=yes ;;
3555
no) enable_shared=no ;;
3558
# Look at the argument we got. We use all the common list separators.
3559
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3560
for pkg in $enableval; do
3562
if test "X$pkg" = "X$p"; then
3582
case "${host_os}" in
3583
*uwin* | *cygwin* | *mingw32* )
3585
cat >>confdefs.h <<_ACEOF
3593
use_shared="No (disabled)"
3594
# Check whether --enable-shared was given.
3595
if test "${enable_shared+set}" = set; then
3596
enableval=$enable_shared; p=${PACKAGE-default}
3598
yes) enable_shared=yes ;;
3599
no) enable_shared=no ;;
3602
# Look at the argument we got. We use all the common list separators.
3603
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3604
for pkg in $enableval; do
3606
if test "X$pkg" = "X$p"; then
3623
if test "x$enable_shared" = "xyes"; then
3625
ENABLE_SHARED_FALSE='#'
3627
ENABLE_SHARED_TRUE='#'
3628
ENABLE_SHARED_FALSE=
3633
DEPDIR="${am__leading_dot}deps"
3635
ac_config_commands="$ac_config_commands depfiles"
3638
am_make=${MAKE-make}
3639
cat > confinc << 'END'
3644
# If we don't find an include directive, just comment out the code.
3645
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3646
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3650
# First try GNU make style include.
3651
echo "include confinc" > confmf
3652
# We grep out `Entering directory' and `Leaving directory'
3653
# messages which can occur if `w' ends up in MAKEFLAGS.
3654
# In particular we don't look at `^make:' because GNU make might
3655
# be invoked under some other name (usually "gmake"), in which
3656
# case it prints its new name instead of `make'.
3657
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3662
# Now try BSD make style include.
3663
if test "$am__include" = "#"; then
3664
echo '.include "confinc"' > confmf
3665
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3666
am__include=.include
3673
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3674
$as_echo "$_am_result" >&6; }
3675
rm -f confinc confmf
3677
# Check whether --enable-dependency-tracking was given.
3678
if test "${enable_dependency_tracking+set}" = set; then
3679
enableval=$enable_dependency_tracking;
3682
if test "x$enable_dependency_tracking" != xno; then
3683
am_depcomp="$ac_aux_dir/depcomp"
3686
if test "x$enable_dependency_tracking" != xno; then
3696
ac_cpp='$CPP $CPPFLAGS'
3697
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700
if test -n "$ac_tool_prefix"; then
3701
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3702
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3703
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3704
$as_echo_n "checking for $ac_word... " >&6; }
3705
if test "${ac_cv_prog_CC+set}" = set; then
3706
$as_echo_n "(cached) " >&6
3708
if test -n "$CC"; then
3709
ac_cv_prog_CC="$CC" # Let the user override the test.
3711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715
test -z "$as_dir" && as_dir=.
3716
for ac_exec_ext in '' $ac_executable_extensions; do
3717
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3719
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3729
if test -n "$CC"; then
3730
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3731
$as_echo "$CC" >&6; }
3733
{ $as_echo "$as_me:$LINENO: result: no" >&5
3734
$as_echo "no" >&6; }
3739
if test -z "$ac_cv_prog_CC"; then
3741
# Extract the first word of "gcc", so it can be a program name with args.
3742
set dummy gcc; ac_word=$2
3743
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3744
$as_echo_n "checking for $ac_word... " >&6; }
3745
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3746
$as_echo_n "(cached) " >&6
3748
if test -n "$ac_ct_CC"; then
3749
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3751
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755
test -z "$as_dir" && as_dir=.
3756
for ac_exec_ext in '' $ac_executable_extensions; do
3757
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3758
ac_cv_prog_ac_ct_CC="gcc"
3759
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3768
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3769
if test -n "$ac_ct_CC"; then
3770
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3771
$as_echo "$ac_ct_CC" >&6; }
3773
{ $as_echo "$as_me:$LINENO: result: no" >&5
3774
$as_echo "no" >&6; }
3777
if test "x$ac_ct_CC" = x; then
3780
case $cross_compiling:$ac_tool_warned in
3782
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3783
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3784
ac_tool_warned=yes ;;
3792
if test -z "$CC"; then
3793
if test -n "$ac_tool_prefix"; then
3794
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3795
set dummy ${ac_tool_prefix}cc; ac_word=$2
3796
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3797
$as_echo_n "checking for $ac_word... " >&6; }
3798
if test "${ac_cv_prog_CC+set}" = set; then
3799
$as_echo_n "(cached) " >&6
3801
if test -n "$CC"; then
3802
ac_cv_prog_CC="$CC" # Let the user override the test.
3804
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808
test -z "$as_dir" && as_dir=.
3809
for ac_exec_ext in '' $ac_executable_extensions; do
3810
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3811
ac_cv_prog_CC="${ac_tool_prefix}cc"
3812
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3822
if test -n "$CC"; then
3823
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3824
$as_echo "$CC" >&6; }
3826
{ $as_echo "$as_me:$LINENO: result: no" >&5
3827
$as_echo "no" >&6; }
3833
if test -z "$CC"; then
3834
# Extract the first word of "cc", so it can be a program name with args.
3835
set dummy cc; ac_word=$2
3836
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3837
$as_echo_n "checking for $ac_word... " >&6; }
3838
if test "${ac_cv_prog_CC+set}" = set; then
3839
$as_echo_n "(cached) " >&6
3841
if test -n "$CC"; then
3842
ac_cv_prog_CC="$CC" # Let the user override the test.
3845
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849
test -z "$as_dir" && as_dir=.
3850
for ac_exec_ext in '' $ac_executable_extensions; do
3851
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3853
ac_prog_rejected=yes
3857
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864
if test $ac_prog_rejected = yes; then
3865
# We found a bogon in the path, so make sure we never use it.
3866
set dummy $ac_cv_prog_CC
3868
if test $# != 0; then
3869
# We chose a different compiler from the bogus one.
3870
# However, it has the same basename, so the bogon will be chosen
3871
# first if we set CC to just the basename; use the full file name.
3873
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3879
if test -n "$CC"; then
3880
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3881
$as_echo "$CC" >&6; }
3883
{ $as_echo "$as_me:$LINENO: result: no" >&5
3884
$as_echo "no" >&6; }
3889
if test -z "$CC"; then
3890
if test -n "$ac_tool_prefix"; then
3891
for ac_prog in cl.exe
3893
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3894
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3895
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3896
$as_echo_n "checking for $ac_word... " >&6; }
3897
if test "${ac_cv_prog_CC+set}" = set; then
3898
$as_echo_n "(cached) " >&6
3900
if test -n "$CC"; then
3901
ac_cv_prog_CC="$CC" # Let the user override the test.
3903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907
test -z "$as_dir" && as_dir=.
3908
for ac_exec_ext in '' $ac_executable_extensions; do
3909
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3910
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3911
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3921
if test -n "$CC"; then
3922
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3923
$as_echo "$CC" >&6; }
3925
{ $as_echo "$as_me:$LINENO: result: no" >&5
3926
$as_echo "no" >&6; }
3930
test -n "$CC" && break
3933
if test -z "$CC"; then
3935
for ac_prog in cl.exe
3937
# Extract the first word of "$ac_prog", so it can be a program name with args.
3938
set dummy $ac_prog; ac_word=$2
3939
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3940
$as_echo_n "checking for $ac_word... " >&6; }
3941
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3942
$as_echo_n "(cached) " >&6
3944
if test -n "$ac_ct_CC"; then
3945
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951
test -z "$as_dir" && as_dir=.
3952
for ac_exec_ext in '' $ac_executable_extensions; do
3953
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3954
ac_cv_prog_ac_ct_CC="$ac_prog"
3955
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3965
if test -n "$ac_ct_CC"; then
3966
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3967
$as_echo "$ac_ct_CC" >&6; }
3969
{ $as_echo "$as_me:$LINENO: result: no" >&5
3970
$as_echo "no" >&6; }
3974
test -n "$ac_ct_CC" && break
3977
if test "x$ac_ct_CC" = x; then
3980
case $cross_compiling:$ac_tool_warned in
3982
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3983
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3984
ac_tool_warned=yes ;;
3993
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3994
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3996
See \`config.log' for more details." >&5
3997
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3998
See \`config.log' for more details." >&2;}
3999
{ (exit 1); exit 1; }; }; }
4001
# Provide some information about the compiler.
4002
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4005
{ (ac_try="$ac_compiler --version >&5"
4007
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008
*) ac_try_echo=$ac_try;;
4010
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4011
$as_echo "$ac_try_echo") >&5
4012
(eval "$ac_compiler --version >&5") 2>&5
4014
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015
(exit $ac_status); }
4016
{ (ac_try="$ac_compiler -v >&5"
4018
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019
*) ac_try_echo=$ac_try;;
4021
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4022
$as_echo "$ac_try_echo") >&5
4023
(eval "$ac_compiler -v >&5") 2>&5
4025
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026
(exit $ac_status); }
4027
{ (ac_try="$ac_compiler -V >&5"
4029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030
*) ac_try_echo=$ac_try;;
4032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4033
$as_echo "$ac_try_echo") >&5
4034
(eval "$ac_compiler -V >&5") 2>&5
4036
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037
(exit $ac_status); }
4039
cat >conftest.$ac_ext <<_ACEOF
4042
cat confdefs.h >>conftest.$ac_ext
4043
cat >>conftest.$ac_ext <<_ACEOF
4044
/* end confdefs.h. */
4054
ac_clean_files_save=$ac_clean_files
4055
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4056
# Try to create an executable without -o first, disregard a.out.
4057
# It will help us diagnose broken compilers, and finding out an intuition
4059
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4060
$as_echo_n "checking for C compiler default output file name... " >&6; }
4061
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4063
# The possible output files:
4064
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4067
for ac_file in $ac_files
4070
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4071
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
4076
if { (ac_try="$ac_link_default"
4078
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079
*) ac_try_echo=$ac_try;;
4081
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4082
$as_echo "$ac_try_echo") >&5
4083
(eval "$ac_link_default") 2>&5
4085
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086
(exit $ac_status); }; then
4087
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4088
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4089
# in a Makefile. We should not override ac_cv_exeext if it was cached,
4090
# so that the user can short-circuit this test for compilers unknown to
4092
for ac_file in $ac_files ''
4094
test -f "$ac_file" || continue
4096
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4099
# We found the default executable, but exeext='' is most
4103
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4105
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4107
# We set ac_cv_exeext here because the later test for it is not
4108
# safe: cross compilers may not add the suffix if given an `-o'
4109
# argument, so we may need to know it at that point already.
4110
# Even if this section looks crufty: it has the advantage of
4117
test "$ac_cv_exeext" = no && ac_cv_exeext=
4123
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4124
$as_echo "$ac_file" >&6; }
4125
if test -z "$ac_file"; then
4126
$as_echo "$as_me: failed program was:" >&5
4127
sed 's/^/| /' conftest.$ac_ext >&5
4129
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4130
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4132
See \`config.log' for more details." >&5
4133
$as_echo "$as_me: error: C compiler cannot create executables
4134
See \`config.log' for more details." >&2;}
4135
{ (exit 77); exit 77; }; }; }
4138
ac_exeext=$ac_cv_exeext
4140
# Check that the compiler produces executables we can run. If not, either
4141
# the compiler is broken, or we cross compile.
4142
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4143
$as_echo_n "checking whether the C compiler works... " >&6; }
4144
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4145
# If not cross compiling, check that we can run a simple program.
4146
if test "$cross_compiling" != yes; then
4147
if { ac_try='./$ac_file'
4148
{ (case "(($ac_try" in
4149
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150
*) ac_try_echo=$ac_try;;
4152
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4153
$as_echo "$ac_try_echo") >&5
4154
(eval "$ac_try") 2>&5
4156
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157
(exit $ac_status); }; }; then
4160
if test "$cross_compiling" = maybe; then
4163
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4164
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
4166
If you meant to cross compile, use \`--host'.
4167
See \`config.log' for more details." >&5
4168
$as_echo "$as_me: error: cannot run C compiled programs.
4169
If you meant to cross compile, use \`--host'.
4170
See \`config.log' for more details." >&2;}
4171
{ (exit 1); exit 1; }; }; }
4175
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4176
$as_echo "yes" >&6; }
4178
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4179
ac_clean_files=$ac_clean_files_save
4180
# Check that the compiler produces executables we can run. If not, either
4181
# the compiler is broken, or we cross compile.
4182
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4183
$as_echo_n "checking whether we are cross compiling... " >&6; }
4184
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4185
$as_echo "$cross_compiling" >&6; }
4187
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4188
$as_echo_n "checking for suffix of executables... " >&6; }
4189
if { (ac_try="$ac_link"
4191
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192
*) ac_try_echo=$ac_try;;
4194
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4195
$as_echo "$ac_try_echo") >&5
4196
(eval "$ac_link") 2>&5
4198
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199
(exit $ac_status); }; then
4200
# If both `conftest.exe' and `conftest' are `present' (well, observable)
4201
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4202
# work properly (i.e., refer to `conftest.exe'), while it won't with
4204
for ac_file in conftest.exe conftest conftest.*; do
4205
test -f "$ac_file" || continue
4207
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4208
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4214
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4215
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4216
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4217
See \`config.log' for more details." >&5
4218
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4219
See \`config.log' for more details." >&2;}
4220
{ (exit 1); exit 1; }; }; }
4223
rm -f conftest$ac_cv_exeext
4224
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4225
$as_echo "$ac_cv_exeext" >&6; }
4227
rm -f conftest.$ac_ext
4228
EXEEXT=$ac_cv_exeext
4230
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4231
$as_echo_n "checking for suffix of object files... " >&6; }
4232
if test "${ac_cv_objext+set}" = set; then
4233
$as_echo_n "(cached) " >&6
4235
cat >conftest.$ac_ext <<_ACEOF
4238
cat confdefs.h >>conftest.$ac_ext
4239
cat >>conftest.$ac_ext <<_ACEOF
4240
/* end confdefs.h. */
4250
rm -f conftest.o conftest.obj
4251
if { (ac_try="$ac_compile"
4253
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254
*) ac_try_echo=$ac_try;;
4256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4257
$as_echo "$ac_try_echo") >&5
4258
(eval "$ac_compile") 2>&5
4260
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261
(exit $ac_status); }; then
4262
for ac_file in conftest.o conftest.obj conftest.*; do
4263
test -f "$ac_file" || continue;
4265
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4266
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4271
$as_echo "$as_me: failed program was:" >&5
4272
sed 's/^/| /' conftest.$ac_ext >&5
4274
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4275
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4276
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4277
See \`config.log' for more details." >&5
4278
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4279
See \`config.log' for more details." >&2;}
4280
{ (exit 1); exit 1; }; }; }
4283
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4285
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4286
$as_echo "$ac_cv_objext" >&6; }
4287
OBJEXT=$ac_cv_objext
4289
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4290
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4291
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4292
$as_echo_n "(cached) " >&6
4294
cat >conftest.$ac_ext <<_ACEOF
4297
cat confdefs.h >>conftest.$ac_ext
4298
cat >>conftest.$ac_ext <<_ACEOF
4299
/* end confdefs.h. */
4312
rm -f conftest.$ac_objext
4313
if { (ac_try="$ac_compile"
4315
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4316
*) ac_try_echo=$ac_try;;
4318
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4319
$as_echo "$ac_try_echo") >&5
4320
(eval "$ac_compile") 2>conftest.er1
4322
grep -v '^ *+' conftest.er1 >conftest.err
4324
cat conftest.err >&5
4325
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
(exit $ac_status); } && {
4327
test -z "$ac_c_werror_flag" ||
4328
test ! -s conftest.err
4329
} && test -s conftest.$ac_objext; then
4332
$as_echo "$as_me: failed program was:" >&5
4333
sed 's/^/| /' conftest.$ac_ext >&5
4338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4342
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4343
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4344
if test $ac_compiler_gnu = yes; then
4349
ac_test_CFLAGS=${CFLAGS+set}
4350
ac_save_CFLAGS=$CFLAGS
4351
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4352
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4353
if test "${ac_cv_prog_cc_g+set}" = set; then
4354
$as_echo_n "(cached) " >&6
4356
ac_save_c_werror_flag=$ac_c_werror_flag
4357
ac_c_werror_flag=yes
4360
cat >conftest.$ac_ext <<_ACEOF
4363
cat confdefs.h >>conftest.$ac_ext
4364
cat >>conftest.$ac_ext <<_ACEOF
4365
/* end confdefs.h. */
4375
rm -f conftest.$ac_objext
4376
if { (ac_try="$ac_compile"
4378
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379
*) ac_try_echo=$ac_try;;
4381
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4382
$as_echo "$ac_try_echo") >&5
4383
(eval "$ac_compile") 2>conftest.er1
4385
grep -v '^ *+' conftest.er1 >conftest.err
4387
cat conftest.err >&5
4388
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389
(exit $ac_status); } && {
4390
test -z "$ac_c_werror_flag" ||
4391
test ! -s conftest.err
4392
} && test -s conftest.$ac_objext; then
4395
$as_echo "$as_me: failed program was:" >&5
4396
sed 's/^/| /' conftest.$ac_ext >&5
4399
cat >conftest.$ac_ext <<_ACEOF
4402
cat confdefs.h >>conftest.$ac_ext
4403
cat >>conftest.$ac_ext <<_ACEOF
4404
/* end confdefs.h. */
4414
rm -f conftest.$ac_objext
4415
if { (ac_try="$ac_compile"
4417
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418
*) ac_try_echo=$ac_try;;
4420
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4421
$as_echo "$ac_try_echo") >&5
4422
(eval "$ac_compile") 2>conftest.er1
4424
grep -v '^ *+' conftest.er1 >conftest.err
4426
cat conftest.err >&5
4427
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428
(exit $ac_status); } && {
4429
test -z "$ac_c_werror_flag" ||
4430
test ! -s conftest.err
4431
} && test -s conftest.$ac_objext; then
4434
$as_echo "$as_me: failed program was:" >&5
4435
sed 's/^/| /' conftest.$ac_ext >&5
4437
ac_c_werror_flag=$ac_save_c_werror_flag
4439
cat >conftest.$ac_ext <<_ACEOF
4442
cat confdefs.h >>conftest.$ac_ext
4443
cat >>conftest.$ac_ext <<_ACEOF
4444
/* end confdefs.h. */
4454
rm -f conftest.$ac_objext
4455
if { (ac_try="$ac_compile"
4457
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458
*) ac_try_echo=$ac_try;;
4460
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4461
$as_echo "$ac_try_echo") >&5
4462
(eval "$ac_compile") 2>conftest.er1
4464
grep -v '^ *+' conftest.er1 >conftest.err
4466
cat conftest.err >&5
4467
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
(exit $ac_status); } && {
4469
test -z "$ac_c_werror_flag" ||
4470
test ! -s conftest.err
4471
} && test -s conftest.$ac_objext; then
4474
$as_echo "$as_me: failed program was:" >&5
4475
sed 's/^/| /' conftest.$ac_ext >&5
4480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487
ac_c_werror_flag=$ac_save_c_werror_flag
4489
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4490
$as_echo "$ac_cv_prog_cc_g" >&6; }
4491
if test "$ac_test_CFLAGS" = set; then
4492
CFLAGS=$ac_save_CFLAGS
4493
elif test $ac_cv_prog_cc_g = yes; then
4494
if test "$GCC" = yes; then
4500
if test "$GCC" = yes; then
4506
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4507
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4508
if test "${ac_cv_prog_cc_c89+set}" = set; then
4509
$as_echo_n "(cached) " >&6
4511
ac_cv_prog_cc_c89=no
4513
cat >conftest.$ac_ext <<_ACEOF
4516
cat confdefs.h >>conftest.$ac_ext
4517
cat >>conftest.$ac_ext <<_ACEOF
4518
/* end confdefs.h. */
4521
#include <sys/types.h>
4522
#include <sys/stat.h>
4523
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4524
struct buf { int x; };
4525
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4526
static char *e (p, i)
4532
static char *f (char * (*g) (char **, int), char **p, ...)
4537
s = g (p, va_arg (v,int));
4542
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4543
function prototypes and stuff, but not '\xHH' hex character constants.
4544
These don't provoke an error unfortunately, instead are silently treated
4545
as 'x'. The following induces an error, until -std is added to get
4546
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4547
array size at least. It's necessary to write '\x00'==0 to get something
4548
that's true only with -std. */
4549
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4551
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4552
inside strings and character constants. */
4554
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4556
int test (int i, double x);
4557
struct s1 {int (*f) (int a);};
4558
struct s2 {int (*f) (double a);};
4559
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4565
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4570
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4571
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4573
CC="$ac_save_CC $ac_arg"
4574
rm -f conftest.$ac_objext
4575
if { (ac_try="$ac_compile"
4577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578
*) ac_try_echo=$ac_try;;
4580
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4581
$as_echo "$ac_try_echo") >&5
4582
(eval "$ac_compile") 2>conftest.er1
4584
grep -v '^ *+' conftest.er1 >conftest.err
4586
cat conftest.err >&5
4587
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588
(exit $ac_status); } && {
4589
test -z "$ac_c_werror_flag" ||
4590
test ! -s conftest.err
4591
} && test -s conftest.$ac_objext; then
4592
ac_cv_prog_cc_c89=$ac_arg
4594
$as_echo "$as_me: failed program was:" >&5
4595
sed 's/^/| /' conftest.$ac_ext >&5
4600
rm -f core conftest.err conftest.$ac_objext
4601
test "x$ac_cv_prog_cc_c89" != "xno" && break
4603
rm -f conftest.$ac_ext
4608
case "x$ac_cv_prog_cc_c89" in
4610
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
4611
$as_echo "none needed" >&6; } ;;
4613
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
4614
$as_echo "unsupported" >&6; } ;;
4616
CC="$CC $ac_cv_prog_cc_c89"
4617
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4618
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4623
ac_cpp='$CPP $CPPFLAGS'
4624
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4625
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4626
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628
depcc="$CC" am_compiler_list=
4630
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4631
$as_echo_n "checking dependency style of $depcc... " >&6; }
4632
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4633
$as_echo_n "(cached) " >&6
4635
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4636
# We make a subdir and do the tests there. Otherwise we can end up
4637
# making bogus files that we don't know about and never remove. For
4638
# instance it was reported that on HP-UX the gcc test will end up
4639
# making a dummy file named `D' -- because `-MD' means `put the output
4642
# Copy depcomp to subdir because otherwise we won't find it if we're
4643
# using a relative directory.
4644
cp "$am_depcomp" conftest.dir
4646
# We will build objects and dependencies in a subdirectory because
4647
# it helps to detect inapplicable dependency modes. For instance
4648
# both Tru64's cc and ICC support -MD to output dependencies as a
4649
# side effect of compilation, but ICC will put the dependencies in
4650
# the current directory while Tru64 will put them in the object
4654
am_cv_CC_dependencies_compiler_type=none
4655
if test "$am_compiler_list" = ""; then
4656
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4658
for depmode in $am_compiler_list; do
4659
# Setup a source with many dependencies, because some compilers
4660
# like to wrap large dependency lists on column 80 (with \), and
4661
# we should not choose a depcomp mode which is confused by this.
4663
# We need to recreate these files for each test, as the compiler may
4664
# overwrite some of them when testing with obscure command lines.
4665
# This happens at least with the AIX C compiler.
4667
for i in 1 2 3 4 5 6; do
4668
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4669
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4670
# Solaris 8's {/usr,}/bin/sh.
4671
touch sub/conftst$i.h
4673
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4677
# after this tag, mechanisms are not by side-effect, so they'll
4678
# only be used when explicitly requested
4679
if test "x$enable_dependency_tracking" = xyes; then
4687
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4688
# mode. It turns out that the SunPro C++ compiler does not properly
4689
# handle `-M -o', and we need to detect this.
4690
if depmode=$depmode \
4691
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4692
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4693
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4694
>/dev/null 2>conftest.err &&
4695
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4696
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4697
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4698
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4699
# icc doesn't choke on unknown options, it will just issue warnings
4700
# or remarks (even with -Werror). So we grep stderr for any message
4701
# that says an option was ignored or not supported.
4702
# When given -MP, icc 7.0 and 7.1 complain thusly:
4703
# icc: Command line warning: ignoring option '-M'; no argument required
4704
# The diagnosis changed in icc 8.0:
4705
# icc: Command line remark: option '-MP' not supported
4706
if (grep 'ignoring option' conftest.err ||
4707
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4708
am_cv_CC_dependencies_compiler_type=$depmode
4717
am_cv_CC_dependencies_compiler_type=none
4721
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4722
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4723
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4726
test "x$enable_dependency_tracking" != xno \
4727
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4729
am__fastdepCC_FALSE='#'
4731
am__fastdepCC_TRUE='#'
4732
am__fastdepCC_FALSE=
4737
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
4738
$as_echo_n "checking for library containing strerror... " >&6; }
4739
if test "${ac_cv_search_strerror+set}" = set; then
4740
$as_echo_n "(cached) " >&6
4742
ac_func_search_save_LIBS=$LIBS
4743
cat >conftest.$ac_ext <<_ACEOF
4746
cat confdefs.h >>conftest.$ac_ext
4747
cat >>conftest.$ac_ext <<_ACEOF
4748
/* end confdefs.h. */
4750
/* Override any GCC internal prototype to avoid an error.
4751
Use char because int might match the return type of a GCC
4752
builtin and then its argument prototype would still apply. */
4765
for ac_lib in '' cposix; do
4766
if test -z "$ac_lib"; then
4767
ac_res="none required"
4770
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4772
rm -f conftest.$ac_objext conftest$ac_exeext
4773
if { (ac_try="$ac_link"
4775
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776
*) ac_try_echo=$ac_try;;
4778
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4779
$as_echo "$ac_try_echo") >&5
4780
(eval "$ac_link") 2>conftest.er1
4782
grep -v '^ *+' conftest.er1 >conftest.err
4784
cat conftest.err >&5
4785
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786
(exit $ac_status); } && {
4787
test -z "$ac_c_werror_flag" ||
4788
test ! -s conftest.err
4789
} && test -s conftest$ac_exeext && {
4790
test "$cross_compiling" = yes ||
4791
$as_test_x conftest$ac_exeext
4793
ac_cv_search_strerror=$ac_res
4795
$as_echo "$as_me: failed program was:" >&5
4796
sed 's/^/| /' conftest.$ac_ext >&5
4801
rm -rf conftest.dSYM
4802
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4804
if test "${ac_cv_search_strerror+set}" = set; then
4808
if test "${ac_cv_search_strerror+set}" = set; then
4811
ac_cv_search_strerror=no
4814
LIBS=$ac_func_search_save_LIBS
4816
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4817
$as_echo "$ac_cv_search_strerror" >&6; }
4818
ac_res=$ac_cv_search_strerror
4819
if test "$ac_res" != no; then
4820
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4824
for ac_prog in flex lex
4826
# Extract the first word of "$ac_prog", so it can be a program name with args.
4827
set dummy $ac_prog; ac_word=$2
4828
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4829
$as_echo_n "checking for $ac_word... " >&6; }
4830
if test "${ac_cv_prog_LEX+set}" = set; then
4831
$as_echo_n "(cached) " >&6
4833
if test -n "$LEX"; then
4834
ac_cv_prog_LEX="$LEX" # Let the user override the test.
4836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840
test -z "$as_dir" && as_dir=.
4841
for ac_exec_ext in '' $ac_executable_extensions; do
4842
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843
ac_cv_prog_LEX="$ac_prog"
4844
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4854
if test -n "$LEX"; then
4855
{ $as_echo "$as_me:$LINENO: result: $LEX" >&5
4856
$as_echo "$LEX" >&6; }
4858
{ $as_echo "$as_me:$LINENO: result: no" >&5
4859
$as_echo "no" >&6; }
4863
test -n "$LEX" && break
4865
test -n "$LEX" || LEX=":"
4867
if test "x$LEX" != "x:"; then
4868
cat >conftest.l <<_ACEOF
4874
e { yyless (input () != 0); }
4875
f { unput (yytext[0]); }
4876
. { BEGIN INITIAL; }
4878
#ifdef YYTEXT_POINTER
4879
extern char *yytext;
4884
return ! yylex () + ! yywrap ();
4887
{ (ac_try="$LEX conftest.l"
4889
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4890
*) ac_try_echo=$ac_try;;
4892
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4893
$as_echo "$ac_try_echo") >&5
4894
(eval "$LEX conftest.l") 2>&5
4896
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897
(exit $ac_status); }
4898
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
4899
$as_echo_n "checking lex output file root... " >&6; }
4900
if test "${ac_cv_prog_lex_root+set}" = set; then
4901
$as_echo_n "(cached) " >&6
4904
if test -f lex.yy.c; then
4905
ac_cv_prog_lex_root=lex.yy
4906
elif test -f lexyy.c; then
4907
ac_cv_prog_lex_root=lexyy
4909
{ { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4910
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4911
{ (exit 1); exit 1; }; }
4914
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4915
$as_echo "$ac_cv_prog_lex_root" >&6; }
4916
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4918
if test -z "${LEXLIB+set}"; then
4919
{ $as_echo "$as_me:$LINENO: checking lex library" >&5
4920
$as_echo_n "checking lex library... " >&6; }
4921
if test "${ac_cv_lib_lex+set}" = set; then
4922
$as_echo_n "(cached) " >&6
4926
ac_cv_lib_lex='none needed'
4927
for ac_lib in '' -lfl -ll; do
4928
LIBS="$ac_lib $ac_save_LIBS"
4929
cat >conftest.$ac_ext <<_ACEOF
4930
`cat $LEX_OUTPUT_ROOT.c`
4932
rm -f conftest.$ac_objext conftest$ac_exeext
4933
if { (ac_try="$ac_link"
4935
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936
*) ac_try_echo=$ac_try;;
4938
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4939
$as_echo "$ac_try_echo") >&5
4940
(eval "$ac_link") 2>conftest.er1
4942
grep -v '^ *+' conftest.er1 >conftest.err
4944
cat conftest.err >&5
4945
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946
(exit $ac_status); } && {
4947
test -z "$ac_c_werror_flag" ||
4948
test ! -s conftest.err
4949
} && test -s conftest$ac_exeext && {
4950
test "$cross_compiling" = yes ||
4951
$as_test_x conftest$ac_exeext
4953
ac_cv_lib_lex=$ac_lib
4955
$as_echo "$as_me: failed program was:" >&5
4956
sed 's/^/| /' conftest.$ac_ext >&5
4961
rm -rf conftest.dSYM
4962
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4963
conftest$ac_exeext conftest.$ac_ext
4964
test "$ac_cv_lib_lex" != 'none needed' && break
4969
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
4970
$as_echo "$ac_cv_lib_lex" >&6; }
4971
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4975
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4976
$as_echo_n "checking whether yytext is a pointer... " >&6; }
4977
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4978
$as_echo_n "(cached) " >&6
4980
# POSIX says lex can declare yytext either as a pointer or an array; the
4981
# default is implementation-dependent. Figure out which it is, since
4982
# not all implementations provide the %pointer and %array declarations.
4983
ac_cv_prog_lex_yytext_pointer=no
4985
LIBS="$LEXLIB $ac_save_LIBS"
4986
cat >conftest.$ac_ext <<_ACEOF
4987
#define YYTEXT_POINTER 1
4988
`cat $LEX_OUTPUT_ROOT.c`
4990
rm -f conftest.$ac_objext conftest$ac_exeext
4991
if { (ac_try="$ac_link"
4993
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4994
*) ac_try_echo=$ac_try;;
4996
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4997
$as_echo "$ac_try_echo") >&5
4998
(eval "$ac_link") 2>conftest.er1
5000
grep -v '^ *+' conftest.er1 >conftest.err
5002
cat conftest.err >&5
5003
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
(exit $ac_status); } && {
5005
test -z "$ac_c_werror_flag" ||
5006
test ! -s conftest.err
5007
} && test -s conftest$ac_exeext && {
5008
test "$cross_compiling" = yes ||
5009
$as_test_x conftest$ac_exeext
5011
ac_cv_prog_lex_yytext_pointer=yes
5013
$as_echo "$as_me: failed program was:" >&5
5014
sed 's/^/| /' conftest.$ac_ext >&5
5019
rm -rf conftest.dSYM
5020
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5021
conftest$ac_exeext conftest.$ac_ext
5025
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5026
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5027
if test $ac_cv_prog_lex_yytext_pointer = yes; then
5029
cat >>confdefs.h <<\_ACEOF
5030
#define YYTEXT_POINTER 1
5034
rm -f conftest.l $LEX_OUTPUT_ROOT.c
5037
if test "$LEX" = :; then
5038
LEX=${am_missing_run}flex
5040
for ac_prog in 'bison -y' byacc
5042
# Extract the first word of "$ac_prog", so it can be a program name with args.
5043
set dummy $ac_prog; ac_word=$2
5044
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5045
$as_echo_n "checking for $ac_word... " >&6; }
5046
if test "${ac_cv_prog_YACC+set}" = set; then
5047
$as_echo_n "(cached) " >&6
5049
if test -n "$YACC"; then
5050
ac_cv_prog_YACC="$YACC" # Let the user override the test.
5052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056
test -z "$as_dir" && as_dir=.
5057
for ac_exec_ext in '' $ac_executable_extensions; do
5058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5059
ac_cv_prog_YACC="$ac_prog"
5060
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5069
YACC=$ac_cv_prog_YACC
5070
if test -n "$YACC"; then
5071
{ $as_echo "$as_me:$LINENO: result: $YACC" >&5
5072
$as_echo "$YACC" >&6; }
5074
{ $as_echo "$as_me:$LINENO: result: no" >&5
5075
$as_echo "no" >&6; }
5079
test -n "$YACC" && break
5081
test -n "$YACC" || YACC="yacc"
5083
for ac_prog in gawk mawk nawk awk
5085
# Extract the first word of "$ac_prog", so it can be a program name with args.
5086
set dummy $ac_prog; ac_word=$2
5087
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5088
$as_echo_n "checking for $ac_word... " >&6; }
5089
if test "${ac_cv_prog_AWK+set}" = set; then
5090
$as_echo_n "(cached) " >&6
5092
if test -n "$AWK"; then
5093
ac_cv_prog_AWK="$AWK" # Let the user override the test.
5095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099
test -z "$as_dir" && as_dir=.
5100
for ac_exec_ext in '' $ac_executable_extensions; do
5101
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5102
ac_cv_prog_AWK="$ac_prog"
5103
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5113
if test -n "$AWK"; then
5114
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
5115
$as_echo "$AWK" >&6; }
5117
{ $as_echo "$as_me:$LINENO: result: no" >&5
5118
$as_echo "no" >&6; }
5122
test -n "$AWK" && break
5125
# Find a good install program. We prefer a C program (faster),
5126
# so one script is as good as another. But avoid the broken or
5127
# incompatible versions:
5128
# SysV /etc/install, /usr/sbin/install
5129
# SunOS /usr/etc/install
5130
# IRIX /sbin/install
5132
# AmigaOS /C/install, which installs bootblocks on floppy discs
5133
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5134
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5135
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5136
# OS/2's system install, which has a completely different semantic
5137
# ./install, which can be erroneously created by make from ./install.sh.
5138
# Reject install programs that cannot install multiple files.
5139
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5140
$as_echo_n "checking for a BSD-compatible install... " >&6; }
5141
if test -z "$INSTALL"; then
5142
if test "${ac_cv_path_install+set}" = set; then
5143
$as_echo_n "(cached) " >&6
5145
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149
test -z "$as_dir" && as_dir=.
5150
# Account for people who put trailing slashes in PATH elements.
5152
./ | .// | /cC/* | \
5153
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5154
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5157
# OSF1 and SCO ODT 3.0 have their own names for install.
5158
# Don't use installbsd from OSF since it installs stuff as root
5160
for ac_prog in ginstall scoinst install; do
5161
for ac_exec_ext in '' $ac_executable_extensions; do
5162
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5163
if test $ac_prog = install &&
5164
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5165
# AIX install. It has an incompatible calling convention.
5167
elif test $ac_prog = install &&
5168
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5169
# program-specific install script used by HP pwplus--don't use.
5172
rm -rf conftest.one conftest.two conftest.dir
5173
echo one > conftest.one
5174
echo two > conftest.two
5176
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5177
test -s conftest.one && test -s conftest.two &&
5178
test -s conftest.dir/conftest.one &&
5179
test -s conftest.dir/conftest.two
5181
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5194
rm -rf conftest.one conftest.two conftest.dir
5197
if test "${ac_cv_path_install+set}" = set; then
5198
INSTALL=$ac_cv_path_install
5200
# As a last resort, use the slow shell script. Don't cache a
5201
# value for INSTALL within a source directory, because that will
5202
# break other packages using the cache if that directory is
5203
# removed, or if the value is a relative name.
5204
INSTALL=$ac_install_sh
5207
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5208
$as_echo "$INSTALL" >&6; }
5210
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5211
# It thinks the first close brace ends the variable substitution.
5212
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5214
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5216
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5218
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5219
$as_echo_n "checking whether ln -s works... " >&6; }
5221
if test "$LN_S" = "ln -s"; then
5222
{ $as_echo "$as_me:$LINENO: result: yes" >&5
5223
$as_echo "yes" >&6; }
5225
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5226
$as_echo "no, using $LN_S" >&6; }
5229
# Extract the first word of "sed", so it can be a program name with args.
5230
set dummy sed; ac_word=$2
5231
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5232
$as_echo_n "checking for $ac_word... " >&6; }
5233
if test "${ac_cv_prog_SED+set}" = set; then
5234
$as_echo_n "(cached) " >&6
5236
if test -n "$SED"; then
5237
ac_cv_prog_SED="$SED" # Let the user override the test.
5239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243
test -z "$as_dir" && as_dir=.
5244
for ac_exec_ext in '' $ac_executable_extensions; do
5245
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5246
ac_cv_prog_SED="sed"
5247
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5254
test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="false"
5258
if test -n "$SED"; then
5259
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
5260
$as_echo "$SED" >&6; }
5262
{ $as_echo "$as_me:$LINENO: result: no" >&5
5263
$as_echo "no" >&6; }
5267
# Extract the first word of "grep", so it can be a program name with args.
5268
set dummy grep; ac_word=$2
5269
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5270
$as_echo_n "checking for $ac_word... " >&6; }
5271
if test "${ac_cv_prog_GREP+set}" = set; then
5272
$as_echo_n "(cached) " >&6
5274
if test -n "$GREP"; then
5275
ac_cv_prog_GREP="$GREP" # Let the user override the test.
5277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281
test -z "$as_dir" && as_dir=.
5282
for ac_exec_ext in '' $ac_executable_extensions; do
5283
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284
ac_cv_prog_GREP="grep"
5285
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292
test -z "$ac_cv_prog_GREP" && ac_cv_prog_GREP="false"
5295
GREP=$ac_cv_prog_GREP
5296
if test -n "$GREP"; then
5297
{ $as_echo "$as_me:$LINENO: result: $GREP" >&5
5298
$as_echo "$GREP" >&6; }
5300
{ $as_echo "$as_me:$LINENO: result: no" >&5
5301
$as_echo "no" >&6; }
5305
# Extract the first word of "sort", so it can be a program name with args.
5306
set dummy sort; ac_word=$2
5307
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5308
$as_echo_n "checking for $ac_word... " >&6; }
5309
if test "${ac_cv_prog_SORT+set}" = set; then
5310
$as_echo_n "(cached) " >&6
5312
if test -n "$SORT"; then
5313
ac_cv_prog_SORT="$SORT" # Let the user override the test.
5315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319
test -z "$as_dir" && as_dir=.
5320
for ac_exec_ext in '' $ac_executable_extensions; do
5321
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5322
ac_cv_prog_SORT="sort"
5323
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5330
test -z "$ac_cv_prog_SORT" && ac_cv_prog_SORT="false"
5333
SORT=$ac_cv_prog_SORT
5334
if test -n "$SORT"; then
5335
{ $as_echo "$as_me:$LINENO: result: $SORT" >&5
5336
$as_echo "$SORT" >&6; }
5338
{ $as_echo "$as_me:$LINENO: result: no" >&5
5339
$as_echo "no" >&6; }
5343
# Extract the first word of "groff", so it can be a program name with args.
5344
set dummy groff; ac_word=$2
5345
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5346
$as_echo_n "checking for $ac_word... " >&6; }
5347
if test "${ac_cv_prog_GROFF+set}" = set; then
5348
$as_echo_n "(cached) " >&6
5350
if test -n "$GROFF"; then
5351
ac_cv_prog_GROFF="$GROFF" # Let the user override the test.
5353
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357
test -z "$as_dir" && as_dir=.
5358
for ac_exec_ext in '' $ac_executable_extensions; do
5359
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5360
ac_cv_prog_GROFF="groff"
5361
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5368
test -z "$ac_cv_prog_GROFF" && ac_cv_prog_GROFF="false"
5371
GROFF=$ac_cv_prog_GROFF
5372
if test -n "$GROFF"; then
5373
{ $as_echo "$as_me:$LINENO: result: $GROFF" >&5
5374
$as_echo "$GROFF" >&6; }
5376
{ $as_echo "$as_me:$LINENO: result: no" >&5
5377
$as_echo "no" >&6; }
5381
# Extract the first word of "ps2pdf", so it can be a program name with args.
5382
set dummy ps2pdf; ac_word=$2
5383
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5384
$as_echo_n "checking for $ac_word... " >&6; }
5385
if test "${ac_cv_prog_PS2PDF+set}" = set; then
5386
$as_echo_n "(cached) " >&6
5388
if test -n "$PS2PDF"; then
5389
ac_cv_prog_PS2PDF="$PS2PDF" # Let the user override the test.
5391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395
test -z "$as_dir" && as_dir=.
5396
for ac_exec_ext in '' $ac_executable_extensions; do
5397
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5398
ac_cv_prog_PS2PDF="ps2pdf"
5399
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5406
test -z "$ac_cv_prog_PS2PDF" && ac_cv_prog_PS2PDF="false"
5409
PS2PDF=$ac_cv_prog_PS2PDF
5410
if test -n "$PS2PDF"; then
5411
{ $as_echo "$as_me:$LINENO: result: $PS2PDF" >&5
5412
$as_echo "$PS2PDF" >&6; }
5414
{ $as_echo "$as_me:$LINENO: result: no" >&5
5415
$as_echo "no" >&6; }
5419
# Extract the first word of "pstopdf", so it can be a program name with args.
5420
set dummy pstopdf; ac_word=$2
5421
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5422
$as_echo_n "checking for $ac_word... " >&6; }
5423
if test "${ac_cv_prog_PS2PDF+set}" = set; then
5424
$as_echo_n "(cached) " >&6
5426
if test -n "$PS2PDF"; then
5427
ac_cv_prog_PS2PDF="$PS2PDF" # Let the user override the test.
5429
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433
test -z "$as_dir" && as_dir=.
5434
for ac_exec_ext in '' $ac_executable_extensions; do
5435
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5436
ac_cv_prog_PS2PDF="pstopdf"
5437
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5444
test -z "$ac_cv_prog_PS2PDF" && ac_cv_prog_PS2PDF="false"
5447
PS2PDF=$ac_cv_prog_PS2PDF
5448
if test -n "$PS2PDF"; then
5449
{ $as_echo "$as_me:$LINENO: result: $PS2PDF" >&5
5450
$as_echo "$PS2PDF" >&6; }
5452
{ $as_echo "$as_me:$LINENO: result: no" >&5
5453
$as_echo "no" >&6; }
5459
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5460
if test -n "$ac_tool_prefix"; then
5461
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5462
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5463
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5464
$as_echo_n "checking for $ac_word... " >&6; }
5465
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5466
$as_echo_n "(cached) " >&6
5470
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5473
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477
test -z "$as_dir" && as_dir=.
5478
for ac_exec_ext in '' $ac_executable_extensions; do
5479
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5480
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5481
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5491
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5492
if test -n "$PKG_CONFIG"; then
5493
{ $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5494
$as_echo "$PKG_CONFIG" >&6; }
5496
{ $as_echo "$as_me:$LINENO: result: no" >&5
5497
$as_echo "no" >&6; }
5502
if test -z "$ac_cv_path_PKG_CONFIG"; then
5503
ac_pt_PKG_CONFIG=$PKG_CONFIG
5504
# Extract the first word of "pkg-config", so it can be a program name with args.
5505
set dummy pkg-config; ac_word=$2
5506
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5507
$as_echo_n "checking for $ac_word... " >&6; }
5508
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5509
$as_echo_n "(cached) " >&6
5511
case $ac_pt_PKG_CONFIG in
5513
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5516
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520
test -z "$as_dir" && as_dir=.
5521
for ac_exec_ext in '' $ac_executable_extensions; do
5522
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5524
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5534
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5535
if test -n "$ac_pt_PKG_CONFIG"; then
5536
{ $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5537
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5539
{ $as_echo "$as_me:$LINENO: result: no" >&5
5540
$as_echo "no" >&6; }
5543
if test "x$ac_pt_PKG_CONFIG" = x; then
5546
case $cross_compiling:$ac_tool_warned in
5548
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5549
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5550
ac_tool_warned=yes ;;
5552
PKG_CONFIG=$ac_pt_PKG_CONFIG
5555
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5559
if test -n "$PKG_CONFIG"; then
5560
_pkg_min_version=0.9.0
5561
{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5562
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5563
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5564
{ $as_echo "$as_me:$LINENO: result: yes" >&5
5565
$as_echo "yes" >&6; }
5567
{ $as_echo "$as_me:$LINENO: result: no" >&5
5568
$as_echo "no" >&6; }
5575
# Check whether --with-tclsh was given.
5576
if test "${with_tclsh+set}" = set; then
5577
withval=$with_tclsh; TCLSH=$withval
5581
if test "x$TCLSH" = "x"; then
5582
for ac_prog in tclsh8.6 tclsh8.5 tclsh8.4 tclsh8.3 tclsh
5584
# Extract the first word of "$ac_prog", so it can be a program name with args.
5585
set dummy $ac_prog; ac_word=$2
5586
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5587
$as_echo_n "checking for $ac_word... " >&6; }
5588
if test "${ac_cv_path_TCLSH+set}" = set; then
5589
$as_echo_n "(cached) " >&6
5593
ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
5596
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600
test -z "$as_dir" && as_dir=.
5601
for ac_exec_ext in '' $ac_executable_extensions; do
5602
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603
ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
5604
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5614
TCLSH=$ac_cv_path_TCLSH
5615
if test -n "$TCLSH"; then
5616
{ $as_echo "$as_me:$LINENO: result: $TCLSH" >&5
5617
$as_echo "$TCLSH" >&6; }
5619
{ $as_echo "$as_me:$LINENO: result: no" >&5
5620
$as_echo "no" >&6; }
5624
test -n "$TCLSH" && break
5627
# if test "x$TCLSH" = "x"; then
5628
# AC_MSG_ERROR([Unable to find a tclsh. Tclsh is a required program for building graphviz, independent of wether tcl-based graphviz products are built])
5629
# use_tcl="No (tclsh unavailable)"
5634
if test "x$CC" != xcc; then
5635
{ $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5636
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5638
{ $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5639
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5641
set dummy $CC; ac_cc=`$as_echo "$2" |
5642
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5643
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5644
$as_echo_n "(cached) " >&6
5646
cat >conftest.$ac_ext <<_ACEOF
5649
cat confdefs.h >>conftest.$ac_ext
5650
cat >>conftest.$ac_ext <<_ACEOF
5651
/* end confdefs.h. */
5661
# Make sure it works both with $CC and with simple cc.
5662
# We do the test twice because some compilers refuse to overwrite an
5663
# existing .o file with -o, though they will create one.
5664
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5666
if { (case "(($ac_try" in
5667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5668
*) ac_try_echo=$ac_try;;
5670
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5671
$as_echo "$ac_try_echo") >&5
5672
(eval "$ac_try") 2>&5
5674
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675
(exit $ac_status); } &&
5676
test -f conftest2.$ac_objext && { (case "(($ac_try" in
5677
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5678
*) ac_try_echo=$ac_try;;
5680
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5681
$as_echo "$ac_try_echo") >&5
5682
(eval "$ac_try") 2>&5
5684
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685
(exit $ac_status); };
5687
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5688
if test "x$CC" != xcc; then
5689
# Test first that cc exists at all.
5690
if { ac_try='cc -c conftest.$ac_ext >&5'
5691
{ (case "(($ac_try" in
5692
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5693
*) ac_try_echo=$ac_try;;
5695
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5696
$as_echo "$ac_try_echo") >&5
5697
(eval "$ac_try") 2>&5
5699
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700
(exit $ac_status); }; }; then
5701
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5703
if { (case "(($ac_try" in
5704
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5705
*) ac_try_echo=$ac_try;;
5707
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5708
$as_echo "$ac_try_echo") >&5
5709
(eval "$ac_try") 2>&5
5711
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712
(exit $ac_status); } &&
5713
test -f conftest2.$ac_objext && { (case "(($ac_try" in
5714
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5715
*) ac_try_echo=$ac_try;;
5717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5718
$as_echo "$ac_try_echo") >&5
5719
(eval "$ac_try") 2>&5
5721
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722
(exit $ac_status); };
5727
# cc exists but doesn't like -o.
5728
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5733
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5735
rm -f core conftest*
5738
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5739
{ $as_echo "$as_me:$LINENO: result: yes" >&5
5740
$as_echo "yes" >&6; }
5742
{ $as_echo "$as_me:$LINENO: result: no" >&5
5743
$as_echo "no" >&6; }
5745
cat >>confdefs.h <<\_ACEOF
5746
#define NO_MINUS_C_MINUS_O 1
5751
# FIXME: we rely on the cache variable name because
5752
# there is no other way.
5754
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5755
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5756
if test "$am_t" != yes; then
5757
# Losing compiler, so override with the script.
5758
# FIXME: It is wrong to rewrite CC.
5759
# But if we don't then we get into trouble of one sort or another.
5760
# A longer-term fix would be to have automake use am__CC in this case,
5761
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5762
CC="$am_aux_dir/compile $CC"
5768
ac_cpp='$CXXCPP $CPPFLAGS'
5769
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5770
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5771
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5772
if test -z "$CXX"; then
5773
if test -n "$CCC"; then
5776
if test -n "$ac_tool_prefix"; then
5777
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5779
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5780
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5781
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5782
$as_echo_n "checking for $ac_word... " >&6; }
5783
if test "${ac_cv_prog_CXX+set}" = set; then
5784
$as_echo_n "(cached) " >&6
5786
if test -n "$CXX"; then
5787
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5789
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793
test -z "$as_dir" && as_dir=.
5794
for ac_exec_ext in '' $ac_executable_extensions; do
5795
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5796
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5797
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5807
if test -n "$CXX"; then
5808
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
5809
$as_echo "$CXX" >&6; }
5811
{ $as_echo "$as_me:$LINENO: result: no" >&5
5812
$as_echo "no" >&6; }
5816
test -n "$CXX" && break
5819
if test -z "$CXX"; then
5821
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5823
# Extract the first word of "$ac_prog", so it can be a program name with args.
5824
set dummy $ac_prog; ac_word=$2
5825
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5826
$as_echo_n "checking for $ac_word... " >&6; }
5827
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5828
$as_echo_n "(cached) " >&6
5830
if test -n "$ac_ct_CXX"; then
5831
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5833
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837
test -z "$as_dir" && as_dir=.
5838
for ac_exec_ext in '' $ac_executable_extensions; do
5839
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5840
ac_cv_prog_ac_ct_CXX="$ac_prog"
5841
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5850
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5851
if test -n "$ac_ct_CXX"; then
5852
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5853
$as_echo "$ac_ct_CXX" >&6; }
5855
{ $as_echo "$as_me:$LINENO: result: no" >&5
5856
$as_echo "no" >&6; }
5860
test -n "$ac_ct_CXX" && break
5863
if test "x$ac_ct_CXX" = x; then
5866
case $cross_compiling:$ac_tool_warned in
5868
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5869
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5870
ac_tool_warned=yes ;;
5878
# Provide some information about the compiler.
5879
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5882
{ (ac_try="$ac_compiler --version >&5"
5884
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5885
*) ac_try_echo=$ac_try;;
5887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5888
$as_echo "$ac_try_echo") >&5
5889
(eval "$ac_compiler --version >&5") 2>&5
5891
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892
(exit $ac_status); }
5893
{ (ac_try="$ac_compiler -v >&5"
5895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5896
*) ac_try_echo=$ac_try;;
5898
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5899
$as_echo "$ac_try_echo") >&5
5900
(eval "$ac_compiler -v >&5") 2>&5
5902
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903
(exit $ac_status); }
5904
{ (ac_try="$ac_compiler -V >&5"
5906
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5907
*) ac_try_echo=$ac_try;;
5909
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5910
$as_echo "$ac_try_echo") >&5
5911
(eval "$ac_compiler -V >&5") 2>&5
5913
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914
(exit $ac_status); }
5916
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5917
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5918
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5919
$as_echo_n "(cached) " >&6
5921
cat >conftest.$ac_ext <<_ACEOF
5924
cat confdefs.h >>conftest.$ac_ext
5925
cat >>conftest.$ac_ext <<_ACEOF
5926
/* end confdefs.h. */
5939
rm -f conftest.$ac_objext
5940
if { (ac_try="$ac_compile"
5942
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5943
*) ac_try_echo=$ac_try;;
5945
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5946
$as_echo "$ac_try_echo") >&5
5947
(eval "$ac_compile") 2>conftest.er1
5949
grep -v '^ *+' conftest.er1 >conftest.err
5951
cat conftest.err >&5
5952
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953
(exit $ac_status); } && {
5954
test -z "$ac_cxx_werror_flag" ||
5955
test ! -s conftest.err
5956
} && test -s conftest.$ac_objext; then
5959
$as_echo "$as_me: failed program was:" >&5
5960
sed 's/^/| /' conftest.$ac_ext >&5
5965
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5966
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5969
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5970
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5971
if test $ac_compiler_gnu = yes; then
5976
ac_test_CXXFLAGS=${CXXFLAGS+set}
5977
ac_save_CXXFLAGS=$CXXFLAGS
5978
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5979
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5980
if test "${ac_cv_prog_cxx_g+set}" = set; then
5981
$as_echo_n "(cached) " >&6
5983
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5984
ac_cxx_werror_flag=yes
5987
cat >conftest.$ac_ext <<_ACEOF
5990
cat confdefs.h >>conftest.$ac_ext
5991
cat >>conftest.$ac_ext <<_ACEOF
5992
/* end confdefs.h. */
6002
rm -f conftest.$ac_objext
6003
if { (ac_try="$ac_compile"
6005
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6006
*) ac_try_echo=$ac_try;;
6008
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6009
$as_echo "$ac_try_echo") >&5
6010
(eval "$ac_compile") 2>conftest.er1
6012
grep -v '^ *+' conftest.er1 >conftest.err
6014
cat conftest.err >&5
6015
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016
(exit $ac_status); } && {
6017
test -z "$ac_cxx_werror_flag" ||
6018
test ! -s conftest.err
6019
} && test -s conftest.$ac_objext; then
6020
ac_cv_prog_cxx_g=yes
6022
$as_echo "$as_me: failed program was:" >&5
6023
sed 's/^/| /' conftest.$ac_ext >&5
6026
cat >conftest.$ac_ext <<_ACEOF
6029
cat confdefs.h >>conftest.$ac_ext
6030
cat >>conftest.$ac_ext <<_ACEOF
6031
/* end confdefs.h. */
6041
rm -f conftest.$ac_objext
6042
if { (ac_try="$ac_compile"
6044
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6045
*) ac_try_echo=$ac_try;;
6047
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6048
$as_echo "$ac_try_echo") >&5
6049
(eval "$ac_compile") 2>conftest.er1
6051
grep -v '^ *+' conftest.er1 >conftest.err
6053
cat conftest.err >&5
6054
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055
(exit $ac_status); } && {
6056
test -z "$ac_cxx_werror_flag" ||
6057
test ! -s conftest.err
6058
} && test -s conftest.$ac_objext; then
6061
$as_echo "$as_me: failed program was:" >&5
6062
sed 's/^/| /' conftest.$ac_ext >&5
6064
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6066
cat >conftest.$ac_ext <<_ACEOF
6069
cat confdefs.h >>conftest.$ac_ext
6070
cat >>conftest.$ac_ext <<_ACEOF
6071
/* end confdefs.h. */
6081
rm -f conftest.$ac_objext
6082
if { (ac_try="$ac_compile"
6084
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6085
*) ac_try_echo=$ac_try;;
6087
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6088
$as_echo "$ac_try_echo") >&5
6089
(eval "$ac_compile") 2>conftest.er1
6091
grep -v '^ *+' conftest.er1 >conftest.err
6093
cat conftest.err >&5
6094
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095
(exit $ac_status); } && {
6096
test -z "$ac_cxx_werror_flag" ||
6097
test ! -s conftest.err
6098
} && test -s conftest.$ac_objext; then
6099
ac_cv_prog_cxx_g=yes
6101
$as_echo "$as_me: failed program was:" >&5
6102
sed 's/^/| /' conftest.$ac_ext >&5
6107
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6114
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6116
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6117
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6118
if test "$ac_test_CXXFLAGS" = set; then
6119
CXXFLAGS=$ac_save_CXXFLAGS
6120
elif test $ac_cv_prog_cxx_g = yes; then
6121
if test "$GXX" = yes; then
6127
if test "$GXX" = yes; then
6134
ac_cpp='$CPP $CPPFLAGS'
6135
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6136
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6137
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6139
depcc="$CXX" am_compiler_list=
6141
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6142
$as_echo_n "checking dependency style of $depcc... " >&6; }
6143
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6144
$as_echo_n "(cached) " >&6
6146
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6147
# We make a subdir and do the tests there. Otherwise we can end up
6148
# making bogus files that we don't know about and never remove. For
6149
# instance it was reported that on HP-UX the gcc test will end up
6150
# making a dummy file named `D' -- because `-MD' means `put the output
6153
# Copy depcomp to subdir because otherwise we won't find it if we're
6154
# using a relative directory.
6155
cp "$am_depcomp" conftest.dir
6157
# We will build objects and dependencies in a subdirectory because
6158
# it helps to detect inapplicable dependency modes. For instance
6159
# both Tru64's cc and ICC support -MD to output dependencies as a
6160
# side effect of compilation, but ICC will put the dependencies in
6161
# the current directory while Tru64 will put them in the object
6165
am_cv_CXX_dependencies_compiler_type=none
6166
if test "$am_compiler_list" = ""; then
6167
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6169
for depmode in $am_compiler_list; do
6170
# Setup a source with many dependencies, because some compilers
6171
# like to wrap large dependency lists on column 80 (with \), and
6172
# we should not choose a depcomp mode which is confused by this.
6174
# We need to recreate these files for each test, as the compiler may
6175
# overwrite some of them when testing with obscure command lines.
6176
# This happens at least with the AIX C compiler.
6178
for i in 1 2 3 4 5 6; do
6179
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6180
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6181
# Solaris 8's {/usr,}/bin/sh.
6182
touch sub/conftst$i.h
6184
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6188
# after this tag, mechanisms are not by side-effect, so they'll
6189
# only be used when explicitly requested
6190
if test "x$enable_dependency_tracking" = xyes; then
6198
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6199
# mode. It turns out that the SunPro C++ compiler does not properly
6200
# handle `-M -o', and we need to detect this.
6201
if depmode=$depmode \
6202
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6203
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6204
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6205
>/dev/null 2>conftest.err &&
6206
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6207
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6208
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6209
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6210
# icc doesn't choke on unknown options, it will just issue warnings
6211
# or remarks (even with -Werror). So we grep stderr for any message
6212
# that says an option was ignored or not supported.
6213
# When given -MP, icc 7.0 and 7.1 complain thusly:
6214
# icc: Command line warning: ignoring option '-M'; no argument required
6215
# The diagnosis changed in icc 8.0:
6216
# icc: Command line remark: option '-MP' not supported
6217
if (grep 'ignoring option' conftest.err ||
6218
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6219
am_cv_CXX_dependencies_compiler_type=$depmode
6228
am_cv_CXX_dependencies_compiler_type=none
6232
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6233
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6234
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6237
test "x$enable_dependency_tracking" != xno \
6238
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6239
am__fastdepCXX_TRUE=
6240
am__fastdepCXX_FALSE='#'
6242
am__fastdepCXX_TRUE='#'
6243
am__fastdepCXX_FALSE=
6248
ac_cpp='$OBJCPP $CPPFLAGS'
6249
ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6250
ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6251
ac_compiler_gnu=$ac_cv_objc_compiler_gnu
6252
if test -n "$ac_tool_prefix"; then
6253
for ac_prog in gcc objcc objc cc CC
6255
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6256
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6257
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6258
$as_echo_n "checking for $ac_word... " >&6; }
6259
if test "${ac_cv_prog_OBJC+set}" = set; then
6260
$as_echo_n "(cached) " >&6
6262
if test -n "$OBJC"; then
6263
ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
6265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269
test -z "$as_dir" && as_dir=.
6270
for ac_exec_ext in '' $ac_executable_extensions; do
6271
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272
ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
6273
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6282
OBJC=$ac_cv_prog_OBJC
6283
if test -n "$OBJC"; then
6284
{ $as_echo "$as_me:$LINENO: result: $OBJC" >&5
6285
$as_echo "$OBJC" >&6; }
6287
{ $as_echo "$as_me:$LINENO: result: no" >&5
6288
$as_echo "no" >&6; }
6292
test -n "$OBJC" && break
6295
if test -z "$OBJC"; then
6297
for ac_prog in gcc objcc objc cc CC
6299
# Extract the first word of "$ac_prog", so it can be a program name with args.
6300
set dummy $ac_prog; ac_word=$2
6301
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6302
$as_echo_n "checking for $ac_word... " >&6; }
6303
if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
6304
$as_echo_n "(cached) " >&6
6306
if test -n "$ac_ct_OBJC"; then
6307
ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
6309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313
test -z "$as_dir" && as_dir=.
6314
for ac_exec_ext in '' $ac_executable_extensions; do
6315
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316
ac_cv_prog_ac_ct_OBJC="$ac_prog"
6317
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6326
ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
6327
if test -n "$ac_ct_OBJC"; then
6328
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
6329
$as_echo "$ac_ct_OBJC" >&6; }
6331
{ $as_echo "$as_me:$LINENO: result: no" >&5
6332
$as_echo "no" >&6; }
6336
test -n "$ac_ct_OBJC" && break
6339
if test "x$ac_ct_OBJC" = x; then
6342
case $cross_compiling:$ac_tool_warned in
6344
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6345
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6346
ac_tool_warned=yes ;;
6352
# Provide some information about the compiler.
6353
$as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
6356
{ (ac_try="$ac_compiler --version >&5"
6358
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6359
*) ac_try_echo=$ac_try;;
6361
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6362
$as_echo "$ac_try_echo") >&5
6363
(eval "$ac_compiler --version >&5") 2>&5
6365
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366
(exit $ac_status); }
6367
{ (ac_try="$ac_compiler -v >&5"
6369
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6370
*) ac_try_echo=$ac_try;;
6372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6373
$as_echo "$ac_try_echo") >&5
6374
(eval "$ac_compiler -v >&5") 2>&5
6376
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377
(exit $ac_status); }
6378
{ (ac_try="$ac_compiler -V >&5"
6380
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6381
*) ac_try_echo=$ac_try;;
6383
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6384
$as_echo "$ac_try_echo") >&5
6385
(eval "$ac_compiler -V >&5") 2>&5
6387
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388
(exit $ac_status); }
6390
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
6391
$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
6392
if test "${ac_cv_objc_compiler_gnu+set}" = set; then
6393
$as_echo_n "(cached) " >&6
6395
cat >conftest.$ac_ext <<_ACEOF
6398
cat confdefs.h >>conftest.$ac_ext
6399
cat >>conftest.$ac_ext <<_ACEOF
6400
/* end confdefs.h. */
6413
rm -f conftest.$ac_objext
6414
if { (ac_try="$ac_compile"
6416
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6417
*) ac_try_echo=$ac_try;;
6419
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6420
$as_echo "$ac_try_echo") >&5
6421
(eval "$ac_compile") 2>conftest.er1
6423
grep -v '^ *+' conftest.er1 >conftest.err
6425
cat conftest.err >&5
6426
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427
(exit $ac_status); } && {
6428
test -z "$ac_objc_werror_flag" ||
6429
test ! -s conftest.err
6430
} && test -s conftest.$ac_objext; then
6433
$as_echo "$as_me: failed program was:" >&5
6434
sed 's/^/| /' conftest.$ac_ext >&5
6439
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6440
ac_cv_objc_compiler_gnu=$ac_compiler_gnu
6443
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
6444
$as_echo "$ac_cv_objc_compiler_gnu" >&6; }
6445
if test $ac_compiler_gnu = yes; then
6450
ac_test_OBJCFLAGS=${OBJCFLAGS+set}
6451
ac_save_OBJCFLAGS=$OBJCFLAGS
6452
{ $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
6453
$as_echo_n "checking whether $OBJC accepts -g... " >&6; }
6454
if test "${ac_cv_prog_objc_g+set}" = set; then
6455
$as_echo_n "(cached) " >&6
6457
ac_save_objc_werror_flag=$ac_objc_werror_flag
6458
ac_objc_werror_flag=yes
6459
ac_cv_prog_objc_g=no
6461
cat >conftest.$ac_ext <<_ACEOF
6464
cat confdefs.h >>conftest.$ac_ext
6465
cat >>conftest.$ac_ext <<_ACEOF
6466
/* end confdefs.h. */
6476
rm -f conftest.$ac_objext
6477
if { (ac_try="$ac_compile"
6479
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6480
*) ac_try_echo=$ac_try;;
6482
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6483
$as_echo "$ac_try_echo") >&5
6484
(eval "$ac_compile") 2>conftest.er1
6486
grep -v '^ *+' conftest.er1 >conftest.err
6488
cat conftest.err >&5
6489
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490
(exit $ac_status); } && {
6491
test -z "$ac_objc_werror_flag" ||
6492
test ! -s conftest.err
6493
} && test -s conftest.$ac_objext; then
6494
ac_cv_prog_objc_g=yes
6496
$as_echo "$as_me: failed program was:" >&5
6497
sed 's/^/| /' conftest.$ac_ext >&5
6500
cat >conftest.$ac_ext <<_ACEOF
6503
cat confdefs.h >>conftest.$ac_ext
6504
cat >>conftest.$ac_ext <<_ACEOF
6505
/* end confdefs.h. */
6515
rm -f conftest.$ac_objext
6516
if { (ac_try="$ac_compile"
6518
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6519
*) ac_try_echo=$ac_try;;
6521
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6522
$as_echo "$ac_try_echo") >&5
6523
(eval "$ac_compile") 2>conftest.er1
6525
grep -v '^ *+' conftest.er1 >conftest.err
6527
cat conftest.err >&5
6528
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529
(exit $ac_status); } && {
6530
test -z "$ac_objc_werror_flag" ||
6531
test ! -s conftest.err
6532
} && test -s conftest.$ac_objext; then
6535
$as_echo "$as_me: failed program was:" >&5
6536
sed 's/^/| /' conftest.$ac_ext >&5
6538
ac_objc_werror_flag=$ac_save_objc_werror_flag
6540
cat >conftest.$ac_ext <<_ACEOF
6543
cat confdefs.h >>conftest.$ac_ext
6544
cat >>conftest.$ac_ext <<_ACEOF
6545
/* end confdefs.h. */
6555
rm -f conftest.$ac_objext
6556
if { (ac_try="$ac_compile"
6558
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6559
*) ac_try_echo=$ac_try;;
6561
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6562
$as_echo "$ac_try_echo") >&5
6563
(eval "$ac_compile") 2>conftest.er1
6565
grep -v '^ *+' conftest.er1 >conftest.err
6567
cat conftest.err >&5
6568
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569
(exit $ac_status); } && {
6570
test -z "$ac_objc_werror_flag" ||
6571
test ! -s conftest.err
6572
} && test -s conftest.$ac_objext; then
6573
ac_cv_prog_objc_g=yes
6575
$as_echo "$as_me: failed program was:" >&5
6576
sed 's/^/| /' conftest.$ac_ext >&5
6581
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6587
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6588
ac_objc_werror_flag=$ac_save_objc_werror_flag
6590
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
6591
$as_echo "$ac_cv_prog_objc_g" >&6; }
6592
if test "$ac_test_OBJCFLAGS" = set; then
6593
OBJCFLAGS=$ac_save_OBJCFLAGS
6594
elif test $ac_cv_prog_objc_g = yes; then
6595
if test "$GOBJC" = yes; then
6601
if test "$GOBJC" = yes; then
6608
ac_cpp='$CPP $CPPFLAGS'
6609
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6610
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6611
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6613
depcc="$OBJC" am_compiler_list='gcc3 gcc'
6615
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6616
$as_echo_n "checking dependency style of $depcc... " >&6; }
6617
if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
6618
$as_echo_n "(cached) " >&6
6620
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6621
# We make a subdir and do the tests there. Otherwise we can end up
6622
# making bogus files that we don't know about and never remove. For
6623
# instance it was reported that on HP-UX the gcc test will end up
6624
# making a dummy file named `D' -- because `-MD' means `put the output
6627
# Copy depcomp to subdir because otherwise we won't find it if we're
6628
# using a relative directory.
6629
cp "$am_depcomp" conftest.dir
6631
# We will build objects and dependencies in a subdirectory because
6632
# it helps to detect inapplicable dependency modes. For instance
6633
# both Tru64's cc and ICC support -MD to output dependencies as a
6634
# side effect of compilation, but ICC will put the dependencies in
6635
# the current directory while Tru64 will put them in the object
6639
am_cv_OBJC_dependencies_compiler_type=none
6640
if test "$am_compiler_list" = ""; then
6641
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6643
for depmode in $am_compiler_list; do
6644
# Setup a source with many dependencies, because some compilers
6645
# like to wrap large dependency lists on column 80 (with \), and
6646
# we should not choose a depcomp mode which is confused by this.
6648
# We need to recreate these files for each test, as the compiler may
6649
# overwrite some of them when testing with obscure command lines.
6650
# This happens at least with the AIX C compiler.
6652
for i in 1 2 3 4 5 6; do
6653
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6654
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6655
# Solaris 8's {/usr,}/bin/sh.
6656
touch sub/conftst$i.h
6658
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6662
# after this tag, mechanisms are not by side-effect, so they'll
6663
# only be used when explicitly requested
6664
if test "x$enable_dependency_tracking" = xyes; then
6672
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6673
# mode. It turns out that the SunPro C++ compiler does not properly
6674
# handle `-M -o', and we need to detect this.
6675
if depmode=$depmode \
6676
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6677
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6678
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6679
>/dev/null 2>conftest.err &&
6680
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6681
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6682
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6683
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6684
# icc doesn't choke on unknown options, it will just issue warnings
6685
# or remarks (even with -Werror). So we grep stderr for any message
6686
# that says an option was ignored or not supported.
6687
# When given -MP, icc 7.0 and 7.1 complain thusly:
6688
# icc: Command line warning: ignoring option '-M'; no argument required
6689
# The diagnosis changed in icc 8.0:
6690
# icc: Command line remark: option '-MP' not supported
6691
if (grep 'ignoring option' conftest.err ||
6692
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6693
am_cv_OBJC_dependencies_compiler_type=$depmode
6702
am_cv_OBJC_dependencies_compiler_type=none
6706
{ $as_echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
6707
$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
6708
OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
6711
test "x$enable_dependency_tracking" != xno \
6712
&& test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
6713
am__fastdepOBJC_TRUE=
6714
am__fastdepOBJC_FALSE='#'
6716
am__fastdepOBJC_TRUE='#'
6717
am__fastdepOBJC_FALSE=
6722
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
6723
$as_echo_n "checking for inline... " >&6; }
6724
if test "${ac_cv_c_inline+set}" = set; then
6725
$as_echo_n "(cached) " >&6
6728
for ac_kw in inline __inline__ __inline; do
6729
cat >conftest.$ac_ext <<_ACEOF
6732
cat confdefs.h >>conftest.$ac_ext
6733
cat >>conftest.$ac_ext <<_ACEOF
6734
/* end confdefs.h. */
6737
static $ac_kw foo_t static_foo () {return 0; }
6738
$ac_kw foo_t foo () {return 0; }
6742
rm -f conftest.$ac_objext
6743
if { (ac_try="$ac_compile"
6745
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6746
*) ac_try_echo=$ac_try;;
6748
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6749
$as_echo "$ac_try_echo") >&5
6750
(eval "$ac_compile") 2>conftest.er1
6752
grep -v '^ *+' conftest.er1 >conftest.err
6754
cat conftest.err >&5
6755
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756
(exit $ac_status); } && {
6757
test -z "$ac_c_werror_flag" ||
6758
test ! -s conftest.err
6759
} && test -s conftest.$ac_objext; then
6760
ac_cv_c_inline=$ac_kw
6762
$as_echo "$as_me: failed program was:" >&5
6763
sed 's/^/| /' conftest.$ac_ext >&5
6768
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6769
test "$ac_cv_c_inline" != no && break
6773
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6774
$as_echo "$ac_cv_c_inline" >&6; }
6777
case $ac_cv_c_inline in
6780
case $ac_cv_c_inline in
6782
*) ac_val=$ac_cv_c_inline;;
6784
cat >>confdefs.h <<_ACEOF
6786
#define inline $ac_val
6793
# Workaround for native compilers
6794
# HP : http://bugs.gnome.org/db/31/3163.html
6795
# DEC : Enable NaN/Inf
6797
if test "${GCC}" != "yes" ; then
6800
# Extract the first word of "$ac_prog", so it can be a program name with args.
6801
set dummy $ac_prog; ac_word=$2
6802
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6803
$as_echo_n "checking for $ac_word... " >&6; }
6804
if test "${ac_cv_prog_RC+set}" = set; then
6805
$as_echo_n "(cached) " >&6
6807
if test -n "$RC"; then
6808
ac_cv_prog_RC="$RC" # Let the user override the test.
6810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814
test -z "$as_dir" && as_dir=.
6815
for ac_exec_ext in '' $ac_executable_extensions; do
6816
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817
ac_cv_prog_RC="$ac_prog"
6818
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6828
if test -n "$RC"; then
6829
{ $as_echo "$as_me:$LINENO: result: $RC" >&5
6830
$as_echo "$RC" >&6; }
6832
{ $as_echo "$as_me:$LINENO: result: no" >&5
6833
$as_echo "no" >&6; }
6837
test -n "$RC" && break
6839
test -n "$RC" || RC="false"
6843
CFLAGS="${CFLAGS} -Wp,-H30000"
6846
CFLAGS="${CFLAGS} -ieee"
6849
CFLAGS="${CFLAGS} -fno-common"
6855
for ac_prog in windres
6857
# Extract the first word of "$ac_prog", so it can be a program name with args.
6858
set dummy $ac_prog; ac_word=$2
6859
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6860
$as_echo_n "checking for $ac_word... " >&6; }
6861
if test "${ac_cv_prog_RC+set}" = set; then
6862
$as_echo_n "(cached) " >&6
6864
if test -n "$RC"; then
6865
ac_cv_prog_RC="$RC" # Let the user override the test.
6867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871
test -z "$as_dir" && as_dir=.
6872
for ac_exec_ext in '' $ac_executable_extensions; do
6873
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6874
ac_cv_prog_RC="$ac_prog"
6875
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6885
if test -n "$RC"; then
6886
{ $as_echo "$as_me:$LINENO: result: $RC" >&5
6887
$as_echo "$RC" >&6; }
6889
{ $as_echo "$as_me:$LINENO: result: no" >&5
6890
$as_echo "no" >&6; }
6894
test -n "$RC" && break
6896
test -n "$RC" || RC="false"
6900
# -Wall causes relocation errors with icc
6901
CFLAGS="${CFLAGS} -wd269"
6902
# icc doesn't like -pipe
6903
CFLAGS=`echo ${CFLAGS} | sed 's/ -pipe//'`
6904
# icc doesn't like -ffast-math
6905
CFLAGS=`echo ${CFLAGS} | sed 's/ -ffast-math//'`
6906
# icc doesn't like -O2
6907
CFLAGS=`echo ${CFLAGS} | sed 's/ -O2/ -O0/'`
6912
CFLAGS="${CFLAGS} -mieee -Wall"
6915
CFLAGS="${CFLAGS} -mieee -Wall"
6918
CFLAGS="${CFLAGS} -fno-common -Wall"
6921
CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math"
6924
# -Wno-unused-parameter only needed for bug in gcc3
6925
# this test from: http://cvs.auriga.wearlab.de/cgi-bin/cvsweb.cgi/dillo/configure.in?rev=1.90;content-type=text%2Fplain;cvsroot=dillo
6926
if test "`$CC -v 2>&1 | $GREP 'version 3'`" != ""; then
6927
CFLAGS="${CFLAGS} -Wno-unused-parameter"
6929
CFLAGS="${CFLAGS} -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math"
6935
# -ffast-math is incompatible with FP error trapping
6936
# ref: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175793
6937
if `echo ${CFLAGS} | $GREP ffast-math >/dev/null`; then
6939
cat >>confdefs.h <<_ACEOF
6945
if test "x$RC" = "xrc"; then
6953
if test "x$RC" = "xwindres"; then
6955
RC_IS_WINDRES_FALSE='#'
6957
RC_IS_WINDRES_TRUE='#'
6958
RC_IS_WINDRES_FALSE=
6963
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6964
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6965
if test "${ac_cv_c_const+set}" = set; then
6966
$as_echo_n "(cached) " >&6
6968
cat >conftest.$ac_ext <<_ACEOF
6971
cat confdefs.h >>conftest.$ac_ext
6972
cat >>conftest.$ac_ext <<_ACEOF
6973
/* end confdefs.h. */
6978
/* FIXME: Include the comments suggested by Paul. */
6980
/* Ultrix mips cc rejects this. */
6981
typedef int charset[2];
6983
/* SunOS 4.1.1 cc rejects this. */
6984
char const *const *pcpcc;
6986
/* NEC SVR4.0.2 mips cc rejects this. */
6987
struct point {int x, y;};
6988
static struct point const zero = {0,0};
6989
/* AIX XL C 1.02.0.0 rejects this.
6990
It does not let you subtract one const X* pointer from another in
6991
an arm of an if-expression whose if-part is not a constant
6993
const char *g = "string";
6994
pcpcc = &g + (g ? g-g : 0);
6995
/* HPUX 7.0 cc rejects these. */
6997
ppc = (char**) pcpcc;
6998
pcpcc = (char const *const *) ppc;
6999
{ /* SCO 3.2v4 cc rejects this. */
7001
char const *s = 0 ? (char *) 0 : (char const *) 0;
7006
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7008
const int *foo = &x[0];
7011
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7012
typedef const int *iptr;
7016
{ /* AIX XL C 1.02.0.0 rejects this saying
7017
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7018
struct s { int j; const int *ap[3]; };
7019
struct s *b; b->j = 5;
7021
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7025
return !cs[0] && !zero.x;
7032
rm -f conftest.$ac_objext
7033
if { (ac_try="$ac_compile"
7035
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7036
*) ac_try_echo=$ac_try;;
7038
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7039
$as_echo "$ac_try_echo") >&5
7040
(eval "$ac_compile") 2>conftest.er1
7042
grep -v '^ *+' conftest.er1 >conftest.err
7044
cat conftest.err >&5
7045
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046
(exit $ac_status); } && {
7047
test -z "$ac_c_werror_flag" ||
7048
test ! -s conftest.err
7049
} && test -s conftest.$ac_objext; then
7052
$as_echo "$as_me: failed program was:" >&5
7053
sed 's/^/| /' conftest.$ac_ext >&5
7058
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7060
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7061
$as_echo "$ac_cv_c_const" >&6; }
7062
if test $ac_cv_c_const = no; then
7064
cat >>confdefs.h <<\_ACEOF
7071
ac_cpp='$CPP $CPPFLAGS'
7072
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7073
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7074
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7075
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7076
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7077
# On Suns, sometimes $CPP names a directory.
7078
if test -n "$CPP" && test -d "$CPP"; then
7081
if test -z "$CPP"; then
7082
if test "${ac_cv_prog_CPP+set}" = set; then
7083
$as_echo_n "(cached) " >&6
7085
# Double quotes because CPP needs to be expanded
7086
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7089
for ac_c_preproc_warn_flag in '' yes
7091
# Use a header file that comes with gcc, so configuring glibc
7092
# with a fresh cross-compiler works.
7093
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7094
# <limits.h> exists even on freestanding compilers.
7095
# On the NeXT, cc -E runs the code through the compiler's parser,
7096
# not just through cpp. "Syntax error" is here to catch this case.
7097
cat >conftest.$ac_ext <<_ACEOF
7100
cat confdefs.h >>conftest.$ac_ext
7101
cat >>conftest.$ac_ext <<_ACEOF
7102
/* end confdefs.h. */
7104
# include <limits.h>
7106
# include <assert.h>
7110
if { (ac_try="$ac_cpp conftest.$ac_ext"
7112
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7113
*) ac_try_echo=$ac_try;;
7115
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7116
$as_echo "$ac_try_echo") >&5
7117
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7119
grep -v '^ *+' conftest.er1 >conftest.err
7121
cat conftest.err >&5
7122
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123
(exit $ac_status); } >/dev/null && {
7124
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7125
test ! -s conftest.err
7129
$as_echo "$as_me: failed program was:" >&5
7130
sed 's/^/| /' conftest.$ac_ext >&5
7132
# Broken: fails on valid input.
7136
rm -f conftest.err conftest.$ac_ext
7138
# OK, works on sane cases. Now check whether nonexistent headers
7139
# can be detected and how.
7140
cat >conftest.$ac_ext <<_ACEOF
7143
cat confdefs.h >>conftest.$ac_ext
7144
cat >>conftest.$ac_ext <<_ACEOF
7145
/* end confdefs.h. */
7146
#include <ac_nonexistent.h>
7148
if { (ac_try="$ac_cpp conftest.$ac_ext"
7150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7151
*) ac_try_echo=$ac_try;;
7153
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7154
$as_echo "$ac_try_echo") >&5
7155
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7157
grep -v '^ *+' conftest.er1 >conftest.err
7159
cat conftest.err >&5
7160
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161
(exit $ac_status); } >/dev/null && {
7162
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7163
test ! -s conftest.err
7165
# Broken: success on invalid input.
7168
$as_echo "$as_me: failed program was:" >&5
7169
sed 's/^/| /' conftest.$ac_ext >&5
7171
# Passes both tests.
7176
rm -f conftest.err conftest.$ac_ext
7179
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7180
rm -f conftest.err conftest.$ac_ext
7181
if $ac_preproc_ok; then
7193
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
7194
$as_echo "$CPP" >&6; }
7196
for ac_c_preproc_warn_flag in '' yes
7198
# Use a header file that comes with gcc, so configuring glibc
7199
# with a fresh cross-compiler works.
7200
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7201
# <limits.h> exists even on freestanding compilers.
7202
# On the NeXT, cc -E runs the code through the compiler's parser,
7203
# not just through cpp. "Syntax error" is here to catch this case.
7204
cat >conftest.$ac_ext <<_ACEOF
7207
cat confdefs.h >>conftest.$ac_ext
7208
cat >>conftest.$ac_ext <<_ACEOF
7209
/* end confdefs.h. */
7211
# include <limits.h>
7213
# include <assert.h>
7217
if { (ac_try="$ac_cpp conftest.$ac_ext"
7219
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7220
*) ac_try_echo=$ac_try;;
7222
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7223
$as_echo "$ac_try_echo") >&5
7224
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7226
grep -v '^ *+' conftest.er1 >conftest.err
7228
cat conftest.err >&5
7229
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230
(exit $ac_status); } >/dev/null && {
7231
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7232
test ! -s conftest.err
7236
$as_echo "$as_me: failed program was:" >&5
7237
sed 's/^/| /' conftest.$ac_ext >&5
7239
# Broken: fails on valid input.
7243
rm -f conftest.err conftest.$ac_ext
7245
# OK, works on sane cases. Now check whether nonexistent headers
7246
# can be detected and how.
7247
cat >conftest.$ac_ext <<_ACEOF
7250
cat confdefs.h >>conftest.$ac_ext
7251
cat >>conftest.$ac_ext <<_ACEOF
7252
/* end confdefs.h. */
7253
#include <ac_nonexistent.h>
7255
if { (ac_try="$ac_cpp conftest.$ac_ext"
7257
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7258
*) ac_try_echo=$ac_try;;
7260
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7261
$as_echo "$ac_try_echo") >&5
7262
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7264
grep -v '^ *+' conftest.er1 >conftest.err
7266
cat conftest.err >&5
7267
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268
(exit $ac_status); } >/dev/null && {
7269
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7270
test ! -s conftest.err
7272
# Broken: success on invalid input.
7275
$as_echo "$as_me: failed program was:" >&5
7276
sed 's/^/| /' conftest.$ac_ext >&5
7278
# Passes both tests.
7283
rm -f conftest.err conftest.$ac_ext
7286
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7287
rm -f conftest.err conftest.$ac_ext
7288
if $ac_preproc_ok; then
7291
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7292
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7293
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7294
See \`config.log' for more details." >&5
7295
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7296
See \`config.log' for more details." >&2;}
7297
{ (exit 1); exit 1; }; }; }
7301
ac_cpp='$CPP $CPPFLAGS'
7302
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7303
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7304
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7307
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7308
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7309
if test "${ac_cv_path_GREP+set}" = set; then
7310
$as_echo_n "(cached) " >&6
7312
if test -z "$GREP"; then
7313
ac_path_GREP_found=false
7314
# Loop through the user's path and test for each of PROGNAME-LIST
7315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7319
test -z "$as_dir" && as_dir=.
7320
for ac_prog in grep ggrep; do
7321
for ac_exec_ext in '' $ac_executable_extensions; do
7322
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7323
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7324
# Check for GNU ac_path_GREP and select it if it is found.
7325
# Check for GNU $ac_path_GREP
7326
case `"$ac_path_GREP" --version 2>&1` in
7328
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7331
$as_echo_n 0123456789 >"conftest.in"
7334
cat "conftest.in" "conftest.in" >"conftest.tmp"
7335
mv "conftest.tmp" "conftest.in"
7336
cp "conftest.in" "conftest.nl"
7337
$as_echo 'GREP' >> "conftest.nl"
7338
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7339
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7340
ac_count=`expr $ac_count + 1`
7341
if test $ac_count -gt ${ac_path_GREP_max-0}; then
7342
# Best one so far, save it but keep looking for a better one
7343
ac_cv_path_GREP="$ac_path_GREP"
7344
ac_path_GREP_max=$ac_count
7346
# 10*(2^10) chars as input seems more than enough
7347
test $ac_count -gt 10 && break
7349
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7352
$ac_path_GREP_found && break 3
7357
if test -z "$ac_cv_path_GREP"; then
7358
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7359
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7360
{ (exit 1); exit 1; }; }
7363
ac_cv_path_GREP=$GREP
7367
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7368
$as_echo "$ac_cv_path_GREP" >&6; }
7369
GREP="$ac_cv_path_GREP"
7372
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
7373
$as_echo_n "checking for egrep... " >&6; }
7374
if test "${ac_cv_path_EGREP+set}" = set; then
7375
$as_echo_n "(cached) " >&6
7377
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7378
then ac_cv_path_EGREP="$GREP -E"
7380
if test -z "$EGREP"; then
7381
ac_path_EGREP_found=false
7382
# Loop through the user's path and test for each of PROGNAME-LIST
7383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7387
test -z "$as_dir" && as_dir=.
7388
for ac_prog in egrep; do
7389
for ac_exec_ext in '' $ac_executable_extensions; do
7390
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7391
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7392
# Check for GNU ac_path_EGREP and select it if it is found.
7393
# Check for GNU $ac_path_EGREP
7394
case `"$ac_path_EGREP" --version 2>&1` in
7396
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7399
$as_echo_n 0123456789 >"conftest.in"
7402
cat "conftest.in" "conftest.in" >"conftest.tmp"
7403
mv "conftest.tmp" "conftest.in"
7404
cp "conftest.in" "conftest.nl"
7405
$as_echo 'EGREP' >> "conftest.nl"
7406
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7407
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7408
ac_count=`expr $ac_count + 1`
7409
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7410
# Best one so far, save it but keep looking for a better one
7411
ac_cv_path_EGREP="$ac_path_EGREP"
7412
ac_path_EGREP_max=$ac_count
7414
# 10*(2^10) chars as input seems more than enough
7415
test $ac_count -gt 10 && break
7417
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7420
$ac_path_EGREP_found && break 3
7425
if test -z "$ac_cv_path_EGREP"; then
7426
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7427
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7428
{ (exit 1); exit 1; }; }
7431
ac_cv_path_EGREP=$EGREP
7436
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7437
$as_echo "$ac_cv_path_EGREP" >&6; }
7438
EGREP="$ac_cv_path_EGREP"
7441
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7442
$as_echo_n "checking for ANSI C header files... " >&6; }
7443
if test "${ac_cv_header_stdc+set}" = set; then
7444
$as_echo_n "(cached) " >&6
7446
cat >conftest.$ac_ext <<_ACEOF
7449
cat confdefs.h >>conftest.$ac_ext
7450
cat >>conftest.$ac_ext <<_ACEOF
7451
/* end confdefs.h. */
7465
rm -f conftest.$ac_objext
7466
if { (ac_try="$ac_compile"
7468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7469
*) ac_try_echo=$ac_try;;
7471
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7472
$as_echo "$ac_try_echo") >&5
7473
(eval "$ac_compile") 2>conftest.er1
7475
grep -v '^ *+' conftest.er1 >conftest.err
7477
cat conftest.err >&5
7478
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479
(exit $ac_status); } && {
7480
test -z "$ac_c_werror_flag" ||
7481
test ! -s conftest.err
7482
} && test -s conftest.$ac_objext; then
7483
ac_cv_header_stdc=yes
7485
$as_echo "$as_me: failed program was:" >&5
7486
sed 's/^/| /' conftest.$ac_ext >&5
7488
ac_cv_header_stdc=no
7491
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7493
if test $ac_cv_header_stdc = yes; then
7494
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7495
cat >conftest.$ac_ext <<_ACEOF
7498
cat confdefs.h >>conftest.$ac_ext
7499
cat >>conftest.$ac_ext <<_ACEOF
7500
/* end confdefs.h. */
7504
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7505
$EGREP "memchr" >/dev/null 2>&1; then
7508
ac_cv_header_stdc=no
7514
if test $ac_cv_header_stdc = yes; then
7515
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7516
cat >conftest.$ac_ext <<_ACEOF
7519
cat confdefs.h >>conftest.$ac_ext
7520
cat >>conftest.$ac_ext <<_ACEOF
7521
/* end confdefs.h. */
7525
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7526
$EGREP "free" >/dev/null 2>&1; then
7529
ac_cv_header_stdc=no
7535
if test $ac_cv_header_stdc = yes; then
7536
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7537
if test "$cross_compiling" = yes; then
7540
cat >conftest.$ac_ext <<_ACEOF
7543
cat confdefs.h >>conftest.$ac_ext
7544
cat >>conftest.$ac_ext <<_ACEOF
7545
/* end confdefs.h. */
7548
#if ((' ' & 0x0FF) == 0x020)
7549
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7550
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7552
# define ISLOWER(c) \
7553
(('a' <= (c) && (c) <= 'i') \
7554
|| ('j' <= (c) && (c) <= 'r') \
7555
|| ('s' <= (c) && (c) <= 'z'))
7556
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7559
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7564
for (i = 0; i < 256; i++)
7565
if (XOR (islower (i), ISLOWER (i))
7566
|| toupper (i) != TOUPPER (i))
7571
rm -f conftest$ac_exeext
7572
if { (ac_try="$ac_link"
7574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7575
*) ac_try_echo=$ac_try;;
7577
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7578
$as_echo "$ac_try_echo") >&5
7579
(eval "$ac_link") 2>&5
7581
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7583
{ (case "(($ac_try" in
7584
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7585
*) ac_try_echo=$ac_try;;
7587
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7588
$as_echo "$ac_try_echo") >&5
7589
(eval "$ac_try") 2>&5
7591
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592
(exit $ac_status); }; }; then
7595
$as_echo "$as_me: program exited with status $ac_status" >&5
7596
$as_echo "$as_me: failed program was:" >&5
7597
sed 's/^/| /' conftest.$ac_ext >&5
7600
ac_cv_header_stdc=no
7602
rm -rf conftest.dSYM
7603
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7609
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7610
$as_echo "$ac_cv_header_stdc" >&6; }
7611
if test $ac_cv_header_stdc = yes; then
7613
cat >>confdefs.h <<\_ACEOF
7614
#define STDC_HEADERS 1
7619
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7629
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7630
inttypes.h stdint.h unistd.h
7632
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7633
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7634
$as_echo_n "checking for $ac_header... " >&6; }
7635
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7636
$as_echo_n "(cached) " >&6
7638
cat >conftest.$ac_ext <<_ACEOF
7641
cat confdefs.h >>conftest.$ac_ext
7642
cat >>conftest.$ac_ext <<_ACEOF
7643
/* end confdefs.h. */
7644
$ac_includes_default
7646
#include <$ac_header>
7648
rm -f conftest.$ac_objext
7649
if { (ac_try="$ac_compile"
7651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7652
*) ac_try_echo=$ac_try;;
7654
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7655
$as_echo "$ac_try_echo") >&5
7656
(eval "$ac_compile") 2>conftest.er1
7658
grep -v '^ *+' conftest.er1 >conftest.err
7660
cat conftest.err >&5
7661
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662
(exit $ac_status); } && {
7663
test -z "$ac_c_werror_flag" ||
7664
test ! -s conftest.err
7665
} && test -s conftest.$ac_objext; then
7666
eval "$as_ac_Header=yes"
7668
$as_echo "$as_me: failed program was:" >&5
7669
sed 's/^/| /' conftest.$ac_ext >&5
7671
eval "$as_ac_Header=no"
7674
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676
ac_res=`eval 'as_val=${'$as_ac_Header'}
7677
$as_echo "$as_val"'`
7678
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7679
$as_echo "$ac_res" >&6; }
7680
as_val=`eval 'as_val=${'$as_ac_Header'}
7681
$as_echo "$as_val"'`
7682
if test "x$as_val" = x""yes; then
7683
cat >>confdefs.h <<_ACEOF
7684
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7692
{ $as_echo "$as_me:$LINENO: checking for mode_t" >&5
7693
$as_echo_n "checking for mode_t... " >&6; }
7694
if test "${ac_cv_type_mode_t+set}" = set; then
7695
$as_echo_n "(cached) " >&6
7697
ac_cv_type_mode_t=no
7698
cat >conftest.$ac_ext <<_ACEOF
7701
cat confdefs.h >>conftest.$ac_ext
7702
cat >>conftest.$ac_ext <<_ACEOF
7703
/* end confdefs.h. */
7704
$ac_includes_default
7708
if (sizeof (mode_t))
7714
rm -f conftest.$ac_objext
7715
if { (ac_try="$ac_compile"
7717
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7718
*) ac_try_echo=$ac_try;;
7720
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7721
$as_echo "$ac_try_echo") >&5
7722
(eval "$ac_compile") 2>conftest.er1
7724
grep -v '^ *+' conftest.er1 >conftest.err
7726
cat conftest.err >&5
7727
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728
(exit $ac_status); } && {
7729
test -z "$ac_c_werror_flag" ||
7730
test ! -s conftest.err
7731
} && test -s conftest.$ac_objext; then
7732
cat >conftest.$ac_ext <<_ACEOF
7735
cat confdefs.h >>conftest.$ac_ext
7736
cat >>conftest.$ac_ext <<_ACEOF
7737
/* end confdefs.h. */
7738
$ac_includes_default
7742
if (sizeof ((mode_t)))
7748
rm -f conftest.$ac_objext
7749
if { (ac_try="$ac_compile"
7751
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7752
*) ac_try_echo=$ac_try;;
7754
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7755
$as_echo "$ac_try_echo") >&5
7756
(eval "$ac_compile") 2>conftest.er1
7758
grep -v '^ *+' conftest.er1 >conftest.err
7760
cat conftest.err >&5
7761
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762
(exit $ac_status); } && {
7763
test -z "$ac_c_werror_flag" ||
7764
test ! -s conftest.err
7765
} && test -s conftest.$ac_objext; then
7768
$as_echo "$as_me: failed program was:" >&5
7769
sed 's/^/| /' conftest.$ac_ext >&5
7771
ac_cv_type_mode_t=yes
7774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7776
$as_echo "$as_me: failed program was:" >&5
7777
sed 's/^/| /' conftest.$ac_ext >&5
7782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7784
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
7785
$as_echo "$ac_cv_type_mode_t" >&6; }
7786
if test "x$ac_cv_type_mode_t" = x""yes; then
7790
cat >>confdefs.h <<_ACEOF
7796
{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
7797
$as_echo_n "checking for pid_t... " >&6; }
7798
if test "${ac_cv_type_pid_t+set}" = set; then
7799
$as_echo_n "(cached) " >&6
7802
cat >conftest.$ac_ext <<_ACEOF
7805
cat confdefs.h >>conftest.$ac_ext
7806
cat >>conftest.$ac_ext <<_ACEOF
7807
/* end confdefs.h. */
7808
$ac_includes_default
7818
rm -f conftest.$ac_objext
7819
if { (ac_try="$ac_compile"
7821
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7822
*) ac_try_echo=$ac_try;;
7824
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7825
$as_echo "$ac_try_echo") >&5
7826
(eval "$ac_compile") 2>conftest.er1
7828
grep -v '^ *+' conftest.er1 >conftest.err
7830
cat conftest.err >&5
7831
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832
(exit $ac_status); } && {
7833
test -z "$ac_c_werror_flag" ||
7834
test ! -s conftest.err
7835
} && test -s conftest.$ac_objext; then
7836
cat >conftest.$ac_ext <<_ACEOF
7839
cat confdefs.h >>conftest.$ac_ext
7840
cat >>conftest.$ac_ext <<_ACEOF
7841
/* end confdefs.h. */
7842
$ac_includes_default
7846
if (sizeof ((pid_t)))
7852
rm -f conftest.$ac_objext
7853
if { (ac_try="$ac_compile"
7855
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7856
*) ac_try_echo=$ac_try;;
7858
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7859
$as_echo "$ac_try_echo") >&5
7860
(eval "$ac_compile") 2>conftest.er1
7862
grep -v '^ *+' conftest.er1 >conftest.err
7864
cat conftest.err >&5
7865
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866
(exit $ac_status); } && {
7867
test -z "$ac_c_werror_flag" ||
7868
test ! -s conftest.err
7869
} && test -s conftest.$ac_objext; then
7872
$as_echo "$as_me: failed program was:" >&5
7873
sed 's/^/| /' conftest.$ac_ext >&5
7875
ac_cv_type_pid_t=yes
7878
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7880
$as_echo "$as_me: failed program was:" >&5
7881
sed 's/^/| /' conftest.$ac_ext >&5
7886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7888
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7889
$as_echo "$ac_cv_type_pid_t" >&6; }
7890
if test "x$ac_cv_type_pid_t" = x""yes; then
7894
cat >>confdefs.h <<_ACEOF
7900
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
7901
$as_echo_n "checking for size_t... " >&6; }
7902
if test "${ac_cv_type_size_t+set}" = set; then
7903
$as_echo_n "(cached) " >&6
7905
ac_cv_type_size_t=no
7906
cat >conftest.$ac_ext <<_ACEOF
7909
cat confdefs.h >>conftest.$ac_ext
7910
cat >>conftest.$ac_ext <<_ACEOF
7911
/* end confdefs.h. */
7912
$ac_includes_default
7916
if (sizeof (size_t))
7922
rm -f conftest.$ac_objext
7923
if { (ac_try="$ac_compile"
7925
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7926
*) ac_try_echo=$ac_try;;
7928
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7929
$as_echo "$ac_try_echo") >&5
7930
(eval "$ac_compile") 2>conftest.er1
7932
grep -v '^ *+' conftest.er1 >conftest.err
7934
cat conftest.err >&5
7935
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936
(exit $ac_status); } && {
7937
test -z "$ac_c_werror_flag" ||
7938
test ! -s conftest.err
7939
} && test -s conftest.$ac_objext; then
7940
cat >conftest.$ac_ext <<_ACEOF
7943
cat confdefs.h >>conftest.$ac_ext
7944
cat >>conftest.$ac_ext <<_ACEOF
7945
/* end confdefs.h. */
7946
$ac_includes_default
7950
if (sizeof ((size_t)))
7956
rm -f conftest.$ac_objext
7957
if { (ac_try="$ac_compile"
7959
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7960
*) ac_try_echo=$ac_try;;
7962
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7963
$as_echo "$ac_try_echo") >&5
7964
(eval "$ac_compile") 2>conftest.er1
7966
grep -v '^ *+' conftest.er1 >conftest.err
7968
cat conftest.err >&5
7969
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970
(exit $ac_status); } && {
7971
test -z "$ac_c_werror_flag" ||
7972
test ! -s conftest.err
7973
} && test -s conftest.$ac_objext; then
7976
$as_echo "$as_me: failed program was:" >&5
7977
sed 's/^/| /' conftest.$ac_ext >&5
7979
ac_cv_type_size_t=yes
7982
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7984
$as_echo "$as_me: failed program was:" >&5
7985
sed 's/^/| /' conftest.$ac_ext >&5
7990
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7992
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7993
$as_echo "$ac_cv_type_size_t" >&6; }
7994
if test "x$ac_cv_type_size_t" = x""yes; then
7998
cat >>confdefs.h <<_ACEOF
7999
#define size_t unsigned int
8004
{ $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
8005
$as_echo_n "checking for ssize_t... " >&6; }
8006
if test "${ac_cv_type_ssize_t+set}" = set; then
8007
$as_echo_n "(cached) " >&6
8009
ac_cv_type_ssize_t=no
8010
cat >conftest.$ac_ext <<_ACEOF
8013
cat confdefs.h >>conftest.$ac_ext
8014
cat >>conftest.$ac_ext <<_ACEOF
8015
/* end confdefs.h. */
8016
$ac_includes_default
8020
if (sizeof (ssize_t))
8026
rm -f conftest.$ac_objext
8027
if { (ac_try="$ac_compile"
8029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8030
*) ac_try_echo=$ac_try;;
8032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8033
$as_echo "$ac_try_echo") >&5
8034
(eval "$ac_compile") 2>conftest.er1
8036
grep -v '^ *+' conftest.er1 >conftest.err
8038
cat conftest.err >&5
8039
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040
(exit $ac_status); } && {
8041
test -z "$ac_c_werror_flag" ||
8042
test ! -s conftest.err
8043
} && test -s conftest.$ac_objext; then
8044
cat >conftest.$ac_ext <<_ACEOF
8047
cat confdefs.h >>conftest.$ac_ext
8048
cat >>conftest.$ac_ext <<_ACEOF
8049
/* end confdefs.h. */
8050
$ac_includes_default
8054
if (sizeof ((ssize_t)))
8060
rm -f conftest.$ac_objext
8061
if { (ac_try="$ac_compile"
8063
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8064
*) ac_try_echo=$ac_try;;
8066
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8067
$as_echo "$ac_try_echo") >&5
8068
(eval "$ac_compile") 2>conftest.er1
8070
grep -v '^ *+' conftest.er1 >conftest.err
8072
cat conftest.err >&5
8073
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074
(exit $ac_status); } && {
8075
test -z "$ac_c_werror_flag" ||
8076
test ! -s conftest.err
8077
} && test -s conftest.$ac_objext; then
8080
$as_echo "$as_me: failed program was:" >&5
8081
sed 's/^/| /' conftest.$ac_ext >&5
8083
ac_cv_type_ssize_t=yes
8086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8088
$as_echo "$as_me: failed program was:" >&5
8089
sed 's/^/| /' conftest.$ac_ext >&5
8094
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8096
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
8097
$as_echo "$ac_cv_type_ssize_t" >&6; }
8098
if test "x$ac_cv_type_ssize_t" = x""yes; then
8102
cat >>confdefs.h <<_ACEOF
8108
{ $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
8109
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8110
if test "${ac_cv_type_uid_t+set}" = set; then
8111
$as_echo_n "(cached) " >&6
8113
cat >conftest.$ac_ext <<_ACEOF
8116
cat confdefs.h >>conftest.$ac_ext
8117
cat >>conftest.$ac_ext <<_ACEOF
8118
/* end confdefs.h. */
8119
#include <sys/types.h>
8122
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8123
$EGREP "uid_t" >/dev/null 2>&1; then
8124
ac_cv_type_uid_t=yes
8131
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
8132
$as_echo "$ac_cv_type_uid_t" >&6; }
8133
if test $ac_cv_type_uid_t = no; then
8135
cat >>confdefs.h <<\_ACEOF
8140
cat >>confdefs.h <<\_ACEOF
8185
for ac_header in stdarg.h stddef.h stddef.h stdlib.h stdint.h malloc.h \
8186
fcntl.h search.h getopt.h pthread.h values.h float.h limits.h termios.h \
8187
errno.h time.h unistd.h fenv.h string.h strings.h inttypes.h setjmp.h \
8188
sys/time.h sys/times.h sys/types.h sys/select.h fpu_control.h \
8189
sys/fpu.h sys/socket.h sys/stat.h sys/mman.h \
8190
sys/ioctl.h sys/inotify.h langinfo.h libintl.h crt_externs.h
8192
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8193
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8194
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8195
$as_echo_n "checking for $ac_header... " >&6; }
8196
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8197
$as_echo_n "(cached) " >&6
8199
ac_res=`eval 'as_val=${'$as_ac_Header'}
8200
$as_echo "$as_val"'`
8201
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8202
$as_echo "$ac_res" >&6; }
8204
# Is the header compilable?
8205
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8206
$as_echo_n "checking $ac_header usability... " >&6; }
8207
cat >conftest.$ac_ext <<_ACEOF
8210
cat confdefs.h >>conftest.$ac_ext
8211
cat >>conftest.$ac_ext <<_ACEOF
8212
/* end confdefs.h. */
8213
$ac_includes_default
8214
#include <$ac_header>
8216
rm -f conftest.$ac_objext
8217
if { (ac_try="$ac_compile"
8219
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8220
*) ac_try_echo=$ac_try;;
8222
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8223
$as_echo "$ac_try_echo") >&5
8224
(eval "$ac_compile") 2>conftest.er1
8226
grep -v '^ *+' conftest.er1 >conftest.err
8228
cat conftest.err >&5
8229
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230
(exit $ac_status); } && {
8231
test -z "$ac_c_werror_flag" ||
8232
test ! -s conftest.err
8233
} && test -s conftest.$ac_objext; then
8234
ac_header_compiler=yes
8236
$as_echo "$as_me: failed program was:" >&5
8237
sed 's/^/| /' conftest.$ac_ext >&5
8239
ac_header_compiler=no
8242
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8243
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8244
$as_echo "$ac_header_compiler" >&6; }
8246
# Is the header present?
8247
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8248
$as_echo_n "checking $ac_header presence... " >&6; }
8249
cat >conftest.$ac_ext <<_ACEOF
8252
cat confdefs.h >>conftest.$ac_ext
8253
cat >>conftest.$ac_ext <<_ACEOF
8254
/* end confdefs.h. */
8255
#include <$ac_header>
8257
if { (ac_try="$ac_cpp conftest.$ac_ext"
8259
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8260
*) ac_try_echo=$ac_try;;
8262
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8263
$as_echo "$ac_try_echo") >&5
8264
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8266
grep -v '^ *+' conftest.er1 >conftest.err
8268
cat conftest.err >&5
8269
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270
(exit $ac_status); } >/dev/null && {
8271
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8272
test ! -s conftest.err
8274
ac_header_preproc=yes
8276
$as_echo "$as_me: failed program was:" >&5
8277
sed 's/^/| /' conftest.$ac_ext >&5
8279
ac_header_preproc=no
8282
rm -f conftest.err conftest.$ac_ext
8283
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8284
$as_echo "$ac_header_preproc" >&6; }
8286
# So? What about this header?
8287
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8289
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8290
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8291
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8292
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8293
ac_header_preproc=yes
8296
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8297
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8298
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8299
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8300
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8301
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8302
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8303
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8304
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8305
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8306
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8307
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8309
## --------------------------------------- ##
8310
## Report this to http://www.graphviz.org/ ##
8311
## --------------------------------------- ##
8313
) | sed "s/^/$as_me: WARNING: /" >&2
8316
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8317
$as_echo_n "checking for $ac_header... " >&6; }
8318
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8319
$as_echo_n "(cached) " >&6
8321
eval "$as_ac_Header=\$ac_header_preproc"
8323
ac_res=`eval 'as_val=${'$as_ac_Header'}
8324
$as_echo "$as_val"'`
8325
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8326
$as_echo "$ac_res" >&6; }
8329
as_val=`eval 'as_val=${'$as_ac_Header'}
8330
$as_echo "$as_val"'`
8331
if test "x$as_val" = x""yes; then
8332
cat >>confdefs.h <<_ACEOF
8333
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8340
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8341
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8342
if test "${ac_cv_header_time+set}" = set; then
8343
$as_echo_n "(cached) " >&6
8345
cat >conftest.$ac_ext <<_ACEOF
8348
cat confdefs.h >>conftest.$ac_ext
8349
cat >>conftest.$ac_ext <<_ACEOF
8350
/* end confdefs.h. */
8351
#include <sys/types.h>
8352
#include <sys/time.h>
8358
if ((struct tm *) 0)
8364
rm -f conftest.$ac_objext
8365
if { (ac_try="$ac_compile"
8367
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8368
*) ac_try_echo=$ac_try;;
8370
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8371
$as_echo "$ac_try_echo") >&5
8372
(eval "$ac_compile") 2>conftest.er1
8374
grep -v '^ *+' conftest.er1 >conftest.err
8376
cat conftest.err >&5
8377
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378
(exit $ac_status); } && {
8379
test -z "$ac_c_werror_flag" ||
8380
test ! -s conftest.err
8381
} && test -s conftest.$ac_objext; then
8382
ac_cv_header_time=yes
8384
$as_echo "$as_me: failed program was:" >&5
8385
sed 's/^/| /' conftest.$ac_ext >&5
8387
ac_cv_header_time=no
8390
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8392
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8393
$as_echo "$ac_cv_header_time" >&6; }
8394
if test $ac_cv_header_time = yes; then
8396
cat >>confdefs.h <<\_ACEOF
8397
#define TIME_WITH_SYS_TIME 1
8408
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8409
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8410
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8411
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8412
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8413
$as_echo_n "(cached) " >&6
8415
cat >conftest.$ac_ext <<_ACEOF
8418
cat confdefs.h >>conftest.$ac_ext
8419
cat >>conftest.$ac_ext <<_ACEOF
8420
/* end confdefs.h. */
8421
#include <sys/types.h>
8433
rm -f conftest.$ac_objext
8434
if { (ac_try="$ac_compile"
8436
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8437
*) ac_try_echo=$ac_try;;
8439
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8440
$as_echo "$ac_try_echo") >&5
8441
(eval "$ac_compile") 2>conftest.er1
8443
grep -v '^ *+' conftest.er1 >conftest.err
8445
cat conftest.err >&5
8446
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447
(exit $ac_status); } && {
8448
test -z "$ac_c_werror_flag" ||
8449
test ! -s conftest.err
8450
} && test -s conftest.$ac_objext; then
8451
eval "$as_ac_Header=yes"
8453
$as_echo "$as_me: failed program was:" >&5
8454
sed 's/^/| /' conftest.$ac_ext >&5
8456
eval "$as_ac_Header=no"
8459
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461
ac_res=`eval 'as_val=${'$as_ac_Header'}
8462
$as_echo "$as_val"'`
8463
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8464
$as_echo "$ac_res" >&6; }
8465
as_val=`eval 'as_val=${'$as_ac_Header'}
8466
$as_echo "$as_val"'`
8467
if test "x$as_val" = x""yes; then
8468
cat >>confdefs.h <<_ACEOF
8469
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8472
ac_header_dirent=$ac_hdr; break
8476
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8477
if test $ac_header_dirent = dirent.h; then
8478
{ $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
8479
$as_echo_n "checking for library containing opendir... " >&6; }
8480
if test "${ac_cv_search_opendir+set}" = set; then
8481
$as_echo_n "(cached) " >&6
8483
ac_func_search_save_LIBS=$LIBS
8484
cat >conftest.$ac_ext <<_ACEOF
8487
cat confdefs.h >>conftest.$ac_ext
8488
cat >>conftest.$ac_ext <<_ACEOF
8489
/* end confdefs.h. */
8491
/* Override any GCC internal prototype to avoid an error.
8492
Use char because int might match the return type of a GCC
8493
builtin and then its argument prototype would still apply. */
8506
for ac_lib in '' dir; do
8507
if test -z "$ac_lib"; then
8508
ac_res="none required"
8511
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8513
rm -f conftest.$ac_objext conftest$ac_exeext
8514
if { (ac_try="$ac_link"
8516
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517
*) ac_try_echo=$ac_try;;
8519
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8520
$as_echo "$ac_try_echo") >&5
8521
(eval "$ac_link") 2>conftest.er1
8523
grep -v '^ *+' conftest.er1 >conftest.err
8525
cat conftest.err >&5
8526
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527
(exit $ac_status); } && {
8528
test -z "$ac_c_werror_flag" ||
8529
test ! -s conftest.err
8530
} && test -s conftest$ac_exeext && {
8531
test "$cross_compiling" = yes ||
8532
$as_test_x conftest$ac_exeext
8534
ac_cv_search_opendir=$ac_res
8536
$as_echo "$as_me: failed program was:" >&5
8537
sed 's/^/| /' conftest.$ac_ext >&5
8542
rm -rf conftest.dSYM
8543
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8545
if test "${ac_cv_search_opendir+set}" = set; then
8549
if test "${ac_cv_search_opendir+set}" = set; then
8552
ac_cv_search_opendir=no
8555
LIBS=$ac_func_search_save_LIBS
8557
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8558
$as_echo "$ac_cv_search_opendir" >&6; }
8559
ac_res=$ac_cv_search_opendir
8560
if test "$ac_res" != no; then
8561
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8566
{ $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
8567
$as_echo_n "checking for library containing opendir... " >&6; }
8568
if test "${ac_cv_search_opendir+set}" = set; then
8569
$as_echo_n "(cached) " >&6
8571
ac_func_search_save_LIBS=$LIBS
8572
cat >conftest.$ac_ext <<_ACEOF
8575
cat confdefs.h >>conftest.$ac_ext
8576
cat >>conftest.$ac_ext <<_ACEOF
8577
/* end confdefs.h. */
8579
/* Override any GCC internal prototype to avoid an error.
8580
Use char because int might match the return type of a GCC
8581
builtin and then its argument prototype would still apply. */
8594
for ac_lib in '' x; do
8595
if test -z "$ac_lib"; then
8596
ac_res="none required"
8599
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8601
rm -f conftest.$ac_objext conftest$ac_exeext
8602
if { (ac_try="$ac_link"
8604
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8605
*) ac_try_echo=$ac_try;;
8607
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8608
$as_echo "$ac_try_echo") >&5
8609
(eval "$ac_link") 2>conftest.er1
8611
grep -v '^ *+' conftest.er1 >conftest.err
8613
cat conftest.err >&5
8614
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615
(exit $ac_status); } && {
8616
test -z "$ac_c_werror_flag" ||
8617
test ! -s conftest.err
8618
} && test -s conftest$ac_exeext && {
8619
test "$cross_compiling" = yes ||
8620
$as_test_x conftest$ac_exeext
8622
ac_cv_search_opendir=$ac_res
8624
$as_echo "$as_me: failed program was:" >&5
8625
sed 's/^/| /' conftest.$ac_ext >&5
8630
rm -rf conftest.dSYM
8631
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8633
if test "${ac_cv_search_opendir+set}" = set; then
8637
if test "${ac_cv_search_opendir+set}" = set; then
8640
ac_cv_search_opendir=no
8643
LIBS=$ac_func_search_save_LIBS
8645
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8646
$as_echo "$ac_cv_search_opendir" >&6; }
8647
ac_res=$ac_cv_search_opendir
8648
if test "$ac_res" != no; then
8649
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8655
{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
8656
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
8657
if test "${ac_cv_header_stdbool_h+set}" = set; then
8658
$as_echo_n "(cached) " >&6
8660
cat >conftest.$ac_ext <<_ACEOF
8663
cat confdefs.h >>conftest.$ac_ext
8664
cat >>conftest.$ac_ext <<_ACEOF
8665
/* end confdefs.h. */
8667
#include <stdbool.h>
8669
"error: bool is not defined"
8672
"error: false is not defined"
8675
"error: false is not 0"
8678
"error: true is not defined"
8681
"error: true is not 1"
8683
#ifndef __bool_true_false_are_defined
8684
"error: __bool_true_false_are_defined is not defined"
8687
struct s { _Bool s: 1; _Bool t; } s;
8689
char a[true == 1 ? 1 : -1];
8690
char b[false == 0 ? 1 : -1];
8691
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
8692
char d[(bool) 0.5 == true ? 1 : -1];
8694
char f[(_Bool) 0.0 == false ? 1 : -1];
8696
char h[sizeof (_Bool)];
8698
enum { j = false, k = true, l = false * true, m = true * 256 };
8699
/* The following fails for
8700
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
8702
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
8703
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
8704
# if defined __xlc__ || defined __GNUC__
8705
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
8706
reported by James Lemley on 2005-10-05; see
8707
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
8708
This test is not quite right, since xlc is allowed to
8709
reject this program, as the initializer for xlcbug is
8710
not one of the forms that C requires support for.
8711
However, doing the test right would require a runtime
8712
test, and that would make cross-compilation harder.
8713
Let us hope that IBM fixes the xlc bug, and also adds
8714
support for this kind of constant expression. In the
8715
meantime, this test will reject xlc, which is OK, since
8716
our stdbool.h substitute should suffice. We also test
8717
this with GCC, where it should work, to detect more
8718
quickly whether someone messes up the test in the
8720
char digs[] = "0123456789";
8721
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
8723
/* Catch a bug in an HP-UX C compiler. See
8724
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
8725
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
8736
/* Refer to every declared value, to avoid compiler optimizations. */
8737
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
8738
+ !m + !n + !o + !p + !q + !pq);
8744
rm -f conftest.$ac_objext
8745
if { (ac_try="$ac_compile"
8747
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8748
*) ac_try_echo=$ac_try;;
8750
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8751
$as_echo "$ac_try_echo") >&5
8752
(eval "$ac_compile") 2>conftest.er1
8754
grep -v '^ *+' conftest.er1 >conftest.err
8756
cat conftest.err >&5
8757
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758
(exit $ac_status); } && {
8759
test -z "$ac_c_werror_flag" ||
8760
test ! -s conftest.err
8761
} && test -s conftest.$ac_objext; then
8762
ac_cv_header_stdbool_h=yes
8764
$as_echo "$as_me: failed program was:" >&5
8765
sed 's/^/| /' conftest.$ac_ext >&5
8767
ac_cv_header_stdbool_h=no
8770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8772
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
8773
$as_echo "$ac_cv_header_stdbool_h" >&6; }
8774
{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
8775
$as_echo_n "checking for _Bool... " >&6; }
8776
if test "${ac_cv_type__Bool+set}" = set; then
8777
$as_echo_n "(cached) " >&6
8780
cat >conftest.$ac_ext <<_ACEOF
8783
cat confdefs.h >>conftest.$ac_ext
8784
cat >>conftest.$ac_ext <<_ACEOF
8785
/* end confdefs.h. */
8786
$ac_includes_default
8796
rm -f conftest.$ac_objext
8797
if { (ac_try="$ac_compile"
8799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8800
*) ac_try_echo=$ac_try;;
8802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8803
$as_echo "$ac_try_echo") >&5
8804
(eval "$ac_compile") 2>conftest.er1
8806
grep -v '^ *+' conftest.er1 >conftest.err
8808
cat conftest.err >&5
8809
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810
(exit $ac_status); } && {
8811
test -z "$ac_c_werror_flag" ||
8812
test ! -s conftest.err
8813
} && test -s conftest.$ac_objext; then
8814
cat >conftest.$ac_ext <<_ACEOF
8817
cat confdefs.h >>conftest.$ac_ext
8818
cat >>conftest.$ac_ext <<_ACEOF
8819
/* end confdefs.h. */
8820
$ac_includes_default
8824
if (sizeof ((_Bool)))
8830
rm -f conftest.$ac_objext
8831
if { (ac_try="$ac_compile"
8833
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8834
*) ac_try_echo=$ac_try;;
8836
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8837
$as_echo "$ac_try_echo") >&5
8838
(eval "$ac_compile") 2>conftest.er1
8840
grep -v '^ *+' conftest.er1 >conftest.err
8842
cat conftest.err >&5
8843
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844
(exit $ac_status); } && {
8845
test -z "$ac_c_werror_flag" ||
8846
test ! -s conftest.err
8847
} && test -s conftest.$ac_objext; then
8850
$as_echo "$as_me: failed program was:" >&5
8851
sed 's/^/| /' conftest.$ac_ext >&5
8853
ac_cv_type__Bool=yes
8856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8858
$as_echo "$as_me: failed program was:" >&5
8859
sed 's/^/| /' conftest.$ac_ext >&5
8864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8866
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
8867
$as_echo "$ac_cv_type__Bool" >&6; }
8868
if test "x$ac_cv_type__Bool" = x""yes; then
8870
cat >>confdefs.h <<_ACEOF
8871
#define HAVE__BOOL 1
8877
if test $ac_cv_header_stdbool_h = yes; then
8879
cat >>confdefs.h <<\_ACEOF
8880
#define HAVE_STDBOOL_H 1
8886
# Internationalization macros
8889
# Check for socklen_t
8890
{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
8891
$as_echo_n "checking for socklen_t... " >&6; }
8892
if test "${ac_cv_type_socklen_t+set}" = set; then
8893
$as_echo_n "(cached) " >&6
8895
cat >conftest.$ac_ext <<_ACEOF
8898
cat confdefs.h >>conftest.$ac_ext
8899
cat >>conftest.$ac_ext <<_ACEOF
8900
/* end confdefs.h. */
8902
#include <sys/types.h>
8903
#include <sys/socket.h>
8910
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8911
$EGREP "(^|[^a-zA-Z_0-9])socklen_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
8912
ac_cv_type_socklen_t=yes
8914
ac_cv_type_socklen_t=no
8920
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
8921
$as_echo "$ac_cv_type_socklen_t" >&6; }
8922
if test $ac_cv_type_socklen_t = no; then
8924
cat >>confdefs.h <<\_ACEOF
8925
#define socklen_t unsigned
8930
# -----------------------------------
8931
# Test if compiler supports bool
8932
{ $as_echo "$as_me:$LINENO: checking for bool" >&5
8933
$as_echo_n "checking for bool... " >&6; }
8934
cat >conftest.$ac_ext <<_ACEOF
8937
cat confdefs.h >>conftest.$ac_ext
8938
cat >>conftest.$ac_ext <<_ACEOF
8939
/* end confdefs.h. */
8941
#ifdef HAVE_STDBOOL_H>
8942
#include <stdbool.h>
8949
bool foo = true, bar = false;
8955
rm -f conftest.$ac_objext
8956
if { (ac_try="$ac_compile"
8958
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8959
*) ac_try_echo=$ac_try;;
8961
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8962
$as_echo "$ac_try_echo") >&5
8963
(eval "$ac_compile") 2>conftest.er1
8965
grep -v '^ *+' conftest.er1 >conftest.err
8967
cat conftest.err >&5
8968
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969
(exit $ac_status); } && {
8970
test -z "$ac_c_werror_flag" ||
8971
test ! -s conftest.err
8972
} && test -s conftest.$ac_objext; then
8974
{ $as_echo "$as_me:$LINENO: result: yes" >&5
8975
$as_echo "yes" >&6; }
8977
cat >>confdefs.h <<\_ACEOF
8983
$as_echo "$as_me: failed program was:" >&5
8984
sed 's/^/| /' conftest.$ac_ext >&5
8987
{ $as_echo "$as_me:$LINENO: result: no" >&5
8988
$as_echo "no" >&6; }
8991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8993
# -----------------------------------
8994
# Test for direct I/O
8995
{ $as_echo "$as_me:$LINENO: checking for struct dioattr" >&5
8996
$as_echo_n "checking for struct dioattr... " >&6; }
8997
cat >conftest.$ac_ext <<_ACEOF
9000
cat confdefs.h >>conftest.$ac_ext
9001
cat >>conftest.$ac_ext <<_ACEOF
9002
/* end confdefs.h. */
9003
#include <sys/types.h>
9015
rm -f conftest.$ac_objext
9016
if { (ac_try="$ac_compile"
9018
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9019
*) ac_try_echo=$ac_try;;
9021
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9022
$as_echo "$ac_try_echo") >&5
9023
(eval "$ac_compile") 2>conftest.er1
9025
grep -v '^ *+' conftest.er1 >conftest.err
9027
cat conftest.err >&5
9028
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029
(exit $ac_status); } && {
9030
test -z "$ac_c_werror_flag" ||
9031
test ! -s conftest.err
9032
} && test -s conftest.$ac_objext; then
9034
{ $as_echo "$as_me:$LINENO: result: yes" >&5
9035
$as_echo "yes" >&6; }
9037
cat >>confdefs.h <<\_ACEOF
9038
#define HAVE_STRUCT_DIOATTR 1
9042
$as_echo "$as_me: failed program was:" >&5
9043
sed 's/^/| /' conftest.$ac_ext >&5
9046
{ $as_echo "$as_me:$LINENO: result: no" >&5
9047
$as_echo "no" >&6; }
9050
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9054
{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
9055
$as_echo_n "checking for main in -lm... " >&6; }
9056
if test "${ac_cv_lib_m_main+set}" = set; then
9057
$as_echo_n "(cached) " >&6
9059
ac_check_lib_save_LIBS=$LIBS
9061
cat >conftest.$ac_ext <<_ACEOF
9064
cat confdefs.h >>conftest.$ac_ext
9065
cat >>conftest.$ac_ext <<_ACEOF
9066
/* end confdefs.h. */
9077
rm -f conftest.$ac_objext conftest$ac_exeext
9078
if { (ac_try="$ac_link"
9080
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9081
*) ac_try_echo=$ac_try;;
9083
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9084
$as_echo "$ac_try_echo") >&5
9085
(eval "$ac_link") 2>conftest.er1
9087
grep -v '^ *+' conftest.er1 >conftest.err
9089
cat conftest.err >&5
9090
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091
(exit $ac_status); } && {
9092
test -z "$ac_c_werror_flag" ||
9093
test ! -s conftest.err
9094
} && test -s conftest$ac_exeext && {
9095
test "$cross_compiling" = yes ||
9096
$as_test_x conftest$ac_exeext
9098
ac_cv_lib_m_main=yes
9100
$as_echo "$as_me: failed program was:" >&5
9101
sed 's/^/| /' conftest.$ac_ext >&5
9106
rm -rf conftest.dSYM
9107
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9108
conftest$ac_exeext conftest.$ac_ext
9109
LIBS=$ac_check_lib_save_LIBS
9111
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9112
$as_echo "$ac_cv_lib_m_main" >&6; }
9113
if test "x$ac_cv_lib_m_main" = x""yes; then
9119
# Check for functions that might need -lm
9120
LIBS="$LIBS $MATH_LIBS"
9123
for ac_func in feenableexcept fesetenv
9125
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9126
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9127
$as_echo_n "checking for $ac_func... " >&6; }
9128
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9129
$as_echo_n "(cached) " >&6
9131
cat >conftest.$ac_ext <<_ACEOF
9134
cat confdefs.h >>conftest.$ac_ext
9135
cat >>conftest.$ac_ext <<_ACEOF
9136
/* end confdefs.h. */
9137
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9138
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9139
#define $ac_func innocuous_$ac_func
9141
/* System header to define __stub macros and hopefully few prototypes,
9142
which can conflict with char $ac_func (); below.
9143
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9144
<limits.h> exists even on freestanding compilers. */
9147
# include <limits.h>
9149
# include <assert.h>
9154
/* Override any GCC internal prototype to avoid an error.
9155
Use char because int might match the return type of a GCC
9156
builtin and then its argument prototype would still apply. */
9161
/* The GNU C library defines this for functions which it implements
9162
to always fail with ENOSYS. Some functions are actually named
9163
something starting with __ and the normal name is an alias. */
9164
#if defined __stub_$ac_func || defined __stub___$ac_func
9176
rm -f conftest.$ac_objext conftest$ac_exeext
9177
if { (ac_try="$ac_link"
9179
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9180
*) ac_try_echo=$ac_try;;
9182
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9183
$as_echo "$ac_try_echo") >&5
9184
(eval "$ac_link") 2>conftest.er1
9186
grep -v '^ *+' conftest.er1 >conftest.err
9188
cat conftest.err >&5
9189
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190
(exit $ac_status); } && {
9191
test -z "$ac_c_werror_flag" ||
9192
test ! -s conftest.err
9193
} && test -s conftest$ac_exeext && {
9194
test "$cross_compiling" = yes ||
9195
$as_test_x conftest$ac_exeext
9197
eval "$as_ac_var=yes"
9199
$as_echo "$as_me: failed program was:" >&5
9200
sed 's/^/| /' conftest.$ac_ext >&5
9202
eval "$as_ac_var=no"
9205
rm -rf conftest.dSYM
9206
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9207
conftest$ac_exeext conftest.$ac_ext
9209
ac_res=`eval 'as_val=${'$as_ac_var'}
9210
$as_echo "$as_val"'`
9211
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9212
$as_echo "$ac_res" >&6; }
9213
as_val=`eval 'as_val=${'$as_ac_var'}
9214
$as_echo "$as_val"'`
9215
if test "x$as_val" = x""yes; then
9216
cat >>confdefs.h <<_ACEOF
9217
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9227
save_CPPFLAGS=$CPPFLAGS
9228
save_LDFLAGS=$LDFLAGS
9229
if test "${ac_cv_header_libgen_h+set}" = set; then
9230
{ $as_echo "$as_me:$LINENO: checking for libgen.h" >&5
9231
$as_echo_n "checking for libgen.h... " >&6; }
9232
if test "${ac_cv_header_libgen_h+set}" = set; then
9233
$as_echo_n "(cached) " >&6
9235
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libgen_h" >&5
9236
$as_echo "$ac_cv_header_libgen_h" >&6; }
9238
# Is the header compilable?
9239
{ $as_echo "$as_me:$LINENO: checking libgen.h usability" >&5
9240
$as_echo_n "checking libgen.h usability... " >&6; }
9241
cat >conftest.$ac_ext <<_ACEOF
9244
cat confdefs.h >>conftest.$ac_ext
9245
cat >>conftest.$ac_ext <<_ACEOF
9246
/* end confdefs.h. */
9247
$ac_includes_default
9250
rm -f conftest.$ac_objext
9251
if { (ac_try="$ac_compile"
9253
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9254
*) ac_try_echo=$ac_try;;
9256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9257
$as_echo "$ac_try_echo") >&5
9258
(eval "$ac_compile") 2>conftest.er1
9260
grep -v '^ *+' conftest.er1 >conftest.err
9262
cat conftest.err >&5
9263
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264
(exit $ac_status); } && {
9265
test -z "$ac_c_werror_flag" ||
9266
test ! -s conftest.err
9267
} && test -s conftest.$ac_objext; then
9268
ac_header_compiler=yes
9270
$as_echo "$as_me: failed program was:" >&5
9271
sed 's/^/| /' conftest.$ac_ext >&5
9273
ac_header_compiler=no
9276
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9277
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9278
$as_echo "$ac_header_compiler" >&6; }
9280
# Is the header present?
9281
{ $as_echo "$as_me:$LINENO: checking libgen.h presence" >&5
9282
$as_echo_n "checking libgen.h presence... " >&6; }
9283
cat >conftest.$ac_ext <<_ACEOF
9286
cat confdefs.h >>conftest.$ac_ext
9287
cat >>conftest.$ac_ext <<_ACEOF
9288
/* end confdefs.h. */
9291
if { (ac_try="$ac_cpp conftest.$ac_ext"
9293
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9294
*) ac_try_echo=$ac_try;;
9296
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9297
$as_echo "$ac_try_echo") >&5
9298
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9300
grep -v '^ *+' conftest.er1 >conftest.err
9302
cat conftest.err >&5
9303
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304
(exit $ac_status); } >/dev/null && {
9305
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9306
test ! -s conftest.err
9308
ac_header_preproc=yes
9310
$as_echo "$as_me: failed program was:" >&5
9311
sed 's/^/| /' conftest.$ac_ext >&5
9313
ac_header_preproc=no
9316
rm -f conftest.err conftest.$ac_ext
9317
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9318
$as_echo "$ac_header_preproc" >&6; }
9320
# So? What about this header?
9321
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9323
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h: accepted by the compiler, rejected by the preprocessor!" >&5
9324
$as_echo "$as_me: WARNING: libgen.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9325
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h: proceeding with the compiler's result" >&5
9326
$as_echo "$as_me: WARNING: libgen.h: proceeding with the compiler's result" >&2;}
9327
ac_header_preproc=yes
9330
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h: present but cannot be compiled" >&5
9331
$as_echo "$as_me: WARNING: libgen.h: present but cannot be compiled" >&2;}
9332
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h: check for missing prerequisite headers?" >&5
9333
$as_echo "$as_me: WARNING: libgen.h: check for missing prerequisite headers?" >&2;}
9334
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h: see the Autoconf documentation" >&5
9335
$as_echo "$as_me: WARNING: libgen.h: see the Autoconf documentation" >&2;}
9336
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h: section \"Present But Cannot Be Compiled\"" >&5
9337
$as_echo "$as_me: WARNING: libgen.h: section \"Present But Cannot Be Compiled\"" >&2;}
9338
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h: proceeding with the preprocessor's result" >&5
9339
$as_echo "$as_me: WARNING: libgen.h: proceeding with the preprocessor's result" >&2;}
9340
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h: in the future, the compiler will take precedence" >&5
9341
$as_echo "$as_me: WARNING: libgen.h: in the future, the compiler will take precedence" >&2;}
9343
## --------------------------------------- ##
9344
## Report this to http://www.graphviz.org/ ##
9345
## --------------------------------------- ##
9347
) | sed "s/^/$as_me: WARNING: /" >&2
9350
{ $as_echo "$as_me:$LINENO: checking for libgen.h" >&5
9351
$as_echo_n "checking for libgen.h... " >&6; }
9352
if test "${ac_cv_header_libgen_h+set}" = set; then
9353
$as_echo_n "(cached) " >&6
9355
ac_cv_header_libgen_h=$ac_header_preproc
9357
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libgen_h" >&5
9358
$as_echo "$ac_cv_header_libgen_h" >&6; }
9361
if test "x$ac_cv_header_libgen_h" = x""yes; then
9362
{ $as_echo "$as_me:$LINENO: checking for basename in -lgen" >&5
9363
$as_echo_n "checking for basename in -lgen... " >&6; }
9364
if test "${ac_cv_lib_gen_basename+set}" = set; then
9365
$as_echo_n "(cached) " >&6
9367
ac_check_lib_save_LIBS=$LIBS
9369
cat >conftest.$ac_ext <<_ACEOF
9372
cat confdefs.h >>conftest.$ac_ext
9373
cat >>conftest.$ac_ext <<_ACEOF
9374
/* end confdefs.h. */
9376
/* Override any GCC internal prototype to avoid an error.
9377
Use char because int might match the return type of a GCC
9378
builtin and then its argument prototype would still apply. */
9391
rm -f conftest.$ac_objext conftest$ac_exeext
9392
if { (ac_try="$ac_link"
9394
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9395
*) ac_try_echo=$ac_try;;
9397
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9398
$as_echo "$ac_try_echo") >&5
9399
(eval "$ac_link") 2>conftest.er1
9401
grep -v '^ *+' conftest.er1 >conftest.err
9403
cat conftest.err >&5
9404
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405
(exit $ac_status); } && {
9406
test -z "$ac_c_werror_flag" ||
9407
test ! -s conftest.err
9408
} && test -s conftest$ac_exeext && {
9409
test "$cross_compiling" = yes ||
9410
$as_test_x conftest$ac_exeext
9412
ac_cv_lib_gen_basename=yes
9414
$as_echo "$as_me: failed program was:" >&5
9415
sed 's/^/| /' conftest.$ac_ext >&5
9417
ac_cv_lib_gen_basename=no
9420
rm -rf conftest.dSYM
9421
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9422
conftest$ac_exeext conftest.$ac_ext
9423
LIBS=$ac_check_lib_save_LIBS
9425
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gen_basename" >&5
9426
$as_echo "$ac_cv_lib_gen_basename" >&6; }
9427
if test "x$ac_cv_lib_gen_basename" = x""yes; then
9430
cat >>confdefs.h <<_ACEOF
9431
#define HAVE_LIBGEN 1
9437
{ $as_echo "$as_me:$LINENO: WARNING: libgen.h header not available" >&5
9438
$as_echo "$as_me: WARNING: libgen.h header not available" >&2;}
9442
LDFLAGS=$save_LDFLAGS
9443
CPPFLAGS=$save_CPPFLAGS
9446
# -----------------------------------
9448
# Checks for library functions
9449
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9450
# for constant arguments. Useless!
9451
{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
9452
$as_echo_n "checking for working alloca.h... " >&6; }
9453
if test "${ac_cv_working_alloca_h+set}" = set; then
9454
$as_echo_n "(cached) " >&6
9456
cat >conftest.$ac_ext <<_ACEOF
9459
cat confdefs.h >>conftest.$ac_ext
9460
cat >>conftest.$ac_ext <<_ACEOF
9461
/* end confdefs.h. */
9466
char *p = (char *) alloca (2 * sizeof (int));
9472
rm -f conftest.$ac_objext conftest$ac_exeext
9473
if { (ac_try="$ac_link"
9475
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9476
*) ac_try_echo=$ac_try;;
9478
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9479
$as_echo "$ac_try_echo") >&5
9480
(eval "$ac_link") 2>conftest.er1
9482
grep -v '^ *+' conftest.er1 >conftest.err
9484
cat conftest.err >&5
9485
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486
(exit $ac_status); } && {
9487
test -z "$ac_c_werror_flag" ||
9488
test ! -s conftest.err
9489
} && test -s conftest$ac_exeext && {
9490
test "$cross_compiling" = yes ||
9491
$as_test_x conftest$ac_exeext
9493
ac_cv_working_alloca_h=yes
9495
$as_echo "$as_me: failed program was:" >&5
9496
sed 's/^/| /' conftest.$ac_ext >&5
9498
ac_cv_working_alloca_h=no
9501
rm -rf conftest.dSYM
9502
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9503
conftest$ac_exeext conftest.$ac_ext
9505
{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
9506
$as_echo "$ac_cv_working_alloca_h" >&6; }
9507
if test $ac_cv_working_alloca_h = yes; then
9509
cat >>confdefs.h <<\_ACEOF
9510
#define HAVE_ALLOCA_H 1
9515
{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
9516
$as_echo_n "checking for alloca... " >&6; }
9517
if test "${ac_cv_func_alloca_works+set}" = set; then
9518
$as_echo_n "(cached) " >&6
9520
cat >conftest.$ac_ext <<_ACEOF
9523
cat confdefs.h >>conftest.$ac_ext
9524
cat >>conftest.$ac_ext <<_ACEOF
9525
/* end confdefs.h. */
9527
# define alloca __builtin_alloca
9530
# include <malloc.h>
9531
# define alloca _alloca
9533
# ifdef HAVE_ALLOCA_H
9534
# include <alloca.h>
9539
# ifndef alloca /* predefined by HP cc +Olibcalls */
9550
char *p = (char *) alloca (1);
9556
rm -f conftest.$ac_objext conftest$ac_exeext
9557
if { (ac_try="$ac_link"
9559
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9560
*) ac_try_echo=$ac_try;;
9562
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9563
$as_echo "$ac_try_echo") >&5
9564
(eval "$ac_link") 2>conftest.er1
9566
grep -v '^ *+' conftest.er1 >conftest.err
9568
cat conftest.err >&5
9569
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570
(exit $ac_status); } && {
9571
test -z "$ac_c_werror_flag" ||
9572
test ! -s conftest.err
9573
} && test -s conftest$ac_exeext && {
9574
test "$cross_compiling" = yes ||
9575
$as_test_x conftest$ac_exeext
9577
ac_cv_func_alloca_works=yes
9579
$as_echo "$as_me: failed program was:" >&5
9580
sed 's/^/| /' conftest.$ac_ext >&5
9582
ac_cv_func_alloca_works=no
9585
rm -rf conftest.dSYM
9586
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9587
conftest$ac_exeext conftest.$ac_ext
9589
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
9590
$as_echo "$ac_cv_func_alloca_works" >&6; }
9592
if test $ac_cv_func_alloca_works = yes; then
9594
cat >>confdefs.h <<\_ACEOF
9595
#define HAVE_ALLOCA 1
9599
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
9600
# that cause trouble. Some versions do not even contain alloca or
9601
# contain a buggy version. If you still want to use their alloca,
9602
# use ar to extract alloca.o from them instead of compiling alloca.c.
9604
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
9606
cat >>confdefs.h <<\_ACEOF
9611
{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9612
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
9613
if test "${ac_cv_os_cray+set}" = set; then
9614
$as_echo_n "(cached) " >&6
9616
cat >conftest.$ac_ext <<_ACEOF
9619
cat confdefs.h >>conftest.$ac_ext
9620
cat >>conftest.$ac_ext <<_ACEOF
9621
/* end confdefs.h. */
9622
#if defined CRAY && ! defined CRAY2
9629
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9630
$EGREP "webecray" >/dev/null 2>&1; then
9638
{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9639
$as_echo "$ac_cv_os_cray" >&6; }
9640
if test $ac_cv_os_cray = yes; then
9641
for ac_func in _getb67 GETB67 getb67; do
9642
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9643
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9644
$as_echo_n "checking for $ac_func... " >&6; }
9645
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9646
$as_echo_n "(cached) " >&6
9648
cat >conftest.$ac_ext <<_ACEOF
9651
cat confdefs.h >>conftest.$ac_ext
9652
cat >>conftest.$ac_ext <<_ACEOF
9653
/* end confdefs.h. */
9654
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9655
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9656
#define $ac_func innocuous_$ac_func
9658
/* System header to define __stub macros and hopefully few prototypes,
9659
which can conflict with char $ac_func (); below.
9660
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9661
<limits.h> exists even on freestanding compilers. */
9664
# include <limits.h>
9666
# include <assert.h>
9671
/* Override any GCC internal prototype to avoid an error.
9672
Use char because int might match the return type of a GCC
9673
builtin and then its argument prototype would still apply. */
9678
/* The GNU C library defines this for functions which it implements
9679
to always fail with ENOSYS. Some functions are actually named
9680
something starting with __ and the normal name is an alias. */
9681
#if defined __stub_$ac_func || defined __stub___$ac_func
9693
rm -f conftest.$ac_objext conftest$ac_exeext
9694
if { (ac_try="$ac_link"
9696
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9697
*) ac_try_echo=$ac_try;;
9699
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9700
$as_echo "$ac_try_echo") >&5
9701
(eval "$ac_link") 2>conftest.er1
9703
grep -v '^ *+' conftest.er1 >conftest.err
9705
cat conftest.err >&5
9706
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707
(exit $ac_status); } && {
9708
test -z "$ac_c_werror_flag" ||
9709
test ! -s conftest.err
9710
} && test -s conftest$ac_exeext && {
9711
test "$cross_compiling" = yes ||
9712
$as_test_x conftest$ac_exeext
9714
eval "$as_ac_var=yes"
9716
$as_echo "$as_me: failed program was:" >&5
9717
sed 's/^/| /' conftest.$ac_ext >&5
9719
eval "$as_ac_var=no"
9722
rm -rf conftest.dSYM
9723
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9724
conftest$ac_exeext conftest.$ac_ext
9726
ac_res=`eval 'as_val=${'$as_ac_var'}
9727
$as_echo "$as_val"'`
9728
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9729
$as_echo "$ac_res" >&6; }
9730
as_val=`eval 'as_val=${'$as_ac_var'}
9731
$as_echo "$as_val"'`
9732
if test "x$as_val" = x""yes; then
9734
cat >>confdefs.h <<_ACEOF
9735
#define CRAY_STACKSEG_END $ac_func
9744
{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9745
$as_echo_n "checking stack direction for C alloca... " >&6; }
9746
if test "${ac_cv_c_stack_direction+set}" = set; then
9747
$as_echo_n "(cached) " >&6
9749
if test "$cross_compiling" = yes; then
9750
ac_cv_c_stack_direction=0
9752
cat >conftest.$ac_ext <<_ACEOF
9755
cat confdefs.h >>conftest.$ac_ext
9756
cat >>conftest.$ac_ext <<_ACEOF
9757
/* end confdefs.h. */
9758
$ac_includes_default
9760
find_stack_direction ()
9762
static char *addr = 0;
9767
return find_stack_direction ();
9770
return (&dummy > addr) ? 1 : -1;
9776
return find_stack_direction () < 0;
9779
rm -f conftest$ac_exeext
9780
if { (ac_try="$ac_link"
9782
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9783
*) ac_try_echo=$ac_try;;
9785
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9786
$as_echo "$ac_try_echo") >&5
9787
(eval "$ac_link") 2>&5
9789
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9791
{ (case "(($ac_try" in
9792
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9793
*) ac_try_echo=$ac_try;;
9795
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9796
$as_echo "$ac_try_echo") >&5
9797
(eval "$ac_try") 2>&5
9799
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9800
(exit $ac_status); }; }; then
9801
ac_cv_c_stack_direction=1
9803
$as_echo "$as_me: program exited with status $ac_status" >&5
9804
$as_echo "$as_me: failed program was:" >&5
9805
sed 's/^/| /' conftest.$ac_ext >&5
9808
ac_cv_c_stack_direction=-1
9810
rm -rf conftest.dSYM
9811
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9816
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9817
$as_echo "$ac_cv_c_stack_direction" >&6; }
9819
cat >>confdefs.h <<_ACEOF
9820
#define STACK_DIRECTION $ac_cv_c_stack_direction
9853
for ac_func in lrand48 drand48 srand48 setmode setenv getenv \
9854
__freadable _sysconf getrusage strerror cbrt lsqrt vsnprintf \
9855
strtoul strtoll strtoull uname memset nl_langinfo pow sqrt \
9856
strchr strdup strerror strstr _NSGetEnviron
9858
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9859
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9860
$as_echo_n "checking for $ac_func... " >&6; }
9861
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9862
$as_echo_n "(cached) " >&6
9864
cat >conftest.$ac_ext <<_ACEOF
9867
cat confdefs.h >>conftest.$ac_ext
9868
cat >>conftest.$ac_ext <<_ACEOF
9869
/* end confdefs.h. */
9870
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9871
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9872
#define $ac_func innocuous_$ac_func
9874
/* System header to define __stub macros and hopefully few prototypes,
9875
which can conflict with char $ac_func (); below.
9876
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9877
<limits.h> exists even on freestanding compilers. */
9880
# include <limits.h>
9882
# include <assert.h>
9887
/* Override any GCC internal prototype to avoid an error.
9888
Use char because int might match the return type of a GCC
9889
builtin and then its argument prototype would still apply. */
9894
/* The GNU C library defines this for functions which it implements
9895
to always fail with ENOSYS. Some functions are actually named
9896
something starting with __ and the normal name is an alias. */
9897
#if defined __stub_$ac_func || defined __stub___$ac_func
9909
rm -f conftest.$ac_objext conftest$ac_exeext
9910
if { (ac_try="$ac_link"
9912
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9913
*) ac_try_echo=$ac_try;;
9915
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9916
$as_echo "$ac_try_echo") >&5
9917
(eval "$ac_link") 2>conftest.er1
9919
grep -v '^ *+' conftest.er1 >conftest.err
9921
cat conftest.err >&5
9922
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923
(exit $ac_status); } && {
9924
test -z "$ac_c_werror_flag" ||
9925
test ! -s conftest.err
9926
} && test -s conftest$ac_exeext && {
9927
test "$cross_compiling" = yes ||
9928
$as_test_x conftest$ac_exeext
9930
eval "$as_ac_var=yes"
9932
$as_echo "$as_me: failed program was:" >&5
9933
sed 's/^/| /' conftest.$ac_ext >&5
9935
eval "$as_ac_var=no"
9938
rm -rf conftest.dSYM
9939
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9940
conftest$ac_exeext conftest.$ac_ext
9942
ac_res=`eval 'as_val=${'$as_ac_var'}
9943
$as_echo "$as_val"'`
9944
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9945
$as_echo "$ac_res" >&6; }
9946
as_val=`eval 'as_val=${'$as_ac_var'}
9947
$as_echo "$as_val"'`
9948
if test "x$as_val" = x""yes; then
9949
cat >>confdefs.h <<_ACEOF
9950
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9959
for ac_func in strcasecmp strncasecmp
9961
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9962
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9963
$as_echo_n "checking for $ac_func... " >&6; }
9964
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9965
$as_echo_n "(cached) " >&6
9967
cat >conftest.$ac_ext <<_ACEOF
9970
cat confdefs.h >>conftest.$ac_ext
9971
cat >>conftest.$ac_ext <<_ACEOF
9972
/* end confdefs.h. */
9973
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9974
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9975
#define $ac_func innocuous_$ac_func
9977
/* System header to define __stub macros and hopefully few prototypes,
9978
which can conflict with char $ac_func (); below.
9979
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9980
<limits.h> exists even on freestanding compilers. */
9983
# include <limits.h>
9985
# include <assert.h>
9990
/* Override any GCC internal prototype to avoid an error.
9991
Use char because int might match the return type of a GCC
9992
builtin and then its argument prototype would still apply. */
9997
/* The GNU C library defines this for functions which it implements
9998
to always fail with ENOSYS. Some functions are actually named
9999
something starting with __ and the normal name is an alias. */
10000
#if defined __stub_$ac_func || defined __stub___$ac_func
10007
return $ac_func ();
10012
rm -f conftest.$ac_objext conftest$ac_exeext
10013
if { (ac_try="$ac_link"
10014
case "(($ac_try" in
10015
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10016
*) ac_try_echo=$ac_try;;
10018
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10019
$as_echo "$ac_try_echo") >&5
10020
(eval "$ac_link") 2>conftest.er1
10022
grep -v '^ *+' conftest.er1 >conftest.err
10024
cat conftest.err >&5
10025
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026
(exit $ac_status); } && {
10027
test -z "$ac_c_werror_flag" ||
10028
test ! -s conftest.err
10029
} && test -s conftest$ac_exeext && {
10030
test "$cross_compiling" = yes ||
10031
$as_test_x conftest$ac_exeext
10033
eval "$as_ac_var=yes"
10035
$as_echo "$as_me: failed program was:" >&5
10036
sed 's/^/| /' conftest.$ac_ext >&5
10038
eval "$as_ac_var=no"
10041
rm -rf conftest.dSYM
10042
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10043
conftest$ac_exeext conftest.$ac_ext
10045
ac_res=`eval 'as_val=${'$as_ac_var'}
10046
$as_echo "$as_val"'`
10047
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10048
$as_echo "$ac_res" >&6; }
10049
as_val=`eval 'as_val=${'$as_ac_var'}
10050
$as_echo "$as_val"'`
10051
if test "x$as_val" = x""yes; then
10052
cat >>confdefs.h <<_ACEOF
10053
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10057
case " $LIBOBJS " in
10058
*" $ac_func.$ac_objext "* ) ;;
10059
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
10069
#code that is for Libtool 2.x
10072
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
10073
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
10078
macro_version='2.2.6'
10079
macro_revision='1.3012'
10093
ltmain="$ac_aux_dir/ltmain.sh"
10095
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
10096
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
10097
if test "${ac_cv_path_SED+set}" = set; then
10098
$as_echo_n "(cached) " >&6
10100
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
10101
for ac_i in 1 2 3 4 5 6 7; do
10102
ac_script="$ac_script$as_nl$ac_script"
10104
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
10105
$as_unset ac_script || ac_script=
10106
if test -z "$SED"; then
10107
ac_path_SED_found=false
10108
# Loop through the user's path and test for each of PROGNAME-LIST
10109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10110
for as_dir in $PATH
10113
test -z "$as_dir" && as_dir=.
10114
for ac_prog in sed gsed; do
10115
for ac_exec_ext in '' $ac_executable_extensions; do
10116
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
10117
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
10118
# Check for GNU ac_path_SED and select it if it is found.
10119
# Check for GNU $ac_path_SED
10120
case `"$ac_path_SED" --version 2>&1` in
10122
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
10125
$as_echo_n 0123456789 >"conftest.in"
10128
cat "conftest.in" "conftest.in" >"conftest.tmp"
10129
mv "conftest.tmp" "conftest.in"
10130
cp "conftest.in" "conftest.nl"
10131
$as_echo '' >> "conftest.nl"
10132
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
10133
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10134
ac_count=`expr $ac_count + 1`
10135
if test $ac_count -gt ${ac_path_SED_max-0}; then
10136
# Best one so far, save it but keep looking for a better one
10137
ac_cv_path_SED="$ac_path_SED"
10138
ac_path_SED_max=$ac_count
10140
# 10*(2^10) chars as input seems more than enough
10141
test $ac_count -gt 10 && break
10143
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10146
$ac_path_SED_found && break 3
10151
if test -z "$ac_cv_path_SED"; then
10152
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
10153
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
10154
{ (exit 1); exit 1; }; }
10157
ac_cv_path_SED=$SED
10161
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
10162
$as_echo "$ac_cv_path_SED" >&6; }
10163
SED="$ac_cv_path_SED"
10166
test -z "$SED" && SED=sed
10167
Xsed="$SED -e 1s/^X//"
10179
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
10180
$as_echo_n "checking for fgrep... " >&6; }
10181
if test "${ac_cv_path_FGREP+set}" = set; then
10182
$as_echo_n "(cached) " >&6
10184
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
10185
then ac_cv_path_FGREP="$GREP -F"
10187
if test -z "$FGREP"; then
10188
ac_path_FGREP_found=false
10189
# Loop through the user's path and test for each of PROGNAME-LIST
10190
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10191
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10194
test -z "$as_dir" && as_dir=.
10195
for ac_prog in fgrep; do
10196
for ac_exec_ext in '' $ac_executable_extensions; do
10197
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
10198
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
10199
# Check for GNU ac_path_FGREP and select it if it is found.
10200
# Check for GNU $ac_path_FGREP
10201
case `"$ac_path_FGREP" --version 2>&1` in
10203
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
10206
$as_echo_n 0123456789 >"conftest.in"
10209
cat "conftest.in" "conftest.in" >"conftest.tmp"
10210
mv "conftest.tmp" "conftest.in"
10211
cp "conftest.in" "conftest.nl"
10212
$as_echo 'FGREP' >> "conftest.nl"
10213
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
10214
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10215
ac_count=`expr $ac_count + 1`
10216
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
10217
# Best one so far, save it but keep looking for a better one
10218
ac_cv_path_FGREP="$ac_path_FGREP"
10219
ac_path_FGREP_max=$ac_count
10221
# 10*(2^10) chars as input seems more than enough
10222
test $ac_count -gt 10 && break
10224
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10227
$ac_path_FGREP_found && break 3
10232
if test -z "$ac_cv_path_FGREP"; then
10233
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
10234
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
10235
{ (exit 1); exit 1; }; }
10238
ac_cv_path_FGREP=$FGREP
10243
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
10244
$as_echo "$ac_cv_path_FGREP" >&6; }
10245
FGREP="$ac_cv_path_FGREP"
10248
test -z "$GREP" && GREP=grep
10268
# Check whether --with-gnu-ld was given.
10269
if test "${with_gnu_ld+set}" = set; then
10270
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10276
if test "$GCC" = yes; then
10277
# Check if gcc -print-prog-name=ld gives a path.
10278
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10279
$as_echo_n "checking for ld used by $CC... " >&6; }
10282
# gcc leaves a trailing carriage return which upsets mingw
10283
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10285
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10288
# Accept absolute paths.
10290
re_direlt='/[^/][^/]*/\.\./'
10291
# Canonicalize the pathname of ld
10292
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10293
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10294
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10296
test -z "$LD" && LD="$ac_prog"
10299
# If it fails, then pretend we aren't using GCC.
10303
# If it is relative, then search for the first ld in PATH.
10304
with_gnu_ld=unknown
10307
elif test "$with_gnu_ld" = yes; then
10308
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
10309
$as_echo_n "checking for GNU ld... " >&6; }
10311
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10312
$as_echo_n "checking for non-GNU ld... " >&6; }
10314
if test "${lt_cv_path_LD+set}" = set; then
10315
$as_echo_n "(cached) " >&6
10317
if test -z "$LD"; then
10318
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10319
for ac_dir in $PATH; do
10321
test -z "$ac_dir" && ac_dir=.
10322
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10323
lt_cv_path_LD="$ac_dir/$ac_prog"
10324
# Check to see if the program is GNU ld. I'd rather use --version,
10325
# but apparently some variants of GNU ld only accept -v.
10326
# Break only if it was the GNU/non-GNU ld that we prefer.
10327
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10328
*GNU* | *'with BFD'*)
10329
test "$with_gnu_ld" != no && break
10332
test "$with_gnu_ld" != yes && break
10339
lt_cv_path_LD="$LD" # Let the user override the test with a path.
10343
LD="$lt_cv_path_LD"
10344
if test -n "$LD"; then
10345
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
10346
$as_echo "$LD" >&6; }
10348
{ $as_echo "$as_me:$LINENO: result: no" >&5
10349
$as_echo "no" >&6; }
10351
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10352
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10353
{ (exit 1); exit 1; }; }
10354
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10355
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10356
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10357
$as_echo_n "(cached) " >&6
10359
# I'd rather use --version here, but apparently some GNU lds only accept -v.
10360
case `$LD -v 2>&1 </dev/null` in
10361
*GNU* | *'with BFD'*)
10362
lt_cv_prog_gnu_ld=yes
10365
lt_cv_prog_gnu_ld=no
10369
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10370
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
10371
with_gnu_ld=$lt_cv_prog_gnu_ld
10381
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
10382
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
10383
if test "${lt_cv_path_NM+set}" = set; then
10384
$as_echo_n "(cached) " >&6
10386
if test -n "$NM"; then
10387
# Let the user override the test.
10388
lt_cv_path_NM="$NM"
10390
lt_nm_to_check="${ac_tool_prefix}nm"
10391
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
10392
lt_nm_to_check="$lt_nm_to_check nm"
10394
for lt_tmp_nm in $lt_nm_to_check; do
10395
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10396
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
10398
test -z "$ac_dir" && ac_dir=.
10399
tmp_nm="$ac_dir/$lt_tmp_nm"
10400
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10401
# Check to see if the nm accepts a BSD-compat flag.
10402
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
10403
# nm: unknown option "B" ignored
10404
# Tru64's nm complains that /dev/null is an invalid object file
10405
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10406
*/dev/null* | *'Invalid file or object type'*)
10407
lt_cv_path_NM="$tmp_nm -B"
10411
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10413
lt_cv_path_NM="$tmp_nm -p"
10417
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10418
continue # so that we can try to find one that supports BSD flags
10427
: ${lt_cv_path_NM=no}
10430
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10431
$as_echo "$lt_cv_path_NM" >&6; }
10432
if test "$lt_cv_path_NM" != "no"; then
10433
NM="$lt_cv_path_NM"
10435
# Didn't find any BSD compatible name lister, look for dumpbin.
10436
if test -n "$ac_tool_prefix"; then
10437
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
10439
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10440
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10441
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10442
$as_echo_n "checking for $ac_word... " >&6; }
10443
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
10444
$as_echo_n "(cached) " >&6
10446
if test -n "$DUMPBIN"; then
10447
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
10449
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10450
for as_dir in $PATH
10453
test -z "$as_dir" && as_dir=.
10454
for ac_exec_ext in '' $ac_executable_extensions; do
10455
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10456
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
10457
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10466
DUMPBIN=$ac_cv_prog_DUMPBIN
10467
if test -n "$DUMPBIN"; then
10468
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
10469
$as_echo "$DUMPBIN" >&6; }
10471
{ $as_echo "$as_me:$LINENO: result: no" >&5
10472
$as_echo "no" >&6; }
10476
test -n "$DUMPBIN" && break
10479
if test -z "$DUMPBIN"; then
10480
ac_ct_DUMPBIN=$DUMPBIN
10481
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
10483
# Extract the first word of "$ac_prog", so it can be a program name with args.
10484
set dummy $ac_prog; ac_word=$2
10485
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10486
$as_echo_n "checking for $ac_word... " >&6; }
10487
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
10488
$as_echo_n "(cached) " >&6
10490
if test -n "$ac_ct_DUMPBIN"; then
10491
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
10493
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10494
for as_dir in $PATH
10497
test -z "$as_dir" && as_dir=.
10498
for ac_exec_ext in '' $ac_executable_extensions; do
10499
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10500
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
10501
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10510
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
10511
if test -n "$ac_ct_DUMPBIN"; then
10512
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
10513
$as_echo "$ac_ct_DUMPBIN" >&6; }
10515
{ $as_echo "$as_me:$LINENO: result: no" >&5
10516
$as_echo "no" >&6; }
10520
test -n "$ac_ct_DUMPBIN" && break
10523
if test "x$ac_ct_DUMPBIN" = x; then
10526
case $cross_compiling:$ac_tool_warned in
10528
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10529
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10530
ac_tool_warned=yes ;;
10532
DUMPBIN=$ac_ct_DUMPBIN
10537
if test "$DUMPBIN" != ":"; then
10541
test -z "$NM" && NM=nm
10548
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
10549
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
10550
if test "${lt_cv_nm_interface+set}" = set; then
10551
$as_echo_n "(cached) " >&6
10553
lt_cv_nm_interface="BSD nm"
10554
echo "int some_variable = 0;" > conftest.$ac_ext
10555
(eval echo "\"\$as_me:10555: $ac_compile\"" >&5)
10556
(eval "$ac_compile" 2>conftest.err)
10557
cat conftest.err >&5
10558
(eval echo "\"\$as_me:10558: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
10559
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
10560
cat conftest.err >&5
10561
(eval echo "\"\$as_me:10561: output\"" >&5)
10562
cat conftest.out >&5
10563
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
10564
lt_cv_nm_interface="MS dumpbin"
10568
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
10569
$as_echo "$lt_cv_nm_interface" >&6; }
10571
# find the maximum length of command line arguments
10572
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
10573
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
10574
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
10575
$as_echo_n "(cached) " >&6
10582
# On DJGPP, this test can blow up pretty badly due to problems in libc
10583
# (any single argument exceeding 2000 bytes causes a buffer overrun
10584
# during glob expansion). Even if it were fixed, the result of this
10585
# check would be larger than it should be.
10586
lt_cv_sys_max_cmd_len=12288; # 12K is about right
10590
# Under GNU Hurd, this test is not required because there is
10591
# no limit to the length of command line arguments.
10592
# Libtool will interpret -1 as no limit whatsoever
10593
lt_cv_sys_max_cmd_len=-1;
10596
cygwin* | mingw* | cegcc*)
10597
# On Win9x/ME, this test blows up -- it succeeds, but takes
10598
# about 5 minutes as the teststring grows exponentially.
10599
# Worse, since 9x/ME are not pre-emptively multitasking,
10600
# you end up with a "frozen" computer, even though with patience
10601
# the test eventually succeeds (with a max line length of 256k).
10602
# Instead, let's just punt: use the minimum linelength reported by
10603
# all of the supported platforms: 8192 (on NT/2K/XP).
10604
lt_cv_sys_max_cmd_len=8192;
10608
# On AmigaOS with pdksh, this test takes hours, literally.
10609
# So we just punt and use a minimum line length of 8192.
10610
lt_cv_sys_max_cmd_len=8192;
10613
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
10614
# This has been around since 386BSD, at least. Likely further.
10615
if test -x /sbin/sysctl; then
10616
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
10617
elif test -x /usr/sbin/sysctl; then
10618
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
10620
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
10622
# And add a safety zone
10623
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10624
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10628
# We know the value 262144 and hardcode it with a safety zone (like BSD)
10629
lt_cv_sys_max_cmd_len=196608
10633
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
10634
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
10635
# nice to cause kernel panics so lets avoid the loop below.
10636
# First set a reasonable default.
10637
lt_cv_sys_max_cmd_len=16384
10639
if test -x /sbin/sysconfig; then
10640
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
10641
*1*) lt_cv_sys_max_cmd_len=-1 ;;
10646
lt_cv_sys_max_cmd_len=102400
10648
sysv5* | sco5v6* | sysv4.2uw2*)
10649
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
10650
if test -n "$kargmax"; then
10651
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
10653
lt_cv_sys_max_cmd_len=32768
10657
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
10658
if test -n "$lt_cv_sys_max_cmd_len"; then
10659
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10660
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10662
# Make teststring a little bigger before we do anything with it.
10663
# a 1K string should be a reasonable start.
10664
for i in 1 2 3 4 5 6 7 8 ; do
10665
teststring=$teststring$teststring
10667
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
10668
# If test is not a shell built-in, we'll probably end up computing a
10669
# maximum length that is only half of the actual maximum length, but
10671
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
10672
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
10673
test $i != 17 # 1/2 MB should be enough
10676
teststring=$teststring$teststring
10678
# Only check the string length outside the loop.
10679
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
10681
# Add a significant safety factor because C++ compilers can tack on
10682
# massive amounts of additional arguments before passing them to the
10683
# linker. It appears as though 1/2 is a usable value.
10684
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
10691
if test -n $lt_cv_sys_max_cmd_len ; then
10692
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
10693
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
10695
{ $as_echo "$as_me:$LINENO: result: none" >&5
10696
$as_echo "none" >&6; }
10698
max_cmd_len=$lt_cv_sys_max_cmd_len
10709
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
10710
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
10711
# Try some XSI features
10713
( _lt_dummy="a/b/c"
10714
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
10716
&& eval 'test $(( 1 + 1 )) -eq 2 \
10717
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
10719
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
10720
$as_echo "$xsi_shell" >&6; }
10723
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
10724
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
10726
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
10728
&& lt_shell_append=yes
10729
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
10730
$as_echo "$lt_shell_append" >&6; }
10733
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10743
# test EBCDIC or ASCII
10744
case `echo X|tr X '\101'` in
10745
A) # ASCII based system
10746
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
10747
lt_SP2NL='tr \040 \012'
10748
lt_NL2SP='tr \015\012 \040\040'
10750
*) # EBCDIC based system
10751
lt_SP2NL='tr \100 \n'
10752
lt_NL2SP='tr \r\n \100\100'
10764
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10765
$as_echo_n "checking for $LD option to reload object files... " >&6; }
10766
if test "${lt_cv_ld_reload_flag+set}" = set; then
10767
$as_echo_n "(cached) " >&6
10769
lt_cv_ld_reload_flag='-r'
10771
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10772
$as_echo "$lt_cv_ld_reload_flag" >&6; }
10773
reload_flag=$lt_cv_ld_reload_flag
10774
case $reload_flag in
10776
*) reload_flag=" $reload_flag" ;;
10778
reload_cmds='$LD$reload_flag -o $output$reload_objs'
10781
if test "$GCC" = yes; then
10782
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
10784
reload_cmds='$LD$reload_flag -o $output$reload_objs'
10797
if test -n "$ac_tool_prefix"; then
10798
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
10799
set dummy ${ac_tool_prefix}objdump; ac_word=$2
10800
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10801
$as_echo_n "checking for $ac_word... " >&6; }
10802
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
10803
$as_echo_n "(cached) " >&6
10805
if test -n "$OBJDUMP"; then
10806
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10809
for as_dir in $PATH
10812
test -z "$as_dir" && as_dir=.
10813
for ac_exec_ext in '' $ac_executable_extensions; do
10814
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10815
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
10816
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10825
OBJDUMP=$ac_cv_prog_OBJDUMP
10826
if test -n "$OBJDUMP"; then
10827
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
10828
$as_echo "$OBJDUMP" >&6; }
10830
{ $as_echo "$as_me:$LINENO: result: no" >&5
10831
$as_echo "no" >&6; }
10836
if test -z "$ac_cv_prog_OBJDUMP"; then
10837
ac_ct_OBJDUMP=$OBJDUMP
10838
# Extract the first word of "objdump", so it can be a program name with args.
10839
set dummy objdump; ac_word=$2
10840
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10841
$as_echo_n "checking for $ac_word... " >&6; }
10842
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
10843
$as_echo_n "(cached) " >&6
10845
if test -n "$ac_ct_OBJDUMP"; then
10846
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
10848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10849
for as_dir in $PATH
10852
test -z "$as_dir" && as_dir=.
10853
for ac_exec_ext in '' $ac_executable_extensions; do
10854
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10855
ac_cv_prog_ac_ct_OBJDUMP="objdump"
10856
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10865
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
10866
if test -n "$ac_ct_OBJDUMP"; then
10867
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
10868
$as_echo "$ac_ct_OBJDUMP" >&6; }
10870
{ $as_echo "$as_me:$LINENO: result: no" >&5
10871
$as_echo "no" >&6; }
10874
if test "x$ac_ct_OBJDUMP" = x; then
10877
case $cross_compiling:$ac_tool_warned in
10879
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10880
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10881
ac_tool_warned=yes ;;
10883
OBJDUMP=$ac_ct_OBJDUMP
10886
OBJDUMP="$ac_cv_prog_OBJDUMP"
10889
test -z "$OBJDUMP" && OBJDUMP=objdump
10899
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
10900
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
10901
if test "${lt_cv_deplibs_check_method+set}" = set; then
10902
$as_echo_n "(cached) " >&6
10904
lt_cv_file_magic_cmd='$MAGIC_CMD'
10905
lt_cv_file_magic_test_file=
10906
lt_cv_deplibs_check_method='unknown'
10907
# Need to set the preceding variable on all platforms that support
10908
# interlibrary dependencies.
10909
# 'none' -- dependencies not supported.
10910
# `unknown' -- same as none, but documents that we really don't know.
10911
# 'pass_all' -- all dependencies passed with no checks.
10912
# 'test_compile' -- check by making test program.
10913
# 'file_magic [[regex]]' -- check by looking for files in library path
10914
# which responds to the $file_magic_cmd with a given extended regex.
10915
# If you have `file' or equivalent on your system and you're not sure
10916
# whether `pass_all' will *always* work, you probably want this one.
10920
lt_cv_deplibs_check_method=pass_all
10924
lt_cv_deplibs_check_method=pass_all
10928
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10929
lt_cv_file_magic_cmd='/usr/bin/file -L'
10930
lt_cv_file_magic_test_file=/shlib/libc.so
10934
# func_win32_libid is a shell function defined in ltmain.sh
10935
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10936
lt_cv_file_magic_cmd='func_win32_libid'
10940
# Base MSYS/MinGW do not provide the 'file' command needed by
10941
# func_win32_libid shell function, so use a weaker test based on 'objdump',
10942
# unless we find 'file', for example because we are cross-compiling.
10943
if ( file / ) >/dev/null 2>&1; then
10944
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10945
lt_cv_file_magic_cmd='func_win32_libid'
10947
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10948
lt_cv_file_magic_cmd='$OBJDUMP -f'
10953
# use the weaker test based on 'objdump'. See mingw*.
10954
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
10955
lt_cv_file_magic_cmd='$OBJDUMP -f'
10958
darwin* | rhapsody*)
10959
lt_cv_deplibs_check_method=pass_all
10962
freebsd* | dragonfly*)
10963
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
10966
# Not sure whether the presence of OpenBSD here was a mistake.
10967
# Let's accept both of them until this is cleared up.
10968
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
10969
lt_cv_file_magic_cmd=/usr/bin/file
10970
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10974
lt_cv_deplibs_check_method=pass_all
10979
lt_cv_deplibs_check_method=pass_all
10982
hpux10.20* | hpux11*)
10983
lt_cv_file_magic_cmd=/usr/bin/file
10986
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10987
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10990
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
10991
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10994
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10995
lt_cv_file_magic_test_file=/usr/lib/libc.sl
11001
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
11002
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
11005
irix5* | irix6* | nonstopux*)
11007
*-32|*"-32 ") libmagic=32-bit;;
11008
*-n32|*"-n32 ") libmagic=N32;;
11009
*-64|*"-64 ") libmagic=64-bit;;
11010
*) libmagic=never-match;;
11012
lt_cv_deplibs_check_method=pass_all
11015
# This must be Linux ELF.
11016
linux* | k*bsd*-gnu)
11017
lt_cv_deplibs_check_method=pass_all
11021
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11022
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11024
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
11029
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
11030
lt_cv_file_magic_cmd=/usr/bin/file
11031
lt_cv_file_magic_test_file=/usr/lib/libnls.so
11035
lt_cv_deplibs_check_method=pass_all
11039
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11040
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
11042
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11046
osf3* | osf4* | osf5*)
11047
lt_cv_deplibs_check_method=pass_all
11051
lt_cv_deplibs_check_method=pass_all
11055
lt_cv_deplibs_check_method=pass_all
11058
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11059
lt_cv_deplibs_check_method=pass_all
11063
case $host_vendor in
11065
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
11066
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
11069
lt_cv_deplibs_check_method=pass_all
11072
lt_cv_file_magic_cmd='/bin/file'
11073
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
11076
lt_cv_file_magic_cmd='/bin/file'
11077
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
11078
lt_cv_file_magic_test_file=/lib/libc.so
11081
lt_cv_deplibs_check_method=pass_all
11084
lt_cv_deplibs_check_method=pass_all
11090
lt_cv_deplibs_check_method=pass_all
11095
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
11096
$as_echo "$lt_cv_deplibs_check_method" >&6; }
11097
file_magic_cmd=$lt_cv_file_magic_cmd
11098
deplibs_check_method=$lt_cv_deplibs_check_method
11099
test -z "$deplibs_check_method" && deplibs_check_method=unknown
11112
if test -n "$ac_tool_prefix"; then
11113
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11114
set dummy ${ac_tool_prefix}ar; ac_word=$2
11115
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11116
$as_echo_n "checking for $ac_word... " >&6; }
11117
if test "${ac_cv_prog_AR+set}" = set; then
11118
$as_echo_n "(cached) " >&6
11120
if test -n "$AR"; then
11121
ac_cv_prog_AR="$AR" # Let the user override the test.
11123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11124
for as_dir in $PATH
11127
test -z "$as_dir" && as_dir=.
11128
for ac_exec_ext in '' $ac_executable_extensions; do
11129
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11130
ac_cv_prog_AR="${ac_tool_prefix}ar"
11131
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11141
if test -n "$AR"; then
11142
{ $as_echo "$as_me:$LINENO: result: $AR" >&5
11143
$as_echo "$AR" >&6; }
11145
{ $as_echo "$as_me:$LINENO: result: no" >&5
11146
$as_echo "no" >&6; }
11151
if test -z "$ac_cv_prog_AR"; then
11153
# Extract the first word of "ar", so it can be a program name with args.
11154
set dummy ar; ac_word=$2
11155
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11156
$as_echo_n "checking for $ac_word... " >&6; }
11157
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11158
$as_echo_n "(cached) " >&6
11160
if test -n "$ac_ct_AR"; then
11161
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11164
for as_dir in $PATH
11167
test -z "$as_dir" && as_dir=.
11168
for ac_exec_ext in '' $ac_executable_extensions; do
11169
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11170
ac_cv_prog_ac_ct_AR="ar"
11171
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11180
ac_ct_AR=$ac_cv_prog_ac_ct_AR
11181
if test -n "$ac_ct_AR"; then
11182
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11183
$as_echo "$ac_ct_AR" >&6; }
11185
{ $as_echo "$as_me:$LINENO: result: no" >&5
11186
$as_echo "no" >&6; }
11189
if test "x$ac_ct_AR" = x; then
11192
case $cross_compiling:$ac_tool_warned in
11194
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11195
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11196
ac_tool_warned=yes ;;
11201
AR="$ac_cv_prog_AR"
11204
test -z "$AR" && AR=ar
11205
test -z "$AR_FLAGS" && AR_FLAGS=cru
11217
if test -n "$ac_tool_prefix"; then
11218
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11219
set dummy ${ac_tool_prefix}strip; ac_word=$2
11220
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11221
$as_echo_n "checking for $ac_word... " >&6; }
11222
if test "${ac_cv_prog_STRIP+set}" = set; then
11223
$as_echo_n "(cached) " >&6
11225
if test -n "$STRIP"; then
11226
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11229
for as_dir in $PATH
11232
test -z "$as_dir" && as_dir=.
11233
for ac_exec_ext in '' $ac_executable_extensions; do
11234
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11235
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11236
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11245
STRIP=$ac_cv_prog_STRIP
11246
if test -n "$STRIP"; then
11247
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
11248
$as_echo "$STRIP" >&6; }
11250
{ $as_echo "$as_me:$LINENO: result: no" >&5
11251
$as_echo "no" >&6; }
11256
if test -z "$ac_cv_prog_STRIP"; then
11258
# Extract the first word of "strip", so it can be a program name with args.
11259
set dummy strip; ac_word=$2
11260
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11261
$as_echo_n "checking for $ac_word... " >&6; }
11262
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11263
$as_echo_n "(cached) " >&6
11265
if test -n "$ac_ct_STRIP"; then
11266
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11269
for as_dir in $PATH
11272
test -z "$as_dir" && as_dir=.
11273
for ac_exec_ext in '' $ac_executable_extensions; do
11274
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11275
ac_cv_prog_ac_ct_STRIP="strip"
11276
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11285
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11286
if test -n "$ac_ct_STRIP"; then
11287
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11288
$as_echo "$ac_ct_STRIP" >&6; }
11290
{ $as_echo "$as_me:$LINENO: result: no" >&5
11291
$as_echo "no" >&6; }
11294
if test "x$ac_ct_STRIP" = x; then
11297
case $cross_compiling:$ac_tool_warned in
11299
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11300
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11301
ac_tool_warned=yes ;;
11306
STRIP="$ac_cv_prog_STRIP"
11309
test -z "$STRIP" && STRIP=:
11316
if test -n "$ac_tool_prefix"; then
11317
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11318
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11319
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11320
$as_echo_n "checking for $ac_word... " >&6; }
11321
if test "${ac_cv_prog_RANLIB+set}" = set; then
11322
$as_echo_n "(cached) " >&6
11324
if test -n "$RANLIB"; then
11325
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11327
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11328
for as_dir in $PATH
11331
test -z "$as_dir" && as_dir=.
11332
for ac_exec_ext in '' $ac_executable_extensions; do
11333
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11334
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11335
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11344
RANLIB=$ac_cv_prog_RANLIB
11345
if test -n "$RANLIB"; then
11346
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
11347
$as_echo "$RANLIB" >&6; }
11349
{ $as_echo "$as_me:$LINENO: result: no" >&5
11350
$as_echo "no" >&6; }
11355
if test -z "$ac_cv_prog_RANLIB"; then
11356
ac_ct_RANLIB=$RANLIB
11357
# Extract the first word of "ranlib", so it can be a program name with args.
11358
set dummy ranlib; ac_word=$2
11359
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11360
$as_echo_n "checking for $ac_word... " >&6; }
11361
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11362
$as_echo_n "(cached) " >&6
11364
if test -n "$ac_ct_RANLIB"; then
11365
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11367
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11368
for as_dir in $PATH
11371
test -z "$as_dir" && as_dir=.
11372
for ac_exec_ext in '' $ac_executable_extensions; do
11373
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11374
ac_cv_prog_ac_ct_RANLIB="ranlib"
11375
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11384
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11385
if test -n "$ac_ct_RANLIB"; then
11386
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11387
$as_echo "$ac_ct_RANLIB" >&6; }
11389
{ $as_echo "$as_me:$LINENO: result: no" >&5
11390
$as_echo "no" >&6; }
11393
if test "x$ac_ct_RANLIB" = x; then
11396
case $cross_compiling:$ac_tool_warned in
11398
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11399
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11400
ac_tool_warned=yes ;;
11402
RANLIB=$ac_ct_RANLIB
11405
RANLIB="$ac_cv_prog_RANLIB"
11408
test -z "$RANLIB" && RANLIB=:
11415
# Determine commands to create old-style static archives.
11416
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
11417
old_postinstall_cmds='chmod 644 $oldlib'
11418
old_postuninstall_cmds=
11420
if test -n "$RANLIB"; then
11423
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
11426
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
11429
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
11465
# If no C compiler was specified, use CC.
11468
# If no C compiler flags were specified, use CFLAGS.
11469
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11471
# Allow CC to be a program name with arguments.
11475
# Check for command to grab the raw symbol name followed by C symbol from nm.
11476
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
11477
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
11478
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
11479
$as_echo_n "(cached) " >&6
11482
# These are sane defaults that work on at least a few old systems.
11483
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
11485
# Character class describing NM global symbol codes.
11486
symcode='[BCDEGRST]'
11488
# Regexp to match symbols that can be accessed directly from C.
11489
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
11491
# Define system-specific variables.
11496
cygwin* | mingw* | pw32* | cegcc*)
11497
symcode='[ABCDGISTW]'
11500
if test "$host_cpu" = ia64; then
11501
symcode='[ABCDEGRST]'
11504
irix* | nonstopux*)
11505
symcode='[BCDEGRST]'
11508
symcode='[BCDEGQRST]'
11519
sysv5* | sco5v6* | unixware* | OpenUNIX*)
11527
# If we're using GNU nm, then use its standard symbol codes.
11528
case `$NM -V 2>&1` in
11529
*GNU* | *'with BFD'*)
11530
symcode='[ABCDGIRSTW]' ;;
11533
# Transform an extracted symbol line into a proper C declaration.
11534
# Some systems (esp. on ia64) link data and code symbols differently,
11535
# so use this general approach.
11536
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11538
# Transform an extracted symbol line into symbol name and symbol address
11539
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
11540
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
11542
# Handle CRLF in mingw tool chain
11546
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11550
# Try without a prefix underscore, then with it.
11551
for ac_symprfx in "" "_"; do
11553
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
11554
symxfrm="\\1 $ac_symprfx\\2 \\2"
11556
# Write the raw and C identifiers.
11557
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
11558
# Fake it for dumpbin and say T for any non-static function
11559
# and D for any global variable.
11560
# Also find C++ and __fastcall symbols from MSVC++,
11561
# which start with @ or ?.
11562
lt_cv_sys_global_symbol_pipe="$AWK '"\
11563
" {last_section=section; section=\$ 3};"\
11564
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
11565
" \$ 0!~/External *\|/{next};"\
11566
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
11567
" {if(hide[section]) next};"\
11568
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
11569
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
11570
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
11571
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
11572
" ' prfx=^$ac_symprfx"
11574
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11577
# Check to see that the pipe works correctly.
11581
cat > conftest.$ac_ext <<_LT_EOF
11586
void nm_test_func(void);
11587
void nm_test_func(void){}
11591
int main(){nm_test_var='a';nm_test_func();return(0);}
11594
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11595
(eval $ac_compile) 2>&5
11597
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598
(exit $ac_status); }; then
11599
# Now try to grab the symbols.
11601
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
11602
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
11604
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605
(exit $ac_status); } && test -s "$nlist"; then
11606
# Try sorting and uniquifying the output.
11607
if sort "$nlist" | uniq > "$nlist"T; then
11608
mv -f "$nlist"T "$nlist"
11613
# Make sure that we snagged all the symbols we need.
11614
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
11615
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
11616
cat <<_LT_EOF > conftest.$ac_ext
11622
# Now generate the symbol file.
11623
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
11625
cat <<_LT_EOF >> conftest.$ac_ext
11627
/* The mapping between symbol names and symbols. */
11632
lt__PROGRAM__LTX_preloaded_symbols[] =
11634
{ "@PROGRAM@", (void *) 0 },
11636
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
11637
cat <<\_LT_EOF >> conftest.$ac_ext
11641
/* This works around a problem in FreeBSD linker */
11642
#ifdef FREEBSD_WORKAROUND
11643
static const void *lt_preloaded_setup() {
11644
return lt__PROGRAM__LTX_preloaded_symbols;
11652
# Now try linking the two files.
11653
mv conftest.$ac_objext conftstm.$ac_objext
11654
lt_save_LIBS="$LIBS"
11655
lt_save_CFLAGS="$CFLAGS"
11656
LIBS="conftstm.$ac_objext"
11657
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11658
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11659
(eval $ac_link) 2>&5
11661
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662
(exit $ac_status); } && test -s conftest${ac_exeext}; then
11665
LIBS="$lt_save_LIBS"
11666
CFLAGS="$lt_save_CFLAGS"
11668
echo "cannot find nm_test_func in $nlist" >&5
11671
echo "cannot find nm_test_var in $nlist" >&5
11674
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
11677
echo "$progname: failed program was:" >&5
11678
cat conftest.$ac_ext >&5
11680
rm -rf conftest* conftst*
11682
# Do not use the global_symbol_pipe unless it works.
11683
if test "$pipe_works" = yes; then
11686
lt_cv_sys_global_symbol_pipe=
11692
if test -z "$lt_cv_sys_global_symbol_pipe"; then
11693
lt_cv_sys_global_symbol_to_cdecl=
11695
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
11696
{ $as_echo "$as_me:$LINENO: result: failed" >&5
11697
$as_echo "failed" >&6; }
11699
{ $as_echo "$as_me:$LINENO: result: ok" >&5
11700
$as_echo "ok" >&6; }
11724
# Check whether --enable-libtool-lock was given.
11725
if test "${enable_libtool_lock+set}" = set; then
11726
enableval=$enable_libtool_lock;
11729
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11731
# Some flags need to be propagated to the compiler or linker for good
11735
# Find out which ABI we are using.
11736
echo 'int i;' > conftest.$ac_ext
11737
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11738
(eval $ac_compile) 2>&5
11740
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741
(exit $ac_status); }; then
11742
case `/usr/bin/file conftest.$ac_objext` in
11744
HPUX_IA64_MODE="32"
11747
HPUX_IA64_MODE="64"
11754
# Find out which ABI we are using.
11755
echo '#line 11755 "configure"' > conftest.$ac_ext
11756
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11757
(eval $ac_compile) 2>&5
11759
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760
(exit $ac_status); }; then
11761
if test "$lt_cv_prog_gnu_ld" = yes; then
11762
case `/usr/bin/file conftest.$ac_objext` in
11764
LD="${LD-ld} -melf32bsmip"
11767
LD="${LD-ld} -melf32bmipn32"
11770
LD="${LD-ld} -melf64bmip"
11774
case `/usr/bin/file conftest.$ac_objext` in
11790
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
11791
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
11792
# Find out which ABI we are using.
11793
echo 'int i;' > conftest.$ac_ext
11794
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11795
(eval $ac_compile) 2>&5
11797
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798
(exit $ac_status); }; then
11799
case `/usr/bin/file conftest.o` in
11802
x86_64-*kfreebsd*-gnu)
11803
LD="${LD-ld} -m elf_i386_fbsd"
11806
LD="${LD-ld} -m elf_i386"
11808
ppc64-*linux*|powerpc64-*linux*)
11809
LD="${LD-ld} -m elf32ppclinux"
11812
LD="${LD-ld} -m elf_s390"
11815
LD="${LD-ld} -m elf32_sparc"
11821
x86_64-*kfreebsd*-gnu)
11822
LD="${LD-ld} -m elf_x86_64_fbsd"
11825
LD="${LD-ld} -m elf_x86_64"
11827
ppc*-*linux*|powerpc*-*linux*)
11828
LD="${LD-ld} -m elf64ppc"
11830
s390*-*linux*|s390*-*tpf*)
11831
LD="${LD-ld} -m elf64_s390"
11834
LD="${LD-ld} -m elf64_sparc"
11844
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
11845
SAVE_CFLAGS="$CFLAGS"
11846
CFLAGS="$CFLAGS -belf"
11847
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
11848
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
11849
if test "${lt_cv_cc_needs_belf+set}" = set; then
11850
$as_echo_n "(cached) " >&6
11853
ac_cpp='$CPP $CPPFLAGS'
11854
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11855
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11856
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11858
cat >conftest.$ac_ext <<_ACEOF
11861
cat confdefs.h >>conftest.$ac_ext
11862
cat >>conftest.$ac_ext <<_ACEOF
11863
/* end confdefs.h. */
11873
rm -f conftest.$ac_objext conftest$ac_exeext
11874
if { (ac_try="$ac_link"
11875
case "(($ac_try" in
11876
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11877
*) ac_try_echo=$ac_try;;
11879
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11880
$as_echo "$ac_try_echo") >&5
11881
(eval "$ac_link") 2>conftest.er1
11883
grep -v '^ *+' conftest.er1 >conftest.err
11885
cat conftest.err >&5
11886
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887
(exit $ac_status); } && {
11888
test -z "$ac_c_werror_flag" ||
11889
test ! -s conftest.err
11890
} && test -s conftest$ac_exeext && {
11891
test "$cross_compiling" = yes ||
11892
$as_test_x conftest$ac_exeext
11894
lt_cv_cc_needs_belf=yes
11896
$as_echo "$as_me: failed program was:" >&5
11897
sed 's/^/| /' conftest.$ac_ext >&5
11899
lt_cv_cc_needs_belf=no
11902
rm -rf conftest.dSYM
11903
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11904
conftest$ac_exeext conftest.$ac_ext
11906
ac_cpp='$CPP $CPPFLAGS'
11907
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11908
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11909
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11912
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
11913
$as_echo "$lt_cv_cc_needs_belf" >&6; }
11914
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
11915
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11916
CFLAGS="$SAVE_CFLAGS"
11920
# Find out which ABI we are using.
11921
echo 'int i;' > conftest.$ac_ext
11922
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11923
(eval $ac_compile) 2>&5
11925
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926
(exit $ac_status); }; then
11927
case `/usr/bin/file conftest.o` in
11929
case $lt_cv_prog_gnu_ld in
11930
yes*) LD="${LD-ld} -m elf64_sparc" ;;
11932
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11944
need_locks="$enable_libtool_lock"
11948
rhapsody* | darwin*)
11949
if test -n "$ac_tool_prefix"; then
11950
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
11951
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
11952
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11953
$as_echo_n "checking for $ac_word... " >&6; }
11954
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
11955
$as_echo_n "(cached) " >&6
11957
if test -n "$DSYMUTIL"; then
11958
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11961
for as_dir in $PATH
11964
test -z "$as_dir" && as_dir=.
11965
for ac_exec_ext in '' $ac_executable_extensions; do
11966
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11967
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
11968
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11977
DSYMUTIL=$ac_cv_prog_DSYMUTIL
11978
if test -n "$DSYMUTIL"; then
11979
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
11980
$as_echo "$DSYMUTIL" >&6; }
11982
{ $as_echo "$as_me:$LINENO: result: no" >&5
11983
$as_echo "no" >&6; }
11988
if test -z "$ac_cv_prog_DSYMUTIL"; then
11989
ac_ct_DSYMUTIL=$DSYMUTIL
11990
# Extract the first word of "dsymutil", so it can be a program name with args.
11991
set dummy dsymutil; ac_word=$2
11992
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11993
$as_echo_n "checking for $ac_word... " >&6; }
11994
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
11995
$as_echo_n "(cached) " >&6
11997
if test -n "$ac_ct_DSYMUTIL"; then
11998
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
12000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12001
for as_dir in $PATH
12004
test -z "$as_dir" && as_dir=.
12005
for ac_exec_ext in '' $ac_executable_extensions; do
12006
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12007
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
12008
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12017
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
12018
if test -n "$ac_ct_DSYMUTIL"; then
12019
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
12020
$as_echo "$ac_ct_DSYMUTIL" >&6; }
12022
{ $as_echo "$as_me:$LINENO: result: no" >&5
12023
$as_echo "no" >&6; }
12026
if test "x$ac_ct_DSYMUTIL" = x; then
12029
case $cross_compiling:$ac_tool_warned in
12031
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12032
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12033
ac_tool_warned=yes ;;
12035
DSYMUTIL=$ac_ct_DSYMUTIL
12038
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
12041
if test -n "$ac_tool_prefix"; then
12042
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
12043
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
12044
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12045
$as_echo_n "checking for $ac_word... " >&6; }
12046
if test "${ac_cv_prog_NMEDIT+set}" = set; then
12047
$as_echo_n "(cached) " >&6
12049
if test -n "$NMEDIT"; then
12050
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
12052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12053
for as_dir in $PATH
12056
test -z "$as_dir" && as_dir=.
12057
for ac_exec_ext in '' $ac_executable_extensions; do
12058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12059
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
12060
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12069
NMEDIT=$ac_cv_prog_NMEDIT
12070
if test -n "$NMEDIT"; then
12071
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
12072
$as_echo "$NMEDIT" >&6; }
12074
{ $as_echo "$as_me:$LINENO: result: no" >&5
12075
$as_echo "no" >&6; }
12080
if test -z "$ac_cv_prog_NMEDIT"; then
12081
ac_ct_NMEDIT=$NMEDIT
12082
# Extract the first word of "nmedit", so it can be a program name with args.
12083
set dummy nmedit; ac_word=$2
12084
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12085
$as_echo_n "checking for $ac_word... " >&6; }
12086
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
12087
$as_echo_n "(cached) " >&6
12089
if test -n "$ac_ct_NMEDIT"; then
12090
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
12092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12093
for as_dir in $PATH
12096
test -z "$as_dir" && as_dir=.
12097
for ac_exec_ext in '' $ac_executable_extensions; do
12098
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12099
ac_cv_prog_ac_ct_NMEDIT="nmedit"
12100
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12109
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
12110
if test -n "$ac_ct_NMEDIT"; then
12111
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
12112
$as_echo "$ac_ct_NMEDIT" >&6; }
12114
{ $as_echo "$as_me:$LINENO: result: no" >&5
12115
$as_echo "no" >&6; }
12118
if test "x$ac_ct_NMEDIT" = x; then
12121
case $cross_compiling:$ac_tool_warned in
12123
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12125
ac_tool_warned=yes ;;
12127
NMEDIT=$ac_ct_NMEDIT
12130
NMEDIT="$ac_cv_prog_NMEDIT"
12133
if test -n "$ac_tool_prefix"; then
12134
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
12135
set dummy ${ac_tool_prefix}lipo; ac_word=$2
12136
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12137
$as_echo_n "checking for $ac_word... " >&6; }
12138
if test "${ac_cv_prog_LIPO+set}" = set; then
12139
$as_echo_n "(cached) " >&6
12141
if test -n "$LIPO"; then
12142
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
12144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145
for as_dir in $PATH
12148
test -z "$as_dir" && as_dir=.
12149
for ac_exec_ext in '' $ac_executable_extensions; do
12150
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12151
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
12152
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12161
LIPO=$ac_cv_prog_LIPO
12162
if test -n "$LIPO"; then
12163
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5
12164
$as_echo "$LIPO" >&6; }
12166
{ $as_echo "$as_me:$LINENO: result: no" >&5
12167
$as_echo "no" >&6; }
12172
if test -z "$ac_cv_prog_LIPO"; then
12174
# Extract the first word of "lipo", so it can be a program name with args.
12175
set dummy lipo; ac_word=$2
12176
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12177
$as_echo_n "checking for $ac_word... " >&6; }
12178
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
12179
$as_echo_n "(cached) " >&6
12181
if test -n "$ac_ct_LIPO"; then
12182
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
12184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12185
for as_dir in $PATH
12188
test -z "$as_dir" && as_dir=.
12189
for ac_exec_ext in '' $ac_executable_extensions; do
12190
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12191
ac_cv_prog_ac_ct_LIPO="lipo"
12192
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12201
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
12202
if test -n "$ac_ct_LIPO"; then
12203
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
12204
$as_echo "$ac_ct_LIPO" >&6; }
12206
{ $as_echo "$as_me:$LINENO: result: no" >&5
12207
$as_echo "no" >&6; }
12210
if test "x$ac_ct_LIPO" = x; then
12213
case $cross_compiling:$ac_tool_warned in
12215
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12216
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12217
ac_tool_warned=yes ;;
12222
LIPO="$ac_cv_prog_LIPO"
12225
if test -n "$ac_tool_prefix"; then
12226
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
12227
set dummy ${ac_tool_prefix}otool; ac_word=$2
12228
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12229
$as_echo_n "checking for $ac_word... " >&6; }
12230
if test "${ac_cv_prog_OTOOL+set}" = set; then
12231
$as_echo_n "(cached) " >&6
12233
if test -n "$OTOOL"; then
12234
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237
for as_dir in $PATH
12240
test -z "$as_dir" && as_dir=.
12241
for ac_exec_ext in '' $ac_executable_extensions; do
12242
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12243
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
12244
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12253
OTOOL=$ac_cv_prog_OTOOL
12254
if test -n "$OTOOL"; then
12255
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
12256
$as_echo "$OTOOL" >&6; }
12258
{ $as_echo "$as_me:$LINENO: result: no" >&5
12259
$as_echo "no" >&6; }
12264
if test -z "$ac_cv_prog_OTOOL"; then
12266
# Extract the first word of "otool", so it can be a program name with args.
12267
set dummy otool; ac_word=$2
12268
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12269
$as_echo_n "checking for $ac_word... " >&6; }
12270
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
12271
$as_echo_n "(cached) " >&6
12273
if test -n "$ac_ct_OTOOL"; then
12274
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
12276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12277
for as_dir in $PATH
12280
test -z "$as_dir" && as_dir=.
12281
for ac_exec_ext in '' $ac_executable_extensions; do
12282
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12283
ac_cv_prog_ac_ct_OTOOL="otool"
12284
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12293
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
12294
if test -n "$ac_ct_OTOOL"; then
12295
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
12296
$as_echo "$ac_ct_OTOOL" >&6; }
12298
{ $as_echo "$as_me:$LINENO: result: no" >&5
12299
$as_echo "no" >&6; }
12302
if test "x$ac_ct_OTOOL" = x; then
12305
case $cross_compiling:$ac_tool_warned in
12307
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12308
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12309
ac_tool_warned=yes ;;
12314
OTOOL="$ac_cv_prog_OTOOL"
12317
if test -n "$ac_tool_prefix"; then
12318
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
12319
set dummy ${ac_tool_prefix}otool64; ac_word=$2
12320
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12321
$as_echo_n "checking for $ac_word... " >&6; }
12322
if test "${ac_cv_prog_OTOOL64+set}" = set; then
12323
$as_echo_n "(cached) " >&6
12325
if test -n "$OTOOL64"; then
12326
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
12328
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12329
for as_dir in $PATH
12332
test -z "$as_dir" && as_dir=.
12333
for ac_exec_ext in '' $ac_executable_extensions; do
12334
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12335
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
12336
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12345
OTOOL64=$ac_cv_prog_OTOOL64
12346
if test -n "$OTOOL64"; then
12347
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
12348
$as_echo "$OTOOL64" >&6; }
12350
{ $as_echo "$as_me:$LINENO: result: no" >&5
12351
$as_echo "no" >&6; }
12356
if test -z "$ac_cv_prog_OTOOL64"; then
12357
ac_ct_OTOOL64=$OTOOL64
12358
# Extract the first word of "otool64", so it can be a program name with args.
12359
set dummy otool64; ac_word=$2
12360
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12361
$as_echo_n "checking for $ac_word... " >&6; }
12362
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
12363
$as_echo_n "(cached) " >&6
12365
if test -n "$ac_ct_OTOOL64"; then
12366
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
12368
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369
for as_dir in $PATH
12372
test -z "$as_dir" && as_dir=.
12373
for ac_exec_ext in '' $ac_executable_extensions; do
12374
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12375
ac_cv_prog_ac_ct_OTOOL64="otool64"
12376
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12385
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
12386
if test -n "$ac_ct_OTOOL64"; then
12387
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
12388
$as_echo "$ac_ct_OTOOL64" >&6; }
12390
{ $as_echo "$as_me:$LINENO: result: no" >&5
12391
$as_echo "no" >&6; }
12394
if test "x$ac_ct_OTOOL64" = x; then
12397
case $cross_compiling:$ac_tool_warned in
12399
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12400
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12401
ac_tool_warned=yes ;;
12403
OTOOL64=$ac_ct_OTOOL64
12406
OTOOL64="$ac_cv_prog_OTOOL64"
12435
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
12436
$as_echo_n "checking for -single_module linker flag... " >&6; }
12437
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12438
$as_echo_n "(cached) " >&6
12440
lt_cv_apple_cc_single_mod=no
12441
if test -z "${LT_MULTI_MODULE}"; then
12442
# By default we will add the -single_module flag. You can override
12443
# by either setting the environment variable LT_MULTI_MODULE
12444
# non-empty at configure time, or by adding -multi_module to the
12446
rm -rf libconftest.dylib*
12447
echo "int foo(void){return 1;}" > conftest.c
12448
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12449
-dynamiclib -Wl,-single_module conftest.c" >&5
12450
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12451
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
12453
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
12454
lt_cv_apple_cc_single_mod=yes
12456
cat conftest.err >&5
12458
rm -rf libconftest.dylib*
12462
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
12463
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
12464
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
12465
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
12466
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
12467
$as_echo_n "(cached) " >&6
12469
lt_cv_ld_exported_symbols_list=no
12470
save_LDFLAGS=$LDFLAGS
12471
echo "_main" > conftest.sym
12472
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
12473
cat >conftest.$ac_ext <<_ACEOF
12476
cat confdefs.h >>conftest.$ac_ext
12477
cat >>conftest.$ac_ext <<_ACEOF
12478
/* end confdefs.h. */
12488
rm -f conftest.$ac_objext conftest$ac_exeext
12489
if { (ac_try="$ac_link"
12490
case "(($ac_try" in
12491
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12492
*) ac_try_echo=$ac_try;;
12494
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12495
$as_echo "$ac_try_echo") >&5
12496
(eval "$ac_link") 2>conftest.er1
12498
grep -v '^ *+' conftest.er1 >conftest.err
12500
cat conftest.err >&5
12501
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502
(exit $ac_status); } && {
12503
test -z "$ac_c_werror_flag" ||
12504
test ! -s conftest.err
12505
} && test -s conftest$ac_exeext && {
12506
test "$cross_compiling" = yes ||
12507
$as_test_x conftest$ac_exeext
12509
lt_cv_ld_exported_symbols_list=yes
12511
$as_echo "$as_me: failed program was:" >&5
12512
sed 's/^/| /' conftest.$ac_ext >&5
12514
lt_cv_ld_exported_symbols_list=no
12517
rm -rf conftest.dSYM
12518
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12519
conftest$ac_exeext conftest.$ac_ext
12520
LDFLAGS="$save_LDFLAGS"
12523
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
12524
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
12526
rhapsody* | darwin1.[012])
12527
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
12529
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
12530
darwin*) # darwin 5.x on
12531
# if running on 10.5 or later, the deployment target defaults
12532
# to the OS version, if on x86, and 10.4, the deployment
12533
# target defaults to 10.4. Don't you love it?
12534
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
12535
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
12536
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
12538
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
12540
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
12544
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
12545
_lt_dar_single_mod='$single_module'
12547
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
12548
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
12550
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
12552
if test "$DSYMUTIL" != ":"; then
12553
_lt_dsymutil='~$DSYMUTIL $lib || :'
12561
for ac_header in dlfcn.h
12563
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12564
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12565
$as_echo_n "checking for $ac_header... " >&6; }
12566
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12567
$as_echo_n "(cached) " >&6
12569
cat >conftest.$ac_ext <<_ACEOF
12572
cat confdefs.h >>conftest.$ac_ext
12573
cat >>conftest.$ac_ext <<_ACEOF
12574
/* end confdefs.h. */
12575
$ac_includes_default
12577
#include <$ac_header>
12579
rm -f conftest.$ac_objext
12580
if { (ac_try="$ac_compile"
12581
case "(($ac_try" in
12582
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12583
*) ac_try_echo=$ac_try;;
12585
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12586
$as_echo "$ac_try_echo") >&5
12587
(eval "$ac_compile") 2>conftest.er1
12589
grep -v '^ *+' conftest.er1 >conftest.err
12591
cat conftest.err >&5
12592
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593
(exit $ac_status); } && {
12594
test -z "$ac_c_werror_flag" ||
12595
test ! -s conftest.err
12596
} && test -s conftest.$ac_objext; then
12597
eval "$as_ac_Header=yes"
12599
$as_echo "$as_me: failed program was:" >&5
12600
sed 's/^/| /' conftest.$ac_ext >&5
12602
eval "$as_ac_Header=no"
12605
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12607
ac_res=`eval 'as_val=${'$as_ac_Header'}
12608
$as_echo "$as_val"'`
12609
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12610
$as_echo "$ac_res" >&6; }
12611
as_val=`eval 'as_val=${'$as_ac_Header'}
12612
$as_echo "$as_val"'`
12613
if test "x$as_val" = x""yes; then
12614
cat >>confdefs.h <<_ACEOF
12615
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12625
ac_cpp='$CXXCPP $CPPFLAGS'
12626
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12627
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12628
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12629
if test -z "$CXX"; then
12630
if test -n "$CCC"; then
12633
if test -n "$ac_tool_prefix"; then
12634
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12636
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12637
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12638
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12639
$as_echo_n "checking for $ac_word... " >&6; }
12640
if test "${ac_cv_prog_CXX+set}" = set; then
12641
$as_echo_n "(cached) " >&6
12643
if test -n "$CXX"; then
12644
ac_cv_prog_CXX="$CXX" # Let the user override the test.
12646
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12647
for as_dir in $PATH
12650
test -z "$as_dir" && as_dir=.
12651
for ac_exec_ext in '' $ac_executable_extensions; do
12652
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12653
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12654
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12663
CXX=$ac_cv_prog_CXX
12664
if test -n "$CXX"; then
12665
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
12666
$as_echo "$CXX" >&6; }
12668
{ $as_echo "$as_me:$LINENO: result: no" >&5
12669
$as_echo "no" >&6; }
12673
test -n "$CXX" && break
12676
if test -z "$CXX"; then
12678
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12680
# Extract the first word of "$ac_prog", so it can be a program name with args.
12681
set dummy $ac_prog; ac_word=$2
12682
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12683
$as_echo_n "checking for $ac_word... " >&6; }
12684
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12685
$as_echo_n "(cached) " >&6
12687
if test -n "$ac_ct_CXX"; then
12688
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12690
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12691
for as_dir in $PATH
12694
test -z "$as_dir" && as_dir=.
12695
for ac_exec_ext in '' $ac_executable_extensions; do
12696
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12697
ac_cv_prog_ac_ct_CXX="$ac_prog"
12698
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12707
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12708
if test -n "$ac_ct_CXX"; then
12709
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12710
$as_echo "$ac_ct_CXX" >&6; }
12712
{ $as_echo "$as_me:$LINENO: result: no" >&5
12713
$as_echo "no" >&6; }
12717
test -n "$ac_ct_CXX" && break
12720
if test "x$ac_ct_CXX" = x; then
12723
case $cross_compiling:$ac_tool_warned in
12725
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12726
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12727
ac_tool_warned=yes ;;
12735
# Provide some information about the compiler.
12736
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
12739
{ (ac_try="$ac_compiler --version >&5"
12740
case "(($ac_try" in
12741
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12742
*) ac_try_echo=$ac_try;;
12744
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12745
$as_echo "$ac_try_echo") >&5
12746
(eval "$ac_compiler --version >&5") 2>&5
12748
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749
(exit $ac_status); }
12750
{ (ac_try="$ac_compiler -v >&5"
12751
case "(($ac_try" in
12752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12753
*) ac_try_echo=$ac_try;;
12755
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12756
$as_echo "$ac_try_echo") >&5
12757
(eval "$ac_compiler -v >&5") 2>&5
12759
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760
(exit $ac_status); }
12761
{ (ac_try="$ac_compiler -V >&5"
12762
case "(($ac_try" in
12763
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12764
*) ac_try_echo=$ac_try;;
12766
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12767
$as_echo "$ac_try_echo") >&5
12768
(eval "$ac_compiler -V >&5") 2>&5
12770
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771
(exit $ac_status); }
12773
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12774
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12775
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12776
$as_echo_n "(cached) " >&6
12778
cat >conftest.$ac_ext <<_ACEOF
12781
cat confdefs.h >>conftest.$ac_ext
12782
cat >>conftest.$ac_ext <<_ACEOF
12783
/* end confdefs.h. */
12796
rm -f conftest.$ac_objext
12797
if { (ac_try="$ac_compile"
12798
case "(($ac_try" in
12799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12800
*) ac_try_echo=$ac_try;;
12802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12803
$as_echo "$ac_try_echo") >&5
12804
(eval "$ac_compile") 2>conftest.er1
12806
grep -v '^ *+' conftest.er1 >conftest.err
12808
cat conftest.err >&5
12809
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810
(exit $ac_status); } && {
12811
test -z "$ac_cxx_werror_flag" ||
12812
test ! -s conftest.err
12813
} && test -s conftest.$ac_objext; then
12814
ac_compiler_gnu=yes
12816
$as_echo "$as_me: failed program was:" >&5
12817
sed 's/^/| /' conftest.$ac_ext >&5
12822
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12823
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12826
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12827
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12828
if test $ac_compiler_gnu = yes; then
12833
ac_test_CXXFLAGS=${CXXFLAGS+set}
12834
ac_save_CXXFLAGS=$CXXFLAGS
12835
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12836
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
12837
if test "${ac_cv_prog_cxx_g+set}" = set; then
12838
$as_echo_n "(cached) " >&6
12840
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12841
ac_cxx_werror_flag=yes
12842
ac_cv_prog_cxx_g=no
12844
cat >conftest.$ac_ext <<_ACEOF
12847
cat confdefs.h >>conftest.$ac_ext
12848
cat >>conftest.$ac_ext <<_ACEOF
12849
/* end confdefs.h. */
12859
rm -f conftest.$ac_objext
12860
if { (ac_try="$ac_compile"
12861
case "(($ac_try" in
12862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12863
*) ac_try_echo=$ac_try;;
12865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12866
$as_echo "$ac_try_echo") >&5
12867
(eval "$ac_compile") 2>conftest.er1
12869
grep -v '^ *+' conftest.er1 >conftest.err
12871
cat conftest.err >&5
12872
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873
(exit $ac_status); } && {
12874
test -z "$ac_cxx_werror_flag" ||
12875
test ! -s conftest.err
12876
} && test -s conftest.$ac_objext; then
12877
ac_cv_prog_cxx_g=yes
12879
$as_echo "$as_me: failed program was:" >&5
12880
sed 's/^/| /' conftest.$ac_ext >&5
12883
cat >conftest.$ac_ext <<_ACEOF
12886
cat confdefs.h >>conftest.$ac_ext
12887
cat >>conftest.$ac_ext <<_ACEOF
12888
/* end confdefs.h. */
12898
rm -f conftest.$ac_objext
12899
if { (ac_try="$ac_compile"
12900
case "(($ac_try" in
12901
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12902
*) ac_try_echo=$ac_try;;
12904
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12905
$as_echo "$ac_try_echo") >&5
12906
(eval "$ac_compile") 2>conftest.er1
12908
grep -v '^ *+' conftest.er1 >conftest.err
12910
cat conftest.err >&5
12911
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912
(exit $ac_status); } && {
12913
test -z "$ac_cxx_werror_flag" ||
12914
test ! -s conftest.err
12915
} && test -s conftest.$ac_objext; then
12918
$as_echo "$as_me: failed program was:" >&5
12919
sed 's/^/| /' conftest.$ac_ext >&5
12921
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12923
cat >conftest.$ac_ext <<_ACEOF
12926
cat confdefs.h >>conftest.$ac_ext
12927
cat >>conftest.$ac_ext <<_ACEOF
12928
/* end confdefs.h. */
12938
rm -f conftest.$ac_objext
12939
if { (ac_try="$ac_compile"
12940
case "(($ac_try" in
12941
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12942
*) ac_try_echo=$ac_try;;
12944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12945
$as_echo "$ac_try_echo") >&5
12946
(eval "$ac_compile") 2>conftest.er1
12948
grep -v '^ *+' conftest.er1 >conftest.err
12950
cat conftest.err >&5
12951
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952
(exit $ac_status); } && {
12953
test -z "$ac_cxx_werror_flag" ||
12954
test ! -s conftest.err
12955
} && test -s conftest.$ac_objext; then
12956
ac_cv_prog_cxx_g=yes
12958
$as_echo "$as_me: failed program was:" >&5
12959
sed 's/^/| /' conftest.$ac_ext >&5
12964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12967
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12970
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12971
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12973
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12974
$as_echo "$ac_cv_prog_cxx_g" >&6; }
12975
if test "$ac_test_CXXFLAGS" = set; then
12976
CXXFLAGS=$ac_save_CXXFLAGS
12977
elif test $ac_cv_prog_cxx_g = yes; then
12978
if test "$GXX" = yes; then
12984
if test "$GXX" = yes; then
12991
ac_cpp='$CPP $CPPFLAGS'
12992
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12993
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12994
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12996
depcc="$CXX" am_compiler_list=
12998
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12999
$as_echo_n "checking dependency style of $depcc... " >&6; }
13000
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13001
$as_echo_n "(cached) " >&6
13003
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13004
# We make a subdir and do the tests there. Otherwise we can end up
13005
# making bogus files that we don't know about and never remove. For
13006
# instance it was reported that on HP-UX the gcc test will end up
13007
# making a dummy file named `D' -- because `-MD' means `put the output
13010
# Copy depcomp to subdir because otherwise we won't find it if we're
13011
# using a relative directory.
13012
cp "$am_depcomp" conftest.dir
13014
# We will build objects and dependencies in a subdirectory because
13015
# it helps to detect inapplicable dependency modes. For instance
13016
# both Tru64's cc and ICC support -MD to output dependencies as a
13017
# side effect of compilation, but ICC will put the dependencies in
13018
# the current directory while Tru64 will put them in the object
13022
am_cv_CXX_dependencies_compiler_type=none
13023
if test "$am_compiler_list" = ""; then
13024
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13026
for depmode in $am_compiler_list; do
13027
# Setup a source with many dependencies, because some compilers
13028
# like to wrap large dependency lists on column 80 (with \), and
13029
# we should not choose a depcomp mode which is confused by this.
13031
# We need to recreate these files for each test, as the compiler may
13032
# overwrite some of them when testing with obscure command lines.
13033
# This happens at least with the AIX C compiler.
13035
for i in 1 2 3 4 5 6; do
13036
echo '#include "conftst'$i'.h"' >> sub/conftest.c
13037
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13038
# Solaris 8's {/usr,}/bin/sh.
13039
touch sub/conftst$i.h
13041
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13045
# after this tag, mechanisms are not by side-effect, so they'll
13046
# only be used when explicitly requested
13047
if test "x$enable_dependency_tracking" = xyes; then
13055
# We check with `-c' and `-o' for the sake of the "dashmstdout"
13056
# mode. It turns out that the SunPro C++ compiler does not properly
13057
# handle `-M -o', and we need to detect this.
13058
if depmode=$depmode \
13059
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13060
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13061
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13062
>/dev/null 2>conftest.err &&
13063
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13064
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13065
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13066
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13067
# icc doesn't choke on unknown options, it will just issue warnings
13068
# or remarks (even with -Werror). So we grep stderr for any message
13069
# that says an option was ignored or not supported.
13070
# When given -MP, icc 7.0 and 7.1 complain thusly:
13071
# icc: Command line warning: ignoring option '-M'; no argument required
13072
# The diagnosis changed in icc 8.0:
13073
# icc: Command line remark: option '-MP' not supported
13074
if (grep 'ignoring option' conftest.err ||
13075
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13076
am_cv_CXX_dependencies_compiler_type=$depmode
13083
rm -rf conftest.dir
13085
am_cv_CXX_dependencies_compiler_type=none
13089
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13090
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13091
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13094
test "x$enable_dependency_tracking" != xno \
13095
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13096
am__fastdepCXX_TRUE=
13097
am__fastdepCXX_FALSE='#'
13099
am__fastdepCXX_TRUE='#'
13100
am__fastdepCXX_FALSE=
13104
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13105
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13106
(test "X$CXX" != "Xg++"))) ; then
13108
ac_cpp='$CXXCPP $CPPFLAGS'
13109
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13110
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13111
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13112
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13113
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13114
if test -z "$CXXCPP"; then
13115
if test "${ac_cv_prog_CXXCPP+set}" = set; then
13116
$as_echo_n "(cached) " >&6
13118
# Double quotes because CXXCPP needs to be expanded
13119
for CXXCPP in "$CXX -E" "/lib/cpp"
13121
ac_preproc_ok=false
13122
for ac_cxx_preproc_warn_flag in '' yes
13124
# Use a header file that comes with gcc, so configuring glibc
13125
# with a fresh cross-compiler works.
13126
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13127
# <limits.h> exists even on freestanding compilers.
13128
# On the NeXT, cc -E runs the code through the compiler's parser,
13129
# not just through cpp. "Syntax error" is here to catch this case.
13130
cat >conftest.$ac_ext <<_ACEOF
13133
cat confdefs.h >>conftest.$ac_ext
13134
cat >>conftest.$ac_ext <<_ACEOF
13135
/* end confdefs.h. */
13137
# include <limits.h>
13139
# include <assert.h>
13143
if { (ac_try="$ac_cpp conftest.$ac_ext"
13144
case "(($ac_try" in
13145
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13146
*) ac_try_echo=$ac_try;;
13148
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13149
$as_echo "$ac_try_echo") >&5
13150
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13152
grep -v '^ *+' conftest.er1 >conftest.err
13154
cat conftest.err >&5
13155
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156
(exit $ac_status); } >/dev/null && {
13157
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13158
test ! -s conftest.err
13162
$as_echo "$as_me: failed program was:" >&5
13163
sed 's/^/| /' conftest.$ac_ext >&5
13165
# Broken: fails on valid input.
13169
rm -f conftest.err conftest.$ac_ext
13171
# OK, works on sane cases. Now check whether nonexistent headers
13172
# can be detected and how.
13173
cat >conftest.$ac_ext <<_ACEOF
13176
cat confdefs.h >>conftest.$ac_ext
13177
cat >>conftest.$ac_ext <<_ACEOF
13178
/* end confdefs.h. */
13179
#include <ac_nonexistent.h>
13181
if { (ac_try="$ac_cpp conftest.$ac_ext"
13182
case "(($ac_try" in
13183
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13184
*) ac_try_echo=$ac_try;;
13186
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13187
$as_echo "$ac_try_echo") >&5
13188
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13190
grep -v '^ *+' conftest.er1 >conftest.err
13192
cat conftest.err >&5
13193
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194
(exit $ac_status); } >/dev/null && {
13195
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13196
test ! -s conftest.err
13198
# Broken: success on invalid input.
13201
$as_echo "$as_me: failed program was:" >&5
13202
sed 's/^/| /' conftest.$ac_ext >&5
13204
# Passes both tests.
13209
rm -f conftest.err conftest.$ac_ext
13212
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13213
rm -f conftest.err conftest.$ac_ext
13214
if $ac_preproc_ok; then
13219
ac_cv_prog_CXXCPP=$CXXCPP
13222
CXXCPP=$ac_cv_prog_CXXCPP
13224
ac_cv_prog_CXXCPP=$CXXCPP
13226
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
13227
$as_echo "$CXXCPP" >&6; }
13228
ac_preproc_ok=false
13229
for ac_cxx_preproc_warn_flag in '' yes
13231
# Use a header file that comes with gcc, so configuring glibc
13232
# with a fresh cross-compiler works.
13233
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13234
# <limits.h> exists even on freestanding compilers.
13235
# On the NeXT, cc -E runs the code through the compiler's parser,
13236
# not just through cpp. "Syntax error" is here to catch this case.
13237
cat >conftest.$ac_ext <<_ACEOF
13240
cat confdefs.h >>conftest.$ac_ext
13241
cat >>conftest.$ac_ext <<_ACEOF
13242
/* end confdefs.h. */
13244
# include <limits.h>
13246
# include <assert.h>
13250
if { (ac_try="$ac_cpp conftest.$ac_ext"
13251
case "(($ac_try" in
13252
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13253
*) ac_try_echo=$ac_try;;
13255
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13256
$as_echo "$ac_try_echo") >&5
13257
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13259
grep -v '^ *+' conftest.er1 >conftest.err
13261
cat conftest.err >&5
13262
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263
(exit $ac_status); } >/dev/null && {
13264
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13265
test ! -s conftest.err
13269
$as_echo "$as_me: failed program was:" >&5
13270
sed 's/^/| /' conftest.$ac_ext >&5
13272
# Broken: fails on valid input.
13276
rm -f conftest.err conftest.$ac_ext
13278
# OK, works on sane cases. Now check whether nonexistent headers
13279
# can be detected and how.
13280
cat >conftest.$ac_ext <<_ACEOF
13283
cat confdefs.h >>conftest.$ac_ext
13284
cat >>conftest.$ac_ext <<_ACEOF
13285
/* end confdefs.h. */
13286
#include <ac_nonexistent.h>
13288
if { (ac_try="$ac_cpp conftest.$ac_ext"
13289
case "(($ac_try" in
13290
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13291
*) ac_try_echo=$ac_try;;
13293
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13294
$as_echo "$ac_try_echo") >&5
13295
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13297
grep -v '^ *+' conftest.er1 >conftest.err
13299
cat conftest.err >&5
13300
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301
(exit $ac_status); } >/dev/null && {
13302
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13303
test ! -s conftest.err
13305
# Broken: success on invalid input.
13308
$as_echo "$as_me: failed program was:" >&5
13309
sed 's/^/| /' conftest.$ac_ext >&5
13311
# Passes both tests.
13316
rm -f conftest.err conftest.$ac_ext
13319
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13320
rm -f conftest.err conftest.$ac_ext
13321
if $ac_preproc_ok; then
13324
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13325
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13326
_lt_caught_CXX_error=yes; }
13330
ac_cpp='$CPP $CPPFLAGS'
13331
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13332
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13333
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13336
_lt_caught_CXX_error=yes
13350
enable_win32_dll=no
13356
# Check whether --with-pic was given.
13357
if test "${with_pic+set}" = set; then
13358
withval=$with_pic; pic_mode="$withval"
13364
test -z "$pic_mode" && pic_mode=default
13372
# Check whether --enable-fast-install was given.
13373
if test "${enable_fast_install+set}" = set; then
13374
enableval=$enable_fast_install; p=${PACKAGE-default}
13376
yes) enable_fast_install=yes ;;
13377
no) enable_fast_install=no ;;
13379
enable_fast_install=no
13380
# Look at the argument we got. We use all the common list separators.
13381
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13382
for pkg in $enableval; do
13384
if test "X$pkg" = "X$p"; then
13385
enable_fast_install=yes
13392
enable_fast_install=yes
13405
# This can be used to rebuild libtool when needed
13406
LIBTOOL_DEPS="$ltmain"
13408
# Always use our own libtool.
13409
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
13435
test -z "$LN_S" && LN_S="ln -s"
13450
if test -n "${ZSH_VERSION+set}" ; then
13451
setopt NO_GLOB_SUBST
13454
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
13455
$as_echo_n "checking for objdir... " >&6; }
13456
if test "${lt_cv_objdir+set}" = set; then
13457
$as_echo_n "(cached) " >&6
13459
rm -f .libs 2>/dev/null
13460
mkdir .libs 2>/dev/null
13461
if test -d .libs; then
13464
# MS-DOS does not allow filenames that begin with a dot.
13467
rmdir .libs 2>/dev/null
13469
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13470
$as_echo "$lt_cv_objdir" >&6; }
13471
objdir=$lt_cv_objdir
13477
cat >>confdefs.h <<_ACEOF
13478
#define LT_OBJDIR "$lt_cv_objdir/"
13499
# AIX sometimes has problems with the GCC collect2 program. For some
13500
# reason, if we set the COLLECT_NAMES environment variable, the problems
13501
# vanish in a puff of smoke.
13502
if test "X${COLLECT_NAMES+set}" != Xset; then
13504
export COLLECT_NAMES
13509
# Sed substitution that helps us do robust quoting. It backslashifies
13510
# metacharacters that are still active within double-quoted strings.
13511
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
13513
# Same as above, but do not quote variable references.
13514
double_quote_subst='s/\(["`\\]\)/\\\1/g'
13516
# Sed substitution to delay expansion of an escaped shell variable in a
13517
# double_quote_subst'ed string.
13518
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13520
# Sed substitution to delay expansion of an escaped single quote.
13521
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
13523
# Sed substitution to avoid accidental globbing in evaled expressions
13524
no_glob_subst='s/\*/\\\*/g'
13526
# Global variables:
13528
can_build_shared=yes
13530
# All known linkers require a `.a' archive for static linking (except MSVC,
13531
# which needs '.lib').
13534
with_gnu_ld="$lt_cv_prog_gnu_ld"
13537
old_CFLAGS="$CFLAGS"
13539
# Set sane defaults for various variables
13540
test -z "$CC" && CC=cc
13541
test -z "$LTCC" && LTCC=$CC
13542
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
13543
test -z "$LD" && LD=ld
13544
test -z "$ac_objext" && ac_objext=o
13546
for cc_temp in $compiler""; do
13548
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13549
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13554
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13557
# Only perform the check for file, if the check method requires it
13558
test -z "$MAGIC_CMD" && MAGIC_CMD=file
13559
case $deplibs_check_method in
13561
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13562
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
13563
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
13564
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13565
$as_echo_n "(cached) " >&6
13569
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13572
lt_save_MAGIC_CMD="$MAGIC_CMD"
13573
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13574
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13575
for ac_dir in $ac_dummy; do
13577
test -z "$ac_dir" && ac_dir=.
13578
if test -f $ac_dir/${ac_tool_prefix}file; then
13579
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
13580
if test -n "$file_magic_test_file"; then
13581
case $deplibs_check_method in
13583
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13584
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13585
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13586
$EGREP "$file_magic_regex" > /dev/null; then
13591
*** Warning: the command libtool uses to detect shared libraries,
13592
*** $file_magic_cmd, produces output that libtool cannot recognize.
13593
*** The result is that libtool may fail to recognize shared libraries
13594
*** as such. This will affect the creation of libtool libraries that
13595
*** depend on shared libraries, but programs linked with such libtool
13596
*** libraries will work regardless of this problem. Nevertheless, you
13597
*** may want to report the problem to your system manager and/or to
13598
*** bug-libtool@gnu.org
13608
MAGIC_CMD="$lt_save_MAGIC_CMD"
13613
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13614
if test -n "$MAGIC_CMD"; then
13615
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13616
$as_echo "$MAGIC_CMD" >&6; }
13618
{ $as_echo "$as_me:$LINENO: result: no" >&5
13619
$as_echo "no" >&6; }
13626
if test -z "$lt_cv_path_MAGIC_CMD"; then
13627
if test -n "$ac_tool_prefix"; then
13628
{ $as_echo "$as_me:$LINENO: checking for file" >&5
13629
$as_echo_n "checking for file... " >&6; }
13630
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13631
$as_echo_n "(cached) " >&6
13635
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13638
lt_save_MAGIC_CMD="$MAGIC_CMD"
13639
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13640
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13641
for ac_dir in $ac_dummy; do
13643
test -z "$ac_dir" && ac_dir=.
13644
if test -f $ac_dir/file; then
13645
lt_cv_path_MAGIC_CMD="$ac_dir/file"
13646
if test -n "$file_magic_test_file"; then
13647
case $deplibs_check_method in
13649
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13650
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13651
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13652
$EGREP "$file_magic_regex" > /dev/null; then
13657
*** Warning: the command libtool uses to detect shared libraries,
13658
*** $file_magic_cmd, produces output that libtool cannot recognize.
13659
*** The result is that libtool may fail to recognize shared libraries
13660
*** as such. This will affect the creation of libtool libraries that
13661
*** depend on shared libraries, but programs linked with such libtool
13662
*** libraries will work regardless of this problem. Nevertheless, you
13663
*** may want to report the problem to your system manager and/or to
13664
*** bug-libtool@gnu.org
13674
MAGIC_CMD="$lt_save_MAGIC_CMD"
13679
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13680
if test -n "$MAGIC_CMD"; then
13681
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13682
$as_echo "$MAGIC_CMD" >&6; }
13684
{ $as_echo "$as_me:$LINENO: result: no" >&5
13685
$as_echo "no" >&6; }
13698
# Use C for the default configuration in the libtool script
13702
ac_cpp='$CPP $CPPFLAGS'
13703
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13704
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13705
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13708
# Source file extension for C test sources.
13711
# Object file extension for compiled C test sources.
13715
# Code to be used in simple compile tests
13716
lt_simple_compile_test_code="int some_variable = 0;"
13718
# Code to be used in simple link tests
13719
lt_simple_link_test_code='int main(){return(0);}'
13727
# If no C compiler was specified, use CC.
13730
# If no C compiler flags were specified, use CFLAGS.
13731
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13733
# Allow CC to be a program name with arguments.
13736
# Save the default compiler, since it gets overwritten when the other
13737
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
13738
compiler_DEFAULT=$CC
13740
# save warnings/boilerplate of simple test code
13741
ac_outfile=conftest.$ac_objext
13742
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13743
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13744
_lt_compiler_boilerplate=`cat conftest.err`
13747
ac_outfile=conftest.$ac_objext
13748
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13749
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13750
_lt_linker_boilerplate=`cat conftest.err`
13755
## There is no encapsulation within the following macros, do not change
13756
## the running order or otherwise move them around unless you know exactly
13757
## what you are doing...
13758
if test -n "$compiler"; then
13760
lt_prog_compiler_no_builtin_flag=
13762
if test "$GCC" = yes; then
13763
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
13765
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13766
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13767
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
13768
$as_echo_n "(cached) " >&6
13770
lt_cv_prog_compiler_rtti_exceptions=no
13771
ac_outfile=conftest.$ac_objext
13772
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13773
lt_compiler_flag="-fno-rtti -fno-exceptions"
13774
# Insert the option either (1) after the last *FLAGS variable, or
13775
# (2) before a word containing "conftest.", or (3) at the end.
13776
# Note that $ac_compile itself does not contain backslashes and begins
13777
# with a dollar sign (not a hyphen), so the echo should work correctly.
13778
# The option is referenced via a variable to avoid confusing sed.
13779
lt_compile=`echo "$ac_compile" | $SED \
13780
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13781
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13782
-e 's:$: $lt_compiler_flag:'`
13783
(eval echo "\"\$as_me:13783: $lt_compile\"" >&5)
13784
(eval "$lt_compile" 2>conftest.err)
13786
cat conftest.err >&5
13787
echo "$as_me:13787: \$? = $ac_status" >&5
13788
if (exit $ac_status) && test -s "$ac_outfile"; then
13789
# The compiler can only warn and ignore the option if not recognized
13790
# So say no if there are warnings other than the usual output.
13791
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13792
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13793
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13794
lt_cv_prog_compiler_rtti_exceptions=yes
13800
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13801
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
13803
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
13804
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13816
lt_prog_compiler_wl=
13817
lt_prog_compiler_pic=
13818
lt_prog_compiler_static=
13820
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13821
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13823
if test "$GCC" = yes; then
13824
lt_prog_compiler_wl='-Wl,'
13825
lt_prog_compiler_static='-static'
13829
# All AIX code is PIC.
13830
if test "$host_cpu" = ia64; then
13831
# AIX 5 now supports IA64 processor
13832
lt_prog_compiler_static='-Bstatic'
13839
# see comment about AmigaOS4 .so support
13840
lt_prog_compiler_pic='-fPIC'
13843
# FIXME: we need at least 68020 code to build shared libraries, but
13844
# adding the `-m68020' flag to GCC prevents building anything better,
13846
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13851
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13852
# PIC is the default for these OSes.
13855
mingw* | cygwin* | pw32* | os2* | cegcc*)
13856
# This hack is so that the source file can tell whether it is being
13857
# built for inclusion in a dll (and should export symbols for example).
13858
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13859
# (--disable-auto-import) libraries
13860
lt_prog_compiler_pic='-DDLL_EXPORT'
13863
darwin* | rhapsody*)
13864
# PIC is the default on this platform
13865
# Common symbols not allowed in MH_DYLIB files
13866
lt_prog_compiler_pic='-fno-common'
13870
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13871
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13872
# sets the default TLS model and affects inlining.
13878
lt_prog_compiler_pic='-fPIC'
13884
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13885
# Instead, we relocate shared libraries at runtime.
13889
# Just because we use GCC doesn't mean we suddenly get shared libraries
13890
# on systems that don't support them.
13891
lt_prog_compiler_can_build_shared=no
13896
# QNX uses GNU C++, but need to define -shared option too, otherwise
13897
# it will coredump.
13898
lt_prog_compiler_pic='-fPIC -shared'
13902
if test -d /usr/nec; then
13903
lt_prog_compiler_pic=-Kconform_pic
13908
lt_prog_compiler_pic='-fPIC'
13912
# PORTME Check for flag to pass linker flags through the system compiler.
13915
lt_prog_compiler_wl='-Wl,'
13916
if test "$host_cpu" = ia64; then
13917
# AIX 5 now supports IA64 processor
13918
lt_prog_compiler_static='-Bstatic'
13920
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13924
mingw* | cygwin* | pw32* | os2* | cegcc*)
13925
# This hack is so that the source file can tell whether it is being
13926
# built for inclusion in a dll (and should export symbols for example).
13927
lt_prog_compiler_pic='-DDLL_EXPORT'
13930
hpux9* | hpux10* | hpux11*)
13931
lt_prog_compiler_wl='-Wl,'
13932
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13933
# not for PA HP-UX.
13939
lt_prog_compiler_pic='+Z'
13942
# Is there a better lt_prog_compiler_static that works with the bundled CC?
13943
lt_prog_compiler_static='${wl}-a ${wl}archive'
13946
irix5* | irix6* | nonstopux*)
13947
lt_prog_compiler_wl='-Wl,'
13948
# PIC (with -KPIC) is the default.
13949
lt_prog_compiler_static='-non_shared'
13952
linux* | k*bsd*-gnu)
13953
case $cc_basename in
13954
# old Intel for x86_64 which still supported -KPIC.
13956
lt_prog_compiler_wl='-Wl,'
13957
lt_prog_compiler_pic='-KPIC'
13958
lt_prog_compiler_static='-static'
13960
# icc used to be incompatible with GCC.
13961
# ICC 10 doesn't accept -KPIC any more.
13963
lt_prog_compiler_wl='-Wl,'
13964
lt_prog_compiler_pic='-fPIC'
13965
lt_prog_compiler_static='-static'
13967
# Lahey Fortran 8.1.
13969
lt_prog_compiler_wl='-Wl,'
13970
lt_prog_compiler_pic='--shared'
13971
lt_prog_compiler_static='--static'
13973
pgcc* | pgf77* | pgf90* | pgf95*)
13974
# Portland Group compilers (*not* the Pentium gcc compiler,
13975
# which looks to be a dead project)
13976
lt_prog_compiler_wl='-Wl,'
13977
lt_prog_compiler_pic='-fpic'
13978
lt_prog_compiler_static='-Bstatic'
13981
lt_prog_compiler_wl='-Wl,'
13982
# All Alpha code is PIC.
13983
lt_prog_compiler_static='-non_shared'
13986
# IBM XL C 8.0/Fortran 10.1 on PPC
13987
lt_prog_compiler_wl='-Wl,'
13988
lt_prog_compiler_pic='-qpic'
13989
lt_prog_compiler_static='-qstaticlink'
13992
case `$CC -V 2>&1 | sed 5q` in
13995
lt_prog_compiler_pic='-KPIC'
13996
lt_prog_compiler_static='-Bstatic'
13997
lt_prog_compiler_wl='-Wl,'
14000
# Sun Fortran 8.3 passes all unrecognized flags to the linker
14001
lt_prog_compiler_pic='-KPIC'
14002
lt_prog_compiler_static='-Bstatic'
14003
lt_prog_compiler_wl=''
14011
lt_prog_compiler_pic='-KPIC'
14012
lt_prog_compiler_static='-Bstatic'
14016
# QNX uses GNU C++, but need to define -shared option too, otherwise
14017
# it will coredump.
14018
lt_prog_compiler_pic='-fPIC -shared'
14021
osf3* | osf4* | osf5*)
14022
lt_prog_compiler_wl='-Wl,'
14023
# All OSF/1 code is PIC.
14024
lt_prog_compiler_static='-non_shared'
14028
lt_prog_compiler_static='-non_shared'
14032
lt_prog_compiler_pic='-KPIC'
14033
lt_prog_compiler_static='-Bstatic'
14034
case $cc_basename in
14035
f77* | f90* | f95*)
14036
lt_prog_compiler_wl='-Qoption ld ';;
14038
lt_prog_compiler_wl='-Wl,';;
14043
lt_prog_compiler_wl='-Qoption ld '
14044
lt_prog_compiler_pic='-PIC'
14045
lt_prog_compiler_static='-Bstatic'
14048
sysv4 | sysv4.2uw2* | sysv4.3*)
14049
lt_prog_compiler_wl='-Wl,'
14050
lt_prog_compiler_pic='-KPIC'
14051
lt_prog_compiler_static='-Bstatic'
14055
if test -d /usr/nec ;then
14056
lt_prog_compiler_pic='-Kconform_pic'
14057
lt_prog_compiler_static='-Bstatic'
14061
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14062
lt_prog_compiler_wl='-Wl,'
14063
lt_prog_compiler_pic='-KPIC'
14064
lt_prog_compiler_static='-Bstatic'
14068
lt_prog_compiler_wl='-Wl,'
14069
lt_prog_compiler_can_build_shared=no
14073
lt_prog_compiler_pic='-pic'
14074
lt_prog_compiler_static='-Bstatic'
14078
lt_prog_compiler_can_build_shared=no
14084
# For platforms which do not support PIC, -DPIC is meaningless:
14086
lt_prog_compiler_pic=
14089
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14092
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
14093
$as_echo "$lt_prog_compiler_pic" >&6; }
14101
# Check to make sure the PIC flag actually works.
14103
if test -n "$lt_prog_compiler_pic"; then
14104
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14105
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
14106
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
14107
$as_echo_n "(cached) " >&6
14109
lt_cv_prog_compiler_pic_works=no
14110
ac_outfile=conftest.$ac_objext
14111
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14112
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14113
# Insert the option either (1) after the last *FLAGS variable, or
14114
# (2) before a word containing "conftest.", or (3) at the end.
14115
# Note that $ac_compile itself does not contain backslashes and begins
14116
# with a dollar sign (not a hyphen), so the echo should work correctly.
14117
# The option is referenced via a variable to avoid confusing sed.
14118
lt_compile=`echo "$ac_compile" | $SED \
14119
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14120
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14121
-e 's:$: $lt_compiler_flag:'`
14122
(eval echo "\"\$as_me:14122: $lt_compile\"" >&5)
14123
(eval "$lt_compile" 2>conftest.err)
14125
cat conftest.err >&5
14126
echo "$as_me:14126: \$? = $ac_status" >&5
14127
if (exit $ac_status) && test -s "$ac_outfile"; then
14128
# The compiler can only warn and ignore the option if not recognized
14129
# So say no if there are warnings other than the usual output.
14130
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14131
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14132
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14133
lt_cv_prog_compiler_pic_works=yes
14139
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
14140
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
14142
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
14143
case $lt_prog_compiler_pic in
14145
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14148
lt_prog_compiler_pic=
14149
lt_prog_compiler_can_build_shared=no
14160
# Check to make sure the static flag actually works.
14162
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14163
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14164
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14165
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
14166
$as_echo_n "(cached) " >&6
14168
lt_cv_prog_compiler_static_works=no
14169
save_LDFLAGS="$LDFLAGS"
14170
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14171
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14172
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14173
# The linker can only warn and ignore the option if not recognized
14174
# So say no if there are warnings
14175
if test -s conftest.err; then
14176
# Append any errors to the config.log.
14177
cat conftest.err 1>&5
14178
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14179
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14180
if diff conftest.exp conftest.er2 >/dev/null; then
14181
lt_cv_prog_compiler_static_works=yes
14184
lt_cv_prog_compiler_static_works=yes
14188
LDFLAGS="$save_LDFLAGS"
14191
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
14192
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
14194
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
14197
lt_prog_compiler_static=
14206
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14207
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14208
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14209
$as_echo_n "(cached) " >&6
14211
lt_cv_prog_compiler_c_o=no
14212
$RM -r conftest 2>/dev/null
14216
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14218
lt_compiler_flag="-o out/conftest2.$ac_objext"
14219
# Insert the option either (1) after the last *FLAGS variable, or
14220
# (2) before a word containing "conftest.", or (3) at the end.
14221
# Note that $ac_compile itself does not contain backslashes and begins
14222
# with a dollar sign (not a hyphen), so the echo should work correctly.
14223
lt_compile=`echo "$ac_compile" | $SED \
14224
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14225
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14226
-e 's:$: $lt_compiler_flag:'`
14227
(eval echo "\"\$as_me:14227: $lt_compile\"" >&5)
14228
(eval "$lt_compile" 2>out/conftest.err)
14230
cat out/conftest.err >&5
14231
echo "$as_me:14231: \$? = $ac_status" >&5
14232
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14234
# The compiler can only warn and ignore the option if not recognized
14235
# So say no if there are warnings
14236
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14237
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14238
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14239
lt_cv_prog_compiler_c_o=yes
14244
# SGI C++ compiler will create directory out/ii_files/ for
14245
# template instantiation
14246
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14247
$RM out/* && rmdir out
14253
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
14254
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
14261
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14262
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14263
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14264
$as_echo_n "(cached) " >&6
14266
lt_cv_prog_compiler_c_o=no
14267
$RM -r conftest 2>/dev/null
14271
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14273
lt_compiler_flag="-o out/conftest2.$ac_objext"
14274
# Insert the option either (1) after the last *FLAGS variable, or
14275
# (2) before a word containing "conftest.", or (3) at the end.
14276
# Note that $ac_compile itself does not contain backslashes and begins
14277
# with a dollar sign (not a hyphen), so the echo should work correctly.
14278
lt_compile=`echo "$ac_compile" | $SED \
14279
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14280
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14281
-e 's:$: $lt_compiler_flag:'`
14282
(eval echo "\"\$as_me:14282: $lt_compile\"" >&5)
14283
(eval "$lt_compile" 2>out/conftest.err)
14285
cat out/conftest.err >&5
14286
echo "$as_me:14286: \$? = $ac_status" >&5
14287
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14289
# The compiler can only warn and ignore the option if not recognized
14290
# So say no if there are warnings
14291
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14292
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14293
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14294
lt_cv_prog_compiler_c_o=yes
14299
# SGI C++ compiler will create directory out/ii_files/ for
14300
# template instantiation
14301
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14302
$RM out/* && rmdir out
14308
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
14309
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
14314
hard_links="nottested"
14315
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14316
# do not overwrite the value of need_locks provided by the user
14317
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14318
$as_echo_n "checking if we can lock with hard links... " >&6; }
14321
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14323
ln conftest.a conftest.b 2>&5 || hard_links=no
14324
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14325
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14326
$as_echo "$hard_links" >&6; }
14327
if test "$hard_links" = no; then
14328
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14329
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14341
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14342
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14345
allow_undefined_flag=
14346
always_export_symbols=no
14348
archive_expsym_cmds=
14349
compiler_needs_object=no
14350
enable_shared_with_static_runtimes=no
14351
export_dynamic_flag_spec=
14352
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14353
hardcode_automatic=no
14355
hardcode_direct_absolute=no
14356
hardcode_libdir_flag_spec=
14357
hardcode_libdir_flag_spec_ld=
14358
hardcode_libdir_separator=
14359
hardcode_minus_L=no
14360
hardcode_shlibpath_var=unsupported
14362
link_all_deplibs=unknown
14364
module_expsym_cmds=
14365
old_archive_from_new_cmds=
14366
old_archive_from_expsyms_cmds=
14367
thread_safe_flag_spec=
14368
whole_archive_flag_spec=
14369
# include_expsyms should be a list of space-separated symbols to be *always*
14370
# included in the symbol list
14372
# exclude_expsyms can be an extended regexp of symbols to exclude
14373
# it will be wrapped by ` (' and `)$', so one must not match beginning or
14374
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14375
# as well as any symbol that contains `d'.
14376
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14377
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14378
# platforms (ab)use it in PIC code, but their linkers get confused if
14379
# the symbol is explicitly referenced. Since portable code cannot
14380
# rely on this symbol name, it's probably fine to never include it in
14381
# preloaded symbol tables.
14382
# Exclude shared library initialization/finalization symbols.
14383
extract_expsyms_cmds=
14386
cygwin* | mingw* | pw32* | cegcc*)
14387
# FIXME: the MSVC++ port hasn't been tested in a loooong time
14388
# When not using gcc, we currently assume that we are using
14389
# Microsoft Visual C++.
14390
if test "$GCC" != yes; then
14395
# we just hope/assume this is gcc and not c89 (= MSVC++)
14404
if test "$with_gnu_ld" = yes; then
14405
# If archive_cmds runs LD, not CC, wlarc should be empty
14408
# Set some defaults for GNU ld with shared library support. These
14409
# are reset later if shared libraries are not supported. Putting them
14410
# here allows them to be overridden if necessary.
14411
runpath_var=LD_RUN_PATH
14412
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14413
export_dynamic_flag_spec='${wl}--export-dynamic'
14414
# ancient GNU ld didn't support --whole-archive et. al.
14415
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14416
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14418
whole_archive_flag_spec=
14420
supports_anon_versioning=no
14421
case `$LD -v 2>&1` in
14422
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14423
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14424
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14425
*\ 2.11.*) ;; # other 2.11 versions
14426
*) supports_anon_versioning=yes ;;
14429
# See if GNU ld supports shared libraries.
14432
# On AIX/PPC, the GNU linker is very broken
14433
if test "$host_cpu" != ia64; then
14437
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14438
*** to be unable to reliably create shared libraries on AIX.
14439
*** Therefore, libtool is disabling shared libraries support. If you
14440
*** really care for shared libraries, you may want to modify your PATH
14441
*** so that a non-GNU linker is found, and then restart.
14450
# see comment about AmigaOS4 .so support
14451
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14452
archive_expsym_cmds=''
14455
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14456
hardcode_libdir_flag_spec='-L$libdir'
14457
hardcode_minus_L=yes
14463
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14464
allow_undefined_flag=unsupported
14465
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14466
# support --undefined. This deserves some investigation. FIXME
14467
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14473
cygwin* | mingw* | pw32* | cegcc*)
14474
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14475
# as there is no search path for DLLs.
14476
hardcode_libdir_flag_spec='-L$libdir'
14477
allow_undefined_flag=unsupported
14478
always_export_symbols=no
14479
enable_shared_with_static_runtimes=yes
14480
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14482
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14483
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14484
# If the export-symbols file already is a .def file (1st line
14485
# is EXPORTS), use it as is; otherwise, prepend...
14486
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14487
cp $export_symbols $output_objdir/$soname.def;
14489
echo EXPORTS > $output_objdir/$soname.def;
14490
cat $export_symbols >> $output_objdir/$soname.def;
14492
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14500
hardcode_shlibpath_var=no
14501
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14502
export_dynamic_flag_spec='${wl}-E'
14503
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14504
# Instead, shared libraries are loaded at an image base (0x10000000 by
14505
# default) and relocated if they conflict, which is a slow very memory
14506
# consuming and fragmenting process. To avoid this, we pick a random,
14507
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14508
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
14509
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14510
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14513
gnu* | linux* | tpf* | k*bsd*-gnu)
14515
if test "$host_os" = linux-dietlibc; then
14516
case $cc_basename in
14517
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14520
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14521
&& test "$tmp_diet" = no
14524
tmp_sharedflag='-shared'
14525
case $cc_basename,$host_cpu in
14526
pgcc*) # Portland Group C compiler
14527
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14528
tmp_addflag=' $pic_flag'
14530
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14531
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14532
tmp_addflag=' $pic_flag -Mnomain' ;;
14533
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14534
tmp_addflag=' -i_dynamic' ;;
14535
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14536
tmp_addflag=' -i_dynamic -nofor_main' ;;
14537
ifc* | ifort*) # Intel Fortran compiler
14538
tmp_addflag=' -nofor_main' ;;
14539
lf95*) # Lahey Fortran 8.1
14540
whole_archive_flag_spec=
14541
tmp_sharedflag='--shared' ;;
14542
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14543
tmp_sharedflag='-qmkshrobj'
14546
case `$CC -V 2>&1 | sed 5q` in
14547
*Sun\ C*) # Sun C 5.9
14548
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14549
compiler_needs_object=yes
14550
tmp_sharedflag='-G' ;;
14551
*Sun\ F*) # Sun Fortran 8.3
14552
tmp_sharedflag='-G' ;;
14554
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14556
if test "x$supports_anon_versioning" = xyes; then
14557
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
14558
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14559
echo "local: *; };" >> $output_objdir/$libname.ver~
14560
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14563
case $cc_basename in
14565
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14566
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
14567
hardcode_libdir_flag_spec=
14568
hardcode_libdir_flag_spec_ld='-rpath $libdir'
14569
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14570
if test "x$supports_anon_versioning" = xyes; then
14571
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
14572
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14573
echo "local: *; };" >> $output_objdir/$libname.ver~
14574
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14584
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14585
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14588
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14589
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14594
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14598
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14599
*** create shared libraries on Solaris systems. Therefore, libtool
14600
*** is disabling shared libraries support. We urge you to upgrade GNU
14601
*** binutils to release 2.9.1 or newer. Another option is to modify
14602
*** your PATH or compiler configuration so that the native linker is
14603
*** used, and then restart.
14606
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14607
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14608
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14614
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14615
case `$LD -v 2>&1` in
14616
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14620
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14621
*** reliably create shared libraries on SCO systems. Therefore, libtool
14622
*** is disabling shared libraries support. We urge you to upgrade GNU
14623
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14624
*** your PATH or compiler configuration so that the native linker is
14625
*** used, and then restart.
14630
# For security reasons, it is highly recommended that you always
14631
# use absolute paths for naming shared libraries, and exclude the
14632
# DT_RUNPATH tag from executables and libraries. But doing so
14633
# requires that you compile everything twice, which is a pain.
14634
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14635
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14636
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14637
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14646
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14648
hardcode_direct=yes
14649
hardcode_shlibpath_var=no
14653
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14654
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14655
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14662
if test "$ld_shlibs" = no; then
14664
hardcode_libdir_flag_spec=
14665
export_dynamic_flag_spec=
14666
whole_archive_flag_spec=
14669
# PORTME fill in a description of your system's linker (not GNU ld)
14672
allow_undefined_flag=unsupported
14673
always_export_symbols=yes
14674
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14675
# Note: this linker hardcodes the directories in LIBPATH if there
14676
# are no directories specified by -L.
14677
hardcode_minus_L=yes
14678
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14679
# Neither direct hardcoding nor static linking is supported with a
14681
hardcode_direct=unsupported
14686
if test "$host_cpu" = ia64; then
14687
# On IA64, the linker does run time linking by default, so we don't
14688
# have to do anything special.
14689
aix_use_runtimelinking=no
14690
exp_sym_flag='-Bexport'
14693
# If we're using GNU nm, then we don't want the "-C" option.
14694
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14695
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14696
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14698
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14700
aix_use_runtimelinking=no
14702
# Test if we are trying to use run time linking or normal
14703
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
14704
# need to do runtime linking.
14705
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14706
for ld_flag in $LDFLAGS; do
14707
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14708
aix_use_runtimelinking=yes
14715
exp_sym_flag='-bexport'
14716
no_entry_flag='-bnoentry'
14719
# When large executables or shared objects are built, AIX ld can
14720
# have problems creating the table of contents. If linking a library
14721
# or program results in "error TOC overflow" add -mminimal-toc to
14722
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14723
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14726
hardcode_direct=yes
14727
hardcode_direct_absolute=yes
14728
hardcode_libdir_separator=':'
14729
link_all_deplibs=yes
14730
file_list_spec='${wl}-f,'
14732
if test "$GCC" = yes; then
14733
case $host_os in aix4.[012]|aix4.[012].*)
14734
# We only want to do this on AIX 4.2 and lower, the check
14735
# below for broken collect2 doesn't work under 4.3+
14736
collect2name=`${CC} -print-prog-name=collect2`
14737
if test -f "$collect2name" &&
14738
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14740
# We have reworked collect2
14743
# We have old collect2
14744
hardcode_direct=unsupported
14745
# It fails to find uninstalled libraries when the uninstalled
14746
# path is not listed in the libpath. Setting hardcode_minus_L
14747
# to unsupported forces relinking
14748
hardcode_minus_L=yes
14749
hardcode_libdir_flag_spec='-L$libdir'
14750
hardcode_libdir_separator=
14754
shared_flag='-shared'
14755
if test "$aix_use_runtimelinking" = yes; then
14756
shared_flag="$shared_flag "'${wl}-G'
14760
if test "$host_cpu" = ia64; then
14761
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14762
# chokes on -Wl,-G. The following line is correct:
14765
if test "$aix_use_runtimelinking" = yes; then
14766
shared_flag='${wl}-G'
14768
shared_flag='${wl}-bM:SRE'
14773
export_dynamic_flag_spec='${wl}-bexpall'
14774
# It seems that -bexpall does not export symbols beginning with
14775
# underscore (_), so it is better to generate a list of symbols to export.
14776
always_export_symbols=yes
14777
if test "$aix_use_runtimelinking" = yes; then
14778
# Warning - without using the other runtime loading flags (-brtl),
14779
# -berok will link without error, but may produce a broken library.
14780
allow_undefined_flag='-berok'
14781
# Determine the default libpath from the value encoded in an
14782
# empty executable.
14783
cat >conftest.$ac_ext <<_ACEOF
14786
cat confdefs.h >>conftest.$ac_ext
14787
cat >>conftest.$ac_ext <<_ACEOF
14788
/* end confdefs.h. */
14798
rm -f conftest.$ac_objext conftest$ac_exeext
14799
if { (ac_try="$ac_link"
14800
case "(($ac_try" in
14801
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14802
*) ac_try_echo=$ac_try;;
14804
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14805
$as_echo "$ac_try_echo") >&5
14806
(eval "$ac_link") 2>conftest.er1
14808
grep -v '^ *+' conftest.er1 >conftest.err
14810
cat conftest.err >&5
14811
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812
(exit $ac_status); } && {
14813
test -z "$ac_c_werror_flag" ||
14814
test ! -s conftest.err
14815
} && test -s conftest$ac_exeext && {
14816
test "$cross_compiling" = yes ||
14817
$as_test_x conftest$ac_exeext
14820
lt_aix_libpath_sed='
14821
/Import File Strings/,/^$/ {
14827
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14828
# Check for a 64-bit object if we didn't find anything.
14829
if test -z "$aix_libpath"; then
14830
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14833
$as_echo "$as_me: failed program was:" >&5
14834
sed 's/^/| /' conftest.$ac_ext >&5
14839
rm -rf conftest.dSYM
14840
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14841
conftest$ac_exeext conftest.$ac_ext
14842
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14844
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14845
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14847
if test "$host_cpu" = ia64; then
14848
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
14849
allow_undefined_flag="-z nodefs"
14850
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14852
# Determine the default libpath from the value encoded in an
14853
# empty executable.
14854
cat >conftest.$ac_ext <<_ACEOF
14857
cat confdefs.h >>conftest.$ac_ext
14858
cat >>conftest.$ac_ext <<_ACEOF
14859
/* end confdefs.h. */
14869
rm -f conftest.$ac_objext conftest$ac_exeext
14870
if { (ac_try="$ac_link"
14871
case "(($ac_try" in
14872
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14873
*) ac_try_echo=$ac_try;;
14875
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14876
$as_echo "$ac_try_echo") >&5
14877
(eval "$ac_link") 2>conftest.er1
14879
grep -v '^ *+' conftest.er1 >conftest.err
14881
cat conftest.err >&5
14882
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883
(exit $ac_status); } && {
14884
test -z "$ac_c_werror_flag" ||
14885
test ! -s conftest.err
14886
} && test -s conftest$ac_exeext && {
14887
test "$cross_compiling" = yes ||
14888
$as_test_x conftest$ac_exeext
14891
lt_aix_libpath_sed='
14892
/Import File Strings/,/^$/ {
14898
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14899
# Check for a 64-bit object if we didn't find anything.
14900
if test -z "$aix_libpath"; then
14901
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14904
$as_echo "$as_me: failed program was:" >&5
14905
sed 's/^/| /' conftest.$ac_ext >&5
14910
rm -rf conftest.dSYM
14911
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14912
conftest$ac_exeext conftest.$ac_ext
14913
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14915
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14916
# Warning - without using the other run time loading flags,
14917
# -berok will link without error, but may produce a broken library.
14918
no_undefined_flag=' ${wl}-bernotok'
14919
allow_undefined_flag=' ${wl}-berok'
14920
# Exported symbols can be pulled into shared objects from archives
14921
whole_archive_flag_spec='$convenience'
14922
archive_cmds_need_lc=yes
14923
# This is similar to how AIX traditionally builds its shared libraries.
14924
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14932
# see comment about AmigaOS4 .so support
14933
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14934
archive_expsym_cmds=''
14937
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14938
hardcode_libdir_flag_spec='-L$libdir'
14939
hardcode_minus_L=yes
14945
export_dynamic_flag_spec=-rdynamic
14948
cygwin* | mingw* | pw32* | cegcc*)
14949
# When not using gcc, we currently assume that we are using
14950
# Microsoft Visual C++.
14951
# hardcode_libdir_flag_spec is actually meaningless, as there is
14952
# no search path for DLLs.
14953
hardcode_libdir_flag_spec=' '
14954
allow_undefined_flag=unsupported
14955
# Tell ltmain to make .lib files, not .a files.
14957
# Tell ltmain to make .dll files, not .so files.
14959
# FIXME: Setting linknames here is a bad hack.
14960
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
14961
# The linker will automatically build a .lib file if we build a DLL.
14962
old_archive_from_new_cmds='true'
14963
# FIXME: Should let the user specify the lib program.
14964
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14965
fix_srcfile_path='`cygpath -w "$srcfile"`'
14966
enable_shared_with_static_runtimes=yes
14969
darwin* | rhapsody*)
14972
archive_cmds_need_lc=no
14974
hardcode_automatic=yes
14975
hardcode_shlibpath_var=unsupported
14976
whole_archive_flag_spec=''
14977
link_all_deplibs=yes
14978
allow_undefined_flag="$_lt_dar_allow_undefined"
14979
case $cc_basename in
14980
ifort*) _lt_dar_can_shared=yes ;;
14981
*) _lt_dar_can_shared=$GCC ;;
14983
if test "$_lt_dar_can_shared" = "yes"; then
14984
output_verbose_link_cmd=echo
14985
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14986
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14987
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14988
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14997
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14998
hardcode_libdir_flag_spec='-L$libdir'
14999
hardcode_shlibpath_var=no
15006
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15007
# support. Future versions do this automatically, but an explicit c++rt0.o
15008
# does not break anything, and helps significantly (at the cost of a little
15011
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15012
hardcode_libdir_flag_spec='-R$libdir'
15013
hardcode_direct=yes
15014
hardcode_shlibpath_var=no
15017
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
15019
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15020
hardcode_direct=yes
15021
hardcode_minus_L=yes
15022
hardcode_shlibpath_var=no
15025
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15026
freebsd* | dragonfly*)
15027
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15028
hardcode_libdir_flag_spec='-R$libdir'
15029
hardcode_direct=yes
15030
hardcode_shlibpath_var=no
15034
if test "$GCC" = yes; then
15035
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15037
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15039
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15040
hardcode_libdir_separator=:
15041
hardcode_direct=yes
15043
# hardcode_minus_L: Not really in the search PATH,
15044
# but as the default location of the library.
15045
hardcode_minus_L=yes
15046
export_dynamic_flag_spec='${wl}-E'
15050
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15051
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15053
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15055
if test "$with_gnu_ld" = no; then
15056
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15057
hardcode_libdir_flag_spec_ld='+b $libdir'
15058
hardcode_libdir_separator=:
15059
hardcode_direct=yes
15060
hardcode_direct_absolute=yes
15061
export_dynamic_flag_spec='${wl}-E'
15062
# hardcode_minus_L: Not really in the search PATH,
15063
# but as the default location of the library.
15064
hardcode_minus_L=yes
15069
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15072
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15075
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15078
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15084
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15087
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15090
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15094
if test "$with_gnu_ld" = no; then
15095
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15096
hardcode_libdir_separator=:
15101
hardcode_shlibpath_var=no
15104
hardcode_direct=yes
15105
hardcode_direct_absolute=yes
15106
export_dynamic_flag_spec='${wl}-E'
15108
# hardcode_minus_L: Not really in the search PATH,
15109
# but as the default location of the library.
15110
hardcode_minus_L=yes
15116
irix5* | irix6* | nonstopux*)
15117
if test "$GCC" = yes; then
15118
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15119
# Try to use the -exported_symbol ld option, if it does not
15120
# work, assume that -exports_file does not work either and
15121
# implicitly export all symbols.
15122
save_LDFLAGS="$LDFLAGS"
15123
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15124
cat >conftest.$ac_ext <<_ACEOF
15127
rm -f conftest.$ac_objext conftest$ac_exeext
15128
if { (ac_try="$ac_link"
15129
case "(($ac_try" in
15130
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15131
*) ac_try_echo=$ac_try;;
15133
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15134
$as_echo "$ac_try_echo") >&5
15135
(eval "$ac_link") 2>conftest.er1
15137
grep -v '^ *+' conftest.er1 >conftest.err
15139
cat conftest.err >&5
15140
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141
(exit $ac_status); } && {
15142
test -z "$ac_c_werror_flag" ||
15143
test ! -s conftest.err
15144
} && test -s conftest$ac_exeext && {
15145
test "$cross_compiling" = yes ||
15146
$as_test_x conftest$ac_exeext
15148
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
15151
$as_echo "$as_me: failed program was:" >&5
15152
sed 's/^/| /' conftest.$ac_ext >&5
15157
rm -rf conftest.dSYM
15158
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15159
conftest$ac_exeext conftest.$ac_ext
15160
LDFLAGS="$save_LDFLAGS"
15162
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15163
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
15165
archive_cmds_need_lc='no'
15166
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15167
hardcode_libdir_separator=:
15169
link_all_deplibs=yes
15173
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15174
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15176
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15178
hardcode_libdir_flag_spec='-R$libdir'
15179
hardcode_direct=yes
15180
hardcode_shlibpath_var=no
15184
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15185
hardcode_direct=yes
15186
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15187
hardcode_libdir_separator=:
15188
hardcode_shlibpath_var=no
15195
if test -f /usr/libexec/ld.so; then
15196
hardcode_direct=yes
15197
hardcode_shlibpath_var=no
15198
hardcode_direct_absolute=yes
15199
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15200
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15201
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15202
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15203
export_dynamic_flag_spec='${wl}-E'
15206
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15207
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15208
hardcode_libdir_flag_spec='-R$libdir'
15211
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15212
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15222
hardcode_libdir_flag_spec='-L$libdir'
15223
hardcode_minus_L=yes
15224
allow_undefined_flag=unsupported
15225
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15226
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15230
if test "$GCC" = yes; then
15231
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15232
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15234
allow_undefined_flag=' -expect_unresolved \*'
15235
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15237
archive_cmds_need_lc='no'
15238
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15239
hardcode_libdir_separator=:
15242
osf4* | osf5*) # as osf3* with the addition of -msym flag
15243
if test "$GCC" = yes; then
15244
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15245
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15246
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15248
allow_undefined_flag=' -expect_unresolved \*'
15249
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15250
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
15251
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
15253
# Both c and cxx compiler support -rpath directly
15254
hardcode_libdir_flag_spec='-rpath $libdir'
15256
archive_cmds_need_lc='no'
15257
hardcode_libdir_separator=:
15261
no_undefined_flag=' -z defs'
15262
if test "$GCC" = yes; then
15264
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15265
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15266
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15268
case `$CC -V 2>&1` in
15271
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15272
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15273
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15277
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15278
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15279
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15283
hardcode_libdir_flag_spec='-R$libdir'
15284
hardcode_shlibpath_var=no
15286
solaris2.[0-5] | solaris2.[0-5].*) ;;
15288
# The compiler driver will combine and reorder linker options,
15289
# but understands `-z linker_flag'. GCC discards it without `$wl',
15290
# but is careful enough not to reorder.
15291
# Supported since Solaris 2.6 (maybe 2.5.1?)
15292
if test "$GCC" = yes; then
15293
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15295
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
15299
link_all_deplibs=yes
15303
if test "x$host_vendor" = xsequent; then
15304
# Use $CC to link under sequent, because it throws in some extra .o
15305
# files that make .init and .fini sections work.
15306
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15308
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15310
hardcode_libdir_flag_spec='-L$libdir'
15311
hardcode_direct=yes
15312
hardcode_minus_L=yes
15313
hardcode_shlibpath_var=no
15317
case $host_vendor in
15319
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15320
hardcode_direct=yes # is this really true???
15323
## LD is ld it makes a PLAMLIB
15324
## CC just makes a GrossModule.
15325
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15326
reload_cmds='$CC -r -o $output$reload_objs'
15330
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15331
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15334
runpath_var='LD_RUN_PATH'
15335
hardcode_shlibpath_var=no
15339
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15340
hardcode_shlibpath_var=no
15341
export_dynamic_flag_spec='-Bexport'
15345
if test -d /usr/nec; then
15346
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15347
hardcode_shlibpath_var=no
15348
runpath_var=LD_RUN_PATH
15349
hardcode_runpath_var=yes
15354
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15355
no_undefined_flag='${wl}-z,text'
15356
archive_cmds_need_lc=no
15357
hardcode_shlibpath_var=no
15358
runpath_var='LD_RUN_PATH'
15360
if test "$GCC" = yes; then
15361
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15362
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15364
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15365
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15369
sysv5* | sco3.2v5* | sco5v6*)
15370
# Note: We can NOT use -z defs as we might desire, because we do not
15371
# link with -lc, and that would cause any symbols used from libc to
15372
# always be unresolved, which means just about no library would
15373
# ever link correctly. If we're not using GNU ld we use -z text
15374
# though, which does catch some bad symbols but isn't as heavy-handed
15376
no_undefined_flag='${wl}-z,text'
15377
allow_undefined_flag='${wl}-z,nodefs'
15378
archive_cmds_need_lc=no
15379
hardcode_shlibpath_var=no
15380
hardcode_libdir_flag_spec='${wl}-R,$libdir'
15381
hardcode_libdir_separator=':'
15382
link_all_deplibs=yes
15383
export_dynamic_flag_spec='${wl}-Bexport'
15384
runpath_var='LD_RUN_PATH'
15386
if test "$GCC" = yes; then
15387
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15388
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15390
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15391
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15396
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15397
hardcode_libdir_flag_spec='-L$libdir'
15398
hardcode_shlibpath_var=no
15406
if test x$host_vendor = xsni; then
15408
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15409
export_dynamic_flag_spec='${wl}-Blargedynsym'
15415
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15416
$as_echo "$ld_shlibs" >&6; }
15417
test "$ld_shlibs" = no && can_build_shared=no
15419
with_gnu_ld=$with_gnu_ld
15436
# Do we need to explicitly link libc?
15438
case "x$archive_cmds_need_lc" in
15440
# Assume -lc should be added
15441
archive_cmds_need_lc=yes
15443
if test "$enable_shared" = yes && test "$GCC" = yes; then
15444
case $archive_cmds in
15446
# FIXME: we may have to deal with multi-command sequences.
15449
# Test whether the compiler implicitly links with -lc since on some
15450
# systems, -lgcc has to come before -lc. If gcc already passes -lc
15451
# to ld, don't add -lc before -lgcc.
15452
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15453
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15455
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15457
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15458
(eval $ac_compile) 2>&5
15460
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461
(exit $ac_status); } 2>conftest.err; then
15464
libobjs=conftest.$ac_objext
15466
wl=$lt_prog_compiler_wl
15467
pic_flag=$lt_prog_compiler_pic
15473
lt_save_allow_undefined_flag=$allow_undefined_flag
15474
allow_undefined_flag=
15475
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15476
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15478
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479
(exit $ac_status); }
15481
archive_cmds_need_lc=no
15483
archive_cmds_need_lc=yes
15485
allow_undefined_flag=$lt_save_allow_undefined_flag
15487
cat conftest.err 1>&5
15490
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15491
$as_echo "$archive_cmds_need_lc" >&6; }
15654
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15655
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15657
if test "$GCC" = yes; then
15659
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
15660
*) lt_awk_arg="/^libraries:/" ;;
15662
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15663
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
15664
# if the path contains ";" then we assume it to be the separator
15665
# otherwise default to the standard path separator (i.e. ":") - it is
15666
# assumed that no part of a normal pathname contains ";" but that should
15667
# okay in the real world where ";" in dirpaths is itself problematic.
15668
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
15670
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15672
# Ok, now we have the path, separated by spaces, we can step through it
15673
# and add multilib dir if necessary.
15674
lt_tmp_lt_search_path_spec=
15675
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15676
for lt_sys_path in $lt_search_path_spec; do
15677
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
15678
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
15680
test -d "$lt_sys_path" && \
15681
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
15684
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
15685
BEGIN {RS=" "; FS="/|\n";} {
15688
for (lt_i = NF; lt_i > 0; lt_i--) {
15689
if ($lt_i != "" && $lt_i != ".") {
15690
if ($lt_i == "..") {
15693
if (lt_count == 0) {
15694
lt_foo="/" $lt_i lt_foo;
15701
if (lt_foo != "") { lt_freq[lt_foo]++; }
15702
if (lt_freq[lt_foo] == 1) { print lt_foo; }
15704
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
15706
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15708
library_names_spec=
15709
libname_spec='lib$name'
15713
postuninstall_cmds=
15717
shlibpath_overrides_runpath=unknown
15719
dynamic_linker="$host_os ld.so"
15720
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15721
need_lib_prefix=unknown
15722
hardcode_into_libs=no
15724
# when you set need_version to no, make sure it does not cause -set_version
15725
# flags to be left without arguments
15726
need_version=unknown
15731
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15732
shlibpath_var=LIBPATH
15734
# AIX 3 has no versioning support, so we append a major version to the name.
15735
soname_spec='${libname}${release}${shared_ext}$major'
15742
hardcode_into_libs=yes
15743
if test "$host_cpu" = ia64; then
15744
# AIX 5 supports IA64
15745
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15746
shlibpath_var=LD_LIBRARY_PATH
15748
# With GCC up to 2.95.x, collect2 would create an import file
15749
# for dependence libraries. The import file would start with
15750
# the line `#! .'. This would cause the generated library to
15751
# depend on `.', always an invalid library. This was fixed in
15752
# development snapshots of GCC prior to 3.0.
15754
aix4 | aix4.[01] | aix4.[01].*)
15755
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15757
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15760
can_build_shared=no
15764
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15765
# soname into executable. Probably we can add versioning support to
15766
# collect2, so additional links can be useful in future.
15767
if test "$aix_use_runtimelinking" = yes; then
15768
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
15769
# instead of lib<name>.a to let people know that these are not
15770
# typical AIX shared libraries.
15771
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15773
# We preserve .a as extension for shared libraries through AIX4.2
15774
# and later when we are not doing run time linking.
15775
library_names_spec='${libname}${release}.a $libname.a'
15776
soname_spec='${libname}${release}${shared_ext}$major'
15778
shlibpath_var=LIBPATH
15785
# Since July 2007 AmigaOS4 officially supports .so libraries.
15786
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15787
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15790
library_names_spec='$libname.ixlibrary $libname.a'
15791
# Create ${libname}_ixlibrary.a entries in /sys/libs.
15792
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15798
library_names_spec='${libname}${shared_ext}'
15799
dynamic_linker="$host_os ld.so"
15800
shlibpath_var=LIBRARY_PATH
15806
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15807
soname_spec='${libname}${release}${shared_ext}$major'
15808
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15809
shlibpath_var=LD_LIBRARY_PATH
15810
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15811
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15812
# the default ld.so.conf also contains /usr/contrib/lib and
15813
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15814
# libtool to hard-code these into programs
15817
cygwin* | mingw* | pw32* | cegcc*)
15818
version_type=windows
15823
case $GCC,$host_os in
15824
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15825
library_names_spec='$libname.dll.a'
15826
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15827
postinstall_cmds='base_file=`basename \${file}`~
15828
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15829
dldir=$destdir/`dirname \$dlpath`~
15830
test -d \$dldir || mkdir -p \$dldir~
15831
$install_prog $dir/$dlname \$dldir/$dlname~
15832
chmod a+x \$dldir/$dlname~
15833
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15834
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15836
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15837
dlpath=$dir/\$dldll~
15839
shlibpath_overrides_runpath=yes
15843
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15844
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15845
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15848
# MinGW DLLs use traditional 'lib' prefix
15849
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15850
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15851
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15852
# It is most probably a Windows format PATH printed by
15853
# mingw gcc, but we are running on Cygwin. Gcc prints its search
15854
# path with ; separators, and with drive letters. We can handle the
15855
# drive letters (cygwin fileutils understands them), so leave them,
15856
# especially as we might pass files found there to a mingw objdump,
15857
# which wouldn't understand a cygwinified path. Ahh.
15858
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15860
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15864
# pw32 DLLs use 'pw' prefix rather than 'lib'
15865
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15871
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15874
dynamic_linker='Win32 ld.exe'
15875
# FIXME: first we should search . and the directory the executable is in
15879
darwin* | rhapsody*)
15880
dynamic_linker="$host_os dyld"
15881
version_type=darwin
15884
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15885
soname_spec='${libname}${release}${major}$shared_ext'
15886
shlibpath_overrides_runpath=yes
15887
shlibpath_var=DYLD_LIBRARY_PATH
15888
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15890
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
15891
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15898
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15899
soname_spec='${libname}${release}${shared_ext}$major'
15900
shlibpath_var=LD_LIBRARY_PATH
15907
freebsd* | dragonfly*)
15908
# DragonFly does not have aout. When/if they implement a new
15909
# versioning mechanism, adjust this.
15910
if test -x /usr/bin/objformat; then
15911
objformat=`/usr/bin/objformat`
15914
freebsd[123]*) objformat=aout ;;
15915
*) objformat=elf ;;
15918
version_type=freebsd-$objformat
15919
case $version_type in
15921
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15926
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15930
shlibpath_var=LD_LIBRARY_PATH
15933
shlibpath_overrides_runpath=yes
15935
freebsd3.[01]* | freebsdelf3.[01]*)
15936
shlibpath_overrides_runpath=yes
15937
hardcode_into_libs=yes
15939
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15940
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15941
shlibpath_overrides_runpath=no
15942
hardcode_into_libs=yes
15944
*) # from 4.6 on, and DragonFly
15945
shlibpath_overrides_runpath=yes
15946
hardcode_into_libs=yes
15955
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15956
soname_spec='${libname}${release}${shared_ext}$major'
15957
shlibpath_var=LD_LIBRARY_PATH
15958
hardcode_into_libs=yes
15961
hpux9* | hpux10* | hpux11*)
15962
# Give a soname corresponding to the major version so that dld.sl refuses to
15963
# link against other versions.
15970
hardcode_into_libs=yes
15971
dynamic_linker="$host_os dld.so"
15972
shlibpath_var=LD_LIBRARY_PATH
15973
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15974
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15975
soname_spec='${libname}${release}${shared_ext}$major'
15976
if test "X$HPUX_IA64_MODE" = X32; then
15977
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15979
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15981
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15985
hardcode_into_libs=yes
15986
dynamic_linker="$host_os dld.sl"
15987
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15988
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15989
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15990
soname_spec='${libname}${release}${shared_ext}$major'
15991
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15992
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15996
dynamic_linker="$host_os dld.sl"
15997
shlibpath_var=SHLIB_PATH
15998
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15999
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16000
soname_spec='${libname}${release}${shared_ext}$major'
16003
# HP-UX runs *really* slowly unless shared libraries are mode 555.
16004
postinstall_cmds='chmod 555 $lib'
16011
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16012
soname_spec='${libname}${release}${shared_ext}$major'
16013
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16014
shlibpath_var=LD_LIBRARY_PATH
16015
shlibpath_overrides_runpath=no
16016
hardcode_into_libs=yes
16019
irix5* | irix6* | nonstopux*)
16021
nonstopux*) version_type=nonstopux ;;
16023
if test "$lt_cv_prog_gnu_ld" = yes; then
16031
soname_spec='${libname}${release}${shared_ext}$major'
16032
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16034
irix5* | nonstopux*)
16035
libsuff= shlibsuff=
16038
case $LD in # libtool.m4 will add one of these switches to LD
16039
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16040
libsuff= shlibsuff= libmagic=32-bit;;
16041
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16042
libsuff=32 shlibsuff=N32 libmagic=N32;;
16043
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16044
libsuff=64 shlibsuff=64 libmagic=64-bit;;
16045
*) libsuff= shlibsuff= libmagic=never-match;;
16049
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16050
shlibpath_overrides_runpath=no
16051
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16052
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16053
hardcode_into_libs=yes
16056
# No shared lib support for Linux oldld, aout, or coff.
16057
linux*oldld* | linux*aout* | linux*coff*)
16061
# This must be Linux ELF.
16062
linux* | k*bsd*-gnu)
16066
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16067
soname_spec='${libname}${release}${shared_ext}$major'
16068
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16069
shlibpath_var=LD_LIBRARY_PATH
16070
shlibpath_overrides_runpath=no
16071
# Some binutils ld are patched to set DT_RUNPATH
16072
save_LDFLAGS=$LDFLAGS
16073
save_libdir=$libdir
16074
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
16075
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
16076
cat >conftest.$ac_ext <<_ACEOF
16079
cat confdefs.h >>conftest.$ac_ext
16080
cat >>conftest.$ac_ext <<_ACEOF
16081
/* end confdefs.h. */
16091
rm -f conftest.$ac_objext conftest$ac_exeext
16092
if { (ac_try="$ac_link"
16093
case "(($ac_try" in
16094
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16095
*) ac_try_echo=$ac_try;;
16097
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16098
$as_echo "$ac_try_echo") >&5
16099
(eval "$ac_link") 2>conftest.er1
16101
grep -v '^ *+' conftest.er1 >conftest.err
16103
cat conftest.err >&5
16104
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105
(exit $ac_status); } && {
16106
test -z "$ac_c_werror_flag" ||
16107
test ! -s conftest.err
16108
} && test -s conftest$ac_exeext && {
16109
test "$cross_compiling" = yes ||
16110
$as_test_x conftest$ac_exeext
16112
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
16113
shlibpath_overrides_runpath=yes
16117
$as_echo "$as_me: failed program was:" >&5
16118
sed 's/^/| /' conftest.$ac_ext >&5
16123
rm -rf conftest.dSYM
16124
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16125
conftest$ac_exeext conftest.$ac_ext
16126
LDFLAGS=$save_LDFLAGS
16127
libdir=$save_libdir
16129
# This implies no fast_install, which is unacceptable.
16130
# Some rework will be needed to allow for fast_install
16131
# before this can be enabled.
16132
hardcode_into_libs=yes
16134
# Add ABI-specific directories to the system library path.
16135
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16137
# Append ld.so.conf contents to the search path
16138
if test -f /etc/ld.so.conf; then
16139
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16140
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16143
# We used to test for /lib/ld.so.1 and disable shared libraries on
16144
# powerpc, because MkLinux only supported shared libraries with the
16145
# GNU dynamic linker. Since this was broken with cross compilers,
16146
# most powerpc-linux boxes support dynamic linking these days and
16147
# people can always --disable-shared, the test was removed, and we
16148
# assume the GNU/Linux dynamic linker is in use.
16149
dynamic_linker='GNU/Linux ld.so'
16156
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16157
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16158
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16159
dynamic_linker='NetBSD (a.out) ld.so'
16161
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16162
soname_spec='${libname}${release}${shared_ext}$major'
16163
dynamic_linker='NetBSD ld.elf_so'
16165
shlibpath_var=LD_LIBRARY_PATH
16166
shlibpath_overrides_runpath=yes
16167
hardcode_into_libs=yes
16172
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16173
shlibpath_var=LD_LIBRARY_PATH
16174
shlibpath_overrides_runpath=yes
16181
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16182
soname_spec='${libname}${release}${shared_ext}$major'
16183
shlibpath_var=LD_LIBRARY_PATH
16184
shlibpath_overrides_runpath=no
16185
hardcode_into_libs=yes
16186
dynamic_linker='ldqnx.so'
16191
sys_lib_dlsearch_path_spec="/usr/lib"
16193
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16195
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16196
*) need_version=no ;;
16198
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16199
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16200
shlibpath_var=LD_LIBRARY_PATH
16201
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16203
openbsd2.[89] | openbsd2.[89].*)
16204
shlibpath_overrides_runpath=no
16207
shlibpath_overrides_runpath=yes
16211
shlibpath_overrides_runpath=yes
16216
libname_spec='$name'
16219
library_names_spec='$libname${shared_ext} $libname.a'
16220
dynamic_linker='OS/2 ld.exe'
16221
shlibpath_var=LIBPATH
16224
osf3* | osf4* | osf5*)
16228
soname_spec='${libname}${release}${shared_ext}$major'
16229
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16230
shlibpath_var=LD_LIBRARY_PATH
16231
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16232
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16243
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16244
soname_spec='${libname}${release}${shared_ext}$major'
16245
shlibpath_var=LD_LIBRARY_PATH
16246
shlibpath_overrides_runpath=yes
16247
hardcode_into_libs=yes
16248
# ldd complains unless libraries are executable
16249
postinstall_cmds='chmod +x $lib'
16254
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16255
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16256
shlibpath_var=LD_LIBRARY_PATH
16257
shlibpath_overrides_runpath=yes
16258
if test "$with_gnu_ld" = yes; then
16266
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16267
soname_spec='${libname}${release}${shared_ext}$major'
16268
shlibpath_var=LD_LIBRARY_PATH
16269
case $host_vendor in
16271
shlibpath_overrides_runpath=no
16273
runpath_var=LD_RUN_PATH
16281
shlibpath_overrides_runpath=no
16282
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16288
if test -d /usr/nec ;then
16290
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16291
soname_spec='$libname${shared_ext}.$major'
16292
shlibpath_var=LD_LIBRARY_PATH
16296
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16297
version_type=freebsd-elf
16300
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16301
soname_spec='${libname}${release}${shared_ext}$major'
16302
shlibpath_var=LD_LIBRARY_PATH
16303
shlibpath_overrides_runpath=yes
16304
hardcode_into_libs=yes
16305
if test "$with_gnu_ld" = yes; then
16306
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16308
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16311
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16315
sys_lib_dlsearch_path_spec='/usr/lib'
16319
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16323
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16324
shlibpath_var=LD_LIBRARY_PATH
16325
shlibpath_overrides_runpath=no
16326
hardcode_into_libs=yes
16331
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16332
soname_spec='${libname}${release}${shared_ext}$major'
16333
shlibpath_var=LD_LIBRARY_PATH
16340
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16341
$as_echo "$dynamic_linker" >&6; }
16342
test "$dynamic_linker" = no && can_build_shared=no
16344
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16345
if test "$GCC" = yes; then
16346
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16349
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16350
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16352
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16353
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16442
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16443
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16445
if test -n "$hardcode_libdir_flag_spec" ||
16446
test -n "$runpath_var" ||
16447
test "X$hardcode_automatic" = "Xyes" ; then
16449
# We can hardcode non-existent directories.
16450
if test "$hardcode_direct" != no &&
16451
# If the only mechanism to avoid hardcoding is shlibpath_var, we
16452
# have to relink, otherwise we might link with an installed library
16453
# when we should be linking with a yet-to-be-installed one
16454
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
16455
test "$hardcode_minus_L" != no; then
16456
# Linking always hardcodes the temporary library directory.
16457
hardcode_action=relink
16459
# We can link without hardcoding, and we can hardcode nonexisting dirs.
16460
hardcode_action=immediate
16463
# We cannot hardcode anything, or else we can only hardcode existing
16465
hardcode_action=unsupported
16467
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
16468
$as_echo "$hardcode_action" >&6; }
16470
if test "$hardcode_action" = relink ||
16471
test "$inherit_rpath" = yes; then
16472
# Fast installation is not supported
16473
enable_fast_install=no
16474
elif test "$shlibpath_overrides_runpath" = yes ||
16475
test "$enable_shared" = no; then
16476
# Fast installation is not necessary
16477
enable_fast_install=needless
16485
if test "x$enable_dlopen" != xyes; then
16486
enable_dlopen=unknown
16487
enable_dlopen_self=unknown
16488
enable_dlopen_self_static=unknown
16495
lt_cv_dlopen="load_add_on"
16497
lt_cv_dlopen_self=yes
16500
mingw* | pw32* | cegcc*)
16501
lt_cv_dlopen="LoadLibrary"
16506
lt_cv_dlopen="dlopen"
16511
# if libdl is installed we need to link against it
16512
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16513
$as_echo_n "checking for dlopen in -ldl... " >&6; }
16514
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16515
$as_echo_n "(cached) " >&6
16517
ac_check_lib_save_LIBS=$LIBS
16519
cat >conftest.$ac_ext <<_ACEOF
16522
cat confdefs.h >>conftest.$ac_ext
16523
cat >>conftest.$ac_ext <<_ACEOF
16524
/* end confdefs.h. */
16526
/* Override any GCC internal prototype to avoid an error.
16527
Use char because int might match the return type of a GCC
16528
builtin and then its argument prototype would still apply. */
16541
rm -f conftest.$ac_objext conftest$ac_exeext
16542
if { (ac_try="$ac_link"
16543
case "(($ac_try" in
16544
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16545
*) ac_try_echo=$ac_try;;
16547
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16548
$as_echo "$ac_try_echo") >&5
16549
(eval "$ac_link") 2>conftest.er1
16551
grep -v '^ *+' conftest.er1 >conftest.err
16553
cat conftest.err >&5
16554
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555
(exit $ac_status); } && {
16556
test -z "$ac_c_werror_flag" ||
16557
test ! -s conftest.err
16558
} && test -s conftest$ac_exeext && {
16559
test "$cross_compiling" = yes ||
16560
$as_test_x conftest$ac_exeext
16562
ac_cv_lib_dl_dlopen=yes
16564
$as_echo "$as_me: failed program was:" >&5
16565
sed 's/^/| /' conftest.$ac_ext >&5
16567
ac_cv_lib_dl_dlopen=no
16570
rm -rf conftest.dSYM
16571
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16572
conftest$ac_exeext conftest.$ac_ext
16573
LIBS=$ac_check_lib_save_LIBS
16575
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16576
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16577
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
16578
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16581
lt_cv_dlopen="dyld"
16583
lt_cv_dlopen_self=yes
16590
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
16591
$as_echo_n "checking for shl_load... " >&6; }
16592
if test "${ac_cv_func_shl_load+set}" = set; then
16593
$as_echo_n "(cached) " >&6
16595
cat >conftest.$ac_ext <<_ACEOF
16598
cat confdefs.h >>conftest.$ac_ext
16599
cat >>conftest.$ac_ext <<_ACEOF
16600
/* end confdefs.h. */
16601
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16602
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16603
#define shl_load innocuous_shl_load
16605
/* System header to define __stub macros and hopefully few prototypes,
16606
which can conflict with char shl_load (); below.
16607
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16608
<limits.h> exists even on freestanding compilers. */
16611
# include <limits.h>
16613
# include <assert.h>
16618
/* Override any GCC internal prototype to avoid an error.
16619
Use char because int might match the return type of a GCC
16620
builtin and then its argument prototype would still apply. */
16625
/* The GNU C library defines this for functions which it implements
16626
to always fail with ENOSYS. Some functions are actually named
16627
something starting with __ and the normal name is an alias. */
16628
#if defined __stub_shl_load || defined __stub___shl_load
16635
return shl_load ();
16640
rm -f conftest.$ac_objext conftest$ac_exeext
16641
if { (ac_try="$ac_link"
16642
case "(($ac_try" in
16643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16644
*) ac_try_echo=$ac_try;;
16646
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16647
$as_echo "$ac_try_echo") >&5
16648
(eval "$ac_link") 2>conftest.er1
16650
grep -v '^ *+' conftest.er1 >conftest.err
16652
cat conftest.err >&5
16653
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654
(exit $ac_status); } && {
16655
test -z "$ac_c_werror_flag" ||
16656
test ! -s conftest.err
16657
} && test -s conftest$ac_exeext && {
16658
test "$cross_compiling" = yes ||
16659
$as_test_x conftest$ac_exeext
16661
ac_cv_func_shl_load=yes
16663
$as_echo "$as_me: failed program was:" >&5
16664
sed 's/^/| /' conftest.$ac_ext >&5
16666
ac_cv_func_shl_load=no
16669
rm -rf conftest.dSYM
16670
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16671
conftest$ac_exeext conftest.$ac_ext
16673
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16674
$as_echo "$ac_cv_func_shl_load" >&6; }
16675
if test "x$ac_cv_func_shl_load" = x""yes; then
16676
lt_cv_dlopen="shl_load"
16678
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16679
$as_echo_n "checking for shl_load in -ldld... " >&6; }
16680
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16681
$as_echo_n "(cached) " >&6
16683
ac_check_lib_save_LIBS=$LIBS
16685
cat >conftest.$ac_ext <<_ACEOF
16688
cat confdefs.h >>conftest.$ac_ext
16689
cat >>conftest.$ac_ext <<_ACEOF
16690
/* end confdefs.h. */
16692
/* Override any GCC internal prototype to avoid an error.
16693
Use char because int might match the return type of a GCC
16694
builtin and then its argument prototype would still apply. */
16702
return shl_load ();
16707
rm -f conftest.$ac_objext conftest$ac_exeext
16708
if { (ac_try="$ac_link"
16709
case "(($ac_try" in
16710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711
*) ac_try_echo=$ac_try;;
16713
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16714
$as_echo "$ac_try_echo") >&5
16715
(eval "$ac_link") 2>conftest.er1
16717
grep -v '^ *+' conftest.er1 >conftest.err
16719
cat conftest.err >&5
16720
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721
(exit $ac_status); } && {
16722
test -z "$ac_c_werror_flag" ||
16723
test ! -s conftest.err
16724
} && test -s conftest$ac_exeext && {
16725
test "$cross_compiling" = yes ||
16726
$as_test_x conftest$ac_exeext
16728
ac_cv_lib_dld_shl_load=yes
16730
$as_echo "$as_me: failed program was:" >&5
16731
sed 's/^/| /' conftest.$ac_ext >&5
16733
ac_cv_lib_dld_shl_load=no
16736
rm -rf conftest.dSYM
16737
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16738
conftest$ac_exeext conftest.$ac_ext
16739
LIBS=$ac_check_lib_save_LIBS
16741
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16742
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
16743
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
16744
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
16746
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
16747
$as_echo_n "checking for dlopen... " >&6; }
16748
if test "${ac_cv_func_dlopen+set}" = set; then
16749
$as_echo_n "(cached) " >&6
16751
cat >conftest.$ac_ext <<_ACEOF
16754
cat confdefs.h >>conftest.$ac_ext
16755
cat >>conftest.$ac_ext <<_ACEOF
16756
/* end confdefs.h. */
16757
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16758
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16759
#define dlopen innocuous_dlopen
16761
/* System header to define __stub macros and hopefully few prototypes,
16762
which can conflict with char dlopen (); below.
16763
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16764
<limits.h> exists even on freestanding compilers. */
16767
# include <limits.h>
16769
# include <assert.h>
16774
/* Override any GCC internal prototype to avoid an error.
16775
Use char because int might match the return type of a GCC
16776
builtin and then its argument prototype would still apply. */
16781
/* The GNU C library defines this for functions which it implements
16782
to always fail with ENOSYS. Some functions are actually named
16783
something starting with __ and the normal name is an alias. */
16784
#if defined __stub_dlopen || defined __stub___dlopen
16796
rm -f conftest.$ac_objext conftest$ac_exeext
16797
if { (ac_try="$ac_link"
16798
case "(($ac_try" in
16799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16800
*) ac_try_echo=$ac_try;;
16802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16803
$as_echo "$ac_try_echo") >&5
16804
(eval "$ac_link") 2>conftest.er1
16806
grep -v '^ *+' conftest.er1 >conftest.err
16808
cat conftest.err >&5
16809
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810
(exit $ac_status); } && {
16811
test -z "$ac_c_werror_flag" ||
16812
test ! -s conftest.err
16813
} && test -s conftest$ac_exeext && {
16814
test "$cross_compiling" = yes ||
16815
$as_test_x conftest$ac_exeext
16817
ac_cv_func_dlopen=yes
16819
$as_echo "$as_me: failed program was:" >&5
16820
sed 's/^/| /' conftest.$ac_ext >&5
16822
ac_cv_func_dlopen=no
16825
rm -rf conftest.dSYM
16826
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16827
conftest$ac_exeext conftest.$ac_ext
16829
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16830
$as_echo "$ac_cv_func_dlopen" >&6; }
16831
if test "x$ac_cv_func_dlopen" = x""yes; then
16832
lt_cv_dlopen="dlopen"
16834
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16835
$as_echo_n "checking for dlopen in -ldl... " >&6; }
16836
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16837
$as_echo_n "(cached) " >&6
16839
ac_check_lib_save_LIBS=$LIBS
16841
cat >conftest.$ac_ext <<_ACEOF
16844
cat confdefs.h >>conftest.$ac_ext
16845
cat >>conftest.$ac_ext <<_ACEOF
16846
/* end confdefs.h. */
16848
/* Override any GCC internal prototype to avoid an error.
16849
Use char because int might match the return type of a GCC
16850
builtin and then its argument prototype would still apply. */
16863
rm -f conftest.$ac_objext conftest$ac_exeext
16864
if { (ac_try="$ac_link"
16865
case "(($ac_try" in
16866
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16867
*) ac_try_echo=$ac_try;;
16869
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16870
$as_echo "$ac_try_echo") >&5
16871
(eval "$ac_link") 2>conftest.er1
16873
grep -v '^ *+' conftest.er1 >conftest.err
16875
cat conftest.err >&5
16876
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877
(exit $ac_status); } && {
16878
test -z "$ac_c_werror_flag" ||
16879
test ! -s conftest.err
16880
} && test -s conftest$ac_exeext && {
16881
test "$cross_compiling" = yes ||
16882
$as_test_x conftest$ac_exeext
16884
ac_cv_lib_dl_dlopen=yes
16886
$as_echo "$as_me: failed program was:" >&5
16887
sed 's/^/| /' conftest.$ac_ext >&5
16889
ac_cv_lib_dl_dlopen=no
16892
rm -rf conftest.dSYM
16893
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16894
conftest$ac_exeext conftest.$ac_ext
16895
LIBS=$ac_check_lib_save_LIBS
16897
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16898
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16899
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
16900
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16902
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16903
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
16904
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16905
$as_echo_n "(cached) " >&6
16907
ac_check_lib_save_LIBS=$LIBS
16908
LIBS="-lsvld $LIBS"
16909
cat >conftest.$ac_ext <<_ACEOF
16912
cat confdefs.h >>conftest.$ac_ext
16913
cat >>conftest.$ac_ext <<_ACEOF
16914
/* end confdefs.h. */
16916
/* Override any GCC internal prototype to avoid an error.
16917
Use char because int might match the return type of a GCC
16918
builtin and then its argument prototype would still apply. */
16931
rm -f conftest.$ac_objext conftest$ac_exeext
16932
if { (ac_try="$ac_link"
16933
case "(($ac_try" in
16934
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16935
*) ac_try_echo=$ac_try;;
16937
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16938
$as_echo "$ac_try_echo") >&5
16939
(eval "$ac_link") 2>conftest.er1
16941
grep -v '^ *+' conftest.er1 >conftest.err
16943
cat conftest.err >&5
16944
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945
(exit $ac_status); } && {
16946
test -z "$ac_c_werror_flag" ||
16947
test ! -s conftest.err
16948
} && test -s conftest$ac_exeext && {
16949
test "$cross_compiling" = yes ||
16950
$as_test_x conftest$ac_exeext
16952
ac_cv_lib_svld_dlopen=yes
16954
$as_echo "$as_me: failed program was:" >&5
16955
sed 's/^/| /' conftest.$ac_ext >&5
16957
ac_cv_lib_svld_dlopen=no
16960
rm -rf conftest.dSYM
16961
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16962
conftest$ac_exeext conftest.$ac_ext
16963
LIBS=$ac_check_lib_save_LIBS
16965
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16966
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
16967
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
16968
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16970
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16971
$as_echo_n "checking for dld_link in -ldld... " >&6; }
16972
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16973
$as_echo_n "(cached) " >&6
16975
ac_check_lib_save_LIBS=$LIBS
16977
cat >conftest.$ac_ext <<_ACEOF
16980
cat confdefs.h >>conftest.$ac_ext
16981
cat >>conftest.$ac_ext <<_ACEOF
16982
/* end confdefs.h. */
16984
/* Override any GCC internal prototype to avoid an error.
16985
Use char because int might match the return type of a GCC
16986
builtin and then its argument prototype would still apply. */
16994
return dld_link ();
16999
rm -f conftest.$ac_objext conftest$ac_exeext
17000
if { (ac_try="$ac_link"
17001
case "(($ac_try" in
17002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17003
*) ac_try_echo=$ac_try;;
17005
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17006
$as_echo "$ac_try_echo") >&5
17007
(eval "$ac_link") 2>conftest.er1
17009
grep -v '^ *+' conftest.er1 >conftest.err
17011
cat conftest.err >&5
17012
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013
(exit $ac_status); } && {
17014
test -z "$ac_c_werror_flag" ||
17015
test ! -s conftest.err
17016
} && test -s conftest$ac_exeext && {
17017
test "$cross_compiling" = yes ||
17018
$as_test_x conftest$ac_exeext
17020
ac_cv_lib_dld_dld_link=yes
17022
$as_echo "$as_me: failed program was:" >&5
17023
sed 's/^/| /' conftest.$ac_ext >&5
17025
ac_cv_lib_dld_dld_link=no
17028
rm -rf conftest.dSYM
17029
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17030
conftest$ac_exeext conftest.$ac_ext
17031
LIBS=$ac_check_lib_save_LIBS
17033
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17034
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
17035
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
17036
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
17057
if test "x$lt_cv_dlopen" != xno; then
17063
case $lt_cv_dlopen in
17065
save_CPPFLAGS="$CPPFLAGS"
17066
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17068
save_LDFLAGS="$LDFLAGS"
17069
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17072
LIBS="$lt_cv_dlopen_libs $LIBS"
17074
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17075
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
17076
if test "${lt_cv_dlopen_self+set}" = set; then
17077
$as_echo_n "(cached) " >&6
17079
if test "$cross_compiling" = yes; then :
17080
lt_cv_dlopen_self=cross
17082
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17083
lt_status=$lt_dlunknown
17084
cat > conftest.$ac_ext <<_LT_EOF
17085
#line 17085 "configure"
17086
#include "confdefs.h"
17095
# define LT_DLGLOBAL RTLD_GLOBAL
17098
# define LT_DLGLOBAL DL_GLOBAL
17100
# define LT_DLGLOBAL 0
17104
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17105
find out it does not work in some platform. */
17106
#ifndef LT_DLLAZY_OR_NOW
17108
# define LT_DLLAZY_OR_NOW RTLD_LAZY
17111
# define LT_DLLAZY_OR_NOW DL_LAZY
17114
# define LT_DLLAZY_OR_NOW RTLD_NOW
17117
# define LT_DLLAZY_OR_NOW DL_NOW
17119
# define LT_DLLAZY_OR_NOW 0
17126
void fnord() { int i=42;}
17129
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17130
int status = $lt_dlunknown;
17134
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17135
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17136
/* dlclose (self); */
17144
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17145
(eval $ac_link) 2>&5
17147
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17149
(./conftest; exit; ) >&5 2>/dev/null
17151
case x$lt_status in
17152
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17153
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17154
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17157
# compilation failed
17158
lt_cv_dlopen_self=no
17165
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17166
$as_echo "$lt_cv_dlopen_self" >&6; }
17168
if test "x$lt_cv_dlopen_self" = xyes; then
17169
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17170
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17171
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
17172
if test "${lt_cv_dlopen_self_static+set}" = set; then
17173
$as_echo_n "(cached) " >&6
17175
if test "$cross_compiling" = yes; then :
17176
lt_cv_dlopen_self_static=cross
17178
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17179
lt_status=$lt_dlunknown
17180
cat > conftest.$ac_ext <<_LT_EOF
17181
#line 17181 "configure"
17182
#include "confdefs.h"
17191
# define LT_DLGLOBAL RTLD_GLOBAL
17194
# define LT_DLGLOBAL DL_GLOBAL
17196
# define LT_DLGLOBAL 0
17200
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17201
find out it does not work in some platform. */
17202
#ifndef LT_DLLAZY_OR_NOW
17204
# define LT_DLLAZY_OR_NOW RTLD_LAZY
17207
# define LT_DLLAZY_OR_NOW DL_LAZY
17210
# define LT_DLLAZY_OR_NOW RTLD_NOW
17213
# define LT_DLLAZY_OR_NOW DL_NOW
17215
# define LT_DLLAZY_OR_NOW 0
17222
void fnord() { int i=42;}
17225
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17226
int status = $lt_dlunknown;
17230
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17231
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17232
/* dlclose (self); */
17240
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17241
(eval $ac_link) 2>&5
17243
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17245
(./conftest; exit; ) >&5 2>/dev/null
17247
case x$lt_status in
17248
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17249
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17250
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17253
# compilation failed
17254
lt_cv_dlopen_self_static=no
17261
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17262
$as_echo "$lt_cv_dlopen_self_static" >&6; }
17265
CPPFLAGS="$save_CPPFLAGS"
17266
LDFLAGS="$save_LDFLAGS"
17271
case $lt_cv_dlopen_self in
17272
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17273
*) enable_dlopen_self=unknown ;;
17276
case $lt_cv_dlopen_self_static in
17277
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17278
*) enable_dlopen_self_static=unknown ;;
17300
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17301
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
17302
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
17303
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17304
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17305
{ $as_echo "$as_me:$LINENO: result: yes" >&5
17306
$as_echo "yes" >&6; }
17308
# FIXME - insert some real tests, host_os isn't really good enough
17311
if test -n "$STRIP" ; then
17312
striplib="$STRIP -x"
17313
old_striplib="$STRIP -S"
17314
{ $as_echo "$as_me:$LINENO: result: yes" >&5
17315
$as_echo "yes" >&6; }
17317
{ $as_echo "$as_me:$LINENO: result: no" >&5
17318
$as_echo "no" >&6; }
17322
{ $as_echo "$as_me:$LINENO: result: no" >&5
17323
$as_echo "no" >&6; }
17339
# Report which library types will actually be built
17340
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17341
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
17342
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
17343
$as_echo "$can_build_shared" >&6; }
17345
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17346
$as_echo_n "checking whether to build shared libraries... " >&6; }
17347
test "$can_build_shared" = "no" && enable_shared=no
17349
# On AIX, shared libraries and static libraries use the same namespace, and
17350
# are all built from PIC.
17353
test "$enable_shared" = yes && enable_static=no
17354
if test -n "$RANLIB"; then
17355
archive_cmds="$archive_cmds~\$RANLIB \$lib"
17356
postinstall_cmds='$RANLIB $lib'
17361
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17362
test "$enable_shared" = yes && enable_static=no
17366
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
17367
$as_echo "$enable_shared" >&6; }
17369
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17370
$as_echo_n "checking whether to build static libraries... " >&6; }
17371
# Make sure either enable_shared or enable_static is yes.
17372
test "$enable_shared" = yes || enable_static=yes
17373
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
17374
$as_echo "$enable_static" >&6; }
17381
ac_cpp='$CPP $CPPFLAGS'
17382
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390
ac_cpp='$CXXCPP $CPPFLAGS'
17391
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17392
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17393
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17395
archive_cmds_need_lc_CXX=no
17396
allow_undefined_flag_CXX=
17397
always_export_symbols_CXX=no
17398
archive_expsym_cmds_CXX=
17399
compiler_needs_object_CXX=no
17400
export_dynamic_flag_spec_CXX=
17401
hardcode_direct_CXX=no
17402
hardcode_direct_absolute_CXX=no
17403
hardcode_libdir_flag_spec_CXX=
17404
hardcode_libdir_flag_spec_ld_CXX=
17405
hardcode_libdir_separator_CXX=
17406
hardcode_minus_L_CXX=no
17407
hardcode_shlibpath_var_CXX=unsupported
17408
hardcode_automatic_CXX=no
17409
inherit_rpath_CXX=no
17411
module_expsym_cmds_CXX=
17412
link_all_deplibs_CXX=unknown
17413
old_archive_cmds_CXX=$old_archive_cmds
17414
no_undefined_flag_CXX=
17415
whole_archive_flag_spec_CXX=
17416
enable_shared_with_static_runtimes_CXX=no
17418
# Source file extension for C++ test sources.
17421
# Object file extension for compiled C++ test sources.
17425
# No sense in running all these tests if we already determined that
17426
# the CXX compiler isn't working. Some variables (like enable_shared)
17427
# are currently assumed to apply to all compilers on this platform,
17428
# and will be corrupted by setting them based on a non-working compiler.
17429
if test "$_lt_caught_CXX_error" != yes; then
17430
# Code to be used in simple compile tests
17431
lt_simple_compile_test_code="int some_variable = 0;"
17433
# Code to be used in simple link tests
17434
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17436
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17443
# If no C compiler was specified, use CC.
17446
# If no C compiler flags were specified, use CFLAGS.
17447
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17449
# Allow CC to be a program name with arguments.
17453
# save warnings/boilerplate of simple test code
17454
ac_outfile=conftest.$ac_objext
17455
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17456
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17457
_lt_compiler_boilerplate=`cat conftest.err`
17460
ac_outfile=conftest.$ac_objext
17461
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17462
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17463
_lt_linker_boilerplate=`cat conftest.err`
17467
# Allow CC to be a program name with arguments.
17472
lt_save_with_gnu_ld=$with_gnu_ld
17473
lt_save_path_LD=$lt_cv_path_LD
17474
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17475
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17477
$as_unset lt_cv_prog_gnu_ld
17479
if test -n "${lt_cv_path_LDCXX+set}"; then
17480
lt_cv_path_LD=$lt_cv_path_LDCXX
17482
$as_unset lt_cv_path_LD
17484
test -z "${LDCXX+set}" || LD=$LDCXX
17488
for cc_temp in $compiler""; do
17490
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17491
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17496
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17499
if test -n "$compiler"; then
17500
# We don't want -fno-exception when compiling C++ code, so set the
17501
# no_builtin_flag separately
17502
if test "$GXX" = yes; then
17503
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17505
lt_prog_compiler_no_builtin_flag_CXX=
17508
if test "$GXX" = yes; then
17509
# Set up default GNU C++ configuration
17513
# Check whether --with-gnu-ld was given.
17514
if test "${with_gnu_ld+set}" = set; then
17515
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17521
if test "$GCC" = yes; then
17522
# Check if gcc -print-prog-name=ld gives a path.
17523
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17524
$as_echo_n "checking for ld used by $CC... " >&6; }
17527
# gcc leaves a trailing carriage return which upsets mingw
17528
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17530
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17533
# Accept absolute paths.
17535
re_direlt='/[^/][^/]*/\.\./'
17536
# Canonicalize the pathname of ld
17537
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17538
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17539
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17541
test -z "$LD" && LD="$ac_prog"
17544
# If it fails, then pretend we aren't using GCC.
17548
# If it is relative, then search for the first ld in PATH.
17549
with_gnu_ld=unknown
17552
elif test "$with_gnu_ld" = yes; then
17553
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
17554
$as_echo_n "checking for GNU ld... " >&6; }
17556
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17557
$as_echo_n "checking for non-GNU ld... " >&6; }
17559
if test "${lt_cv_path_LD+set}" = set; then
17560
$as_echo_n "(cached) " >&6
17562
if test -z "$LD"; then
17563
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17564
for ac_dir in $PATH; do
17566
test -z "$ac_dir" && ac_dir=.
17567
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17568
lt_cv_path_LD="$ac_dir/$ac_prog"
17569
# Check to see if the program is GNU ld. I'd rather use --version,
17570
# but apparently some variants of GNU ld only accept -v.
17571
# Break only if it was the GNU/non-GNU ld that we prefer.
17572
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17573
*GNU* | *'with BFD'*)
17574
test "$with_gnu_ld" != no && break
17577
test "$with_gnu_ld" != yes && break
17584
lt_cv_path_LD="$LD" # Let the user override the test with a path.
17588
LD="$lt_cv_path_LD"
17589
if test -n "$LD"; then
17590
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
17591
$as_echo "$LD" >&6; }
17593
{ $as_echo "$as_me:$LINENO: result: no" >&5
17594
$as_echo "no" >&6; }
17596
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17597
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17598
{ (exit 1); exit 1; }; }
17599
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17600
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17601
if test "${lt_cv_prog_gnu_ld+set}" = set; then
17602
$as_echo_n "(cached) " >&6
17604
# I'd rather use --version here, but apparently some GNU lds only accept -v.
17605
case `$LD -v 2>&1 </dev/null` in
17606
*GNU* | *'with BFD'*)
17607
lt_cv_prog_gnu_ld=yes
17610
lt_cv_prog_gnu_ld=no
17614
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17615
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
17616
with_gnu_ld=$lt_cv_prog_gnu_ld
17624
# Check if GNU C++ uses GNU ld as the underlying linker, since the
17625
# archiving commands below assume that GNU ld is being used.
17626
if test "$with_gnu_ld" = yes; then
17627
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17628
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17630
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17631
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17633
# If archive_cmds runs LD, not CC, wlarc should be empty
17634
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17635
# investigate it a little bit more. (MM)
17638
# ancient GNU ld didn't support --whole-archive et. al.
17639
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17640
$GREP 'no-whole-archive' > /dev/null; then
17641
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17643
whole_archive_flag_spec_CXX=
17649
# A generic and very simple default shared library creation
17650
# command for GNU C++ for the case where it uses the native
17651
# linker, instead of GNU ld. If possible, this setting should
17652
# overridden to take advantage of the native linker features on
17653
# the platform it is being used on.
17654
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17657
# Commands to make compiler produce verbose output that lists
17658
# what "hidden" libraries, object files and flags are used when
17659
# linking a shared library.
17660
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17668
# PORTME: fill in a description of your system's C++ link characteristics
17669
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17670
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17674
# FIXME: insert proper C++ library support
17678
if test "$host_cpu" = ia64; then
17679
# On IA64, the linker does run time linking by default, so we don't
17680
# have to do anything special.
17681
aix_use_runtimelinking=no
17682
exp_sym_flag='-Bexport'
17685
aix_use_runtimelinking=no
17687
# Test if we are trying to use run time linking or normal
17688
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
17689
# need to do runtime linking.
17690
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17691
for ld_flag in $LDFLAGS; do
17694
aix_use_runtimelinking=yes
17702
exp_sym_flag='-bexport'
17703
no_entry_flag='-bnoentry'
17706
# When large executables or shared objects are built, AIX ld can
17707
# have problems creating the table of contents. If linking a library
17708
# or program results in "error TOC overflow" add -mminimal-toc to
17709
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17710
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17712
archive_cmds_CXX=''
17713
hardcode_direct_CXX=yes
17714
hardcode_direct_absolute_CXX=yes
17715
hardcode_libdir_separator_CXX=':'
17716
link_all_deplibs_CXX=yes
17717
file_list_spec_CXX='${wl}-f,'
17719
if test "$GXX" = yes; then
17720
case $host_os in aix4.[012]|aix4.[012].*)
17721
# We only want to do this on AIX 4.2 and lower, the check
17722
# below for broken collect2 doesn't work under 4.3+
17723
collect2name=`${CC} -print-prog-name=collect2`
17724
if test -f "$collect2name" &&
17725
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17727
# We have reworked collect2
17730
# We have old collect2
17731
hardcode_direct_CXX=unsupported
17732
# It fails to find uninstalled libraries when the uninstalled
17733
# path is not listed in the libpath. Setting hardcode_minus_L
17734
# to unsupported forces relinking
17735
hardcode_minus_L_CXX=yes
17736
hardcode_libdir_flag_spec_CXX='-L$libdir'
17737
hardcode_libdir_separator_CXX=
17740
shared_flag='-shared'
17741
if test "$aix_use_runtimelinking" = yes; then
17742
shared_flag="$shared_flag "'${wl}-G'
17746
if test "$host_cpu" = ia64; then
17747
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17748
# chokes on -Wl,-G. The following line is correct:
17751
if test "$aix_use_runtimelinking" = yes; then
17752
shared_flag='${wl}-G'
17754
shared_flag='${wl}-bM:SRE'
17759
export_dynamic_flag_spec_CXX='${wl}-bexpall'
17760
# It seems that -bexpall does not export symbols beginning with
17761
# underscore (_), so it is better to generate a list of symbols to
17763
always_export_symbols_CXX=yes
17764
if test "$aix_use_runtimelinking" = yes; then
17765
# Warning - without using the other runtime loading flags (-brtl),
17766
# -berok will link without error, but may produce a broken library.
17767
allow_undefined_flag_CXX='-berok'
17768
# Determine the default libpath from the value encoded in an empty
17770
cat >conftest.$ac_ext <<_ACEOF
17773
cat confdefs.h >>conftest.$ac_ext
17774
cat >>conftest.$ac_ext <<_ACEOF
17775
/* end confdefs.h. */
17785
rm -f conftest.$ac_objext conftest$ac_exeext
17786
if { (ac_try="$ac_link"
17787
case "(($ac_try" in
17788
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17789
*) ac_try_echo=$ac_try;;
17791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17792
$as_echo "$ac_try_echo") >&5
17793
(eval "$ac_link") 2>conftest.er1
17795
grep -v '^ *+' conftest.er1 >conftest.err
17797
cat conftest.err >&5
17798
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799
(exit $ac_status); } && {
17800
test -z "$ac_cxx_werror_flag" ||
17801
test ! -s conftest.err
17802
} && test -s conftest$ac_exeext && {
17803
test "$cross_compiling" = yes ||
17804
$as_test_x conftest$ac_exeext
17807
lt_aix_libpath_sed='
17808
/Import File Strings/,/^$/ {
17814
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17815
# Check for a 64-bit object if we didn't find anything.
17816
if test -z "$aix_libpath"; then
17817
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17820
$as_echo "$as_me: failed program was:" >&5
17821
sed 's/^/| /' conftest.$ac_ext >&5
17826
rm -rf conftest.dSYM
17827
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17828
conftest$ac_exeext conftest.$ac_ext
17829
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17831
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17833
archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17835
if test "$host_cpu" = ia64; then
17836
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17837
allow_undefined_flag_CXX="-z nodefs"
17838
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17840
# Determine the default libpath from the value encoded in an
17841
# empty executable.
17842
cat >conftest.$ac_ext <<_ACEOF
17845
cat confdefs.h >>conftest.$ac_ext
17846
cat >>conftest.$ac_ext <<_ACEOF
17847
/* end confdefs.h. */
17857
rm -f conftest.$ac_objext conftest$ac_exeext
17858
if { (ac_try="$ac_link"
17859
case "(($ac_try" in
17860
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17861
*) ac_try_echo=$ac_try;;
17863
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17864
$as_echo "$ac_try_echo") >&5
17865
(eval "$ac_link") 2>conftest.er1
17867
grep -v '^ *+' conftest.er1 >conftest.err
17869
cat conftest.err >&5
17870
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871
(exit $ac_status); } && {
17872
test -z "$ac_cxx_werror_flag" ||
17873
test ! -s conftest.err
17874
} && test -s conftest$ac_exeext && {
17875
test "$cross_compiling" = yes ||
17876
$as_test_x conftest$ac_exeext
17879
lt_aix_libpath_sed='
17880
/Import File Strings/,/^$/ {
17886
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17887
# Check for a 64-bit object if we didn't find anything.
17888
if test -z "$aix_libpath"; then
17889
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17892
$as_echo "$as_me: failed program was:" >&5
17893
sed 's/^/| /' conftest.$ac_ext >&5
17898
rm -rf conftest.dSYM
17899
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17900
conftest$ac_exeext conftest.$ac_ext
17901
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17903
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17904
# Warning - without using the other run time loading flags,
17905
# -berok will link without error, but may produce a broken library.
17906
no_undefined_flag_CXX=' ${wl}-bernotok'
17907
allow_undefined_flag_CXX=' ${wl}-berok'
17908
# Exported symbols can be pulled into shared objects from archives
17909
whole_archive_flag_spec_CXX='$convenience'
17910
archive_cmds_need_lc_CXX=yes
17911
# This is similar to how AIX traditionally builds its shared
17913
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17919
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17920
allow_undefined_flag_CXX=unsupported
17921
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17922
# support --undefined. This deserves some investigation. FIXME
17923
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17930
case $cc_basename in
17932
# FIXME: insert proper C++ library support
17938
cygwin* | mingw* | pw32* | cegcc*)
17939
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17940
# as there is no search path for DLLs.
17941
hardcode_libdir_flag_spec_CXX='-L$libdir'
17942
allow_undefined_flag_CXX=unsupported
17943
always_export_symbols_CXX=no
17944
enable_shared_with_static_runtimes_CXX=yes
17946
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17947
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17948
# If the export-symbols file already is a .def file (1st line
17949
# is EXPORTS), use it as is; otherwise, prepend...
17950
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17951
cp $export_symbols $output_objdir/$soname.def;
17953
echo EXPORTS > $output_objdir/$soname.def;
17954
cat $export_symbols >> $output_objdir/$soname.def;
17956
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17961
darwin* | rhapsody*)
17964
archive_cmds_need_lc_CXX=no
17965
hardcode_direct_CXX=no
17966
hardcode_automatic_CXX=yes
17967
hardcode_shlibpath_var_CXX=unsupported
17968
whole_archive_flag_spec_CXX=''
17969
link_all_deplibs_CXX=yes
17970
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
17971
case $cc_basename in
17972
ifort*) _lt_dar_can_shared=yes ;;
17973
*) _lt_dar_can_shared=$GCC ;;
17975
if test "$_lt_dar_can_shared" = "yes"; then
17976
output_verbose_link_cmd=echo
17977
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17978
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17979
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17980
module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17981
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
17982
archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
17983
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
17993
case $cc_basename in
17995
# FIXME: insert proper C++ library support
17999
# Green Hills C++ Compiler
18000
# FIXME: insert proper C++ library support
18004
# FIXME: insert proper C++ library support
18011
# C++ shared libraries reported to be fairly broken before
18017
archive_cmds_need_lc_CXX=no
18020
freebsd* | dragonfly*)
18021
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18030
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18031
hardcode_libdir_separator_CXX=:
18032
export_dynamic_flag_spec_CXX='${wl}-E'
18033
hardcode_direct_CXX=yes
18034
hardcode_minus_L_CXX=yes # Not in the search PATH,
18035
# but as the default
18036
# location of the library.
18038
case $cc_basename in
18040
# FIXME: insert proper C++ library support
18044
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18045
# Commands to make compiler produce verbose output that lists
18046
# what "hidden" libraries, object files and flags are used when
18047
# linking a shared library.
18049
# There doesn't appear to be a way to prevent this compiler from
18050
# explicitly linking system object files so we need to strip them
18051
# from the output so that they don't get included in the library
18053
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18056
if test "$GXX" = yes; then
18057
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18059
# FIXME: insert proper C++ library support
18067
if test $with_gnu_ld = no; then
18068
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18069
hardcode_libdir_separator_CXX=:
18075
export_dynamic_flag_spec_CXX='${wl}-E'
18081
hardcode_direct_CXX=no
18082
hardcode_shlibpath_var_CXX=no
18085
hardcode_direct_CXX=yes
18086
hardcode_direct_absolute_CXX=yes
18087
hardcode_minus_L_CXX=yes # Not in the search PATH,
18088
# but as the default
18089
# location of the library.
18093
case $cc_basename in
18095
# FIXME: insert proper C++ library support
18101
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18104
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18107
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18110
# Commands to make compiler produce verbose output that lists
18111
# what "hidden" libraries, object files and flags are used when
18112
# linking a shared library.
18114
# There doesn't appear to be a way to prevent this compiler from
18115
# explicitly linking system object files so we need to strip them
18116
# from the output so that they don't get included in the library
18118
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18121
if test "$GXX" = yes; then
18122
if test $with_gnu_ld = no; then
18125
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18128
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18131
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18136
# FIXME: insert proper C++ library support
18144
hardcode_direct_CXX=no
18145
hardcode_shlibpath_var_CXX=no
18146
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18147
export_dynamic_flag_spec_CXX='${wl}-E'
18148
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18149
# Instead, shared libraries are loaded at an image base (0x10000000 by
18150
# default) and relocated if they conflict, which is a slow very memory
18151
# consuming and fragmenting process. To avoid this, we pick a random,
18152
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18153
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
18154
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18155
archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18158
case $cc_basename in
18161
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18163
# Archives containing C++ object files must be created using
18164
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
18165
# necessary to make sure instantiated templates are included
18167
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18170
if test "$GXX" = yes; then
18171
if test "$with_gnu_ld" = no; then
18172
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18174
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
18177
link_all_deplibs_CXX=yes
18180
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18181
hardcode_libdir_separator_CXX=:
18182
inherit_rpath_CXX=yes
18185
linux* | k*bsd*-gnu)
18186
case $cc_basename in
18188
# Kuck and Associates, Inc. (KAI) C++ Compiler
18190
# KCC will only create a shared library if the output file
18191
# ends with ".so" (or ".sl" for HP-UX), so rename the library
18192
# to its proper name (with version) after linking.
18193
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18194
archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
18195
# Commands to make compiler produce verbose output that lists
18196
# what "hidden" libraries, object files and flags are used when
18197
# linking a shared library.
18199
# There doesn't appear to be a way to prevent this compiler from
18200
# explicitly linking system object files so we need to strip them
18201
# from the output so that they don't get included in the library
18203
output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18205
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18206
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18208
# Archives containing C++ object files must be created using
18209
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
18210
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18215
# version 8.0 and above of icpc choke on multiply defined symbols
18216
# if we add $predep_objects and $postdep_objects, however 7.1 and
18217
# earlier do not add the objects themselves.
18218
case `$CC -V 2>&1` in
18220
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18221
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18223
*) # Version 8.0 or newer
18226
ia64*) tmp_idyn=' -i_dynamic';;
18228
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18229
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18232
archive_cmds_need_lc_CXX=no
18233
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18234
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18235
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18238
# Portland Group C++ compiler
18240
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
18241
prelink_cmds_CXX='tpldir=Template.dir~
18243
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18244
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
18245
old_archive_cmds_CXX='tpldir=Template.dir~
18247
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18248
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
18250
archive_cmds_CXX='tpldir=Template.dir~
18252
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18253
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18254
archive_expsym_cmds_CXX='tpldir=Template.dir~
18256
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18257
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18259
*) # Version 6 will use weak symbols
18260
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18261
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18265
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18266
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18267
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18271
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18272
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
18274
runpath_var=LD_RUN_PATH
18275
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18276
hardcode_libdir_separator_CXX=:
18278
# Commands to make compiler produce verbose output that lists
18279
# what "hidden" libraries, object files and flags are used when
18280
# linking a shared library.
18282
# There doesn't appear to be a way to prevent this compiler from
18283
# explicitly linking system object files so we need to strip them
18284
# from the output so that they don't get included in the library
18286
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18289
# IBM XL 8.0 on PPC, with GNU ld
18290
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18291
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18292
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18293
if test "x$supports_anon_versioning" = xyes; then
18294
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18295
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18296
echo "local: *; };" >> $output_objdir/$libname.ver~
18297
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18301
case `$CC -V 2>&1 | sed 5q` in
18304
no_undefined_flag_CXX=' -zdefs'
18305
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18306
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
18307
hardcode_libdir_flag_spec_CXX='-R$libdir'
18308
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18309
compiler_needs_object_CXX=yes
18311
# Not sure whether something based on
18312
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18314
output_verbose_link_cmd='echo'
18316
# Archives containing C++ object files must be created using
18317
# "CC -xar", where "CC" is the Sun C++ compiler. This is
18318
# necessary to make sure instantiated templates are included
18320
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18328
# FIXME: insert proper C++ library support
18333
# FIXME: insert proper C++ library support
18338
case $cc_basename in
18340
# FIXME: insert proper C++ library support
18344
# FIXME: insert proper C++ library support
18351
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18352
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18354
hardcode_libdir_flag_spec_CXX='-R$libdir'
18355
hardcode_direct_CXX=yes
18356
hardcode_shlibpath_var_CXX=no
18358
# Workaround some broken pre-1.5 toolchains
18359
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18367
# C++ shared libraries are fairly broken
18372
if test -f /usr/libexec/ld.so; then
18373
hardcode_direct_CXX=yes
18374
hardcode_shlibpath_var_CXX=no
18375
hardcode_direct_absolute_CXX=yes
18376
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18377
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18378
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18379
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18380
export_dynamic_flag_spec_CXX='${wl}-E'
18381
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18383
output_verbose_link_cmd=echo
18389
osf3* | osf4* | osf5*)
18390
case $cc_basename in
18392
# Kuck and Associates, Inc. (KAI) C++ Compiler
18394
# KCC will only create a shared library if the output file
18395
# ends with ".so" (or ".sl" for HP-UX), so rename the library
18396
# to its proper name (with version) after linking.
18397
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18399
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18400
hardcode_libdir_separator_CXX=:
18402
# Archives containing C++ object files must be created using
18403
# the KAI C++ compiler.
18405
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18406
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18410
# Rational C++ 2.4.1
18411
# FIXME: insert proper C++ library support
18417
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18418
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18419
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18422
allow_undefined_flag_CXX=' -expect_unresolved \*'
18423
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18424
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18425
echo "-hidden">> $lib.exp~
18426
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
18428
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18432
hardcode_libdir_separator_CXX=:
18434
# Commands to make compiler produce verbose output that lists
18435
# what "hidden" libraries, object files and flags are used when
18436
# linking a shared library.
18438
# There doesn't appear to be a way to prevent this compiler from
18439
# explicitly linking system object files so we need to strip them
18440
# from the output so that they don't get included in the library
18442
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18445
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18446
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18449
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18452
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18456
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18457
hardcode_libdir_separator_CXX=:
18459
# Commands to make compiler produce verbose output that lists
18460
# what "hidden" libraries, object files and flags are used when
18461
# linking a shared library.
18462
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18465
# FIXME: insert proper C++ library support
18473
# FIXME: insert proper C++ library support
18478
case $cc_basename in
18481
# FIXME: insert proper C++ library support
18486
# FIXME: insert proper C++ library support
18490
# FIXME: insert proper C++ library support
18497
case $cc_basename in
18499
# Sun C++ 4.2, 5.x and Centerline C++
18500
archive_cmds_need_lc_CXX=yes
18501
no_undefined_flag_CXX=' -zdefs'
18502
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18503
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18504
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18506
hardcode_libdir_flag_spec_CXX='-R$libdir'
18507
hardcode_shlibpath_var_CXX=no
18509
solaris2.[0-5] | solaris2.[0-5].*) ;;
18511
# The compiler driver will combine and reorder linker options,
18512
# but understands `-z linker_flag'.
18513
# Supported since Solaris 2.6 (maybe 2.5.1?)
18514
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18517
link_all_deplibs_CXX=yes
18519
output_verbose_link_cmd='echo'
18521
# Archives containing C++ object files must be created using
18522
# "CC -xar", where "CC" is the Sun C++ compiler. This is
18523
# necessary to make sure instantiated templates are included
18525
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18528
# Green Hills C++ Compiler
18529
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18531
# The C++ compiler must be used to create the archive.
18532
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18535
# GNU C++ compiler with Solaris linker
18536
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18537
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18538
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18539
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18540
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18541
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18543
# Commands to make compiler produce verbose output that lists
18544
# what "hidden" libraries, object files and flags are used when
18545
# linking a shared library.
18546
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18548
# g++ 2.7 appears to require `-G' NOT `-shared' on this
18550
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18551
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18552
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18554
# Commands to make compiler produce verbose output that lists
18555
# what "hidden" libraries, object files and flags are used when
18556
# linking a shared library.
18557
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18560
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18562
solaris2.[0-5] | solaris2.[0-5].*) ;;
18564
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18572
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18573
no_undefined_flag_CXX='${wl}-z,text'
18574
archive_cmds_need_lc_CXX=no
18575
hardcode_shlibpath_var_CXX=no
18576
runpath_var='LD_RUN_PATH'
18578
case $cc_basename in
18580
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18581
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18584
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18585
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18590
sysv5* | sco3.2v5* | sco5v6*)
18591
# Note: We can NOT use -z defs as we might desire, because we do not
18592
# link with -lc, and that would cause any symbols used from libc to
18593
# always be unresolved, which means just about no library would
18594
# ever link correctly. If we're not using GNU ld we use -z text
18595
# though, which does catch some bad symbols but isn't as heavy-handed
18597
no_undefined_flag_CXX='${wl}-z,text'
18598
allow_undefined_flag_CXX='${wl}-z,nodefs'
18599
archive_cmds_need_lc_CXX=no
18600
hardcode_shlibpath_var_CXX=no
18601
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
18602
hardcode_libdir_separator_CXX=':'
18603
link_all_deplibs_CXX=yes
18604
export_dynamic_flag_spec_CXX='${wl}-Bexport'
18605
runpath_var='LD_RUN_PATH'
18607
case $cc_basename in
18609
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18610
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18613
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18614
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18620
case $cc_basename in
18622
# NonStop-UX NCC 3.20
18623
# FIXME: insert proper C++ library support
18627
# FIXME: insert proper C++ library support
18634
# FIXME: insert proper C++ library support
18639
# FIXME: insert proper C++ library support
18644
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
18645
$as_echo "$ld_shlibs_CXX" >&6; }
18646
test "$ld_shlibs_CXX" = no && can_build_shared=no
18652
## There is no encapsulation within the following macros, do not change
18653
## the running order or otherwise move them around unless you know exactly
18654
## what you are doing...
18655
# Dependencies to place before and after the object being linked:
18656
predep_objects_CXX=
18657
postdep_objects_CXX=
18660
compiler_lib_search_path_CXX=
18662
cat > conftest.$ac_ext <<_LT_EOF
18666
Foo (void) { a = 0; }
18672
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673
(eval $ac_compile) 2>&5
18675
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676
(exit $ac_status); }; then
18677
# Parse the compiler output and extract the necessary
18678
# objects, libraries and library flags.
18680
# Sentinel used to keep track of whether or not we are before
18681
# the conftest object file.
18682
pre_test_object_deps_done=no
18684
for p in `eval "$output_verbose_link_cmd"`; do
18688
# Some compilers place space between "-{L,R}" and the path.
18689
# Remove the space.
18690
if test $p = "-L" ||
18691
test $p = "-R"; then
18698
if test "$pre_test_object_deps_done" = no; then
18701
# Internal compiler library paths should come after those
18702
# provided the user. The postdeps already come after the
18703
# user supplied libs so there is no need to process them.
18704
if test -z "$compiler_lib_search_path_CXX"; then
18705
compiler_lib_search_path_CXX="${prev}${p}"
18707
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18710
# The "-l" case would never come before the object being
18711
# linked, so don't bother handling this case.
18714
if test -z "$postdeps_CXX"; then
18715
postdeps_CXX="${prev}${p}"
18717
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18723
# This assumes that the test object file only shows up
18724
# once in the compiler output.
18725
if test "$p" = "conftest.$objext"; then
18726
pre_test_object_deps_done=yes
18730
if test "$pre_test_object_deps_done" = no; then
18731
if test -z "$predep_objects_CXX"; then
18732
predep_objects_CXX="$p"
18734
predep_objects_CXX="$predep_objects_CXX $p"
18737
if test -z "$postdep_objects_CXX"; then
18738
postdep_objects_CXX="$p"
18740
postdep_objects_CXX="$postdep_objects_CXX $p"
18745
*) ;; # Ignore the rest.
18753
echo "libtool.m4: error: problem compiling CXX test program"
18756
$RM -f confest.$objext
18758
# PORTME: override above test on systems where it is broken
18761
# Interix 3.5 installs completely hosed .la files for C++, so rather than
18762
# hack all around it, let's just trust "g++" to DTRT.
18763
predep_objects_CXX=
18764
postdep_objects_CXX=
18769
case `$CC -V 2>&1 | sed 5q` in
18773
# The more standards-conforming stlport4 library is
18774
# incompatible with the Cstd library. Avoid specifying
18775
# it if it's in CXXFLAGS. Ignore libCrun as
18776
# -library=stlport4 depends on it.
18777
case " $CXX $CXXFLAGS " in
18778
*" -library=stlport4 "*)
18779
solaris_use_stlport4=yes
18783
if test "$solaris_use_stlport4" != yes; then
18784
postdeps_CXX='-library=Cstd -library=Crun'
18791
case $cc_basename in
18793
# The more standards-conforming stlport4 library is
18794
# incompatible with the Cstd library. Avoid specifying
18795
# it if it's in CXXFLAGS. Ignore libCrun as
18796
# -library=stlport4 depends on it.
18797
case " $CXX $CXXFLAGS " in
18798
*" -library=stlport4 "*)
18799
solaris_use_stlport4=yes
18803
# Adding this requires a known-good setup of shared libraries for
18804
# Sun compiler versions before 5.6, else PIC objects from an old
18805
# archive will be linked into the output, leading to subtle bugs.
18806
if test "$solaris_use_stlport4" != yes; then
18807
postdeps_CXX='-library=Cstd -library=Crun'
18815
case " $postdeps_CXX " in
18816
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
18818
compiler_lib_search_dirs_CXX=
18819
if test -n "${compiler_lib_search_path_CXX}"; then
18820
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
18853
lt_prog_compiler_wl_CXX=
18854
lt_prog_compiler_pic_CXX=
18855
lt_prog_compiler_static_CXX=
18857
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18858
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18860
# C++ specific cases for pic, static, wl, etc.
18861
if test "$GXX" = yes; then
18862
lt_prog_compiler_wl_CXX='-Wl,'
18863
lt_prog_compiler_static_CXX='-static'
18867
# All AIX code is PIC.
18868
if test "$host_cpu" = ia64; then
18869
# AIX 5 now supports IA64 processor
18870
lt_prog_compiler_static_CXX='-Bstatic'
18877
# see comment about AmigaOS4 .so support
18878
lt_prog_compiler_pic_CXX='-fPIC'
18881
# FIXME: we need at least 68020 code to build shared libraries, but
18882
# adding the `-m68020' flag to GCC prevents building anything better,
18884
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18889
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18890
# PIC is the default for these OSes.
18892
mingw* | cygwin* | os2* | pw32* | cegcc*)
18893
# This hack is so that the source file can tell whether it is being
18894
# built for inclusion in a dll (and should export symbols for example).
18895
# Although the cygwin gcc ignores -fPIC, still need this for old-style
18896
# (--disable-auto-import) libraries
18897
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18899
darwin* | rhapsody*)
18900
# PIC is the default on this platform
18901
# Common symbols not allowed in MH_DYLIB files
18902
lt_prog_compiler_pic_CXX='-fno-common'
18905
# DJGPP does not support shared libraries at all
18906
lt_prog_compiler_pic_CXX=
18909
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
18910
# Instead, we relocate shared libraries at runtime.
18913
if test -d /usr/nec; then
18914
lt_prog_compiler_pic_CXX=-Kconform_pic
18918
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18919
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18920
# sets the default TLS model and affects inlining.
18925
lt_prog_compiler_pic_CXX='-fPIC'
18930
# QNX uses GNU C++, but need to define -shared option too, otherwise
18931
# it will coredump.
18932
lt_prog_compiler_pic_CXX='-fPIC -shared'
18935
lt_prog_compiler_pic_CXX='-fPIC'
18941
# All AIX code is PIC.
18942
if test "$host_cpu" = ia64; then
18943
# AIX 5 now supports IA64 processor
18944
lt_prog_compiler_static_CXX='-Bstatic'
18946
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
18950
case $cc_basename in
18952
# Green Hills C++ Compiler
18953
# _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
18958
case $cc_basename in
18960
lt_prog_compiler_pic_CXX='-KPIC'
18963
# Green Hills C++ Compiler
18964
lt_prog_compiler_pic_CXX='-pic'
18970
freebsd* | dragonfly*)
18971
# FreeBSD uses GNU C++
18973
hpux9* | hpux10* | hpux11*)
18974
case $cc_basename in
18976
lt_prog_compiler_wl_CXX='-Wl,'
18977
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18978
if test "$host_cpu" != ia64; then
18979
lt_prog_compiler_pic_CXX='+Z'
18983
lt_prog_compiler_wl_CXX='-Wl,'
18984
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18990
lt_prog_compiler_pic_CXX='+Z'
18999
# This is c89, which is MS Visual C++ (no shared libs)
19000
# Anyone wants to do a port?
19002
irix5* | irix6* | nonstopux*)
19003
case $cc_basename in
19005
lt_prog_compiler_wl_CXX='-Wl,'
19006
lt_prog_compiler_static_CXX='-non_shared'
19007
# CC pic flag -KPIC is the default.
19013
linux* | k*bsd*-gnu)
19014
case $cc_basename in
19017
lt_prog_compiler_wl_CXX='--backend -Wl,'
19018
lt_prog_compiler_pic_CXX='-fPIC'
19021
# old Intel C++ for x86_64 which still supported -KPIC.
19022
lt_prog_compiler_wl_CXX='-Wl,'
19023
lt_prog_compiler_pic_CXX='-KPIC'
19024
lt_prog_compiler_static_CXX='-static'
19027
# Intel C++, used to be incompatible with GCC.
19028
# ICC 10 doesn't accept -KPIC any more.
19029
lt_prog_compiler_wl_CXX='-Wl,'
19030
lt_prog_compiler_pic_CXX='-fPIC'
19031
lt_prog_compiler_static_CXX='-static'
19034
# Portland Group C++ compiler
19035
lt_prog_compiler_wl_CXX='-Wl,'
19036
lt_prog_compiler_pic_CXX='-fpic'
19037
lt_prog_compiler_static_CXX='-Bstatic'
19041
# Make sure the PIC flag is empty. It appears that all Alpha
19042
# Linux and Compaq Tru64 Unix objects are PIC.
19043
lt_prog_compiler_pic_CXX=
19044
lt_prog_compiler_static_CXX='-non_shared'
19047
# IBM XL 8.0 on PPC
19048
lt_prog_compiler_wl_CXX='-Wl,'
19049
lt_prog_compiler_pic_CXX='-qpic'
19050
lt_prog_compiler_static_CXX='-qstaticlink'
19053
case `$CC -V 2>&1 | sed 5q` in
19056
lt_prog_compiler_pic_CXX='-KPIC'
19057
lt_prog_compiler_static_CXX='-Bstatic'
19058
lt_prog_compiler_wl_CXX='-Qoption ld '
19069
case $cc_basename in
19071
lt_prog_compiler_pic_CXX='-W c,exportall'
19080
# QNX uses GNU C++, but need to define -shared option too, otherwise
19081
# it will coredump.
19082
lt_prog_compiler_pic_CXX='-fPIC -shared'
19084
osf3* | osf4* | osf5*)
19085
case $cc_basename in
19087
lt_prog_compiler_wl_CXX='--backend -Wl,'
19090
# Rational C++ 2.4.1
19091
lt_prog_compiler_pic_CXX='-pic'
19094
# Digital/Compaq C++
19095
lt_prog_compiler_wl_CXX='-Wl,'
19096
# Make sure the PIC flag is empty. It appears that all Alpha
19097
# Linux and Compaq Tru64 Unix objects are PIC.
19098
lt_prog_compiler_pic_CXX=
19099
lt_prog_compiler_static_CXX='-non_shared'
19108
case $cc_basename in
19110
# Sun C++ 4.2, 5.x and Centerline C++
19111
lt_prog_compiler_pic_CXX='-KPIC'
19112
lt_prog_compiler_static_CXX='-Bstatic'
19113
lt_prog_compiler_wl_CXX='-Qoption ld '
19116
# Green Hills C++ Compiler
19117
lt_prog_compiler_pic_CXX='-PIC'
19124
case $cc_basename in
19127
lt_prog_compiler_pic_CXX='-pic'
19128
lt_prog_compiler_static_CXX='-Bstatic'
19132
lt_prog_compiler_pic_CXX='-pic'
19138
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19139
case $cc_basename in
19141
lt_prog_compiler_wl_CXX='-Wl,'
19142
lt_prog_compiler_pic_CXX='-KPIC'
19143
lt_prog_compiler_static_CXX='-Bstatic'
19148
case $cc_basename in
19150
# NonStop-UX NCC 3.20
19151
lt_prog_compiler_pic_CXX='-KPIC'
19160
lt_prog_compiler_can_build_shared_CXX=no
19166
# For platforms which do not support PIC, -DPIC is meaningless:
19168
lt_prog_compiler_pic_CXX=
19171
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19174
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19175
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
19180
# Check to make sure the PIC flag actually works.
19182
if test -n "$lt_prog_compiler_pic_CXX"; then
19183
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19184
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19185
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
19186
$as_echo_n "(cached) " >&6
19188
lt_cv_prog_compiler_pic_works_CXX=no
19189
ac_outfile=conftest.$ac_objext
19190
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19191
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19192
# Insert the option either (1) after the last *FLAGS variable, or
19193
# (2) before a word containing "conftest.", or (3) at the end.
19194
# Note that $ac_compile itself does not contain backslashes and begins
19195
# with a dollar sign (not a hyphen), so the echo should work correctly.
19196
# The option is referenced via a variable to avoid confusing sed.
19197
lt_compile=`echo "$ac_compile" | $SED \
19198
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19199
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19200
-e 's:$: $lt_compiler_flag:'`
19201
(eval echo "\"\$as_me:19201: $lt_compile\"" >&5)
19202
(eval "$lt_compile" 2>conftest.err)
19204
cat conftest.err >&5
19205
echo "$as_me:19205: \$? = $ac_status" >&5
19206
if (exit $ac_status) && test -s "$ac_outfile"; then
19207
# The compiler can only warn and ignore the option if not recognized
19208
# So say no if there are warnings other than the usual output.
19209
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19210
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19211
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19212
lt_cv_prog_compiler_pic_works_CXX=yes
19218
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19219
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19221
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19222
case $lt_prog_compiler_pic_CXX in
19224
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19227
lt_prog_compiler_pic_CXX=
19228
lt_prog_compiler_can_build_shared_CXX=no
19236
# Check to make sure the static flag actually works.
19238
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19239
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19240
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19241
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
19242
$as_echo_n "(cached) " >&6
19244
lt_cv_prog_compiler_static_works_CXX=no
19245
save_LDFLAGS="$LDFLAGS"
19246
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19247
echo "$lt_simple_link_test_code" > conftest.$ac_ext
19248
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19249
# The linker can only warn and ignore the option if not recognized
19250
# So say no if there are warnings
19251
if test -s conftest.err; then
19252
# Append any errors to the config.log.
19253
cat conftest.err 1>&5
19254
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19255
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19256
if diff conftest.exp conftest.er2 >/dev/null; then
19257
lt_cv_prog_compiler_static_works_CXX=yes
19260
lt_cv_prog_compiler_static_works_CXX=yes
19264
LDFLAGS="$save_LDFLAGS"
19267
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19268
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19270
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19273
lt_prog_compiler_static_CXX=
19279
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19280
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19281
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19282
$as_echo_n "(cached) " >&6
19284
lt_cv_prog_compiler_c_o_CXX=no
19285
$RM -r conftest 2>/dev/null
19289
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19291
lt_compiler_flag="-o out/conftest2.$ac_objext"
19292
# Insert the option either (1) after the last *FLAGS variable, or
19293
# (2) before a word containing "conftest.", or (3) at the end.
19294
# Note that $ac_compile itself does not contain backslashes and begins
19295
# with a dollar sign (not a hyphen), so the echo should work correctly.
19296
lt_compile=`echo "$ac_compile" | $SED \
19297
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19298
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19299
-e 's:$: $lt_compiler_flag:'`
19300
(eval echo "\"\$as_me:19300: $lt_compile\"" >&5)
19301
(eval "$lt_compile" 2>out/conftest.err)
19303
cat out/conftest.err >&5
19304
echo "$as_me:19304: \$? = $ac_status" >&5
19305
if (exit $ac_status) && test -s out/conftest2.$ac_objext
19307
# The compiler can only warn and ignore the option if not recognized
19308
# So say no if there are warnings
19309
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19310
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19311
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19312
lt_cv_prog_compiler_c_o_CXX=yes
19317
# SGI C++ compiler will create directory out/ii_files/ for
19318
# template instantiation
19319
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19320
$RM out/* && rmdir out
19326
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19327
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19331
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19332
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19333
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19334
$as_echo_n "(cached) " >&6
19336
lt_cv_prog_compiler_c_o_CXX=no
19337
$RM -r conftest 2>/dev/null
19341
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19343
lt_compiler_flag="-o out/conftest2.$ac_objext"
19344
# Insert the option either (1) after the last *FLAGS variable, or
19345
# (2) before a word containing "conftest.", or (3) at the end.
19346
# Note that $ac_compile itself does not contain backslashes and begins
19347
# with a dollar sign (not a hyphen), so the echo should work correctly.
19348
lt_compile=`echo "$ac_compile" | $SED \
19349
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19350
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19351
-e 's:$: $lt_compiler_flag:'`
19352
(eval echo "\"\$as_me:19352: $lt_compile\"" >&5)
19353
(eval "$lt_compile" 2>out/conftest.err)
19355
cat out/conftest.err >&5
19356
echo "$as_me:19356: \$? = $ac_status" >&5
19357
if (exit $ac_status) && test -s out/conftest2.$ac_objext
19359
# The compiler can only warn and ignore the option if not recognized
19360
# So say no if there are warnings
19361
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19362
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19363
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19364
lt_cv_prog_compiler_c_o_CXX=yes
19369
# SGI C++ compiler will create directory out/ii_files/ for
19370
# template instantiation
19371
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19372
$RM out/* && rmdir out
19378
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19379
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19384
hard_links="nottested"
19385
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19386
# do not overwrite the value of need_locks provided by the user
19387
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19388
$as_echo_n "checking if we can lock with hard links... " >&6; }
19391
ln conftest.a conftest.b 2>/dev/null && hard_links=no
19393
ln conftest.a conftest.b 2>&5 || hard_links=no
19394
ln conftest.a conftest.b 2>/dev/null && hard_links=no
19395
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
19396
$as_echo "$hard_links" >&6; }
19397
if test "$hard_links" = no; then
19398
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19399
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19408
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19409
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19411
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19414
# If we're using GNU nm, then we don't want the "-C" option.
19415
# -C means demangle to AIX nm, but means don't demangle with GNU nm
19416
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19417
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19419
export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19423
export_symbols_cmds_CXX="$ltdll_cmds"
19425
cygwin* | mingw* | cegcc*)
19426
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19429
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19432
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19434
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19435
$as_echo "$ld_shlibs_CXX" >&6; }
19436
test "$ld_shlibs_CXX" = no && can_build_shared=no
19438
with_gnu_ld_CXX=$with_gnu_ld
19446
# Do we need to explicitly link libc?
19448
case "x$archive_cmds_need_lc_CXX" in
19450
# Assume -lc should be added
19451
archive_cmds_need_lc_CXX=yes
19453
if test "$enable_shared" = yes && test "$GCC" = yes; then
19454
case $archive_cmds_CXX in
19456
# FIXME: we may have to deal with multi-command sequences.
19459
# Test whether the compiler implicitly links with -lc since on some
19460
# systems, -lgcc has to come before -lc. If gcc already passes -lc
19461
# to ld, don't add -lc before -lgcc.
19462
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19463
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19465
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19467
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19468
(eval $ac_compile) 2>&5
19470
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471
(exit $ac_status); } 2>conftest.err; then
19474
libobjs=conftest.$ac_objext
19476
wl=$lt_prog_compiler_wl_CXX
19477
pic_flag=$lt_prog_compiler_pic_CXX
19483
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19484
allow_undefined_flag_CXX=
19485
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
19486
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19488
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489
(exit $ac_status); }
19491
archive_cmds_need_lc_CXX=no
19493
archive_cmds_need_lc_CXX=yes
19495
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19497
cat conftest.err 1>&5
19500
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19501
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
19571
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19572
$as_echo_n "checking dynamic linker characteristics... " >&6; }
19574
library_names_spec=
19575
libname_spec='lib$name'
19579
postuninstall_cmds=
19583
shlibpath_overrides_runpath=unknown
19585
dynamic_linker="$host_os ld.so"
19586
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19587
need_lib_prefix=unknown
19588
hardcode_into_libs=no
19590
# when you set need_version to no, make sure it does not cause -set_version
19591
# flags to be left without arguments
19592
need_version=unknown
19597
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19598
shlibpath_var=LIBPATH
19600
# AIX 3 has no versioning support, so we append a major version to the name.
19601
soname_spec='${libname}${release}${shared_ext}$major'
19608
hardcode_into_libs=yes
19609
if test "$host_cpu" = ia64; then
19610
# AIX 5 supports IA64
19611
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19612
shlibpath_var=LD_LIBRARY_PATH
19614
# With GCC up to 2.95.x, collect2 would create an import file
19615
# for dependence libraries. The import file would start with
19616
# the line `#! .'. This would cause the generated library to
19617
# depend on `.', always an invalid library. This was fixed in
19618
# development snapshots of GCC prior to 3.0.
19620
aix4 | aix4.[01] | aix4.[01].*)
19621
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19623
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19626
can_build_shared=no
19630
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19631
# soname into executable. Probably we can add versioning support to
19632
# collect2, so additional links can be useful in future.
19633
if test "$aix_use_runtimelinking" = yes; then
19634
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
19635
# instead of lib<name>.a to let people know that these are not
19636
# typical AIX shared libraries.
19637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19639
# We preserve .a as extension for shared libraries through AIX4.2
19640
# and later when we are not doing run time linking.
19641
library_names_spec='${libname}${release}.a $libname.a'
19642
soname_spec='${libname}${release}${shared_ext}$major'
19644
shlibpath_var=LIBPATH
19651
# Since July 2007 AmigaOS4 officially supports .so libraries.
19652
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19653
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19656
library_names_spec='$libname.ixlibrary $libname.a'
19657
# Create ${libname}_ixlibrary.a entries in /sys/libs.
19658
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19664
library_names_spec='${libname}${shared_ext}'
19665
dynamic_linker="$host_os ld.so"
19666
shlibpath_var=LIBRARY_PATH
19672
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19673
soname_spec='${libname}${release}${shared_ext}$major'
19674
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19675
shlibpath_var=LD_LIBRARY_PATH
19676
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19677
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19678
# the default ld.so.conf also contains /usr/contrib/lib and
19679
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19680
# libtool to hard-code these into programs
19683
cygwin* | mingw* | pw32* | cegcc*)
19684
version_type=windows
19689
case $GCC,$host_os in
19690
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
19691
library_names_spec='$libname.dll.a'
19692
# DLL is installed to $(libdir)/../bin by postinstall_cmds
19693
postinstall_cmds='base_file=`basename \${file}`~
19694
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19695
dldir=$destdir/`dirname \$dlpath`~
19696
test -d \$dldir || mkdir -p \$dldir~
19697
$install_prog $dir/$dlname \$dldir/$dlname~
19698
chmod a+x \$dldir/$dlname~
19699
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19700
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19702
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19703
dlpath=$dir/\$dldll~
19705
shlibpath_overrides_runpath=yes
19709
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
19710
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19711
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19714
# MinGW DLLs use traditional 'lib' prefix
19715
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19716
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19717
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19718
# It is most probably a Windows format PATH printed by
19719
# mingw gcc, but we are running on Cygwin. Gcc prints its search
19720
# path with ; separators, and with drive letters. We can handle the
19721
# drive letters (cygwin fileutils understands them), so leave them,
19722
# especially as we might pass files found there to a mingw objdump,
19723
# which wouldn't understand a cygwinified path. Ahh.
19724
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19726
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19730
# pw32 DLLs use 'pw' prefix rather than 'lib'
19731
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19737
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19740
dynamic_linker='Win32 ld.exe'
19741
# FIXME: first we should search . and the directory the executable is in
19745
darwin* | rhapsody*)
19746
dynamic_linker="$host_os dyld"
19747
version_type=darwin
19750
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19751
soname_spec='${libname}${release}${major}$shared_ext'
19752
shlibpath_overrides_runpath=yes
19753
shlibpath_var=DYLD_LIBRARY_PATH
19754
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19756
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19763
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19764
soname_spec='${libname}${release}${shared_ext}$major'
19765
shlibpath_var=LD_LIBRARY_PATH
19772
freebsd* | dragonfly*)
19773
# DragonFly does not have aout. When/if they implement a new
19774
# versioning mechanism, adjust this.
19775
if test -x /usr/bin/objformat; then
19776
objformat=`/usr/bin/objformat`
19779
freebsd[123]*) objformat=aout ;;
19780
*) objformat=elf ;;
19783
version_type=freebsd-$objformat
19784
case $version_type in
19786
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19791
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19795
shlibpath_var=LD_LIBRARY_PATH
19798
shlibpath_overrides_runpath=yes
19800
freebsd3.[01]* | freebsdelf3.[01]*)
19801
shlibpath_overrides_runpath=yes
19802
hardcode_into_libs=yes
19804
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19805
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19806
shlibpath_overrides_runpath=no
19807
hardcode_into_libs=yes
19809
*) # from 4.6 on, and DragonFly
19810
shlibpath_overrides_runpath=yes
19811
hardcode_into_libs=yes
19820
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19821
soname_spec='${libname}${release}${shared_ext}$major'
19822
shlibpath_var=LD_LIBRARY_PATH
19823
hardcode_into_libs=yes
19826
hpux9* | hpux10* | hpux11*)
19827
# Give a soname corresponding to the major version so that dld.sl refuses to
19828
# link against other versions.
19835
hardcode_into_libs=yes
19836
dynamic_linker="$host_os dld.so"
19837
shlibpath_var=LD_LIBRARY_PATH
19838
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19839
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19840
soname_spec='${libname}${release}${shared_ext}$major'
19841
if test "X$HPUX_IA64_MODE" = X32; then
19842
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19844
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19846
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19850
hardcode_into_libs=yes
19851
dynamic_linker="$host_os dld.sl"
19852
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19853
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19854
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19855
soname_spec='${libname}${release}${shared_ext}$major'
19856
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19857
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19861
dynamic_linker="$host_os dld.sl"
19862
shlibpath_var=SHLIB_PATH
19863
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19864
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19865
soname_spec='${libname}${release}${shared_ext}$major'
19868
# HP-UX runs *really* slowly unless shared libraries are mode 555.
19869
postinstall_cmds='chmod 555 $lib'
19876
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19877
soname_spec='${libname}${release}${shared_ext}$major'
19878
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19879
shlibpath_var=LD_LIBRARY_PATH
19880
shlibpath_overrides_runpath=no
19881
hardcode_into_libs=yes
19884
irix5* | irix6* | nonstopux*)
19886
nonstopux*) version_type=nonstopux ;;
19888
if test "$lt_cv_prog_gnu_ld" = yes; then
19896
soname_spec='${libname}${release}${shared_ext}$major'
19897
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19899
irix5* | nonstopux*)
19900
libsuff= shlibsuff=
19903
case $LD in # libtool.m4 will add one of these switches to LD
19904
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19905
libsuff= shlibsuff= libmagic=32-bit;;
19906
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19907
libsuff=32 shlibsuff=N32 libmagic=N32;;
19908
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19909
libsuff=64 shlibsuff=64 libmagic=64-bit;;
19910
*) libsuff= shlibsuff= libmagic=never-match;;
19914
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19915
shlibpath_overrides_runpath=no
19916
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19917
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19918
hardcode_into_libs=yes
19921
# No shared lib support for Linux oldld, aout, or coff.
19922
linux*oldld* | linux*aout* | linux*coff*)
19926
# This must be Linux ELF.
19927
linux* | k*bsd*-gnu)
19931
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19932
soname_spec='${libname}${release}${shared_ext}$major'
19933
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19934
shlibpath_var=LD_LIBRARY_PATH
19935
shlibpath_overrides_runpath=no
19936
# Some binutils ld are patched to set DT_RUNPATH
19937
save_LDFLAGS=$LDFLAGS
19938
save_libdir=$libdir
19939
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19940
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19941
cat >conftest.$ac_ext <<_ACEOF
19944
cat confdefs.h >>conftest.$ac_ext
19945
cat >>conftest.$ac_ext <<_ACEOF
19946
/* end confdefs.h. */
19956
rm -f conftest.$ac_objext conftest$ac_exeext
19957
if { (ac_try="$ac_link"
19958
case "(($ac_try" in
19959
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19960
*) ac_try_echo=$ac_try;;
19962
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19963
$as_echo "$ac_try_echo") >&5
19964
(eval "$ac_link") 2>conftest.er1
19966
grep -v '^ *+' conftest.er1 >conftest.err
19968
cat conftest.err >&5
19969
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970
(exit $ac_status); } && {
19971
test -z "$ac_cxx_werror_flag" ||
19972
test ! -s conftest.err
19973
} && test -s conftest$ac_exeext && {
19974
test "$cross_compiling" = yes ||
19975
$as_test_x conftest$ac_exeext
19977
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
19978
shlibpath_overrides_runpath=yes
19982
$as_echo "$as_me: failed program was:" >&5
19983
sed 's/^/| /' conftest.$ac_ext >&5
19988
rm -rf conftest.dSYM
19989
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19990
conftest$ac_exeext conftest.$ac_ext
19991
LDFLAGS=$save_LDFLAGS
19992
libdir=$save_libdir
19994
# This implies no fast_install, which is unacceptable.
19995
# Some rework will be needed to allow for fast_install
19996
# before this can be enabled.
19997
hardcode_into_libs=yes
19999
# Add ABI-specific directories to the system library path.
20000
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
20002
# Append ld.so.conf contents to the search path
20003
if test -f /etc/ld.so.conf; then
20004
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20005
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
20008
# We used to test for /lib/ld.so.1 and disable shared libraries on
20009
# powerpc, because MkLinux only supported shared libraries with the
20010
# GNU dynamic linker. Since this was broken with cross compilers,
20011
# most powerpc-linux boxes support dynamic linking these days and
20012
# people can always --disable-shared, the test was removed, and we
20013
# assume the GNU/Linux dynamic linker is in use.
20014
dynamic_linker='GNU/Linux ld.so'
20021
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20022
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20023
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20024
dynamic_linker='NetBSD (a.out) ld.so'
20026
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20027
soname_spec='${libname}${release}${shared_ext}$major'
20028
dynamic_linker='NetBSD ld.elf_so'
20030
shlibpath_var=LD_LIBRARY_PATH
20031
shlibpath_overrides_runpath=yes
20032
hardcode_into_libs=yes
20037
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20038
shlibpath_var=LD_LIBRARY_PATH
20039
shlibpath_overrides_runpath=yes
20046
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20047
soname_spec='${libname}${release}${shared_ext}$major'
20048
shlibpath_var=LD_LIBRARY_PATH
20049
shlibpath_overrides_runpath=no
20050
hardcode_into_libs=yes
20051
dynamic_linker='ldqnx.so'
20056
sys_lib_dlsearch_path_spec="/usr/lib"
20058
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20060
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20061
*) need_version=no ;;
20063
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20064
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20065
shlibpath_var=LD_LIBRARY_PATH
20066
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20068
openbsd2.[89] | openbsd2.[89].*)
20069
shlibpath_overrides_runpath=no
20072
shlibpath_overrides_runpath=yes
20076
shlibpath_overrides_runpath=yes
20081
libname_spec='$name'
20084
library_names_spec='$libname${shared_ext} $libname.a'
20085
dynamic_linker='OS/2 ld.exe'
20086
shlibpath_var=LIBPATH
20089
osf3* | osf4* | osf5*)
20093
soname_spec='${libname}${release}${shared_ext}$major'
20094
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20095
shlibpath_var=LD_LIBRARY_PATH
20096
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20097
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20108
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20109
soname_spec='${libname}${release}${shared_ext}$major'
20110
shlibpath_var=LD_LIBRARY_PATH
20111
shlibpath_overrides_runpath=yes
20112
hardcode_into_libs=yes
20113
# ldd complains unless libraries are executable
20114
postinstall_cmds='chmod +x $lib'
20119
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20120
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20121
shlibpath_var=LD_LIBRARY_PATH
20122
shlibpath_overrides_runpath=yes
20123
if test "$with_gnu_ld" = yes; then
20131
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20132
soname_spec='${libname}${release}${shared_ext}$major'
20133
shlibpath_var=LD_LIBRARY_PATH
20134
case $host_vendor in
20136
shlibpath_overrides_runpath=no
20138
runpath_var=LD_RUN_PATH
20146
shlibpath_overrides_runpath=no
20147
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20153
if test -d /usr/nec ;then
20155
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20156
soname_spec='$libname${shared_ext}.$major'
20157
shlibpath_var=LD_LIBRARY_PATH
20161
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20162
version_type=freebsd-elf
20165
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20166
soname_spec='${libname}${release}${shared_ext}$major'
20167
shlibpath_var=LD_LIBRARY_PATH
20168
shlibpath_overrides_runpath=yes
20169
hardcode_into_libs=yes
20170
if test "$with_gnu_ld" = yes; then
20171
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20173
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20176
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20180
sys_lib_dlsearch_path_spec='/usr/lib'
20184
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20188
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20189
shlibpath_var=LD_LIBRARY_PATH
20190
shlibpath_overrides_runpath=no
20191
hardcode_into_libs=yes
20196
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20197
soname_spec='${libname}${release}${shared_ext}$major'
20198
shlibpath_var=LD_LIBRARY_PATH
20205
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20206
$as_echo "$dynamic_linker" >&6; }
20207
test "$dynamic_linker" = no && can_build_shared=no
20209
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20210
if test "$GCC" = yes; then
20211
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20214
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20215
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20217
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20218
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20256
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20257
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20258
hardcode_action_CXX=
20259
if test -n "$hardcode_libdir_flag_spec_CXX" ||
20260
test -n "$runpath_var_CXX" ||
20261
test "X$hardcode_automatic_CXX" = "Xyes" ; then
20263
# We can hardcode non-existent directories.
20264
if test "$hardcode_direct_CXX" != no &&
20265
# If the only mechanism to avoid hardcoding is shlibpath_var, we
20266
# have to relink, otherwise we might link with an installed library
20267
# when we should be linking with a yet-to-be-installed one
20268
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20269
test "$hardcode_minus_L_CXX" != no; then
20270
# Linking always hardcodes the temporary library directory.
20271
hardcode_action_CXX=relink
20273
# We can link without hardcoding, and we can hardcode nonexisting dirs.
20274
hardcode_action_CXX=immediate
20277
# We cannot hardcode anything, or else we can only hardcode existing
20279
hardcode_action_CXX=unsupported
20281
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20282
$as_echo "$hardcode_action_CXX" >&6; }
20284
if test "$hardcode_action_CXX" = relink ||
20285
test "$inherit_rpath_CXX" = yes; then
20286
# Fast installation is not supported
20287
enable_fast_install=no
20288
elif test "$shlibpath_overrides_runpath" = yes ||
20289
test "$enable_shared" = no; then
20290
# Fast installation is not necessary
20291
enable_fast_install=needless
20300
fi # test -n "$compiler"
20306
with_gnu_ld=$lt_save_with_gnu_ld
20307
lt_cv_path_LDCXX=$lt_cv_path_LD
20308
lt_cv_path_LD=$lt_save_path_LD
20309
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20310
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20311
fi # test "$_lt_caught_CXX_error" != yes
20314
ac_cpp='$CPP $CPPFLAGS'
20315
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20316
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20317
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20331
ac_config_commands="$ac_config_commands libtool"
20336
# Only expand once:
20340
# Check whether --enable-ltdl was given.
20341
if test "${enable_ltdl+set}" = set; then
20342
enableval=$enable_ltdl;
20345
if test "x$enable_ltdl" != "xno"; then
20347
cat >>confdefs.h <<\_ACEOF
20348
#define ENABLE_LTDL 1
20355
#code that is for Libtool 2.x
20364
{ $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
20365
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
20366
if test "${libltdl_cv_shlibext+set}" = set; then
20367
$as_echo_n "(cached) " >&6
20371
eval libltdl_cv_shlibext=$shrext_cmds
20374
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
20375
$as_echo "$libltdl_cv_shlibext" >&6; }
20376
if test -n "$libltdl_cv_shlibext"; then
20378
cat >>confdefs.h <<_ACEOF
20379
#define LT_MODULE_EXT "$libltdl_cv_shlibext"
20384
{ $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
20385
$as_echo_n "checking which variable specifies run-time module search path... " >&6; }
20386
if test "${lt_cv_module_path_var+set}" = set; then
20387
$as_echo_n "(cached) " >&6
20389
lt_cv_module_path_var="$shlibpath_var"
20391
{ $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
20392
$as_echo "$lt_cv_module_path_var" >&6; }
20393
if test -n "$lt_cv_module_path_var"; then
20395
cat >>confdefs.h <<_ACEOF
20396
#define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
20401
{ $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
20402
$as_echo_n "checking for the default library search path... " >&6; }
20403
if test "${lt_cv_sys_dlsearch_path+set}" = set; then
20404
$as_echo_n "(cached) " >&6
20406
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
20408
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
20409
$as_echo "$lt_cv_sys_dlsearch_path" >&6; }
20410
if test -n "$lt_cv_sys_dlsearch_path"; then
20412
for dir in $lt_cv_sys_dlsearch_path; do
20413
if test -z "$sys_dlsearch_path"; then
20414
sys_dlsearch_path="$dir"
20416
sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
20420
cat >>confdefs.h <<_ACEOF
20421
#define LT_DLSEARCH_PATH "$sys_dlsearch_path"
20431
ac_cpp='$CPP $CPPFLAGS'
20432
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20433
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20434
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20438
{ $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
20439
$as_echo_n "checking for library containing dlopen... " >&6; }
20440
if test "${ac_cv_search_dlopen+set}" = set; then
20441
$as_echo_n "(cached) " >&6
20443
ac_func_search_save_LIBS=$LIBS
20444
cat >conftest.$ac_ext <<_ACEOF
20447
cat confdefs.h >>conftest.$ac_ext
20448
cat >>conftest.$ac_ext <<_ACEOF
20449
/* end confdefs.h. */
20451
/* Override any GCC internal prototype to avoid an error.
20452
Use char because int might match the return type of a GCC
20453
builtin and then its argument prototype would still apply. */
20466
for ac_lib in '' dl; do
20467
if test -z "$ac_lib"; then
20468
ac_res="none required"
20471
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20473
rm -f conftest.$ac_objext conftest$ac_exeext
20474
if { (ac_try="$ac_link"
20475
case "(($ac_try" in
20476
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20477
*) ac_try_echo=$ac_try;;
20479
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20480
$as_echo "$ac_try_echo") >&5
20481
(eval "$ac_link") 2>conftest.er1
20483
grep -v '^ *+' conftest.er1 >conftest.err
20485
cat conftest.err >&5
20486
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487
(exit $ac_status); } && {
20488
test -z "$ac_c_werror_flag" ||
20489
test ! -s conftest.err
20490
} && test -s conftest$ac_exeext && {
20491
test "$cross_compiling" = yes ||
20492
$as_test_x conftest$ac_exeext
20494
ac_cv_search_dlopen=$ac_res
20496
$as_echo "$as_me: failed program was:" >&5
20497
sed 's/^/| /' conftest.$ac_ext >&5
20502
rm -rf conftest.dSYM
20503
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20505
if test "${ac_cv_search_dlopen+set}" = set; then
20509
if test "${ac_cv_search_dlopen+set}" = set; then
20512
ac_cv_search_dlopen=no
20514
rm conftest.$ac_ext
20515
LIBS=$ac_func_search_save_LIBS
20517
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
20518
$as_echo "$ac_cv_search_dlopen" >&6; }
20519
ac_res=$ac_cv_search_dlopen
20520
if test "$ac_res" != no; then
20521
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20523
cat >>confdefs.h <<\_ACEOF
20524
#define HAVE_LIBDL 1
20527
if test "$ac_cv_search_dlopen" != "none required" ; then
20528
LIBADD_DLOPEN="-ldl"
20530
libltdl_cv_lib_dl_dlopen="yes"
20531
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
20533
cat >conftest.$ac_ext <<_ACEOF
20536
cat confdefs.h >>conftest.$ac_ext
20537
cat >>conftest.$ac_ext <<_ACEOF
20538
/* end confdefs.h. */
20540
# include <dlfcn.h>
20551
rm -f conftest.$ac_objext conftest$ac_exeext
20552
if { (ac_try="$ac_link"
20553
case "(($ac_try" in
20554
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20555
*) ac_try_echo=$ac_try;;
20557
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20558
$as_echo "$ac_try_echo") >&5
20559
(eval "$ac_link") 2>conftest.er1
20561
grep -v '^ *+' conftest.er1 >conftest.err
20563
cat conftest.err >&5
20564
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565
(exit $ac_status); } && {
20566
test -z "$ac_c_werror_flag" ||
20567
test ! -s conftest.err
20568
} && test -s conftest$ac_exeext && {
20569
test "$cross_compiling" = yes ||
20570
$as_test_x conftest$ac_exeext
20573
cat >>confdefs.h <<\_ACEOF
20574
#define HAVE_LIBDL 1
20577
libltdl_cv_func_dlopen="yes"
20578
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
20580
$as_echo "$as_me: failed program was:" >&5
20581
sed 's/^/| /' conftest.$ac_ext >&5
20583
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20584
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
20585
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20586
$as_echo_n "(cached) " >&6
20588
ac_check_lib_save_LIBS=$LIBS
20589
LIBS="-lsvld $LIBS"
20590
cat >conftest.$ac_ext <<_ACEOF
20593
cat confdefs.h >>conftest.$ac_ext
20594
cat >>conftest.$ac_ext <<_ACEOF
20595
/* end confdefs.h. */
20597
/* Override any GCC internal prototype to avoid an error.
20598
Use char because int might match the return type of a GCC
20599
builtin and then its argument prototype would still apply. */
20612
rm -f conftest.$ac_objext conftest$ac_exeext
20613
if { (ac_try="$ac_link"
20614
case "(($ac_try" in
20615
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20616
*) ac_try_echo=$ac_try;;
20618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20619
$as_echo "$ac_try_echo") >&5
20620
(eval "$ac_link") 2>conftest.er1
20622
grep -v '^ *+' conftest.er1 >conftest.err
20624
cat conftest.err >&5
20625
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626
(exit $ac_status); } && {
20627
test -z "$ac_c_werror_flag" ||
20628
test ! -s conftest.err
20629
} && test -s conftest$ac_exeext && {
20630
test "$cross_compiling" = yes ||
20631
$as_test_x conftest$ac_exeext
20633
ac_cv_lib_svld_dlopen=yes
20635
$as_echo "$as_me: failed program was:" >&5
20636
sed 's/^/| /' conftest.$ac_ext >&5
20638
ac_cv_lib_svld_dlopen=no
20641
rm -rf conftest.dSYM
20642
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20643
conftest$ac_exeext conftest.$ac_ext
20644
LIBS=$ac_check_lib_save_LIBS
20646
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20647
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
20648
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
20650
cat >>confdefs.h <<\_ACEOF
20651
#define HAVE_LIBDL 1
20654
LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
20655
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
20660
rm -rf conftest.dSYM
20661
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20662
conftest$ac_exeext conftest.$ac_ext
20665
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
20667
lt_save_LIBS="$LIBS"
20668
LIBS="$LIBS $LIBADD_DLOPEN"
20670
for ac_func in dlerror
20672
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20673
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20674
$as_echo_n "checking for $ac_func... " >&6; }
20675
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20676
$as_echo_n "(cached) " >&6
20678
cat >conftest.$ac_ext <<_ACEOF
20681
cat confdefs.h >>conftest.$ac_ext
20682
cat >>conftest.$ac_ext <<_ACEOF
20683
/* end confdefs.h. */
20684
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20685
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20686
#define $ac_func innocuous_$ac_func
20688
/* System header to define __stub macros and hopefully few prototypes,
20689
which can conflict with char $ac_func (); below.
20690
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20691
<limits.h> exists even on freestanding compilers. */
20694
# include <limits.h>
20696
# include <assert.h>
20701
/* Override any GCC internal prototype to avoid an error.
20702
Use char because int might match the return type of a GCC
20703
builtin and then its argument prototype would still apply. */
20708
/* The GNU C library defines this for functions which it implements
20709
to always fail with ENOSYS. Some functions are actually named
20710
something starting with __ and the normal name is an alias. */
20711
#if defined __stub_$ac_func || defined __stub___$ac_func
20718
return $ac_func ();
20723
rm -f conftest.$ac_objext conftest$ac_exeext
20724
if { (ac_try="$ac_link"
20725
case "(($ac_try" in
20726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20727
*) ac_try_echo=$ac_try;;
20729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20730
$as_echo "$ac_try_echo") >&5
20731
(eval "$ac_link") 2>conftest.er1
20733
grep -v '^ *+' conftest.er1 >conftest.err
20735
cat conftest.err >&5
20736
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737
(exit $ac_status); } && {
20738
test -z "$ac_c_werror_flag" ||
20739
test ! -s conftest.err
20740
} && test -s conftest$ac_exeext && {
20741
test "$cross_compiling" = yes ||
20742
$as_test_x conftest$ac_exeext
20744
eval "$as_ac_var=yes"
20746
$as_echo "$as_me: failed program was:" >&5
20747
sed 's/^/| /' conftest.$ac_ext >&5
20749
eval "$as_ac_var=no"
20752
rm -rf conftest.dSYM
20753
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20754
conftest$ac_exeext conftest.$ac_ext
20756
ac_res=`eval 'as_val=${'$as_ac_var'}
20757
$as_echo "$as_val"'`
20758
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20759
$as_echo "$ac_res" >&6; }
20760
as_val=`eval 'as_val=${'$as_ac_var'}
20761
$as_echo "$as_val"'`
20762
if test "x$as_val" = x""yes; then
20763
cat >>confdefs.h <<_ACEOF
20764
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20770
LIBS="$lt_save_LIBS"
20775
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
20776
$as_echo_n "checking for shl_load... " >&6; }
20777
if test "${ac_cv_func_shl_load+set}" = set; then
20778
$as_echo_n "(cached) " >&6
20780
cat >conftest.$ac_ext <<_ACEOF
20783
cat confdefs.h >>conftest.$ac_ext
20784
cat >>conftest.$ac_ext <<_ACEOF
20785
/* end confdefs.h. */
20786
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20787
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20788
#define shl_load innocuous_shl_load
20790
/* System header to define __stub macros and hopefully few prototypes,
20791
which can conflict with char shl_load (); below.
20792
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20793
<limits.h> exists even on freestanding compilers. */
20796
# include <limits.h>
20798
# include <assert.h>
20803
/* Override any GCC internal prototype to avoid an error.
20804
Use char because int might match the return type of a GCC
20805
builtin and then its argument prototype would still apply. */
20810
/* The GNU C library defines this for functions which it implements
20811
to always fail with ENOSYS. Some functions are actually named
20812
something starting with __ and the normal name is an alias. */
20813
#if defined __stub_shl_load || defined __stub___shl_load
20820
return shl_load ();
20825
rm -f conftest.$ac_objext conftest$ac_exeext
20826
if { (ac_try="$ac_link"
20827
case "(($ac_try" in
20828
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20829
*) ac_try_echo=$ac_try;;
20831
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20832
$as_echo "$ac_try_echo") >&5
20833
(eval "$ac_link") 2>conftest.er1
20835
grep -v '^ *+' conftest.er1 >conftest.err
20837
cat conftest.err >&5
20838
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839
(exit $ac_status); } && {
20840
test -z "$ac_c_werror_flag" ||
20841
test ! -s conftest.err
20842
} && test -s conftest$ac_exeext && {
20843
test "$cross_compiling" = yes ||
20844
$as_test_x conftest$ac_exeext
20846
ac_cv_func_shl_load=yes
20848
$as_echo "$as_me: failed program was:" >&5
20849
sed 's/^/| /' conftest.$ac_ext >&5
20851
ac_cv_func_shl_load=no
20854
rm -rf conftest.dSYM
20855
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20856
conftest$ac_exeext conftest.$ac_ext
20858
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20859
$as_echo "$ac_cv_func_shl_load" >&6; }
20860
if test "x$ac_cv_func_shl_load" = x""yes; then
20862
cat >>confdefs.h <<\_ACEOF
20863
#define HAVE_SHL_LOAD 1
20866
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
20868
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20869
$as_echo_n "checking for shl_load in -ldld... " >&6; }
20870
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20871
$as_echo_n "(cached) " >&6
20873
ac_check_lib_save_LIBS=$LIBS
20875
cat >conftest.$ac_ext <<_ACEOF
20878
cat confdefs.h >>conftest.$ac_ext
20879
cat >>conftest.$ac_ext <<_ACEOF
20880
/* end confdefs.h. */
20882
/* Override any GCC internal prototype to avoid an error.
20883
Use char because int might match the return type of a GCC
20884
builtin and then its argument prototype would still apply. */
20892
return shl_load ();
20897
rm -f conftest.$ac_objext conftest$ac_exeext
20898
if { (ac_try="$ac_link"
20899
case "(($ac_try" in
20900
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20901
*) ac_try_echo=$ac_try;;
20903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20904
$as_echo "$ac_try_echo") >&5
20905
(eval "$ac_link") 2>conftest.er1
20907
grep -v '^ *+' conftest.er1 >conftest.err
20909
cat conftest.err >&5
20910
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911
(exit $ac_status); } && {
20912
test -z "$ac_c_werror_flag" ||
20913
test ! -s conftest.err
20914
} && test -s conftest$ac_exeext && {
20915
test "$cross_compiling" = yes ||
20916
$as_test_x conftest$ac_exeext
20918
ac_cv_lib_dld_shl_load=yes
20920
$as_echo "$as_me: failed program was:" >&5
20921
sed 's/^/| /' conftest.$ac_ext >&5
20923
ac_cv_lib_dld_shl_load=no
20926
rm -rf conftest.dSYM
20927
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20928
conftest$ac_exeext conftest.$ac_ext
20929
LIBS=$ac_check_lib_save_LIBS
20931
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20932
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
20933
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
20935
cat >>confdefs.h <<\_ACEOF
20936
#define HAVE_SHL_LOAD 1
20939
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
20940
LIBADD_SHL_LOAD="-ldld"
20949
# We only want this for pre-Mac OS X 10.4.
20950
{ $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
20951
$as_echo_n "checking for _dyld_func_lookup... " >&6; }
20952
if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
20953
$as_echo_n "(cached) " >&6
20955
cat >conftest.$ac_ext <<_ACEOF
20958
cat confdefs.h >>conftest.$ac_ext
20959
cat >>conftest.$ac_ext <<_ACEOF
20960
/* end confdefs.h. */
20961
/* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
20962
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20963
#define _dyld_func_lookup innocuous__dyld_func_lookup
20965
/* System header to define __stub macros and hopefully few prototypes,
20966
which can conflict with char _dyld_func_lookup (); below.
20967
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20968
<limits.h> exists even on freestanding compilers. */
20971
# include <limits.h>
20973
# include <assert.h>
20976
#undef _dyld_func_lookup
20978
/* Override any GCC internal prototype to avoid an error.
20979
Use char because int might match the return type of a GCC
20980
builtin and then its argument prototype would still apply. */
20984
char _dyld_func_lookup ();
20985
/* The GNU C library defines this for functions which it implements
20986
to always fail with ENOSYS. Some functions are actually named
20987
something starting with __ and the normal name is an alias. */
20988
#if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
20995
return _dyld_func_lookup ();
21000
rm -f conftest.$ac_objext conftest$ac_exeext
21001
if { (ac_try="$ac_link"
21002
case "(($ac_try" in
21003
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004
*) ac_try_echo=$ac_try;;
21006
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21007
$as_echo "$ac_try_echo") >&5
21008
(eval "$ac_link") 2>conftest.er1
21010
grep -v '^ *+' conftest.er1 >conftest.err
21012
cat conftest.err >&5
21013
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014
(exit $ac_status); } && {
21015
test -z "$ac_c_werror_flag" ||
21016
test ! -s conftest.err
21017
} && test -s conftest$ac_exeext && {
21018
test "$cross_compiling" = yes ||
21019
$as_test_x conftest$ac_exeext
21021
ac_cv_func__dyld_func_lookup=yes
21023
$as_echo "$as_me: failed program was:" >&5
21024
sed 's/^/| /' conftest.$ac_ext >&5
21026
ac_cv_func__dyld_func_lookup=no
21029
rm -rf conftest.dSYM
21030
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21031
conftest$ac_exeext conftest.$ac_ext
21033
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
21034
$as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
21035
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then
21037
cat >>confdefs.h <<\_ACEOF
21038
#define HAVE_DYLD 1
21041
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
21046
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
21048
cygwin* | mingw* | os2* | pw32*)
21049
{ $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
21050
$as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
21051
if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
21052
$as_echo_n "(cached) " >&6
21054
cat >conftest.$ac_ext <<_ACEOF
21057
cat confdefs.h >>conftest.$ac_ext
21058
cat >>conftest.$ac_ext <<_ACEOF
21059
/* end confdefs.h. */
21060
#include <sys/cygwin.h>
21065
#ifndef cygwin_conv_path
21066
(void) cygwin_conv_path;
21073
rm -f conftest.$ac_objext
21074
if { (ac_try="$ac_compile"
21075
case "(($ac_try" in
21076
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077
*) ac_try_echo=$ac_try;;
21079
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21080
$as_echo "$ac_try_echo") >&5
21081
(eval "$ac_compile") 2>conftest.er1
21083
grep -v '^ *+' conftest.er1 >conftest.err
21085
cat conftest.err >&5
21086
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087
(exit $ac_status); } && {
21088
test -z "$ac_c_werror_flag" ||
21089
test ! -s conftest.err
21090
} && test -s conftest.$ac_objext; then
21091
ac_cv_have_decl_cygwin_conv_path=yes
21093
$as_echo "$as_me: failed program was:" >&5
21094
sed 's/^/| /' conftest.$ac_ext >&5
21096
ac_cv_have_decl_cygwin_conv_path=no
21099
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21101
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
21102
$as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; }
21103
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then
21105
cat >>confdefs.h <<_ACEOF
21106
#define HAVE_DECL_CYGWIN_CONV_PATH 1
21111
cat >>confdefs.h <<_ACEOF
21112
#define HAVE_DECL_CYGWIN_CONV_PATH 0
21119
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
21123
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21124
$as_echo_n "checking for dld_link in -ldld... " >&6; }
21125
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21126
$as_echo_n "(cached) " >&6
21128
ac_check_lib_save_LIBS=$LIBS
21130
cat >conftest.$ac_ext <<_ACEOF
21133
cat confdefs.h >>conftest.$ac_ext
21134
cat >>conftest.$ac_ext <<_ACEOF
21135
/* end confdefs.h. */
21137
/* Override any GCC internal prototype to avoid an error.
21138
Use char because int might match the return type of a GCC
21139
builtin and then its argument prototype would still apply. */
21147
return dld_link ();
21152
rm -f conftest.$ac_objext conftest$ac_exeext
21153
if { (ac_try="$ac_link"
21154
case "(($ac_try" in
21155
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21156
*) ac_try_echo=$ac_try;;
21158
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21159
$as_echo "$ac_try_echo") >&5
21160
(eval "$ac_link") 2>conftest.er1
21162
grep -v '^ *+' conftest.er1 >conftest.err
21164
cat conftest.err >&5
21165
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166
(exit $ac_status); } && {
21167
test -z "$ac_c_werror_flag" ||
21168
test ! -s conftest.err
21169
} && test -s conftest$ac_exeext && {
21170
test "$cross_compiling" = yes ||
21171
$as_test_x conftest$ac_exeext
21173
ac_cv_lib_dld_dld_link=yes
21175
$as_echo "$as_me: failed program was:" >&5
21176
sed 's/^/| /' conftest.$ac_ext >&5
21178
ac_cv_lib_dld_dld_link=no
21181
rm -rf conftest.dSYM
21182
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21183
conftest$ac_exeext conftest.$ac_ext
21184
LIBS=$ac_check_lib_save_LIBS
21186
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21187
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
21188
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
21190
cat >>confdefs.h <<\_ACEOF
21194
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
21201
if test -n "$LT_DLLOADERS"
21203
for lt_loader in $LT_DLLOADERS; do
21204
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
21207
cat >>confdefs.h <<\_ACEOF
21208
#define HAVE_LIBDLLOADER 1
21214
LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
21218
ac_cpp='$CPP $CPPFLAGS'
21219
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21224
{ $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
21225
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
21226
if test "${lt_cv_sys_symbol_underscore+set}" = set; then
21227
$as_echo_n "(cached) " >&6
21229
lt_cv_sys_symbol_underscore=no
21230
cat > conftest.$ac_ext <<_LT_EOF
21231
void nm_test_func(){}
21232
int main(){nm_test_func;return 0;}
21234
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21235
(eval $ac_compile) 2>&5
21237
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238
(exit $ac_status); }; then
21239
# Now try to grab the symbols.
21240
ac_nlist=conftest.nm
21241
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
21242
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
21244
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245
(exit $ac_status); } && test -s "$ac_nlist"; then
21246
# See whether the symbols have a leading underscore.
21247
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
21248
lt_cv_sys_symbol_underscore=yes
21250
if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
21253
echo "configure: cannot find nm_test_func in $ac_nlist" >&5
21257
echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
21260
echo "configure: failed program was:" >&5
21266
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
21267
$as_echo "$lt_cv_sys_symbol_underscore" >&6; }
21268
sys_symbol_underscore=$lt_cv_sys_symbol_underscore
21271
if test x"$lt_cv_sys_symbol_underscore" = xyes; then
21272
if test x"$libltdl_cv_func_dlopen" = xyes ||
21273
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
21274
{ $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
21275
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
21276
if test "${libltdl_cv_need_uscore+set}" = set; then
21277
$as_echo_n "(cached) " >&6
21279
libltdl_cv_need_uscore=unknown
21281
LIBS="$LIBS $LIBADD_DLOPEN"
21282
if test "$cross_compiling" = yes; then :
21283
libltdl_cv_need_uscore=cross
21285
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21286
lt_status=$lt_dlunknown
21287
cat > conftest.$ac_ext <<_LT_EOF
21288
#line 21288 "configure"
21289
#include "confdefs.h"
21298
# define LT_DLGLOBAL RTLD_GLOBAL
21301
# define LT_DLGLOBAL DL_GLOBAL
21303
# define LT_DLGLOBAL 0
21307
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21308
find out it does not work in some platform. */
21309
#ifndef LT_DLLAZY_OR_NOW
21311
# define LT_DLLAZY_OR_NOW RTLD_LAZY
21314
# define LT_DLLAZY_OR_NOW DL_LAZY
21317
# define LT_DLLAZY_OR_NOW RTLD_NOW
21320
# define LT_DLLAZY_OR_NOW DL_NOW
21322
# define LT_DLLAZY_OR_NOW 0
21329
void fnord() { int i=42;}
21332
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21333
int status = $lt_dlunknown;
21337
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21338
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21339
/* dlclose (self); */
21347
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21348
(eval $ac_link) 2>&5
21350
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21352
(./conftest; exit; ) >&5 2>/dev/null
21354
case x$lt_status in
21355
x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
21356
x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
21357
x$lt_dlunknown|x*) ;;
21360
# compilation failed
21369
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
21370
$as_echo "$libltdl_cv_need_uscore" >&6; }
21374
if test x"$libltdl_cv_need_uscore" = xyes; then
21376
cat >>confdefs.h <<\_ACEOF
21377
#define NEED_USCORE 1
21382
{ $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
21383
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
21384
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
21385
$as_echo_n "(cached) " >&6
21387
# PORTME does your system automatically load deplibs for dlopen?
21388
# or its logical equivalent (e.g. shl_load for HP-UX < 11)
21389
# For now, we just catch OSes we know something about -- in the
21390
# future, we'll try test this programmatically.
21391
lt_cv_sys_dlopen_deplibs=unknown
21393
aix3*|aix4.1.*|aix4.2.*)
21394
# Unknown whether this is true for these versions of AIX, but
21395
# we want this `case' here to explicitly catch those versions.
21396
lt_cv_sys_dlopen_deplibs=unknown
21399
lt_cv_sys_dlopen_deplibs=yes
21404
lt_cv_sys_dlopen_deplibs=no
21409
# Assuming the user has installed a libdl from somewhere, this is true
21410
# If you are looking for one http://www.opendarwin.org/projects/dlcompat
21411
lt_cv_sys_dlopen_deplibs=yes
21413
freebsd* | dragonfly*)
21414
lt_cv_sys_dlopen_deplibs=yes
21416
gnu* | linux* | k*bsd*-gnu)
21417
# GNU and its variants, using gnu ld.so (Glibc)
21418
lt_cv_sys_dlopen_deplibs=yes
21421
lt_cv_sys_dlopen_deplibs=yes
21424
lt_cv_sys_dlopen_deplibs=yes
21426
irix[12345]*|irix6.[01]*)
21427
# Catch all versions of IRIX before 6.2, and indicate that we don't
21428
# know how it worked for any of those versions.
21429
lt_cv_sys_dlopen_deplibs=unknown
21432
# The case above catches anything before 6.2, and it's known that
21433
# at 6.2 and later dlopen does load deplibs.
21434
lt_cv_sys_dlopen_deplibs=yes
21437
lt_cv_sys_dlopen_deplibs=yes
21440
lt_cv_sys_dlopen_deplibs=yes
21443
# dlopen did load deplibs (at least at 4.x), but until the 5.x series,
21444
# it did *not* use an RPATH in a shared library to find objects the
21445
# library depends on, so we explicitly say `no'.
21446
lt_cv_sys_dlopen_deplibs=no
21448
osf5.0|osf5.0a|osf5.1)
21449
# dlopen *does* load deplibs and with the right loader patch applied
21450
# it even uses RPATH in a shared library to search for shared objects
21451
# that the library depends on, but there's no easy way to know if that
21452
# patch is installed. Since this is the case, all we can really
21453
# say is unknown -- it depends on the patch being installed. If
21454
# it is, this changes to `yes'. Without it, it would be `no'.
21455
lt_cv_sys_dlopen_deplibs=unknown
21458
# the two cases above should catch all versions of osf <= 5.1. Read
21459
# the comments above for what we know about them.
21460
# At > 5.1, deplibs are loaded *and* any RPATH in a shared library
21461
# is used to find them so we can finally say `yes'.
21462
lt_cv_sys_dlopen_deplibs=yes
21465
lt_cv_sys_dlopen_deplibs=yes
21468
lt_cv_sys_dlopen_deplibs=yes
21470
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21471
libltdl_cv_sys_dlopen_deplibs=yes
21476
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
21477
$as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
21478
if test "$lt_cv_sys_dlopen_deplibs" != yes; then
21480
cat >>confdefs.h <<\_ACEOF
21481
#define LTDL_DLOPEN_DEPLIBS 1
21489
for ac_header in argz.h
21491
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21492
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21493
$as_echo_n "checking for $ac_header... " >&6; }
21494
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21495
$as_echo_n "(cached) " >&6
21497
cat >conftest.$ac_ext <<_ACEOF
21500
cat confdefs.h >>conftest.$ac_ext
21501
cat >>conftest.$ac_ext <<_ACEOF
21502
/* end confdefs.h. */
21503
$ac_includes_default
21505
#include <$ac_header>
21507
rm -f conftest.$ac_objext
21508
if { (ac_try="$ac_compile"
21509
case "(($ac_try" in
21510
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511
*) ac_try_echo=$ac_try;;
21513
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21514
$as_echo "$ac_try_echo") >&5
21515
(eval "$ac_compile") 2>conftest.er1
21517
grep -v '^ *+' conftest.er1 >conftest.err
21519
cat conftest.err >&5
21520
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521
(exit $ac_status); } && {
21522
test -z "$ac_c_werror_flag" ||
21523
test ! -s conftest.err
21524
} && test -s conftest.$ac_objext; then
21525
eval "$as_ac_Header=yes"
21527
$as_echo "$as_me: failed program was:" >&5
21528
sed 's/^/| /' conftest.$ac_ext >&5
21530
eval "$as_ac_Header=no"
21533
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21535
ac_res=`eval 'as_val=${'$as_ac_Header'}
21536
$as_echo "$as_val"'`
21537
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21538
$as_echo "$ac_res" >&6; }
21539
as_val=`eval 'as_val=${'$as_ac_Header'}
21540
$as_echo "$as_val"'`
21541
if test "x$as_val" = x""yes; then
21542
cat >>confdefs.h <<_ACEOF
21543
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21551
{ $as_echo "$as_me:$LINENO: checking for error_t" >&5
21552
$as_echo_n "checking for error_t... " >&6; }
21553
if test "${ac_cv_type_error_t+set}" = set; then
21554
$as_echo_n "(cached) " >&6
21556
ac_cv_type_error_t=no
21557
cat >conftest.$ac_ext <<_ACEOF
21560
cat confdefs.h >>conftest.$ac_ext
21561
cat >>conftest.$ac_ext <<_ACEOF
21562
/* end confdefs.h. */
21563
#if defined(HAVE_ARGZ_H)
21570
if (sizeof (error_t))
21576
rm -f conftest.$ac_objext
21577
if { (ac_try="$ac_compile"
21578
case "(($ac_try" in
21579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580
*) ac_try_echo=$ac_try;;
21582
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21583
$as_echo "$ac_try_echo") >&5
21584
(eval "$ac_compile") 2>conftest.er1
21586
grep -v '^ *+' conftest.er1 >conftest.err
21588
cat conftest.err >&5
21589
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590
(exit $ac_status); } && {
21591
test -z "$ac_c_werror_flag" ||
21592
test ! -s conftest.err
21593
} && test -s conftest.$ac_objext; then
21594
cat >conftest.$ac_ext <<_ACEOF
21597
cat confdefs.h >>conftest.$ac_ext
21598
cat >>conftest.$ac_ext <<_ACEOF
21599
/* end confdefs.h. */
21600
#if defined(HAVE_ARGZ_H)
21607
if (sizeof ((error_t)))
21613
rm -f conftest.$ac_objext
21614
if { (ac_try="$ac_compile"
21615
case "(($ac_try" in
21616
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21617
*) ac_try_echo=$ac_try;;
21619
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21620
$as_echo "$ac_try_echo") >&5
21621
(eval "$ac_compile") 2>conftest.er1
21623
grep -v '^ *+' conftest.er1 >conftest.err
21625
cat conftest.err >&5
21626
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627
(exit $ac_status); } && {
21628
test -z "$ac_c_werror_flag" ||
21629
test ! -s conftest.err
21630
} && test -s conftest.$ac_objext; then
21633
$as_echo "$as_me: failed program was:" >&5
21634
sed 's/^/| /' conftest.$ac_ext >&5
21636
ac_cv_type_error_t=yes
21639
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21641
$as_echo "$as_me: failed program was:" >&5
21642
sed 's/^/| /' conftest.$ac_ext >&5
21647
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21649
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
21650
$as_echo "$ac_cv_type_error_t" >&6; }
21651
if test "x$ac_cv_type_error_t" = x""yes; then
21653
cat >>confdefs.h <<_ACEOF
21654
#define HAVE_ERROR_T 1
21660
cat >>confdefs.h <<\_ACEOF
21661
#define error_t int
21665
cat >>confdefs.h <<\_ACEOF
21666
#define __error_t_defined 1
21680
for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
21681
argz_next argz_stringify
21683
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21684
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
21685
$as_echo_n "checking for $ac_func... " >&6; }
21686
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21687
$as_echo_n "(cached) " >&6
21689
cat >conftest.$ac_ext <<_ACEOF
21692
cat confdefs.h >>conftest.$ac_ext
21693
cat >>conftest.$ac_ext <<_ACEOF
21694
/* end confdefs.h. */
21695
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21696
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21697
#define $ac_func innocuous_$ac_func
21699
/* System header to define __stub macros and hopefully few prototypes,
21700
which can conflict with char $ac_func (); below.
21701
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21702
<limits.h> exists even on freestanding compilers. */
21705
# include <limits.h>
21707
# include <assert.h>
21712
/* Override any GCC internal prototype to avoid an error.
21713
Use char because int might match the return type of a GCC
21714
builtin and then its argument prototype would still apply. */
21719
/* The GNU C library defines this for functions which it implements
21720
to always fail with ENOSYS. Some functions are actually named
21721
something starting with __ and the normal name is an alias. */
21722
#if defined __stub_$ac_func || defined __stub___$ac_func
21729
return $ac_func ();
21734
rm -f conftest.$ac_objext conftest$ac_exeext
21735
if { (ac_try="$ac_link"
21736
case "(($ac_try" in
21737
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21738
*) ac_try_echo=$ac_try;;
21740
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21741
$as_echo "$ac_try_echo") >&5
21742
(eval "$ac_link") 2>conftest.er1
21744
grep -v '^ *+' conftest.er1 >conftest.err
21746
cat conftest.err >&5
21747
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748
(exit $ac_status); } && {
21749
test -z "$ac_c_werror_flag" ||
21750
test ! -s conftest.err
21751
} && test -s conftest$ac_exeext && {
21752
test "$cross_compiling" = yes ||
21753
$as_test_x conftest$ac_exeext
21755
eval "$as_ac_var=yes"
21757
$as_echo "$as_me: failed program was:" >&5
21758
sed 's/^/| /' conftest.$ac_ext >&5
21760
eval "$as_ac_var=no"
21763
rm -rf conftest.dSYM
21764
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21765
conftest$ac_exeext conftest.$ac_ext
21767
ac_res=`eval 'as_val=${'$as_ac_var'}
21768
$as_echo "$as_val"'`
21769
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21770
$as_echo "$ac_res" >&6; }
21771
as_val=`eval 'as_val=${'$as_ac_var'}
21772
$as_echo "$as_val"'`
21773
if test "x$as_val" = x""yes; then
21774
cat >>confdefs.h <<_ACEOF
21775
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21781
_LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
21787
if test -z "$ARGZ_H"; then
21788
{ $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
21789
$as_echo_n "checking if argz actually works... " >&6; }
21790
if test "${lt_cv_sys_argz_works+set}" = set; then
21791
$as_echo_n "(cached) " >&6
21793
case $host_os in #(
21795
lt_cv_sys_argz_works=no
21796
if test "$cross_compiling" != no; then
21797
lt_cv_sys_argz_works="guessing no"
21799
lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
21802
set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
21807
if test "$lt_os_major" -gt 1 \
21808
|| { test "$lt_os_major" -eq 1 \
21809
&& { test "$lt_os_minor" -gt 5 \
21810
|| { test "$lt_os_minor" -eq 5 \
21811
&& test "$lt_os_micro" -gt 24; }; }; }; then
21812
lt_cv_sys_argz_works=yes
21816
*) lt_cv_sys_argz_works=yes ;;
21819
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
21820
$as_echo "$lt_cv_sys_argz_works" >&6; }
21821
if test $lt_cv_sys_argz_works = yes; then
21823
cat >>confdefs.h <<\_ACEOF
21824
#define HAVE_WORKING_ARGZ 1
21831
_LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
21840
{ $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
21841
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
21842
if test "${libltdl_cv_preloaded_symbols+set}" = set; then
21843
$as_echo_n "(cached) " >&6
21845
if test -n "$lt_cv_sys_global_symbol_pipe"; then
21846
libltdl_cv_preloaded_symbols=yes
21848
libltdl_cv_preloaded_symbols=no
21852
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
21853
$as_echo "$libltdl_cv_preloaded_symbols" >&6; }
21854
if test x"$libltdl_cv_preloaded_symbols" = xyes; then
21856
cat >>confdefs.h <<\_ACEOF
21857
#define HAVE_PRELOADED_SYMBOLS 1
21877
# Check whether --with-included_ltdl was given.
21878
if test "${with_included_ltdl+set}" = set; then
21879
withval=$with_included_ltdl;
21883
if test "x$with_included_ltdl" != xyes; then
21884
# We are not being forced to use the included libltdl sources, so
21885
# decide whether there is a useful installed version we can use.
21886
{ $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
21887
$as_echo_n "checking for ltdl.h... " >&6; }
21888
if test "${ac_cv_header_ltdl_h+set}" = set; then
21889
$as_echo_n "(cached) " >&6
21891
cat >conftest.$ac_ext <<_ACEOF
21894
cat confdefs.h >>conftest.$ac_ext
21895
cat >>conftest.$ac_ext <<_ACEOF
21896
/* end confdefs.h. */
21897
$ac_includes_default
21902
rm -f conftest.$ac_objext
21903
if { (ac_try="$ac_compile"
21904
case "(($ac_try" in
21905
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906
*) ac_try_echo=$ac_try;;
21908
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21909
$as_echo "$ac_try_echo") >&5
21910
(eval "$ac_compile") 2>conftest.er1
21912
grep -v '^ *+' conftest.er1 >conftest.err
21914
cat conftest.err >&5
21915
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916
(exit $ac_status); } && {
21917
test -z "$ac_c_werror_flag" ||
21918
test ! -s conftest.err
21919
} && test -s conftest.$ac_objext; then
21920
ac_cv_header_ltdl_h=yes
21922
$as_echo "$as_me: failed program was:" >&5
21923
sed 's/^/| /' conftest.$ac_ext >&5
21925
ac_cv_header_ltdl_h=no
21928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
21931
$as_echo "$ac_cv_header_ltdl_h" >&6; }
21932
if test "x$ac_cv_header_ltdl_h" = x""yes; then
21933
{ $as_echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
21934
$as_echo_n "checking whether lt_dlinterface_register is declared... " >&6; }
21935
if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
21936
$as_echo_n "(cached) " >&6
21938
cat >conftest.$ac_ext <<_ACEOF
21941
cat confdefs.h >>conftest.$ac_ext
21942
cat >>conftest.$ac_ext <<_ACEOF
21943
/* end confdefs.h. */
21944
$ac_includes_default
21950
#ifndef lt_dlinterface_register
21951
(void) lt_dlinterface_register;
21958
rm -f conftest.$ac_objext
21959
if { (ac_try="$ac_compile"
21960
case "(($ac_try" in
21961
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21962
*) ac_try_echo=$ac_try;;
21964
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21965
$as_echo "$ac_try_echo") >&5
21966
(eval "$ac_compile") 2>conftest.er1
21968
grep -v '^ *+' conftest.er1 >conftest.err
21970
cat conftest.err >&5
21971
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972
(exit $ac_status); } && {
21973
test -z "$ac_c_werror_flag" ||
21974
test ! -s conftest.err
21975
} && test -s conftest.$ac_objext; then
21976
ac_cv_have_decl_lt_dlinterface_register=yes
21978
$as_echo "$as_me: failed program was:" >&5
21979
sed 's/^/| /' conftest.$ac_ext >&5
21981
ac_cv_have_decl_lt_dlinterface_register=no
21984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21986
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
21987
$as_echo "$ac_cv_have_decl_lt_dlinterface_register" >&6; }
21988
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then
21989
{ $as_echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
21990
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
21991
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
21992
$as_echo_n "(cached) " >&6
21994
ac_check_lib_save_LIBS=$LIBS
21995
LIBS="-lltdl $LIBS"
21996
cat >conftest.$ac_ext <<_ACEOF
21999
cat confdefs.h >>conftest.$ac_ext
22000
cat >>conftest.$ac_ext <<_ACEOF
22001
/* end confdefs.h. */
22003
/* Override any GCC internal prototype to avoid an error.
22004
Use char because int might match the return type of a GCC
22005
builtin and then its argument prototype would still apply. */
22009
char lt_dladvise_preload ();
22013
return lt_dladvise_preload ();
22018
rm -f conftest.$ac_objext conftest$ac_exeext
22019
if { (ac_try="$ac_link"
22020
case "(($ac_try" in
22021
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22022
*) ac_try_echo=$ac_try;;
22024
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22025
$as_echo "$ac_try_echo") >&5
22026
(eval "$ac_link") 2>conftest.er1
22028
grep -v '^ *+' conftest.er1 >conftest.err
22030
cat conftest.err >&5
22031
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032
(exit $ac_status); } && {
22033
test -z "$ac_c_werror_flag" ||
22034
test ! -s conftest.err
22035
} && test -s conftest$ac_exeext && {
22036
test "$cross_compiling" = yes ||
22037
$as_test_x conftest$ac_exeext
22039
ac_cv_lib_ltdl_lt_dladvise_preload=yes
22041
$as_echo "$as_me: failed program was:" >&5
22042
sed 's/^/| /' conftest.$ac_ext >&5
22044
ac_cv_lib_ltdl_lt_dladvise_preload=no
22047
rm -rf conftest.dSYM
22048
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22049
conftest$ac_exeext conftest.$ac_ext
22050
LIBS=$ac_check_lib_save_LIBS
22052
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
22053
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
22054
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
22055
with_included_ltdl=no
22057
with_included_ltdl=yes
22061
with_included_ltdl=yes
22065
with_included_ltdl=yes
22074
# Check whether --with-ltdl_include was given.
22075
if test "${with_ltdl_include+set}" = set; then
22076
withval=$with_ltdl_include;
22080
if test -n "$with_ltdl_include"; then
22081
if test -f "$with_ltdl_include/ltdl.h"; then :
22083
{ { $as_echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
22084
$as_echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
22085
{ (exit 1); exit 1; }; }
22088
with_ltdl_include=no
22092
# Check whether --with-ltdl_lib was given.
22093
if test "${with_ltdl_lib+set}" = set; then
22094
withval=$with_ltdl_lib;
22098
if test -n "$with_ltdl_lib"; then
22099
if test -f "$with_ltdl_lib/libltdl.la"; then :
22101
{ { $as_echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
22102
$as_echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
22103
{ (exit 1); exit 1; }; }
22109
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
22111
case $enable_ltdl_convenience in
22112
no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
22113
$as_echo "$as_me: error: this package needs a convenience libltdl" >&2;}
22114
{ (exit 1); exit 1; }; } ;;
22115
"") enable_ltdl_convenience=yes
22116
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
22118
LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
22120
LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
22126
# For backwards non-gettext consistent compatibility...
22127
INCLTDL="$LTDLINCL"
22132
# If the included ltdl is not to be used, then use the
22133
# preinstalled libltdl we found.
22135
cat >>confdefs.h <<\_ACEOF
22136
#define HAVE_LTDL 1
22144
{ { $as_echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
22145
$as_echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
22146
{ (exit 1); exit 1; }; }
22148
*) with_included_ltdl=no
22149
LIBLTDL="-L$with_ltdl_lib -lltdl"
22151
LTDLINCL="-I$with_ltdl_include"
22154
INCLTDL="$LTDLINCL"
22156
# Report our decision...
22157
{ $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
22158
$as_echo_n "checking where to find libltdl headers... " >&6; }
22159
{ $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5
22160
$as_echo "$LTDLINCL" >&6; }
22161
{ $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5
22162
$as_echo_n "checking where to find libltdl library... " >&6; }
22163
{ $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5
22164
$as_echo "$LIBLTDL" >&6; }
22168
# Check whether --enable-ltdl-install was given.
22169
if test "${enable_ltdl_install+set}" = set; then
22170
enableval=$enable_ltdl_install;
22174
case ,${enable_ltdl_install},${enable_ltdl_convenience} in
22176
*) enable_ltdl_convenience=yes ;;
22179
if test x"${enable_ltdl_install-no}" != xno; then
22181
INSTALL_LTDL_FALSE='#'
22183
INSTALL_LTDL_TRUE='#'
22184
INSTALL_LTDL_FALSE=
22187
if test x"${enable_ltdl_convenience-no}" != xno; then
22188
CONVENIENCE_LTDL_TRUE=
22189
CONVENIENCE_LTDL_FALSE='#'
22191
CONVENIENCE_LTDL_TRUE='#'
22192
CONVENIENCE_LTDL_FALSE=
22197
subdirs="$subdirs libltdl"
22203
# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
22204
# the user used. This is so that ltdl.h can pick up the parent projects
22205
# config.h file, The first file in AC_CONFIG_HEADERS must contain the
22206
# definitions required by ltdl.c.
22207
# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
22217
for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
22219
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22220
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22221
$as_echo_n "checking for $ac_header... " >&6; }
22222
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22223
$as_echo_n "(cached) " >&6
22225
cat >conftest.$ac_ext <<_ACEOF
22228
cat confdefs.h >>conftest.$ac_ext
22229
cat >>conftest.$ac_ext <<_ACEOF
22230
/* end confdefs.h. */
22231
$ac_includes_default
22233
#include <$ac_header>
22235
rm -f conftest.$ac_objext
22236
if { (ac_try="$ac_compile"
22237
case "(($ac_try" in
22238
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239
*) ac_try_echo=$ac_try;;
22241
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22242
$as_echo "$ac_try_echo") >&5
22243
(eval "$ac_compile") 2>conftest.er1
22245
grep -v '^ *+' conftest.er1 >conftest.err
22247
cat conftest.err >&5
22248
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249
(exit $ac_status); } && {
22250
test -z "$ac_c_werror_flag" ||
22251
test ! -s conftest.err
22252
} && test -s conftest.$ac_objext; then
22253
eval "$as_ac_Header=yes"
22255
$as_echo "$as_me: failed program was:" >&5
22256
sed 's/^/| /' conftest.$ac_ext >&5
22258
eval "$as_ac_Header=no"
22261
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263
ac_res=`eval 'as_val=${'$as_ac_Header'}
22264
$as_echo "$as_val"'`
22265
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22266
$as_echo "$ac_res" >&6; }
22267
as_val=`eval 'as_val=${'$as_ac_Header'}
22268
$as_echo "$as_val"'`
22269
if test "x$as_val" = x""yes; then
22270
cat >>confdefs.h <<_ACEOF
22271
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22282
for ac_func in closedir opendir readdir
22284
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22285
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
22286
$as_echo_n "checking for $ac_func... " >&6; }
22287
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22288
$as_echo_n "(cached) " >&6
22290
cat >conftest.$ac_ext <<_ACEOF
22293
cat confdefs.h >>conftest.$ac_ext
22294
cat >>conftest.$ac_ext <<_ACEOF
22295
/* end confdefs.h. */
22296
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22297
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22298
#define $ac_func innocuous_$ac_func
22300
/* System header to define __stub macros and hopefully few prototypes,
22301
which can conflict with char $ac_func (); below.
22302
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22303
<limits.h> exists even on freestanding compilers. */
22306
# include <limits.h>
22308
# include <assert.h>
22313
/* Override any GCC internal prototype to avoid an error.
22314
Use char because int might match the return type of a GCC
22315
builtin and then its argument prototype would still apply. */
22320
/* The GNU C library defines this for functions which it implements
22321
to always fail with ENOSYS. Some functions are actually named
22322
something starting with __ and the normal name is an alias. */
22323
#if defined __stub_$ac_func || defined __stub___$ac_func
22330
return $ac_func ();
22335
rm -f conftest.$ac_objext conftest$ac_exeext
22336
if { (ac_try="$ac_link"
22337
case "(($ac_try" in
22338
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22339
*) ac_try_echo=$ac_try;;
22341
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22342
$as_echo "$ac_try_echo") >&5
22343
(eval "$ac_link") 2>conftest.er1
22345
grep -v '^ *+' conftest.er1 >conftest.err
22347
cat conftest.err >&5
22348
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349
(exit $ac_status); } && {
22350
test -z "$ac_c_werror_flag" ||
22351
test ! -s conftest.err
22352
} && test -s conftest$ac_exeext && {
22353
test "$cross_compiling" = yes ||
22354
$as_test_x conftest$ac_exeext
22356
eval "$as_ac_var=yes"
22358
$as_echo "$as_me: failed program was:" >&5
22359
sed 's/^/| /' conftest.$ac_ext >&5
22361
eval "$as_ac_var=no"
22364
rm -rf conftest.dSYM
22365
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22366
conftest$ac_exeext conftest.$ac_ext
22368
ac_res=`eval 'as_val=${'$as_ac_var'}
22369
$as_echo "$as_val"'`
22370
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22371
$as_echo "$ac_res" >&6; }
22372
as_val=`eval 'as_val=${'$as_ac_var'}
22373
$as_echo "$as_val"'`
22374
if test "x$as_val" = x""yes; then
22375
cat >>confdefs.h <<_ACEOF
22376
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22382
_LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
22389
for ac_func in strlcat strlcpy
22391
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22392
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
22393
$as_echo_n "checking for $ac_func... " >&6; }
22394
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22395
$as_echo_n "(cached) " >&6
22397
cat >conftest.$ac_ext <<_ACEOF
22400
cat confdefs.h >>conftest.$ac_ext
22401
cat >>conftest.$ac_ext <<_ACEOF
22402
/* end confdefs.h. */
22403
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22404
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22405
#define $ac_func innocuous_$ac_func
22407
/* System header to define __stub macros and hopefully few prototypes,
22408
which can conflict with char $ac_func (); below.
22409
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22410
<limits.h> exists even on freestanding compilers. */
22413
# include <limits.h>
22415
# include <assert.h>
22420
/* Override any GCC internal prototype to avoid an error.
22421
Use char because int might match the return type of a GCC
22422
builtin and then its argument prototype would still apply. */
22427
/* The GNU C library defines this for functions which it implements
22428
to always fail with ENOSYS. Some functions are actually named
22429
something starting with __ and the normal name is an alias. */
22430
#if defined __stub_$ac_func || defined __stub___$ac_func
22437
return $ac_func ();
22442
rm -f conftest.$ac_objext conftest$ac_exeext
22443
if { (ac_try="$ac_link"
22444
case "(($ac_try" in
22445
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446
*) ac_try_echo=$ac_try;;
22448
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22449
$as_echo "$ac_try_echo") >&5
22450
(eval "$ac_link") 2>conftest.er1
22452
grep -v '^ *+' conftest.er1 >conftest.err
22454
cat conftest.err >&5
22455
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456
(exit $ac_status); } && {
22457
test -z "$ac_c_werror_flag" ||
22458
test ! -s conftest.err
22459
} && test -s conftest$ac_exeext && {
22460
test "$cross_compiling" = yes ||
22461
$as_test_x conftest$ac_exeext
22463
eval "$as_ac_var=yes"
22465
$as_echo "$as_me: failed program was:" >&5
22466
sed 's/^/| /' conftest.$ac_ext >&5
22468
eval "$as_ac_var=no"
22471
rm -rf conftest.dSYM
22472
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22473
conftest$ac_exeext conftest.$ac_ext
22475
ac_res=`eval 'as_val=${'$as_ac_var'}
22476
$as_echo "$as_val"'`
22477
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22478
$as_echo "$ac_res" >&6; }
22479
as_val=`eval 'as_val=${'$as_ac_var'}
22480
$as_echo "$as_val"'`
22481
if test "x$as_val" = x""yes; then
22482
cat >>confdefs.h <<_ACEOF
22483
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22489
_LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
22496
cat >>confdefs.h <<_ACEOF
22497
#define LT_LIBEXT "$libext"
22502
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
22511
# Only expand once:
22521
case $enable_ltdl_convenience in
22522
no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
22523
$as_echo "$as_me: error: this package needs a convenience libltdl" >&2;}
22524
{ (exit 1); exit 1; }; } ;;
22525
"") enable_ltdl_convenience=yes
22526
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
22528
LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
22530
LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
22536
# For backwards non-gettext consistent compatibility...
22537
INCLTDL="$LTDLINCL"
22540
if test "x$DARWIN9" = "xyes"; then
22541
LIBLTDL_LDFLAGS="-Wl,-unexported_symbol,_lt_*"
22544
use_ltdl="No (disabled)"
22546
if test "x$enable_ltdl" != "xno"; then
22548
ENABLE_LTDL_FALSE='#'
22550
ENABLE_LTDL_TRUE='#'
22557
#code that is for Libtool 2.x
22560
# Checks for libraries.
22561
#AC_CHECK_LIB([ICE], [main])
22562
#AC_CHECK_LIB([SM], [main])
22563
#AC_CHECK_LIB([Xaw], [main])
22564
#AC_CHECK_LIB([Xpm], [main])
22565
#AC_CHECK_LIB([art_lgpl_2], [main])
22566
#AC_CHECK_LIB([cairo], [main])
22567
#AC_CHECK_LIB([dl], [main])
22568
#AC_CHECK_LIB([fl], [main])
22569
#AC_CHECK_LIB([fontconfig], [main])
22570
#AC_CHECK_LIB([freetype], [main])
22571
#AC_CHECK_LIB([iconv], [main])
22572
#AC_CHECK_LIB([intl], [main])
22573
#AC_CHECK_LIB([jpeg], [main])
22574
#AC_CHECK_LIB([m], [main])
22575
#AC_CHECK_LIB([perl], [main])
22576
#AC_CHECK_LIB([png], [main])
22577
#AC_CHECK_LIB([popt], [main])
22578
#AC_CHECK_LIB([xml2], [main])
22579
#AC_CHECK_LIB([z], [main])
22583
# Check whether --with-efence was given.
22584
if test "${with_efence+set}" = set; then
22585
withval=$with_efence;
22590
if test "x$with_efence" = "xyes"; then
22591
LIBS="$LIBS -lefence"
22595
{ $as_echo "$as_me:$LINENO: checking for X" >&5
22596
$as_echo_n "checking for X... " >&6; }
22599
# Check whether --with-x was given.
22600
if test "${with_x+set}" = set; then
22604
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22605
if test "x$with_x" = xno; then
22606
# The user explicitly disabled X.
22609
case $x_includes,$x_libraries in #(
22610
*\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
22611
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
22612
{ (exit 1); exit 1; }; };; #(
22613
*,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
22614
$as_echo_n "(cached) " >&6
22616
# One or both of the vars are not set, and there is no cached value.
22617
ac_x_includes=no ac_x_libraries=no
22618
rm -f -r conftest.dir
22619
if mkdir conftest.dir; then
22621
cat >Imakefile <<'_ACEOF'
22623
@echo incroot='${INCROOT}'
22625
@echo usrlibdir='${USRLIBDIR}'
22627
@echo libdir='${LIBDIR}'
22629
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22630
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22631
for ac_var in incroot usrlibdir libdir; do
22632
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22634
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22635
for ac_extension in a so sl dylib la dll; do
22636
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22637
test -f "$ac_im_libdir/libX11.$ac_extension"; then
22638
ac_im_usrlibdir=$ac_im_libdir; break
22641
# Screen out bogus values from the imake configuration. They are
22642
# bogus both because they are the default anyway, and because
22643
# using them would break gcc on systems where it needs fixed includes.
22644
case $ac_im_incroot in
22645
/usr/include) ac_x_includes= ;;
22646
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22648
case $ac_im_usrlibdir in
22649
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
22650
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22654
rm -f -r conftest.dir
22657
# Standard set of common directories for X headers.
22658
# Check X11 before X11Rn because it is often a symlink to the current release.
22670
/usr/local/X11/include
22671
/usr/local/X11R6/include
22672
/usr/local/X11R5/include
22673
/usr/local/X11R4/include
22675
/usr/local/include/X11
22676
/usr/local/include/X11R6
22677
/usr/local/include/X11R5
22678
/usr/local/include/X11R4
22682
/usr/XFree86/include/X11
22686
/usr/unsupported/include
22687
/usr/athena/include
22688
/usr/local/x11r5/include
22689
/usr/lpp/Xamples/include
22691
/usr/openwin/include
22692
/usr/openwin/share/include'
22694
if test "$ac_x_includes" = no; then
22695
# Guess where to find include files, by looking for Xlib.h.
22696
# First, try using that file with no special directory specified.
22697
cat >conftest.$ac_ext <<_ACEOF
22700
cat confdefs.h >>conftest.$ac_ext
22701
cat >>conftest.$ac_ext <<_ACEOF
22702
/* end confdefs.h. */
22703
#include <X11/Xlib.h>
22705
if { (ac_try="$ac_cpp conftest.$ac_ext"
22706
case "(($ac_try" in
22707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22708
*) ac_try_echo=$ac_try;;
22710
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22711
$as_echo "$ac_try_echo") >&5
22712
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22714
grep -v '^ *+' conftest.er1 >conftest.err
22716
cat conftest.err >&5
22717
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718
(exit $ac_status); } >/dev/null && {
22719
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22720
test ! -s conftest.err
22722
# We can compile using X headers with no special include directory.
22725
$as_echo "$as_me: failed program was:" >&5
22726
sed 's/^/| /' conftest.$ac_ext >&5
22728
for ac_dir in $ac_x_header_dirs; do
22729
if test -r "$ac_dir/X11/Xlib.h"; then
22730
ac_x_includes=$ac_dir
22736
rm -f conftest.err conftest.$ac_ext
22737
fi # $ac_x_includes = no
22739
if test "$ac_x_libraries" = no; then
22740
# Check for the libraries.
22741
# See if we find them without any special options.
22742
# Don't add to $LIBS permanently.
22745
cat >conftest.$ac_ext <<_ACEOF
22748
cat confdefs.h >>conftest.$ac_ext
22749
cat >>conftest.$ac_ext <<_ACEOF
22750
/* end confdefs.h. */
22751
#include <X11/Xlib.h>
22760
rm -f conftest.$ac_objext conftest$ac_exeext
22761
if { (ac_try="$ac_link"
22762
case "(($ac_try" in
22763
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22764
*) ac_try_echo=$ac_try;;
22766
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22767
$as_echo "$ac_try_echo") >&5
22768
(eval "$ac_link") 2>conftest.er1
22770
grep -v '^ *+' conftest.er1 >conftest.err
22772
cat conftest.err >&5
22773
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774
(exit $ac_status); } && {
22775
test -z "$ac_c_werror_flag" ||
22776
test ! -s conftest.err
22777
} && test -s conftest$ac_exeext && {
22778
test "$cross_compiling" = yes ||
22779
$as_test_x conftest$ac_exeext
22782
# We can link X programs with no special library path.
22785
$as_echo "$as_me: failed program was:" >&5
22786
sed 's/^/| /' conftest.$ac_ext >&5
22789
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22791
# Don't even attempt the hair of trying to link an X program!
22792
for ac_extension in a so sl dylib la dll; do
22793
if test -r "$ac_dir/libX11.$ac_extension"; then
22794
ac_x_libraries=$ac_dir
22801
rm -rf conftest.dSYM
22802
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22803
conftest$ac_exeext conftest.$ac_ext
22804
fi # $ac_x_libraries = no
22806
case $ac_x_includes,$ac_x_libraries in #(
22807
no,* | *,no | *\'*)
22808
# Didn't find X, or a directory has "'" in its name.
22809
ac_cv_have_x="have_x=no";; #(
22811
# Record where we found X for the cache.
22812
ac_cv_have_x="have_x=yes\
22813
ac_x_includes='$ac_x_includes'\
22814
ac_x_libraries='$ac_x_libraries'"
22820
eval "$ac_cv_have_x"
22823
if test "$have_x" != yes; then
22824
{ $as_echo "$as_me:$LINENO: result: $have_x" >&5
22825
$as_echo "$have_x" >&6; }
22828
# If each of the values was on the command line, it overrides each guess.
22829
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22830
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22831
# Update the cache value to reflect the command line values.
22832
ac_cv_have_x="have_x=yes\
22833
ac_x_includes='$x_includes'\
22834
ac_x_libraries='$x_libraries'"
22835
{ $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22836
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22839
if test "$no_x" = yes; then
22840
# Not all programs may use this symbol, but it does not hurt to define it.
22842
cat >>confdefs.h <<\_ACEOF
22843
#define X_DISPLAY_MISSING 1
22846
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22848
if test -n "$x_includes"; then
22849
X_CFLAGS="$X_CFLAGS -I$x_includes"
22852
# It would also be nice to do this for all -L options, not just this one.
22853
if test -n "$x_libraries"; then
22854
X_LIBS="$X_LIBS -L$x_libraries"
22855
# For Solaris; some versions of Sun CC require a space after -R and
22856
# others require no space. Words are not sufficient . . . .
22857
{ $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22858
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
22859
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22860
ac_xsave_c_werror_flag=$ac_c_werror_flag
22861
ac_c_werror_flag=yes
22862
cat >conftest.$ac_ext <<_ACEOF
22865
cat confdefs.h >>conftest.$ac_ext
22866
cat >>conftest.$ac_ext <<_ACEOF
22867
/* end confdefs.h. */
22877
rm -f conftest.$ac_objext conftest$ac_exeext
22878
if { (ac_try="$ac_link"
22879
case "(($ac_try" in
22880
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22881
*) ac_try_echo=$ac_try;;
22883
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22884
$as_echo "$ac_try_echo") >&5
22885
(eval "$ac_link") 2>conftest.er1
22887
grep -v '^ *+' conftest.er1 >conftest.err
22889
cat conftest.err >&5
22890
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891
(exit $ac_status); } && {
22892
test -z "$ac_c_werror_flag" ||
22893
test ! -s conftest.err
22894
} && test -s conftest$ac_exeext && {
22895
test "$cross_compiling" = yes ||
22896
$as_test_x conftest$ac_exeext
22898
{ $as_echo "$as_me:$LINENO: result: no" >&5
22899
$as_echo "no" >&6; }
22900
X_LIBS="$X_LIBS -R$x_libraries"
22902
$as_echo "$as_me: failed program was:" >&5
22903
sed 's/^/| /' conftest.$ac_ext >&5
22905
LIBS="$ac_xsave_LIBS -R $x_libraries"
22906
cat >conftest.$ac_ext <<_ACEOF
22909
cat confdefs.h >>conftest.$ac_ext
22910
cat >>conftest.$ac_ext <<_ACEOF
22911
/* end confdefs.h. */
22921
rm -f conftest.$ac_objext conftest$ac_exeext
22922
if { (ac_try="$ac_link"
22923
case "(($ac_try" in
22924
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22925
*) ac_try_echo=$ac_try;;
22927
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22928
$as_echo "$ac_try_echo") >&5
22929
(eval "$ac_link") 2>conftest.er1
22931
grep -v '^ *+' conftest.er1 >conftest.err
22933
cat conftest.err >&5
22934
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935
(exit $ac_status); } && {
22936
test -z "$ac_c_werror_flag" ||
22937
test ! -s conftest.err
22938
} && test -s conftest$ac_exeext && {
22939
test "$cross_compiling" = yes ||
22940
$as_test_x conftest$ac_exeext
22942
{ $as_echo "$as_me:$LINENO: result: yes" >&5
22943
$as_echo "yes" >&6; }
22944
X_LIBS="$X_LIBS -R $x_libraries"
22946
$as_echo "$as_me: failed program was:" >&5
22947
sed 's/^/| /' conftest.$ac_ext >&5
22949
{ $as_echo "$as_me:$LINENO: result: neither works" >&5
22950
$as_echo "neither works" >&6; }
22953
rm -rf conftest.dSYM
22954
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22955
conftest$ac_exeext conftest.$ac_ext
22958
rm -rf conftest.dSYM
22959
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22960
conftest$ac_exeext conftest.$ac_ext
22961
ac_c_werror_flag=$ac_xsave_c_werror_flag
22962
LIBS=$ac_xsave_LIBS
22965
# Check for system-dependent libraries X programs must link with.
22966
# Do this before checking for the system-independent R6 libraries
22967
# (-lICE), since we may need -lsocket or whatever for X linking.
22969
if test "$ISC" = yes; then
22970
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22972
# Martyn Johnson says this is needed for Ultrix, if the X
22973
# libraries were built with DECnet support. And Karl Berry says
22974
# the Alpha needs dnet_stub (dnet does not exist).
22975
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22976
cat >conftest.$ac_ext <<_ACEOF
22979
cat confdefs.h >>conftest.$ac_ext
22980
cat >>conftest.$ac_ext <<_ACEOF
22981
/* end confdefs.h. */
22983
/* Override any GCC internal prototype to avoid an error.
22984
Use char because int might match the return type of a GCC
22985
builtin and then its argument prototype would still apply. */
22989
char XOpenDisplay ();
22993
return XOpenDisplay ();
22998
rm -f conftest.$ac_objext conftest$ac_exeext
22999
if { (ac_try="$ac_link"
23000
case "(($ac_try" in
23001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23002
*) ac_try_echo=$ac_try;;
23004
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23005
$as_echo "$ac_try_echo") >&5
23006
(eval "$ac_link") 2>conftest.er1
23008
grep -v '^ *+' conftest.er1 >conftest.err
23010
cat conftest.err >&5
23011
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012
(exit $ac_status); } && {
23013
test -z "$ac_c_werror_flag" ||
23014
test ! -s conftest.err
23015
} && test -s conftest$ac_exeext && {
23016
test "$cross_compiling" = yes ||
23017
$as_test_x conftest$ac_exeext
23021
$as_echo "$as_me: failed program was:" >&5
23022
sed 's/^/| /' conftest.$ac_ext >&5
23024
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23025
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23026
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23027
$as_echo_n "(cached) " >&6
23029
ac_check_lib_save_LIBS=$LIBS
23030
LIBS="-ldnet $LIBS"
23031
cat >conftest.$ac_ext <<_ACEOF
23034
cat confdefs.h >>conftest.$ac_ext
23035
cat >>conftest.$ac_ext <<_ACEOF
23036
/* end confdefs.h. */
23038
/* Override any GCC internal prototype to avoid an error.
23039
Use char because int might match the return type of a GCC
23040
builtin and then its argument prototype would still apply. */
23048
return dnet_ntoa ();
23053
rm -f conftest.$ac_objext conftest$ac_exeext
23054
if { (ac_try="$ac_link"
23055
case "(($ac_try" in
23056
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23057
*) ac_try_echo=$ac_try;;
23059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23060
$as_echo "$ac_try_echo") >&5
23061
(eval "$ac_link") 2>conftest.er1
23063
grep -v '^ *+' conftest.er1 >conftest.err
23065
cat conftest.err >&5
23066
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067
(exit $ac_status); } && {
23068
test -z "$ac_c_werror_flag" ||
23069
test ! -s conftest.err
23070
} && test -s conftest$ac_exeext && {
23071
test "$cross_compiling" = yes ||
23072
$as_test_x conftest$ac_exeext
23074
ac_cv_lib_dnet_dnet_ntoa=yes
23076
$as_echo "$as_me: failed program was:" >&5
23077
sed 's/^/| /' conftest.$ac_ext >&5
23079
ac_cv_lib_dnet_dnet_ntoa=no
23082
rm -rf conftest.dSYM
23083
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23084
conftest$ac_exeext conftest.$ac_ext
23085
LIBS=$ac_check_lib_save_LIBS
23087
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23088
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23089
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
23090
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23093
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23094
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23095
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23096
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23097
$as_echo_n "(cached) " >&6
23099
ac_check_lib_save_LIBS=$LIBS
23100
LIBS="-ldnet_stub $LIBS"
23101
cat >conftest.$ac_ext <<_ACEOF
23104
cat confdefs.h >>conftest.$ac_ext
23105
cat >>conftest.$ac_ext <<_ACEOF
23106
/* end confdefs.h. */
23108
/* Override any GCC internal prototype to avoid an error.
23109
Use char because int might match the return type of a GCC
23110
builtin and then its argument prototype would still apply. */
23118
return dnet_ntoa ();
23123
rm -f conftest.$ac_objext conftest$ac_exeext
23124
if { (ac_try="$ac_link"
23125
case "(($ac_try" in
23126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127
*) ac_try_echo=$ac_try;;
23129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23130
$as_echo "$ac_try_echo") >&5
23131
(eval "$ac_link") 2>conftest.er1
23133
grep -v '^ *+' conftest.er1 >conftest.err
23135
cat conftest.err >&5
23136
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137
(exit $ac_status); } && {
23138
test -z "$ac_c_werror_flag" ||
23139
test ! -s conftest.err
23140
} && test -s conftest$ac_exeext && {
23141
test "$cross_compiling" = yes ||
23142
$as_test_x conftest$ac_exeext
23144
ac_cv_lib_dnet_stub_dnet_ntoa=yes
23146
$as_echo "$as_me: failed program was:" >&5
23147
sed 's/^/| /' conftest.$ac_ext >&5
23149
ac_cv_lib_dnet_stub_dnet_ntoa=no
23152
rm -rf conftest.dSYM
23153
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23154
conftest$ac_exeext conftest.$ac_ext
23155
LIBS=$ac_check_lib_save_LIBS
23157
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23158
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23159
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
23160
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23166
rm -rf conftest.dSYM
23167
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23168
conftest$ac_exeext conftest.$ac_ext
23169
LIBS="$ac_xsave_LIBS"
23171
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23172
# to get the SysV transport functions.
23173
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23175
# The nsl library prevents programs from opening the X display
23176
# on Irix 5.2, according to T.E. Dickey.
23177
# The functions gethostbyname, getservbyname, and inet_addr are
23178
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23179
{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
23180
$as_echo_n "checking for gethostbyname... " >&6; }
23181
if test "${ac_cv_func_gethostbyname+set}" = set; then
23182
$as_echo_n "(cached) " >&6
23184
cat >conftest.$ac_ext <<_ACEOF
23187
cat confdefs.h >>conftest.$ac_ext
23188
cat >>conftest.$ac_ext <<_ACEOF
23189
/* end confdefs.h. */
23190
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23191
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23192
#define gethostbyname innocuous_gethostbyname
23194
/* System header to define __stub macros and hopefully few prototypes,
23195
which can conflict with char gethostbyname (); below.
23196
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23197
<limits.h> exists even on freestanding compilers. */
23200
# include <limits.h>
23202
# include <assert.h>
23205
#undef gethostbyname
23207
/* Override any GCC internal prototype to avoid an error.
23208
Use char because int might match the return type of a GCC
23209
builtin and then its argument prototype would still apply. */
23213
char gethostbyname ();
23214
/* The GNU C library defines this for functions which it implements
23215
to always fail with ENOSYS. Some functions are actually named
23216
something starting with __ and the normal name is an alias. */
23217
#if defined __stub_gethostbyname || defined __stub___gethostbyname
23224
return gethostbyname ();
23229
rm -f conftest.$ac_objext conftest$ac_exeext
23230
if { (ac_try="$ac_link"
23231
case "(($ac_try" in
23232
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23233
*) ac_try_echo=$ac_try;;
23235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23236
$as_echo "$ac_try_echo") >&5
23237
(eval "$ac_link") 2>conftest.er1
23239
grep -v '^ *+' conftest.er1 >conftest.err
23241
cat conftest.err >&5
23242
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243
(exit $ac_status); } && {
23244
test -z "$ac_c_werror_flag" ||
23245
test ! -s conftest.err
23246
} && test -s conftest$ac_exeext && {
23247
test "$cross_compiling" = yes ||
23248
$as_test_x conftest$ac_exeext
23250
ac_cv_func_gethostbyname=yes
23252
$as_echo "$as_me: failed program was:" >&5
23253
sed 's/^/| /' conftest.$ac_ext >&5
23255
ac_cv_func_gethostbyname=no
23258
rm -rf conftest.dSYM
23259
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23260
conftest$ac_exeext conftest.$ac_ext
23262
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23263
$as_echo "$ac_cv_func_gethostbyname" >&6; }
23265
if test $ac_cv_func_gethostbyname = no; then
23266
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23267
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23268
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23269
$as_echo_n "(cached) " >&6
23271
ac_check_lib_save_LIBS=$LIBS
23273
cat >conftest.$ac_ext <<_ACEOF
23276
cat confdefs.h >>conftest.$ac_ext
23277
cat >>conftest.$ac_ext <<_ACEOF
23278
/* end confdefs.h. */
23280
/* Override any GCC internal prototype to avoid an error.
23281
Use char because int might match the return type of a GCC
23282
builtin and then its argument prototype would still apply. */
23286
char gethostbyname ();
23290
return gethostbyname ();
23295
rm -f conftest.$ac_objext conftest$ac_exeext
23296
if { (ac_try="$ac_link"
23297
case "(($ac_try" in
23298
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23299
*) ac_try_echo=$ac_try;;
23301
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23302
$as_echo "$ac_try_echo") >&5
23303
(eval "$ac_link") 2>conftest.er1
23305
grep -v '^ *+' conftest.er1 >conftest.err
23307
cat conftest.err >&5
23308
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309
(exit $ac_status); } && {
23310
test -z "$ac_c_werror_flag" ||
23311
test ! -s conftest.err
23312
} && test -s conftest$ac_exeext && {
23313
test "$cross_compiling" = yes ||
23314
$as_test_x conftest$ac_exeext
23316
ac_cv_lib_nsl_gethostbyname=yes
23318
$as_echo "$as_me: failed program was:" >&5
23319
sed 's/^/| /' conftest.$ac_ext >&5
23321
ac_cv_lib_nsl_gethostbyname=no
23324
rm -rf conftest.dSYM
23325
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23326
conftest$ac_exeext conftest.$ac_ext
23327
LIBS=$ac_check_lib_save_LIBS
23329
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23330
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23331
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
23332
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23335
if test $ac_cv_lib_nsl_gethostbyname = no; then
23336
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23337
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23338
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23339
$as_echo_n "(cached) " >&6
23341
ac_check_lib_save_LIBS=$LIBS
23343
cat >conftest.$ac_ext <<_ACEOF
23346
cat confdefs.h >>conftest.$ac_ext
23347
cat >>conftest.$ac_ext <<_ACEOF
23348
/* end confdefs.h. */
23350
/* Override any GCC internal prototype to avoid an error.
23351
Use char because int might match the return type of a GCC
23352
builtin and then its argument prototype would still apply. */
23356
char gethostbyname ();
23360
return gethostbyname ();
23365
rm -f conftest.$ac_objext conftest$ac_exeext
23366
if { (ac_try="$ac_link"
23367
case "(($ac_try" in
23368
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23369
*) ac_try_echo=$ac_try;;
23371
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23372
$as_echo "$ac_try_echo") >&5
23373
(eval "$ac_link") 2>conftest.er1
23375
grep -v '^ *+' conftest.er1 >conftest.err
23377
cat conftest.err >&5
23378
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379
(exit $ac_status); } && {
23380
test -z "$ac_c_werror_flag" ||
23381
test ! -s conftest.err
23382
} && test -s conftest$ac_exeext && {
23383
test "$cross_compiling" = yes ||
23384
$as_test_x conftest$ac_exeext
23386
ac_cv_lib_bsd_gethostbyname=yes
23388
$as_echo "$as_me: failed program was:" >&5
23389
sed 's/^/| /' conftest.$ac_ext >&5
23391
ac_cv_lib_bsd_gethostbyname=no
23394
rm -rf conftest.dSYM
23395
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23396
conftest$ac_exeext conftest.$ac_ext
23397
LIBS=$ac_check_lib_save_LIBS
23399
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23400
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23401
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
23402
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23408
# lieder@skyler.mavd.honeywell.com says without -lsocket,
23409
# socket/setsockopt and other routines are undefined under SCO ODT
23410
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23411
# on later versions), says Simon Leinen: it contains gethostby*
23412
# variants that don't use the name server (or something). -lsocket
23413
# must be given before -lnsl if both are needed. We assume that
23414
# if connect needs -lnsl, so does gethostbyname.
23415
{ $as_echo "$as_me:$LINENO: checking for connect" >&5
23416
$as_echo_n "checking for connect... " >&6; }
23417
if test "${ac_cv_func_connect+set}" = set; then
23418
$as_echo_n "(cached) " >&6
23420
cat >conftest.$ac_ext <<_ACEOF
23423
cat confdefs.h >>conftest.$ac_ext
23424
cat >>conftest.$ac_ext <<_ACEOF
23425
/* end confdefs.h. */
23426
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
23427
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23428
#define connect innocuous_connect
23430
/* System header to define __stub macros and hopefully few prototypes,
23431
which can conflict with char connect (); below.
23432
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23433
<limits.h> exists even on freestanding compilers. */
23436
# include <limits.h>
23438
# include <assert.h>
23443
/* Override any GCC internal prototype to avoid an error.
23444
Use char because int might match the return type of a GCC
23445
builtin and then its argument prototype would still apply. */
23450
/* The GNU C library defines this for functions which it implements
23451
to always fail with ENOSYS. Some functions are actually named
23452
something starting with __ and the normal name is an alias. */
23453
#if defined __stub_connect || defined __stub___connect
23465
rm -f conftest.$ac_objext conftest$ac_exeext
23466
if { (ac_try="$ac_link"
23467
case "(($ac_try" in
23468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23469
*) ac_try_echo=$ac_try;;
23471
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23472
$as_echo "$ac_try_echo") >&5
23473
(eval "$ac_link") 2>conftest.er1
23475
grep -v '^ *+' conftest.er1 >conftest.err
23477
cat conftest.err >&5
23478
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479
(exit $ac_status); } && {
23480
test -z "$ac_c_werror_flag" ||
23481
test ! -s conftest.err
23482
} && test -s conftest$ac_exeext && {
23483
test "$cross_compiling" = yes ||
23484
$as_test_x conftest$ac_exeext
23486
ac_cv_func_connect=yes
23488
$as_echo "$as_me: failed program was:" >&5
23489
sed 's/^/| /' conftest.$ac_ext >&5
23491
ac_cv_func_connect=no
23494
rm -rf conftest.dSYM
23495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23496
conftest$ac_exeext conftest.$ac_ext
23498
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23499
$as_echo "$ac_cv_func_connect" >&6; }
23501
if test $ac_cv_func_connect = no; then
23502
{ $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23503
$as_echo_n "checking for connect in -lsocket... " >&6; }
23504
if test "${ac_cv_lib_socket_connect+set}" = set; then
23505
$as_echo_n "(cached) " >&6
23507
ac_check_lib_save_LIBS=$LIBS
23508
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23509
cat >conftest.$ac_ext <<_ACEOF
23512
cat confdefs.h >>conftest.$ac_ext
23513
cat >>conftest.$ac_ext <<_ACEOF
23514
/* end confdefs.h. */
23516
/* Override any GCC internal prototype to avoid an error.
23517
Use char because int might match the return type of a GCC
23518
builtin and then its argument prototype would still apply. */
23531
rm -f conftest.$ac_objext conftest$ac_exeext
23532
if { (ac_try="$ac_link"
23533
case "(($ac_try" in
23534
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535
*) ac_try_echo=$ac_try;;
23537
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23538
$as_echo "$ac_try_echo") >&5
23539
(eval "$ac_link") 2>conftest.er1
23541
grep -v '^ *+' conftest.er1 >conftest.err
23543
cat conftest.err >&5
23544
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545
(exit $ac_status); } && {
23546
test -z "$ac_c_werror_flag" ||
23547
test ! -s conftest.err
23548
} && test -s conftest$ac_exeext && {
23549
test "$cross_compiling" = yes ||
23550
$as_test_x conftest$ac_exeext
23552
ac_cv_lib_socket_connect=yes
23554
$as_echo "$as_me: failed program was:" >&5
23555
sed 's/^/| /' conftest.$ac_ext >&5
23557
ac_cv_lib_socket_connect=no
23560
rm -rf conftest.dSYM
23561
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23562
conftest$ac_exeext conftest.$ac_ext
23563
LIBS=$ac_check_lib_save_LIBS
23565
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23566
$as_echo "$ac_cv_lib_socket_connect" >&6; }
23567
if test "x$ac_cv_lib_socket_connect" = x""yes; then
23568
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23573
# Guillermo Gomez says -lposix is necessary on A/UX.
23574
{ $as_echo "$as_me:$LINENO: checking for remove" >&5
23575
$as_echo_n "checking for remove... " >&6; }
23576
if test "${ac_cv_func_remove+set}" = set; then
23577
$as_echo_n "(cached) " >&6
23579
cat >conftest.$ac_ext <<_ACEOF
23582
cat confdefs.h >>conftest.$ac_ext
23583
cat >>conftest.$ac_ext <<_ACEOF
23584
/* end confdefs.h. */
23585
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
23586
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23587
#define remove innocuous_remove
23589
/* System header to define __stub macros and hopefully few prototypes,
23590
which can conflict with char remove (); below.
23591
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23592
<limits.h> exists even on freestanding compilers. */
23595
# include <limits.h>
23597
# include <assert.h>
23602
/* Override any GCC internal prototype to avoid an error.
23603
Use char because int might match the return type of a GCC
23604
builtin and then its argument prototype would still apply. */
23609
/* The GNU C library defines this for functions which it implements
23610
to always fail with ENOSYS. Some functions are actually named
23611
something starting with __ and the normal name is an alias. */
23612
#if defined __stub_remove || defined __stub___remove
23624
rm -f conftest.$ac_objext conftest$ac_exeext
23625
if { (ac_try="$ac_link"
23626
case "(($ac_try" in
23627
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23628
*) ac_try_echo=$ac_try;;
23630
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23631
$as_echo "$ac_try_echo") >&5
23632
(eval "$ac_link") 2>conftest.er1
23634
grep -v '^ *+' conftest.er1 >conftest.err
23636
cat conftest.err >&5
23637
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638
(exit $ac_status); } && {
23639
test -z "$ac_c_werror_flag" ||
23640
test ! -s conftest.err
23641
} && test -s conftest$ac_exeext && {
23642
test "$cross_compiling" = yes ||
23643
$as_test_x conftest$ac_exeext
23645
ac_cv_func_remove=yes
23647
$as_echo "$as_me: failed program was:" >&5
23648
sed 's/^/| /' conftest.$ac_ext >&5
23650
ac_cv_func_remove=no
23653
rm -rf conftest.dSYM
23654
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23655
conftest$ac_exeext conftest.$ac_ext
23657
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23658
$as_echo "$ac_cv_func_remove" >&6; }
23660
if test $ac_cv_func_remove = no; then
23661
{ $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23662
$as_echo_n "checking for remove in -lposix... " >&6; }
23663
if test "${ac_cv_lib_posix_remove+set}" = set; then
23664
$as_echo_n "(cached) " >&6
23666
ac_check_lib_save_LIBS=$LIBS
23667
LIBS="-lposix $LIBS"
23668
cat >conftest.$ac_ext <<_ACEOF
23671
cat confdefs.h >>conftest.$ac_ext
23672
cat >>conftest.$ac_ext <<_ACEOF
23673
/* end confdefs.h. */
23675
/* Override any GCC internal prototype to avoid an error.
23676
Use char because int might match the return type of a GCC
23677
builtin and then its argument prototype would still apply. */
23690
rm -f conftest.$ac_objext conftest$ac_exeext
23691
if { (ac_try="$ac_link"
23692
case "(($ac_try" in
23693
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23694
*) ac_try_echo=$ac_try;;
23696
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23697
$as_echo "$ac_try_echo") >&5
23698
(eval "$ac_link") 2>conftest.er1
23700
grep -v '^ *+' conftest.er1 >conftest.err
23702
cat conftest.err >&5
23703
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704
(exit $ac_status); } && {
23705
test -z "$ac_c_werror_flag" ||
23706
test ! -s conftest.err
23707
} && test -s conftest$ac_exeext && {
23708
test "$cross_compiling" = yes ||
23709
$as_test_x conftest$ac_exeext
23711
ac_cv_lib_posix_remove=yes
23713
$as_echo "$as_me: failed program was:" >&5
23714
sed 's/^/| /' conftest.$ac_ext >&5
23716
ac_cv_lib_posix_remove=no
23719
rm -rf conftest.dSYM
23720
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23721
conftest$ac_exeext conftest.$ac_ext
23722
LIBS=$ac_check_lib_save_LIBS
23724
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23725
$as_echo "$ac_cv_lib_posix_remove" >&6; }
23726
if test "x$ac_cv_lib_posix_remove" = x""yes; then
23727
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23732
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23733
{ $as_echo "$as_me:$LINENO: checking for shmat" >&5
23734
$as_echo_n "checking for shmat... " >&6; }
23735
if test "${ac_cv_func_shmat+set}" = set; then
23736
$as_echo_n "(cached) " >&6
23738
cat >conftest.$ac_ext <<_ACEOF
23741
cat confdefs.h >>conftest.$ac_ext
23742
cat >>conftest.$ac_ext <<_ACEOF
23743
/* end confdefs.h. */
23744
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23745
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23746
#define shmat innocuous_shmat
23748
/* System header to define __stub macros and hopefully few prototypes,
23749
which can conflict with char shmat (); below.
23750
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23751
<limits.h> exists even on freestanding compilers. */
23754
# include <limits.h>
23756
# include <assert.h>
23761
/* Override any GCC internal prototype to avoid an error.
23762
Use char because int might match the return type of a GCC
23763
builtin and then its argument prototype would still apply. */
23768
/* The GNU C library defines this for functions which it implements
23769
to always fail with ENOSYS. Some functions are actually named
23770
something starting with __ and the normal name is an alias. */
23771
#if defined __stub_shmat || defined __stub___shmat
23783
rm -f conftest.$ac_objext conftest$ac_exeext
23784
if { (ac_try="$ac_link"
23785
case "(($ac_try" in
23786
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23787
*) ac_try_echo=$ac_try;;
23789
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23790
$as_echo "$ac_try_echo") >&5
23791
(eval "$ac_link") 2>conftest.er1
23793
grep -v '^ *+' conftest.er1 >conftest.err
23795
cat conftest.err >&5
23796
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797
(exit $ac_status); } && {
23798
test -z "$ac_c_werror_flag" ||
23799
test ! -s conftest.err
23800
} && test -s conftest$ac_exeext && {
23801
test "$cross_compiling" = yes ||
23802
$as_test_x conftest$ac_exeext
23804
ac_cv_func_shmat=yes
23806
$as_echo "$as_me: failed program was:" >&5
23807
sed 's/^/| /' conftest.$ac_ext >&5
23809
ac_cv_func_shmat=no
23812
rm -rf conftest.dSYM
23813
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23814
conftest$ac_exeext conftest.$ac_ext
23816
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23817
$as_echo "$ac_cv_func_shmat" >&6; }
23819
if test $ac_cv_func_shmat = no; then
23820
{ $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23821
$as_echo_n "checking for shmat in -lipc... " >&6; }
23822
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23823
$as_echo_n "(cached) " >&6
23825
ac_check_lib_save_LIBS=$LIBS
23827
cat >conftest.$ac_ext <<_ACEOF
23830
cat confdefs.h >>conftest.$ac_ext
23831
cat >>conftest.$ac_ext <<_ACEOF
23832
/* end confdefs.h. */
23834
/* Override any GCC internal prototype to avoid an error.
23835
Use char because int might match the return type of a GCC
23836
builtin and then its argument prototype would still apply. */
23849
rm -f conftest.$ac_objext conftest$ac_exeext
23850
if { (ac_try="$ac_link"
23851
case "(($ac_try" in
23852
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23853
*) ac_try_echo=$ac_try;;
23855
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23856
$as_echo "$ac_try_echo") >&5
23857
(eval "$ac_link") 2>conftest.er1
23859
grep -v '^ *+' conftest.er1 >conftest.err
23861
cat conftest.err >&5
23862
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863
(exit $ac_status); } && {
23864
test -z "$ac_c_werror_flag" ||
23865
test ! -s conftest.err
23866
} && test -s conftest$ac_exeext && {
23867
test "$cross_compiling" = yes ||
23868
$as_test_x conftest$ac_exeext
23870
ac_cv_lib_ipc_shmat=yes
23872
$as_echo "$as_me: failed program was:" >&5
23873
sed 's/^/| /' conftest.$ac_ext >&5
23875
ac_cv_lib_ipc_shmat=no
23878
rm -rf conftest.dSYM
23879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23880
conftest$ac_exeext conftest.$ac_ext
23881
LIBS=$ac_check_lib_save_LIBS
23883
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23884
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23885
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
23886
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23892
# Check for libraries that X11R6 Xt/Xaw programs need.
23893
ac_save_LDFLAGS=$LDFLAGS
23894
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23895
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23896
# check for ICE first), but we must link in the order -lSM -lICE or
23897
# we get undefined symbols. So assume we have SM if we have ICE.
23898
# These have to be linked with before -lX11, unlike the other
23899
# libraries we check for below, so use a different variable.
23900
# John Interrante, Karl Berry
23901
{ $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23902
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23903
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23904
$as_echo_n "(cached) " >&6
23906
ac_check_lib_save_LIBS=$LIBS
23907
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23908
cat >conftest.$ac_ext <<_ACEOF
23911
cat confdefs.h >>conftest.$ac_ext
23912
cat >>conftest.$ac_ext <<_ACEOF
23913
/* end confdefs.h. */
23915
/* Override any GCC internal prototype to avoid an error.
23916
Use char because int might match the return type of a GCC
23917
builtin and then its argument prototype would still apply. */
23921
char IceConnectionNumber ();
23925
return IceConnectionNumber ();
23930
rm -f conftest.$ac_objext conftest$ac_exeext
23931
if { (ac_try="$ac_link"
23932
case "(($ac_try" in
23933
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23934
*) ac_try_echo=$ac_try;;
23936
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23937
$as_echo "$ac_try_echo") >&5
23938
(eval "$ac_link") 2>conftest.er1
23940
grep -v '^ *+' conftest.er1 >conftest.err
23942
cat conftest.err >&5
23943
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944
(exit $ac_status); } && {
23945
test -z "$ac_c_werror_flag" ||
23946
test ! -s conftest.err
23947
} && test -s conftest$ac_exeext && {
23948
test "$cross_compiling" = yes ||
23949
$as_test_x conftest$ac_exeext
23951
ac_cv_lib_ICE_IceConnectionNumber=yes
23953
$as_echo "$as_me: failed program was:" >&5
23954
sed 's/^/| /' conftest.$ac_ext >&5
23956
ac_cv_lib_ICE_IceConnectionNumber=no
23959
rm -rf conftest.dSYM
23960
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23961
conftest$ac_exeext conftest.$ac_ext
23962
LIBS=$ac_check_lib_save_LIBS
23964
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23965
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23966
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
23967
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23970
LDFLAGS=$ac_save_LDFLAGS
23974
if test "x$no_x" = "xyes"; then
23975
use_xlib="No (disabled or unavailable)"
23976
{ $as_echo "$as_me:$LINENO: WARNING: X11 not available." >&5
23977
$as_echo "$as_me: WARNING: X11 not available." >&2;}
23982
if test "x$use_xlib" = "xYes"; then
23992
# Check whether --enable-swig was given.
23993
if test "${enable_swig+set}" = set; then
23994
enableval=$enable_swig;
24000
if test "x$enable_swig" != "xyes"; then
24001
use_swig="No (disabled)"
24003
# Extract the first word of "swig", so it can be a program name with args.
24004
set dummy swig; ac_word=$2
24005
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24006
$as_echo_n "checking for $ac_word... " >&6; }
24007
if test "${ac_cv_prog_SWIG+set}" = set; then
24008
$as_echo_n "(cached) " >&6
24010
if test -n "$SWIG"; then
24011
ac_cv_prog_SWIG="$SWIG" # Let the user override the test.
24013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24014
for as_dir in $PATH
24017
test -z "$as_dir" && as_dir=.
24018
for ac_exec_ext in '' $ac_executable_extensions; do
24019
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24020
ac_cv_prog_SWIG="swig"
24021
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24030
SWIG=$ac_cv_prog_SWIG
24031
if test -n "$SWIG"; then
24032
{ $as_echo "$as_me:$LINENO: result: $SWIG" >&5
24033
$as_echo "$SWIG" >&6; }
24035
{ $as_echo "$as_me:$LINENO: result: no" >&5
24036
$as_echo "no" >&6; }
24040
if test "x$SWIG" = "x"; then
24041
use_swig="No (swig not available)"
24043
SWIG_VERSION=`$SWIG -version 2>&1 | $GREP Version | cut -d ' ' -f 3`
24044
SWIG_VERSION_MAJOR=`echo $SWIG_VERSION | cut -d '.' -f 1`
24045
SWIG_VERSION_MINOR=`echo $SWIG_VERSION | cut -d '.' -f 2`
24046
if test $SWIG_VERSION_MAJOR -lt 2; then
24047
if test $SWIG_VERSION_MAJOR -lt 1; then
24050
if test $SWIG_VERSION_MINOR -lt 3; then
24055
if test "x$SWIG" = "x"; then
24056
{ $as_echo "$as_me:$LINENO: WARNING: The version of swig is too old." >&5
24057
$as_echo "$as_me: WARNING: The version of swig is too old." >&2;}
24058
use_swig="No (swig too old)"
24064
if test "x$SWIG" != "x"; then
24066
WITH_SWIG_FALSE='#'
24074
# Check whether --enable-sharp was given.
24075
if test "${enable_sharp+set}" = set; then
24076
enableval=$enable_sharp;
24082
if test "x$enable_sharp" != "xyes"; then
24083
use_sharp="No (disabled)"
24085
if test "x$use_swig" != "xYes"; then
24086
use_sharp="No (swig not available)"
24088
if test `$SWIG -help 2>&1 | $GREP -c '\-csharp *- Generate'` = 0; then
24089
use_sharp="No (swig does not support -csharp option)"
24091
# Extract the first word of "mcs", so it can be a program name with args.
24092
set dummy mcs; ac_word=$2
24093
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24094
$as_echo_n "checking for $ac_word... " >&6; }
24095
if test "${ac_cv_prog_MCS+set}" = set; then
24096
$as_echo_n "(cached) " >&6
24098
if test -n "$MCS"; then
24099
ac_cv_prog_MCS="$MCS" # Let the user override the test.
24101
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24102
for as_dir in $PATH
24105
test -z "$as_dir" && as_dir=.
24106
for ac_exec_ext in '' $ac_executable_extensions; do
24107
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24108
ac_cv_prog_MCS="mcs"
24109
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24118
MCS=$ac_cv_prog_MCS
24119
if test -n "$MCS"; then
24120
{ $as_echo "$as_me:$LINENO: result: $MCS" >&5
24121
$as_echo "$MCS" >&6; }
24123
{ $as_echo "$as_me:$LINENO: result: no" >&5
24124
$as_echo "no" >&6; }
24128
if test "x$MCS" = "x"; then
24129
use_sharp="No (mcs not available)"
24140
if test "x$use_sharp" = "xYes"; then
24142
WITH_SHARP_FALSE='#'
24144
WITH_SHARP_TRUE='#'
24150
# Check whether --enable-guile was given.
24151
if test "${enable_guile+set}" = set; then
24152
enableval=$enable_guile;
24158
if test "x$enable_guile" != "xyes"; then
24159
use_guile="No (disabled)"
24161
if test "x$use_swig" != "xYes"; then
24162
use_guile="No (swig not available)"
24164
if test `$SWIG -help 2>&1 | $GREP -c '\-guile *- Generate'` = 0; then
24165
use_guile="No (swig does not support -guile option)"
24167
# Extract the first word of "guile", so it can be a program name with args.
24168
set dummy guile; ac_word=$2
24169
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24170
$as_echo_n "checking for $ac_word... " >&6; }
24171
if test "${ac_cv_prog_GUILE+set}" = set; then
24172
$as_echo_n "(cached) " >&6
24174
if test -n "$GUILE"; then
24175
ac_cv_prog_GUILE="$GUILE" # Let the user override the test.
24177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24178
for as_dir in $PATH
24181
test -z "$as_dir" && as_dir=.
24182
for ac_exec_ext in '' $ac_executable_extensions; do
24183
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24184
ac_cv_prog_GUILE="guile"
24185
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24194
GUILE=$ac_cv_prog_GUILE
24195
if test -n "$GUILE"; then
24196
{ $as_echo "$as_me:$LINENO: result: $GUILE" >&5
24197
$as_echo "$GUILE" >&6; }
24199
{ $as_echo "$as_me:$LINENO: result: no" >&5
24200
$as_echo "no" >&6; }
24204
if test "x$GUILE" = "x"; then
24205
use_guile="No (guile not available)"
24207
GUILE_VERSION=`$GUILE --version | head -1 | cut -d ' ' -f 2`
24208
GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1`
24209
GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2`
24210
if test $GUILE_VERSION_MAJOR -lt 2; then
24211
if test $GUILE_VERSION_MAJOR -lt 1; then
24214
if test $GUILE_VERSION_MINOR -lt 4; then
24219
if test "x$GUILE" = "x"; then
24220
use_guile="No (guile is too old)"
24224
if test "${ac_cv_header_libguile_h+set}" = set; then
24225
{ $as_echo "$as_me:$LINENO: checking for libguile.h" >&5
24226
$as_echo_n "checking for libguile.h... " >&6; }
24227
if test "${ac_cv_header_libguile_h+set}" = set; then
24228
$as_echo_n "(cached) " >&6
24230
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libguile_h" >&5
24231
$as_echo "$ac_cv_header_libguile_h" >&6; }
24233
# Is the header compilable?
24234
{ $as_echo "$as_me:$LINENO: checking libguile.h usability" >&5
24235
$as_echo_n "checking libguile.h usability... " >&6; }
24236
cat >conftest.$ac_ext <<_ACEOF
24239
cat confdefs.h >>conftest.$ac_ext
24240
cat >>conftest.$ac_ext <<_ACEOF
24241
/* end confdefs.h. */
24242
$ac_includes_default
24243
#include <libguile.h>
24245
rm -f conftest.$ac_objext
24246
if { (ac_try="$ac_compile"
24247
case "(($ac_try" in
24248
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24249
*) ac_try_echo=$ac_try;;
24251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24252
$as_echo "$ac_try_echo") >&5
24253
(eval "$ac_compile") 2>conftest.er1
24255
grep -v '^ *+' conftest.er1 >conftest.err
24257
cat conftest.err >&5
24258
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259
(exit $ac_status); } && {
24260
test -z "$ac_c_werror_flag" ||
24261
test ! -s conftest.err
24262
} && test -s conftest.$ac_objext; then
24263
ac_header_compiler=yes
24265
$as_echo "$as_me: failed program was:" >&5
24266
sed 's/^/| /' conftest.$ac_ext >&5
24268
ac_header_compiler=no
24271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24272
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24273
$as_echo "$ac_header_compiler" >&6; }
24275
# Is the header present?
24276
{ $as_echo "$as_me:$LINENO: checking libguile.h presence" >&5
24277
$as_echo_n "checking libguile.h presence... " >&6; }
24278
cat >conftest.$ac_ext <<_ACEOF
24281
cat confdefs.h >>conftest.$ac_ext
24282
cat >>conftest.$ac_ext <<_ACEOF
24283
/* end confdefs.h. */
24284
#include <libguile.h>
24286
if { (ac_try="$ac_cpp conftest.$ac_ext"
24287
case "(($ac_try" in
24288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24289
*) ac_try_echo=$ac_try;;
24291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24292
$as_echo "$ac_try_echo") >&5
24293
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24295
grep -v '^ *+' conftest.er1 >conftest.err
24297
cat conftest.err >&5
24298
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299
(exit $ac_status); } >/dev/null && {
24300
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24301
test ! -s conftest.err
24303
ac_header_preproc=yes
24305
$as_echo "$as_me: failed program was:" >&5
24306
sed 's/^/| /' conftest.$ac_ext >&5
24308
ac_header_preproc=no
24311
rm -f conftest.err conftest.$ac_ext
24312
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24313
$as_echo "$ac_header_preproc" >&6; }
24315
# So? What about this header?
24316
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24318
{ $as_echo "$as_me:$LINENO: WARNING: libguile.h: accepted by the compiler, rejected by the preprocessor!" >&5
24319
$as_echo "$as_me: WARNING: libguile.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24320
{ $as_echo "$as_me:$LINENO: WARNING: libguile.h: proceeding with the compiler's result" >&5
24321
$as_echo "$as_me: WARNING: libguile.h: proceeding with the compiler's result" >&2;}
24322
ac_header_preproc=yes
24325
{ $as_echo "$as_me:$LINENO: WARNING: libguile.h: present but cannot be compiled" >&5
24326
$as_echo "$as_me: WARNING: libguile.h: present but cannot be compiled" >&2;}
24327
{ $as_echo "$as_me:$LINENO: WARNING: libguile.h: check for missing prerequisite headers?" >&5
24328
$as_echo "$as_me: WARNING: libguile.h: check for missing prerequisite headers?" >&2;}
24329
{ $as_echo "$as_me:$LINENO: WARNING: libguile.h: see the Autoconf documentation" >&5
24330
$as_echo "$as_me: WARNING: libguile.h: see the Autoconf documentation" >&2;}
24331
{ $as_echo "$as_me:$LINENO: WARNING: libguile.h: section \"Present But Cannot Be Compiled\"" >&5
24332
$as_echo "$as_me: WARNING: libguile.h: section \"Present But Cannot Be Compiled\"" >&2;}
24333
{ $as_echo "$as_me:$LINENO: WARNING: libguile.h: proceeding with the preprocessor's result" >&5
24334
$as_echo "$as_me: WARNING: libguile.h: proceeding with the preprocessor's result" >&2;}
24335
{ $as_echo "$as_me:$LINENO: WARNING: libguile.h: in the future, the compiler will take precedence" >&5
24336
$as_echo "$as_me: WARNING: libguile.h: in the future, the compiler will take precedence" >&2;}
24338
## --------------------------------------- ##
24339
## Report this to http://www.graphviz.org/ ##
24340
## --------------------------------------- ##
24342
) | sed "s/^/$as_me: WARNING: /" >&2
24345
{ $as_echo "$as_me:$LINENO: checking for libguile.h" >&5
24346
$as_echo_n "checking for libguile.h... " >&6; }
24347
if test "${ac_cv_header_libguile_h+set}" = set; then
24348
$as_echo_n "(cached) " >&6
24350
ac_cv_header_libguile_h=$ac_header_preproc
24352
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libguile_h" >&5
24353
$as_echo "$ac_cv_header_libguile_h" >&6; }
24356
if test "x$ac_cv_header_libguile_h" = x""yes; then
24360
use_guile="No (guile header missing)"
24366
if test "x$GUILE" != "x"; then
24376
if test "x$use_guile" = "xYes"; then
24378
WITH_GUILE_FALSE='#'
24380
WITH_GUILE_TRUE='#'
24386
# Check whether --enable-io was given.
24387
if test "${enable_io+set}" = set; then
24388
enableval=$enable_io;
24394
if test "x$enable_io" != "xyes"; then
24395
use_io="No (disabled by default - no swig support yet)"
24397
if test "x$use_swig" != "xYes"; then
24398
use_io="No (swig not available)"
24400
if test `$SWIG -help 2>&1 | $GREP -c '\-io *- Generate'` = 0; then
24401
use_io="No (swig does not support -io option)"
24403
# Extract the first word of "io", so it can be a program name with args.
24404
set dummy io; ac_word=$2
24405
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24406
$as_echo_n "checking for $ac_word... " >&6; }
24407
if test "${ac_cv_prog_IO+set}" = set; then
24408
$as_echo_n "(cached) " >&6
24410
if test -n "$IO"; then
24411
ac_cv_prog_IO="$IO" # Let the user override the test.
24413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24414
for as_dir in $PATH
24417
test -z "$as_dir" && as_dir=.
24418
for ac_exec_ext in '' $ac_executable_extensions; do
24419
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24421
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24431
if test -n "$IO"; then
24432
{ $as_echo "$as_me:$LINENO: result: $IO" >&5
24433
$as_echo "$IO" >&6; }
24435
{ $as_echo "$as_me:$LINENO: result: no" >&5
24436
$as_echo "no" >&6; }
24440
if test "x$IO" = "x"; then
24441
use_io="No (io not available)"
24452
if test "x$use_io" = "xYes"; then
24462
# Check whether --enable-java was given.
24463
if test "${enable_java+set}" = set; then
24464
enableval=$enable_java;
24470
if test "x$enable_java" != "xyes"; then
24471
use_java="No (disabled)"
24473
if test "x$use_swig" != "xYes"; then
24474
use_java="No (swig not available)"
24476
if test `$SWIG -help 2>&1 | $GREP -c '\-java *- Generate'` = 0; then
24477
use_java="No (swig does not support -java option)"
24479
# Extract the first word of "java", so it can be a program name with args.
24480
set dummy java; ac_word=$2
24481
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24482
$as_echo_n "checking for $ac_word... " >&6; }
24483
if test "${ac_cv_prog_JAVA+set}" = set; then
24484
$as_echo_n "(cached) " >&6
24486
if test -n "$JAVA"; then
24487
ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
24489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24490
for as_dir in $PATH
24493
test -z "$as_dir" && as_dir=.
24494
for ac_exec_ext in '' $ac_executable_extensions; do
24495
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24496
ac_cv_prog_JAVA="java"
24497
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24506
JAVA=$ac_cv_prog_JAVA
24507
if test -n "$JAVA"; then
24508
{ $as_echo "$as_me:$LINENO: result: $JAVA" >&5
24509
$as_echo "$JAVA" >&6; }
24511
{ $as_echo "$as_me:$LINENO: result: no" >&5
24512
$as_echo "no" >&6; }
24516
if test "x$JAVA" = "x"; then
24517
use_java="No (java not available)"
24519
case "${host_os}" in
24521
JAVA_INCLUDES="-I/System/Library/Frameworks/JavaVM.framework/Headers"
24525
JAVA_INCLUDES="-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux"
24530
# Check whether --with-javaincludedir was given.
24531
if test "${with_javaincludedir+set}" = set; then
24532
withval=$with_javaincludedir; JAVA_INCLUDES="-I$withval"
24536
# Check whether --with-javalibdir was given.
24537
if test "${with_javalibdir+set}" = set; then
24538
withval=$with_javalibdir; JAVA_LIBS="$withval"
24541
save_CPPFLAGS=$CPPFLAGS
24542
CPPFLAGS="$CPPFLAGS $JAVA_INCLUDES"
24543
if test "${ac_cv_header_jni_h+set}" = set; then
24544
{ $as_echo "$as_me:$LINENO: checking for jni.h" >&5
24545
$as_echo_n "checking for jni.h... " >&6; }
24546
if test "${ac_cv_header_jni_h+set}" = set; then
24547
$as_echo_n "(cached) " >&6
24549
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
24550
$as_echo "$ac_cv_header_jni_h" >&6; }
24552
# Is the header compilable?
24553
{ $as_echo "$as_me:$LINENO: checking jni.h usability" >&5
24554
$as_echo_n "checking jni.h usability... " >&6; }
24555
cat >conftest.$ac_ext <<_ACEOF
24558
cat confdefs.h >>conftest.$ac_ext
24559
cat >>conftest.$ac_ext <<_ACEOF
24560
/* end confdefs.h. */
24561
$ac_includes_default
24564
rm -f conftest.$ac_objext
24565
if { (ac_try="$ac_compile"
24566
case "(($ac_try" in
24567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24568
*) ac_try_echo=$ac_try;;
24570
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24571
$as_echo "$ac_try_echo") >&5
24572
(eval "$ac_compile") 2>conftest.er1
24574
grep -v '^ *+' conftest.er1 >conftest.err
24576
cat conftest.err >&5
24577
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578
(exit $ac_status); } && {
24579
test -z "$ac_c_werror_flag" ||
24580
test ! -s conftest.err
24581
} && test -s conftest.$ac_objext; then
24582
ac_header_compiler=yes
24584
$as_echo "$as_me: failed program was:" >&5
24585
sed 's/^/| /' conftest.$ac_ext >&5
24587
ac_header_compiler=no
24590
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24592
$as_echo "$ac_header_compiler" >&6; }
24594
# Is the header present?
24595
{ $as_echo "$as_me:$LINENO: checking jni.h presence" >&5
24596
$as_echo_n "checking jni.h presence... " >&6; }
24597
cat >conftest.$ac_ext <<_ACEOF
24600
cat confdefs.h >>conftest.$ac_ext
24601
cat >>conftest.$ac_ext <<_ACEOF
24602
/* end confdefs.h. */
24605
if { (ac_try="$ac_cpp conftest.$ac_ext"
24606
case "(($ac_try" in
24607
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608
*) ac_try_echo=$ac_try;;
24610
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24611
$as_echo "$ac_try_echo") >&5
24612
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24614
grep -v '^ *+' conftest.er1 >conftest.err
24616
cat conftest.err >&5
24617
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618
(exit $ac_status); } >/dev/null && {
24619
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24620
test ! -s conftest.err
24622
ac_header_preproc=yes
24624
$as_echo "$as_me: failed program was:" >&5
24625
sed 's/^/| /' conftest.$ac_ext >&5
24627
ac_header_preproc=no
24630
rm -f conftest.err conftest.$ac_ext
24631
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24632
$as_echo "$ac_header_preproc" >&6; }
24634
# So? What about this header?
24635
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24637
{ $as_echo "$as_me:$LINENO: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&5
24638
$as_echo "$as_me: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24639
{ $as_echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the compiler's result" >&5
24640
$as_echo "$as_me: WARNING: jni.h: proceeding with the compiler's result" >&2;}
24641
ac_header_preproc=yes
24644
{ $as_echo "$as_me:$LINENO: WARNING: jni.h: present but cannot be compiled" >&5
24645
$as_echo "$as_me: WARNING: jni.h: present but cannot be compiled" >&2;}
24646
{ $as_echo "$as_me:$LINENO: WARNING: jni.h: check for missing prerequisite headers?" >&5
24647
$as_echo "$as_me: WARNING: jni.h: check for missing prerequisite headers?" >&2;}
24648
{ $as_echo "$as_me:$LINENO: WARNING: jni.h: see the Autoconf documentation" >&5
24649
$as_echo "$as_me: WARNING: jni.h: see the Autoconf documentation" >&2;}
24650
{ $as_echo "$as_me:$LINENO: WARNING: jni.h: section \"Present But Cannot Be Compiled\"" >&5
24651
$as_echo "$as_me: WARNING: jni.h: section \"Present But Cannot Be Compiled\"" >&2;}
24652
{ $as_echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the preprocessor's result" >&5
24653
$as_echo "$as_me: WARNING: jni.h: proceeding with the preprocessor's result" >&2;}
24654
{ $as_echo "$as_me:$LINENO: WARNING: jni.h: in the future, the compiler will take precedence" >&5
24655
$as_echo "$as_me: WARNING: jni.h: in the future, the compiler will take precedence" >&2;}
24657
## --------------------------------------- ##
24658
## Report this to http://www.graphviz.org/ ##
24659
## --------------------------------------- ##
24661
) | sed "s/^/$as_me: WARNING: /" >&2
24664
{ $as_echo "$as_me:$LINENO: checking for jni.h" >&5
24665
$as_echo_n "checking for jni.h... " >&6; }
24666
if test "${ac_cv_header_jni_h+set}" = set; then
24667
$as_echo_n "(cached) " >&6
24669
ac_cv_header_jni_h=$ac_header_preproc
24671
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
24672
$as_echo "$ac_cv_header_jni_h" >&6; }
24675
if test "x$ac_cv_header_jni_h" = x""yes; then
24679
use_java="No (missing header)"
24685
CPPFLAGS="$save_CPPFLAGS"
24686
if test "x$JAVA" != "x"; then
24695
if test "x$use_java" = "xYes"; then
24697
WITH_JAVA_FALSE='#'
24705
# Check whether --enable-lua was given.
24706
if test "${enable_lua+set}" = set; then
24707
enableval=$enable_lua;
24713
if test "x$enable_lua" != "xyes"; then
24714
use_lua="No (disabled)"
24716
if test "x$use_swig" != "xYes"; then
24717
use_lua="No (swig not available)"
24719
if test `$SWIG -help 2>&1 | $GREP -c '\-lua *- Generate'` = 0; then
24720
use_lua="No (swig does not support -lua option)"
24722
# Extract the first word of "lua", so it can be a program name with args.
24723
set dummy lua; ac_word=$2
24724
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24725
$as_echo_n "checking for $ac_word... " >&6; }
24726
if test "${ac_cv_prog_LUA+set}" = set; then
24727
$as_echo_n "(cached) " >&6
24729
if test -n "$LUA"; then
24730
ac_cv_prog_LUA="$LUA" # Let the user override the test.
24732
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24733
for as_dir in $PATH
24736
test -z "$as_dir" && as_dir=.
24737
for ac_exec_ext in '' $ac_executable_extensions; do
24738
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24739
ac_cv_prog_LUA="lua"
24740
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24749
LUA=$ac_cv_prog_LUA
24750
if test -n "$LUA"; then
24751
{ $as_echo "$as_me:$LINENO: result: $LUA" >&5
24752
$as_echo "$LUA" >&6; }
24754
{ $as_echo "$as_me:$LINENO: result: no" >&5
24755
$as_echo "no" >&6; }
24759
if test "x$LUA" = "x"; then
24760
use_lua="No (lua not available)"
24762
ac_save_CPPFLAGS="$CPPFLAGS"
24763
ac_save_CFLAGS="$CFLAGS"
24764
ac_save_LDFLAGS="$LDFLAGS"
24766
# Extract the first word of "lua", so it can be a program name with args.
24767
set dummy lua; ac_word=$2
24768
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24769
$as_echo_n "checking for $ac_word... " >&6; }
24770
if test "${ac_cv_prog_LUA+set}" = set; then
24771
$as_echo_n "(cached) " >&6
24773
if test -n "$LUA"; then
24774
ac_cv_prog_LUA="$LUA" # Let the user override the test.
24776
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24777
for as_dir in $PATH
24780
test -z "$as_dir" && as_dir=.
24781
for ac_exec_ext in '' $ac_executable_extensions; do
24782
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24783
ac_cv_prog_LUA="lua"
24784
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24793
LUA=$ac_cv_prog_LUA
24794
if test -n "$LUA"; then
24795
{ $as_echo "$as_me:$LINENO: result: $LUA" >&5
24796
$as_echo "$LUA" >&6; }
24798
{ $as_echo "$as_me:$LINENO: result: no" >&5
24799
$as_echo "no" >&6; }
24808
if test -n "$lua_inc"; then
24809
CFLAGS="$CFLAGS -I$lua_inc"
24810
CPPFLAGS="$CPPFLAGS -I$lua_inc"
24812
if test -n "$lua_lib"; then
24813
LDFLAGS="$LDFLAGS -L$lua_lib"
24816
if test "x$LUA_INCLUDES" = "x" -o "x$LUA_LIBS" = "x" ; then
24818
for ac_prog in pkg-config
24820
# Extract the first word of "$ac_prog", so it can be a program name with args.
24821
set dummy $ac_prog; ac_word=$2
24822
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24823
$as_echo_n "checking for $ac_word... " >&6; }
24824
if test "${ac_cv_prog_PKGCONFIG+set}" = set; then
24825
$as_echo_n "(cached) " >&6
24827
if test -n "$PKGCONFIG"; then
24828
ac_cv_prog_PKGCONFIG="$PKGCONFIG" # Let the user override the test.
24830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24831
for as_dir in $PATH
24834
test -z "$as_dir" && as_dir=.
24835
for ac_exec_ext in '' $ac_executable_extensions; do
24836
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24837
ac_cv_prog_PKGCONFIG="$ac_prog"
24838
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24847
PKGCONFIG=$ac_cv_prog_PKGCONFIG
24848
if test -n "$PKGCONFIG"; then
24849
{ $as_echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
24850
$as_echo "$PKGCONFIG" >&6; }
24852
{ $as_echo "$as_me:$LINENO: result: no" >&5
24853
$as_echo "no" >&6; }
24857
test -n "$PKGCONFIG" && break
24860
if test "x$PKGCONFIG" != "x"; then
24861
{ $as_echo "$as_me:$LINENO: checking for Lua headers and libraries with pkg-config" >&5
24862
$as_echo_n "checking for Lua headers and libraries with pkg-config... " >&6; }
24864
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
24865
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
24866
if test "x$?" = "x0" ; then
24867
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
24868
LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
24869
LUA_LIBS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
24870
LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/`$PKGCONFIG --variable=V lua`"
24872
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
24873
if test "x$?" = "x0"; then
24874
LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
24875
LUA_LIBS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
24883
if test "x$LUA_INCLUDES" = "x" -o "x$LUA_LIBS" = "x" ; then
24885
for ac_prog in lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0
24887
# Extract the first word of "$ac_prog", so it can be a program name with args.
24888
set dummy $ac_prog; ac_word=$2
24889
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24890
$as_echo_n "checking for $ac_word... " >&6; }
24891
if test "${ac_cv_prog_LUACONFIG+set}" = set; then
24892
$as_echo_n "(cached) " >&6
24894
if test -n "$LUACONFIG"; then
24895
ac_cv_prog_LUACONFIG="$LUACONFIG" # Let the user override the test.
24897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24898
for as_dir in $PATH
24901
test -z "$as_dir" && as_dir=.
24902
for ac_exec_ext in '' $ac_executable_extensions; do
24903
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24904
ac_cv_prog_LUACONFIG="$ac_prog"
24905
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24914
LUACONFIG=$ac_cv_prog_LUACONFIG
24915
if test -n "$LUACONFIG"; then
24916
{ $as_echo "$as_me:$LINENO: result: $LUACONFIG" >&5
24917
$as_echo "$LUACONFIG" >&6; }
24919
{ $as_echo "$as_me:$LINENO: result: no" >&5
24920
$as_echo "no" >&6; }
24924
test -n "$LUACONFIG" && break
24927
if test "x$LUACONFIG" != "x" ; then
24928
{ $as_echo "$as_me:$LINENO: checking for Lua headers and libraries with lua-config" >&5
24929
$as_echo_n "checking for Lua headers and libraries with lua-config... " >&6; }
24931
LUA_INCLUDES=`$LUACONFIG --include`
24932
LUA_LIBS=`$LUACONFIG --libs`
24933
LUA_VERSION="5.0.x"
24934
LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/5.0"
24938
if test "x$LUA_INCLUDES" = "x" -o "x$LUA_LIBS" = "x" ; then
24939
{ $as_echo "$as_me:$LINENO: checking for Lua headers and libraries" >&5
24940
$as_echo_n "checking for Lua headers and libraries... " >&6; }
24942
if test "${ac_cv_header_lua_h+set}" = set; then
24943
{ $as_echo "$as_me:$LINENO: checking for lua.h" >&5
24944
$as_echo_n "checking for lua.h... " >&6; }
24945
if test "${ac_cv_header_lua_h+set}" = set; then
24946
$as_echo_n "(cached) " >&6
24948
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_lua_h" >&5
24949
$as_echo "$ac_cv_header_lua_h" >&6; }
24951
# Is the header compilable?
24952
{ $as_echo "$as_me:$LINENO: checking lua.h usability" >&5
24953
$as_echo_n "checking lua.h usability... " >&6; }
24954
cat >conftest.$ac_ext <<_ACEOF
24957
cat confdefs.h >>conftest.$ac_ext
24958
cat >>conftest.$ac_ext <<_ACEOF
24959
/* end confdefs.h. */
24960
$ac_includes_default
24963
rm -f conftest.$ac_objext
24964
if { (ac_try="$ac_compile"
24965
case "(($ac_try" in
24966
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967
*) ac_try_echo=$ac_try;;
24969
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24970
$as_echo "$ac_try_echo") >&5
24971
(eval "$ac_compile") 2>conftest.er1
24973
grep -v '^ *+' conftest.er1 >conftest.err
24975
cat conftest.err >&5
24976
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977
(exit $ac_status); } && {
24978
test -z "$ac_c_werror_flag" ||
24979
test ! -s conftest.err
24980
} && test -s conftest.$ac_objext; then
24981
ac_header_compiler=yes
24983
$as_echo "$as_me: failed program was:" >&5
24984
sed 's/^/| /' conftest.$ac_ext >&5
24986
ac_header_compiler=no
24989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24991
$as_echo "$ac_header_compiler" >&6; }
24993
# Is the header present?
24994
{ $as_echo "$as_me:$LINENO: checking lua.h presence" >&5
24995
$as_echo_n "checking lua.h presence... " >&6; }
24996
cat >conftest.$ac_ext <<_ACEOF
24999
cat confdefs.h >>conftest.$ac_ext
25000
cat >>conftest.$ac_ext <<_ACEOF
25001
/* end confdefs.h. */
25004
if { (ac_try="$ac_cpp conftest.$ac_ext"
25005
case "(($ac_try" in
25006
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25007
*) ac_try_echo=$ac_try;;
25009
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25010
$as_echo "$ac_try_echo") >&5
25011
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25013
grep -v '^ *+' conftest.er1 >conftest.err
25015
cat conftest.err >&5
25016
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017
(exit $ac_status); } >/dev/null && {
25018
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25019
test ! -s conftest.err
25021
ac_header_preproc=yes
25023
$as_echo "$as_me: failed program was:" >&5
25024
sed 's/^/| /' conftest.$ac_ext >&5
25026
ac_header_preproc=no
25029
rm -f conftest.err conftest.$ac_ext
25030
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25031
$as_echo "$ac_header_preproc" >&6; }
25033
# So? What about this header?
25034
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25036
{ $as_echo "$as_me:$LINENO: WARNING: lua.h: accepted by the compiler, rejected by the preprocessor!" >&5
25037
$as_echo "$as_me: WARNING: lua.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25038
{ $as_echo "$as_me:$LINENO: WARNING: lua.h: proceeding with the compiler's result" >&5
25039
$as_echo "$as_me: WARNING: lua.h: proceeding with the compiler's result" >&2;}
25040
ac_header_preproc=yes
25043
{ $as_echo "$as_me:$LINENO: WARNING: lua.h: present but cannot be compiled" >&5
25044
$as_echo "$as_me: WARNING: lua.h: present but cannot be compiled" >&2;}
25045
{ $as_echo "$as_me:$LINENO: WARNING: lua.h: check for missing prerequisite headers?" >&5
25046
$as_echo "$as_me: WARNING: lua.h: check for missing prerequisite headers?" >&2;}
25047
{ $as_echo "$as_me:$LINENO: WARNING: lua.h: see the Autoconf documentation" >&5
25048
$as_echo "$as_me: WARNING: lua.h: see the Autoconf documentation" >&2;}
25049
{ $as_echo "$as_me:$LINENO: WARNING: lua.h: section \"Present But Cannot Be Compiled\"" >&5
25050
$as_echo "$as_me: WARNING: lua.h: section \"Present But Cannot Be Compiled\"" >&2;}
25051
{ $as_echo "$as_me:$LINENO: WARNING: lua.h: proceeding with the preprocessor's result" >&5
25052
$as_echo "$as_me: WARNING: lua.h: proceeding with the preprocessor's result" >&2;}
25053
{ $as_echo "$as_me:$LINENO: WARNING: lua.h: in the future, the compiler will take precedence" >&5
25054
$as_echo "$as_me: WARNING: lua.h: in the future, the compiler will take precedence" >&2;}
25056
## --------------------------------------- ##
25057
## Report this to http://www.graphviz.org/ ##
25058
## --------------------------------------- ##
25060
) | sed "s/^/$as_me: WARNING: /" >&2
25063
{ $as_echo "$as_me:$LINENO: checking for lua.h" >&5
25064
$as_echo_n "checking for lua.h... " >&6; }
25065
if test "${ac_cv_header_lua_h+set}" = set; then
25066
$as_echo_n "(cached) " >&6
25068
ac_cv_header_lua_h=$ac_header_preproc
25070
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_lua_h" >&5
25071
$as_echo "$ac_cv_header_lua_h" >&6; }
25074
if test "x$ac_cv_header_lua_h" = x""yes; then
25075
ac_found_lua_header="yes"
25077
ac_found_lua_header="no"
25081
if test "${ac_cv_header_lualib_h+set}" = set; then
25082
{ $as_echo "$as_me:$LINENO: checking for lualib.h" >&5
25083
$as_echo_n "checking for lualib.h... " >&6; }
25084
if test "${ac_cv_header_lualib_h+set}" = set; then
25085
$as_echo_n "(cached) " >&6
25087
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_lualib_h" >&5
25088
$as_echo "$ac_cv_header_lualib_h" >&6; }
25090
# Is the header compilable?
25091
{ $as_echo "$as_me:$LINENO: checking lualib.h usability" >&5
25092
$as_echo_n "checking lualib.h usability... " >&6; }
25093
cat >conftest.$ac_ext <<_ACEOF
25096
cat confdefs.h >>conftest.$ac_ext
25097
cat >>conftest.$ac_ext <<_ACEOF
25098
/* end confdefs.h. */
25099
$ac_includes_default
25100
#include <lualib.h>
25102
rm -f conftest.$ac_objext
25103
if { (ac_try="$ac_compile"
25104
case "(($ac_try" in
25105
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25106
*) ac_try_echo=$ac_try;;
25108
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25109
$as_echo "$ac_try_echo") >&5
25110
(eval "$ac_compile") 2>conftest.er1
25112
grep -v '^ *+' conftest.er1 >conftest.err
25114
cat conftest.err >&5
25115
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116
(exit $ac_status); } && {
25117
test -z "$ac_c_werror_flag" ||
25118
test ! -s conftest.err
25119
} && test -s conftest.$ac_objext; then
25120
ac_header_compiler=yes
25122
$as_echo "$as_me: failed program was:" >&5
25123
sed 's/^/| /' conftest.$ac_ext >&5
25125
ac_header_compiler=no
25128
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25129
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25130
$as_echo "$ac_header_compiler" >&6; }
25132
# Is the header present?
25133
{ $as_echo "$as_me:$LINENO: checking lualib.h presence" >&5
25134
$as_echo_n "checking lualib.h presence... " >&6; }
25135
cat >conftest.$ac_ext <<_ACEOF
25138
cat confdefs.h >>conftest.$ac_ext
25139
cat >>conftest.$ac_ext <<_ACEOF
25140
/* end confdefs.h. */
25141
#include <lualib.h>
25143
if { (ac_try="$ac_cpp conftest.$ac_ext"
25144
case "(($ac_try" in
25145
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25146
*) ac_try_echo=$ac_try;;
25148
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25149
$as_echo "$ac_try_echo") >&5
25150
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25152
grep -v '^ *+' conftest.er1 >conftest.err
25154
cat conftest.err >&5
25155
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25156
(exit $ac_status); } >/dev/null && {
25157
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25158
test ! -s conftest.err
25160
ac_header_preproc=yes
25162
$as_echo "$as_me: failed program was:" >&5
25163
sed 's/^/| /' conftest.$ac_ext >&5
25165
ac_header_preproc=no
25168
rm -f conftest.err conftest.$ac_ext
25169
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25170
$as_echo "$ac_header_preproc" >&6; }
25172
# So? What about this header?
25173
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25175
{ $as_echo "$as_me:$LINENO: WARNING: lualib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25176
$as_echo "$as_me: WARNING: lualib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25177
{ $as_echo "$as_me:$LINENO: WARNING: lualib.h: proceeding with the compiler's result" >&5
25178
$as_echo "$as_me: WARNING: lualib.h: proceeding with the compiler's result" >&2;}
25179
ac_header_preproc=yes
25182
{ $as_echo "$as_me:$LINENO: WARNING: lualib.h: present but cannot be compiled" >&5
25183
$as_echo "$as_me: WARNING: lualib.h: present but cannot be compiled" >&2;}
25184
{ $as_echo "$as_me:$LINENO: WARNING: lualib.h: check for missing prerequisite headers?" >&5
25185
$as_echo "$as_me: WARNING: lualib.h: check for missing prerequisite headers?" >&2;}
25186
{ $as_echo "$as_me:$LINENO: WARNING: lualib.h: see the Autoconf documentation" >&5
25187
$as_echo "$as_me: WARNING: lualib.h: see the Autoconf documentation" >&2;}
25188
{ $as_echo "$as_me:$LINENO: WARNING: lualib.h: section \"Present But Cannot Be Compiled\"" >&5
25189
$as_echo "$as_me: WARNING: lualib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25190
{ $as_echo "$as_me:$LINENO: WARNING: lualib.h: proceeding with the preprocessor's result" >&5
25191
$as_echo "$as_me: WARNING: lualib.h: proceeding with the preprocessor's result" >&2;}
25192
{ $as_echo "$as_me:$LINENO: WARNING: lualib.h: in the future, the compiler will take precedence" >&5
25193
$as_echo "$as_me: WARNING: lualib.h: in the future, the compiler will take precedence" >&2;}
25195
## --------------------------------------- ##
25196
## Report this to http://www.graphviz.org/ ##
25197
## --------------------------------------- ##
25199
) | sed "s/^/$as_me: WARNING: /" >&2
25202
{ $as_echo "$as_me:$LINENO: checking for lualib.h" >&5
25203
$as_echo_n "checking for lualib.h... " >&6; }
25204
if test "${ac_cv_header_lualib_h+set}" = set; then
25205
$as_echo_n "(cached) " >&6
25207
ac_cv_header_lualib_h=$ac_header_preproc
25209
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_lualib_h" >&5
25210
$as_echo "$ac_cv_header_lualib_h" >&6; }
25213
if test "x$ac_cv_header_lualib_h" = x""yes; then
25214
ac_found_liblua_header="yes"
25216
ac_found_liblua_header="no"
25220
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
25221
LUA_INCLUDES="$CFLAGS"
25223
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
25224
as_ac_Lib=`$as_echo "ac_cv_lib_lua$l''_lua_call" | $as_tr_sh`
25225
{ $as_echo "$as_me:$LINENO: checking for lua_call in -llua$l" >&5
25226
$as_echo_n "checking for lua_call in -llua$l... " >&6; }
25227
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
25228
$as_echo_n "(cached) " >&6
25230
ac_check_lib_save_LIBS=$LIBS
25231
LIBS="-llua$l $LIBS"
25232
cat >conftest.$ac_ext <<_ACEOF
25235
cat confdefs.h >>conftest.$ac_ext
25236
cat >>conftest.$ac_ext <<_ACEOF
25237
/* end confdefs.h. */
25239
/* Override any GCC internal prototype to avoid an error.
25240
Use char because int might match the return type of a GCC
25241
builtin and then its argument prototype would still apply. */
25249
return lua_call ();
25254
rm -f conftest.$ac_objext conftest$ac_exeext
25255
if { (ac_try="$ac_link"
25256
case "(($ac_try" in
25257
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25258
*) ac_try_echo=$ac_try;;
25260
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25261
$as_echo "$ac_try_echo") >&5
25262
(eval "$ac_link") 2>conftest.er1
25264
grep -v '^ *+' conftest.er1 >conftest.err
25266
cat conftest.err >&5
25267
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268
(exit $ac_status); } && {
25269
test -z "$ac_c_werror_flag" ||
25270
test ! -s conftest.err
25271
} && test -s conftest$ac_exeext && {
25272
test "$cross_compiling" = yes ||
25273
$as_test_x conftest$ac_exeext
25275
eval "$as_ac_Lib=yes"
25277
$as_echo "$as_me: failed program was:" >&5
25278
sed 's/^/| /' conftest.$ac_ext >&5
25280
eval "$as_ac_Lib=no"
25283
rm -rf conftest.dSYM
25284
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25285
conftest$ac_exeext conftest.$ac_ext
25286
LIBS=$ac_check_lib_save_LIBS
25288
ac_res=`eval 'as_val=${'$as_ac_Lib'}
25289
$as_echo "$as_val"'`
25290
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25291
$as_echo "$ac_res" >&6; }
25292
as_val=`eval 'as_val=${'$as_ac_Lib'}
25293
$as_echo "$as_val"'`
25294
if test "x$as_val" = x""yes; then
25295
ac_found_lua_lib="yes"
25297
ac_found_lua_lib="no"
25300
if test "x$ac_found_lua_lib" = "xyes" ; then
25301
LUA_VERSION=">=5.1.0"
25303
LUA_LIBS="$LDFLAGS -llua$l -lm"
25305
ac2_save_LDFLAGS="$LDFLAGS"
25306
LDFLAGS="$LDFLAGS -llua$l -lm"
25308
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
25309
LDFLAGS="$LDFLAGS -ldl"
25312
as_ac_Lib=`$as_echo "ac_cv_lib_lualib$l''_luaL_openlib" | $as_tr_sh`
25313
{ $as_echo "$as_me:$LINENO: checking for luaL_openlib in -llualib$l" >&5
25314
$as_echo_n "checking for luaL_openlib in -llualib$l... " >&6; }
25315
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
25316
$as_echo_n "(cached) " >&6
25318
ac_check_lib_save_LIBS=$LIBS
25319
LIBS="-llualib$l $LIBS"
25320
cat >conftest.$ac_ext <<_ACEOF
25323
cat confdefs.h >>conftest.$ac_ext
25324
cat >>conftest.$ac_ext <<_ACEOF
25325
/* end confdefs.h. */
25327
/* Override any GCC internal prototype to avoid an error.
25328
Use char because int might match the return type of a GCC
25329
builtin and then its argument prototype would still apply. */
25333
char luaL_openlib ();
25337
return luaL_openlib ();
25342
rm -f conftest.$ac_objext conftest$ac_exeext
25343
if { (ac_try="$ac_link"
25344
case "(($ac_try" in
25345
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346
*) ac_try_echo=$ac_try;;
25348
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25349
$as_echo "$ac_try_echo") >&5
25350
(eval "$ac_link") 2>conftest.er1
25352
grep -v '^ *+' conftest.er1 >conftest.err
25354
cat conftest.err >&5
25355
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356
(exit $ac_status); } && {
25357
test -z "$ac_c_werror_flag" ||
25358
test ! -s conftest.err
25359
} && test -s conftest$ac_exeext && {
25360
test "$cross_compiling" = yes ||
25361
$as_test_x conftest$ac_exeext
25363
eval "$as_ac_Lib=yes"
25365
$as_echo "$as_me: failed program was:" >&5
25366
sed 's/^/| /' conftest.$ac_ext >&5
25368
eval "$as_ac_Lib=no"
25371
rm -rf conftest.dSYM
25372
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25373
conftest$ac_exeext conftest.$ac_ext
25374
LIBS=$ac_check_lib_save_LIBS
25376
ac_res=`eval 'as_val=${'$as_ac_Lib'}
25377
$as_echo "$as_val"'`
25378
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25379
$as_echo "$ac_res" >&6; }
25380
as_val=`eval 'as_val=${'$as_ac_Lib'}
25381
$as_echo "$as_val"'`
25382
if test "x$as_val" = x""yes; then
25383
ac_found_liblua_lib="yes"
25385
ac_found_liblua_lib="no"
25388
if test "x$ac_found_liblua_lib" = "xyes" ; then
25389
LUA_VERSION="5.0.x"
25391
LUA_LIBS="$LUA_LFLAGS -llualib$l"
25393
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
25394
LUA_LIBS="$LUA_LFLAGS -ldl"
25398
LDFLAGS="$ac2_save_LDFLAGS"
25404
{ $as_echo "$as_me:$LINENO: checking for Lua compiling and linking" >&5
25405
$as_echo_n "checking for Lua compiling and linking... " >&6; }
25406
LUA_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)lua_open()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_INCLUDES $LUA_LIBS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1`
25407
if test "x$LUA_TEST" != "x0" ; then
25408
{ $as_echo "$as_me:$LINENO: result: no" >&5
25409
$as_echo "no" >&6; }
25410
{ $as_echo "$as_me:$LINENO: WARNING:
25411
*** Lua (>=5.0) headers and/or libraries could not be found in your system.
25412
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
25413
*** Graphviz will be built without Lua support." >&5
25414
$as_echo "$as_me: WARNING:
25415
*** Lua (>=5.0) headers and/or libraries could not be found in your system.
25416
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
25417
*** Graphviz will be built without Lua support." >&2;}
25418
use_lua="No (lua compiling/linking failed)"
25424
# Not needed for Graphviz: AC_DEFINE(PLUGIN_LUA)
25426
CFLAGS="$ac_save_CFLAGS"
25427
CPPFLAGS="$ac_save_CPPFLAGS"
25428
LDFLAGS="$ac_save_LDFLAGS"
25433
if test "x$use_lua" = "xYes"; then
25444
# Check whether --enable-ocaml was given.
25445
if test "${enable_ocaml+set}" = set; then
25446
enableval=$enable_ocaml;
25452
if test "x$enable_ocaml" != "xyes"; then
25453
use_ocaml="No (disabled)"
25455
if test "x$use_swig" != "xYes"; then
25456
use_ocaml="No (swig not available)"
25458
if test `$SWIG -help 2>&1 | $GREP -c '\-ocaml *- Generate'` = 0; then
25459
use_ocaml="No (swig does not support -ocaml option)"
25461
# Extract the first word of "ocaml", so it can be a program name with args.
25462
set dummy ocaml; ac_word=$2
25463
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25464
$as_echo_n "checking for $ac_word... " >&6; }
25465
if test "${ac_cv_prog_OCAML+set}" = set; then
25466
$as_echo_n "(cached) " >&6
25468
if test -n "$OCAML"; then
25469
ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
25471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25472
for as_dir in $PATH
25475
test -z "$as_dir" && as_dir=.
25476
for ac_exec_ext in '' $ac_executable_extensions; do
25477
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25478
ac_cv_prog_OCAML="ocaml"
25479
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25488
OCAML=$ac_cv_prog_OCAML
25489
if test -n "$OCAML"; then
25490
{ $as_echo "$as_me:$LINENO: result: $OCAML" >&5
25491
$as_echo "$OCAML" >&6; }
25493
{ $as_echo "$as_me:$LINENO: result: no" >&5
25494
$as_echo "no" >&6; }
25498
if test "x$OCAML" = "x"; then
25499
use_ocaml="No (ocaml not available)"
25501
# Extract the first word of "ocamlopt", so it can be a program name with args.
25502
set dummy ocamlopt; ac_word=$2
25503
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25504
$as_echo_n "checking for $ac_word... " >&6; }
25505
if test "${ac_cv_prog_OCAML_OPT+set}" = set; then
25506
$as_echo_n "(cached) " >&6
25508
if test -n "$OCAML_OPT"; then
25509
ac_cv_prog_OCAML_OPT="$OCAML_OPT" # Let the user override the test.
25511
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25512
for as_dir in $PATH
25515
test -z "$as_dir" && as_dir=.
25516
for ac_exec_ext in '' $ac_executable_extensions; do
25517
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25518
ac_cv_prog_OCAML_OPT="ocamlopt"
25519
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25528
OCAML_OPT=$ac_cv_prog_OCAML_OPT
25529
if test -n "$OCAML_OPT"; then
25530
{ $as_echo "$as_me:$LINENO: result: $OCAML_OPT" >&5
25531
$as_echo "$OCAML_OPT" >&6; }
25533
{ $as_echo "$as_me:$LINENO: result: no" >&5
25534
$as_echo "no" >&6; }
25538
OCAML_INCLUDES=-I/usr/lib$LIBPOSTFIX/ocaml
25539
OCAML_LIBS=-L/usr/lib$LIBPOSTFIX/ocaml
25540
save_CPPFLAGS=$CPPFLAGS
25541
CPPFLAGS="$CPPFLAGS $OCAML_INCLUDES"
25542
if test "${ac_cv_header_caml_mlvalues_h+set}" = set; then
25543
{ $as_echo "$as_me:$LINENO: checking for caml/mlvalues.h" >&5
25544
$as_echo_n "checking for caml/mlvalues.h... " >&6; }
25545
if test "${ac_cv_header_caml_mlvalues_h+set}" = set; then
25546
$as_echo_n "(cached) " >&6
25548
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_caml_mlvalues_h" >&5
25549
$as_echo "$ac_cv_header_caml_mlvalues_h" >&6; }
25551
# Is the header compilable?
25552
{ $as_echo "$as_me:$LINENO: checking caml/mlvalues.h usability" >&5
25553
$as_echo_n "checking caml/mlvalues.h usability... " >&6; }
25554
cat >conftest.$ac_ext <<_ACEOF
25557
cat confdefs.h >>conftest.$ac_ext
25558
cat >>conftest.$ac_ext <<_ACEOF
25559
/* end confdefs.h. */
25560
$ac_includes_default
25561
#include <caml/mlvalues.h>
25563
rm -f conftest.$ac_objext
25564
if { (ac_try="$ac_compile"
25565
case "(($ac_try" in
25566
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25567
*) ac_try_echo=$ac_try;;
25569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25570
$as_echo "$ac_try_echo") >&5
25571
(eval "$ac_compile") 2>conftest.er1
25573
grep -v '^ *+' conftest.er1 >conftest.err
25575
cat conftest.err >&5
25576
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577
(exit $ac_status); } && {
25578
test -z "$ac_c_werror_flag" ||
25579
test ! -s conftest.err
25580
} && test -s conftest.$ac_objext; then
25581
ac_header_compiler=yes
25583
$as_echo "$as_me: failed program was:" >&5
25584
sed 's/^/| /' conftest.$ac_ext >&5
25586
ac_header_compiler=no
25589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25590
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25591
$as_echo "$ac_header_compiler" >&6; }
25593
# Is the header present?
25594
{ $as_echo "$as_me:$LINENO: checking caml/mlvalues.h presence" >&5
25595
$as_echo_n "checking caml/mlvalues.h presence... " >&6; }
25596
cat >conftest.$ac_ext <<_ACEOF
25599
cat confdefs.h >>conftest.$ac_ext
25600
cat >>conftest.$ac_ext <<_ACEOF
25601
/* end confdefs.h. */
25602
#include <caml/mlvalues.h>
25604
if { (ac_try="$ac_cpp conftest.$ac_ext"
25605
case "(($ac_try" in
25606
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25607
*) ac_try_echo=$ac_try;;
25609
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25610
$as_echo "$ac_try_echo") >&5
25611
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25613
grep -v '^ *+' conftest.er1 >conftest.err
25615
cat conftest.err >&5
25616
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617
(exit $ac_status); } >/dev/null && {
25618
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25619
test ! -s conftest.err
25621
ac_header_preproc=yes
25623
$as_echo "$as_me: failed program was:" >&5
25624
sed 's/^/| /' conftest.$ac_ext >&5
25626
ac_header_preproc=no
25629
rm -f conftest.err conftest.$ac_ext
25630
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25631
$as_echo "$ac_header_preproc" >&6; }
25633
# So? What about this header?
25634
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25636
{ $as_echo "$as_me:$LINENO: WARNING: caml/mlvalues.h: accepted by the compiler, rejected by the preprocessor!" >&5
25637
$as_echo "$as_me: WARNING: caml/mlvalues.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25638
{ $as_echo "$as_me:$LINENO: WARNING: caml/mlvalues.h: proceeding with the compiler's result" >&5
25639
$as_echo "$as_me: WARNING: caml/mlvalues.h: proceeding with the compiler's result" >&2;}
25640
ac_header_preproc=yes
25643
{ $as_echo "$as_me:$LINENO: WARNING: caml/mlvalues.h: present but cannot be compiled" >&5
25644
$as_echo "$as_me: WARNING: caml/mlvalues.h: present but cannot be compiled" >&2;}
25645
{ $as_echo "$as_me:$LINENO: WARNING: caml/mlvalues.h: check for missing prerequisite headers?" >&5
25646
$as_echo "$as_me: WARNING: caml/mlvalues.h: check for missing prerequisite headers?" >&2;}
25647
{ $as_echo "$as_me:$LINENO: WARNING: caml/mlvalues.h: see the Autoconf documentation" >&5
25648
$as_echo "$as_me: WARNING: caml/mlvalues.h: see the Autoconf documentation" >&2;}
25649
{ $as_echo "$as_me:$LINENO: WARNING: caml/mlvalues.h: section \"Present But Cannot Be Compiled\"" >&5
25650
$as_echo "$as_me: WARNING: caml/mlvalues.h: section \"Present But Cannot Be Compiled\"" >&2;}
25651
{ $as_echo "$as_me:$LINENO: WARNING: caml/mlvalues.h: proceeding with the preprocessor's result" >&5
25652
$as_echo "$as_me: WARNING: caml/mlvalues.h: proceeding with the preprocessor's result" >&2;}
25653
{ $as_echo "$as_me:$LINENO: WARNING: caml/mlvalues.h: in the future, the compiler will take precedence" >&5
25654
$as_echo "$as_me: WARNING: caml/mlvalues.h: in the future, the compiler will take precedence" >&2;}
25656
## --------------------------------------- ##
25657
## Report this to http://www.graphviz.org/ ##
25658
## --------------------------------------- ##
25660
) | sed "s/^/$as_me: WARNING: /" >&2
25663
{ $as_echo "$as_me:$LINENO: checking for caml/mlvalues.h" >&5
25664
$as_echo_n "checking for caml/mlvalues.h... " >&6; }
25665
if test "${ac_cv_header_caml_mlvalues_h+set}" = set; then
25666
$as_echo_n "(cached) " >&6
25668
ac_cv_header_caml_mlvalues_h=$ac_header_preproc
25670
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_caml_mlvalues_h" >&5
25671
$as_echo "$ac_cv_header_caml_mlvalues_h" >&6; }
25674
if test "x$ac_cv_header_caml_mlvalues_h" = x""yes; then
25682
use_ocaml="No (missing header)"
25683
{ $as_echo "$as_me:$LINENO: WARNING: Unable to find header caml/mlvalues.h. The OCAML packages will not be built" >&5
25684
$as_echo "$as_me: WARNING: Unable to find header caml/mlvalues.h. The OCAML packages will not be built" >&2;}
25689
CPPFLAGS=$save_CPPFLAGS
25694
if test "x$use_ocaml" = "xYes"; then
25696
WITH_OCAML_FALSE='#'
25698
WITH_OCAML_TRUE='#'
25702
if test "x$OCAML_OPT" != "x"; then
25703
WITH_OCAMLOPT_TRUE=
25704
WITH_OCAMLOPT_FALSE='#'
25706
WITH_OCAMLOPT_TRUE='#'
25707
WITH_OCAMLOPT_FALSE=
25712
# Check whether --enable-perl was given.
25713
if test "${enable_perl+set}" = set; then
25714
enableval=$enable_perl;
25720
if test "x$enable_perl" != "xyes"; then
25721
use_perl="No (disabled)"
25723
if test "x$use_swig" != "xYes"; then
25724
use_perl="No (swig not available)"
25726
if test `$SWIG -help 2>&1 | $GREP -c '\-perl *- Generate'` = 0; then
25727
use_perl="No (swig does not support -perl option)"
25729
# Extract the first word of "perl", so it can be a program name with args.
25730
set dummy perl; ac_word=$2
25731
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25732
$as_echo_n "checking for $ac_word... " >&6; }
25733
if test "${ac_cv_prog_PERL+set}" = set; then
25734
$as_echo_n "(cached) " >&6
25736
if test -n "$PERL"; then
25737
ac_cv_prog_PERL="$PERL" # Let the user override the test.
25739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25740
for as_dir in $PATH
25743
test -z "$as_dir" && as_dir=.
25744
for ac_exec_ext in '' $ac_executable_extensions; do
25745
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25746
ac_cv_prog_PERL="perl"
25747
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25756
PERL=$ac_cv_prog_PERL
25757
if test -n "$PERL"; then
25758
{ $as_echo "$as_me:$LINENO: result: $PERL" >&5
25759
$as_echo "$PERL" >&6; }
25761
{ $as_echo "$as_me:$LINENO: result: no" >&5
25762
$as_echo "no" >&6; }
25766
if test "x$PERL" = "x"; then
25767
use_perl="No (perl not available)"
25769
if test $PERL -e 'exit !($] <= 5.004)' > /dev/null 2>&1 ; then
25770
use_perl="No (perl is too old)"
25773
PERL_INCLUDES="`$PERL $srcdir/config/config_perl.pl PERL_INCLUDES`"
25774
PERL_LIBS="`$PERL $srcdir/config/config_perl.pl PERL_LIBS`"
25775
PERL_INSTALL_DIR="`$PERL $srcdir/config/config_perl.pl PERL_INSTALL_DIR`"
25776
save_CPPFLAGS=$CPPFLAGS
25777
CPPFLAGS="$CPPFLAGS $PERL_INCLUDES"
25778
if test "${ac_cv_header_EXTERN_h+set}" = set; then
25779
{ $as_echo "$as_me:$LINENO: checking for EXTERN.h" >&5
25780
$as_echo_n "checking for EXTERN.h... " >&6; }
25781
if test "${ac_cv_header_EXTERN_h+set}" = set; then
25782
$as_echo_n "(cached) " >&6
25784
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_EXTERN_h" >&5
25785
$as_echo "$ac_cv_header_EXTERN_h" >&6; }
25787
# Is the header compilable?
25788
{ $as_echo "$as_me:$LINENO: checking EXTERN.h usability" >&5
25789
$as_echo_n "checking EXTERN.h usability... " >&6; }
25790
cat >conftest.$ac_ext <<_ACEOF
25793
cat confdefs.h >>conftest.$ac_ext
25794
cat >>conftest.$ac_ext <<_ACEOF
25795
/* end confdefs.h. */
25796
$ac_includes_default
25797
#include <EXTERN.h>
25799
rm -f conftest.$ac_objext
25800
if { (ac_try="$ac_compile"
25801
case "(($ac_try" in
25802
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25803
*) ac_try_echo=$ac_try;;
25805
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25806
$as_echo "$ac_try_echo") >&5
25807
(eval "$ac_compile") 2>conftest.er1
25809
grep -v '^ *+' conftest.er1 >conftest.err
25811
cat conftest.err >&5
25812
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813
(exit $ac_status); } && {
25814
test -z "$ac_c_werror_flag" ||
25815
test ! -s conftest.err
25816
} && test -s conftest.$ac_objext; then
25817
ac_header_compiler=yes
25819
$as_echo "$as_me: failed program was:" >&5
25820
sed 's/^/| /' conftest.$ac_ext >&5
25822
ac_header_compiler=no
25825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25827
$as_echo "$ac_header_compiler" >&6; }
25829
# Is the header present?
25830
{ $as_echo "$as_me:$LINENO: checking EXTERN.h presence" >&5
25831
$as_echo_n "checking EXTERN.h presence... " >&6; }
25832
cat >conftest.$ac_ext <<_ACEOF
25835
cat confdefs.h >>conftest.$ac_ext
25836
cat >>conftest.$ac_ext <<_ACEOF
25837
/* end confdefs.h. */
25838
#include <EXTERN.h>
25840
if { (ac_try="$ac_cpp conftest.$ac_ext"
25841
case "(($ac_try" in
25842
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25843
*) ac_try_echo=$ac_try;;
25845
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25846
$as_echo "$ac_try_echo") >&5
25847
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25849
grep -v '^ *+' conftest.er1 >conftest.err
25851
cat conftest.err >&5
25852
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25853
(exit $ac_status); } >/dev/null && {
25854
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25855
test ! -s conftest.err
25857
ac_header_preproc=yes
25859
$as_echo "$as_me: failed program was:" >&5
25860
sed 's/^/| /' conftest.$ac_ext >&5
25862
ac_header_preproc=no
25865
rm -f conftest.err conftest.$ac_ext
25866
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25867
$as_echo "$ac_header_preproc" >&6; }
25869
# So? What about this header?
25870
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25872
{ $as_echo "$as_me:$LINENO: WARNING: EXTERN.h: accepted by the compiler, rejected by the preprocessor!" >&5
25873
$as_echo "$as_me: WARNING: EXTERN.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25874
{ $as_echo "$as_me:$LINENO: WARNING: EXTERN.h: proceeding with the compiler's result" >&5
25875
$as_echo "$as_me: WARNING: EXTERN.h: proceeding with the compiler's result" >&2;}
25876
ac_header_preproc=yes
25879
{ $as_echo "$as_me:$LINENO: WARNING: EXTERN.h: present but cannot be compiled" >&5
25880
$as_echo "$as_me: WARNING: EXTERN.h: present but cannot be compiled" >&2;}
25881
{ $as_echo "$as_me:$LINENO: WARNING: EXTERN.h: check for missing prerequisite headers?" >&5
25882
$as_echo "$as_me: WARNING: EXTERN.h: check for missing prerequisite headers?" >&2;}
25883
{ $as_echo "$as_me:$LINENO: WARNING: EXTERN.h: see the Autoconf documentation" >&5
25884
$as_echo "$as_me: WARNING: EXTERN.h: see the Autoconf documentation" >&2;}
25885
{ $as_echo "$as_me:$LINENO: WARNING: EXTERN.h: section \"Present But Cannot Be Compiled\"" >&5
25886
$as_echo "$as_me: WARNING: EXTERN.h: section \"Present But Cannot Be Compiled\"" >&2;}
25887
{ $as_echo "$as_me:$LINENO: WARNING: EXTERN.h: proceeding with the preprocessor's result" >&5
25888
$as_echo "$as_me: WARNING: EXTERN.h: proceeding with the preprocessor's result" >&2;}
25889
{ $as_echo "$as_me:$LINENO: WARNING: EXTERN.h: in the future, the compiler will take precedence" >&5
25890
$as_echo "$as_me: WARNING: EXTERN.h: in the future, the compiler will take precedence" >&2;}
25892
## --------------------------------------- ##
25893
## Report this to http://www.graphviz.org/ ##
25894
## --------------------------------------- ##
25896
) | sed "s/^/$as_me: WARNING: /" >&2
25899
{ $as_echo "$as_me:$LINENO: checking for EXTERN.h" >&5
25900
$as_echo_n "checking for EXTERN.h... " >&6; }
25901
if test "${ac_cv_header_EXTERN_h+set}" = set; then
25902
$as_echo_n "(cached) " >&6
25904
ac_cv_header_EXTERN_h=$ac_header_preproc
25906
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_EXTERN_h" >&5
25907
$as_echo "$ac_cv_header_EXTERN_h" >&6; }
25910
if test "x$ac_cv_header_EXTERN_h" = x""yes; then
25914
use_perl="No (missing header)"
25920
# save_LDFLAGS=$LDFLAGS
25921
# LDFLAGS="$LDFLAGS $PERL_LIBS"
25922
# AC_CHECK_LIB(perl,main,,[
25923
# use_perl="No (missing library)"
25926
# LDFLAGS=$save_LDFLAGS
25927
CPPFLAGS=$save_CPPFLAGS
25929
if test "x$PERL" != "x"; then
25939
if test "x$use_perl" = "xYes"; then
25941
WITH_PERL_FALSE='#'
25949
# Check whether --enable-php was given.
25950
if test "${enable_php+set}" = set; then
25951
enableval=$enable_php;
25957
if test "x$enable_php" != "xyes"; then
25958
use_php="No (disabled)"
25960
if test "x$use_swig" != "xYes"; then
25961
use_php="No (swig not available)"
25963
if test `$SWIG -help 2>&1 | $GREP -c '\-php5* *- Generate'` = 0 ; then
25964
use_php="No (swig does not support -php or -php5 option)"
25966
# Extract the first word of "php", so it can be a program name with args.
25967
set dummy php; ac_word=$2
25968
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25969
$as_echo_n "checking for $ac_word... " >&6; }
25970
if test "${ac_cv_prog_PHP+set}" = set; then
25971
$as_echo_n "(cached) " >&6
25973
if test -n "$PHP"; then
25974
ac_cv_prog_PHP="$PHP" # Let the user override the test.
25976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25977
for as_dir in $PATH
25980
test -z "$as_dir" && as_dir=.
25981
for ac_exec_ext in '' $ac_executable_extensions; do
25982
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25983
ac_cv_prog_PHP="php"
25984
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25993
PHP=$ac_cv_prog_PHP
25994
if test -n "$PHP"; then
25995
{ $as_echo "$as_me:$LINENO: result: $PHP" >&5
25996
$as_echo "$PHP" >&6; }
25998
{ $as_echo "$as_me:$LINENO: result: no" >&5
25999
$as_echo "no" >&6; }
26003
if test "x$PHP" = "x"; then
26004
use_php="No (php not available)"
26006
if test -d /usr/include/php5; then
26007
PHP_INCLUDES="-I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/Zend -I/usr/include/php5/TSRM"
26009
PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM"
26011
PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules"
26012
PHP_INSTALL_DATADIR="/usr/share/php"
26014
save_CPPFLAGS=$CPPFLAGS
26015
CPPFLAGS="$CPPFLAGS $PHP_INCLUDES"
26016
if test "${ac_cv_header_php_h+set}" = set; then
26017
{ $as_echo "$as_me:$LINENO: checking for php.h" >&5
26018
$as_echo_n "checking for php.h... " >&6; }
26019
if test "${ac_cv_header_php_h+set}" = set; then
26020
$as_echo_n "(cached) " >&6
26022
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_php_h" >&5
26023
$as_echo "$ac_cv_header_php_h" >&6; }
26025
# Is the header compilable?
26026
{ $as_echo "$as_me:$LINENO: checking php.h usability" >&5
26027
$as_echo_n "checking php.h usability... " >&6; }
26028
cat >conftest.$ac_ext <<_ACEOF
26031
cat confdefs.h >>conftest.$ac_ext
26032
cat >>conftest.$ac_ext <<_ACEOF
26033
/* end confdefs.h. */
26034
$ac_includes_default
26037
rm -f conftest.$ac_objext
26038
if { (ac_try="$ac_compile"
26039
case "(($ac_try" in
26040
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26041
*) ac_try_echo=$ac_try;;
26043
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26044
$as_echo "$ac_try_echo") >&5
26045
(eval "$ac_compile") 2>conftest.er1
26047
grep -v '^ *+' conftest.er1 >conftest.err
26049
cat conftest.err >&5
26050
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051
(exit $ac_status); } && {
26052
test -z "$ac_c_werror_flag" ||
26053
test ! -s conftest.err
26054
} && test -s conftest.$ac_objext; then
26055
ac_header_compiler=yes
26057
$as_echo "$as_me: failed program was:" >&5
26058
sed 's/^/| /' conftest.$ac_ext >&5
26060
ac_header_compiler=no
26063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26064
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26065
$as_echo "$ac_header_compiler" >&6; }
26067
# Is the header present?
26068
{ $as_echo "$as_me:$LINENO: checking php.h presence" >&5
26069
$as_echo_n "checking php.h presence... " >&6; }
26070
cat >conftest.$ac_ext <<_ACEOF
26073
cat confdefs.h >>conftest.$ac_ext
26074
cat >>conftest.$ac_ext <<_ACEOF
26075
/* end confdefs.h. */
26078
if { (ac_try="$ac_cpp conftest.$ac_ext"
26079
case "(($ac_try" in
26080
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26081
*) ac_try_echo=$ac_try;;
26083
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26084
$as_echo "$ac_try_echo") >&5
26085
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26087
grep -v '^ *+' conftest.er1 >conftest.err
26089
cat conftest.err >&5
26090
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091
(exit $ac_status); } >/dev/null && {
26092
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26093
test ! -s conftest.err
26095
ac_header_preproc=yes
26097
$as_echo "$as_me: failed program was:" >&5
26098
sed 's/^/| /' conftest.$ac_ext >&5
26100
ac_header_preproc=no
26103
rm -f conftest.err conftest.$ac_ext
26104
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26105
$as_echo "$ac_header_preproc" >&6; }
26107
# So? What about this header?
26108
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26110
{ $as_echo "$as_me:$LINENO: WARNING: php.h: accepted by the compiler, rejected by the preprocessor!" >&5
26111
$as_echo "$as_me: WARNING: php.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26112
{ $as_echo "$as_me:$LINENO: WARNING: php.h: proceeding with the compiler's result" >&5
26113
$as_echo "$as_me: WARNING: php.h: proceeding with the compiler's result" >&2;}
26114
ac_header_preproc=yes
26117
{ $as_echo "$as_me:$LINENO: WARNING: php.h: present but cannot be compiled" >&5
26118
$as_echo "$as_me: WARNING: php.h: present but cannot be compiled" >&2;}
26119
{ $as_echo "$as_me:$LINENO: WARNING: php.h: check for missing prerequisite headers?" >&5
26120
$as_echo "$as_me: WARNING: php.h: check for missing prerequisite headers?" >&2;}
26121
{ $as_echo "$as_me:$LINENO: WARNING: php.h: see the Autoconf documentation" >&5
26122
$as_echo "$as_me: WARNING: php.h: see the Autoconf documentation" >&2;}
26123
{ $as_echo "$as_me:$LINENO: WARNING: php.h: section \"Present But Cannot Be Compiled\"" >&5
26124
$as_echo "$as_me: WARNING: php.h: section \"Present But Cannot Be Compiled\"" >&2;}
26125
{ $as_echo "$as_me:$LINENO: WARNING: php.h: proceeding with the preprocessor's result" >&5
26126
$as_echo "$as_me: WARNING: php.h: proceeding with the preprocessor's result" >&2;}
26127
{ $as_echo "$as_me:$LINENO: WARNING: php.h: in the future, the compiler will take precedence" >&5
26128
$as_echo "$as_me: WARNING: php.h: in the future, the compiler will take precedence" >&2;}
26130
## --------------------------------------- ##
26131
## Report this to http://www.graphviz.org/ ##
26132
## --------------------------------------- ##
26134
) | sed "s/^/$as_me: WARNING: /" >&2
26137
{ $as_echo "$as_me:$LINENO: checking for php.h" >&5
26138
$as_echo_n "checking for php.h... " >&6; }
26139
if test "${ac_cv_header_php_h+set}" = set; then
26140
$as_echo_n "(cached) " >&6
26142
ac_cv_header_php_h=$ac_header_preproc
26144
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_php_h" >&5
26145
$as_echo "$ac_cv_header_php_h" >&6; }
26148
if test "x$ac_cv_header_php_h" = x""yes; then
26152
use_php="No (missing header)"
26158
CPPFLAGS=$save_CPPFLAGS
26159
if test "x$PHP" != "x"; then
26170
if test "x$use_php" = "xYes"; then
26180
# Check whether --enable-python was given.
26181
if test "${enable_python+set}" = set; then
26182
enableval=$enable_python;
26188
if test "x$enable_python" != "xyes"; then
26189
use_python="No (disabled)"
26191
if test "x$use_swig" != "xYes"; then
26192
use_python="No (swig not available)"
26194
if test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0; then
26195
use_python="No (swig does not support -python option)"
26197
# Extract the first word of "python", so it can be a program name with args.
26198
set dummy python; ac_word=$2
26199
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26200
$as_echo_n "checking for $ac_word... " >&6; }
26201
if test "${ac_cv_prog_PYTHON+set}" = set; then
26202
$as_echo_n "(cached) " >&6
26204
if test -n "$PYTHON"; then
26205
ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
26207
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26208
for as_dir in $PATH
26211
test -z "$as_dir" && as_dir=.
26212
for ac_exec_ext in '' $ac_executable_extensions; do
26213
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26214
ac_cv_prog_PYTHON="python"
26215
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26224
PYTHON=$ac_cv_prog_PYTHON
26225
if test -n "$PYTHON"; then
26226
{ $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
26227
$as_echo "$PYTHON" >&6; }
26229
{ $as_echo "$as_me:$LINENO: result: no" >&5
26230
$as_echo "no" >&6; }
26234
if test "x$PYTHON" = "x"; then
26235
use_python="No (python not available)"
26237
PYTHON_VERSION=`$PYTHON -V 2>&1 | $GREP Python | cut -d ' ' -f 2`
26238
if test "x$PYTHON_VERSION" = "x"; then
26241
PYTHON_VERSION_MAJOR=`echo $PYTHON_VERSION | cut -d '.' -f 1`
26242
PYTHON_VERSION_MINOR=`echo $PYTHON_VERSION | cut -d '.' -f 2`
26243
PYTHON_VERSION_SHORT=$PYTHON_VERSION_MAJOR.$PYTHON_VERSION_MINOR
26244
if test $PYTHON_VERSION_MAJOR -lt 3; then
26245
if test $PYTHON_VERSION_MAJOR -lt 2; then
26248
if test $PYTHON_VERSION_MINOR -lt 3; then
26255
if test "x$PYTHON" = "x"; then
26256
use_python="No (python is too old)"
26258
PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
26259
PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python$PYTHON_VERSION_SHORT
26260
PYTHON_LIBS="-lpython$PYTHON_VERSION_SHORT"
26261
PYTHON_INSTALL_DIR="`$PYTHON $srcdir/config/config_python.py archsitelib`"
26262
save_CPPFLAGS=$CPPFLAGS
26263
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
26264
if test "${ac_cv_header_Python_h+set}" = set; then
26265
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
26266
$as_echo_n "checking for Python.h... " >&6; }
26267
if test "${ac_cv_header_Python_h+set}" = set; then
26268
$as_echo_n "(cached) " >&6
26270
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
26271
$as_echo "$ac_cv_header_Python_h" >&6; }
26273
# Is the header compilable?
26274
{ $as_echo "$as_me:$LINENO: checking Python.h usability" >&5
26275
$as_echo_n "checking Python.h usability... " >&6; }
26276
cat >conftest.$ac_ext <<_ACEOF
26279
cat confdefs.h >>conftest.$ac_ext
26280
cat >>conftest.$ac_ext <<_ACEOF
26281
/* end confdefs.h. */
26282
$ac_includes_default
26283
#include <Python.h>
26285
rm -f conftest.$ac_objext
26286
if { (ac_try="$ac_compile"
26287
case "(($ac_try" in
26288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26289
*) ac_try_echo=$ac_try;;
26291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26292
$as_echo "$ac_try_echo") >&5
26293
(eval "$ac_compile") 2>conftest.er1
26295
grep -v '^ *+' conftest.er1 >conftest.err
26297
cat conftest.err >&5
26298
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299
(exit $ac_status); } && {
26300
test -z "$ac_c_werror_flag" ||
26301
test ! -s conftest.err
26302
} && test -s conftest.$ac_objext; then
26303
ac_header_compiler=yes
26305
$as_echo "$as_me: failed program was:" >&5
26306
sed 's/^/| /' conftest.$ac_ext >&5
26308
ac_header_compiler=no
26311
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26312
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26313
$as_echo "$ac_header_compiler" >&6; }
26315
# Is the header present?
26316
{ $as_echo "$as_me:$LINENO: checking Python.h presence" >&5
26317
$as_echo_n "checking Python.h presence... " >&6; }
26318
cat >conftest.$ac_ext <<_ACEOF
26321
cat confdefs.h >>conftest.$ac_ext
26322
cat >>conftest.$ac_ext <<_ACEOF
26323
/* end confdefs.h. */
26324
#include <Python.h>
26326
if { (ac_try="$ac_cpp conftest.$ac_ext"
26327
case "(($ac_try" in
26328
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26329
*) ac_try_echo=$ac_try;;
26331
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26332
$as_echo "$ac_try_echo") >&5
26333
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26335
grep -v '^ *+' conftest.er1 >conftest.err
26337
cat conftest.err >&5
26338
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339
(exit $ac_status); } >/dev/null && {
26340
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26341
test ! -s conftest.err
26343
ac_header_preproc=yes
26345
$as_echo "$as_me: failed program was:" >&5
26346
sed 's/^/| /' conftest.$ac_ext >&5
26348
ac_header_preproc=no
26351
rm -f conftest.err conftest.$ac_ext
26352
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26353
$as_echo "$ac_header_preproc" >&6; }
26355
# So? What about this header?
26356
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26358
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
26359
$as_echo "$as_me: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26360
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the compiler's result" >&5
26361
$as_echo "$as_me: WARNING: Python.h: proceeding with the compiler's result" >&2;}
26362
ac_header_preproc=yes
26365
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: present but cannot be compiled" >&5
26366
$as_echo "$as_me: WARNING: Python.h: present but cannot be compiled" >&2;}
26367
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: check for missing prerequisite headers?" >&5
26368
$as_echo "$as_me: WARNING: Python.h: check for missing prerequisite headers?" >&2;}
26369
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: see the Autoconf documentation" >&5
26370
$as_echo "$as_me: WARNING: Python.h: see the Autoconf documentation" >&2;}
26371
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&5
26372
$as_echo "$as_me: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&2;}
26373
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the preprocessor's result" >&5
26374
$as_echo "$as_me: WARNING: Python.h: proceeding with the preprocessor's result" >&2;}
26375
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: in the future, the compiler will take precedence" >&5
26376
$as_echo "$as_me: WARNING: Python.h: in the future, the compiler will take precedence" >&2;}
26378
## --------------------------------------- ##
26379
## Report this to http://www.graphviz.org/ ##
26380
## --------------------------------------- ##
26382
) | sed "s/^/$as_me: WARNING: /" >&2
26385
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
26386
$as_echo_n "checking for Python.h... " >&6; }
26387
if test "${ac_cv_header_Python_h+set}" = set; then
26388
$as_echo_n "(cached) " >&6
26390
ac_cv_header_Python_h=$ac_header_preproc
26392
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
26393
$as_echo "$ac_cv_header_Python_h" >&6; }
26396
if test "x$ac_cv_header_Python_h" = x""yes; then
26400
use_python="No (missing header)"
26406
CPPFLAGS=$save_CPPFLAGS
26407
if test "x$PYTHON" != "x"; then
26417
if test "x$use_python" = "xYes"; then
26419
WITH_PYTHON_FALSE='#'
26421
WITH_PYTHON_TRUE='#'
26427
# Check whether --enable-python23 was given.
26428
if test "${enable_python23+set}" = set; then
26429
enableval=$enable_python23;
26435
if test "x$enable_python23" != "xyes"; then
26436
use_python23="No (disabled by default - for multiversion installs)"
26438
if test "x$use_swig" != "xYes"; then
26439
use_python23="No (swig not available)"
26441
if test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0; then
26442
use_python23="No (swig does not support -python option)"
26444
# Extract the first word of "python2.3", so it can be a program name with args.
26445
set dummy python2.3; ac_word=$2
26446
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26447
$as_echo_n "checking for $ac_word... " >&6; }
26448
if test "${ac_cv_prog_PYTHON23+set}" = set; then
26449
$as_echo_n "(cached) " >&6
26451
if test -n "$PYTHON23"; then
26452
ac_cv_prog_PYTHON23="$PYTHON23" # Let the user override the test.
26454
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26455
for as_dir in $PATH
26458
test -z "$as_dir" && as_dir=.
26459
for ac_exec_ext in '' $ac_executable_extensions; do
26460
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26461
ac_cv_prog_PYTHON23="python2.3"
26462
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26471
PYTHON23=$ac_cv_prog_PYTHON23
26472
if test -n "$PYTHON23"; then
26473
{ $as_echo "$as_me:$LINENO: result: $PYTHON23" >&5
26474
$as_echo "$PYTHON23" >&6; }
26476
{ $as_echo "$as_me:$LINENO: result: no" >&5
26477
$as_echo "no" >&6; }
26481
if test "x$PYTHON23" = "x"; then
26482
use_python23="No (python23 not available)"
26484
PYTHON23_VERSION=`$PYTHON23 -V 2>&1 | $GREP Python | cut -d ' ' -f 2`
26485
if test "x$PYTHON23_VERSION" = "x"; then
26488
PYTHON23_VERSION_MAJOR=`echo $PYTHON23_VERSION | cut -d '.' -f 1`
26489
PYTHON23_VERSION_MINOR=`echo $PYTHON23_VERSION | cut -d '.' -f 2`
26490
PYTHON23_VERSION_SHORT=$PYTHON23_VERSION_MAJOR.$PYTHON23_VERSION_MINOR
26491
if test $PYTHON23_VERSION_MAJOR -lt 3; then
26492
if test $PYTHON23_VERSION_MAJOR -lt 2; then
26495
if test $PYTHON23_VERSION_MINOR -lt 3; then
26502
if test "x$PYTHON23" = "x"; then
26503
use_python23="No (python2.3 is too old)"
26505
PYTHON23_PREFIX=`$PYTHON23 -c "import sys; print sys.prefix"`
26506
PYTHON23_INCLUDES=-I$PYTHON23_PREFIX/include/python$PYTHON23_VERSION_SHORT
26507
PYTHON23_LIBS="-lpython$PYTHON_VERSION_SHORT"
26508
PYTHON23_INSTALL_DIR="`$PYTHON23 $srcdir/config/config_python.py archsitelib`"
26509
save_CPPFLAGS=$CPPFLAGS
26510
CPPFLAGS="$CPPFLAGS $PYTHON23_INCLUDES"
26511
if test "${ac_cv_header_Python_h+set}" = set; then
26512
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
26513
$as_echo_n "checking for Python.h... " >&6; }
26514
if test "${ac_cv_header_Python_h+set}" = set; then
26515
$as_echo_n "(cached) " >&6
26517
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
26518
$as_echo "$ac_cv_header_Python_h" >&6; }
26520
# Is the header compilable?
26521
{ $as_echo "$as_me:$LINENO: checking Python.h usability" >&5
26522
$as_echo_n "checking Python.h usability... " >&6; }
26523
cat >conftest.$ac_ext <<_ACEOF
26526
cat confdefs.h >>conftest.$ac_ext
26527
cat >>conftest.$ac_ext <<_ACEOF
26528
/* end confdefs.h. */
26529
$ac_includes_default
26530
#include <Python.h>
26532
rm -f conftest.$ac_objext
26533
if { (ac_try="$ac_compile"
26534
case "(($ac_try" in
26535
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26536
*) ac_try_echo=$ac_try;;
26538
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26539
$as_echo "$ac_try_echo") >&5
26540
(eval "$ac_compile") 2>conftest.er1
26542
grep -v '^ *+' conftest.er1 >conftest.err
26544
cat conftest.err >&5
26545
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546
(exit $ac_status); } && {
26547
test -z "$ac_c_werror_flag" ||
26548
test ! -s conftest.err
26549
} && test -s conftest.$ac_objext; then
26550
ac_header_compiler=yes
26552
$as_echo "$as_me: failed program was:" >&5
26553
sed 's/^/| /' conftest.$ac_ext >&5
26555
ac_header_compiler=no
26558
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26559
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26560
$as_echo "$ac_header_compiler" >&6; }
26562
# Is the header present?
26563
{ $as_echo "$as_me:$LINENO: checking Python.h presence" >&5
26564
$as_echo_n "checking Python.h presence... " >&6; }
26565
cat >conftest.$ac_ext <<_ACEOF
26568
cat confdefs.h >>conftest.$ac_ext
26569
cat >>conftest.$ac_ext <<_ACEOF
26570
/* end confdefs.h. */
26571
#include <Python.h>
26573
if { (ac_try="$ac_cpp conftest.$ac_ext"
26574
case "(($ac_try" in
26575
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26576
*) ac_try_echo=$ac_try;;
26578
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26579
$as_echo "$ac_try_echo") >&5
26580
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26582
grep -v '^ *+' conftest.er1 >conftest.err
26584
cat conftest.err >&5
26585
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586
(exit $ac_status); } >/dev/null && {
26587
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26588
test ! -s conftest.err
26590
ac_header_preproc=yes
26592
$as_echo "$as_me: failed program was:" >&5
26593
sed 's/^/| /' conftest.$ac_ext >&5
26595
ac_header_preproc=no
26598
rm -f conftest.err conftest.$ac_ext
26599
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26600
$as_echo "$ac_header_preproc" >&6; }
26602
# So? What about this header?
26603
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26605
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
26606
$as_echo "$as_me: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26607
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the compiler's result" >&5
26608
$as_echo "$as_me: WARNING: Python.h: proceeding with the compiler's result" >&2;}
26609
ac_header_preproc=yes
26612
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: present but cannot be compiled" >&5
26613
$as_echo "$as_me: WARNING: Python.h: present but cannot be compiled" >&2;}
26614
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: check for missing prerequisite headers?" >&5
26615
$as_echo "$as_me: WARNING: Python.h: check for missing prerequisite headers?" >&2;}
26616
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: see the Autoconf documentation" >&5
26617
$as_echo "$as_me: WARNING: Python.h: see the Autoconf documentation" >&2;}
26618
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&5
26619
$as_echo "$as_me: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&2;}
26620
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the preprocessor's result" >&5
26621
$as_echo "$as_me: WARNING: Python.h: proceeding with the preprocessor's result" >&2;}
26622
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: in the future, the compiler will take precedence" >&5
26623
$as_echo "$as_me: WARNING: Python.h: in the future, the compiler will take precedence" >&2;}
26625
## --------------------------------------- ##
26626
## Report this to http://www.graphviz.org/ ##
26627
## --------------------------------------- ##
26629
) | sed "s/^/$as_me: WARNING: /" >&2
26632
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
26633
$as_echo_n "checking for Python.h... " >&6; }
26634
if test "${ac_cv_header_Python_h+set}" = set; then
26635
$as_echo_n "(cached) " >&6
26637
ac_cv_header_Python_h=$ac_header_preproc
26639
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
26640
$as_echo "$ac_cv_header_Python_h" >&6; }
26643
if test "x$ac_cv_header_Python_h" = x""yes; then
26647
use_python23="No (missing header)"
26653
CPPFLAGS=$save_CPPFLAGS
26654
if test "x$PYTHON23" != "x"; then
26664
if test "x$use_python23" = "xYes"; then
26665
WITH_PYTHON23_TRUE=
26666
WITH_PYTHON23_FALSE='#'
26668
WITH_PYTHON23_TRUE='#'
26669
WITH_PYTHON23_FALSE=
26674
# Check whether --enable-python24 was given.
26675
if test "${enable_python24+set}" = set; then
26676
enableval=$enable_python24;
26682
if test "x$enable_python24" != "xyes"; then
26683
use_python24="No (disabled by default - for multiversion installs)"
26685
if test "x$use_swig" != "xYes"; then
26686
use_python24="No (swig not available)"
26688
if test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0; then
26689
use_python24="No (swig does not support -python option)"
26691
# Extract the first word of "python2.4", so it can be a program name with args.
26692
set dummy python2.4; ac_word=$2
26693
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26694
$as_echo_n "checking for $ac_word... " >&6; }
26695
if test "${ac_cv_prog_PYTHON24+set}" = set; then
26696
$as_echo_n "(cached) " >&6
26698
if test -n "$PYTHON24"; then
26699
ac_cv_prog_PYTHON24="$PYTHON24" # Let the user override the test.
26701
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26702
for as_dir in $PATH
26705
test -z "$as_dir" && as_dir=.
26706
for ac_exec_ext in '' $ac_executable_extensions; do
26707
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26708
ac_cv_prog_PYTHON24="python2.4"
26709
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26718
PYTHON24=$ac_cv_prog_PYTHON24
26719
if test -n "$PYTHON24"; then
26720
{ $as_echo "$as_me:$LINENO: result: $PYTHON24" >&5
26721
$as_echo "$PYTHON24" >&6; }
26723
{ $as_echo "$as_me:$LINENO: result: no" >&5
26724
$as_echo "no" >&6; }
26728
if test "x$PYTHON24" = "x"; then
26729
use_python24="No (python24 not available)"
26731
PYTHON24_VERSION=`$PYTHON24 -V 2>&1 | $GREP Python | cut -d ' ' -f 2`
26732
if test "x$PYTHON24_VERSION" = "x"; then
26735
PYTHON24_VERSION_MAJOR=`echo $PYTHON24_VERSION | cut -d '.' -f 1`
26736
PYTHON24_VERSION_MINOR=`echo $PYTHON24_VERSION | cut -d '.' -f 2`
26737
PYTHON24_VERSION_SHORT=$PYTHON24_VERSION_MAJOR.$PYTHON24_VERSION_MINOR
26738
if test $PYTHON24_VERSION_MAJOR -lt 3; then
26739
if test $PYTHON24_VERSION_MAJOR -lt 2; then
26742
if test $PYTHON24_VERSION_MINOR -lt 4; then
26749
if test "x$PYTHON24" = "x"; then
26750
use_python24="No (python2.4 is too old)"
26752
PYTHON24_PREFIX=`$PYTHON24 -c "import sys; print sys.prefix"`
26753
PYTHON24_INCLUDES=-I$PYTHON24_PREFIX/include/python$PYTHON24_VERSION_SHORT
26754
PYTHON24_LIBS="-lpython$PYTHON_VERSION_SHORT"
26755
PYTHON24_INSTALL_DIR="`$PYTHON24 $srcdir/config/config_python.py archsitelib`"
26756
save_CPPFLAGS=$CPPFLAGS
26757
CPPFLAGS="$CPPFLAGS $PYTHON24_INCLUDES"
26758
if test "${ac_cv_header_Python_h+set}" = set; then
26759
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
26760
$as_echo_n "checking for Python.h... " >&6; }
26761
if test "${ac_cv_header_Python_h+set}" = set; then
26762
$as_echo_n "(cached) " >&6
26764
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
26765
$as_echo "$ac_cv_header_Python_h" >&6; }
26767
# Is the header compilable?
26768
{ $as_echo "$as_me:$LINENO: checking Python.h usability" >&5
26769
$as_echo_n "checking Python.h usability... " >&6; }
26770
cat >conftest.$ac_ext <<_ACEOF
26773
cat confdefs.h >>conftest.$ac_ext
26774
cat >>conftest.$ac_ext <<_ACEOF
26775
/* end confdefs.h. */
26776
$ac_includes_default
26777
#include <Python.h>
26779
rm -f conftest.$ac_objext
26780
if { (ac_try="$ac_compile"
26781
case "(($ac_try" in
26782
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783
*) ac_try_echo=$ac_try;;
26785
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26786
$as_echo "$ac_try_echo") >&5
26787
(eval "$ac_compile") 2>conftest.er1
26789
grep -v '^ *+' conftest.er1 >conftest.err
26791
cat conftest.err >&5
26792
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793
(exit $ac_status); } && {
26794
test -z "$ac_c_werror_flag" ||
26795
test ! -s conftest.err
26796
} && test -s conftest.$ac_objext; then
26797
ac_header_compiler=yes
26799
$as_echo "$as_me: failed program was:" >&5
26800
sed 's/^/| /' conftest.$ac_ext >&5
26802
ac_header_compiler=no
26805
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26806
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26807
$as_echo "$ac_header_compiler" >&6; }
26809
# Is the header present?
26810
{ $as_echo "$as_me:$LINENO: checking Python.h presence" >&5
26811
$as_echo_n "checking Python.h presence... " >&6; }
26812
cat >conftest.$ac_ext <<_ACEOF
26815
cat confdefs.h >>conftest.$ac_ext
26816
cat >>conftest.$ac_ext <<_ACEOF
26817
/* end confdefs.h. */
26818
#include <Python.h>
26820
if { (ac_try="$ac_cpp conftest.$ac_ext"
26821
case "(($ac_try" in
26822
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26823
*) ac_try_echo=$ac_try;;
26825
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26826
$as_echo "$ac_try_echo") >&5
26827
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26829
grep -v '^ *+' conftest.er1 >conftest.err
26831
cat conftest.err >&5
26832
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833
(exit $ac_status); } >/dev/null && {
26834
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26835
test ! -s conftest.err
26837
ac_header_preproc=yes
26839
$as_echo "$as_me: failed program was:" >&5
26840
sed 's/^/| /' conftest.$ac_ext >&5
26842
ac_header_preproc=no
26845
rm -f conftest.err conftest.$ac_ext
26846
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26847
$as_echo "$ac_header_preproc" >&6; }
26849
# So? What about this header?
26850
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26852
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
26853
$as_echo "$as_me: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26854
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the compiler's result" >&5
26855
$as_echo "$as_me: WARNING: Python.h: proceeding with the compiler's result" >&2;}
26856
ac_header_preproc=yes
26859
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: present but cannot be compiled" >&5
26860
$as_echo "$as_me: WARNING: Python.h: present but cannot be compiled" >&2;}
26861
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: check for missing prerequisite headers?" >&5
26862
$as_echo "$as_me: WARNING: Python.h: check for missing prerequisite headers?" >&2;}
26863
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: see the Autoconf documentation" >&5
26864
$as_echo "$as_me: WARNING: Python.h: see the Autoconf documentation" >&2;}
26865
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&5
26866
$as_echo "$as_me: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&2;}
26867
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the preprocessor's result" >&5
26868
$as_echo "$as_me: WARNING: Python.h: proceeding with the preprocessor's result" >&2;}
26869
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: in the future, the compiler will take precedence" >&5
26870
$as_echo "$as_me: WARNING: Python.h: in the future, the compiler will take precedence" >&2;}
26872
## --------------------------------------- ##
26873
## Report this to http://www.graphviz.org/ ##
26874
## --------------------------------------- ##
26876
) | sed "s/^/$as_me: WARNING: /" >&2
26879
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
26880
$as_echo_n "checking for Python.h... " >&6; }
26881
if test "${ac_cv_header_Python_h+set}" = set; then
26882
$as_echo_n "(cached) " >&6
26884
ac_cv_header_Python_h=$ac_header_preproc
26886
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
26887
$as_echo "$ac_cv_header_Python_h" >&6; }
26890
if test "x$ac_cv_header_Python_h" = x""yes; then
26894
use_python24="No (missing header)"
26900
CPPFLAGS=$save_CPPFLAGS
26901
if test "x$PYTHON24" != "x"; then
26911
if test "x$use_python24" = "xYes"; then
26912
WITH_PYTHON24_TRUE=
26913
WITH_PYTHON24_FALSE='#'
26915
WITH_PYTHON24_TRUE='#'
26916
WITH_PYTHON24_FALSE=
26921
# Check whether --enable-python25 was given.
26922
if test "${enable_python25+set}" = set; then
26923
enableval=$enable_python25;
26929
if test "x$enable_python25" != "xyes"; then
26930
use_python25="No (disabled by default - for multiversion installs)"
26932
if test "x$use_swig" != "xYes"; then
26933
use_python25="No (swig not available)"
26935
if test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0; then
26936
use_python25="No (swig does not support -python option)"
26938
# Extract the first word of "python2.5", so it can be a program name with args.
26939
set dummy python2.5; ac_word=$2
26940
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26941
$as_echo_n "checking for $ac_word... " >&6; }
26942
if test "${ac_cv_prog_PYTHON25+set}" = set; then
26943
$as_echo_n "(cached) " >&6
26945
if test -n "$PYTHON25"; then
26946
ac_cv_prog_PYTHON25="$PYTHON25" # Let the user override the test.
26948
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26949
for as_dir in $PATH
26952
test -z "$as_dir" && as_dir=.
26953
for ac_exec_ext in '' $ac_executable_extensions; do
26954
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26955
ac_cv_prog_PYTHON25="python2.5"
26956
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26965
PYTHON25=$ac_cv_prog_PYTHON25
26966
if test -n "$PYTHON25"; then
26967
{ $as_echo "$as_me:$LINENO: result: $PYTHON25" >&5
26968
$as_echo "$PYTHON25" >&6; }
26970
{ $as_echo "$as_me:$LINENO: result: no" >&5
26971
$as_echo "no" >&6; }
26975
if test "x$PYTHON25" = "x"; then
26976
use_python25="No (python25 not available)"
26978
PYTHON25_VERSION=`$PYTHON25 -V 2>&1 | $GREP Python | cut -d ' ' -f 2`
26979
if test "x$PYTHON25_VERSION" = "x"; then
26982
PYTHON25_VERSION_MAJOR=`echo $PYTHON25_VERSION | cut -d '.' -f 1`
26983
PYTHON25_VERSION_MINOR=`echo $PYTHON25_VERSION | cut -d '.' -f 2`
26984
PYTHON25_VERSION_SHORT=$PYTHON25_VERSION_MAJOR.$PYTHON25_VERSION_MINOR
26985
if test $PYTHON25_VERSION_MAJOR -lt 3; then
26986
if test $PYTHON25_VERSION_MAJOR -lt 2; then
26989
if test $PYTHON25_VERSION_MINOR -lt 5; then
26996
if test "x$PYTHON25" = "x"; then
26997
use_python25="No (python2.5 is too old)"
26999
PYTHON25_PREFIX=`$PYTHON25 -c "import sys; print sys.prefix"`
27000
PYTHON25_INCLUDES=-I$PYTHON25_PREFIX/include/python$PYTHON25_VERSION_SHORT
27001
PYTHON24_LIBS="-lpython$PYTHON_VERSION_SHORT"
27002
PYTHON25_INSTALL_DIR="`$PYTHON25 $srcdir/config/config_python.py archsitelib`"
27003
save_CPPFLAGS=$CPPFLAGS
27004
CPPFLAGS="$CPPFLAGS $PYTHON25_INCLUDES"
27005
if test "${ac_cv_header_Python_h+set}" = set; then
27006
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
27007
$as_echo_n "checking for Python.h... " >&6; }
27008
if test "${ac_cv_header_Python_h+set}" = set; then
27009
$as_echo_n "(cached) " >&6
27011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
27012
$as_echo "$ac_cv_header_Python_h" >&6; }
27014
# Is the header compilable?
27015
{ $as_echo "$as_me:$LINENO: checking Python.h usability" >&5
27016
$as_echo_n "checking Python.h usability... " >&6; }
27017
cat >conftest.$ac_ext <<_ACEOF
27020
cat confdefs.h >>conftest.$ac_ext
27021
cat >>conftest.$ac_ext <<_ACEOF
27022
/* end confdefs.h. */
27023
$ac_includes_default
27024
#include <Python.h>
27026
rm -f conftest.$ac_objext
27027
if { (ac_try="$ac_compile"
27028
case "(($ac_try" in
27029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27030
*) ac_try_echo=$ac_try;;
27032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27033
$as_echo "$ac_try_echo") >&5
27034
(eval "$ac_compile") 2>conftest.er1
27036
grep -v '^ *+' conftest.er1 >conftest.err
27038
cat conftest.err >&5
27039
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040
(exit $ac_status); } && {
27041
test -z "$ac_c_werror_flag" ||
27042
test ! -s conftest.err
27043
} && test -s conftest.$ac_objext; then
27044
ac_header_compiler=yes
27046
$as_echo "$as_me: failed program was:" >&5
27047
sed 's/^/| /' conftest.$ac_ext >&5
27049
ac_header_compiler=no
27052
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27053
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27054
$as_echo "$ac_header_compiler" >&6; }
27056
# Is the header present?
27057
{ $as_echo "$as_me:$LINENO: checking Python.h presence" >&5
27058
$as_echo_n "checking Python.h presence... " >&6; }
27059
cat >conftest.$ac_ext <<_ACEOF
27062
cat confdefs.h >>conftest.$ac_ext
27063
cat >>conftest.$ac_ext <<_ACEOF
27064
/* end confdefs.h. */
27065
#include <Python.h>
27067
if { (ac_try="$ac_cpp conftest.$ac_ext"
27068
case "(($ac_try" in
27069
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27070
*) ac_try_echo=$ac_try;;
27072
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27073
$as_echo "$ac_try_echo") >&5
27074
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27076
grep -v '^ *+' conftest.er1 >conftest.err
27078
cat conftest.err >&5
27079
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080
(exit $ac_status); } >/dev/null && {
27081
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27082
test ! -s conftest.err
27084
ac_header_preproc=yes
27086
$as_echo "$as_me: failed program was:" >&5
27087
sed 's/^/| /' conftest.$ac_ext >&5
27089
ac_header_preproc=no
27092
rm -f conftest.err conftest.$ac_ext
27093
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27094
$as_echo "$ac_header_preproc" >&6; }
27096
# So? What about this header?
27097
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27099
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
27100
$as_echo "$as_me: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27101
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the compiler's result" >&5
27102
$as_echo "$as_me: WARNING: Python.h: proceeding with the compiler's result" >&2;}
27103
ac_header_preproc=yes
27106
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: present but cannot be compiled" >&5
27107
$as_echo "$as_me: WARNING: Python.h: present but cannot be compiled" >&2;}
27108
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: check for missing prerequisite headers?" >&5
27109
$as_echo "$as_me: WARNING: Python.h: check for missing prerequisite headers?" >&2;}
27110
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: see the Autoconf documentation" >&5
27111
$as_echo "$as_me: WARNING: Python.h: see the Autoconf documentation" >&2;}
27112
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&5
27113
$as_echo "$as_me: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&2;}
27114
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the preprocessor's result" >&5
27115
$as_echo "$as_me: WARNING: Python.h: proceeding with the preprocessor's result" >&2;}
27116
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: in the future, the compiler will take precedence" >&5
27117
$as_echo "$as_me: WARNING: Python.h: in the future, the compiler will take precedence" >&2;}
27119
## --------------------------------------- ##
27120
## Report this to http://www.graphviz.org/ ##
27121
## --------------------------------------- ##
27123
) | sed "s/^/$as_me: WARNING: /" >&2
27126
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
27127
$as_echo_n "checking for Python.h... " >&6; }
27128
if test "${ac_cv_header_Python_h+set}" = set; then
27129
$as_echo_n "(cached) " >&6
27131
ac_cv_header_Python_h=$ac_header_preproc
27133
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
27134
$as_echo "$ac_cv_header_Python_h" >&6; }
27137
if test "x$ac_cv_header_Python_h" = x""yes; then
27141
use_python25="No (missing header)"
27147
CPPFLAGS=$save_CPPFLAGS
27148
if test "x$PYTHON25" != "x"; then
27158
if test "x$use_python25" = "xYes"; then
27159
WITH_PYTHON25_TRUE=
27160
WITH_PYTHON25_FALSE='#'
27162
WITH_PYTHON25_TRUE='#'
27163
WITH_PYTHON25_FALSE=
27168
# Check whether --enable-python26 was given.
27169
if test "${enable_python26+set}" = set; then
27170
enableval=$enable_python26;
27176
if test "x$enable_python26" != "xyes"; then
27177
use_python26="No (disabled by default - for multiversion installs)"
27179
if test "x$use_swig" != "xYes"; then
27180
use_python26="No (swig not available)"
27182
if test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0; then
27183
use_python26="No (swig does not support -python option)"
27185
# Extract the first word of "python2.6", so it can be a program name with args.
27186
set dummy python2.6; ac_word=$2
27187
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27188
$as_echo_n "checking for $ac_word... " >&6; }
27189
if test "${ac_cv_prog_PYTHON26+set}" = set; then
27190
$as_echo_n "(cached) " >&6
27192
if test -n "$PYTHON26"; then
27193
ac_cv_prog_PYTHON26="$PYTHON26" # Let the user override the test.
27195
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27196
for as_dir in $PATH
27199
test -z "$as_dir" && as_dir=.
27200
for ac_exec_ext in '' $ac_executable_extensions; do
27201
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27202
ac_cv_prog_PYTHON26="python2.6"
27203
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27212
PYTHON26=$ac_cv_prog_PYTHON26
27213
if test -n "$PYTHON26"; then
27214
{ $as_echo "$as_me:$LINENO: result: $PYTHON26" >&5
27215
$as_echo "$PYTHON26" >&6; }
27217
{ $as_echo "$as_me:$LINENO: result: no" >&5
27218
$as_echo "no" >&6; }
27222
if test "x$PYTHON26" = "x"; then
27223
use_python26="No (python26 not available)"
27225
PYTHON26_VERSION=`$PYTHON26 -V 2>&1 | $GREP Python | cut -d ' ' -f 2`
27226
if test "x$PYTHON26_VERSION" = "x"; then
27229
PYTHON26_VERSION_MAJOR=`echo $PYTHON26_VERSION | cut -d '.' -f 1`
27230
PYTHON26_VERSION_MINOR=`echo $PYTHON26_VERSION | cut -d '.' -f 2`
27231
PYTHON26_VERSION_SHORT=$PYTHON26_VERSION_MAJOR.$PYTHON26_VERSION_MINOR
27232
if test $PYTHON26_VERSION_MAJOR -lt 3; then
27233
if test $PYTHON26_VERSION_MAJOR -lt 2; then
27236
if test $PYTHON26_VERSION_MINOR -lt 5; then
27243
if test "x$PYTHON26" = "x"; then
27244
use_python26="No (python2.6 is too old)"
27246
PYTHON26_PREFIX=`$PYTHON26 -c "import sys; print sys.prefix"`
27247
PYTHON26_INCLUDES=-I$PYTHON26_PREFIX/include/python$PYTHON26_VERSION_SHORT
27248
PYTHON24_LIBS="-lpython$PYTHON_VERSION_SHORT"
27249
PYTHON26_INSTALL_DIR="`$PYTHON26 $srcdir/config/config_python.py archsitelib`"
27250
save_CPPFLAGS=$CPPFLAGS
27251
CPPFLAGS="$CPPFLAGS $PYTHON26_INCLUDES"
27252
if test "${ac_cv_header_Python_h+set}" = set; then
27253
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
27254
$as_echo_n "checking for Python.h... " >&6; }
27255
if test "${ac_cv_header_Python_h+set}" = set; then
27256
$as_echo_n "(cached) " >&6
27258
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
27259
$as_echo "$ac_cv_header_Python_h" >&6; }
27261
# Is the header compilable?
27262
{ $as_echo "$as_me:$LINENO: checking Python.h usability" >&5
27263
$as_echo_n "checking Python.h usability... " >&6; }
27264
cat >conftest.$ac_ext <<_ACEOF
27267
cat confdefs.h >>conftest.$ac_ext
27268
cat >>conftest.$ac_ext <<_ACEOF
27269
/* end confdefs.h. */
27270
$ac_includes_default
27271
#include <Python.h>
27273
rm -f conftest.$ac_objext
27274
if { (ac_try="$ac_compile"
27275
case "(($ac_try" in
27276
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27277
*) ac_try_echo=$ac_try;;
27279
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27280
$as_echo "$ac_try_echo") >&5
27281
(eval "$ac_compile") 2>conftest.er1
27283
grep -v '^ *+' conftest.er1 >conftest.err
27285
cat conftest.err >&5
27286
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287
(exit $ac_status); } && {
27288
test -z "$ac_c_werror_flag" ||
27289
test ! -s conftest.err
27290
} && test -s conftest.$ac_objext; then
27291
ac_header_compiler=yes
27293
$as_echo "$as_me: failed program was:" >&5
27294
sed 's/^/| /' conftest.$ac_ext >&5
27296
ac_header_compiler=no
27299
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27300
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27301
$as_echo "$ac_header_compiler" >&6; }
27303
# Is the header present?
27304
{ $as_echo "$as_me:$LINENO: checking Python.h presence" >&5
27305
$as_echo_n "checking Python.h presence... " >&6; }
27306
cat >conftest.$ac_ext <<_ACEOF
27309
cat confdefs.h >>conftest.$ac_ext
27310
cat >>conftest.$ac_ext <<_ACEOF
27311
/* end confdefs.h. */
27312
#include <Python.h>
27314
if { (ac_try="$ac_cpp conftest.$ac_ext"
27315
case "(($ac_try" in
27316
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27317
*) ac_try_echo=$ac_try;;
27319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27320
$as_echo "$ac_try_echo") >&5
27321
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27323
grep -v '^ *+' conftest.er1 >conftest.err
27325
cat conftest.err >&5
27326
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327
(exit $ac_status); } >/dev/null && {
27328
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27329
test ! -s conftest.err
27331
ac_header_preproc=yes
27333
$as_echo "$as_me: failed program was:" >&5
27334
sed 's/^/| /' conftest.$ac_ext >&5
27336
ac_header_preproc=no
27339
rm -f conftest.err conftest.$ac_ext
27340
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27341
$as_echo "$ac_header_preproc" >&6; }
27343
# So? What about this header?
27344
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27346
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
27347
$as_echo "$as_me: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27348
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the compiler's result" >&5
27349
$as_echo "$as_me: WARNING: Python.h: proceeding with the compiler's result" >&2;}
27350
ac_header_preproc=yes
27353
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: present but cannot be compiled" >&5
27354
$as_echo "$as_me: WARNING: Python.h: present but cannot be compiled" >&2;}
27355
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: check for missing prerequisite headers?" >&5
27356
$as_echo "$as_me: WARNING: Python.h: check for missing prerequisite headers?" >&2;}
27357
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: see the Autoconf documentation" >&5
27358
$as_echo "$as_me: WARNING: Python.h: see the Autoconf documentation" >&2;}
27359
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&5
27360
$as_echo "$as_me: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&2;}
27361
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the preprocessor's result" >&5
27362
$as_echo "$as_me: WARNING: Python.h: proceeding with the preprocessor's result" >&2;}
27363
{ $as_echo "$as_me:$LINENO: WARNING: Python.h: in the future, the compiler will take precedence" >&5
27364
$as_echo "$as_me: WARNING: Python.h: in the future, the compiler will take precedence" >&2;}
27366
## --------------------------------------- ##
27367
## Report this to http://www.graphviz.org/ ##
27368
## --------------------------------------- ##
27370
) | sed "s/^/$as_me: WARNING: /" >&2
27373
{ $as_echo "$as_me:$LINENO: checking for Python.h" >&5
27374
$as_echo_n "checking for Python.h... " >&6; }
27375
if test "${ac_cv_header_Python_h+set}" = set; then
27376
$as_echo_n "(cached) " >&6
27378
ac_cv_header_Python_h=$ac_header_preproc
27380
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
27381
$as_echo "$ac_cv_header_Python_h" >&6; }
27384
if test "x$ac_cv_header_Python_h" = x""yes; then
27388
use_python26="No (missing header)"
27394
CPPFLAGS=$save_CPPFLAGS
27395
if test "x$PYTHON26" != "x"; then
27405
if test "x$use_python26" = "xYes"; then
27406
WITH_PYTHON26_TRUE=
27407
WITH_PYTHON26_FALSE='#'
27409
WITH_PYTHON26_TRUE='#'
27410
WITH_PYTHON26_FALSE=
27415
# Check whether --enable-r was given.
27416
if test "${enable_r+set}" = set; then
27417
enableval=$enable_r;
27423
if test "x$enable_r" != "xyes"; then
27424
use_r="No (disabled)"
27426
if test "x$use_swig" != "xYes"; then
27427
use_r="No (swig not available)"
27429
if test `$SWIG -help 2>&1 | $GREP -c '\-r *- Generate'` = 0; then
27430
use_r="No (swig does not support -r option)"
27434
{ $as_echo "$as_me:$LINENO: checking for R" >&5
27435
$as_echo_n "checking for R... " >&6; }
27437
if test -n "$R_CFLAGS"; then
27438
pkg_cv_R_CFLAGS="$R_CFLAGS"
27439
elif test -n "$PKG_CONFIG"; then
27440
if test -n "$PKG_CONFIG" && \
27441
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libR\"") >&5
27442
($PKG_CONFIG --exists --print-errors "libR") 2>&5
27444
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445
(exit $ac_status); }; then
27446
pkg_cv_R_CFLAGS=`$PKG_CONFIG --cflags "libR" 2>/dev/null`
27453
if test -n "$R_LIBS"; then
27454
pkg_cv_R_LIBS="$R_LIBS"
27455
elif test -n "$PKG_CONFIG"; then
27456
if test -n "$PKG_CONFIG" && \
27457
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libR\"") >&5
27458
($PKG_CONFIG --exists --print-errors "libR") 2>&5
27460
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461
(exit $ac_status); }; then
27462
pkg_cv_R_LIBS=`$PKG_CONFIG --libs "libR" 2>/dev/null`
27472
if test $pkg_failed = yes; then
27474
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27475
_pkg_short_errors_supported=yes
27477
_pkg_short_errors_supported=no
27479
if test $_pkg_short_errors_supported = yes; then
27480
R_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libR" 2>&1`
27482
R_PKG_ERRORS=`$PKG_CONFIG --print-errors "libR" 2>&1`
27484
# Put the nasty error message in config.log where it belongs
27485
echo "$R_PKG_ERRORS" >&5
27487
{ $as_echo "$as_me:$LINENO: result: no" >&5
27488
$as_echo "no" >&6; }
27490
use_r="No (R not available)"
27492
elif test $pkg_failed = untried; then
27494
use_r="No (R not available)"
27497
R_CFLAGS=$pkg_cv_R_CFLAGS
27498
R_LIBS=$pkg_cv_R_LIBS
27499
{ $as_echo "$as_me:$LINENO: result: yes" >&5
27500
$as_echo "yes" >&6; }
27510
if test "x$use_r" = "xYes"; then
27520
# Check whether --enable-ruby was given.
27521
if test "${enable_ruby+set}" = set; then
27522
enableval=$enable_ruby;
27528
if test "x$enable_ruby" != "xyes"; then
27529
use_ruby="No (disabled)"
27531
if test "x$use_swig" != "xYes"; then
27532
use_ruby="No (swig not available)"
27534
if test `$SWIG -help 2>&1 | $GREP -c '\-ruby *- Generate'` = 0; then
27535
use_ruby="No (swig does not support -ruby option)"
27537
# Extract the first word of "ruby", so it can be a program name with args.
27538
set dummy ruby; ac_word=$2
27539
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27540
$as_echo_n "checking for $ac_word... " >&6; }
27541
if test "${ac_cv_prog_RUBY+set}" = set; then
27542
$as_echo_n "(cached) " >&6
27544
if test -n "$RUBY"; then
27545
ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
27547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27548
for as_dir in $PATH
27551
test -z "$as_dir" && as_dir=.
27552
for ac_exec_ext in '' $ac_executable_extensions; do
27553
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27554
ac_cv_prog_RUBY="ruby"
27555
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27564
RUBY=$ac_cv_prog_RUBY
27565
if test -n "$RUBY"; then
27566
{ $as_echo "$as_me:$LINENO: result: $RUBY" >&5
27567
$as_echo "$RUBY" >&6; }
27569
{ $as_echo "$as_me:$LINENO: result: no" >&5
27570
$as_echo "no" >&6; }
27574
if test "x$RUBY" = "x"; then
27575
use_ruby="No (ruby not available)"
27577
RUBY_INCLUDES="-I`$RUBY $srcdir/config/config_ruby.rb INCLUDES`"
27578
# hack for powerpc-darwin8 (10.4)
27579
if test "x$DARWIN" = "xyes"; then
27580
RUBY_INCLUDES=`echo $RUBY_INCLUDES | sed 's/powerpc/universal/'`
27582
RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` `$RUBY -rrbconfig -e \"puts Config::CONFIG['LIBRUBYARG_SHARED']\"`"
27583
RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb archsitelib`"
27584
save_CPPFLAGS=$CPPFLAGS
27585
CPPFLAGS="$CPPFLAGS $RUBY_INCLUDES"
27586
if test "${ac_cv_header_ruby_h+set}" = set; then
27587
{ $as_echo "$as_me:$LINENO: checking for ruby.h" >&5
27588
$as_echo_n "checking for ruby.h... " >&6; }
27589
if test "${ac_cv_header_ruby_h+set}" = set; then
27590
$as_echo_n "(cached) " >&6
27592
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ruby_h" >&5
27593
$as_echo "$ac_cv_header_ruby_h" >&6; }
27595
# Is the header compilable?
27596
{ $as_echo "$as_me:$LINENO: checking ruby.h usability" >&5
27597
$as_echo_n "checking ruby.h usability... " >&6; }
27598
cat >conftest.$ac_ext <<_ACEOF
27601
cat confdefs.h >>conftest.$ac_ext
27602
cat >>conftest.$ac_ext <<_ACEOF
27603
/* end confdefs.h. */
27604
$ac_includes_default
27607
rm -f conftest.$ac_objext
27608
if { (ac_try="$ac_compile"
27609
case "(($ac_try" in
27610
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27611
*) ac_try_echo=$ac_try;;
27613
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27614
$as_echo "$ac_try_echo") >&5
27615
(eval "$ac_compile") 2>conftest.er1
27617
grep -v '^ *+' conftest.er1 >conftest.err
27619
cat conftest.err >&5
27620
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621
(exit $ac_status); } && {
27622
test -z "$ac_c_werror_flag" ||
27623
test ! -s conftest.err
27624
} && test -s conftest.$ac_objext; then
27625
ac_header_compiler=yes
27627
$as_echo "$as_me: failed program was:" >&5
27628
sed 's/^/| /' conftest.$ac_ext >&5
27630
ac_header_compiler=no
27633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27634
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27635
$as_echo "$ac_header_compiler" >&6; }
27637
# Is the header present?
27638
{ $as_echo "$as_me:$LINENO: checking ruby.h presence" >&5
27639
$as_echo_n "checking ruby.h presence... " >&6; }
27640
cat >conftest.$ac_ext <<_ACEOF
27643
cat confdefs.h >>conftest.$ac_ext
27644
cat >>conftest.$ac_ext <<_ACEOF
27645
/* end confdefs.h. */
27648
if { (ac_try="$ac_cpp conftest.$ac_ext"
27649
case "(($ac_try" in
27650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27651
*) ac_try_echo=$ac_try;;
27653
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27654
$as_echo "$ac_try_echo") >&5
27655
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27657
grep -v '^ *+' conftest.er1 >conftest.err
27659
cat conftest.err >&5
27660
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661
(exit $ac_status); } >/dev/null && {
27662
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27663
test ! -s conftest.err
27665
ac_header_preproc=yes
27667
$as_echo "$as_me: failed program was:" >&5
27668
sed 's/^/| /' conftest.$ac_ext >&5
27670
ac_header_preproc=no
27673
rm -f conftest.err conftest.$ac_ext
27674
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27675
$as_echo "$ac_header_preproc" >&6; }
27677
# So? What about this header?
27678
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27680
{ $as_echo "$as_me:$LINENO: WARNING: ruby.h: accepted by the compiler, rejected by the preprocessor!" >&5
27681
$as_echo "$as_me: WARNING: ruby.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27682
{ $as_echo "$as_me:$LINENO: WARNING: ruby.h: proceeding with the compiler's result" >&5
27683
$as_echo "$as_me: WARNING: ruby.h: proceeding with the compiler's result" >&2;}
27684
ac_header_preproc=yes
27687
{ $as_echo "$as_me:$LINENO: WARNING: ruby.h: present but cannot be compiled" >&5
27688
$as_echo "$as_me: WARNING: ruby.h: present but cannot be compiled" >&2;}
27689
{ $as_echo "$as_me:$LINENO: WARNING: ruby.h: check for missing prerequisite headers?" >&5
27690
$as_echo "$as_me: WARNING: ruby.h: check for missing prerequisite headers?" >&2;}
27691
{ $as_echo "$as_me:$LINENO: WARNING: ruby.h: see the Autoconf documentation" >&5
27692
$as_echo "$as_me: WARNING: ruby.h: see the Autoconf documentation" >&2;}
27693
{ $as_echo "$as_me:$LINENO: WARNING: ruby.h: section \"Present But Cannot Be Compiled\"" >&5
27694
$as_echo "$as_me: WARNING: ruby.h: section \"Present But Cannot Be Compiled\"" >&2;}
27695
{ $as_echo "$as_me:$LINENO: WARNING: ruby.h: proceeding with the preprocessor's result" >&5
27696
$as_echo "$as_me: WARNING: ruby.h: proceeding with the preprocessor's result" >&2;}
27697
{ $as_echo "$as_me:$LINENO: WARNING: ruby.h: in the future, the compiler will take precedence" >&5
27698
$as_echo "$as_me: WARNING: ruby.h: in the future, the compiler will take precedence" >&2;}
27700
## --------------------------------------- ##
27701
## Report this to http://www.graphviz.org/ ##
27702
## --------------------------------------- ##
27704
) | sed "s/^/$as_me: WARNING: /" >&2
27707
{ $as_echo "$as_me:$LINENO: checking for ruby.h" >&5
27708
$as_echo_n "checking for ruby.h... " >&6; }
27709
if test "${ac_cv_header_ruby_h+set}" = set; then
27710
$as_echo_n "(cached) " >&6
27712
ac_cv_header_ruby_h=$ac_header_preproc
27714
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ruby_h" >&5
27715
$as_echo "$ac_cv_header_ruby_h" >&6; }
27718
if test "x$ac_cv_header_ruby_h" = x""yes; then
27722
use_ruby="No (missing header)"
27728
CPPFLAGS=$save_CPPFLAGS
27730
if test "x$RUBY" != "x"; then
27739
if test "x$use_ruby" = "xYes"; then
27741
WITH_RUBY_FALSE='#'
27749
# Check whether --enable-tcl was given.
27750
if test "${enable_tcl+set}" = set; then
27751
enableval=$enable_tcl;
27757
if test "x$enable_tcl" != "xyes"; then
27758
use_tcl="No (disabled)"
27761
if test "x$use_tcl" = "x"; then
27762
TCL_VERSION_FOUND=`echo 'puts [info tclversion]' | $TCLSH`
27764
# can't assume ksh on all architectures
27765
# TCLSH_EXEC_PREFIX=${TCLSH%%/bin/tclsh.*}
27766
# so use sed instead
27767
TCLSH_EXEC_PREFIX=`echo $TCLSH|sed -e 's%/bin/tclsh.*$%%'`
27769
if test -f ${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND}/tcl.h; then
27770
TCL_INCLUDES="-I${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND} -I${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND}/generic"
27772
if test "x${TCLSH_EXEC_PREFIX}" != "x/usr" -a -f ${TCLSH_EXEC_PREFIX}/include/tcl.h; then
27773
TCL_INCLUDES=-I${TCLSH_EXEC_PREFIX}/include
27776
if test "x$TCL_INCLUDES" != "x" ; then
27777
{ $as_echo "$as_me:$LINENO: result: using tcl headers from $TCL_INCLUDES" >&5
27778
$as_echo "using tcl headers from $TCL_INCLUDES" >&6; }
27781
save_CPPFLAGS=$CPPFLAGS
27782
CPPFLAGS="$CPPFLAGS $TCL_INCLUDES"
27783
if test "${ac_cv_header_tcl_h+set}" = set; then
27784
{ $as_echo "$as_me:$LINENO: checking for tcl.h" >&5
27785
$as_echo_n "checking for tcl.h... " >&6; }
27786
if test "${ac_cv_header_tcl_h+set}" = set; then
27787
$as_echo_n "(cached) " >&6
27789
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tcl_h" >&5
27790
$as_echo "$ac_cv_header_tcl_h" >&6; }
27792
# Is the header compilable?
27793
{ $as_echo "$as_me:$LINENO: checking tcl.h usability" >&5
27794
$as_echo_n "checking tcl.h usability... " >&6; }
27795
cat >conftest.$ac_ext <<_ACEOF
27798
cat confdefs.h >>conftest.$ac_ext
27799
cat >>conftest.$ac_ext <<_ACEOF
27800
/* end confdefs.h. */
27801
$ac_includes_default
27804
rm -f conftest.$ac_objext
27805
if { (ac_try="$ac_compile"
27806
case "(($ac_try" in
27807
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27808
*) ac_try_echo=$ac_try;;
27810
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27811
$as_echo "$ac_try_echo") >&5
27812
(eval "$ac_compile") 2>conftest.er1
27814
grep -v '^ *+' conftest.er1 >conftest.err
27816
cat conftest.err >&5
27817
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818
(exit $ac_status); } && {
27819
test -z "$ac_c_werror_flag" ||
27820
test ! -s conftest.err
27821
} && test -s conftest.$ac_objext; then
27822
ac_header_compiler=yes
27824
$as_echo "$as_me: failed program was:" >&5
27825
sed 's/^/| /' conftest.$ac_ext >&5
27827
ac_header_compiler=no
27830
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27831
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27832
$as_echo "$ac_header_compiler" >&6; }
27834
# Is the header present?
27835
{ $as_echo "$as_me:$LINENO: checking tcl.h presence" >&5
27836
$as_echo_n "checking tcl.h presence... " >&6; }
27837
cat >conftest.$ac_ext <<_ACEOF
27840
cat confdefs.h >>conftest.$ac_ext
27841
cat >>conftest.$ac_ext <<_ACEOF
27842
/* end confdefs.h. */
27845
if { (ac_try="$ac_cpp conftest.$ac_ext"
27846
case "(($ac_try" in
27847
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27848
*) ac_try_echo=$ac_try;;
27850
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27851
$as_echo "$ac_try_echo") >&5
27852
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27854
grep -v '^ *+' conftest.er1 >conftest.err
27856
cat conftest.err >&5
27857
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858
(exit $ac_status); } >/dev/null && {
27859
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27860
test ! -s conftest.err
27862
ac_header_preproc=yes
27864
$as_echo "$as_me: failed program was:" >&5
27865
sed 's/^/| /' conftest.$ac_ext >&5
27867
ac_header_preproc=no
27870
rm -f conftest.err conftest.$ac_ext
27871
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27872
$as_echo "$ac_header_preproc" >&6; }
27874
# So? What about this header?
27875
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27877
{ $as_echo "$as_me:$LINENO: WARNING: tcl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27878
$as_echo "$as_me: WARNING: tcl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27879
{ $as_echo "$as_me:$LINENO: WARNING: tcl.h: proceeding with the compiler's result" >&5
27880
$as_echo "$as_me: WARNING: tcl.h: proceeding with the compiler's result" >&2;}
27881
ac_header_preproc=yes
27884
{ $as_echo "$as_me:$LINENO: WARNING: tcl.h: present but cannot be compiled" >&5
27885
$as_echo "$as_me: WARNING: tcl.h: present but cannot be compiled" >&2;}
27886
{ $as_echo "$as_me:$LINENO: WARNING: tcl.h: check for missing prerequisite headers?" >&5
27887
$as_echo "$as_me: WARNING: tcl.h: check for missing prerequisite headers?" >&2;}
27888
{ $as_echo "$as_me:$LINENO: WARNING: tcl.h: see the Autoconf documentation" >&5
27889
$as_echo "$as_me: WARNING: tcl.h: see the Autoconf documentation" >&2;}
27890
{ $as_echo "$as_me:$LINENO: WARNING: tcl.h: section \"Present But Cannot Be Compiled\"" >&5
27891
$as_echo "$as_me: WARNING: tcl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27892
{ $as_echo "$as_me:$LINENO: WARNING: tcl.h: proceeding with the preprocessor's result" >&5
27893
$as_echo "$as_me: WARNING: tcl.h: proceeding with the preprocessor's result" >&2;}
27894
{ $as_echo "$as_me:$LINENO: WARNING: tcl.h: in the future, the compiler will take precedence" >&5
27895
$as_echo "$as_me: WARNING: tcl.h: in the future, the compiler will take precedence" >&2;}
27897
## --------------------------------------- ##
27898
## Report this to http://www.graphviz.org/ ##
27899
## --------------------------------------- ##
27901
) | sed "s/^/$as_me: WARNING: /" >&2
27904
{ $as_echo "$as_me:$LINENO: checking for tcl.h" >&5
27905
$as_echo_n "checking for tcl.h... " >&6; }
27906
if test "${ac_cv_header_tcl_h+set}" = set; then
27907
$as_echo_n "(cached) " >&6
27909
ac_cv_header_tcl_h=$ac_header_preproc
27911
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tcl_h" >&5
27912
$as_echo "$ac_cv_header_tcl_h" >&6; }
27915
if test "x$ac_cv_header_tcl_h" = x""yes; then
27919
{ $as_echo "$as_me:$LINENO: WARNING: Unable to find header tcl.h. The Tcl packages will not be built" >&5
27920
$as_echo "$as_me: WARNING: Unable to find header tcl.h. The Tcl packages will not be built" >&2;}
27921
use_tcl="No (missing header)"
27926
CPPFLAGS=$save_CPPFLAGS
27929
if test "x$use_tcl" = "x"; then
27930
# Some systems don't have Tcl. Don't build
27931
# the Tcl products if we don't have the library.
27932
if test -f ${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}/tclConfig.sh; then
27933
TCLCONFIG=${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}/tclConfig.sh
27935
if test -f ${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tclConfig.sh; then
27936
TCLCONFIG=${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tclConfig.sh
27938
if test -f ${TCLSH_EXEC_PREFIX}/lib/tclConfig.sh; then
27939
TCLCONFIG=${TCLSH_EXEC_PREFIX}/lib/tclConfig.sh
27943
if test "x$TCLCONFIG" != "x"; then
27944
{ $as_echo "$as_me:$LINENO: result: using $TCLCONFIG" >&5
27945
$as_echo "using $TCLCONFIG" >&6; }
27949
{ $as_echo "$as_me:$LINENO: WARNING: Unable to find tclConfig.sh. The Tcl packages will not be built" >&5
27950
$as_echo "$as_me: WARNING: Unable to find tclConfig.sh. The Tcl packages will not be built" >&2;}
27951
use_tcl="No (missing tclConfig.sh)"
27953
TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}"
27956
if test "x$use_tcl" = "x"; then
27957
# TCL STUBS support is required
27958
if test "x${TCL_SUPPORTS_STUBS}" = "x1"; then
27960
TCL_CFLAGS="${TCL_CFLAGS} -DUSE_TCL_STUBS"
27962
cat >>confdefs.h <<_ACEOF
27967
{ $as_echo "$as_me:$LINENO: WARNING: Tcl does not have STUBs support, perhaps it is too old? The Tcl packages will not be built" >&5
27968
$as_echo "$as_me: WARNING: Tcl does not have STUBs support, perhaps it is too old? The Tcl packages will not be built" >&2;}
27969
use_tcl="No (no STUBs support)"
27975
if test "x$use_tcl" = "xYes"; then
27984
#AC_SUBST(TCLSH_EXEC_PREFIX)
27992
#AC_SUBST(TCL_CXXFLAGS)
27994
#AC_SUBST(TCL_DBGX)
27995
#AC_SUBST(TCL_CFLAGS_DEBUG)
27996
#AC_SUBST(TCL_CFLAGS_OPTIMIZE)
27997
#AC_SUBST(TCL_SHARED_BUILD)
27998
#AC_SUBST(TCL_LIB_FILE)
27999
#AC_SUBST(TCL_NEEDS_EXP_FILE)
28000
#AC_SUBST(TCL_EXPORT_FILE_SUFFIX)
28001
#AC_SUBST(TCL_NEEDS_EXP_FILE)
28002
#AC_SUBST(TCL_EXPORT_FILE_SUFFIX)
28004
# TCL modules use stubs and don't need any other tcl libraries
28008
#AC_SUBST(TCL_PREFIX)
28009
#AC_SUBST(TCL_EXEC_PREFIX)
28010
#AC_SUBST(TCL_SHLIB_CFLAGS)
28011
#AC_SUBST(TCL_SHLIB_CXXFLAGS)
28012
#AC_SUBST(TCL_EXTRA_CFLAGS)
28013
#AC_SUBST(TCL_SHLIB_LD)
28014
#AC_SUBST(TCL_SHLIB_LD_LIBS)
28016
#AC_SUBST(TCL_DL_LIBS)
28017
#AC_SUBST(TCL_LD_FLAGS)
28018
#AC_SUBST(TCL_LD_SEARCH_FLAGS)
28019
#AC_SUBST(TCL_COMPAT_OBJS)
28020
#AC_SUBST(TCL_RANLIB)
28021
#AC_SUBST(TCL_LIB_FLAG)
28022
#AC_SUBST(TCL_BUILD_LIB_SPEC)
28023
#AC_SUBST(TCL_LIB_SPEC)
28024
#AC_SUBST(TCL_LIB_VERSIONS_OK)
28025
#AC_SUBST(TCL_SHARED_LIB_SUFFIX)
28026
#AC_SUBST(TCL_UNSHARED_LIB_SUFFIX)
28028
#AC_SUBST(TCL_PACKAGE_PATH)
28029
#AC_SUBST(TCL_SUPPORTS_STUBS)
28030
#AC_SUBST(TCL_STUB_LIB_FILE)
28031
#AC_SUBST(TCL_STUB_LIB_FLAG)
28032
#AC_SUBST(TCL_BUILD_STUB_LIB_SPEC)
28034
#AC_SUBST(TCL_BUILD_STUB_LIB_PATH)
28035
#AC_SUBST(TCL_STUB_LIB_PATH)
28038
if test "x$use_tcl" != "xYes"; then
28039
{ $as_echo "$as_me:$LINENO: WARNING: No Tcl. The Tk packages will not be built either" >&5
28040
$as_echo "$as_me: WARNING: No Tcl. The Tk packages will not be built either" >&2;}
28041
use_tk="No (no tcl)"
28044
if test "x$use_tk" = "x"; then
28046
# Check whether --with-wish was given.
28047
if test "${with_wish+set}" = set; then
28048
withval=$with_wish; WISH=$withval
28051
if test "x$WISH" = "x"; then
28052
for ac_prog in wish8.6 wish8.5 wish8.4 wish8.3 wish
28054
# Extract the first word of "$ac_prog", so it can be a program name with args.
28055
set dummy $ac_prog; ac_word=$2
28056
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28057
$as_echo_n "checking for $ac_word... " >&6; }
28058
if test "${ac_cv_path_WISH+set}" = set; then
28059
$as_echo_n "(cached) " >&6
28063
ac_cv_path_WISH="$WISH" # Let the user override the test with a path.
28066
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28067
for as_dir in $PATH
28070
test -z "$as_dir" && as_dir=.
28071
for ac_exec_ext in '' $ac_executable_extensions; do
28072
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28073
ac_cv_path_WISH="$as_dir/$ac_word$ac_exec_ext"
28074
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28084
WISH=$ac_cv_path_WISH
28085
if test -n "$WISH"; then
28086
{ $as_echo "$as_me:$LINENO: result: $WISH" >&5
28087
$as_echo "$WISH" >&6; }
28089
{ $as_echo "$as_me:$LINENO: result: no" >&5
28090
$as_echo "no" >&6; }
28094
test -n "$WISH" && break
28097
if test "x$WISH" = "x"; then
28098
{ $as_echo "$as_me:$LINENO: WARNING: Unable to find a wish. The Tk packages will not be built" >&5
28099
$as_echo "$as_me: WARNING: Unable to find a wish. The Tk packages will not be built" >&2;}
28100
use_tk="No (wish not found)"
28105
if test "x$use_tk" = "x"; then
28106
#TK_VERSION_FOUND=`echo 'puts [[info tkversion]]' | $WISH`
28108
# No such var as tkversion. Use tclversion instead.
28109
TK_VERSION_FOUND=${TCL_VERSION_FOUND}
28111
# can't assume ksh on all architectures
28112
# WISH_EXEC_PREFIX=${WISH%%/bin/tclsh.*}
28113
# so use sed instead
28114
WISH_EXEC_PREFIX=`echo $WISH|sed -e 's%/bin/wish.*$%%'`
28116
if test -f ${WISH_EXEC_PREFIX}/include/tk${TK_VERSION_FOUND}/tk.h; then
28117
TK_INCLUDES="-I${WISH_EXEC_PREFIX}/include/tk${TK_VERSION_FOUND} -I${WISH_EXEC_PREFIX}/include/tk${TK_VERSION_FOUND}/generic -I${WISH_EXEC_PREFIX}/include/tk${TK_VERSION_FOUND}/unix"
28119
if test "x${WISH_EXEC_PREFIX}" != "x/usr" -a -f ${WISH_EXEC_PREFIX}/include/tk.h; then
28120
TK_INCLUDES=-I${WISH_EXEC_PREFIX}/include
28123
if test "x$TK_INCLUDES" != "x" ; then
28124
{ $as_echo "$as_me:$LINENO: result: using tk headers from $TK_INCLUDES" >&5
28125
$as_echo "using tk headers from $TK_INCLUDES" >&6; }
28128
save_CPPFLAGS=$CPPFLAGS
28129
CPPFLAGS="$CPPFLAGS $TCL_INCLUDES $TK_INCLUDES $X_CFLAGS"
28130
if test "${ac_cv_header_tk_h+set}" = set; then
28131
{ $as_echo "$as_me:$LINENO: checking for tk.h" >&5
28132
$as_echo_n "checking for tk.h... " >&6; }
28133
if test "${ac_cv_header_tk_h+set}" = set; then
28134
$as_echo_n "(cached) " >&6
28136
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
28137
$as_echo "$ac_cv_header_tk_h" >&6; }
28139
# Is the header compilable?
28140
{ $as_echo "$as_me:$LINENO: checking tk.h usability" >&5
28141
$as_echo_n "checking tk.h usability... " >&6; }
28142
cat >conftest.$ac_ext <<_ACEOF
28145
cat confdefs.h >>conftest.$ac_ext
28146
cat >>conftest.$ac_ext <<_ACEOF
28147
/* end confdefs.h. */
28148
$ac_includes_default
28151
rm -f conftest.$ac_objext
28152
if { (ac_try="$ac_compile"
28153
case "(($ac_try" in
28154
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28155
*) ac_try_echo=$ac_try;;
28157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28158
$as_echo "$ac_try_echo") >&5
28159
(eval "$ac_compile") 2>conftest.er1
28161
grep -v '^ *+' conftest.er1 >conftest.err
28163
cat conftest.err >&5
28164
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165
(exit $ac_status); } && {
28166
test -z "$ac_c_werror_flag" ||
28167
test ! -s conftest.err
28168
} && test -s conftest.$ac_objext; then
28169
ac_header_compiler=yes
28171
$as_echo "$as_me: failed program was:" >&5
28172
sed 's/^/| /' conftest.$ac_ext >&5
28174
ac_header_compiler=no
28177
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28178
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28179
$as_echo "$ac_header_compiler" >&6; }
28181
# Is the header present?
28182
{ $as_echo "$as_me:$LINENO: checking tk.h presence" >&5
28183
$as_echo_n "checking tk.h presence... " >&6; }
28184
cat >conftest.$ac_ext <<_ACEOF
28187
cat confdefs.h >>conftest.$ac_ext
28188
cat >>conftest.$ac_ext <<_ACEOF
28189
/* end confdefs.h. */
28192
if { (ac_try="$ac_cpp conftest.$ac_ext"
28193
case "(($ac_try" in
28194
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195
*) ac_try_echo=$ac_try;;
28197
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28198
$as_echo "$ac_try_echo") >&5
28199
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28201
grep -v '^ *+' conftest.er1 >conftest.err
28203
cat conftest.err >&5
28204
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205
(exit $ac_status); } >/dev/null && {
28206
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28207
test ! -s conftest.err
28209
ac_header_preproc=yes
28211
$as_echo "$as_me: failed program was:" >&5
28212
sed 's/^/| /' conftest.$ac_ext >&5
28214
ac_header_preproc=no
28217
rm -f conftest.err conftest.$ac_ext
28218
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28219
$as_echo "$ac_header_preproc" >&6; }
28221
# So? What about this header?
28222
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28224
{ $as_echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
28225
$as_echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28226
{ $as_echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
28227
$as_echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
28228
ac_header_preproc=yes
28231
{ $as_echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
28232
$as_echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
28233
{ $as_echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
28234
$as_echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
28235
{ $as_echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
28236
$as_echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
28237
{ $as_echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
28238
$as_echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
28239
{ $as_echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
28240
$as_echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
28241
{ $as_echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
28242
$as_echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
28244
## --------------------------------------- ##
28245
## Report this to http://www.graphviz.org/ ##
28246
## --------------------------------------- ##
28248
) | sed "s/^/$as_me: WARNING: /" >&2
28251
{ $as_echo "$as_me:$LINENO: checking for tk.h" >&5
28252
$as_echo_n "checking for tk.h... " >&6; }
28253
if test "${ac_cv_header_tk_h+set}" = set; then
28254
$as_echo_n "(cached) " >&6
28256
ac_cv_header_tk_h=$ac_header_preproc
28258
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
28259
$as_echo "$ac_cv_header_tk_h" >&6; }
28262
if test "x$ac_cv_header_tk_h" = x""yes; then
28266
{ $as_echo "$as_me:$LINENO: WARNING: Unable to find header tk.h. The Tk packages will not be built" >&5
28267
$as_echo "$as_me: WARNING: Unable to find header tk.h. The Tk packages will not be built" >&2;}
28268
use_tk="No (missing header)"
28274
for ac_header in tk.h tkInt.h
28276
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28277
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28278
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28279
$as_echo_n "checking for $ac_header... " >&6; }
28280
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28281
$as_echo_n "(cached) " >&6
28283
ac_res=`eval 'as_val=${'$as_ac_Header'}
28284
$as_echo "$as_val"'`
28285
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28286
$as_echo "$ac_res" >&6; }
28288
# Is the header compilable?
28289
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
28290
$as_echo_n "checking $ac_header usability... " >&6; }
28291
cat >conftest.$ac_ext <<_ACEOF
28294
cat confdefs.h >>conftest.$ac_ext
28295
cat >>conftest.$ac_ext <<_ACEOF
28296
/* end confdefs.h. */
28297
$ac_includes_default
28298
#include <$ac_header>
28300
rm -f conftest.$ac_objext
28301
if { (ac_try="$ac_compile"
28302
case "(($ac_try" in
28303
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28304
*) ac_try_echo=$ac_try;;
28306
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28307
$as_echo "$ac_try_echo") >&5
28308
(eval "$ac_compile") 2>conftest.er1
28310
grep -v '^ *+' conftest.er1 >conftest.err
28312
cat conftest.err >&5
28313
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314
(exit $ac_status); } && {
28315
test -z "$ac_c_werror_flag" ||
28316
test ! -s conftest.err
28317
} && test -s conftest.$ac_objext; then
28318
ac_header_compiler=yes
28320
$as_echo "$as_me: failed program was:" >&5
28321
sed 's/^/| /' conftest.$ac_ext >&5
28323
ac_header_compiler=no
28326
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28327
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28328
$as_echo "$ac_header_compiler" >&6; }
28330
# Is the header present?
28331
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
28332
$as_echo_n "checking $ac_header presence... " >&6; }
28333
cat >conftest.$ac_ext <<_ACEOF
28336
cat confdefs.h >>conftest.$ac_ext
28337
cat >>conftest.$ac_ext <<_ACEOF
28338
/* end confdefs.h. */
28339
#include <$ac_header>
28341
if { (ac_try="$ac_cpp conftest.$ac_ext"
28342
case "(($ac_try" in
28343
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28344
*) ac_try_echo=$ac_try;;
28346
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28347
$as_echo "$ac_try_echo") >&5
28348
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28350
grep -v '^ *+' conftest.er1 >conftest.err
28352
cat conftest.err >&5
28353
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354
(exit $ac_status); } >/dev/null && {
28355
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28356
test ! -s conftest.err
28358
ac_header_preproc=yes
28360
$as_echo "$as_me: failed program was:" >&5
28361
sed 's/^/| /' conftest.$ac_ext >&5
28363
ac_header_preproc=no
28366
rm -f conftest.err conftest.$ac_ext
28367
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28368
$as_echo "$ac_header_preproc" >&6; }
28370
# So? What about this header?
28371
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28373
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28374
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28375
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28376
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28377
ac_header_preproc=yes
28380
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28381
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28382
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28383
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28384
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28385
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28386
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28387
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28388
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28389
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28390
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28391
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28393
## --------------------------------------- ##
28394
## Report this to http://www.graphviz.org/ ##
28395
## --------------------------------------- ##
28397
) | sed "s/^/$as_me: WARNING: /" >&2
28400
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28401
$as_echo_n "checking for $ac_header... " >&6; }
28402
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28403
$as_echo_n "(cached) " >&6
28405
eval "$as_ac_Header=\$ac_header_preproc"
28407
ac_res=`eval 'as_val=${'$as_ac_Header'}
28408
$as_echo "$as_val"'`
28409
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28410
$as_echo "$ac_res" >&6; }
28413
as_val=`eval 'as_val=${'$as_ac_Header'}
28414
$as_echo "$as_val"'`
28415
if test "x$as_val" = x""yes; then
28416
cat >>confdefs.h <<_ACEOF
28417
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28424
CPPFLAGS=$save_CPPFLAGS
28427
if test "x$use_tk" = "x"; then
28428
# Some systems don't have Tcl. Don't build
28429
# Some systems have Tcl, but not Tk. Don't build
28430
# the Tk products if we don't have the library.
28431
if test -f ${WISH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tk${TK_VERSION_FOUND}/tkConfig.sh; then
28432
TKCONFIG=${WISH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tk${TK_VERSION_FOUND}/tkConfig.sh
28434
if test -f ${WISH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tkConfig.sh; then
28435
TKCONFIG=${WISH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tkConfig.sh
28437
if test -f ${WISH_EXEC_PREFIX}/lib/tkConfig.sh; then
28438
TKCONFIG=${WISH_EXEC_PREFIX}/lib/tkConfig.sh
28442
if test "x$TKCONFIG" != "x"; then
28443
{ $as_echo "$as_me:$LINENO: result: using $TKCONFIG" >&5
28444
$as_echo "using $TKCONFIG" >&6; }
28448
{ $as_echo "$as_me:$LINENO: WARNING: Unable to find tkConfig.sh. The Tk packages will not be built" >&5
28449
$as_echo "$as_me: WARNING: Unable to find tkConfig.sh. The Tk packages will not be built" >&2;}
28450
use_tk="No (missing tkConfig.sh)"
28454
if test "x$use_tk" = "x"; then
28456
TK_SUBDIRS="tkstubs tkspline"
28460
if test "x$use_tk" = "xYes"; then
28469
# NB. No TK_SUPPORTS_STUBS set by tkConfig.sh
28470
if test "${TCL_SUPPORTS_STUBS}" = "1"; then
28471
TK_CFLAGS="${TK_CFLAGS} -DUSE_TK_STUBS"
28479
#AC_SUBST(TK_SHARED_BUILD)
28480
#AC_SUBST(TK_LIB_FILE)
28482
#AC_SUBST(TK_PREFIX)
28483
#AC_SUBST(TK_EXEC_PREFIX)
28485
#AC_SUBST(TK_XLIBSW)
28486
#AC_SUBST(TK_BUILD_LIB_SPEC)
28490
#AC_SUBST(TK_SUPPORTS_STUBS)
28491
#AC_SUBST(TK_STUB_LIB_FILE)
28492
#AC_SUBST(TK_STUB_LIB_FLAG)
28493
#AC_SUBST(TK_BUILD_STUB_LIB_SPEC)
28495
#AC_SUBST(TK_BUILD_STUB_LIB_PATH)
28496
#AC_SUBST(TK_STUB_LIB_PATH)
28500
# Check whether --with-extraincludedir was given.
28501
if test "${with_extraincludedir+set}" = set; then
28502
withval=$with_extraincludedir; CPPFLAGS="$CPPFLAGS -I$withval"
28507
# Check whether --with-extralibdir was given.
28508
if test "${with_extralibdir+set}" = set; then
28509
withval=$with_extralibdir; LDFLAGS="$LDFLAGS -L$withval"
28517
{ $as_echo "$as_me:$LINENO: checking for connect" >&5
28518
$as_echo_n "checking for connect... " >&6; }
28519
if test "${ac_cv_func_connect+set}" = set; then
28520
$as_echo_n "(cached) " >&6
28522
cat >conftest.$ac_ext <<_ACEOF
28525
cat confdefs.h >>conftest.$ac_ext
28526
cat >>conftest.$ac_ext <<_ACEOF
28527
/* end confdefs.h. */
28528
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
28529
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28530
#define connect innocuous_connect
28532
/* System header to define __stub macros and hopefully few prototypes,
28533
which can conflict with char connect (); below.
28534
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28535
<limits.h> exists even on freestanding compilers. */
28538
# include <limits.h>
28540
# include <assert.h>
28545
/* Override any GCC internal prototype to avoid an error.
28546
Use char because int might match the return type of a GCC
28547
builtin and then its argument prototype would still apply. */
28552
/* The GNU C library defines this for functions which it implements
28553
to always fail with ENOSYS. Some functions are actually named
28554
something starting with __ and the normal name is an alias. */
28555
#if defined __stub_connect || defined __stub___connect
28567
rm -f conftest.$ac_objext conftest$ac_exeext
28568
if { (ac_try="$ac_link"
28569
case "(($ac_try" in
28570
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28571
*) ac_try_echo=$ac_try;;
28573
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28574
$as_echo "$ac_try_echo") >&5
28575
(eval "$ac_link") 2>conftest.er1
28577
grep -v '^ *+' conftest.er1 >conftest.err
28579
cat conftest.err >&5
28580
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581
(exit $ac_status); } && {
28582
test -z "$ac_c_werror_flag" ||
28583
test ! -s conftest.err
28584
} && test -s conftest$ac_exeext && {
28585
test "$cross_compiling" = yes ||
28586
$as_test_x conftest$ac_exeext
28588
ac_cv_func_connect=yes
28590
$as_echo "$as_me: failed program was:" >&5
28591
sed 's/^/| /' conftest.$ac_ext >&5
28593
ac_cv_func_connect=no
28596
rm -rf conftest.dSYM
28597
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28598
conftest$ac_exeext conftest.$ac_ext
28600
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28601
$as_echo "$ac_cv_func_connect" >&6; }
28602
if test "x$ac_cv_func_connect" = x""yes; then
28608
if test "$tk_checkSocket" = 1; then
28609
{ $as_echo "$as_me:$LINENO: checking for main in -lsocket" >&5
28610
$as_echo_n "checking for main in -lsocket... " >&6; }
28611
if test "${ac_cv_lib_socket_main+set}" = set; then
28612
$as_echo_n "(cached) " >&6
28614
ac_check_lib_save_LIBS=$LIBS
28615
LIBS="-lsocket $LIBS"
28616
cat >conftest.$ac_ext <<_ACEOF
28619
cat confdefs.h >>conftest.$ac_ext
28620
cat >>conftest.$ac_ext <<_ACEOF
28621
/* end confdefs.h. */
28632
rm -f conftest.$ac_objext conftest$ac_exeext
28633
if { (ac_try="$ac_link"
28634
case "(($ac_try" in
28635
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28636
*) ac_try_echo=$ac_try;;
28638
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28639
$as_echo "$ac_try_echo") >&5
28640
(eval "$ac_link") 2>conftest.er1
28642
grep -v '^ *+' conftest.er1 >conftest.err
28644
cat conftest.err >&5
28645
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646
(exit $ac_status); } && {
28647
test -z "$ac_c_werror_flag" ||
28648
test ! -s conftest.err
28649
} && test -s conftest$ac_exeext && {
28650
test "$cross_compiling" = yes ||
28651
$as_test_x conftest$ac_exeext
28653
ac_cv_lib_socket_main=yes
28655
$as_echo "$as_me: failed program was:" >&5
28656
sed 's/^/| /' conftest.$ac_ext >&5
28658
ac_cv_lib_socket_main=no
28661
rm -rf conftest.dSYM
28662
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28663
conftest$ac_exeext conftest.$ac_ext
28664
LIBS=$ac_check_lib_save_LIBS
28666
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
28667
$as_echo "$ac_cv_lib_socket_main" >&6; }
28668
if test "x$ac_cv_lib_socket_main" = x""yes; then
28669
LIBS="$LIBS -lsocket"
28675
if test "$tk_checkBoth" = 1; then
28677
LIBS="$LIBS -lsocket -lnsl"
28678
{ $as_echo "$as_me:$LINENO: checking for accept" >&5
28679
$as_echo_n "checking for accept... " >&6; }
28680
if test "${ac_cv_func_accept+set}" = set; then
28681
$as_echo_n "(cached) " >&6
28683
cat >conftest.$ac_ext <<_ACEOF
28686
cat confdefs.h >>conftest.$ac_ext
28687
cat >>conftest.$ac_ext <<_ACEOF
28688
/* end confdefs.h. */
28689
/* Define accept to an innocuous variant, in case <limits.h> declares accept.
28690
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28691
#define accept innocuous_accept
28693
/* System header to define __stub macros and hopefully few prototypes,
28694
which can conflict with char accept (); below.
28695
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28696
<limits.h> exists even on freestanding compilers. */
28699
# include <limits.h>
28701
# include <assert.h>
28706
/* Override any GCC internal prototype to avoid an error.
28707
Use char because int might match the return type of a GCC
28708
builtin and then its argument prototype would still apply. */
28713
/* The GNU C library defines this for functions which it implements
28714
to always fail with ENOSYS. Some functions are actually named
28715
something starting with __ and the normal name is an alias. */
28716
#if defined __stub_accept || defined __stub___accept
28728
rm -f conftest.$ac_objext conftest$ac_exeext
28729
if { (ac_try="$ac_link"
28730
case "(($ac_try" in
28731
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28732
*) ac_try_echo=$ac_try;;
28734
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28735
$as_echo "$ac_try_echo") >&5
28736
(eval "$ac_link") 2>conftest.er1
28738
grep -v '^ *+' conftest.er1 >conftest.err
28740
cat conftest.err >&5
28741
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742
(exit $ac_status); } && {
28743
test -z "$ac_c_werror_flag" ||
28744
test ! -s conftest.err
28745
} && test -s conftest$ac_exeext && {
28746
test "$cross_compiling" = yes ||
28747
$as_test_x conftest$ac_exeext
28749
ac_cv_func_accept=yes
28751
$as_echo "$as_me: failed program was:" >&5
28752
sed 's/^/| /' conftest.$ac_ext >&5
28754
ac_cv_func_accept=no
28757
rm -rf conftest.dSYM
28758
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28759
conftest$ac_exeext conftest.$ac_ext
28761
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
28762
$as_echo "$ac_cv_func_accept" >&6; }
28763
if test "x$ac_cv_func_accept" = x""yes; then
28770
{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
28771
$as_echo_n "checking for gethostbyname... " >&6; }
28772
if test "${ac_cv_func_gethostbyname+set}" = set; then
28773
$as_echo_n "(cached) " >&6
28775
cat >conftest.$ac_ext <<_ACEOF
28778
cat confdefs.h >>conftest.$ac_ext
28779
cat >>conftest.$ac_ext <<_ACEOF
28780
/* end confdefs.h. */
28781
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28782
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28783
#define gethostbyname innocuous_gethostbyname
28785
/* System header to define __stub macros and hopefully few prototypes,
28786
which can conflict with char gethostbyname (); below.
28787
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28788
<limits.h> exists even on freestanding compilers. */
28791
# include <limits.h>
28793
# include <assert.h>
28796
#undef gethostbyname
28798
/* Override any GCC internal prototype to avoid an error.
28799
Use char because int might match the return type of a GCC
28800
builtin and then its argument prototype would still apply. */
28804
char gethostbyname ();
28805
/* The GNU C library defines this for functions which it implements
28806
to always fail with ENOSYS. Some functions are actually named
28807
something starting with __ and the normal name is an alias. */
28808
#if defined __stub_gethostbyname || defined __stub___gethostbyname
28815
return gethostbyname ();
28820
rm -f conftest.$ac_objext conftest$ac_exeext
28821
if { (ac_try="$ac_link"
28822
case "(($ac_try" in
28823
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28824
*) ac_try_echo=$ac_try;;
28826
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28827
$as_echo "$ac_try_echo") >&5
28828
(eval "$ac_link") 2>conftest.er1
28830
grep -v '^ *+' conftest.er1 >conftest.err
28832
cat conftest.err >&5
28833
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834
(exit $ac_status); } && {
28835
test -z "$ac_c_werror_flag" ||
28836
test ! -s conftest.err
28837
} && test -s conftest$ac_exeext && {
28838
test "$cross_compiling" = yes ||
28839
$as_test_x conftest$ac_exeext
28841
ac_cv_func_gethostbyname=yes
28843
$as_echo "$as_me: failed program was:" >&5
28844
sed 's/^/| /' conftest.$ac_ext >&5
28846
ac_cv_func_gethostbyname=no
28849
rm -rf conftest.dSYM
28850
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28851
conftest$ac_exeext conftest.$ac_ext
28853
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28854
$as_echo "$ac_cv_func_gethostbyname" >&6; }
28855
if test "x$ac_cv_func_gethostbyname" = x""yes; then
28858
{ $as_echo "$as_me:$LINENO: checking for main in -lnsl" >&5
28859
$as_echo_n "checking for main in -lnsl... " >&6; }
28860
if test "${ac_cv_lib_nsl_main+set}" = set; then
28861
$as_echo_n "(cached) " >&6
28863
ac_check_lib_save_LIBS=$LIBS
28865
cat >conftest.$ac_ext <<_ACEOF
28868
cat confdefs.h >>conftest.$ac_ext
28869
cat >>conftest.$ac_ext <<_ACEOF
28870
/* end confdefs.h. */
28881
rm -f conftest.$ac_objext conftest$ac_exeext
28882
if { (ac_try="$ac_link"
28883
case "(($ac_try" in
28884
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28885
*) ac_try_echo=$ac_try;;
28887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28888
$as_echo "$ac_try_echo") >&5
28889
(eval "$ac_link") 2>conftest.er1
28891
grep -v '^ *+' conftest.er1 >conftest.err
28893
cat conftest.err >&5
28894
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895
(exit $ac_status); } && {
28896
test -z "$ac_c_werror_flag" ||
28897
test ! -s conftest.err
28898
} && test -s conftest$ac_exeext && {
28899
test "$cross_compiling" = yes ||
28900
$as_test_x conftest$ac_exeext
28902
ac_cv_lib_nsl_main=yes
28904
$as_echo "$as_me: failed program was:" >&5
28905
sed 's/^/| /' conftest.$ac_ext >&5
28907
ac_cv_lib_nsl_main=no
28910
rm -rf conftest.dSYM
28911
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28912
conftest$ac_exeext conftest.$ac_ext
28913
LIBS=$ac_check_lib_save_LIBS
28915
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
28916
$as_echo "$ac_cv_lib_nsl_main" >&6; }
28917
if test "x$ac_cv_lib_nsl_main" = x""yes; then
28929
# Check whether --with-expat was given.
28930
if test "${with_expat+set}" = set; then
28931
withval=$with_expat;
28937
if test "x$with_expat" != "xyes"; then
28938
use_expat="No (disabled)"
28941
save_CPPFLAGS=$CPPFLAGS
28942
save_LDFLAGS=$LDFLAGS
28943
# Extract the first word of "expat-config", so it can be a program name with args.
28944
set dummy expat-config; ac_word=$2
28945
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28946
$as_echo_n "checking for $ac_word... " >&6; }
28947
if test "${ac_cv_path_EXPAT_CONFIG+set}" = set; then
28948
$as_echo_n "(cached) " >&6
28950
case $EXPAT_CONFIG in
28952
ac_cv_path_EXPAT_CONFIG="$EXPAT_CONFIG" # Let the user override the test with a path.
28955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28956
for as_dir in $PATH
28959
test -z "$as_dir" && as_dir=.
28960
for ac_exec_ext in '' $ac_executable_extensions; do
28961
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28962
ac_cv_path_EXPAT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28963
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28973
EXPAT_CONFIG=$ac_cv_path_EXPAT_CONFIG
28974
if test -n "$EXPAT_CONFIG"; then
28975
{ $as_echo "$as_me:$LINENO: result: $EXPAT_CONFIG" >&5
28976
$as_echo "$EXPAT_CONFIG" >&6; }
28978
{ $as_echo "$as_me:$LINENO: result: no" >&5
28979
$as_echo "no" >&6; }
28983
if test -n "$EXPAT_CONFIG"; then
28984
EXPAT_INCLUDES=`$EXPAT_CONFIG --cflags`
28985
EXPAT_PREFIX=`$EXPAT_CONFIG --prefix`
28986
if test "${EXPAT_PREFIX}/lib" != "/usr/lib" ; then
28987
EXPAT_LIBS="-L${EXPAT_PREFIX}/lib"
28994
# Check whether --with-expatincludedir was given.
28995
if test "${with_expatincludedir+set}" = set; then
28996
withval=$with_expatincludedir; EXPAT_INCLUDES="-I$withval"
28999
CPPFLAGS="$CPPFLAGS $EXPAT_INCLUDES"
29000
EXPAT_LIBDIR="/usr/lib$LIBPOSTFIX"
29002
# Check whether --with-expatlibdir was given.
29003
if test "${with_expatlibdir+set}" = set; then
29004
withval=$with_expatlibdir; EXPAT_LIBDIR="$withval"
29007
if test "$EXPAT_LIBDIR" != "/usr/lib$LIBPOSTFIX"; then
29008
EXPAT_LIBS="-L$EXPAT_LIBDIR"
29009
LDFLAGS="$LDFLAGS $EXPAT_LIBS"
29012
for ac_header in expat.h
29014
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29015
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29016
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29017
$as_echo_n "checking for $ac_header... " >&6; }
29018
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29019
$as_echo_n "(cached) " >&6
29021
ac_res=`eval 'as_val=${'$as_ac_Header'}
29022
$as_echo "$as_val"'`
29023
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29024
$as_echo "$ac_res" >&6; }
29026
# Is the header compilable?
29027
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29028
$as_echo_n "checking $ac_header usability... " >&6; }
29029
cat >conftest.$ac_ext <<_ACEOF
29032
cat confdefs.h >>conftest.$ac_ext
29033
cat >>conftest.$ac_ext <<_ACEOF
29034
/* end confdefs.h. */
29035
$ac_includes_default
29036
#include <$ac_header>
29038
rm -f conftest.$ac_objext
29039
if { (ac_try="$ac_compile"
29040
case "(($ac_try" in
29041
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29042
*) ac_try_echo=$ac_try;;
29044
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29045
$as_echo "$ac_try_echo") >&5
29046
(eval "$ac_compile") 2>conftest.er1
29048
grep -v '^ *+' conftest.er1 >conftest.err
29050
cat conftest.err >&5
29051
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29052
(exit $ac_status); } && {
29053
test -z "$ac_c_werror_flag" ||
29054
test ! -s conftest.err
29055
} && test -s conftest.$ac_objext; then
29056
ac_header_compiler=yes
29058
$as_echo "$as_me: failed program was:" >&5
29059
sed 's/^/| /' conftest.$ac_ext >&5
29061
ac_header_compiler=no
29064
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29065
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29066
$as_echo "$ac_header_compiler" >&6; }
29068
# Is the header present?
29069
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29070
$as_echo_n "checking $ac_header presence... " >&6; }
29071
cat >conftest.$ac_ext <<_ACEOF
29074
cat confdefs.h >>conftest.$ac_ext
29075
cat >>conftest.$ac_ext <<_ACEOF
29076
/* end confdefs.h. */
29077
#include <$ac_header>
29079
if { (ac_try="$ac_cpp conftest.$ac_ext"
29080
case "(($ac_try" in
29081
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29082
*) ac_try_echo=$ac_try;;
29084
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29085
$as_echo "$ac_try_echo") >&5
29086
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29088
grep -v '^ *+' conftest.er1 >conftest.err
29090
cat conftest.err >&5
29091
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092
(exit $ac_status); } >/dev/null && {
29093
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29094
test ! -s conftest.err
29096
ac_header_preproc=yes
29098
$as_echo "$as_me: failed program was:" >&5
29099
sed 's/^/| /' conftest.$ac_ext >&5
29101
ac_header_preproc=no
29104
rm -f conftest.err conftest.$ac_ext
29105
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29106
$as_echo "$ac_header_preproc" >&6; }
29108
# So? What about this header?
29109
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29111
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29112
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29113
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29114
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29115
ac_header_preproc=yes
29118
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29119
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29120
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29121
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29122
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29123
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29124
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29125
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29126
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29127
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29128
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29129
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29131
## --------------------------------------- ##
29132
## Report this to http://www.graphviz.org/ ##
29133
## --------------------------------------- ##
29135
) | sed "s/^/$as_me: WARNING: /" >&2
29138
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29139
$as_echo_n "checking for $ac_header... " >&6; }
29140
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29141
$as_echo_n "(cached) " >&6
29143
eval "$as_ac_Header=\$ac_header_preproc"
29145
ac_res=`eval 'as_val=${'$as_ac_Header'}
29146
$as_echo "$as_val"'`
29147
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29148
$as_echo "$ac_res" >&6; }
29151
as_val=`eval 'as_val=${'$as_ac_Header'}
29152
$as_echo "$as_val"'`
29153
if test "x$as_val" = x""yes; then
29154
cat >>confdefs.h <<_ACEOF
29155
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29159
use_expat="No (missing header)"
29160
{ $as_echo "$as_me:$LINENO: WARNING: Optional expat library not available - missing headers" >&5
29161
$as_echo "$as_me: WARNING: Optional expat library not available - missing headers" >&2;}
29166
{ $as_echo "$as_me:$LINENO: checking for main in -lexpat" >&5
29167
$as_echo_n "checking for main in -lexpat... " >&6; }
29168
if test "${ac_cv_lib_expat_main+set}" = set; then
29169
$as_echo_n "(cached) " >&6
29171
ac_check_lib_save_LIBS=$LIBS
29172
LIBS="-lexpat $LIBS"
29173
cat >conftest.$ac_ext <<_ACEOF
29176
cat confdefs.h >>conftest.$ac_ext
29177
cat >>conftest.$ac_ext <<_ACEOF
29178
/* end confdefs.h. */
29189
rm -f conftest.$ac_objext conftest$ac_exeext
29190
if { (ac_try="$ac_link"
29191
case "(($ac_try" in
29192
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193
*) ac_try_echo=$ac_try;;
29195
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29196
$as_echo "$ac_try_echo") >&5
29197
(eval "$ac_link") 2>conftest.er1
29199
grep -v '^ *+' conftest.er1 >conftest.err
29201
cat conftest.err >&5
29202
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203
(exit $ac_status); } && {
29204
test -z "$ac_c_werror_flag" ||
29205
test ! -s conftest.err
29206
} && test -s conftest$ac_exeext && {
29207
test "$cross_compiling" = yes ||
29208
$as_test_x conftest$ac_exeext
29210
ac_cv_lib_expat_main=yes
29212
$as_echo "$as_me: failed program was:" >&5
29213
sed 's/^/| /' conftest.$ac_ext >&5
29215
ac_cv_lib_expat_main=no
29218
rm -rf conftest.dSYM
29219
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29220
conftest$ac_exeext conftest.$ac_ext
29221
LIBS=$ac_check_lib_save_LIBS
29223
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_expat_main" >&5
29224
$as_echo "$ac_cv_lib_expat_main" >&6; }
29225
if test "x$ac_cv_lib_expat_main" = x""yes; then
29226
EXPAT_LIBS="$EXPAT_LIBS -lexpat"
29228
use_expat="No (missing library)"
29229
{ $as_echo "$as_me:$LINENO: WARNING: Optional expat library not available" >&5
29230
$as_echo "$as_me: WARNING: Optional expat library not available" >&2;}
29233
LDFLAGS=$save_LDFLAGS
29234
CPPFLAGS=$save_CPPFLAGS
29236
if test "x$use_expat" = "x"; then
29239
cat >>confdefs.h <<_ACEOF
29240
#define HAVE_EXPAT 1
29249
# Check whether --with-devil was given.
29250
if test "${with_devil+set}" = set; then
29251
withval=$with_devil;
29257
if test "x$with_devil" != "xyes"; then
29258
use_devil="No (disabled)"
29262
# Check whether --with-devilincludedir was given.
29263
if test "${with_devilincludedir+set}" = set; then
29264
withval=$with_devilincludedir; DEVIL_INCLUDES="-I$withval"
29268
# Check whether --with-devillibdir was given.
29269
if test "${with_devillibdir+set}" = set; then
29270
withval=$with_devillibdir; DEVIL_LIBS="-L$withval"
29274
save_CPPFLAGS=$CPPFLAGS
29275
save_LDFLAGS=$LDFLAGS
29276
CPPFLAGS="$CPPFLAGS $DEVIL_INCLUDES"
29277
LDFLAGS="$LDFLAGS $DEVIL_LIBS"
29279
for ac_header in IL/il.h
29281
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29282
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29283
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29284
$as_echo_n "checking for $ac_header... " >&6; }
29285
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29286
$as_echo_n "(cached) " >&6
29288
ac_res=`eval 'as_val=${'$as_ac_Header'}
29289
$as_echo "$as_val"'`
29290
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29291
$as_echo "$ac_res" >&6; }
29293
# Is the header compilable?
29294
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29295
$as_echo_n "checking $ac_header usability... " >&6; }
29296
cat >conftest.$ac_ext <<_ACEOF
29299
cat confdefs.h >>conftest.$ac_ext
29300
cat >>conftest.$ac_ext <<_ACEOF
29301
/* end confdefs.h. */
29302
$ac_includes_default
29303
#include <$ac_header>
29305
rm -f conftest.$ac_objext
29306
if { (ac_try="$ac_compile"
29307
case "(($ac_try" in
29308
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29309
*) ac_try_echo=$ac_try;;
29311
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29312
$as_echo "$ac_try_echo") >&5
29313
(eval "$ac_compile") 2>conftest.er1
29315
grep -v '^ *+' conftest.er1 >conftest.err
29317
cat conftest.err >&5
29318
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319
(exit $ac_status); } && {
29320
test -z "$ac_c_werror_flag" ||
29321
test ! -s conftest.err
29322
} && test -s conftest.$ac_objext; then
29323
ac_header_compiler=yes
29325
$as_echo "$as_me: failed program was:" >&5
29326
sed 's/^/| /' conftest.$ac_ext >&5
29328
ac_header_compiler=no
29331
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29333
$as_echo "$ac_header_compiler" >&6; }
29335
# Is the header present?
29336
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29337
$as_echo_n "checking $ac_header presence... " >&6; }
29338
cat >conftest.$ac_ext <<_ACEOF
29341
cat confdefs.h >>conftest.$ac_ext
29342
cat >>conftest.$ac_ext <<_ACEOF
29343
/* end confdefs.h. */
29344
#include <$ac_header>
29346
if { (ac_try="$ac_cpp conftest.$ac_ext"
29347
case "(($ac_try" in
29348
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29349
*) ac_try_echo=$ac_try;;
29351
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29352
$as_echo "$ac_try_echo") >&5
29353
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29355
grep -v '^ *+' conftest.er1 >conftest.err
29357
cat conftest.err >&5
29358
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359
(exit $ac_status); } >/dev/null && {
29360
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29361
test ! -s conftest.err
29363
ac_header_preproc=yes
29365
$as_echo "$as_me: failed program was:" >&5
29366
sed 's/^/| /' conftest.$ac_ext >&5
29368
ac_header_preproc=no
29371
rm -f conftest.err conftest.$ac_ext
29372
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29373
$as_echo "$ac_header_preproc" >&6; }
29375
# So? What about this header?
29376
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29378
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29379
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29380
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29381
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29382
ac_header_preproc=yes
29385
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29386
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29387
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29388
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29389
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29390
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29391
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29392
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29393
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29394
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29395
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29396
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29398
## --------------------------------------- ##
29399
## Report this to http://www.graphviz.org/ ##
29400
## --------------------------------------- ##
29402
) | sed "s/^/$as_me: WARNING: /" >&2
29405
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29406
$as_echo_n "checking for $ac_header... " >&6; }
29407
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29408
$as_echo_n "(cached) " >&6
29410
eval "$as_ac_Header=\$ac_header_preproc"
29412
ac_res=`eval 'as_val=${'$as_ac_Header'}
29413
$as_echo "$as_val"'`
29414
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29415
$as_echo "$ac_res" >&6; }
29418
as_val=`eval 'as_val=${'$as_ac_Header'}
29419
$as_echo "$as_val"'`
29420
if test "x$as_val" = x""yes; then
29421
cat >>confdefs.h <<_ACEOF
29422
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29426
use_devil="No (missing header)"
29427
{ $as_echo "$as_me:$LINENO: WARNING: Optional DevIL library not available - missing headers" >&5
29428
$as_echo "$as_me: WARNING: Optional DevIL library not available - missing headers" >&2;}
29433
{ $as_echo "$as_me:$LINENO: checking for main in -lIL" >&5
29434
$as_echo_n "checking for main in -lIL... " >&6; }
29435
if test "${ac_cv_lib_IL_main+set}" = set; then
29436
$as_echo_n "(cached) " >&6
29438
ac_check_lib_save_LIBS=$LIBS
29440
cat >conftest.$ac_ext <<_ACEOF
29443
cat confdefs.h >>conftest.$ac_ext
29444
cat >>conftest.$ac_ext <<_ACEOF
29445
/* end confdefs.h. */
29456
rm -f conftest.$ac_objext conftest$ac_exeext
29457
if { (ac_try="$ac_link"
29458
case "(($ac_try" in
29459
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29460
*) ac_try_echo=$ac_try;;
29462
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29463
$as_echo "$ac_try_echo") >&5
29464
(eval "$ac_link") 2>conftest.er1
29466
grep -v '^ *+' conftest.er1 >conftest.err
29468
cat conftest.err >&5
29469
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470
(exit $ac_status); } && {
29471
test -z "$ac_c_werror_flag" ||
29472
test ! -s conftest.err
29473
} && test -s conftest$ac_exeext && {
29474
test "$cross_compiling" = yes ||
29475
$as_test_x conftest$ac_exeext
29477
ac_cv_lib_IL_main=yes
29479
$as_echo "$as_me: failed program was:" >&5
29480
sed 's/^/| /' conftest.$ac_ext >&5
29482
ac_cv_lib_IL_main=no
29485
rm -rf conftest.dSYM
29486
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29487
conftest$ac_exeext conftest.$ac_ext
29488
LIBS=$ac_check_lib_save_LIBS
29490
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_IL_main" >&5
29491
$as_echo "$ac_cv_lib_IL_main" >&6; }
29492
if test "x$ac_cv_lib_IL_main" = x""yes; then
29493
DEVIL_LIBS="$DEVIL_LIBS -lIL -lILU"
29495
use_devil="No (missing library)"
29496
{ $as_echo "$as_me:$LINENO: WARNING: Optional DevIL library not available" >&5
29497
$as_echo "$as_me: WARNING: Optional DevIL library not available" >&2;}
29500
LDFLAGS=$save_LDFLAGS
29501
CPPFLAGS=$save_CPPFLAGS
29503
if test "x$use_devil" = "x"; then
29506
cat >>confdefs.h <<_ACEOF
29507
#define HAVE_DEVIL 1
29514
if test "x$use_devil" = "xYes"; then
29516
WITH_DEVIL_FALSE='#'
29518
WITH_DEVIL_TRUE='#'
29524
# we don't want an X11 dependency in libgd
29525
# so we set HAVE_LIBXPMFORLEFTY instead of the usual HAVE_LIBXPM
29529
# Check whether --with-Xpmincludedir was given.
29530
if test "${with_Xpmincludedir+set}" = set; then
29531
withval=$with_Xpmincludedir; XPM_INCLUDES="-I$withval"
29535
# Check whether --with-Xpmlibdir was given.
29536
if test "${with_Xpmlibdir+set}" = set; then
29537
withval=$with_Xpmlibdir; XPM_LIBS="-L$withval"
29541
save_CPPFLAGS=$CPPFLAGS
29542
save_LDFLAGS=$LDFLAGS
29543
CPPFLAGS="$CPPFLAGS $XPM_INCLUDES $X_CFLAGS"
29544
LDFLAGS="$LDFLAGS $XPM_LIBS $X_LIBS $X_EXTRA_LIBS $X_PRE_LIBS $SOCKET_LIBS"
29545
{ $as_echo "$as_me:$LINENO: checking for main in -lXpm" >&5
29546
$as_echo_n "checking for main in -lXpm... " >&6; }
29547
if test "${ac_cv_lib_Xpm_main+set}" = set; then
29548
$as_echo_n "(cached) " >&6
29550
ac_check_lib_save_LIBS=$LIBS
29551
LIBS="-lXpm -lXmu -lXt -lX11 -lXext $SOCKET_LIBS $LIBS"
29552
cat >conftest.$ac_ext <<_ACEOF
29555
cat confdefs.h >>conftest.$ac_ext
29556
cat >>conftest.$ac_ext <<_ACEOF
29557
/* end confdefs.h. */
29568
rm -f conftest.$ac_objext conftest$ac_exeext
29569
if { (ac_try="$ac_link"
29570
case "(($ac_try" in
29571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29572
*) ac_try_echo=$ac_try;;
29574
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29575
$as_echo "$ac_try_echo") >&5
29576
(eval "$ac_link") 2>conftest.er1
29578
grep -v '^ *+' conftest.er1 >conftest.err
29580
cat conftest.err >&5
29581
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582
(exit $ac_status); } && {
29583
test -z "$ac_c_werror_flag" ||
29584
test ! -s conftest.err
29585
} && test -s conftest$ac_exeext && {
29586
test "$cross_compiling" = yes ||
29587
$as_test_x conftest$ac_exeext
29589
ac_cv_lib_Xpm_main=yes
29591
$as_echo "$as_me: failed program was:" >&5
29592
sed 's/^/| /' conftest.$ac_ext >&5
29594
ac_cv_lib_Xpm_main=no
29597
rm -rf conftest.dSYM
29598
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29599
conftest$ac_exeext conftest.$ac_ext
29600
LIBS=$ac_check_lib_save_LIBS
29602
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_main" >&5
29603
$as_echo "$ac_cv_lib_Xpm_main" >&6; }
29604
if test "x$ac_cv_lib_Xpm_main" = x""yes; then
29605
XPM_LIBS="$XPM_LIBS -lXpm"
29607
cat >>confdefs.h <<_ACEOF
29608
#define HAVE_LIBXPMFORLEFTY 1
29612
{ $as_echo "$as_me:$LINENO: WARNING: Optional Xpm library not available" >&5
29613
$as_echo "$as_me: WARNING: Optional Xpm library not available" >&2;}
29616
LDFLAGS=$save_LDFLAGS
29617
CPPFLAGS=$save_CPPFLAGS
29623
# Check whether --with-Xawincludedir was given.
29624
if test "${with_Xawincludedir+set}" = set; then
29625
withval=$with_Xawincludedir; XAW_INCLUDES="-I$withval"
29629
# Check whether --with-Xawlibdir was given.
29630
if test "${with_Xawlibdir+set}" = set; then
29631
withval=$with_Xawlibdir; XAW_LIBS="-L$withval"
29634
save_CPPFLAGS=$CPPFLAGS
29635
save_LDFLAGS=$LDFLAGS
29636
CPPFLAGS="$CPPFLAGS $XAW_INCLUDES $X_CFLAGS"
29637
LDFLAGS="$LDFLAGS $X_LIBS $XAW_LIBS $XPM_LIBS $X_EXTRA_LIBS $X_PRE_LIBS $SOCKET_LIBS"
29639
for ac_header in X11/Intrinsic.h
29641
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29642
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29643
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29644
$as_echo_n "checking for $ac_header... " >&6; }
29645
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29646
$as_echo_n "(cached) " >&6
29648
ac_res=`eval 'as_val=${'$as_ac_Header'}
29649
$as_echo "$as_val"'`
29650
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29651
$as_echo "$ac_res" >&6; }
29653
# Is the header compilable?
29654
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29655
$as_echo_n "checking $ac_header usability... " >&6; }
29656
cat >conftest.$ac_ext <<_ACEOF
29659
cat confdefs.h >>conftest.$ac_ext
29660
cat >>conftest.$ac_ext <<_ACEOF
29661
/* end confdefs.h. */
29662
$ac_includes_default
29663
#include <$ac_header>
29665
rm -f conftest.$ac_objext
29666
if { (ac_try="$ac_compile"
29667
case "(($ac_try" in
29668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29669
*) ac_try_echo=$ac_try;;
29671
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29672
$as_echo "$ac_try_echo") >&5
29673
(eval "$ac_compile") 2>conftest.er1
29675
grep -v '^ *+' conftest.er1 >conftest.err
29677
cat conftest.err >&5
29678
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679
(exit $ac_status); } && {
29680
test -z "$ac_c_werror_flag" ||
29681
test ! -s conftest.err
29682
} && test -s conftest.$ac_objext; then
29683
ac_header_compiler=yes
29685
$as_echo "$as_me: failed program was:" >&5
29686
sed 's/^/| /' conftest.$ac_ext >&5
29688
ac_header_compiler=no
29691
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29692
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29693
$as_echo "$ac_header_compiler" >&6; }
29695
# Is the header present?
29696
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29697
$as_echo_n "checking $ac_header presence... " >&6; }
29698
cat >conftest.$ac_ext <<_ACEOF
29701
cat confdefs.h >>conftest.$ac_ext
29702
cat >>conftest.$ac_ext <<_ACEOF
29703
/* end confdefs.h. */
29704
#include <$ac_header>
29706
if { (ac_try="$ac_cpp conftest.$ac_ext"
29707
case "(($ac_try" in
29708
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29709
*) ac_try_echo=$ac_try;;
29711
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29712
$as_echo "$ac_try_echo") >&5
29713
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29715
grep -v '^ *+' conftest.er1 >conftest.err
29717
cat conftest.err >&5
29718
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719
(exit $ac_status); } >/dev/null && {
29720
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29721
test ! -s conftest.err
29723
ac_header_preproc=yes
29725
$as_echo "$as_me: failed program was:" >&5
29726
sed 's/^/| /' conftest.$ac_ext >&5
29728
ac_header_preproc=no
29731
rm -f conftest.err conftest.$ac_ext
29732
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29733
$as_echo "$ac_header_preproc" >&6; }
29735
# So? What about this header?
29736
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29738
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29739
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29740
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29741
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29742
ac_header_preproc=yes
29745
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29746
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29747
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29748
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29749
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29750
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29751
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29752
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29753
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29754
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29755
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29756
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29758
## --------------------------------------- ##
29759
## Report this to http://www.graphviz.org/ ##
29760
## --------------------------------------- ##
29762
) | sed "s/^/$as_me: WARNING: /" >&2
29765
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29766
$as_echo_n "checking for $ac_header... " >&6; }
29767
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29768
$as_echo_n "(cached) " >&6
29770
eval "$as_ac_Header=\$ac_header_preproc"
29772
ac_res=`eval 'as_val=${'$as_ac_Header'}
29773
$as_echo "$as_val"'`
29774
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29775
$as_echo "$ac_res" >&6; }
29778
as_val=`eval 'as_val=${'$as_ac_Header'}
29779
$as_echo "$as_val"'`
29780
if test "x$as_val" = x""yes; then
29781
cat >>confdefs.h <<_ACEOF
29782
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29791
for ac_header in X11/Xaw/Text.h
29793
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29794
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29795
$as_echo_n "checking for $ac_header... " >&6; }
29796
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29797
$as_echo_n "(cached) " >&6
29799
cat >conftest.$ac_ext <<_ACEOF
29802
cat confdefs.h >>conftest.$ac_ext
29803
cat >>conftest.$ac_ext <<_ACEOF
29804
/* end confdefs.h. */
29805
#if HAVE_X11_INTRINSIC_H
29806
# include <X11/Intrinsic.h>
29810
#include <$ac_header>
29812
rm -f conftest.$ac_objext
29813
if { (ac_try="$ac_compile"
29814
case "(($ac_try" in
29815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29816
*) ac_try_echo=$ac_try;;
29818
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29819
$as_echo "$ac_try_echo") >&5
29820
(eval "$ac_compile") 2>conftest.er1
29822
grep -v '^ *+' conftest.er1 >conftest.err
29824
cat conftest.err >&5
29825
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826
(exit $ac_status); } && {
29827
test -z "$ac_c_werror_flag" ||
29828
test ! -s conftest.err
29829
} && test -s conftest.$ac_objext; then
29830
eval "$as_ac_Header=yes"
29832
$as_echo "$as_me: failed program was:" >&5
29833
sed 's/^/| /' conftest.$ac_ext >&5
29835
eval "$as_ac_Header=no"
29838
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29840
ac_res=`eval 'as_val=${'$as_ac_Header'}
29841
$as_echo "$as_val"'`
29842
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29843
$as_echo "$ac_res" >&6; }
29844
as_val=`eval 'as_val=${'$as_ac_Header'}
29845
$as_echo "$as_val"'`
29846
if test "x$as_val" = x""yes; then
29847
cat >>confdefs.h <<_ACEOF
29848
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29853
use_lefty="No (missing Xaw headers)"
29854
{ $as_echo "$as_me:$LINENO: WARNING: Optional Xaw library not available - missing headers" >&5
29855
$as_echo "$as_me: WARNING: Optional Xaw library not available - missing headers" >&2;}
29860
if test "x$with_xaw" != "xno"; then
29861
{ $as_echo "$as_me:$LINENO: checking for main in -lXaw" >&5
29862
$as_echo_n "checking for main in -lXaw... " >&6; }
29863
if test "${ac_cv_lib_Xaw_main+set}" = set; then
29864
$as_echo_n "(cached) " >&6
29866
ac_check_lib_save_LIBS=$LIBS
29867
LIBS="-lXaw $X_LIBS -lXmu -lXt -lX11 -lXext $SOCKET_LIBS $LIBS"
29868
cat >conftest.$ac_ext <<_ACEOF
29871
cat confdefs.h >>conftest.$ac_ext
29872
cat >>conftest.$ac_ext <<_ACEOF
29873
/* end confdefs.h. */
29884
rm -f conftest.$ac_objext conftest$ac_exeext
29885
if { (ac_try="$ac_link"
29886
case "(($ac_try" in
29887
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29888
*) ac_try_echo=$ac_try;;
29890
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29891
$as_echo "$ac_try_echo") >&5
29892
(eval "$ac_link") 2>conftest.er1
29894
grep -v '^ *+' conftest.er1 >conftest.err
29896
cat conftest.err >&5
29897
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898
(exit $ac_status); } && {
29899
test -z "$ac_c_werror_flag" ||
29900
test ! -s conftest.err
29901
} && test -s conftest$ac_exeext && {
29902
test "$cross_compiling" = yes ||
29903
$as_test_x conftest$ac_exeext
29905
ac_cv_lib_Xaw_main=yes
29907
$as_echo "$as_me: failed program was:" >&5
29908
sed 's/^/| /' conftest.$ac_ext >&5
29910
ac_cv_lib_Xaw_main=no
29913
rm -rf conftest.dSYM
29914
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29915
conftest$ac_exeext conftest.$ac_ext
29916
LIBS=$ac_check_lib_save_LIBS
29918
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5
29919
$as_echo "$ac_cv_lib_Xaw_main" >&6; }
29920
if test "x$ac_cv_lib_Xaw_main" = x""yes; then
29921
XAW_LIBS="$X_LIBS $XAW_LIBS -lXaw"
29924
use_lefty="No (missing Xaw library)"
29925
{ $as_echo "$as_me:$LINENO: WARNING: Optional Xaw library not available" >&5
29926
$as_echo "$as_me: WARNING: Optional Xaw library not available" >&2;}
29930
LDFLAGS=$save_LDFLAGS
29931
CPPFLAGS=$save_CPPFLAGS
29934
if test "x$with_xaw" != "xno"; then
29942
if test "x$with_xaw" = "xno"; then
29943
if test "x$no_x" != "xyes"; then
29944
{ $as_echo "$as_me:$LINENO: WARNING: Lefty cannot be built" >&5
29945
$as_echo "$as_me: WARNING: Lefty cannot be built" >&2;}
29951
# Check whether --with-zincludedir was given.
29952
if test "${with_zincludedir+set}" = set; then
29953
withval=$with_zincludedir; Z_INCLUDES="-I$withval"
29957
# Check whether --with-zlibdir was given.
29958
if test "${with_zlibdir+set}" = set; then
29959
withval=$with_zlibdir; Z_LIBS="-L$withval"
29963
save_CPPFLAGS=$CPPFLAGS
29964
save_LDFLAGS=$LDFLAGS
29965
CPPFLAGS="$CPPFLAGS $Z_INCLUDES"
29966
LDFLAGS="$LDFLAGS $Z_LIBS"
29967
if test "${ac_cv_header_zlib_h+set}" = set; then
29968
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
29969
$as_echo_n "checking for zlib.h... " >&6; }
29970
if test "${ac_cv_header_zlib_h+set}" = set; then
29971
$as_echo_n "(cached) " >&6
29973
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
29974
$as_echo "$ac_cv_header_zlib_h" >&6; }
29976
# Is the header compilable?
29977
{ $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
29978
$as_echo_n "checking zlib.h usability... " >&6; }
29979
cat >conftest.$ac_ext <<_ACEOF
29982
cat confdefs.h >>conftest.$ac_ext
29983
cat >>conftest.$ac_ext <<_ACEOF
29984
/* end confdefs.h. */
29985
$ac_includes_default
29988
rm -f conftest.$ac_objext
29989
if { (ac_try="$ac_compile"
29990
case "(($ac_try" in
29991
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29992
*) ac_try_echo=$ac_try;;
29994
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29995
$as_echo "$ac_try_echo") >&5
29996
(eval "$ac_compile") 2>conftest.er1
29998
grep -v '^ *+' conftest.er1 >conftest.err
30000
cat conftest.err >&5
30001
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002
(exit $ac_status); } && {
30003
test -z "$ac_c_werror_flag" ||
30004
test ! -s conftest.err
30005
} && test -s conftest.$ac_objext; then
30006
ac_header_compiler=yes
30008
$as_echo "$as_me: failed program was:" >&5
30009
sed 's/^/| /' conftest.$ac_ext >&5
30011
ac_header_compiler=no
30014
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30015
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30016
$as_echo "$ac_header_compiler" >&6; }
30018
# Is the header present?
30019
{ $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
30020
$as_echo_n "checking zlib.h presence... " >&6; }
30021
cat >conftest.$ac_ext <<_ACEOF
30024
cat confdefs.h >>conftest.$ac_ext
30025
cat >>conftest.$ac_ext <<_ACEOF
30026
/* end confdefs.h. */
30029
if { (ac_try="$ac_cpp conftest.$ac_ext"
30030
case "(($ac_try" in
30031
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30032
*) ac_try_echo=$ac_try;;
30034
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30035
$as_echo "$ac_try_echo") >&5
30036
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30038
grep -v '^ *+' conftest.er1 >conftest.err
30040
cat conftest.err >&5
30041
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042
(exit $ac_status); } >/dev/null && {
30043
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30044
test ! -s conftest.err
30046
ac_header_preproc=yes
30048
$as_echo "$as_me: failed program was:" >&5
30049
sed 's/^/| /' conftest.$ac_ext >&5
30051
ac_header_preproc=no
30054
rm -f conftest.err conftest.$ac_ext
30055
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30056
$as_echo "$ac_header_preproc" >&6; }
30058
# So? What about this header?
30059
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30061
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
30062
$as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30063
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
30064
$as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
30065
ac_header_preproc=yes
30068
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
30069
$as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
30070
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
30071
$as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
30072
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
30073
$as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
30074
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
30075
$as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
30076
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
30077
$as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
30078
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
30079
$as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
30081
## --------------------------------------- ##
30082
## Report this to http://www.graphviz.org/ ##
30083
## --------------------------------------- ##
30085
) | sed "s/^/$as_me: WARNING: /" >&2
30088
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
30089
$as_echo_n "checking for zlib.h... " >&6; }
30090
if test "${ac_cv_header_zlib_h+set}" = set; then
30091
$as_echo_n "(cached) " >&6
30093
ac_cv_header_zlib_h=$ac_header_preproc
30095
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
30096
$as_echo "$ac_cv_header_zlib_h" >&6; }
30099
if test "x$ac_cv_header_zlib_h" = x""yes; then
30100
{ $as_echo "$as_me:$LINENO: checking for main in -lz" >&5
30101
$as_echo_n "checking for main in -lz... " >&6; }
30102
if test "${ac_cv_lib_z_main+set}" = set; then
30103
$as_echo_n "(cached) " >&6
30105
ac_check_lib_save_LIBS=$LIBS
30107
cat >conftest.$ac_ext <<_ACEOF
30110
cat confdefs.h >>conftest.$ac_ext
30111
cat >>conftest.$ac_ext <<_ACEOF
30112
/* end confdefs.h. */
30123
rm -f conftest.$ac_objext conftest$ac_exeext
30124
if { (ac_try="$ac_link"
30125
case "(($ac_try" in
30126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30127
*) ac_try_echo=$ac_try;;
30129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30130
$as_echo "$ac_try_echo") >&5
30131
(eval "$ac_link") 2>conftest.er1
30133
grep -v '^ *+' conftest.er1 >conftest.err
30135
cat conftest.err >&5
30136
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137
(exit $ac_status); } && {
30138
test -z "$ac_c_werror_flag" ||
30139
test ! -s conftest.err
30140
} && test -s conftest$ac_exeext && {
30141
test "$cross_compiling" = yes ||
30142
$as_test_x conftest$ac_exeext
30144
ac_cv_lib_z_main=yes
30146
$as_echo "$as_me: failed program was:" >&5
30147
sed 's/^/| /' conftest.$ac_ext >&5
30149
ac_cv_lib_z_main=no
30152
rm -rf conftest.dSYM
30153
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30154
conftest$ac_exeext conftest.$ac_ext
30155
LIBS=$ac_check_lib_save_LIBS
30157
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
30158
$as_echo "$ac_cv_lib_z_main" >&6; }
30159
if test "x$ac_cv_lib_z_main" = x""yes; then
30160
Z_LIBS="$Z_LIBS -lz"
30162
cat >>confdefs.h <<_ACEOF
30163
#define HAVE_LIBZ 1
30167
{ $as_echo "$as_me:$LINENO: WARNING: Optional z library not available" >&5
30168
$as_echo "$as_me: WARNING: Optional z library not available" >&2;}
30172
{ $as_echo "$as_me:$LINENO: WARNING: Optional z library not available - no zlib.h" >&5
30173
$as_echo "$as_me: WARNING: Optional z library not available - no zlib.h" >&2;}
30177
LDFLAGS="$LDFLAGS $Z_LIBS"
30179
for ac_func in deflateBound
30181
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30182
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
30183
$as_echo_n "checking for $ac_func... " >&6; }
30184
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30185
$as_echo_n "(cached) " >&6
30187
cat >conftest.$ac_ext <<_ACEOF
30190
cat confdefs.h >>conftest.$ac_ext
30191
cat >>conftest.$ac_ext <<_ACEOF
30192
/* end confdefs.h. */
30193
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30194
For example, HP-UX 11i <limits.h> declares gettimeofday. */
30195
#define $ac_func innocuous_$ac_func
30197
/* System header to define __stub macros and hopefully few prototypes,
30198
which can conflict with char $ac_func (); below.
30199
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30200
<limits.h> exists even on freestanding compilers. */
30203
# include <limits.h>
30205
# include <assert.h>
30210
/* Override any GCC internal prototype to avoid an error.
30211
Use char because int might match the return type of a GCC
30212
builtin and then its argument prototype would still apply. */
30217
/* The GNU C library defines this for functions which it implements
30218
to always fail with ENOSYS. Some functions are actually named
30219
something starting with __ and the normal name is an alias. */
30220
#if defined __stub_$ac_func || defined __stub___$ac_func
30227
return $ac_func ();
30232
rm -f conftest.$ac_objext conftest$ac_exeext
30233
if { (ac_try="$ac_link"
30234
case "(($ac_try" in
30235
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30236
*) ac_try_echo=$ac_try;;
30238
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30239
$as_echo "$ac_try_echo") >&5
30240
(eval "$ac_link") 2>conftest.er1
30242
grep -v '^ *+' conftest.er1 >conftest.err
30244
cat conftest.err >&5
30245
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246
(exit $ac_status); } && {
30247
test -z "$ac_c_werror_flag" ||
30248
test ! -s conftest.err
30249
} && test -s conftest$ac_exeext && {
30250
test "$cross_compiling" = yes ||
30251
$as_test_x conftest$ac_exeext
30253
eval "$as_ac_var=yes"
30255
$as_echo "$as_me: failed program was:" >&5
30256
sed 's/^/| /' conftest.$ac_ext >&5
30258
eval "$as_ac_var=no"
30261
rm -rf conftest.dSYM
30262
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30263
conftest$ac_exeext conftest.$ac_ext
30265
ac_res=`eval 'as_val=${'$as_ac_var'}
30266
$as_echo "$as_val"'`
30267
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
30268
$as_echo "$ac_res" >&6; }
30269
as_val=`eval 'as_val=${'$as_ac_var'}
30270
$as_echo "$as_val"'`
30271
if test "x$as_val" = x""yes; then
30272
cat >>confdefs.h <<_ACEOF
30273
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30279
LDFLAGS=$save_LDFLAGS
30280
CPPFLAGS=$save_CPPFLAGS
30286
# Check whether --with-rsvg was given.
30287
if test "${with_rsvg+set}" = set; then
30288
withval=$with_rsvg;
30294
if test "x$with_rsvg" != "xyes"; then
30295
use_rsvg="No (disabled)"
30299
{ $as_echo "$as_me:$LINENO: checking for RSVG" >&5
30300
$as_echo_n "checking for RSVG... " >&6; }
30302
if test -n "$RSVG_CFLAGS"; then
30303
pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
30304
elif test -n "$PKG_CONFIG"; then
30305
if test -n "$PKG_CONFIG" && \
30306
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\"") >&5
30307
($PKG_CONFIG --exists --print-errors "librsvg-2.0") 2>&5
30309
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310
(exit $ac_status); }; then
30311
pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0" 2>/dev/null`
30318
if test -n "$RSVG_LIBS"; then
30319
pkg_cv_RSVG_LIBS="$RSVG_LIBS"
30320
elif test -n "$PKG_CONFIG"; then
30321
if test -n "$PKG_CONFIG" && \
30322
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\"") >&5
30323
($PKG_CONFIG --exists --print-errors "librsvg-2.0") 2>&5
30325
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326
(exit $ac_status); }; then
30327
pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0" 2>/dev/null`
30337
if test $pkg_failed = yes; then
30339
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30340
_pkg_short_errors_supported=yes
30342
_pkg_short_errors_supported=no
30344
if test $_pkg_short_errors_supported = yes; then
30345
RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "librsvg-2.0" 2>&1`
30347
RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "librsvg-2.0" 2>&1`
30349
# Put the nasty error message in config.log where it belongs
30350
echo "$RSVG_PKG_ERRORS" >&5
30352
{ $as_echo "$as_me:$LINENO: result: no" >&5
30353
$as_echo "no" >&6; }
30355
use_rsvg="No (rsvg library not available)"
30357
elif test $pkg_failed = untried; then
30359
use_rsvg="No (rsvg library not available)"
30362
RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
30363
RSVG_LIBS=$pkg_cv_RSVG_LIBS
30364
{ $as_echo "$as_me:$LINENO: result: yes" >&5
30365
$as_echo "yes" >&6; }
30369
cat >>confdefs.h <<_ACEOF
30370
#define HAVE_RSVG 1
30378
if test "x$use_rsvg" = "xYes"; then
30380
WITH_RSVG_FALSE='#'
30389
# Check whether --with-ghostscript was given.
30390
if test "${with_ghostscript+set}" = set; then
30391
withval=$with_ghostscript;
30393
with_ghostscript=yes
30397
if test "x$with_ghostscript" != "xyes"; then
30398
use_ghostscript="No (disabled)"
30400
if test "${ac_cv_header_ghostscript_iapi_h+set}" = set; then
30401
{ $as_echo "$as_me:$LINENO: checking for ghostscript/iapi.h" >&5
30402
$as_echo_n "checking for ghostscript/iapi.h... " >&6; }
30403
if test "${ac_cv_header_ghostscript_iapi_h+set}" = set; then
30404
$as_echo_n "(cached) " >&6
30406
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ghostscript_iapi_h" >&5
30407
$as_echo "$ac_cv_header_ghostscript_iapi_h" >&6; }
30409
# Is the header compilable?
30410
{ $as_echo "$as_me:$LINENO: checking ghostscript/iapi.h usability" >&5
30411
$as_echo_n "checking ghostscript/iapi.h usability... " >&6; }
30412
cat >conftest.$ac_ext <<_ACEOF
30415
cat confdefs.h >>conftest.$ac_ext
30416
cat >>conftest.$ac_ext <<_ACEOF
30417
/* end confdefs.h. */
30418
$ac_includes_default
30419
#include <ghostscript/iapi.h>
30421
rm -f conftest.$ac_objext
30422
if { (ac_try="$ac_compile"
30423
case "(($ac_try" in
30424
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30425
*) ac_try_echo=$ac_try;;
30427
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30428
$as_echo "$ac_try_echo") >&5
30429
(eval "$ac_compile") 2>conftest.er1
30431
grep -v '^ *+' conftest.er1 >conftest.err
30433
cat conftest.err >&5
30434
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435
(exit $ac_status); } && {
30436
test -z "$ac_c_werror_flag" ||
30437
test ! -s conftest.err
30438
} && test -s conftest.$ac_objext; then
30439
ac_header_compiler=yes
30441
$as_echo "$as_me: failed program was:" >&5
30442
sed 's/^/| /' conftest.$ac_ext >&5
30444
ac_header_compiler=no
30447
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30448
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30449
$as_echo "$ac_header_compiler" >&6; }
30451
# Is the header present?
30452
{ $as_echo "$as_me:$LINENO: checking ghostscript/iapi.h presence" >&5
30453
$as_echo_n "checking ghostscript/iapi.h presence... " >&6; }
30454
cat >conftest.$ac_ext <<_ACEOF
30457
cat confdefs.h >>conftest.$ac_ext
30458
cat >>conftest.$ac_ext <<_ACEOF
30459
/* end confdefs.h. */
30460
#include <ghostscript/iapi.h>
30462
if { (ac_try="$ac_cpp conftest.$ac_ext"
30463
case "(($ac_try" in
30464
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30465
*) ac_try_echo=$ac_try;;
30467
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30468
$as_echo "$ac_try_echo") >&5
30469
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30471
grep -v '^ *+' conftest.er1 >conftest.err
30473
cat conftest.err >&5
30474
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475
(exit $ac_status); } >/dev/null && {
30476
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30477
test ! -s conftest.err
30479
ac_header_preproc=yes
30481
$as_echo "$as_me: failed program was:" >&5
30482
sed 's/^/| /' conftest.$ac_ext >&5
30484
ac_header_preproc=no
30487
rm -f conftest.err conftest.$ac_ext
30488
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30489
$as_echo "$ac_header_preproc" >&6; }
30491
# So? What about this header?
30492
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30494
{ $as_echo "$as_me:$LINENO: WARNING: ghostscript/iapi.h: accepted by the compiler, rejected by the preprocessor!" >&5
30495
$as_echo "$as_me: WARNING: ghostscript/iapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30496
{ $as_echo "$as_me:$LINENO: WARNING: ghostscript/iapi.h: proceeding with the compiler's result" >&5
30497
$as_echo "$as_me: WARNING: ghostscript/iapi.h: proceeding with the compiler's result" >&2;}
30498
ac_header_preproc=yes
30501
{ $as_echo "$as_me:$LINENO: WARNING: ghostscript/iapi.h: present but cannot be compiled" >&5
30502
$as_echo "$as_me: WARNING: ghostscript/iapi.h: present but cannot be compiled" >&2;}
30503
{ $as_echo "$as_me:$LINENO: WARNING: ghostscript/iapi.h: check for missing prerequisite headers?" >&5
30504
$as_echo "$as_me: WARNING: ghostscript/iapi.h: check for missing prerequisite headers?" >&2;}
30505
{ $as_echo "$as_me:$LINENO: WARNING: ghostscript/iapi.h: see the Autoconf documentation" >&5
30506
$as_echo "$as_me: WARNING: ghostscript/iapi.h: see the Autoconf documentation" >&2;}
30507
{ $as_echo "$as_me:$LINENO: WARNING: ghostscript/iapi.h: section \"Present But Cannot Be Compiled\"" >&5
30508
$as_echo "$as_me: WARNING: ghostscript/iapi.h: section \"Present But Cannot Be Compiled\"" >&2;}
30509
{ $as_echo "$as_me:$LINENO: WARNING: ghostscript/iapi.h: proceeding with the preprocessor's result" >&5
30510
$as_echo "$as_me: WARNING: ghostscript/iapi.h: proceeding with the preprocessor's result" >&2;}
30511
{ $as_echo "$as_me:$LINENO: WARNING: ghostscript/iapi.h: in the future, the compiler will take precedence" >&5
30512
$as_echo "$as_me: WARNING: ghostscript/iapi.h: in the future, the compiler will take precedence" >&2;}
30514
## --------------------------------------- ##
30515
## Report this to http://www.graphviz.org/ ##
30516
## --------------------------------------- ##
30518
) | sed "s/^/$as_me: WARNING: /" >&2
30521
{ $as_echo "$as_me:$LINENO: checking for ghostscript/iapi.h" >&5
30522
$as_echo_n "checking for ghostscript/iapi.h... " >&6; }
30523
if test "${ac_cv_header_ghostscript_iapi_h+set}" = set; then
30524
$as_echo_n "(cached) " >&6
30526
ac_cv_header_ghostscript_iapi_h=$ac_header_preproc
30528
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ghostscript_iapi_h" >&5
30529
$as_echo "$ac_cv_header_ghostscript_iapi_h" >&6; }
30532
if test "x$ac_cv_header_ghostscript_iapi_h" = x""yes; then
30535
use_ghostscript="No (missing headers)"
30539
if test "x$use_ghostscript" = "x"; then
30540
{ $as_echo "$as_me:$LINENO: checking for main in -lgs" >&5
30541
$as_echo_n "checking for main in -lgs... " >&6; }
30542
if test "${ac_cv_lib_gs_main+set}" = set; then
30543
$as_echo_n "(cached) " >&6
30545
ac_check_lib_save_LIBS=$LIBS
30547
cat >conftest.$ac_ext <<_ACEOF
30550
cat confdefs.h >>conftest.$ac_ext
30551
cat >>conftest.$ac_ext <<_ACEOF
30552
/* end confdefs.h. */
30563
rm -f conftest.$ac_objext conftest$ac_exeext
30564
if { (ac_try="$ac_link"
30565
case "(($ac_try" in
30566
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30567
*) ac_try_echo=$ac_try;;
30569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30570
$as_echo "$ac_try_echo") >&5
30571
(eval "$ac_link") 2>conftest.er1
30573
grep -v '^ *+' conftest.er1 >conftest.err
30575
cat conftest.err >&5
30576
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577
(exit $ac_status); } && {
30578
test -z "$ac_c_werror_flag" ||
30579
test ! -s conftest.err
30580
} && test -s conftest$ac_exeext && {
30581
test "$cross_compiling" = yes ||
30582
$as_test_x conftest$ac_exeext
30584
ac_cv_lib_gs_main=yes
30586
$as_echo "$as_me: failed program was:" >&5
30587
sed 's/^/| /' conftest.$ac_ext >&5
30589
ac_cv_lib_gs_main=no
30592
rm -rf conftest.dSYM
30593
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30594
conftest$ac_exeext conftest.$ac_ext
30595
LIBS=$ac_check_lib_save_LIBS
30597
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gs_main" >&5
30598
$as_echo "$ac_cv_lib_gs_main" >&6; }
30599
if test "x$ac_cv_lib_gs_main" = x""yes; then
30602
use_ghostscript="No (missing lib)"
30605
if test "x$use_ghostscript" = "x"; then
30606
use_ghostscript="Yes"
30608
cat >>confdefs.h <<_ACEOF
30617
if test "x$use_ghostscript" = "xYes"; then
30628
# Check whether --with-visio was given.
30629
if test "${with_visio+set}" = set; then
30630
withval=$with_visio;
30636
if test "x$with_visio" != "xyes"; then
30637
use_visio="No (disabled by default - experimental)"
30639
# AC_CHECK_HEADER(visio/visio.h, VISIO_CFLAGS="",use_visio="No (missing headers)")
30640
# if test "x$use_visio" = "x"; then
30641
# AC_CHECK_LIB(visio, main, VISIO_LIBS="-lgs", use_visio="No (missing lib)")
30642
# if test "x$use_visio" = "x"; then
30645
cat >>confdefs.h <<_ACEOF
30646
#define HAVE_VISIO 1
30654
if test "x$use_visio" = "xYes"; then
30656
WITH_VISIO_FALSE='#'
30658
WITH_VISIO_TRUE='#'
30665
# Check whether --with-pangocairo was given.
30666
if test "${with_pangocairo+set}" = set; then
30667
withval=$with_pangocairo;
30669
with_pangocairo=yes
30673
if test "x$with_pangocairo" != "xyes"; then
30674
use_pangocairo="No (disabled)"
30676
# require at least the version available on centos5 (fc6 has 1.14.10)
30679
{ $as_echo "$as_me:$LINENO: checking for PANGOCAIRO" >&5
30680
$as_echo_n "checking for PANGOCAIRO... " >&6; }
30682
if test -n "$PANGOCAIRO_CFLAGS"; then
30683
pkg_cv_PANGOCAIRO_CFLAGS="$PANGOCAIRO_CFLAGS"
30684
elif test -n "$PKG_CONFIG"; then
30685
if test -n "$PKG_CONFIG" && \
30686
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.14.9\"") >&5
30687
($PKG_CONFIG --exists --print-errors "pangocairo >= 1.14.9") 2>&5
30689
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690
(exit $ac_status); }; then
30691
pkg_cv_PANGOCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pangocairo >= 1.14.9" 2>/dev/null`
30698
if test -n "$PANGOCAIRO_LIBS"; then
30699
pkg_cv_PANGOCAIRO_LIBS="$PANGOCAIRO_LIBS"
30700
elif test -n "$PKG_CONFIG"; then
30701
if test -n "$PKG_CONFIG" && \
30702
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.14.9\"") >&5
30703
($PKG_CONFIG --exists --print-errors "pangocairo >= 1.14.9") 2>&5
30705
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706
(exit $ac_status); }; then
30707
pkg_cv_PANGOCAIRO_LIBS=`$PKG_CONFIG --libs "pangocairo >= 1.14.9" 2>/dev/null`
30717
if test $pkg_failed = yes; then
30719
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30720
_pkg_short_errors_supported=yes
30722
_pkg_short_errors_supported=no
30724
if test $_pkg_short_errors_supported = yes; then
30725
PANGOCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pangocairo >= 1.14.9" 2>&1`
30727
PANGOCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pangocairo >= 1.14.9" 2>&1`
30729
# Put the nasty error message in config.log where it belongs
30730
echo "$PANGOCAIRO_PKG_ERRORS" >&5
30732
{ $as_echo "$as_me:$LINENO: result: no" >&5
30733
$as_echo "no" >&6; }
30735
use_pangocairo="No (pangocairo library not available)"
30737
elif test $pkg_failed = untried; then
30739
use_pangocairo="No (pangocairo library not available)"
30742
PANGOCAIRO_CFLAGS=$pkg_cv_PANGOCAIRO_CFLAGS
30743
PANGOCAIRO_LIBS=$pkg_cv_PANGOCAIRO_LIBS
30744
{ $as_echo "$as_me:$LINENO: result: yes" >&5
30745
$as_echo "yes" >&6; }
30747
use_pangocairo="Yes"
30749
cat >>confdefs.h <<_ACEOF
30750
#define HAVE_PANGOCAIRO 1
30758
if test "x$use_pangocairo" = "xYes"; then
30759
WITH_PANGOCAIRO_TRUE=
30760
WITH_PANGOCAIRO_FALSE='#'
30762
WITH_PANGOCAIRO_TRUE='#'
30763
WITH_PANGOCAIRO_FALSE=
30767
# see if pango uses a fontconfig/freetype2 backend
30768
if test "x$use_pangocairo" = "xYes"; then
30770
LIBS="$LIBS $PANGOCAIRO_LIBS"
30773
for ac_func in pango_fc_font_lock_face pango_fc_font_unlock_face
30775
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30776
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
30777
$as_echo_n "checking for $ac_func... " >&6; }
30778
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30779
$as_echo_n "(cached) " >&6
30781
cat >conftest.$ac_ext <<_ACEOF
30784
cat confdefs.h >>conftest.$ac_ext
30785
cat >>conftest.$ac_ext <<_ACEOF
30786
/* end confdefs.h. */
30787
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30788
For example, HP-UX 11i <limits.h> declares gettimeofday. */
30789
#define $ac_func innocuous_$ac_func
30791
/* System header to define __stub macros and hopefully few prototypes,
30792
which can conflict with char $ac_func (); below.
30793
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30794
<limits.h> exists even on freestanding compilers. */
30797
# include <limits.h>
30799
# include <assert.h>
30804
/* Override any GCC internal prototype to avoid an error.
30805
Use char because int might match the return type of a GCC
30806
builtin and then its argument prototype would still apply. */
30811
/* The GNU C library defines this for functions which it implements
30812
to always fail with ENOSYS. Some functions are actually named
30813
something starting with __ and the normal name is an alias. */
30814
#if defined __stub_$ac_func || defined __stub___$ac_func
30821
return $ac_func ();
30826
rm -f conftest.$ac_objext conftest$ac_exeext
30827
if { (ac_try="$ac_link"
30828
case "(($ac_try" in
30829
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30830
*) ac_try_echo=$ac_try;;
30832
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30833
$as_echo "$ac_try_echo") >&5
30834
(eval "$ac_link") 2>conftest.er1
30836
grep -v '^ *+' conftest.er1 >conftest.err
30838
cat conftest.err >&5
30839
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840
(exit $ac_status); } && {
30841
test -z "$ac_c_werror_flag" ||
30842
test ! -s conftest.err
30843
} && test -s conftest$ac_exeext && {
30844
test "$cross_compiling" = yes ||
30845
$as_test_x conftest$ac_exeext
30847
eval "$as_ac_var=yes"
30849
$as_echo "$as_me: failed program was:" >&5
30850
sed 's/^/| /' conftest.$ac_ext >&5
30852
eval "$as_ac_var=no"
30855
rm -rf conftest.dSYM
30856
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30857
conftest$ac_exeext conftest.$ac_ext
30859
ac_res=`eval 'as_val=${'$as_ac_var'}
30860
$as_echo "$as_val"'`
30861
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
30862
$as_echo "$ac_res" >&6; }
30863
as_val=`eval 'as_val=${'$as_ac_var'}
30864
$as_echo "$as_val"'`
30865
if test "x$as_val" = x""yes; then
30866
cat >>confdefs.h <<_ACEOF
30867
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30878
# Check whether --with-lasi was given.
30879
if test "${with_lasi+set}" = set; then
30880
withval=$with_lasi;
30886
if test "x$with_lasi" != "xyes"; then
30887
use_lasi="No (disabled)"
30891
{ $as_echo "$as_me:$LINENO: checking for LASI" >&5
30892
$as_echo_n "checking for LASI... " >&6; }
30894
if test -n "$LASI_CFLAGS"; then
30895
pkg_cv_LASI_CFLAGS="$LASI_CFLAGS"
30896
elif test -n "$PKG_CONFIG"; then
30897
if test -n "$PKG_CONFIG" && \
30898
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lasi\"") >&5
30899
($PKG_CONFIG --exists --print-errors "lasi") 2>&5
30901
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902
(exit $ac_status); }; then
30903
pkg_cv_LASI_CFLAGS=`$PKG_CONFIG --cflags "lasi" 2>/dev/null`
30910
if test -n "$LASI_LIBS"; then
30911
pkg_cv_LASI_LIBS="$LASI_LIBS"
30912
elif test -n "$PKG_CONFIG"; then
30913
if test -n "$PKG_CONFIG" && \
30914
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lasi\"") >&5
30915
($PKG_CONFIG --exists --print-errors "lasi") 2>&5
30917
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918
(exit $ac_status); }; then
30919
pkg_cv_LASI_LIBS=`$PKG_CONFIG --libs "lasi" 2>/dev/null`
30929
if test $pkg_failed = yes; then
30931
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30932
_pkg_short_errors_supported=yes
30934
_pkg_short_errors_supported=no
30936
if test $_pkg_short_errors_supported = yes; then
30937
LASI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lasi" 2>&1`
30939
LASI_PKG_ERRORS=`$PKG_CONFIG --print-errors "lasi" 2>&1`
30941
# Put the nasty error message in config.log where it belongs
30942
echo "$LASI_PKG_ERRORS" >&5
30944
{ $as_echo "$as_me:$LINENO: result: no" >&5
30945
$as_echo "no" >&6; }
30947
use_lasi="No (lasi library not available)"
30949
elif test $pkg_failed = untried; then
30951
use_lasi="No (lasi library not available)"
30954
LASI_CFLAGS=$pkg_cv_LASI_CFLAGS
30955
LASI_LIBS=$pkg_cv_LASI_LIBS
30956
{ $as_echo "$as_me:$LINENO: result: yes" >&5
30957
$as_echo "yes" >&6; }
30961
cat >>confdefs.h <<_ACEOF
30962
#define HAVE_LASI 1
30970
if test "x$use_lasi" = "xYes"; then
30972
WITH_LASI_FALSE='#'
30981
# Check whether --with-glitz was given.
30982
if test "${with_glitz+set}" = set; then
30983
withval=$with_glitz;
30989
if test "x$with_glitz" != "xyes"; then
30990
use_glitz="No (disabled by default - incomplete)"
30994
{ $as_echo "$as_me:$LINENO: checking for GLITZ" >&5
30995
$as_echo_n "checking for GLITZ... " >&6; }
30997
if test -n "$GLITZ_CFLAGS"; then
30998
pkg_cv_GLITZ_CFLAGS="$GLITZ_CFLAGS"
30999
elif test -n "$PKG_CONFIG"; then
31000
if test -n "$PKG_CONFIG" && \
31001
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz\"") >&5
31002
($PKG_CONFIG --exists --print-errors "glitz") 2>&5
31004
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005
(exit $ac_status); }; then
31006
pkg_cv_GLITZ_CFLAGS=`$PKG_CONFIG --cflags "glitz" 2>/dev/null`
31013
if test -n "$GLITZ_LIBS"; then
31014
pkg_cv_GLITZ_LIBS="$GLITZ_LIBS"
31015
elif test -n "$PKG_CONFIG"; then
31016
if test -n "$PKG_CONFIG" && \
31017
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz\"") >&5
31018
($PKG_CONFIG --exists --print-errors "glitz") 2>&5
31020
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021
(exit $ac_status); }; then
31022
pkg_cv_GLITZ_LIBS=`$PKG_CONFIG --libs "glitz" 2>/dev/null`
31032
if test $pkg_failed = yes; then
31034
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31035
_pkg_short_errors_supported=yes
31037
_pkg_short_errors_supported=no
31039
if test $_pkg_short_errors_supported = yes; then
31040
GLITZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glitz" 2>&1`
31042
GLITZ_PKG_ERRORS=`$PKG_CONFIG --print-errors "glitz" 2>&1`
31044
# Put the nasty error message in config.log where it belongs
31045
echo "$GLITZ_PKG_ERRORS" >&5
31047
{ $as_echo "$as_me:$LINENO: result: no" >&5
31048
$as_echo "no" >&6; }
31050
use_glitz="No (glitz library not available)"
31052
elif test $pkg_failed = untried; then
31054
use_glitz="No (glitz library not available)"
31057
GLITZ_CFLAGS=$pkg_cv_GLITZ_CFLAGS
31058
GLITZ_LIBS=$pkg_cv_GLITZ_LIBS
31059
{ $as_echo "$as_me:$LINENO: result: yes" >&5
31060
$as_echo "yes" >&6; }
31064
cat >>confdefs.h <<_ACEOF
31065
#define HAVE_GLITZ 1
31073
if test "x$use_glitz" = "xYes"; then
31075
WITH_GLITZ_FALSE='#'
31077
WITH_GLITZ_TRUE='#'
31084
# Check whether --with-freetype2 was given.
31085
if test "${with_freetype2+set}" = set; then
31086
withval=$with_freetype2;
31092
if test "x$with_freetype2" != "xyes"; then
31093
use_freetype="No (disabled)"
31097
{ $as_echo "$as_me:$LINENO: checking for FREETYPE2" >&5
31098
$as_echo_n "checking for FREETYPE2... " >&6; }
31100
if test -n "$FREETYPE2_CFLAGS"; then
31101
pkg_cv_FREETYPE2_CFLAGS="$FREETYPE2_CFLAGS"
31102
elif test -n "$PKG_CONFIG"; then
31103
if test -n "$PKG_CONFIG" && \
31104
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
31105
($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
31107
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108
(exit $ac_status); }; then
31109
pkg_cv_FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
31116
if test -n "$FREETYPE2_LIBS"; then
31117
pkg_cv_FREETYPE2_LIBS="$FREETYPE2_LIBS"
31118
elif test -n "$PKG_CONFIG"; then
31119
if test -n "$PKG_CONFIG" && \
31120
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
31121
($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
31123
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124
(exit $ac_status); }; then
31125
pkg_cv_FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
31135
if test $pkg_failed = yes; then
31137
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31138
_pkg_short_errors_supported=yes
31140
_pkg_short_errors_supported=no
31142
if test $_pkg_short_errors_supported = yes; then
31143
FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
31145
FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
31147
# Put the nasty error message in config.log where it belongs
31148
echo "$FREETYPE2_PKG_ERRORS" >&5
31150
{ $as_echo "$as_me:$LINENO: result: no" >&5
31151
$as_echo "no" >&6; }
31153
{ $as_echo "$as_me:$LINENO: WARNING: pkg-config did not find a freetype2.pc. Looking for freetype-config." >&5
31154
$as_echo "$as_me: WARNING: pkg-config did not find a freetype2.pc. Looking for freetype-config." >&2;}
31156
elif test $pkg_failed = untried; then
31158
{ $as_echo "$as_me:$LINENO: WARNING: pkg-config did not find a freetype2.pc. Looking for freetype-config." >&5
31159
$as_echo "$as_me: WARNING: pkg-config did not find a freetype2.pc. Looking for freetype-config." >&2;}
31162
FREETYPE2_CFLAGS=$pkg_cv_FREETYPE2_CFLAGS
31163
FREETYPE2_LIBS=$pkg_cv_FREETYPE2_LIBS
31164
{ $as_echo "$as_me:$LINENO: result: yes" >&5
31165
$as_echo "yes" >&6; }
31172
# pkgconfig for freetype2 did not exist in redhat[78]
31173
if test "x$use_freetype" = "x"; then
31174
if test "x$FREETYPE_DIR" = "xyes"; then
31175
# Extract the first word of "freetype-config", so it can be a program name with args.
31176
set dummy freetype-config; ac_word=$2
31177
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31178
$as_echo_n "checking for $ac_word... " >&6; }
31179
if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then
31180
$as_echo_n "(cached) " >&6
31182
case $FREETYPE_CONFIG in
31184
ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
31187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31188
for as_dir in $PATH
31191
test -z "$as_dir" && as_dir=.
31192
for ac_exec_ext in '' $ac_executable_extensions; do
31193
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31194
ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31195
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31205
FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
31206
if test -n "$FREETYPE_CONFIG"; then
31207
{ $as_echo "$as_me:$LINENO: result: $FREETYPE_CONFIG" >&5
31208
$as_echo "$FREETYPE_CONFIG" >&6; }
31210
{ $as_echo "$as_me:$LINENO: result: no" >&5
31211
$as_echo "no" >&6; }
31216
# Extract the first word of "freetype-config", so it can be a program name with args.
31217
set dummy freetype-config; ac_word=$2
31218
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31219
$as_echo_n "checking for $ac_word... " >&6; }
31220
if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then
31221
$as_echo_n "(cached) " >&6
31223
case $FREETYPE_CONFIG in
31225
ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
31228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31229
as_dummy="$FREETYPE_DIR/bin:$PATH"
31230
for as_dir in $as_dummy
31233
test -z "$as_dir" && as_dir=.
31234
for ac_exec_ext in '' $ac_executable_extensions; do
31235
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31236
ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31237
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31247
FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
31248
if test -n "$FREETYPE_CONFIG"; then
31249
{ $as_echo "$as_me:$LINENO: result: $FREETYPE_CONFIG" >&5
31250
$as_echo "$FREETYPE_CONFIG" >&6; }
31252
{ $as_echo "$as_me:$LINENO: result: no" >&5
31253
$as_echo "no" >&6; }
31259
if test -n "$FREETYPE_CONFIG"; then
31260
if test "x$FREETYPE_DIR" != "xyes"; then
31261
FREETYPE2_CFLAGS="`$FREETYPE_CONFIG --cflags` -I$FREETYPE_DIR/include"
31263
FREETYPE2_CFLAGS=`$FREETYPE_CONFIG --cflags`
31265
FREETYPE2_LIBS=`$FREETYPE_CONFIG --libs`
31268
{ $as_echo "$as_me:$LINENO: WARNING: freetype library not available" >&5
31269
$as_echo "$as_me: WARNING: freetype library not available" >&2;}
31270
use_freetype="No (missing freetype-config)"
31274
if test "x$use_freetype" = "xYes"; then
31276
cat >>confdefs.h <<_ACEOF
31277
#define HAVE_FREETYPE2 1
31283
if test "x$ue_freetype" = "xYes"; then
31284
WITH_FREETYPE2_TRUE=
31285
WITH_FREETYPE2_FALSE='#'
31287
WITH_FREETYPE2_TRUE='#'
31288
WITH_FREETYPE2_FALSE=
31294
# Check whether --with-fontconfig was given.
31295
if test "${with_fontconfig+set}" = set; then
31296
withval=$with_fontconfig;
31298
with_fontconfig=yes
31302
if test "x$with_fontconfig" != "xyes"; then
31303
use_fontconfig="No (disabled)"
31307
{ $as_echo "$as_me:$LINENO: checking for FONTCONFIG" >&5
31308
$as_echo_n "checking for FONTCONFIG... " >&6; }
31310
if test -n "$FONTCONFIG_CFLAGS"; then
31311
pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
31312
elif test -n "$PKG_CONFIG"; then
31313
if test -n "$PKG_CONFIG" && \
31314
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig\"") >&5
31315
($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
31317
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318
(exit $ac_status); }; then
31319
pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
31326
if test -n "$FONTCONFIG_LIBS"; then
31327
pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
31328
elif test -n "$PKG_CONFIG"; then
31329
if test -n "$PKG_CONFIG" && \
31330
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig\"") >&5
31331
($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
31333
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334
(exit $ac_status); }; then
31335
pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
31345
if test $pkg_failed = yes; then
31347
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31348
_pkg_short_errors_supported=yes
31350
_pkg_short_errors_supported=no
31352
if test $_pkg_short_errors_supported = yes; then
31353
FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig" 2>&1`
31355
FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig" 2>&1`
31357
# Put the nasty error message in config.log where it belongs
31358
echo "$FONTCONFIG_PKG_ERRORS" >&5
31360
{ $as_echo "$as_me:$LINENO: result: no" >&5
31361
$as_echo "no" >&6; }
31363
{ $as_echo "$as_me:$LINENO: WARNING: pkg-config did not find a fontconfig.pc. Looking for fontconfig-config." >&5
31364
$as_echo "$as_me: WARNING: pkg-config did not find a fontconfig.pc. Looking for fontconfig-config." >&2;}
31366
elif test $pkg_failed = untried; then
31368
{ $as_echo "$as_me:$LINENO: WARNING: pkg-config did not find a fontconfig.pc. Looking for fontconfig-config." >&5
31369
$as_echo "$as_me: WARNING: pkg-config did not find a fontconfig.pc. Looking for fontconfig-config." >&2;}
31372
FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
31373
FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
31374
{ $as_echo "$as_me:$LINENO: result: yes" >&5
31375
$as_echo "yes" >&6; }
31377
use_fontconfig="Yes"
31382
# just in case pkgconfig for fontconfig does not exist
31383
if test "x$use_fontconfig" = "x"; then
31384
if test "x$FONTCONFIG_DIR" = "xyes"; then
31385
# Extract the first word of "fontconfig-config", so it can be a program name with args.
31386
set dummy fontconfig-config; ac_word=$2
31387
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31388
$as_echo_n "checking for $ac_word... " >&6; }
31389
if test "${ac_cv_path_FONTCONFIG_CONFIG+set}" = set; then
31390
$as_echo_n "(cached) " >&6
31392
case $FONTCONFIG_CONFIG in
31394
ac_cv_path_FONTCONFIG_CONFIG="$FONTCONFIG_CONFIG" # Let the user override the test with a path.
31397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31398
for as_dir in $PATH
31401
test -z "$as_dir" && as_dir=.
31402
for ac_exec_ext in '' $ac_executable_extensions; do
31403
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31404
ac_cv_path_FONTCONFIG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31405
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31415
FONTCONFIG_CONFIG=$ac_cv_path_FONTCONFIG_CONFIG
31416
if test -n "$FONTCONFIG_CONFIG"; then
31417
{ $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CONFIG" >&5
31418
$as_echo "$FONTCONFIG_CONFIG" >&6; }
31420
{ $as_echo "$as_me:$LINENO: result: no" >&5
31421
$as_echo "no" >&6; }
31426
# Extract the first word of "fontconfig-config", so it can be a program name with args.
31427
set dummy fontconfig-config; ac_word=$2
31428
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31429
$as_echo_n "checking for $ac_word... " >&6; }
31430
if test "${ac_cv_path_FONTCONFIG_CONFIG+set}" = set; then
31431
$as_echo_n "(cached) " >&6
31433
case $FONTCONFIG_CONFIG in
31435
ac_cv_path_FONTCONFIG_CONFIG="$FONTCONFIG_CONFIG" # Let the user override the test with a path.
31438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31439
as_dummy="$FONTCONFIG_DIR/bin:$PATH"
31440
for as_dir in $as_dummy
31443
test -z "$as_dir" && as_dir=.
31444
for ac_exec_ext in '' $ac_executable_extensions; do
31445
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31446
ac_cv_path_FONTCONFIG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31447
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31457
FONTCONFIG_CONFIG=$ac_cv_path_FONTCONFIG_CONFIG
31458
if test -n "$FONTCONFIG_CONFIG"; then
31459
{ $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CONFIG" >&5
31460
$as_echo "$FONTCONFIG_CONFIG" >&6; }
31462
{ $as_echo "$as_me:$LINENO: result: no" >&5
31463
$as_echo "no" >&6; }
31469
if test -n "$FONTCONFIG_CONFIG"; then
31470
if test "x$FONTCONFIG_DIR" != "xyes"; then
31471
FONTCONFIG_CFLAGS="`$FONTCONFIG_CONFIG --cflags` -I$FONTCONFIG_DIR/include"
31473
FONTCONFIG_CFLAGS=`$FONTCONFIG_CONFIG --cflags`
31475
FONTCONFIG_LIBS=`$FONTCONFIG_CONFIG --libs`
31476
use_fontconfig="Yes"
31478
use_fontconfig="No (missing fontconfig-config)"
31479
{ $as_echo "$as_me:$LINENO: WARNING: fontconfig library not available" >&5
31480
$as_echo "$as_me: WARNING: fontconfig library not available" >&2;}
31484
if test "x$use_fontconfig" = "xYes"; then
31486
cat >>confdefs.h <<_ACEOF
31487
#define HAVE_FONTCONFIG 1
31493
if test "x$use_fontconfig" = "xYes"; then
31494
WITH_FONTCONFIG_TRUE=
31495
WITH_FONTCONFIG_FALSE='#'
31497
WITH_FONTCONFIG_TRUE='#'
31498
WITH_FONTCONFIG_FALSE=
31504
# Check whether --with-gdk-pixbuf was given.
31505
if test "${with_gdk_pixbuf+set}" = set; then
31506
withval=$with_gdk_pixbuf;
31508
with_gdk_pixbuf=yes
31512
if test "x$with_gdk_pixbuf" != "xyes"; then
31513
use_gdk_pixbuf="No (disabled)"
31517
{ $as_echo "$as_me:$LINENO: checking for GDK_PIXBUF" >&5
31518
$as_echo_n "checking for GDK_PIXBUF... " >&6; }
31520
if test -n "$GDK_PIXBUF_CFLAGS"; then
31521
pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
31522
elif test -n "$PKG_CONFIG"; then
31523
if test -n "$PKG_CONFIG" && \
31524
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
31525
($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
31527
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528
(exit $ac_status); }; then
31529
pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
31536
if test -n "$GDK_PIXBUF_LIBS"; then
31537
pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
31538
elif test -n "$PKG_CONFIG"; then
31539
if test -n "$PKG_CONFIG" && \
31540
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
31541
($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
31543
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544
(exit $ac_status); }; then
31545
pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
31555
if test $pkg_failed = yes; then
31557
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31558
_pkg_short_errors_supported=yes
31560
_pkg_short_errors_supported=no
31562
if test $_pkg_short_errors_supported = yes; then
31563
GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf-2.0" 2>&1`
31565
GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf-2.0" 2>&1`
31567
# Put the nasty error message in config.log where it belongs
31568
echo "$GDK_PIXBUF_PKG_ERRORS" >&5
31570
{ $as_echo "$as_me:$LINENO: result: no" >&5
31571
$as_echo "no" >&6; }
31573
use_gdk_pixbuf="No (gdk_pixbuf library not available)"
31575
elif test $pkg_failed = untried; then
31577
use_gdk_pixbuf="No (gdk_pixbuf library not available)"
31580
GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
31581
GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
31582
{ $as_echo "$as_me:$LINENO: result: yes" >&5
31583
$as_echo "yes" >&6; }
31585
use_gdk_pixbuf="Yes"
31587
cat >>confdefs.h <<_ACEOF
31588
#define HAVE_GDK_PIXBUF 1
31596
if test "x$use_gdk_pixbuf" = "xYes"; then
31597
WITH_GDK_PIXBUF_TRUE=
31598
WITH_GDK_PIXBUF_FALSE='#'
31600
WITH_GDK_PIXBUF_TRUE='#'
31601
WITH_GDK_PIXBUF_FALSE=
31607
# Check whether --with-gtk was given.
31608
if test "${with_gtk+set}" = set; then
31615
if test "x$with_gtk" != "xyes"; then
31616
use_gtk="No (disabled)"
31620
{ $as_echo "$as_me:$LINENO: checking for GTK" >&5
31621
$as_echo_n "checking for GTK... " >&6; }
31623
if test -n "$GTK_CFLAGS"; then
31624
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
31625
elif test -n "$PKG_CONFIG"; then
31626
if test -n "$PKG_CONFIG" && \
31627
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.7.0\"") >&5
31628
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.7.0") 2>&5
31630
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631
(exit $ac_status); }; then
31632
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.7.0" 2>/dev/null`
31639
if test -n "$GTK_LIBS"; then
31640
pkg_cv_GTK_LIBS="$GTK_LIBS"
31641
elif test -n "$PKG_CONFIG"; then
31642
if test -n "$PKG_CONFIG" && \
31643
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.7.0\"") >&5
31644
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.7.0") 2>&5
31646
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647
(exit $ac_status); }; then
31648
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.7.0" 2>/dev/null`
31658
if test $pkg_failed = yes; then
31660
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31661
_pkg_short_errors_supported=yes
31663
_pkg_short_errors_supported=no
31665
if test $_pkg_short_errors_supported = yes; then
31666
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.7.0" 2>&1`
31668
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.7.0" 2>&1`
31670
# Put the nasty error message in config.log where it belongs
31671
echo "$GTK_PKG_ERRORS" >&5
31673
{ $as_echo "$as_me:$LINENO: result: no" >&5
31674
$as_echo "no" >&6; }
31676
use_gtk="No (gtk library not available)"
31678
elif test $pkg_failed = untried; then
31680
use_gtk="No (gtk library not available)"
31683
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
31684
GTK_LIBS=$pkg_cv_GTK_LIBS
31685
{ $as_echo "$as_me:$LINENO: result: yes" >&5
31686
$as_echo "yes" >&6; }
31690
cat >>confdefs.h <<_ACEOF
31699
if test "x$use_gtk" = "xYes"; then
31710
# Check whether --with-gtkgl was given.
31711
if test "${with_gtkgl+set}" = set; then
31712
withval=$with_gtkgl;
31718
if test "x$with_gtkgl" != "xyes"; then
31719
use_gtkgl="No (disabled)"
31723
{ $as_echo "$as_me:$LINENO: checking for GTKGL" >&5
31724
$as_echo_n "checking for GTKGL... " >&6; }
31726
if test -n "$GTKGL_CFLAGS"; then
31727
pkg_cv_GTKGL_CFLAGS="$GTKGL_CFLAGS"
31728
elif test -n "$PKG_CONFIG"; then
31729
if test -n "$PKG_CONFIG" && \
31730
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkgl-2.0\"") >&5
31731
($PKG_CONFIG --exists --print-errors "gtkgl-2.0") 2>&5
31733
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734
(exit $ac_status); }; then
31735
pkg_cv_GTKGL_CFLAGS=`$PKG_CONFIG --cflags "gtkgl-2.0" 2>/dev/null`
31742
if test -n "$GTKGL_LIBS"; then
31743
pkg_cv_GTKGL_LIBS="$GTKGL_LIBS"
31744
elif test -n "$PKG_CONFIG"; then
31745
if test -n "$PKG_CONFIG" && \
31746
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkgl-2.0\"") >&5
31747
($PKG_CONFIG --exists --print-errors "gtkgl-2.0") 2>&5
31749
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750
(exit $ac_status); }; then
31751
pkg_cv_GTKGL_LIBS=`$PKG_CONFIG --libs "gtkgl-2.0" 2>/dev/null`
31761
if test $pkg_failed = yes; then
31763
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31764
_pkg_short_errors_supported=yes
31766
_pkg_short_errors_supported=no
31768
if test $_pkg_short_errors_supported = yes; then
31769
GTKGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtkgl-2.0" 2>&1`
31771
GTKGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtkgl-2.0" 2>&1`
31773
# Put the nasty error message in config.log where it belongs
31774
echo "$GTKGL_PKG_ERRORS" >&5
31776
{ $as_echo "$as_me:$LINENO: result: no" >&5
31777
$as_echo "no" >&6; }
31779
use_gtkgl="No (gtkgl library not available)"
31781
elif test $pkg_failed = untried; then
31783
use_gtkgl="No (gtkgl library not available)"
31786
GTKGL_CFLAGS=$pkg_cv_GTKGL_CFLAGS
31787
GTKGL_LIBS=$pkg_cv_GTKGL_LIBS
31788
{ $as_echo "$as_me:$LINENO: result: yes" >&5
31789
$as_echo "yes" >&6; }
31793
cat >>confdefs.h <<_ACEOF
31794
#define HAVE_GTKGL 1
31802
if test "x$use_gtkgl" = "xYes"; then
31804
WITH_GTKGL_FALSE='#'
31806
WITH_GTKGL_TRUE='#'
31813
# Check whether --with-gtkglext was given.
31814
if test "${with_gtkglext+set}" = set; then
31815
withval=$with_gtkglext;
31821
if test "x$with_gtkglext" != "xyes"; then
31822
use_gtkglext="No (disabled)"
31826
{ $as_echo "$as_me:$LINENO: checking for GTKGLEXT" >&5
31827
$as_echo_n "checking for GTKGLEXT... " >&6; }
31829
if test -n "$GTKGLEXT_CFLAGS"; then
31830
pkg_cv_GTKGLEXT_CFLAGS="$GTKGLEXT_CFLAGS"
31831
elif test -n "$PKG_CONFIG"; then
31832
if test -n "$PKG_CONFIG" && \
31833
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkglext-1.0\"") >&5
31834
($PKG_CONFIG --exists --print-errors "gtkglext-1.0") 2>&5
31836
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837
(exit $ac_status); }; then
31838
pkg_cv_GTKGLEXT_CFLAGS=`$PKG_CONFIG --cflags "gtkglext-1.0" 2>/dev/null`
31845
if test -n "$GTKGLEXT_LIBS"; then
31846
pkg_cv_GTKGLEXT_LIBS="$GTKGLEXT_LIBS"
31847
elif test -n "$PKG_CONFIG"; then
31848
if test -n "$PKG_CONFIG" && \
31849
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkglext-1.0\"") >&5
31850
($PKG_CONFIG --exists --print-errors "gtkglext-1.0") 2>&5
31852
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853
(exit $ac_status); }; then
31854
pkg_cv_GTKGLEXT_LIBS=`$PKG_CONFIG --libs "gtkglext-1.0" 2>/dev/null`
31864
if test $pkg_failed = yes; then
31866
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31867
_pkg_short_errors_supported=yes
31869
_pkg_short_errors_supported=no
31871
if test $_pkg_short_errors_supported = yes; then
31872
GTKGLEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtkglext-1.0" 2>&1`
31874
GTKGLEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtkglext-1.0" 2>&1`
31876
# Put the nasty error message in config.log where it belongs
31877
echo "$GTKGLEXT_PKG_ERRORS" >&5
31879
{ $as_echo "$as_me:$LINENO: result: no" >&5
31880
$as_echo "no" >&6; }
31882
use_gtkglext="No (gtkglext library not available)"
31884
elif test $pkg_failed = untried; then
31886
use_gtkglext="No (gtkglext library not available)"
31889
GTKGLEXT_CFLAGS=$pkg_cv_GTKGLEXT_CFLAGS
31890
GTKGLEXT_LIBS=$pkg_cv_GTKGLEXT_LIBS
31891
{ $as_echo "$as_me:$LINENO: result: yes" >&5
31892
$as_echo "yes" >&6; }
31896
cat >>confdefs.h <<_ACEOF
31897
#define HAVE_GTKGLEXT 1
31905
if test "x$use_gtkglext" = "xYes"; then
31906
WITH_GTKGLEXT_TRUE=
31907
WITH_GTKGLEXT_FALSE='#'
31909
WITH_GTKGLEXT_TRUE='#'
31910
WITH_GTKGLEXT_FALSE=
31916
# Check whether --with-gts was given.
31917
if test "${with_gts+set}" = set; then
31924
if test "x$with_gts" != "xyes"; then
31925
use_gts="No (disabled)"
31929
{ $as_echo "$as_me:$LINENO: checking for GTS" >&5
31930
$as_echo_n "checking for GTS... " >&6; }
31932
if test -n "$GTS_CFLAGS"; then
31933
pkg_cv_GTS_CFLAGS="$GTS_CFLAGS"
31934
elif test -n "$PKG_CONFIG"; then
31935
if test -n "$PKG_CONFIG" && \
31936
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gts\"") >&5
31937
($PKG_CONFIG --exists --print-errors "gts") 2>&5
31939
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940
(exit $ac_status); }; then
31941
pkg_cv_GTS_CFLAGS=`$PKG_CONFIG --cflags "gts" 2>/dev/null`
31948
if test -n "$GTS_LIBS"; then
31949
pkg_cv_GTS_LIBS="$GTS_LIBS"
31950
elif test -n "$PKG_CONFIG"; then
31951
if test -n "$PKG_CONFIG" && \
31952
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gts\"") >&5
31953
($PKG_CONFIG --exists --print-errors "gts") 2>&5
31955
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956
(exit $ac_status); }; then
31957
pkg_cv_GTS_LIBS=`$PKG_CONFIG --libs "gts" 2>/dev/null`
31967
if test $pkg_failed = yes; then
31969
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31970
_pkg_short_errors_supported=yes
31972
_pkg_short_errors_supported=no
31974
if test $_pkg_short_errors_supported = yes; then
31975
GTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gts" 2>&1`
31977
GTS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gts" 2>&1`
31979
# Put the nasty error message in config.log where it belongs
31980
echo "$GTS_PKG_ERRORS" >&5
31982
{ $as_echo "$as_me:$LINENO: result: no" >&5
31983
$as_echo "no" >&6; }
31985
use_gts="No (gts library not available)"
31987
elif test $pkg_failed = untried; then
31989
use_gts="No (gts library not available)"
31992
GTS_CFLAGS=$pkg_cv_GTS_CFLAGS
31993
GTS_LIBS=$pkg_cv_GTS_LIBS
31994
{ $as_echo "$as_me:$LINENO: result: yes" >&5
31995
$as_echo "yes" >&6; }
31999
cat >>confdefs.h <<_ACEOF
32008
if test "x$use_gts" = "xYes"; then
32019
# Check whether --with-glade was given.
32020
if test "${with_glade+set}" = set; then
32021
withval=$with_glade;
32027
if test "x$with_glade" != "xyes"; then
32028
use_glade="No (disabled)"
32032
{ $as_echo "$as_me:$LINENO: checking for GLADE" >&5
32033
$as_echo_n "checking for GLADE... " >&6; }
32035
if test -n "$GLADE_CFLAGS"; then
32036
pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS"
32037
elif test -n "$PKG_CONFIG"; then
32038
if test -n "$PKG_CONFIG" && \
32039
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
32040
($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
32042
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043
(exit $ac_status); }; then
32044
pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0" 2>/dev/null`
32051
if test -n "$GLADE_LIBS"; then
32052
pkg_cv_GLADE_LIBS="$GLADE_LIBS"
32053
elif test -n "$PKG_CONFIG"; then
32054
if test -n "$PKG_CONFIG" && \
32055
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
32056
($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
32058
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059
(exit $ac_status); }; then
32060
pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0" 2>/dev/null`
32070
if test $pkg_failed = yes; then
32072
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32073
_pkg_short_errors_supported=yes
32075
_pkg_short_errors_supported=no
32077
if test $_pkg_short_errors_supported = yes; then
32078
GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libglade-2.0" 2>&1`
32080
GLADE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libglade-2.0" 2>&1`
32082
# Put the nasty error message in config.log where it belongs
32083
echo "$GLADE_PKG_ERRORS" >&5
32085
{ $as_echo "$as_me:$LINENO: result: no" >&5
32086
$as_echo "no" >&6; }
32088
use_glade="No (glade library not available)"
32090
elif test $pkg_failed = untried; then
32092
use_glade="No (glade library not available)"
32095
GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
32096
GLADE_LIBS=$pkg_cv_GLADE_LIBS
32097
{ $as_echo "$as_me:$LINENO: result: yes" >&5
32098
$as_echo "yes" >&6; }
32102
cat >>confdefs.h <<_ACEOF
32103
#define HAVE_GLADE 1
32111
if test "x$use_glade" = "xYes"; then
32113
WITH_GLADE_FALSE='#'
32115
WITH_GLADE_TRUE='#'
32122
# Check whether --with-ming was given.
32123
if test "${with_ming+set}" = set; then
32124
withval=$with_ming;
32130
if test "x$with_ming" != "xyes"; then
32131
use_ming="No (disabled by default - incomplete)"
32135
{ $as_echo "$as_me:$LINENO: checking for MING" >&5
32136
$as_echo_n "checking for MING... " >&6; }
32138
if test -n "$MING_CFLAGS"; then
32139
pkg_cv_MING_CFLAGS="$MING_CFLAGS"
32140
elif test -n "$PKG_CONFIG"; then
32141
if test -n "$PKG_CONFIG" && \
32142
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libming >= 0.4\"") >&5
32143
($PKG_CONFIG --exists --print-errors "libming >= 0.4") 2>&5
32145
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146
(exit $ac_status); }; then
32147
pkg_cv_MING_CFLAGS=`$PKG_CONFIG --cflags "libming >= 0.4" 2>/dev/null`
32154
if test -n "$MING_LIBS"; then
32155
pkg_cv_MING_LIBS="$MING_LIBS"
32156
elif test -n "$PKG_CONFIG"; then
32157
if test -n "$PKG_CONFIG" && \
32158
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libming >= 0.4\"") >&5
32159
($PKG_CONFIG --exists --print-errors "libming >= 0.4") 2>&5
32161
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162
(exit $ac_status); }; then
32163
pkg_cv_MING_LIBS=`$PKG_CONFIG --libs "libming >= 0.4" 2>/dev/null`
32173
if test $pkg_failed = yes; then
32175
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32176
_pkg_short_errors_supported=yes
32178
_pkg_short_errors_supported=no
32180
if test $_pkg_short_errors_supported = yes; then
32181
MING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libming >= 0.4" 2>&1`
32183
MING_PKG_ERRORS=`$PKG_CONFIG --print-errors "libming >= 0.4" 2>&1`
32185
# Put the nasty error message in config.log where it belongs
32186
echo "$MING_PKG_ERRORS" >&5
32188
{ $as_echo "$as_me:$LINENO: result: no" >&5
32189
$as_echo "no" >&6; }
32191
use_ming="No (ming library not available)"
32193
elif test $pkg_failed = untried; then
32195
use_ming="No (ming library not available)"
32198
MING_CFLAGS=$pkg_cv_MING_CFLAGS
32199
MING_LIBS=$pkg_cv_MING_LIBS
32200
{ $as_echo "$as_me:$LINENO: result: yes" >&5
32201
$as_echo "yes" >&6; }
32205
cat >>confdefs.h <<_ACEOF
32206
#define HAVE_MING 1
32214
if test "x$use_ming" = "xYes"; then
32216
WITH_MING_FALSE='#'
32225
# Check whether --with-quartz was given.
32226
if test "${with_quartz+set}" = set; then
32227
withval=$with_quartz;
32233
if test "x$with_quartz" != "xyes"; then
32234
use_quartz="No (disabled by default - Mac only)"
32236
if test -d "/System/Library/Frameworks/ApplicationServices.framework"; then
32239
cat >>confdefs.h <<_ACEOF
32240
#define HAVE_QUARTZ 1
32244
QUARTZ_LIBS='-framework ApplicationServices'
32248
use_quartz="No (missing ApplicationServices.framework)"
32251
if test "x$use_quartz" = "xYes"; then
32253
WITH_QUARTZ_FALSE='#'
32255
WITH_QUARTZ_TRUE='#'
32262
# Check whether --with-platformsdkincludedir was given.
32263
if test "${with_platformsdkincludedir+set}" = set; then
32264
withval=$with_platformsdkincludedir; PLATFORMSDKINCLUDE=$withval; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE//'\\'/\\\\}; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE_ESCAPED// /\\ }
32269
# Check whether --with-platformsdklibdir was given.
32270
if test "${with_platformsdklibdir+set}" = set; then
32271
withval=$with_platformsdklibdir; PLATFORMSDKLIB=$withval
32281
# Check whether --with-gdiplus was given.
32282
if test "${with_gdiplus+set}" = set; then
32283
withval=$with_gdiplus;
32289
if test "x$with_gdiplus" != "xyes"; then
32290
use_gdiplus="No (disabled by default - Windows only)"
32292
if test -f "$PLATFORMSDKINCLUDE\GdiPlus.h" -a -f "$PLATFORMSDKLIB\GdiPlus.lib"; then
32295
cat >>confdefs.h <<_ACEOF
32296
#define HAVE_GDIPLUS 1
32299
GDIPLUS_HEADS=`cd "$PLATFORMSDKINCLUDE" && echo GdiPlus*.h`
32306
use_gdiplus="No (missing headers)"
32307
{ $as_echo "$as_me:$LINENO: WARNING: --with-gdiplus requires valid --with-platformsdkincludedir and --with-platformsdklibdir." >&5
32308
$as_echo "$as_me: WARNING: --with-gdiplus requires valid --with-platformsdkincludedir and --with-platformsdklibdir." >&2;}
32311
if test "x$use_gdiplus" = "xYes"; then
32313
WITH_GDIPLUS_FALSE='#'
32315
WITH_GDIPLUS_TRUE='#'
32316
WITH_GDIPLUS_FALSE=
32322
# Check whether --with-libgd was given.
32323
if test "${with_libgd+set}" = set; then
32324
withval=$with_libgd;
32331
# Check whether --with-mylibgd was given.
32332
if test "${with_mylibgd+set}" = set; then
32333
withval=$with_mylibgd;
32339
if test "x$with_mylibgd" = "xyes"; then
32343
if test "x$with_libgd" != "xyes"; then
32344
use_gd="No (disabled)"
32346
if test "x$with_libgd" = "xyes"; then
32347
if test "x$with_mylibgd" = "xno"; then
32348
# Extract the first word of "gdlib-config", so it can be a program name with args.
32349
set dummy gdlib-config; ac_word=$2
32350
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
32351
$as_echo_n "checking for $ac_word... " >&6; }
32352
if test "${ac_cv_path_GDLIB_CONFIG+set}" = set; then
32353
$as_echo_n "(cached) " >&6
32355
case $GDLIB_CONFIG in
32357
ac_cv_path_GDLIB_CONFIG="$GDLIB_CONFIG" # Let the user override the test with a path.
32360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32361
for as_dir in $PATH
32364
test -z "$as_dir" && as_dir=.
32365
for ac_exec_ext in '' $ac_executable_extensions; do
32366
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32367
ac_cv_path_GDLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32368
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32378
GDLIB_CONFIG=$ac_cv_path_GDLIB_CONFIG
32379
if test -n "$GDLIB_CONFIG"; then
32380
{ $as_echo "$as_me:$LINENO: result: $GDLIB_CONFIG" >&5
32381
$as_echo "$GDLIB_CONFIG" >&6; }
32383
{ $as_echo "$as_me:$LINENO: result: no" >&5
32384
$as_echo "no" >&6; }
32388
if test -n "$GDLIB_CONFIG"; then
32389
GD_INCLUDES=`$GDLIB_CONFIG --includes`
32390
GD_LDFLAGS=`$GDLIB_CONFIG --ldflags | sed 's/-xarch=386 //'`
32391
GD_LIBS=`$GDLIB_CONFIG --libs`
32392
GD_MAJORVERSION=`$GDLIB_CONFIG --majorversion`
32393
GD_MINORVERSION=`$GDLIB_CONFIG --minorversion`
32394
GD_REVISION=`$GDLIB_CONFIG --revision`
32395
for f in `$GDLIB_CONFIG --features` ; do
32396
if test "$f" = "GD_PNG"; then
32398
cat >>confdefs.h <<_ACEOF
32399
#define HAVE_GD_PNG 1
32403
if test "$f" = "GD_JPEG"; then
32405
cat >>confdefs.h <<_ACEOF
32406
#define HAVE_GD_JPEG 1
32410
if test "$f" = "GD_XPM"; then
32412
cat >>confdefs.h <<_ACEOF
32413
#define HAVE_GD_XPM 1
32417
if test "$f" = "GD_FONTCONFIG"; then
32418
HAVE_GD_FONTCONFIG=1
32420
cat >>confdefs.h <<_ACEOF
32421
#define HAVE_GD_FONTCONFIG 1
32425
if test "$f" = "GD_FREETYPE"; then
32428
cat >>confdefs.h <<_ACEOF
32429
#define HAVE_GD_FREETYPE 1
32433
if test "$f" = "GD_GIF"; then
32435
cat >>confdefs.h <<_ACEOF
32436
#define HAVE_GD_GIF 1
32440
if test "$f" = "GD_GIFANIM"; then
32442
cat >>confdefs.h <<_ACEOF
32443
#define HAVE_GD_GIFANIM 1
32447
if test "$f" = "GD_OPENPOLYGON"; then
32449
cat >>confdefs.h <<_ACEOF
32450
#define HAVE_GD_OPENPOLYGON 1
32456
if test "x$HAVE_GD_FONTCONFIG" = "x"; then
32457
{ $as_echo "$as_me:$LINENO: WARNING: Your libgd was not built with freetype support. This may result in problems displaying fonts." >&5
32458
$as_echo "$as_me: WARNING: Your libgd was not built with freetype support. This may result in problems displaying fonts." >&2;}
32460
if test "x$HAVE_GD_FREETYPE" = "x"; then
32461
{ $as_echo "$as_me:$LINENO: WARNING: Your libgd was not built with fontconfig support. This may result in problems resolving fonts." >&5
32462
$as_echo "$as_me: WARNING: Your libgd was not built with fontconfig support. This may result in problems resolving fonts." >&2;}
32465
# GD version check >= 2.0.34 else revert to --with-mylibgd
32466
REQ_GD_MAJORVERSION=2
32467
REQ_GD_MINORVERSION=0
32469
if test $GD_MAJORVERSION -lt $REQ_GD_MAJORVERSION; then
32472
if test $GD_MAJORVERSION -eq $REQ_GD_MAJORVERSION; then
32473
if test $GD_MINORVERSION -lt $REQ_GD_MINORVERSION; then
32476
if test $GD_MINORVERSION -eq $REQ_GD_MINORVERSION; then
32477
if test $GD_REVISION -lt $REQ_GD_REVISION; then
32484
if test "x$with_mylibgd" = "xyes"; then
32485
{ $as_echo "$as_me:$LINENO: WARNING: GD library version < $REQ_GD_MAJORVERSION.$REQ_GD_MINORVERSION.$REQ_GD_REVISION" >&5
32486
$as_echo "$as_me: WARNING: GD library version < $REQ_GD_MAJORVERSION.$REQ_GD_MINORVERSION.$REQ_GD_REVISION" >&2;}
32490
{ $as_echo "$as_me:$LINENO: WARNING: No gdlib-config found." >&5
32491
$as_echo "$as_me: WARNING: No gdlib-config found." >&2;}
32495
# prevent explicit use of -I/usr/include as it breaks mingw cross-compiles
32496
if test "x$GD_INCLUDES" = "x-I/usr/include"; then
32499
# prevent explicit use of -L/usr/lib or -L/usr/lib64, unnecessary clutter
32500
if test "x$GD_LDFLAGS" = "x-L/usr/lib"; then
32503
if test "x$GD_LDFLAGS" = "x-L/usr/lib64"; then
32507
if test "x$with_mylibgd" = "xno"; then
32508
if test "x$with_libgd" = "xyes"; then
32509
# see if we can use the external gd lib
32510
save_CPPFLAGS=$CPPFLAGS
32511
save_LDFLAGS=$LDFLAGS
32513
# Check whether --with-gdincludedir was given.
32514
if test "${with_gdincludedir+set}" = set; then
32515
withval=$with_gdincludedir; GD_INCLUDES="-I$withval"
32518
CPPFLAGS="$CPPFLAGS $GD_INCLUDES"
32520
# Check whether --with-gdlibdir was given.
32521
if test "${with_gdlibdir+set}" = set; then
32522
withval=$with_gdlibdir; GD_LDFLAGS="-L$withval"
32525
LDFLAGS="$LDFLAGS $GD_LDFLAGS"
32526
if test "${ac_cv_header_gd_h+set}" = set; then
32527
{ $as_echo "$as_me:$LINENO: checking for gd.h" >&5
32528
$as_echo_n "checking for gd.h... " >&6; }
32529
if test "${ac_cv_header_gd_h+set}" = set; then
32530
$as_echo_n "(cached) " >&6
32532
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
32533
$as_echo "$ac_cv_header_gd_h" >&6; }
32535
# Is the header compilable?
32536
{ $as_echo "$as_me:$LINENO: checking gd.h usability" >&5
32537
$as_echo_n "checking gd.h usability... " >&6; }
32538
cat >conftest.$ac_ext <<_ACEOF
32541
cat confdefs.h >>conftest.$ac_ext
32542
cat >>conftest.$ac_ext <<_ACEOF
32543
/* end confdefs.h. */
32544
$ac_includes_default
32547
rm -f conftest.$ac_objext
32548
if { (ac_try="$ac_compile"
32549
case "(($ac_try" in
32550
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32551
*) ac_try_echo=$ac_try;;
32553
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32554
$as_echo "$ac_try_echo") >&5
32555
(eval "$ac_compile") 2>conftest.er1
32557
grep -v '^ *+' conftest.er1 >conftest.err
32559
cat conftest.err >&5
32560
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561
(exit $ac_status); } && {
32562
test -z "$ac_c_werror_flag" ||
32563
test ! -s conftest.err
32564
} && test -s conftest.$ac_objext; then
32565
ac_header_compiler=yes
32567
$as_echo "$as_me: failed program was:" >&5
32568
sed 's/^/| /' conftest.$ac_ext >&5
32570
ac_header_compiler=no
32573
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32574
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32575
$as_echo "$ac_header_compiler" >&6; }
32577
# Is the header present?
32578
{ $as_echo "$as_me:$LINENO: checking gd.h presence" >&5
32579
$as_echo_n "checking gd.h presence... " >&6; }
32580
cat >conftest.$ac_ext <<_ACEOF
32583
cat confdefs.h >>conftest.$ac_ext
32584
cat >>conftest.$ac_ext <<_ACEOF
32585
/* end confdefs.h. */
32588
if { (ac_try="$ac_cpp conftest.$ac_ext"
32589
case "(($ac_try" in
32590
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32591
*) ac_try_echo=$ac_try;;
32593
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32594
$as_echo "$ac_try_echo") >&5
32595
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32597
grep -v '^ *+' conftest.er1 >conftest.err
32599
cat conftest.err >&5
32600
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601
(exit $ac_status); } >/dev/null && {
32602
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32603
test ! -s conftest.err
32605
ac_header_preproc=yes
32607
$as_echo "$as_me: failed program was:" >&5
32608
sed 's/^/| /' conftest.$ac_ext >&5
32610
ac_header_preproc=no
32613
rm -f conftest.err conftest.$ac_ext
32614
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32615
$as_echo "$ac_header_preproc" >&6; }
32617
# So? What about this header?
32618
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32620
{ $as_echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
32621
$as_echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32622
{ $as_echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
32623
$as_echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
32624
ac_header_preproc=yes
32627
{ $as_echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
32628
$as_echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
32629
{ $as_echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5
32630
$as_echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;}
32631
{ $as_echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
32632
$as_echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
32633
{ $as_echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5
32634
$as_echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;}
32635
{ $as_echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
32636
$as_echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
32637
{ $as_echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
32638
$as_echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
32640
## --------------------------------------- ##
32641
## Report this to http://www.graphviz.org/ ##
32642
## --------------------------------------- ##
32644
) | sed "s/^/$as_me: WARNING: /" >&2
32647
{ $as_echo "$as_me:$LINENO: checking for gd.h" >&5
32648
$as_echo_n "checking for gd.h... " >&6; }
32649
if test "${ac_cv_header_gd_h+set}" = set; then
32650
$as_echo_n "(cached) " >&6
32652
ac_cv_header_gd_h=$ac_header_preproc
32654
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
32655
$as_echo "$ac_cv_header_gd_h" >&6; }
32658
if test "x$ac_cv_header_gd_h" = x""yes; then
32662
{ $as_echo "$as_me:$LINENO: WARNING: Optional GD library not available - no gd.h" >&5
32663
$as_echo "$as_me: WARNING: Optional GD library not available - no gd.h" >&2;}
32664
use_gd="No (gd headers not found)"
32669
if test "x$use_gd" = "x"; then
32670
{ $as_echo "$as_me:$LINENO: checking for main in -lgd" >&5
32671
$as_echo_n "checking for main in -lgd... " >&6; }
32672
if test "${ac_cv_lib_gd_main+set}" = set; then
32673
$as_echo_n "(cached) " >&6
32675
ac_check_lib_save_LIBS=$LIBS
32676
LIBS="-lgd $GD_LIBS $LIBS"
32677
cat >conftest.$ac_ext <<_ACEOF
32680
cat confdefs.h >>conftest.$ac_ext
32681
cat >>conftest.$ac_ext <<_ACEOF
32682
/* end confdefs.h. */
32693
rm -f conftest.$ac_objext conftest$ac_exeext
32694
if { (ac_try="$ac_link"
32695
case "(($ac_try" in
32696
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32697
*) ac_try_echo=$ac_try;;
32699
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32700
$as_echo "$ac_try_echo") >&5
32701
(eval "$ac_link") 2>conftest.er1
32703
grep -v '^ *+' conftest.er1 >conftest.err
32705
cat conftest.err >&5
32706
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707
(exit $ac_status); } && {
32708
test -z "$ac_c_werror_flag" ||
32709
test ! -s conftest.err
32710
} && test -s conftest$ac_exeext && {
32711
test "$cross_compiling" = yes ||
32712
$as_test_x conftest$ac_exeext
32714
ac_cv_lib_gd_main=yes
32716
$as_echo "$as_me: failed program was:" >&5
32717
sed 's/^/| /' conftest.$ac_ext >&5
32719
ac_cv_lib_gd_main=no
32722
rm -rf conftest.dSYM
32723
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32724
conftest$ac_exeext conftest.$ac_ext
32725
LIBS=$ac_check_lib_save_LIBS
32727
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gd_main" >&5
32728
$as_echo "$ac_cv_lib_gd_main" >&6; }
32729
if test "x$ac_cv_lib_gd_main" = x""yes; then
32731
GD_LIBS="$GD_LDFLAGS -lgd $GD_LIBS"
32733
cat >>confdefs.h <<_ACEOF
32734
#define HAVE_LIBGD 1
32741
{ $as_echo "$as_me:$LINENO: WARNING: Optional GD library not available" >&5
32742
$as_echo "$as_me: WARNING: Optional GD library not available" >&2;}
32743
use_gd="No (library not found)"
32748
LDFLAGS=$save_LDFLAGS
32749
CPPFLAGS=$save_CPPFLAGS
32752
# using the internal libgd
32753
use_gd="Yes (internal)"
32754
{ $as_echo "$as_me:$LINENO: WARNING: Using internal libgd source." >&5
32755
$as_echo "$as_me: WARNING: Using internal libgd source." >&2;}
32757
cat >>confdefs.h <<_ACEOF
32758
#define HAVE_GD_GIF 1
32762
cat >>confdefs.h <<_ACEOF
32763
#define HAVE_LIBGD 1
32766
GD_INCLUDES='-I$(top_srcdir)/lib/gd'
32767
GD_LIBS='$(top_builddir)/lib/gd/libgvgd.la'
32772
if test "x$with_libgd" = "xyes"; then
32774
WITH_LIBGD_FALSE='#'
32776
WITH_LIBGD_TRUE='#'
32780
if test "x$with_mylibgd" = "xyes"; then
32782
WITH_MYLIBGD_FALSE='#'
32784
WITH_MYLIBGD_TRUE='#'
32785
WITH_MYLIBGD_FALSE=
32790
if test "x$with_mylibgd" = "xyes"; then
32791
if test "x$use_freetype" = "xYes"; then
32793
cat >>confdefs.h <<_ACEOF
32794
#define HAVE_GD_FREETYPE 1
32798
if test "x$use_fontconfig" = "xYes"; then
32800
cat >>confdefs.h <<_ACEOF
32801
#define HAVE_GD_FONTCONFIG 1
32809
# Check whether --with-glut was given.
32810
if test "${with_glut+set}" = set; then
32811
withval=$with_glut;
32817
if test "x$with_glut" != "xyes"; then
32818
use_glut="No (disabled)"
32820
save_CPPFLAGS=$CPPFLAGS
32821
save_LDFLAGS=$LDFLAGS
32823
# Check whether --with-glutincludedir was given.
32824
if test "${with_glutincludedir+set}" = set; then
32825
withval=$with_glutincludedir; GLUT_CFLAGS="-I$withval"
32828
CPPFLAGS="$CPPFLAGS $GLUT_CFLAGS"
32830
# Check whether --with-glutlibdir was given.
32831
if test "${with_glutlibdir+set}" = set; then
32832
withval=$with_glutlibdir; GLUT_LIBS="-L$withval"
32835
LDFLAGS="$LDFLAGS $GLUT_LIBS"
32837
if test "${ac_cv_header_GL_glut_h+set}" = set; then
32838
{ $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
32839
$as_echo_n "checking for GL/glut.h... " >&6; }
32840
if test "${ac_cv_header_GL_glut_h+set}" = set; then
32841
$as_echo_n "(cached) " >&6
32843
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
32844
$as_echo "$ac_cv_header_GL_glut_h" >&6; }
32846
# Is the header compilable?
32847
{ $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
32848
$as_echo_n "checking GL/glut.h usability... " >&6; }
32849
cat >conftest.$ac_ext <<_ACEOF
32852
cat confdefs.h >>conftest.$ac_ext
32853
cat >>conftest.$ac_ext <<_ACEOF
32854
/* end confdefs.h. */
32855
$ac_includes_default
32856
#include <GL/glut.h>
32858
rm -f conftest.$ac_objext
32859
if { (ac_try="$ac_compile"
32860
case "(($ac_try" in
32861
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32862
*) ac_try_echo=$ac_try;;
32864
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32865
$as_echo "$ac_try_echo") >&5
32866
(eval "$ac_compile") 2>conftest.er1
32868
grep -v '^ *+' conftest.er1 >conftest.err
32870
cat conftest.err >&5
32871
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872
(exit $ac_status); } && {
32873
test -z "$ac_c_werror_flag" ||
32874
test ! -s conftest.err
32875
} && test -s conftest.$ac_objext; then
32876
ac_header_compiler=yes
32878
$as_echo "$as_me: failed program was:" >&5
32879
sed 's/^/| /' conftest.$ac_ext >&5
32881
ac_header_compiler=no
32884
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32885
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32886
$as_echo "$ac_header_compiler" >&6; }
32888
# Is the header present?
32889
{ $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
32890
$as_echo_n "checking GL/glut.h presence... " >&6; }
32891
cat >conftest.$ac_ext <<_ACEOF
32894
cat confdefs.h >>conftest.$ac_ext
32895
cat >>conftest.$ac_ext <<_ACEOF
32896
/* end confdefs.h. */
32897
#include <GL/glut.h>
32899
if { (ac_try="$ac_cpp conftest.$ac_ext"
32900
case "(($ac_try" in
32901
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32902
*) ac_try_echo=$ac_try;;
32904
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32905
$as_echo "$ac_try_echo") >&5
32906
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32908
grep -v '^ *+' conftest.er1 >conftest.err
32910
cat conftest.err >&5
32911
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912
(exit $ac_status); } >/dev/null && {
32913
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32914
test ! -s conftest.err
32916
ac_header_preproc=yes
32918
$as_echo "$as_me: failed program was:" >&5
32919
sed 's/^/| /' conftest.$ac_ext >&5
32921
ac_header_preproc=no
32924
rm -f conftest.err conftest.$ac_ext
32925
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32926
$as_echo "$ac_header_preproc" >&6; }
32928
# So? What about this header?
32929
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32931
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
32932
$as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32933
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
32934
$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
32935
ac_header_preproc=yes
32938
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
32939
$as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
32940
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5
32941
$as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;}
32942
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
32943
$as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
32944
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5
32945
$as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;}
32946
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
32947
$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
32948
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
32949
$as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
32951
## --------------------------------------- ##
32952
## Report this to http://www.graphviz.org/ ##
32953
## --------------------------------------- ##
32955
) | sed "s/^/$as_me: WARNING: /" >&2
32958
{ $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
32959
$as_echo_n "checking for GL/glut.h... " >&6; }
32960
if test "${ac_cv_header_GL_glut_h+set}" = set; then
32961
$as_echo_n "(cached) " >&6
32963
ac_cv_header_GL_glut_h=$ac_header_preproc
32965
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
32966
$as_echo "$ac_cv_header_GL_glut_h" >&6; }
32969
if test "x$ac_cv_header_GL_glut_h" = x""yes; then
32970
{ $as_echo "$as_me:$LINENO: checking for main in -lglut" >&5
32971
$as_echo_n "checking for main in -lglut... " >&6; }
32972
if test "${ac_cv_lib_glut_main+set}" = set; then
32973
$as_echo_n "(cached) " >&6
32975
ac_check_lib_save_LIBS=$LIBS
32976
LIBS="-lglut $LIBS"
32977
cat >conftest.$ac_ext <<_ACEOF
32980
cat confdefs.h >>conftest.$ac_ext
32981
cat >>conftest.$ac_ext <<_ACEOF
32982
/* end confdefs.h. */
32993
rm -f conftest.$ac_objext conftest$ac_exeext
32994
if { (ac_try="$ac_link"
32995
case "(($ac_try" in
32996
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32997
*) ac_try_echo=$ac_try;;
32999
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33000
$as_echo "$ac_try_echo") >&5
33001
(eval "$ac_link") 2>conftest.er1
33003
grep -v '^ *+' conftest.er1 >conftest.err
33005
cat conftest.err >&5
33006
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007
(exit $ac_status); } && {
33008
test -z "$ac_c_werror_flag" ||
33009
test ! -s conftest.err
33010
} && test -s conftest$ac_exeext && {
33011
test "$cross_compiling" = yes ||
33012
$as_test_x conftest$ac_exeext
33014
ac_cv_lib_glut_main=yes
33016
$as_echo "$as_me: failed program was:" >&5
33017
sed 's/^/| /' conftest.$ac_ext >&5
33019
ac_cv_lib_glut_main=no
33022
rm -rf conftest.dSYM
33023
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33024
conftest$ac_exeext conftest.$ac_ext
33025
LIBS=$ac_check_lib_save_LIBS
33027
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_glut_main" >&5
33028
$as_echo "$ac_cv_lib_glut_main" >&6; }
33029
if test "x$ac_cv_lib_glut_main" = x""yes; then
33030
GLUT_LIBS="$GLUT_LIBS -lglut"
33033
cat >>confdefs.h <<_ACEOF
33034
#define HAVE_GLUT 1
33038
use_glut="No (missing libglut)"
33039
{ $as_echo "$as_me:$LINENO: WARNING: Optional glut library not available" >&5
33040
$as_echo "$as_me: WARNING: Optional glut library not available" >&2;}
33044
use_glut="No (missing GL/glut.h)"
33045
{ $as_echo "$as_me:$LINENO: WARNING: Optional glut library not available - no GL/glut.h" >&5
33046
$as_echo "$as_me: WARNING: Optional glut library not available - no GL/glut.h" >&2;}
33052
LDFLAGS=$save_LDFLAGS
33053
CPPFLAGS=$save_CPPFLAGS
33058
if test "x$with_mylibgd" = "xyes"; then
33060
save_CPPFLAGS=$CPPFLAGS
33061
save_LDFLAGS=$LDFLAGS
33063
# Check whether --with-iconvincludedir was given.
33064
if test "${with_iconvincludedir+set}" = set; then
33065
withval=$with_iconvincludedir; ICONV_INCLUDES="-I$withval"
33068
CPPFLAGS="$CPPFLAGS $ICONV_INCLUDES"
33070
# Check whether --with-iconvlibdir was given.
33071
if test "${with_iconvlibdir+set}" = set; then
33072
withval=$with_iconvlibdir; ICONV_LIBS="-L$withval"
33075
LDFLAGS="$LDFLAGS $ICONV_LIBS"
33077
# Some systems have iconv in a separate library (e.g. Tru64 UNIX)
33079
if test "X$prefix" = "XNONE"; then
33080
acl_final_prefix="$ac_default_prefix"
33082
acl_final_prefix="$prefix"
33084
if test "X$exec_prefix" = "XNONE"; then
33085
acl_final_exec_prefix='${prefix}'
33087
acl_final_exec_prefix="$exec_prefix"
33089
acl_save_prefix="$prefix"
33090
prefix="$acl_final_prefix"
33091
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
33092
prefix="$acl_save_prefix"
33095
# Check whether --with-gnu-ld was given.
33096
if test "${with_gnu_ld+set}" = set; then
33097
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
33103
if test "$GCC" = yes; then
33104
# Check if gcc -print-prog-name=ld gives a path.
33105
{ $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
33106
$as_echo_n "checking for ld used by GCC... " >&6; }
33109
# gcc leaves a trailing carriage return which upsets mingw
33110
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
33112
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
33115
# Accept absolute paths.
33116
[\\/]* | [A-Za-z]:[\\/]*)
33117
re_direlt='/[^/][^/]*/\.\./'
33118
# Canonicalize the path of ld
33119
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
33120
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
33121
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
33123
test -z "$LD" && LD="$ac_prog"
33126
# If it fails, then pretend we aren't using GCC.
33130
# If it is relative, then search for the first ld in PATH.
33131
with_gnu_ld=unknown
33134
elif test "$with_gnu_ld" = yes; then
33135
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
33136
$as_echo_n "checking for GNU ld... " >&6; }
33138
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
33139
$as_echo_n "checking for non-GNU ld... " >&6; }
33141
if test "${acl_cv_path_LD+set}" = set; then
33142
$as_echo_n "(cached) " >&6
33144
if test -z "$LD"; then
33145
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
33146
for ac_dir in $PATH; do
33147
test -z "$ac_dir" && ac_dir=.
33148
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
33149
acl_cv_path_LD="$ac_dir/$ac_prog"
33150
# Check to see if the program is GNU ld. I'd rather use --version,
33151
# but apparently some GNU ld's only accept -v.
33152
# Break only if it was the GNU/non-GNU ld that we prefer.
33153
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
33154
test "$with_gnu_ld" != no && break
33156
test "$with_gnu_ld" != yes && break
33162
acl_cv_path_LD="$LD" # Let the user override the test with a path.
33166
LD="$acl_cv_path_LD"
33167
if test -n "$LD"; then
33168
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
33169
$as_echo "$LD" >&6; }
33171
{ $as_echo "$as_me:$LINENO: result: no" >&5
33172
$as_echo "no" >&6; }
33174
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
33175
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
33176
{ (exit 1); exit 1; }; }
33177
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
33178
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
33179
if test "${acl_cv_prog_gnu_ld+set}" = set; then
33180
$as_echo_n "(cached) " >&6
33182
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
33183
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
33184
acl_cv_prog_gnu_ld=yes
33186
acl_cv_prog_gnu_ld=no
33189
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
33190
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
33191
with_gnu_ld=$acl_cv_prog_gnu_ld
33195
{ $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
33196
$as_echo_n "checking for shared library run path origin... " >&6; }
33197
if test "${acl_cv_rpath+set}" = set; then
33198
$as_echo_n "(cached) " >&6
33201
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
33202
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
33204
rm -f ./conftest.sh
33208
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
33209
$as_echo "$acl_cv_rpath" >&6; }
33211
libext="$acl_cv_libext"
33212
shlibext="$acl_cv_shlibext"
33213
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
33214
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
33215
hardcode_direct="$acl_cv_hardcode_direct"
33216
hardcode_minus_L="$acl_cv_hardcode_minus_L"
33217
sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
33218
sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
33219
# Check whether --enable-rpath was given.
33220
if test "${enable_rpath+set}" = set; then
33221
enableval=$enable_rpath; :
33235
acl_save_prefix="$prefix"
33236
prefix="$acl_final_prefix"
33237
acl_save_exec_prefix="$exec_prefix"
33238
exec_prefix="$acl_final_exec_prefix"
33240
eval additional_includedir=\"$includedir\"
33241
eval additional_libdir=\"$libdir\"
33243
exec_prefix="$acl_save_exec_prefix"
33244
prefix="$acl_save_prefix"
33247
# Check whether --with-libiconv-prefix was given.
33248
if test "${with_libiconv_prefix+set}" = set; then
33249
withval=$with_libiconv_prefix;
33250
if test "X$withval" = "Xno"; then
33253
if test "X$withval" = "X"; then
33255
acl_save_prefix="$prefix"
33256
prefix="$acl_final_prefix"
33257
acl_save_exec_prefix="$exec_prefix"
33258
exec_prefix="$acl_final_exec_prefix"
33260
eval additional_includedir=\"$includedir\"
33261
eval additional_libdir=\"$libdir\"
33263
exec_prefix="$acl_save_exec_prefix"
33264
prefix="$acl_save_prefix"
33267
additional_includedir="$withval/include"
33268
additional_libdir="$withval/lib"
33279
names_already_handled=
33280
names_next_round='iconv '
33281
while test -n "$names_next_round"; do
33282
names_this_round="$names_next_round"
33284
for name in $names_this_round; do
33286
for n in $names_already_handled; do
33287
if test "$n" = "$name"; then
33288
already_handled=yes
33292
if test -z "$already_handled"; then
33293
names_already_handled="$names_already_handled $name"
33294
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
33295
eval value=\"\$HAVE_LIB$uppername\"
33296
if test -n "$value"; then
33297
if test "$value" = yes; then
33298
eval value=\"\$LIB$uppername\"
33299
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
33300
eval value=\"\$LTLIB$uppername\"
33301
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
33310
if test $use_additional = yes; then
33311
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
33312
found_dir="$additional_libdir"
33313
found_so="$additional_libdir/lib$name.$shlibext"
33314
if test -f "$additional_libdir/lib$name.la"; then
33315
found_la="$additional_libdir/lib$name.la"
33318
if test -f "$additional_libdir/lib$name.$libext"; then
33319
found_dir="$additional_libdir"
33320
found_a="$additional_libdir/lib$name.$libext"
33321
if test -f "$additional_libdir/lib$name.la"; then
33322
found_la="$additional_libdir/lib$name.la"
33327
if test "X$found_dir" = "X"; then
33328
for x in $LDFLAGS $LTLIBICONV; do
33330
acl_save_prefix="$prefix"
33331
prefix="$acl_final_prefix"
33332
acl_save_exec_prefix="$exec_prefix"
33333
exec_prefix="$acl_final_exec_prefix"
33335
exec_prefix="$acl_save_exec_prefix"
33336
prefix="$acl_save_prefix"
33340
dir=`echo "X$x" | sed -e 's/^X-L//'`
33341
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
33343
found_so="$dir/lib$name.$shlibext"
33344
if test -f "$dir/lib$name.la"; then
33345
found_la="$dir/lib$name.la"
33348
if test -f "$dir/lib$name.$libext"; then
33350
found_a="$dir/lib$name.$libext"
33351
if test -f "$dir/lib$name.la"; then
33352
found_la="$dir/lib$name.la"
33358
if test "X$found_dir" != "X"; then
33363
if test "X$found_dir" != "X"; then
33364
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
33365
if test "X$found_so" != "X"; then
33366
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
33367
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
33370
for x in $ltrpathdirs; do
33371
if test "X$x" = "X$found_dir"; then
33376
if test -z "$haveit"; then
33377
ltrpathdirs="$ltrpathdirs $found_dir"
33379
if test "$hardcode_direct" = yes; then
33380
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
33382
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
33383
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
33385
for x in $rpathdirs; do
33386
if test "X$x" = "X$found_dir"; then
33391
if test -z "$haveit"; then
33392
rpathdirs="$rpathdirs $found_dir"
33396
for x in $LDFLAGS $LIBICONV; do
33398
acl_save_prefix="$prefix"
33399
prefix="$acl_final_prefix"
33400
acl_save_exec_prefix="$exec_prefix"
33401
exec_prefix="$acl_final_exec_prefix"
33403
exec_prefix="$acl_save_exec_prefix"
33404
prefix="$acl_save_prefix"
33406
if test "X$x" = "X-L$found_dir"; then
33411
if test -z "$haveit"; then
33412
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
33414
if test "$hardcode_minus_L" != no; then
33415
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
33417
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
33423
if test "X$found_a" != "X"; then
33424
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
33426
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
33429
additional_includedir=
33430
case "$found_dir" in
33432
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
33433
additional_includedir="$basedir/include"
33436
if test "X$additional_includedir" != "X"; then
33437
if test "X$additional_includedir" != "X/usr/include"; then
33439
if test "X$additional_includedir" = "X/usr/local/include"; then
33440
if test -n "$GCC"; then
33442
linux*) haveit=yes;;
33446
if test -z "$haveit"; then
33447
for x in $CPPFLAGS $INCICONV; do
33449
acl_save_prefix="$prefix"
33450
prefix="$acl_final_prefix"
33451
acl_save_exec_prefix="$exec_prefix"
33452
exec_prefix="$acl_final_exec_prefix"
33454
exec_prefix="$acl_save_exec_prefix"
33455
prefix="$acl_save_prefix"
33457
if test "X$x" = "X-I$additional_includedir"; then
33462
if test -z "$haveit"; then
33463
if test -d "$additional_includedir"; then
33464
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
33470
if test -n "$found_la"; then
33471
save_libdir="$libdir"
33472
case "$found_la" in
33473
*/* | *\\*) . "$found_la" ;;
33474
*) . "./$found_la" ;;
33476
libdir="$save_libdir"
33477
for dep in $dependency_libs; do
33480
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
33481
if test "X$additional_libdir" != "X/usr/lib"; then
33483
if test "X$additional_libdir" = "X/usr/local/lib"; then
33484
if test -n "$GCC"; then
33486
linux*) haveit=yes;;
33490
if test -z "$haveit"; then
33492
for x in $LDFLAGS $LIBICONV; do
33494
acl_save_prefix="$prefix"
33495
prefix="$acl_final_prefix"
33496
acl_save_exec_prefix="$exec_prefix"
33497
exec_prefix="$acl_final_exec_prefix"
33499
exec_prefix="$acl_save_exec_prefix"
33500
prefix="$acl_save_prefix"
33502
if test "X$x" = "X-L$additional_libdir"; then
33507
if test -z "$haveit"; then
33508
if test -d "$additional_libdir"; then
33509
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
33513
for x in $LDFLAGS $LTLIBICONV; do
33515
acl_save_prefix="$prefix"
33516
prefix="$acl_final_prefix"
33517
acl_save_exec_prefix="$exec_prefix"
33518
exec_prefix="$acl_final_exec_prefix"
33520
exec_prefix="$acl_save_exec_prefix"
33521
prefix="$acl_save_prefix"
33523
if test "X$x" = "X-L$additional_libdir"; then
33528
if test -z "$haveit"; then
33529
if test -d "$additional_libdir"; then
33530
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
33537
dir=`echo "X$dep" | sed -e 's/^X-R//'`
33538
if test "$enable_rpath" != no; then
33540
for x in $rpathdirs; do
33541
if test "X$x" = "X$dir"; then
33546
if test -z "$haveit"; then
33547
rpathdirs="$rpathdirs $dir"
33550
for x in $ltrpathdirs; do
33551
if test "X$x" = "X$dir"; then
33556
if test -z "$haveit"; then
33557
ltrpathdirs="$ltrpathdirs $dir"
33562
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
33565
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
33568
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
33569
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
33575
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
33576
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
33582
if test "X$rpathdirs" != "X"; then
33583
if test -n "$hardcode_libdir_separator"; then
33585
for found_dir in $rpathdirs; do
33586
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
33588
acl_save_libdir="$libdir"
33590
eval flag=\"$hardcode_libdir_flag_spec\"
33591
libdir="$acl_save_libdir"
33592
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
33594
for found_dir in $rpathdirs; do
33595
acl_save_libdir="$libdir"
33596
libdir="$found_dir"
33597
eval flag=\"$hardcode_libdir_flag_spec\"
33598
libdir="$acl_save_libdir"
33599
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
33603
if test "X$ltrpathdirs" != "X"; then
33604
for found_dir in $ltrpathdirs; do
33605
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
33615
am_save_CPPFLAGS="$CPPFLAGS"
33617
for element in $INCICONV; do
33619
for x in $CPPFLAGS; do
33621
acl_save_prefix="$prefix"
33622
prefix="$acl_final_prefix"
33623
acl_save_exec_prefix="$exec_prefix"
33624
exec_prefix="$acl_final_exec_prefix"
33626
exec_prefix="$acl_save_exec_prefix"
33627
prefix="$acl_save_prefix"
33629
if test "X$x" = "X$element"; then
33634
if test -z "$haveit"; then
33635
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
33640
{ $as_echo "$as_me:$LINENO: checking for iconv" >&5
33641
$as_echo_n "checking for iconv... " >&6; }
33642
if test "${am_cv_func_iconv+set}" = set; then
33643
$as_echo_n "(cached) " >&6
33646
am_cv_func_iconv="no, consider installing GNU libiconv"
33648
cat >conftest.$ac_ext <<_ACEOF
33651
cat confdefs.h >>conftest.$ac_ext
33652
cat >>conftest.$ac_ext <<_ACEOF
33653
/* end confdefs.h. */
33654
#include <stdlib.h>
33659
iconv_t cd = iconv_open("","");
33660
iconv(cd,NULL,NULL,NULL,NULL);
33666
rm -f conftest.$ac_objext conftest$ac_exeext
33667
if { (ac_try="$ac_link"
33668
case "(($ac_try" in
33669
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33670
*) ac_try_echo=$ac_try;;
33672
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33673
$as_echo "$ac_try_echo") >&5
33674
(eval "$ac_link") 2>conftest.er1
33676
grep -v '^ *+' conftest.er1 >conftest.err
33678
cat conftest.err >&5
33679
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680
(exit $ac_status); } && {
33681
test -z "$ac_c_werror_flag" ||
33682
test ! -s conftest.err
33683
} && test -s conftest$ac_exeext && {
33684
test "$cross_compiling" = yes ||
33685
$as_test_x conftest$ac_exeext
33687
am_cv_func_iconv=yes
33689
$as_echo "$as_me: failed program was:" >&5
33690
sed 's/^/| /' conftest.$ac_ext >&5
33695
rm -rf conftest.dSYM
33696
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33697
conftest$ac_exeext conftest.$ac_ext
33698
if test "$am_cv_func_iconv" != yes; then
33699
am_save_LIBS="$LIBS"
33700
LIBS="$LIBS $LIBICONV"
33701
cat >conftest.$ac_ext <<_ACEOF
33704
cat confdefs.h >>conftest.$ac_ext
33705
cat >>conftest.$ac_ext <<_ACEOF
33706
/* end confdefs.h. */
33707
#include <stdlib.h>
33712
iconv_t cd = iconv_open("","");
33713
iconv(cd,NULL,NULL,NULL,NULL);
33719
rm -f conftest.$ac_objext conftest$ac_exeext
33720
if { (ac_try="$ac_link"
33721
case "(($ac_try" in
33722
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33723
*) ac_try_echo=$ac_try;;
33725
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33726
$as_echo "$ac_try_echo") >&5
33727
(eval "$ac_link") 2>conftest.er1
33729
grep -v '^ *+' conftest.er1 >conftest.err
33731
cat conftest.err >&5
33732
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733
(exit $ac_status); } && {
33734
test -z "$ac_c_werror_flag" ||
33735
test ! -s conftest.err
33736
} && test -s conftest$ac_exeext && {
33737
test "$cross_compiling" = yes ||
33738
$as_test_x conftest$ac_exeext
33740
am_cv_lib_iconv=yes
33741
am_cv_func_iconv=yes
33743
$as_echo "$as_me: failed program was:" >&5
33744
sed 's/^/| /' conftest.$ac_ext >&5
33749
rm -rf conftest.dSYM
33750
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33751
conftest$ac_exeext conftest.$ac_ext
33752
LIBS="$am_save_LIBS"
33756
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33757
$as_echo "$am_cv_func_iconv" >&6; }
33758
if test "$am_cv_func_iconv" = yes; then
33760
cat >>confdefs.h <<\_ACEOF
33761
#define HAVE_ICONV 1
33765
if test "$am_cv_lib_iconv" = yes; then
33766
{ $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
33767
$as_echo_n "checking how to link with libiconv... " >&6; }
33768
{ $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
33769
$as_echo "$LIBICONV" >&6; }
33771
CPPFLAGS="$am_save_CPPFLAGS"
33778
if test "$am_cv_func_iconv" = yes; then
33779
{ $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
33780
$as_echo_n "checking for iconv declaration... " >&6; }
33781
if test "${am_cv_proto_iconv+set}" = set; then
33782
$as_echo_n "(cached) " >&6
33785
cat >conftest.$ac_ext <<_ACEOF
33788
cat confdefs.h >>conftest.$ac_ext
33789
cat >>conftest.$ac_ext <<_ACEOF
33790
/* end confdefs.h. */
33792
#include <stdlib.h>
33798
#if defined(__STDC__) || defined(__cplusplus)
33799
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33812
rm -f conftest.$ac_objext
33813
if { (ac_try="$ac_compile"
33814
case "(($ac_try" in
33815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33816
*) ac_try_echo=$ac_try;;
33818
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33819
$as_echo "$ac_try_echo") >&5
33820
(eval "$ac_compile") 2>conftest.er1
33822
grep -v '^ *+' conftest.er1 >conftest.err
33824
cat conftest.err >&5
33825
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33826
(exit $ac_status); } && {
33827
test -z "$ac_c_werror_flag" ||
33828
test ! -s conftest.err
33829
} && test -s conftest.$ac_objext; then
33830
am_cv_proto_iconv_arg1=""
33832
$as_echo "$as_me: failed program was:" >&5
33833
sed 's/^/| /' conftest.$ac_ext >&5
33835
am_cv_proto_iconv_arg1="const"
33838
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33839
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
33842
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
33843
{ $as_echo "$as_me:$LINENO: result: ${ac_t:-
33844
}$am_cv_proto_iconv" >&5
33846
}$am_cv_proto_iconv" >&6; }
33848
cat >>confdefs.h <<_ACEOF
33849
#define ICONV_CONST $am_cv_proto_iconv_arg1
33854
if test -n "$LIBICONV" ; then
33855
ICONV_LIBS="$LIBICONV"
33861
for ac_header in iconv.h
33863
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33864
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33865
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33866
$as_echo_n "checking for $ac_header... " >&6; }
33867
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33868
$as_echo_n "(cached) " >&6
33870
ac_res=`eval 'as_val=${'$as_ac_Header'}
33871
$as_echo "$as_val"'`
33872
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33873
$as_echo "$ac_res" >&6; }
33875
# Is the header compilable?
33876
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
33877
$as_echo_n "checking $ac_header usability... " >&6; }
33878
cat >conftest.$ac_ext <<_ACEOF
33881
cat confdefs.h >>conftest.$ac_ext
33882
cat >>conftest.$ac_ext <<_ACEOF
33883
/* end confdefs.h. */
33884
$ac_includes_default
33885
#include <$ac_header>
33887
rm -f conftest.$ac_objext
33888
if { (ac_try="$ac_compile"
33889
case "(($ac_try" in
33890
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33891
*) ac_try_echo=$ac_try;;
33893
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33894
$as_echo "$ac_try_echo") >&5
33895
(eval "$ac_compile") 2>conftest.er1
33897
grep -v '^ *+' conftest.er1 >conftest.err
33899
cat conftest.err >&5
33900
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33901
(exit $ac_status); } && {
33902
test -z "$ac_c_werror_flag" ||
33903
test ! -s conftest.err
33904
} && test -s conftest.$ac_objext; then
33905
ac_header_compiler=yes
33907
$as_echo "$as_me: failed program was:" >&5
33908
sed 's/^/| /' conftest.$ac_ext >&5
33910
ac_header_compiler=no
33913
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33914
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33915
$as_echo "$ac_header_compiler" >&6; }
33917
# Is the header present?
33918
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
33919
$as_echo_n "checking $ac_header presence... " >&6; }
33920
cat >conftest.$ac_ext <<_ACEOF
33923
cat confdefs.h >>conftest.$ac_ext
33924
cat >>conftest.$ac_ext <<_ACEOF
33925
/* end confdefs.h. */
33926
#include <$ac_header>
33928
if { (ac_try="$ac_cpp conftest.$ac_ext"
33929
case "(($ac_try" in
33930
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33931
*) ac_try_echo=$ac_try;;
33933
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33934
$as_echo "$ac_try_echo") >&5
33935
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33937
grep -v '^ *+' conftest.er1 >conftest.err
33939
cat conftest.err >&5
33940
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941
(exit $ac_status); } >/dev/null && {
33942
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33943
test ! -s conftest.err
33945
ac_header_preproc=yes
33947
$as_echo "$as_me: failed program was:" >&5
33948
sed 's/^/| /' conftest.$ac_ext >&5
33950
ac_header_preproc=no
33953
rm -f conftest.err conftest.$ac_ext
33954
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33955
$as_echo "$ac_header_preproc" >&6; }
33957
# So? What about this header?
33958
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33960
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33961
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33962
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33963
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33964
ac_header_preproc=yes
33967
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33968
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33969
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33970
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33971
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33972
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33973
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33974
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33975
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33976
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33977
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33978
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33980
## --------------------------------------- ##
33981
## Report this to http://www.graphviz.org/ ##
33982
## --------------------------------------- ##
33984
) | sed "s/^/$as_me: WARNING: /" >&2
33987
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33988
$as_echo_n "checking for $ac_header... " >&6; }
33989
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33990
$as_echo_n "(cached) " >&6
33992
eval "$as_ac_Header=\$ac_header_preproc"
33994
ac_res=`eval 'as_val=${'$as_ac_Header'}
33995
$as_echo "$as_val"'`
33996
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33997
$as_echo "$ac_res" >&6; }
34000
as_val=`eval 'as_val=${'$as_ac_Header'}
34001
$as_echo "$as_val"'`
34002
if test "x$as_val" = x""yes; then
34003
cat >>confdefs.h <<_ACEOF
34004
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
34006
{ $as_echo "$as_me:$LINENO: checking whether iconv.h defines iconv_t" >&5
34007
$as_echo_n "checking whether iconv.h defines iconv_t... " >&6; }
34008
cat >conftest.$ac_ext <<_ACEOF
34011
cat confdefs.h >>conftest.$ac_ext
34012
cat >>conftest.$ac_ext <<_ACEOF
34013
/* end confdefs.h. */
34017
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34018
$EGREP "typedef.*iconv_t" >/dev/null 2>&1; then
34019
{ $as_echo "$as_me:$LINENO: result: yes" >&5
34020
$as_echo "yes" >&6; }
34022
cat >>confdefs.h <<\_ACEOF
34023
#define HAVE_ICONV_T_DEF 1
34027
{ $as_echo "$as_me:$LINENO: result: no" >&5
34028
$as_echo "no" >&6; }
34037
LDFLAGS=$save_LDFLAGS
34038
CPPFLAGS=$save_CPPFLAGS
34046
# Check whether --with-png was given.
34047
if test "${with_png+set}" = set; then
34054
if test "x$with_png" != "xyes"; then
34055
use_png="No (disabled)"
34057
save_CPPFLAGS=$CPPFLAGS
34058
save_LDFLAGS=$LDFLAGS
34059
# Extract the first word of "libpng-config", so it can be a program name with args.
34060
set dummy libpng-config; ac_word=$2
34061
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34062
$as_echo_n "checking for $ac_word... " >&6; }
34063
if test "${ac_cv_path_LIBPNG_CONFIG+set}" = set; then
34064
$as_echo_n "(cached) " >&6
34066
case $LIBPNG_CONFIG in
34068
ac_cv_path_LIBPNG_CONFIG="$LIBPNG_CONFIG" # Let the user override the test with a path.
34071
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34072
for as_dir in $PATH
34075
test -z "$as_dir" && as_dir=.
34076
for ac_exec_ext in '' $ac_executable_extensions; do
34077
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34078
ac_cv_path_LIBPNG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34079
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34089
LIBPNG_CONFIG=$ac_cv_path_LIBPNG_CONFIG
34090
if test -n "$LIBPNG_CONFIG"; then
34091
{ $as_echo "$as_me:$LINENO: result: $LIBPNG_CONFIG" >&5
34092
$as_echo "$LIBPNG_CONFIG" >&6; }
34094
{ $as_echo "$as_me:$LINENO: result: no" >&5
34095
$as_echo "no" >&6; }
34099
if test -n "$LIBPNG_CONFIG"; then
34100
PNG_INCLUDES=`$LIBPNG_CONFIG --cflags`
34101
PNG_PREFIX=`$LIBPNG_CONFIG --prefix`
34102
if test "${PNG_PREFIX}/lib" != "/usr/lib" ; then
34103
PNG_LIBS="-L${PNG_PREFIX}/lib"
34109
# Check whether --with-pngincludedir was given.
34110
if test "${with_pngincludedir+set}" = set; then
34111
withval=$with_pngincludedir; PNG_INCLUDES="-I$withval"
34114
CPPFLAGS="$CPPFLAGS $PNG_INCLUDES $Z_INCLUDES"
34116
# Check whether --with-pnglibdir was given.
34117
if test "${with_pnglibdir+set}" = set; then
34118
withval=$with_pnglibdir; PNG_LIBS="-L$withval"
34121
LDFLAGS="$LDFLAGS $PNG_LIBS $Z_LIBS"
34122
if test "${ac_cv_header_png_h+set}" = set; then
34123
{ $as_echo "$as_me:$LINENO: checking for png.h" >&5
34124
$as_echo_n "checking for png.h... " >&6; }
34125
if test "${ac_cv_header_png_h+set}" = set; then
34126
$as_echo_n "(cached) " >&6
34128
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
34129
$as_echo "$ac_cv_header_png_h" >&6; }
34131
# Is the header compilable?
34132
{ $as_echo "$as_me:$LINENO: checking png.h usability" >&5
34133
$as_echo_n "checking png.h usability... " >&6; }
34134
cat >conftest.$ac_ext <<_ACEOF
34137
cat confdefs.h >>conftest.$ac_ext
34138
cat >>conftest.$ac_ext <<_ACEOF
34139
/* end confdefs.h. */
34140
$ac_includes_default
34143
rm -f conftest.$ac_objext
34144
if { (ac_try="$ac_compile"
34145
case "(($ac_try" in
34146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34147
*) ac_try_echo=$ac_try;;
34149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34150
$as_echo "$ac_try_echo") >&5
34151
(eval "$ac_compile") 2>conftest.er1
34153
grep -v '^ *+' conftest.er1 >conftest.err
34155
cat conftest.err >&5
34156
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157
(exit $ac_status); } && {
34158
test -z "$ac_c_werror_flag" ||
34159
test ! -s conftest.err
34160
} && test -s conftest.$ac_objext; then
34161
ac_header_compiler=yes
34163
$as_echo "$as_me: failed program was:" >&5
34164
sed 's/^/| /' conftest.$ac_ext >&5
34166
ac_header_compiler=no
34169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34170
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34171
$as_echo "$ac_header_compiler" >&6; }
34173
# Is the header present?
34174
{ $as_echo "$as_me:$LINENO: checking png.h presence" >&5
34175
$as_echo_n "checking png.h presence... " >&6; }
34176
cat >conftest.$ac_ext <<_ACEOF
34179
cat confdefs.h >>conftest.$ac_ext
34180
cat >>conftest.$ac_ext <<_ACEOF
34181
/* end confdefs.h. */
34184
if { (ac_try="$ac_cpp conftest.$ac_ext"
34185
case "(($ac_try" in
34186
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34187
*) ac_try_echo=$ac_try;;
34189
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34190
$as_echo "$ac_try_echo") >&5
34191
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34193
grep -v '^ *+' conftest.er1 >conftest.err
34195
cat conftest.err >&5
34196
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197
(exit $ac_status); } >/dev/null && {
34198
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34199
test ! -s conftest.err
34201
ac_header_preproc=yes
34203
$as_echo "$as_me: failed program was:" >&5
34204
sed 's/^/| /' conftest.$ac_ext >&5
34206
ac_header_preproc=no
34209
rm -f conftest.err conftest.$ac_ext
34210
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34211
$as_echo "$ac_header_preproc" >&6; }
34213
# So? What about this header?
34214
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34216
{ $as_echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
34217
$as_echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34218
{ $as_echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
34219
$as_echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
34220
ac_header_preproc=yes
34223
{ $as_echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
34224
$as_echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
34225
{ $as_echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
34226
$as_echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
34227
{ $as_echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
34228
$as_echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
34229
{ $as_echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
34230
$as_echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
34231
{ $as_echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
34232
$as_echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
34233
{ $as_echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
34234
$as_echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
34236
## --------------------------------------- ##
34237
## Report this to http://www.graphviz.org/ ##
34238
## --------------------------------------- ##
34240
) | sed "s/^/$as_me: WARNING: /" >&2
34243
{ $as_echo "$as_me:$LINENO: checking for png.h" >&5
34244
$as_echo_n "checking for png.h... " >&6; }
34245
if test "${ac_cv_header_png_h+set}" = set; then
34246
$as_echo_n "(cached) " >&6
34248
ac_cv_header_png_h=$ac_header_preproc
34250
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
34251
$as_echo "$ac_cv_header_png_h" >&6; }
34254
if test "x$ac_cv_header_png_h" = x""yes; then
34255
{ $as_echo "$as_me:$LINENO: checking for main in -lpng" >&5
34256
$as_echo_n "checking for main in -lpng... " >&6; }
34257
if test "${ac_cv_lib_png_main+set}" = set; then
34258
$as_echo_n "(cached) " >&6
34260
ac_check_lib_save_LIBS=$LIBS
34261
LIBS="-lpng $Z_LIBS $MATH_LIBS $LIBS"
34262
cat >conftest.$ac_ext <<_ACEOF
34265
cat confdefs.h >>conftest.$ac_ext
34266
cat >>conftest.$ac_ext <<_ACEOF
34267
/* end confdefs.h. */
34278
rm -f conftest.$ac_objext conftest$ac_exeext
34279
if { (ac_try="$ac_link"
34280
case "(($ac_try" in
34281
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34282
*) ac_try_echo=$ac_try;;
34284
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34285
$as_echo "$ac_try_echo") >&5
34286
(eval "$ac_link") 2>conftest.er1
34288
grep -v '^ *+' conftest.er1 >conftest.err
34290
cat conftest.err >&5
34291
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292
(exit $ac_status); } && {
34293
test -z "$ac_c_werror_flag" ||
34294
test ! -s conftest.err
34295
} && test -s conftest$ac_exeext && {
34296
test "$cross_compiling" = yes ||
34297
$as_test_x conftest$ac_exeext
34299
ac_cv_lib_png_main=yes
34301
$as_echo "$as_me: failed program was:" >&5
34302
sed 's/^/| /' conftest.$ac_ext >&5
34304
ac_cv_lib_png_main=no
34307
rm -rf conftest.dSYM
34308
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34309
conftest$ac_exeext conftest.$ac_ext
34310
LIBS=$ac_check_lib_save_LIBS
34312
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
34313
$as_echo "$ac_cv_lib_png_main" >&6; }
34314
if test "x$ac_cv_lib_png_main" = x""yes; then
34315
PNG_LIBS="$PNG_LIBS -lpng"
34318
cat >>confdefs.h <<_ACEOF
34319
#define HAVE_GD_PNG 1
34323
cat >>confdefs.h <<_ACEOF
34324
#define HAVE_LIBPNG 1
34328
use_png="No (missing libpng)"
34329
{ $as_echo "$as_me:$LINENO: WARNING: Optional png library not available" >&5
34330
$as_echo "$as_me: WARNING: Optional png library not available" >&2;}
34334
use_png="No (missing png.h)"
34335
{ $as_echo "$as_me:$LINENO: WARNING: Optional png library not available - no png.h" >&5
34336
$as_echo "$as_me: WARNING: Optional png library not available - no png.h" >&2;}
34342
LDFLAGS=$save_LDFLAGS
34343
CPPFLAGS=$save_CPPFLAGS
34349
# Check whether --with-jpeg was given.
34350
if test "${with_jpeg+set}" = set; then
34351
withval=$with_jpeg;
34357
if test "x$with_jpeg" != "xyes"; then
34358
use_jpeg="No (disabled)"
34361
if test "x$with_mylibgd" != "xyes"; then
34362
use_jpeg="No (only required by internal libgd)"
34366
save_CPPFLAGS=$CPPFLAGS
34367
save_LDFLAGS=$LDFLAGS
34369
# Check whether --with-jpegincludedir was given.
34370
if test "${with_jpegincludedir+set}" = set; then
34371
withval=$with_jpegincludedir; JPEG_INCLUDES="-I$withval"
34374
CPPFLAGS="$CPPFLAGS $JPEG_INCLUDES"
34375
JPEG_LIBDIR="/usr/lib$LIBPOSTFIX"
34377
# Check whether --with-jpeglibdir was given.
34378
if test "${with_jpeglibdir+set}" = set; then
34379
withval=$with_jpeglibdir; JPEG_LIBDIR="$withval"
34382
if test "$JPEG_LIBDIR" != "/usr/lib$LIBPOSTFIX"; then
34383
JPEG_LIBS="-L$JPEG_LIBDIR"
34384
LDFLAGS="$LDFLAGS $JPEG_LIBS"
34386
if test -f "$JPEG_LIBDIR/libjpeg.la"; then
34387
JPEG_LIBS="$JPEG_LIBDIR/libjpeg.la"
34389
if test "${ac_cv_header_jpeglib_h+set}" = set; then
34390
{ $as_echo "$as_me:$LINENO: checking for jpeglib.h" >&5
34391
$as_echo_n "checking for jpeglib.h... " >&6; }
34392
if test "${ac_cv_header_jpeglib_h+set}" = set; then
34393
$as_echo_n "(cached) " >&6
34395
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
34396
$as_echo "$ac_cv_header_jpeglib_h" >&6; }
34398
# Is the header compilable?
34399
{ $as_echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
34400
$as_echo_n "checking jpeglib.h usability... " >&6; }
34401
cat >conftest.$ac_ext <<_ACEOF
34404
cat confdefs.h >>conftest.$ac_ext
34405
cat >>conftest.$ac_ext <<_ACEOF
34406
/* end confdefs.h. */
34407
$ac_includes_default
34408
#include <jpeglib.h>
34410
rm -f conftest.$ac_objext
34411
if { (ac_try="$ac_compile"
34412
case "(($ac_try" in
34413
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34414
*) ac_try_echo=$ac_try;;
34416
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34417
$as_echo "$ac_try_echo") >&5
34418
(eval "$ac_compile") 2>conftest.er1
34420
grep -v '^ *+' conftest.er1 >conftest.err
34422
cat conftest.err >&5
34423
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424
(exit $ac_status); } && {
34425
test -z "$ac_c_werror_flag" ||
34426
test ! -s conftest.err
34427
} && test -s conftest.$ac_objext; then
34428
ac_header_compiler=yes
34430
$as_echo "$as_me: failed program was:" >&5
34431
sed 's/^/| /' conftest.$ac_ext >&5
34433
ac_header_compiler=no
34436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34437
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34438
$as_echo "$ac_header_compiler" >&6; }
34440
# Is the header present?
34441
{ $as_echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
34442
$as_echo_n "checking jpeglib.h presence... " >&6; }
34443
cat >conftest.$ac_ext <<_ACEOF
34446
cat confdefs.h >>conftest.$ac_ext
34447
cat >>conftest.$ac_ext <<_ACEOF
34448
/* end confdefs.h. */
34449
#include <jpeglib.h>
34451
if { (ac_try="$ac_cpp conftest.$ac_ext"
34452
case "(($ac_try" in
34453
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34454
*) ac_try_echo=$ac_try;;
34456
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34457
$as_echo "$ac_try_echo") >&5
34458
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34460
grep -v '^ *+' conftest.er1 >conftest.err
34462
cat conftest.err >&5
34463
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464
(exit $ac_status); } >/dev/null && {
34465
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34466
test ! -s conftest.err
34468
ac_header_preproc=yes
34470
$as_echo "$as_me: failed program was:" >&5
34471
sed 's/^/| /' conftest.$ac_ext >&5
34473
ac_header_preproc=no
34476
rm -f conftest.err conftest.$ac_ext
34477
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34478
$as_echo "$ac_header_preproc" >&6; }
34480
# So? What about this header?
34481
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34483
{ $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5
34484
$as_echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34485
{ $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5
34486
$as_echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;}
34487
ac_header_preproc=yes
34490
{ $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5
34491
$as_echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;}
34492
{ $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: check for missing prerequisite headers?" >&5
34493
$as_echo "$as_me: WARNING: jpeglib.h: check for missing prerequisite headers?" >&2;}
34494
{ $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5
34495
$as_echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;}
34496
{ $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&5
34497
$as_echo "$as_me: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&2;}
34498
{ $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5
34499
$as_echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;}
34500
{ $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5
34501
$as_echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;}
34503
## --------------------------------------- ##
34504
## Report this to http://www.graphviz.org/ ##
34505
## --------------------------------------- ##
34507
) | sed "s/^/$as_me: WARNING: /" >&2
34510
{ $as_echo "$as_me:$LINENO: checking for jpeglib.h" >&5
34511
$as_echo_n "checking for jpeglib.h... " >&6; }
34512
if test "${ac_cv_header_jpeglib_h+set}" = set; then
34513
$as_echo_n "(cached) " >&6
34515
ac_cv_header_jpeglib_h=$ac_header_preproc
34517
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
34518
$as_echo "$ac_cv_header_jpeglib_h" >&6; }
34521
if test "x$ac_cv_header_jpeglib_h" = x""yes; then
34522
{ $as_echo "$as_me:$LINENO: checking for main in -ljpeg" >&5
34523
$as_echo_n "checking for main in -ljpeg... " >&6; }
34524
if test "${ac_cv_lib_jpeg_main+set}" = set; then
34525
$as_echo_n "(cached) " >&6
34527
ac_check_lib_save_LIBS=$LIBS
34528
LIBS="-ljpeg $LIBS"
34529
cat >conftest.$ac_ext <<_ACEOF
34532
cat confdefs.h >>conftest.$ac_ext
34533
cat >>conftest.$ac_ext <<_ACEOF
34534
/* end confdefs.h. */
34545
rm -f conftest.$ac_objext conftest$ac_exeext
34546
if { (ac_try="$ac_link"
34547
case "(($ac_try" in
34548
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34549
*) ac_try_echo=$ac_try;;
34551
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34552
$as_echo "$ac_try_echo") >&5
34553
(eval "$ac_link") 2>conftest.er1
34555
grep -v '^ *+' conftest.er1 >conftest.err
34557
cat conftest.err >&5
34558
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559
(exit $ac_status); } && {
34560
test -z "$ac_c_werror_flag" ||
34561
test ! -s conftest.err
34562
} && test -s conftest$ac_exeext && {
34563
test "$cross_compiling" = yes ||
34564
$as_test_x conftest$ac_exeext
34566
ac_cv_lib_jpeg_main=yes
34568
$as_echo "$as_me: failed program was:" >&5
34569
sed 's/^/| /' conftest.$ac_ext >&5
34571
ac_cv_lib_jpeg_main=no
34574
rm -rf conftest.dSYM
34575
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34576
conftest$ac_exeext conftest.$ac_ext
34577
LIBS=$ac_check_lib_save_LIBS
34579
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5
34580
$as_echo "$ac_cv_lib_jpeg_main" >&6; }
34581
if test "x$ac_cv_lib_jpeg_main" = x""yes; then
34583
JPEG_LIBS="$JPEG_LIBS -ljpeg"
34585
cat >>confdefs.h <<_ACEOF
34586
#define HAVE_GD_JPEG 1
34590
cat >>confdefs.h <<_ACEOF
34591
#define HAVE_LIBJPEG 1
34595
use_jpeg="No (missing library)"
34596
{ $as_echo "$as_me:$LINENO: WARNING: Optional jpeg library not available" >&5
34597
$as_echo "$as_me: WARNING: Optional jpeg library not available" >&2;}
34601
use_jpeg="No (missing header)"
34602
{ $as_echo "$as_me:$LINENO: WARNING: Optional jpeg library not available - no jpeglib.h" >&5
34603
$as_echo "$as_me: WARNING: Optional jpeg library not available - no jpeglib.h" >&2;}
34607
LDFLAGS=$save_LDFLAGS
34608
CPPFLAGS=$save_CPPFLAGS
34615
# -----------------------------------
34617
if test -f "$TCL_SRC_DIR/generic/tclInt.h"; then
34618
TCLINT_INCLUDES="-I$TCL_SRC_DIR/generic"
34620
if test -f "/usr/include/tclInt.h"; then
34623
if test -f "/usr/local/include/tclInt.h"; then
34624
TCLINT_INCLUDES="-I/usr/local/include"
34626
TCLINT_INCLUDES='-I$(top_srcdir)/tclpkg/tclstubs'
34632
# -----------------------------------
34634
if test -f "$TK_SRC_DIR/generic/tkInt.h"; then
34635
TKINT_INCLUDES="-I$TK_SRC_DIR/generic -I$TK_SRC_DIR/unix"
34637
if test -f "/usr/include/tkInt.h"; then
34640
if test -f "/usr/local/include/tkInt.h"; then
34641
TKINT_INCLUDES="-I/usr/local/include"
34643
TKINT_INCLUDES='-I$(top_srcdir)/tclpkg/tkstubs'
34649
# ------------------------------------
34652
if test -f "lib/sfdpgen/triangle.c"; then
34653
if test -f "lib/sfdpgen/triangle.h"; then
34655
cat >>confdefs.h <<_ACEOF
34656
#define HAVE_TRIANGLE 1
34662
# ----------------------------------
34663
# tcl/tk pkgIndex.tcl generation
34667
TCL_PKGINDEX_SWIG=""
34669
if test "$use_tcl" = "Yes"; then
34670
TCL_PKGINDEX="tcldot/pkgIndex.tcl tclpathplan/pkgIndex.tcl"
34671
if test "x$with_libgd" = "xyes"; then
34672
TCL_PKGINDEX_GD="gdtclft/pkgIndex.tcl"
34674
if test "x$SWIG" != "x"; then
34675
TCL_PKGINDEX_SWIG="gv/pkgIndex.tcl"
34677
if test "$use_tk" = "Yes"; then
34678
TK_PKGINDEX="tkspline/pkgIndex.tcl"
34688
# Check whether --with-sfdp was given.
34689
if test "${with_sfdp+set}" = set; then
34690
withval=$with_sfdp;
34696
if test "x$with_sfdp" != "xyes"; then
34697
use_sfdp="No (disabled)"
34701
cat >>confdefs.h <<_ACEOF
34706
if test "x$use_sfdp" = "xYes"; then
34708
WITH_SFDP_FALSE='#'
34717
# Check whether --with-smyrna was given.
34718
if test "${with_smyrna+set}" = set; then
34719
withval=$with_smyrna;
34725
if test "x$with_smyrna" != "xyes"; then
34726
use_smyrna="No (disabled by default - experimental)"
34728
if test "x$use_gtk" != "xYes"; then
34729
{ $as_echo "$as_me:$LINENO: WARNING: SMYRNA requires GTK" >&5
34730
$as_echo "$as_me: WARNING: SMYRNA requires GTK" >&2;}
34733
if test "x$use_gtkglext" != "xYes"; then
34734
{ $as_echo "$as_me:$LINENO: WARNING: SMYRNA requires GTKGLEXT" >&5
34735
$as_echo "$as_me: WARNING: SMYRNA requires GTKGLEXT" >&2;}
34736
requires="$requires gtkglext"
34738
if test "x$use_glade" != "xYes"; then
34739
{ $as_echo "$as_me:$LINENO: WARNING: SMYRNA requires GLADE" >&5
34740
$as_echo "$as_me: WARNING: SMYRNA requires GLADE" >&2;}
34741
requires="$requires glade"
34743
if test "x$use_gts" != "xYes"; then
34744
{ $as_echo "$as_me:$LINENO: WARNING: SMYRNA requires GTS" >&5
34745
$as_echo "$as_me: WARNING: SMYRNA requires GTS" >&2;}
34746
requires="$requires gts"
34748
if test "x$use_glut" != "xYes"; then
34749
{ $as_echo "$as_me:$LINENO: WARNING: SMYRNA requires GLUT" >&5
34750
$as_echo "$as_me: WARNING: SMYRNA requires GLUT" >&2;}
34751
requires="$requires glut"
34753
if test "x$use_png" != "xYes"; then
34754
{ $as_echo "$as_me:$LINENO: WARNING: SMYRNA requires PNG" >&5
34755
$as_echo "$as_me: WARNING: SMYRNA requires PNG" >&2;}
34756
requires="$requires png"
34758
if test "x$requires" != "x"; then
34759
use_smyrna="No (requires:$requires)"
34763
cat >>confdefs.h <<_ACEOF
34769
if test "x$use_smyrna" = "xYes"; then
34771
WITH_SMYRNA_FALSE='#'
34773
WITH_SMYRNA_TRUE='#'
34780
# Check whether --with-cgraph was given.
34781
if test "${with_cgraph+set}" = set; then
34782
withval=$with_cgraph;
34788
if test "x$with_cgraph" != "xyes"; then
34789
use_cgraph="No (disabled by default - experimental)"
34793
cat >>confdefs.h <<_ACEOF
34794
#define WITH_CGRAPH 1
34798
if test "x$use_cgraph" = "xYes"; then
34800
WITH_CGRAPH_FALSE='#'
34802
WITH_CGRAPH_TRUE='#'
34809
# Check whether --with-ortho was given.
34810
if test "${with_ortho+set}" = set; then
34811
withval=$with_ortho;
34817
if test "x$with_ortho" != "xyes"; then
34818
use_ortho="No (disabled by default - experimental)"
34822
cat >>confdefs.h <<_ACEOF
34827
if test "x$use_ortho" = "xYes"; then
34829
WITH_ORTHO_FALSE='#'
34831
WITH_ORTHO_TRUE='#'
34838
# Check whether --with-digcola was given.
34839
if test "${with_digcola+set}" = set; then
34840
withval=$with_digcola;
34846
if test "x$with_digcola" != "xyes"; then
34847
use_digcola="No (disabled)"
34851
cat >>confdefs.h <<_ACEOF
34858
# Check whether --with-ipsepcola was given.
34859
if test "${with_ipsepcola+set}" = set; then
34860
withval=$with_ipsepcola;
34866
if test "x$with_ipsepcola" != "xyes"; then
34867
use_ipsepcola="No (disabled by default - C++ portability issues)"
34869
if test "x$use_digcola" != "xYes"; then
34870
use_ipsepcola="No (requires: digcola)"
34872
use_ipsepcola="Yes"
34874
cat >>confdefs.h <<_ACEOF
34875
#define IPSEPCOLA 1
34878
IPSEPCOLA_INCLUDES='-I$(top_srcdir)/lib/vpsc'
34879
IPSEPCOLA_LIBS='$(top_builddir)/lib/vpsc/libvpsc_C.la -lstdc++'
34884
if test "x$use_ipsepcola" = "xYes"; then
34885
WITH_IPSEPCOLA_TRUE=
34886
WITH_IPSEPCOLA_FALSE='#'
34888
WITH_IPSEPCOLA_TRUE='#'
34889
WITH_IPSEPCOLA_FALSE=
34893
# -----------------------------------
34896
{ $as_echo "$as_me:$LINENO: checking if have working sincos()" >&5
34897
$as_echo_n "checking if have working sincos()... " >&6; }
34898
if test "$cross_compiling" = yes; then
34899
{ $as_echo "$as_me:$LINENO: result: no - assumed because cross-compiling" >&5
34900
$as_echo "no - assumed because cross-compiling" >&6; }
34903
cat >conftest.$ac_ext <<_ACEOF
34906
cat confdefs.h >>conftest.$ac_ext
34907
cat >>conftest.$ac_ext <<_ACEOF
34908
/* end confdefs.h. */
34911
#include <assert.h>
34912
#define PI 3.14159265358979323846
34913
extern void sincos(double x, double *s, double *c);
34915
double sinx=0.0, cosx=1.0;
34916
sincos(PI/2.0,&sinx,&cosx);
34917
assert(sinx>0.9999999);
34918
assert(sinx<1.0000001);
34919
assert(cosx<0.0000001);
34920
assert(cosx>(-0.0000001));
34925
rm -f conftest$ac_exeext
34926
if { (ac_try="$ac_link"
34927
case "(($ac_try" in
34928
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34929
*) ac_try_echo=$ac_try;;
34931
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34932
$as_echo "$ac_try_echo") >&5
34933
(eval "$ac_link") 2>&5
34935
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34937
{ (case "(($ac_try" in
34938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34939
*) ac_try_echo=$ac_try;;
34941
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34942
$as_echo "$ac_try_echo") >&5
34943
(eval "$ac_try") 2>&5
34945
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946
(exit $ac_status); }; }; then
34947
{ $as_echo "$as_me:$LINENO: result: yes" >&5
34948
$as_echo "yes" >&6; }
34950
cat >>confdefs.h <<_ACEOF
34951
#define HAVE_SINCOS 1
34956
$as_echo "$as_me: program exited with status $ac_status" >&5
34957
$as_echo "$as_me: failed program was:" >&5
34958
sed 's/^/| /' conftest.$ac_ext >&5
34960
( exit $ac_status )
34961
{ $as_echo "$as_me:$LINENO: result: no" >&5
34962
$as_echo "no" >&6; }
34965
rm -rf conftest.dSYM
34966
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34971
# -----------------------------------
34972
{ $as_echo "$as_me:$LINENO: checking if FILE struct contains _cnt" >&5
34973
$as_echo_n "checking if FILE struct contains _cnt... " >&6; }
34974
cat >conftest.$ac_ext <<_ACEOF
34977
cat confdefs.h >>conftest.$ac_ext
34978
cat >>conftest.$ac_ext <<_ACEOF
34979
/* end confdefs.h. */
34993
rm -f conftest.$ac_objext
34994
if { (ac_try="$ac_compile"
34995
case "(($ac_try" in
34996
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34997
*) ac_try_echo=$ac_try;;
34999
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35000
$as_echo "$ac_try_echo") >&5
35001
(eval "$ac_compile") 2>conftest.er1
35003
grep -v '^ *+' conftest.er1 >conftest.err
35005
cat conftest.err >&5
35006
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007
(exit $ac_status); } && {
35008
test -z "$ac_c_werror_flag" ||
35009
test ! -s conftest.err
35010
} && test -s conftest.$ac_objext; then
35011
{ $as_echo "$as_me:$LINENO: result: yes" >&5
35012
$as_echo "yes" >&6; }
35014
cat >>confdefs.h <<_ACEOF
35015
#define HAVE_FILE_CNT 1
35020
$as_echo "$as_me: failed program was:" >&5
35021
sed 's/^/| /' conftest.$ac_ext >&5
35023
{ $as_echo "$as_me:$LINENO: result: no" >&5
35024
$as_echo "no" >&6; }
35028
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35030
# -----------------------------------
35032
{ $as_echo "$as_me:$LINENO: checking if FILE struct contains _r" >&5
35033
$as_echo_n "checking if FILE struct contains _r... " >&6; }
35034
cat >conftest.$ac_ext <<_ACEOF
35037
cat confdefs.h >>conftest.$ac_ext
35038
cat >>conftest.$ac_ext <<_ACEOF
35039
/* end confdefs.h. */
35053
rm -f conftest.$ac_objext
35054
if { (ac_try="$ac_compile"
35055
case "(($ac_try" in
35056
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35057
*) ac_try_echo=$ac_try;;
35059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35060
$as_echo "$ac_try_echo") >&5
35061
(eval "$ac_compile") 2>conftest.er1
35063
grep -v '^ *+' conftest.er1 >conftest.err
35065
cat conftest.err >&5
35066
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067
(exit $ac_status); } && {
35068
test -z "$ac_c_werror_flag" ||
35069
test ! -s conftest.err
35070
} && test -s conftest.$ac_objext; then
35071
{ $as_echo "$as_me:$LINENO: result: yes" >&5
35072
$as_echo "yes" >&6; }
35074
cat >>confdefs.h <<_ACEOF
35075
#define HAVE_FILE_R 1
35080
$as_echo "$as_me: failed program was:" >&5
35081
sed 's/^/| /' conftest.$ac_ext >&5
35083
{ $as_echo "$as_me:$LINENO: result: no" >&5
35084
$as_echo "no" >&6; }
35088
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35090
# -----------------------------------
35092
{ $as_echo "$as_me:$LINENO: checking if FILE struct contains _next" >&5
35093
$as_echo_n "checking if FILE struct contains _next... " >&6; }
35094
cat >conftest.$ac_ext <<_ACEOF
35097
cat confdefs.h >>conftest.$ac_ext
35098
cat >>conftest.$ac_ext <<_ACEOF
35099
/* end confdefs.h. */
35113
rm -f conftest.$ac_objext
35114
if { (ac_try="$ac_compile"
35115
case "(($ac_try" in
35116
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35117
*) ac_try_echo=$ac_try;;
35119
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35120
$as_echo "$ac_try_echo") >&5
35121
(eval "$ac_compile") 2>conftest.er1
35123
grep -v '^ *+' conftest.er1 >conftest.err
35125
cat conftest.err >&5
35126
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127
(exit $ac_status); } && {
35128
test -z "$ac_c_werror_flag" ||
35129
test ! -s conftest.err
35130
} && test -s conftest.$ac_objext; then
35131
{ $as_echo "$as_me:$LINENO: result: yes" >&5
35132
$as_echo "yes" >&6; }
35134
cat >>confdefs.h <<_ACEOF
35135
#define HAVE_FILE_NEXT 1
35140
$as_echo "$as_me: failed program was:" >&5
35141
sed 's/^/| /' conftest.$ac_ext >&5
35143
{ $as_echo "$as_me:$LINENO: result: no" >&5
35144
$as_echo "no" >&6; }
35148
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35150
# -----------------------------------
35152
{ $as_echo "$as_me:$LINENO: checking if FILE struct contains _IO_read_end" >&5
35153
$as_echo_n "checking if FILE struct contains _IO_read_end... " >&6; }
35154
cat >conftest.$ac_ext <<_ACEOF
35157
cat confdefs.h >>conftest.$ac_ext
35158
cat >>conftest.$ac_ext <<_ACEOF
35159
/* end confdefs.h. */
35167
i = f->_IO_read_end;
35173
rm -f conftest.$ac_objext
35174
if { (ac_try="$ac_compile"
35175
case "(($ac_try" in
35176
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35177
*) ac_try_echo=$ac_try;;
35179
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35180
$as_echo "$ac_try_echo") >&5
35181
(eval "$ac_compile") 2>conftest.er1
35183
grep -v '^ *+' conftest.er1 >conftest.err
35185
cat conftest.err >&5
35186
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187
(exit $ac_status); } && {
35188
test -z "$ac_c_werror_flag" ||
35189
test ! -s conftest.err
35190
} && test -s conftest.$ac_objext; then
35191
{ $as_echo "$as_me:$LINENO: result: yes" >&5
35192
$as_echo "yes" >&6; }
35194
cat >>confdefs.h <<_ACEOF
35195
#define HAVE_FILE_IO_READ_END 1
35200
$as_echo "$as_me: failed program was:" >&5
35201
sed 's/^/| /' conftest.$ac_ext >&5
35203
{ $as_echo "$as_me:$LINENO: result: no" >&5
35204
$as_echo "no" >&6; }
35208
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35210
# -----------------------------------
35212
{ $as_echo "$as_me:$LINENO: checking if errno externs are declared" >&5
35213
$as_echo_n "checking if errno externs are declared... " >&6; }
35214
cat >conftest.$ac_ext <<_ACEOF
35217
cat confdefs.h >>conftest.$ac_ext
35218
cat >>conftest.$ac_ext <<_ACEOF
35219
/* end confdefs.h. */
35226
if ( errno < sys_nerr ) return sys_errlist[errno];
35232
rm -f conftest.$ac_objext conftest$ac_exeext
35233
if { (ac_try="$ac_link"
35234
case "(($ac_try" in
35235
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35236
*) ac_try_echo=$ac_try;;
35238
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35239
$as_echo "$ac_try_echo") >&5
35240
(eval "$ac_link") 2>conftest.er1
35242
grep -v '^ *+' conftest.er1 >conftest.err
35244
cat conftest.err >&5
35245
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246
(exit $ac_status); } && {
35247
test -z "$ac_c_werror_flag" ||
35248
test ! -s conftest.err
35249
} && test -s conftest$ac_exeext && {
35250
test "$cross_compiling" = yes ||
35251
$as_test_x conftest$ac_exeext
35253
{ $as_echo "$as_me:$LINENO: result: yes" >&5
35254
$as_echo "yes" >&6; }
35256
cat >>confdefs.h <<_ACEOF
35257
#define HAVE_ERRNO_DECL 1
35262
$as_echo "$as_me: failed program was:" >&5
35263
sed 's/^/| /' conftest.$ac_ext >&5
35265
{ $as_echo "$as_me:$LINENO: result: no" >&5
35266
$as_echo "no" >&6; }
35270
rm -rf conftest.dSYM
35271
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35272
conftest$ac_exeext conftest.$ac_ext
35274
# -----------------------------------
35276
{ $as_echo "$as_me:$LINENO: checking if getopt externs are declared" >&5
35277
$as_echo_n "checking if getopt externs are declared... " >&6; }
35278
cat >conftest.$ac_ext <<_ACEOF
35281
cat confdefs.h >>conftest.$ac_ext
35282
cat >>conftest.$ac_ext <<_ACEOF
35283
/* end confdefs.h. */
35284
#include <stdlib.h>
35287
#include <unistd.h>
35293
if ( optopt ) exit(0); else exit(1);
35299
rm -f conftest.$ac_objext conftest$ac_exeext
35300
if { (ac_try="$ac_link"
35301
case "(($ac_try" in
35302
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35303
*) ac_try_echo=$ac_try;;
35305
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35306
$as_echo "$ac_try_echo") >&5
35307
(eval "$ac_link") 2>conftest.er1
35309
grep -v '^ *+' conftest.er1 >conftest.err
35311
cat conftest.err >&5
35312
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313
(exit $ac_status); } && {
35314
test -z "$ac_c_werror_flag" ||
35315
test ! -s conftest.err
35316
} && test -s conftest$ac_exeext && {
35317
test "$cross_compiling" = yes ||
35318
$as_test_x conftest$ac_exeext
35320
{ $as_echo "$as_me:$LINENO: result: yes" >&5
35321
$as_echo "yes" >&6; }
35323
cat >>confdefs.h <<_ACEOF
35324
#define HAVE_GETOPT_DECL 1
35329
$as_echo "$as_me: failed program was:" >&5
35330
sed 's/^/| /' conftest.$ac_ext >&5
35332
{ $as_echo "$as_me:$LINENO: result: no" >&5
35333
$as_echo "no" >&6; }
35337
rm -rf conftest.dSYM
35338
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35339
conftest$ac_exeext conftest.$ac_ext
35341
# -----------------------------------
35343
{ $as_echo "$as_me:$LINENO: checking if intptr_t is declared" >&5
35344
$as_echo_n "checking if intptr_t is declared... " >&6; }
35345
cat >conftest.$ac_ext <<_ACEOF
35348
cat confdefs.h >>conftest.$ac_ext
35349
cat >>conftest.$ac_ext <<_ACEOF
35350
/* end confdefs.h. */
35351
#include <stdlib.h>
35353
#include <stdint.h>
35355
#if HAVE_INTTYPES_H
35356
#include <inttypes.h>
35359
#include <unistd.h>
35371
rm -f conftest.$ac_objext conftest$ac_exeext
35372
if { (ac_try="$ac_link"
35373
case "(($ac_try" in
35374
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35375
*) ac_try_echo=$ac_try;;
35377
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35378
$as_echo "$ac_try_echo") >&5
35379
(eval "$ac_link") 2>conftest.er1
35381
grep -v '^ *+' conftest.er1 >conftest.err
35383
cat conftest.err >&5
35384
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385
(exit $ac_status); } && {
35386
test -z "$ac_c_werror_flag" ||
35387
test ! -s conftest.err
35388
} && test -s conftest$ac_exeext && {
35389
test "$cross_compiling" = yes ||
35390
$as_test_x conftest$ac_exeext
35392
{ $as_echo "$as_me:$LINENO: result: yes" >&5
35393
$as_echo "yes" >&6; }
35395
cat >>confdefs.h <<_ACEOF
35396
#define HAVE_INTPTR_T 1
35401
$as_echo "$as_me: failed program was:" >&5
35402
sed 's/^/| /' conftest.$ac_ext >&5
35404
{ $as_echo "$as_me:$LINENO: result: no" >&5
35405
$as_echo "no" >&6; }
35409
rm -rf conftest.dSYM
35410
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35411
conftest$ac_exeext conftest.$ac_ext
35413
# -----------------------------------
35415
{ $as_echo "$as_me:$LINENO: checking if assert needs __eprintf" >&5
35416
$as_echo_n "checking if assert needs __eprintf... " >&6; }
35417
cat > conftest.$ac_ext <<EOF
35418
#include "confdefs.h"
35419
#include "assert.h"
35420
int main(int argc, char **argv) {
35424
${CC-cc} -c $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 1>&5
35425
if test "x`nm conftest.o |$GREP __eprintf`" != "x"; then
35426
{ $as_echo "$as_me:$LINENO: result: yes" >&5
35427
$as_echo "yes" >&6; }
35428
CFLAGS="$CFLAGS -DNDEBUG"
35430
{ $as_echo "$as_me:$LINENO: result: no" >&5
35431
$as_echo "no" >&6; }
35435
# -----------------------------------------------------------------------
35437
# Generate Makefiles
35438
ac_config_files="$ac_config_files Makefile debian/changelog doc/Makefile doc/info/Makefile doc/schema/Makefile contrib/Makefile contrib/prune/Makefile contrib/diffimg/Makefile graphs/Makefile graphs/directed/Makefile graphs/undirected/Makefile lib/Makefile lib/cdt/Makefile lib/cdt/libcdt.pc lib/graph/Makefile lib/graph/libgraph.pc lib/cgraph/Makefile lib/cgraph/libcgraph.pc lib/gd/Makefile lib/rbtree/Makefile lib/pathplan/Makefile lib/pathplan/libpathplan.pc lib/ast/Makefile lib/sfio/Makefile lib/sfio/Sfio_f/Makefile lib/vmalloc/Makefile lib/dotgen/Makefile lib/neatogen/Makefile lib/fdpgen/Makefile lib/sparse/Makefile lib/sfdpgen/Makefile lib/osage/Makefile lib/gvpr/Makefile lib/gvpr/libgvpr.pc lib/circogen/Makefile lib/twopigen/Makefile lib/patchwork/Makefile lib/pack/Makefile lib/ortho/Makefile lib/expr/Makefile lib/expr/libexpr.pc lib/common/Makefile lib/ingraphs/Makefile lib/vpsc/Makefile lib/gvc/Makefile lib/gvc/libgvc.pc lib/xdot/Makefile lib/xdot/libxdot.pc lib/topfish/Makefile lib/glcomp/Makefile macosx/Info.plist macosx/build/graphviz.pmdoc/01local.xml macosx/build/graphviz.pmdoc/02graphviz.xml windows/build/graphviz.wxs windows/Properties/AssemblyInfo.cs plugin/Makefile plugin/core/Makefile plugin/devil/Makefile plugin/gd/Makefile plugin/gdk_pixbuf/Makefile plugin/gdiplus/Makefile plugin/glitz/Makefile plugin/gs/Makefile plugin/gtk/Makefile plugin/lasi/Makefile plugin/ming/Makefile plugin/pango/Makefile plugin/quartz/Makefile plugin/rsvg/Makefile plugin/visio/Makefile plugin/xlib/Makefile plugin/dot_layout/Makefile plugin/neato_layout/Makefile cmd/Makefile cmd/dot/Makefile cmd/tools/Makefile cmd/gvpr/Makefile cmd/lefty/ws/x11/libfilereq/Makefile cmd/lefty/ws/x11/Makefile cmd/lefty/ws/mswin32/Makefile cmd/lefty/ws/Makefile cmd/lefty/os/unix/Makefile cmd/lefty/os/mswin32/Makefile cmd/lefty/os/Makefile cmd/lefty/dot2l/Makefile cmd/lefty/examples/Makefile cmd/lefty/Makefile cmd/lneato/Makefile cmd/dotty/Makefile cmd/smyrna/Makefile tclpkg/Makefile tclpkg/tclstubs/Makefile tclpkg/tkstubs/Makefile tclpkg/tclhandle/Makefile tclpkg/gdtclft/Makefile tclpkg/gdtclft/demo/Makefile tclpkg/tcldot/Makefile tclpkg/tcldot/demo/Makefile tclpkg/tclpathplan/Makefile tclpkg/tclpathplan/demo/Makefile tclpkg/tclpathplan/demo/pathplan_data/Makefile tclpkg/tkspline/Makefile tclpkg/tkspline/demo/Makefile tclpkg/gv/Makefile tclpkg/gv/demo/Makefile tclpkg/gv/META.gv rtest/Makefile share/Makefile share/examples/Makefile share/gui/Makefile graphviz.spec Doxyfile"
35441
cat >confcache <<\_ACEOF
35442
# This file is a shell script that caches the results of configure
35443
# tests run on this system so they can be shared between configure
35444
# scripts and configure runs, see configure's option --config-cache.
35445
# It is not useful on other systems. If it contains results you don't
35446
# want to keep, you may remove or edit it.
35448
# config.status only pays attention to the cache file if you give it
35449
# the --recheck option to rerun configure.
35451
# `ac_cv_env_foo' variables (set or unset) will be overridden when
35452
# loading this file, other *unset* `ac_cv_foo' will be assigned the
35453
# following values.
35457
# The following way of writing the cache mishandles newlines in values,
35458
# but we know of no workaround that is simple, portable, and efficient.
35459
# So, we kill variables containing newlines.
35460
# Ultrix sh set writes to stderr and can't be redirected directly,
35461
# and sets the high bit in the cache file unless we assign to the vars.
35463
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
35464
eval ac_val=\$$ac_var
35468
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
35469
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
35472
_ | IFS | as_nl) ;; #(
35473
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
35474
*) $as_unset $ac_var ;;
35480
case $as_nl`(ac_space=' '; set) 2>&1` in #(
35481
*${as_nl}ac_space=\ *)
35482
# `set' does not quote correctly, so add quotes (double-quote
35483
# substitution turns \\\\ into \\, and sed turns \\ into \).
35486
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35489
# `set' quotes correctly as required by POSIX, so do not add quotes.
35490
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
35499
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35501
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35503
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
35504
if test -w "$cache_file"; then
35505
test "x$cache_file" != "x/dev/null" &&
35506
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
35507
$as_echo "$as_me: updating cache $cache_file" >&6;}
35508
cat confcache >$cache_file
35510
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
35511
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
35516
test "x$prefix" = xNONE && prefix=$ac_default_prefix
35517
# Let make expand exec_prefix.
35518
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35520
DEFS=-DHAVE_CONFIG_H
35524
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35525
# 1. Remove the extension, and $U if already installed.
35526
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
35527
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
35528
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
35529
# will be set to the directory where LIBOBJS objects are built.
35530
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
35531
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
35533
LIBOBJS=$ac_libobjs
35535
LTLIBOBJS=$ac_ltlibobjs
35538
if test -z "${WITH_WIN32_TRUE}" && test -z "${WITH_WIN32_FALSE}"; then
35539
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_WIN32\" was never defined.
35540
Usually this means the macro was only invoked conditionally." >&5
35541
$as_echo "$as_me: error: conditional \"WITH_WIN32\" was never defined.
35542
Usually this means the macro was only invoked conditionally." >&2;}
35543
{ (exit 1); exit 1; }; }
35545
if test -z "${WITH_DARWIN9_TRUE}" && test -z "${WITH_DARWIN9_FALSE}"; then
35546
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_DARWIN9\" was never defined.
35547
Usually this means the macro was only invoked conditionally." >&5
35548
$as_echo "$as_me: error: conditional \"WITH_DARWIN9\" was never defined.
35549
Usually this means the macro was only invoked conditionally." >&2;}
35550
{ (exit 1); exit 1; }; }
35552
if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then
35553
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_STATIC\" was never defined.
35554
Usually this means the macro was only invoked conditionally." >&5
35555
$as_echo "$as_me: error: conditional \"ENABLE_STATIC\" was never defined.
35556
Usually this means the macro was only invoked conditionally." >&2;}
35557
{ (exit 1); exit 1; }; }
35559
if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
35560
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
35561
Usually this means the macro was only invoked conditionally." >&5
35562
$as_echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
35563
Usually this means the macro was only invoked conditionally." >&2;}
35564
{ (exit 1); exit 1; }; }
35566
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
35567
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
35568
Usually this means the macro was only invoked conditionally." >&5
35569
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
35570
Usually this means the macro was only invoked conditionally." >&2;}
35571
{ (exit 1); exit 1; }; }
35573
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
35574
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
35575
Usually this means the macro was only invoked conditionally." >&5
35576
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
35577
Usually this means the macro was only invoked conditionally." >&2;}
35578
{ (exit 1); exit 1; }; }
35580
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
35581
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
35582
Usually this means the macro was only invoked conditionally." >&5
35583
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
35584
Usually this means the macro was only invoked conditionally." >&2;}
35585
{ (exit 1); exit 1; }; }
35587
if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
35588
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
35589
Usually this means the macro was only invoked conditionally." >&5
35590
$as_echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
35591
Usually this means the macro was only invoked conditionally." >&2;}
35592
{ (exit 1); exit 1; }; }
35594
if test -z "${RC_IS_RC_TRUE}" && test -z "${RC_IS_RC_FALSE}"; then
35595
{ { $as_echo "$as_me:$LINENO: error: conditional \"RC_IS_RC\" was never defined.
35596
Usually this means the macro was only invoked conditionally." >&5
35597
$as_echo "$as_me: error: conditional \"RC_IS_RC\" was never defined.
35598
Usually this means the macro was only invoked conditionally." >&2;}
35599
{ (exit 1); exit 1; }; }
35601
if test -z "${RC_IS_WINDRES_TRUE}" && test -z "${RC_IS_WINDRES_FALSE}"; then
35602
{ { $as_echo "$as_me:$LINENO: error: conditional \"RC_IS_WINDRES\" was never defined.
35603
Usually this means the macro was only invoked conditionally." >&5
35604
$as_echo "$as_me: error: conditional \"RC_IS_WINDRES\" was never defined.
35605
Usually this means the macro was only invoked conditionally." >&2;}
35606
{ (exit 1); exit 1; }; }
35608
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
35609
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
35610
Usually this means the macro was only invoked conditionally." >&5
35611
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
35612
Usually this means the macro was only invoked conditionally." >&2;}
35613
{ (exit 1); exit 1; }; }
35615
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
35616
{ { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
35617
Usually this means the macro was only invoked conditionally." >&5
35618
$as_echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
35619
Usually this means the macro was only invoked conditionally." >&2;}
35620
{ (exit 1); exit 1; }; }
35622
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
35623
{ { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
35624
Usually this means the macro was only invoked conditionally." >&5
35625
$as_echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
35626
Usually this means the macro was only invoked conditionally." >&2;}
35627
{ (exit 1); exit 1; }; }
35629
LT_CONFIG_H=config.h
35633
if test -n "$_LT_LIBOBJS"; then
35634
# Remove the extension.
35635
_lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
35636
for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
35637
_ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
35638
_ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
35641
ltdl_LIBOBJS=$_ltdl_libobjs
35643
ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
35646
if test -z "${ENABLE_LTDL_TRUE}" && test -z "${ENABLE_LTDL_FALSE}"; then
35647
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_LTDL\" was never defined.
35648
Usually this means the macro was only invoked conditionally." >&5
35649
$as_echo "$as_me: error: conditional \"ENABLE_LTDL\" was never defined.
35650
Usually this means the macro was only invoked conditionally." >&2;}
35651
{ (exit 1); exit 1; }; }
35653
if test -z "${WITH_X_TRUE}" && test -z "${WITH_X_FALSE}"; then
35654
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_X\" was never defined.
35655
Usually this means the macro was only invoked conditionally." >&5
35656
$as_echo "$as_me: error: conditional \"WITH_X\" was never defined.
35657
Usually this means the macro was only invoked conditionally." >&2;}
35658
{ (exit 1); exit 1; }; }
35660
if test -z "${WITH_SWIG_TRUE}" && test -z "${WITH_SWIG_FALSE}"; then
35661
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_SWIG\" was never defined.
35662
Usually this means the macro was only invoked conditionally." >&5
35663
$as_echo "$as_me: error: conditional \"WITH_SWIG\" was never defined.
35664
Usually this means the macro was only invoked conditionally." >&2;}
35665
{ (exit 1); exit 1; }; }
35667
if test -z "${WITH_SHARP_TRUE}" && test -z "${WITH_SHARP_FALSE}"; then
35668
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_SHARP\" was never defined.
35669
Usually this means the macro was only invoked conditionally." >&5
35670
$as_echo "$as_me: error: conditional \"WITH_SHARP\" was never defined.
35671
Usually this means the macro was only invoked conditionally." >&2;}
35672
{ (exit 1); exit 1; }; }
35674
if test -z "${WITH_GUILE_TRUE}" && test -z "${WITH_GUILE_FALSE}"; then
35675
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GUILE\" was never defined.
35676
Usually this means the macro was only invoked conditionally." >&5
35677
$as_echo "$as_me: error: conditional \"WITH_GUILE\" was never defined.
35678
Usually this means the macro was only invoked conditionally." >&2;}
35679
{ (exit 1); exit 1; }; }
35681
if test -z "${WITH_IO_TRUE}" && test -z "${WITH_IO_FALSE}"; then
35682
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_IO\" was never defined.
35683
Usually this means the macro was only invoked conditionally." >&5
35684
$as_echo "$as_me: error: conditional \"WITH_IO\" was never defined.
35685
Usually this means the macro was only invoked conditionally." >&2;}
35686
{ (exit 1); exit 1; }; }
35688
if test -z "${WITH_JAVA_TRUE}" && test -z "${WITH_JAVA_FALSE}"; then
35689
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_JAVA\" was never defined.
35690
Usually this means the macro was only invoked conditionally." >&5
35691
$as_echo "$as_me: error: conditional \"WITH_JAVA\" was never defined.
35692
Usually this means the macro was only invoked conditionally." >&2;}
35693
{ (exit 1); exit 1; }; }
35695
if test -z "${WITH_LUA_TRUE}" && test -z "${WITH_LUA_FALSE}"; then
35696
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_LUA\" was never defined.
35697
Usually this means the macro was only invoked conditionally." >&5
35698
$as_echo "$as_me: error: conditional \"WITH_LUA\" was never defined.
35699
Usually this means the macro was only invoked conditionally." >&2;}
35700
{ (exit 1); exit 1; }; }
35702
if test -z "${WITH_OCAML_TRUE}" && test -z "${WITH_OCAML_FALSE}"; then
35703
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_OCAML\" was never defined.
35704
Usually this means the macro was only invoked conditionally." >&5
35705
$as_echo "$as_me: error: conditional \"WITH_OCAML\" was never defined.
35706
Usually this means the macro was only invoked conditionally." >&2;}
35707
{ (exit 1); exit 1; }; }
35709
if test -z "${WITH_OCAMLOPT_TRUE}" && test -z "${WITH_OCAMLOPT_FALSE}"; then
35710
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_OCAMLOPT\" was never defined.
35711
Usually this means the macro was only invoked conditionally." >&5
35712
$as_echo "$as_me: error: conditional \"WITH_OCAMLOPT\" was never defined.
35713
Usually this means the macro was only invoked conditionally." >&2;}
35714
{ (exit 1); exit 1; }; }
35716
if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then
35717
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PERL\" was never defined.
35718
Usually this means the macro was only invoked conditionally." >&5
35719
$as_echo "$as_me: error: conditional \"WITH_PERL\" was never defined.
35720
Usually this means the macro was only invoked conditionally." >&2;}
35721
{ (exit 1); exit 1; }; }
35723
if test -z "${WITH_PHP_TRUE}" && test -z "${WITH_PHP_FALSE}"; then
35724
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PHP\" was never defined.
35725
Usually this means the macro was only invoked conditionally." >&5
35726
$as_echo "$as_me: error: conditional \"WITH_PHP\" was never defined.
35727
Usually this means the macro was only invoked conditionally." >&2;}
35728
{ (exit 1); exit 1; }; }
35730
if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
35731
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
35732
Usually this means the macro was only invoked conditionally." >&5
35733
$as_echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
35734
Usually this means the macro was only invoked conditionally." >&2;}
35735
{ (exit 1); exit 1; }; }
35737
if test -z "${WITH_PYTHON23_TRUE}" && test -z "${WITH_PYTHON23_FALSE}"; then
35738
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON23\" was never defined.
35739
Usually this means the macro was only invoked conditionally." >&5
35740
$as_echo "$as_me: error: conditional \"WITH_PYTHON23\" was never defined.
35741
Usually this means the macro was only invoked conditionally." >&2;}
35742
{ (exit 1); exit 1; }; }
35744
if test -z "${WITH_PYTHON24_TRUE}" && test -z "${WITH_PYTHON24_FALSE}"; then
35745
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON24\" was never defined.
35746
Usually this means the macro was only invoked conditionally." >&5
35747
$as_echo "$as_me: error: conditional \"WITH_PYTHON24\" was never defined.
35748
Usually this means the macro was only invoked conditionally." >&2;}
35749
{ (exit 1); exit 1; }; }
35751
if test -z "${WITH_PYTHON25_TRUE}" && test -z "${WITH_PYTHON25_FALSE}"; then
35752
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON25\" was never defined.
35753
Usually this means the macro was only invoked conditionally." >&5
35754
$as_echo "$as_me: error: conditional \"WITH_PYTHON25\" was never defined.
35755
Usually this means the macro was only invoked conditionally." >&2;}
35756
{ (exit 1); exit 1; }; }
35758
if test -z "${WITH_PYTHON26_TRUE}" && test -z "${WITH_PYTHON26_FALSE}"; then
35759
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON26\" was never defined.
35760
Usually this means the macro was only invoked conditionally." >&5
35761
$as_echo "$as_me: error: conditional \"WITH_PYTHON26\" was never defined.
35762
Usually this means the macro was only invoked conditionally." >&2;}
35763
{ (exit 1); exit 1; }; }
35765
if test -z "${WITH_R_TRUE}" && test -z "${WITH_R_FALSE}"; then
35766
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_R\" was never defined.
35767
Usually this means the macro was only invoked conditionally." >&5
35768
$as_echo "$as_me: error: conditional \"WITH_R\" was never defined.
35769
Usually this means the macro was only invoked conditionally." >&2;}
35770
{ (exit 1); exit 1; }; }
35772
if test -z "${WITH_RUBY_TRUE}" && test -z "${WITH_RUBY_FALSE}"; then
35773
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_RUBY\" was never defined.
35774
Usually this means the macro was only invoked conditionally." >&5
35775
$as_echo "$as_me: error: conditional \"WITH_RUBY\" was never defined.
35776
Usually this means the macro was only invoked conditionally." >&2;}
35777
{ (exit 1); exit 1; }; }
35779
if test -z "${WITH_TCL_TRUE}" && test -z "${WITH_TCL_FALSE}"; then
35780
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_TCL\" was never defined.
35781
Usually this means the macro was only invoked conditionally." >&5
35782
$as_echo "$as_me: error: conditional \"WITH_TCL\" was never defined.
35783
Usually this means the macro was only invoked conditionally." >&2;}
35784
{ (exit 1); exit 1; }; }
35786
if test -z "${WITH_TK_TRUE}" && test -z "${WITH_TK_FALSE}"; then
35787
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_TK\" was never defined.
35788
Usually this means the macro was only invoked conditionally." >&5
35789
$as_echo "$as_me: error: conditional \"WITH_TK\" was never defined.
35790
Usually this means the macro was only invoked conditionally." >&2;}
35791
{ (exit 1); exit 1; }; }
35793
if test -z "${WITH_DEVIL_TRUE}" && test -z "${WITH_DEVIL_FALSE}"; then
35794
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_DEVIL\" was never defined.
35795
Usually this means the macro was only invoked conditionally." >&5
35796
$as_echo "$as_me: error: conditional \"WITH_DEVIL\" was never defined.
35797
Usually this means the macro was only invoked conditionally." >&2;}
35798
{ (exit 1); exit 1; }; }
35800
if test -z "${WITH_XAW_TRUE}" && test -z "${WITH_XAW_FALSE}"; then
35801
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_XAW\" was never defined.
35802
Usually this means the macro was only invoked conditionally." >&5
35803
$as_echo "$as_me: error: conditional \"WITH_XAW\" was never defined.
35804
Usually this means the macro was only invoked conditionally." >&2;}
35805
{ (exit 1); exit 1; }; }
35807
if test -z "${WITH_RSVG_TRUE}" && test -z "${WITH_RSVG_FALSE}"; then
35808
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_RSVG\" was never defined.
35809
Usually this means the macro was only invoked conditionally." >&5
35810
$as_echo "$as_me: error: conditional \"WITH_RSVG\" was never defined.
35811
Usually this means the macro was only invoked conditionally." >&2;}
35812
{ (exit 1); exit 1; }; }
35814
if test -z "${WITH_GS_TRUE}" && test -z "${WITH_GS_FALSE}"; then
35815
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GS\" was never defined.
35816
Usually this means the macro was only invoked conditionally." >&5
35817
$as_echo "$as_me: error: conditional \"WITH_GS\" was never defined.
35818
Usually this means the macro was only invoked conditionally." >&2;}
35819
{ (exit 1); exit 1; }; }
35821
if test -z "${WITH_VISIO_TRUE}" && test -z "${WITH_VISIO_FALSE}"; then
35822
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_VISIO\" was never defined.
35823
Usually this means the macro was only invoked conditionally." >&5
35824
$as_echo "$as_me: error: conditional \"WITH_VISIO\" was never defined.
35825
Usually this means the macro was only invoked conditionally." >&2;}
35826
{ (exit 1); exit 1; }; }
35828
if test -z "${WITH_PANGOCAIRO_TRUE}" && test -z "${WITH_PANGOCAIRO_FALSE}"; then
35829
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PANGOCAIRO\" was never defined.
35830
Usually this means the macro was only invoked conditionally." >&5
35831
$as_echo "$as_me: error: conditional \"WITH_PANGOCAIRO\" was never defined.
35832
Usually this means the macro was only invoked conditionally." >&2;}
35833
{ (exit 1); exit 1; }; }
35835
if test -z "${WITH_LASI_TRUE}" && test -z "${WITH_LASI_FALSE}"; then
35836
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_LASI\" was never defined.
35837
Usually this means the macro was only invoked conditionally." >&5
35838
$as_echo "$as_me: error: conditional \"WITH_LASI\" was never defined.
35839
Usually this means the macro was only invoked conditionally." >&2;}
35840
{ (exit 1); exit 1; }; }
35842
if test -z "${WITH_GLITZ_TRUE}" && test -z "${WITH_GLITZ_FALSE}"; then
35843
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GLITZ\" was never defined.
35844
Usually this means the macro was only invoked conditionally." >&5
35845
$as_echo "$as_me: error: conditional \"WITH_GLITZ\" was never defined.
35846
Usually this means the macro was only invoked conditionally." >&2;}
35847
{ (exit 1); exit 1; }; }
35849
if test -z "${WITH_FREETYPE2_TRUE}" && test -z "${WITH_FREETYPE2_FALSE}"; then
35850
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_FREETYPE2\" was never defined.
35851
Usually this means the macro was only invoked conditionally." >&5
35852
$as_echo "$as_me: error: conditional \"WITH_FREETYPE2\" was never defined.
35853
Usually this means the macro was only invoked conditionally." >&2;}
35854
{ (exit 1); exit 1; }; }
35856
if test -z "${WITH_FONTCONFIG_TRUE}" && test -z "${WITH_FONTCONFIG_FALSE}"; then
35857
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_FONTCONFIG\" was never defined.
35858
Usually this means the macro was only invoked conditionally." >&5
35859
$as_echo "$as_me: error: conditional \"WITH_FONTCONFIG\" was never defined.
35860
Usually this means the macro was only invoked conditionally." >&2;}
35861
{ (exit 1); exit 1; }; }
35863
if test -z "${WITH_GDK_PIXBUF_TRUE}" && test -z "${WITH_GDK_PIXBUF_FALSE}"; then
35864
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GDK_PIXBUF\" was never defined.
35865
Usually this means the macro was only invoked conditionally." >&5
35866
$as_echo "$as_me: error: conditional \"WITH_GDK_PIXBUF\" was never defined.
35867
Usually this means the macro was only invoked conditionally." >&2;}
35868
{ (exit 1); exit 1; }; }
35870
if test -z "${WITH_GTK_TRUE}" && test -z "${WITH_GTK_FALSE}"; then
35871
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GTK\" was never defined.
35872
Usually this means the macro was only invoked conditionally." >&5
35873
$as_echo "$as_me: error: conditional \"WITH_GTK\" was never defined.
35874
Usually this means the macro was only invoked conditionally." >&2;}
35875
{ (exit 1); exit 1; }; }
35877
if test -z "${WITH_GTKGL_TRUE}" && test -z "${WITH_GTKGL_FALSE}"; then
35878
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GTKGL\" was never defined.
35879
Usually this means the macro was only invoked conditionally." >&5
35880
$as_echo "$as_me: error: conditional \"WITH_GTKGL\" was never defined.
35881
Usually this means the macro was only invoked conditionally." >&2;}
35882
{ (exit 1); exit 1; }; }
35884
if test -z "${WITH_GTKGLEXT_TRUE}" && test -z "${WITH_GTKGLEXT_FALSE}"; then
35885
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GTKGLEXT\" was never defined.
35886
Usually this means the macro was only invoked conditionally." >&5
35887
$as_echo "$as_me: error: conditional \"WITH_GTKGLEXT\" was never defined.
35888
Usually this means the macro was only invoked conditionally." >&2;}
35889
{ (exit 1); exit 1; }; }
35891
if test -z "${WITH_GTS_TRUE}" && test -z "${WITH_GTS_FALSE}"; then
35892
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GTS\" was never defined.
35893
Usually this means the macro was only invoked conditionally." >&5
35894
$as_echo "$as_me: error: conditional \"WITH_GTS\" was never defined.
35895
Usually this means the macro was only invoked conditionally." >&2;}
35896
{ (exit 1); exit 1; }; }
35898
if test -z "${WITH_GLADE_TRUE}" && test -z "${WITH_GLADE_FALSE}"; then
35899
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GLADE\" was never defined.
35900
Usually this means the macro was only invoked conditionally." >&5
35901
$as_echo "$as_me: error: conditional \"WITH_GLADE\" was never defined.
35902
Usually this means the macro was only invoked conditionally." >&2;}
35903
{ (exit 1); exit 1; }; }
35905
if test -z "${WITH_MING_TRUE}" && test -z "${WITH_MING_FALSE}"; then
35906
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_MING\" was never defined.
35907
Usually this means the macro was only invoked conditionally." >&5
35908
$as_echo "$as_me: error: conditional \"WITH_MING\" was never defined.
35909
Usually this means the macro was only invoked conditionally." >&2;}
35910
{ (exit 1); exit 1; }; }
35912
if test -z "${WITH_QUARTZ_TRUE}" && test -z "${WITH_QUARTZ_FALSE}"; then
35913
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_QUARTZ\" was never defined.
35914
Usually this means the macro was only invoked conditionally." >&5
35915
$as_echo "$as_me: error: conditional \"WITH_QUARTZ\" was never defined.
35916
Usually this means the macro was only invoked conditionally." >&2;}
35917
{ (exit 1); exit 1; }; }
35919
if test -z "${WITH_GDIPLUS_TRUE}" && test -z "${WITH_GDIPLUS_FALSE}"; then
35920
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GDIPLUS\" was never defined.
35921
Usually this means the macro was only invoked conditionally." >&5
35922
$as_echo "$as_me: error: conditional \"WITH_GDIPLUS\" was never defined.
35923
Usually this means the macro was only invoked conditionally." >&2;}
35924
{ (exit 1); exit 1; }; }
35926
if test -z "${WITH_LIBGD_TRUE}" && test -z "${WITH_LIBGD_FALSE}"; then
35927
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_LIBGD\" was never defined.
35928
Usually this means the macro was only invoked conditionally." >&5
35929
$as_echo "$as_me: error: conditional \"WITH_LIBGD\" was never defined.
35930
Usually this means the macro was only invoked conditionally." >&2;}
35931
{ (exit 1); exit 1; }; }
35933
if test -z "${WITH_MYLIBGD_TRUE}" && test -z "${WITH_MYLIBGD_FALSE}"; then
35934
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_MYLIBGD\" was never defined.
35935
Usually this means the macro was only invoked conditionally." >&5
35936
$as_echo "$as_me: error: conditional \"WITH_MYLIBGD\" was never defined.
35937
Usually this means the macro was only invoked conditionally." >&2;}
35938
{ (exit 1); exit 1; }; }
35940
if test -z "${WITH_SFDP_TRUE}" && test -z "${WITH_SFDP_FALSE}"; then
35941
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_SFDP\" was never defined.
35942
Usually this means the macro was only invoked conditionally." >&5
35943
$as_echo "$as_me: error: conditional \"WITH_SFDP\" was never defined.
35944
Usually this means the macro was only invoked conditionally." >&2;}
35945
{ (exit 1); exit 1; }; }
35947
if test -z "${WITH_SMYRNA_TRUE}" && test -z "${WITH_SMYRNA_FALSE}"; then
35948
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_SMYRNA\" was never defined.
35949
Usually this means the macro was only invoked conditionally." >&5
35950
$as_echo "$as_me: error: conditional \"WITH_SMYRNA\" was never defined.
35951
Usually this means the macro was only invoked conditionally." >&2;}
35952
{ (exit 1); exit 1; }; }
35954
if test -z "${WITH_CGRAPH_TRUE}" && test -z "${WITH_CGRAPH_FALSE}"; then
35955
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_CGRAPH\" was never defined.
35956
Usually this means the macro was only invoked conditionally." >&5
35957
$as_echo "$as_me: error: conditional \"WITH_CGRAPH\" was never defined.
35958
Usually this means the macro was only invoked conditionally." >&2;}
35959
{ (exit 1); exit 1; }; }
35961
if test -z "${WITH_ORTHO_TRUE}" && test -z "${WITH_ORTHO_FALSE}"; then
35962
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_ORTHO\" was never defined.
35963
Usually this means the macro was only invoked conditionally." >&5
35964
$as_echo "$as_me: error: conditional \"WITH_ORTHO\" was never defined.
35965
Usually this means the macro was only invoked conditionally." >&2;}
35966
{ (exit 1); exit 1; }; }
35968
if test -z "${WITH_IPSEPCOLA_TRUE}" && test -z "${WITH_IPSEPCOLA_FALSE}"; then
35969
{ { $as_echo "$as_me:$LINENO: error: conditional \"WITH_IPSEPCOLA\" was never defined.
35970
Usually this means the macro was only invoked conditionally." >&5
35971
$as_echo "$as_me: error: conditional \"WITH_IPSEPCOLA\" was never defined.
35972
Usually this means the macro was only invoked conditionally." >&2;}
35973
{ (exit 1); exit 1; }; }
35976
: ${CONFIG_STATUS=./config.status}
35978
ac_clean_files_save=$ac_clean_files
35979
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35980
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35981
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
35982
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35984
# Generated by $as_me.
35985
# Run this file to recreate the current configuration.
35986
# Compiler output produced by configure, useful for debugging
35987
# configure, is in config.log if it exists.
35990
ac_cs_recheck=false
35992
SHELL=\${CONFIG_SHELL-$SHELL}
35995
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35996
## --------------------- ##
35997
## M4sh Initialization. ##
35998
## --------------------- ##
36000
# Be more Bourne compatible
36001
DUALCASE=1; export DUALCASE # for MKS sh
36002
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36005
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
36006
# is contrary to our usage. Disable this feature.
36007
alias -g '${1+"$@"}'='"$@"'
36008
setopt NO_GLOB_SUBST
36010
case `(set -o) 2>/dev/null` in
36011
*posix*) set -o posix ;;
36020
# Avoid depending upon Character Ranges.
36021
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36022
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36023
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36024
as_cr_digits='0123456789'
36025
as_cr_alnum=$as_cr_Letters$as_cr_digits
36030
# Printing a long string crashes Solaris 7 /usr/bin/printf.
36031
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
36032
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
36033
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
36034
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
36035
as_echo='printf %s\n'
36036
as_echo_n='printf %s'
36038
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
36039
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
36040
as_echo_n='/usr/ucb/echo -n'
36042
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
36043
as_echo_n_body='eval
36047
expr "X$arg" : "X\\(.*\\)$as_nl";
36048
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
36050
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
36052
export as_echo_n_body
36053
as_echo_n='sh -c $as_echo_n_body as_echo'
36055
export as_echo_body
36056
as_echo='sh -c $as_echo_body as_echo'
36059
# The user is always right.
36060
if test "${PATH_SEPARATOR+set}" != set; then
36062
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
36063
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
36068
# Support unset when possible.
36069
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
36077
# We need space, tab and new line, in precisely that order. Quoting is
36078
# there to prevent editors from complaining about space-tab.
36079
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
36080
# splitting by setting IFS to empty value.)
36083
# Find who we are. Look in the path if we contain no directory separator.
36085
*[\\/]* ) as_myself=$0 ;;
36086
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36087
for as_dir in $PATH
36090
test -z "$as_dir" && as_dir=.
36091
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36097
# We did not find ourselves, most probably we were run as `sh COMMAND'
36098
# in which case we are not to be found in the path.
36099
if test "x$as_myself" = x; then
36102
if test ! -f "$as_myself"; then
36103
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
36104
{ (exit 1); exit 1; }
36107
# Work around bugs in pre-3.0 UWIN ksh.
36108
for as_var in ENV MAIL MAILPATH
36109
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
36121
# Required to use basename.
36122
if expr a : '\(a\)' >/dev/null 2>&1 &&
36123
test "X`expr 00001 : '.*\(...\)'`" = X001; then
36129
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
36130
as_basename=basename
36136
# Name of the executable.
36137
as_me=`$as_basename -- "$0" ||
36138
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36139
X"$0" : 'X\(//\)$' \| \
36140
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
36142
sed '/^.*\/\([^/][^/]*\)\/*$/{
36161
as_lineno_1=$LINENO
36162
as_lineno_2=$LINENO
36163
test "x$as_lineno_1" != "x$as_lineno_2" &&
36164
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
36166
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36167
# uniformly replaced by the line number. The first 'sed' inserts a
36168
# line-number line after each line using $LINENO; the second 'sed'
36169
# does the real work. The second script uses 'N' to pair each
36170
# line-number line with the line containing $LINENO, and appends
36171
# trailing '-' during substitution so that $LINENO is not a special
36172
# case at line end.
36173
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36174
# scripts with optimization help from Paolo Bonzini. Blame Lee
36175
# E. McMahon (1931-1989) for sed's syntax. :-)
36187
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
36190
' >$as_me.lineno &&
36191
chmod +x "$as_me.lineno" ||
36192
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
36193
{ (exit 1); exit 1; }; }
36195
# Don't try to exec as it changes $[0], causing all sort of problems
36196
# (the dirname of $[0] is not the place where we might find the
36197
# original and so on. Autoconf is especially sensitive to this).
36198
. "./$as_me.lineno"
36199
# Exit status is that of the last command.
36204
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
36210
ECHO_C= ECHO_N= ECHO_T=
36211
case `echo -n x` in
36213
case `echo 'x\c'` in
36214
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
36220
if expr a : '\(a\)' >/dev/null 2>&1 &&
36221
test "X`expr 00001 : '.*\(...\)'`" = X001; then
36227
rm -f conf$$ conf$$.exe conf$$.file
36228
if test -d conf$$.dir; then
36229
rm -f conf$$.dir/conf$$.file
36232
mkdir conf$$.dir 2>/dev/null
36234
if (echo >conf$$.file) 2>/dev/null; then
36235
if ln -s conf$$.file conf$$ 2>/dev/null; then
36237
# ... but there are two gotchas:
36238
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
36239
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
36240
# In both cases, we have to default to `cp -p'.
36241
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
36243
elif ln conf$$.file conf$$ 2>/dev/null; then
36251
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
36252
rmdir conf$$.dir 2>/dev/null
36254
if mkdir -p . 2>/dev/null; then
36257
test -d ./-p && rmdir ./-p
36261
if test -x / >/dev/null 2>&1; then
36262
as_test_x='test -x'
36264
if ls -dL / >/dev/null 2>&1; then
36271
if test -d "$1"; then
36277
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
36278
???[sx]*):;;*)false;;esac;fi
36282
as_executable_p=$as_test_x
36284
# Sed expression to map a string onto a valid CPP name.
36285
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
36287
# Sed expression to map a string onto a valid variable name.
36288
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
36293
# Save the log message, to keep $[0] and so on meaningful, and to
36294
# report actual input values of CONFIG_FILES etc. instead of their
36295
# values after options handling.
36297
This file was extended by graphviz $as_me 2.26.3, which was
36298
generated by GNU Autoconf 2.63. Invocation command line was
36300
CONFIG_FILES = $CONFIG_FILES
36301
CONFIG_HEADERS = $CONFIG_HEADERS
36302
CONFIG_LINKS = $CONFIG_LINKS
36303
CONFIG_COMMANDS = $CONFIG_COMMANDS
36306
on `(hostname || uname -n) 2>/dev/null | sed 1q`
36311
case $ac_config_files in *"
36312
"*) set x $ac_config_files; shift; ac_config_files=$*;;
36315
case $ac_config_headers in *"
36316
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
36320
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36321
# Files that config.status was made for.
36322
config_files="$ac_config_files"
36323
config_headers="$ac_config_headers"
36324
config_commands="$ac_config_commands"
36328
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36330
\`$as_me' instantiates files from templates according to the
36331
current configuration.
36333
Usage: $0 [OPTION]... [FILE]...
36335
-h, --help print this help, then exit
36336
-V, --version print version number and configuration settings, then exit
36337
-q, --quiet, --silent
36338
do not print progress messages
36339
-d, --debug don't remove temporary files
36340
--recheck update $as_me by reconfiguring in the same conditions
36341
--file=FILE[:TEMPLATE]
36342
instantiate the configuration file FILE
36343
--header=FILE[:TEMPLATE]
36344
instantiate the configuration header FILE
36346
Configuration files:
36349
Configuration headers:
36352
Configuration commands:
36355
Report bugs to <bug-autoconf@gnu.org>."
36358
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36360
graphviz config.status 2.26.3
36361
configured by $0, generated by GNU Autoconf 2.63,
36362
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
36364
Copyright (C) 2008 Free Software Foundation, Inc.
36365
This config.status script is free software; the Free Software Foundation
36366
gives unlimited permission to copy, distribute and modify it."
36373
test -n "\$AWK" || AWK=awk
36376
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36377
# The default lists apply if the user does not specify any file.
36383
ac_option=`expr "X$1" : 'X\([^=]*\)='`
36384
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
36395
# Handling of the options.
36396
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36398
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
36399
$as_echo "$ac_cs_version"; exit ;;
36400
--debug | --debu | --deb | --de | --d | -d )
36402
--file | --fil | --fi | --f )
36405
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
36407
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
36408
ac_need_defaults=false;;
36409
--header | --heade | --head | --hea )
36412
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
36414
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
36415
ac_need_defaults=false;;
36417
# Conflict between --help and --header
36418
{ $as_echo "$as_me: error: ambiguous option: $1
36419
Try \`$0 --help' for more information." >&2
36420
{ (exit 1); exit 1; }; };;
36421
--help | --hel | -h )
36422
$as_echo "$ac_cs_usage"; exit ;;
36423
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
36424
| -silent | --silent | --silen | --sile | --sil | --si | --s)
36427
# This is an error.
36428
-*) { $as_echo "$as_me: error: unrecognized option: $1
36429
Try \`$0 --help' for more information." >&2
36430
{ (exit 1); exit 1; }; } ;;
36432
*) ac_config_targets="$ac_config_targets $1"
36433
ac_need_defaults=false ;;
36439
ac_configure_extra_args=
36441
if $ac_cs_silent; then
36443
ac_configure_extra_args="$ac_configure_extra_args --silent"
36447
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36448
if \$ac_cs_recheck; then
36449
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36451
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
36452
CONFIG_SHELL='$SHELL'
36453
export CONFIG_SHELL
36458
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36462
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36463
## Running $as_me. ##
36469
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36473
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
36476
# The HP-UX ksh and POSIX shell print the target directory to stdout
36477
# if CDPATH is set.
36478
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
36480
sed_quote_subst='$sed_quote_subst'
36481
double_quote_subst='$double_quote_subst'
36482
delay_variable_subst='$delay_variable_subst'
36483
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
36484
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
36485
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
36486
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
36487
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
36488
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
36489
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
36490
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
36491
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
36492
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
36493
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
36494
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
36495
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
36496
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
36497
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
36498
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
36499
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
36500
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
36501
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
36502
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
36503
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
36504
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
36505
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
36506
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
36507
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
36508
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
36509
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
36510
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36511
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
36512
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
36513
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
36514
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
36515
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
36516
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
36517
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
36518
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36519
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36520
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36521
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
36522
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
36523
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
36524
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
36525
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
36526
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
36527
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
36528
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
36529
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
36530
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
36531
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
36532
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
36533
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
36534
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
36535
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
36536
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
36537
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
36538
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
36539
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
36540
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
36541
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
36542
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
36543
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
36544
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
36545
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36546
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36547
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
36548
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
36549
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
36550
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
36551
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
36552
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36553
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36554
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36555
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36556
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36557
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36558
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
36559
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
36560
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
36561
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
36562
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
36563
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
36564
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
36565
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
36566
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
36567
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
36568
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
36569
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
36570
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
36571
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
36572
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
36573
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36574
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
36575
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
36576
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36577
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
36578
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
36579
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
36580
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
36581
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
36582
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
36583
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
36584
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
36585
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
36586
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
36587
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
36588
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36589
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36590
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
36591
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
36592
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
36593
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
36594
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
36595
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
36596
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
36597
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
36598
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
36599
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
36600
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
36601
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
36602
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
36603
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
36604
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
36605
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
36606
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
36607
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36608
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36609
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36610
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36611
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36612
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36613
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36614
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36615
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36616
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36617
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36618
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36619
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36620
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36621
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36622
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36623
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36624
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36625
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36626
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36627
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36628
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36629
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36630
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36631
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36632
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36633
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36634
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36635
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36636
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36637
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36638
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36639
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36640
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36641
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36642
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36643
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36644
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36645
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36646
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36647
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36648
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36649
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36650
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36651
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36652
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36653
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36656
LTCFLAGS='$LTCFLAGS'
36657
compiler='$compiler_DEFAULT'
36659
# Quote evaled strings.
36671
deplibs_check_method \
36680
lt_cv_sys_global_symbol_pipe \
36681
lt_cv_sys_global_symbol_to_cdecl \
36682
lt_cv_sys_global_symbol_to_c_name_address \
36683
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
36686
lt_prog_compiler_no_builtin_flag \
36687
lt_prog_compiler_wl \
36688
lt_prog_compiler_pic \
36689
lt_prog_compiler_static \
36690
lt_cv_prog_compiler_c_o \
36698
export_dynamic_flag_spec \
36699
whole_archive_flag_spec \
36700
compiler_needs_object \
36702
allow_undefined_flag \
36703
no_undefined_flag \
36704
hardcode_libdir_flag_spec \
36705
hardcode_libdir_flag_spec_ld \
36706
hardcode_libdir_separator \
36711
variables_saved_for_relink \
36713
library_names_spec \
36718
compiler_lib_search_dirs \
36723
compiler_lib_search_path \
36726
lt_prog_compiler_no_builtin_flag_CXX \
36727
lt_prog_compiler_wl_CXX \
36728
lt_prog_compiler_pic_CXX \
36729
lt_prog_compiler_static_CXX \
36730
lt_cv_prog_compiler_c_o_CXX \
36731
export_dynamic_flag_spec_CXX \
36732
whole_archive_flag_spec_CXX \
36733
compiler_needs_object_CXX \
36735
allow_undefined_flag_CXX \
36736
no_undefined_flag_CXX \
36737
hardcode_libdir_flag_spec_CXX \
36738
hardcode_libdir_flag_spec_ld_CXX \
36739
hardcode_libdir_separator_CXX \
36740
fix_srcfile_path_CXX \
36741
exclude_expsyms_CXX \
36742
include_expsyms_CXX \
36743
file_list_spec_CXX \
36744
compiler_lib_search_dirs_CXX \
36745
predep_objects_CXX \
36746
postdep_objects_CXX \
36749
compiler_lib_search_path_CXX; do
36750
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
36751
*[\\\\\\\`\\"\\\$]*)
36752
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
36755
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
36760
# Double-quote double-evaled strings.
36761
for var in reload_cmds \
36762
old_postinstall_cmds \
36763
old_postuninstall_cmds \
36765
extract_expsyms_cmds \
36766
old_archive_from_new_cmds \
36767
old_archive_from_expsyms_cmds \
36769
archive_expsym_cmds \
36771
module_expsym_cmds \
36772
export_symbols_cmds \
36775
postuninstall_cmds \
36777
sys_lib_search_path_spec \
36778
sys_lib_dlsearch_path_spec \
36779
old_archive_cmds_CXX \
36780
old_archive_from_new_cmds_CXX \
36781
old_archive_from_expsyms_cmds_CXX \
36783
archive_expsym_cmds_CXX \
36785
module_expsym_cmds_CXX \
36786
export_symbols_cmds_CXX \
36787
prelink_cmds_CXX; do
36788
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
36789
*[\\\\\\\`\\"\\\$]*)
36790
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
36793
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
36798
# Fix-up fallback echo if it was mangled by the above quoting rules.
36800
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
36804
ac_aux_dir='$ac_aux_dir'
36805
xsi_shell='$xsi_shell'
36806
lt_shell_append='$lt_shell_append'
36808
# See if we are running on zsh, and set the options which allow our
36809
# commands through without removal of \ escapes INIT.
36810
if test -n "\${ZSH_VERSION+set}" ; then
36811
setopt NO_GLOB_SUBST
36817
TIMESTAMP='$TIMESTAMP'
36828
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36830
# Handling of arguments.
36831
for ac_config_target in $ac_config_targets
36833
case $ac_config_target in
36834
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
36835
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
36836
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
36837
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36838
"debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;;
36839
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
36840
"doc/info/Makefile") CONFIG_FILES="$CONFIG_FILES doc/info/Makefile" ;;
36841
"doc/schema/Makefile") CONFIG_FILES="$CONFIG_FILES doc/schema/Makefile" ;;
36842
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
36843
"contrib/prune/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/prune/Makefile" ;;
36844
"contrib/diffimg/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/diffimg/Makefile" ;;
36845
"graphs/Makefile") CONFIG_FILES="$CONFIG_FILES graphs/Makefile" ;;
36846
"graphs/directed/Makefile") CONFIG_FILES="$CONFIG_FILES graphs/directed/Makefile" ;;
36847
"graphs/undirected/Makefile") CONFIG_FILES="$CONFIG_FILES graphs/undirected/Makefile" ;;
36848
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
36849
"lib/cdt/Makefile") CONFIG_FILES="$CONFIG_FILES lib/cdt/Makefile" ;;
36850
"lib/cdt/libcdt.pc") CONFIG_FILES="$CONFIG_FILES lib/cdt/libcdt.pc" ;;
36851
"lib/graph/Makefile") CONFIG_FILES="$CONFIG_FILES lib/graph/Makefile" ;;
36852
"lib/graph/libgraph.pc") CONFIG_FILES="$CONFIG_FILES lib/graph/libgraph.pc" ;;
36853
"lib/cgraph/Makefile") CONFIG_FILES="$CONFIG_FILES lib/cgraph/Makefile" ;;
36854
"lib/cgraph/libcgraph.pc") CONFIG_FILES="$CONFIG_FILES lib/cgraph/libcgraph.pc" ;;
36855
"lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES lib/gd/Makefile" ;;
36856
"lib/rbtree/Makefile") CONFIG_FILES="$CONFIG_FILES lib/rbtree/Makefile" ;;
36857
"lib/pathplan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pathplan/Makefile" ;;
36858
"lib/pathplan/libpathplan.pc") CONFIG_FILES="$CONFIG_FILES lib/pathplan/libpathplan.pc" ;;
36859
"lib/ast/Makefile") CONFIG_FILES="$CONFIG_FILES lib/ast/Makefile" ;;
36860
"lib/sfio/Makefile") CONFIG_FILES="$CONFIG_FILES lib/sfio/Makefile" ;;
36861
"lib/sfio/Sfio_f/Makefile") CONFIG_FILES="$CONFIG_FILES lib/sfio/Sfio_f/Makefile" ;;
36862
"lib/vmalloc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/vmalloc/Makefile" ;;
36863
"lib/dotgen/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dotgen/Makefile" ;;
36864
"lib/neatogen/Makefile") CONFIG_FILES="$CONFIG_FILES lib/neatogen/Makefile" ;;
36865
"lib/fdpgen/Makefile") CONFIG_FILES="$CONFIG_FILES lib/fdpgen/Makefile" ;;
36866
"lib/sparse/Makefile") CONFIG_FILES="$CONFIG_FILES lib/sparse/Makefile" ;;
36867
"lib/sfdpgen/Makefile") CONFIG_FILES="$CONFIG_FILES lib/sfdpgen/Makefile" ;;
36868
"lib/osage/Makefile") CONFIG_FILES="$CONFIG_FILES lib/osage/Makefile" ;;
36869
"lib/gvpr/Makefile") CONFIG_FILES="$CONFIG_FILES lib/gvpr/Makefile" ;;
36870
"lib/gvpr/libgvpr.pc") CONFIG_FILES="$CONFIG_FILES lib/gvpr/libgvpr.pc" ;;
36871
"lib/circogen/Makefile") CONFIG_FILES="$CONFIG_FILES lib/circogen/Makefile" ;;
36872
"lib/twopigen/Makefile") CONFIG_FILES="$CONFIG_FILES lib/twopigen/Makefile" ;;
36873
"lib/patchwork/Makefile") CONFIG_FILES="$CONFIG_FILES lib/patchwork/Makefile" ;;
36874
"lib/pack/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pack/Makefile" ;;
36875
"lib/ortho/Makefile") CONFIG_FILES="$CONFIG_FILES lib/ortho/Makefile" ;;
36876
"lib/expr/Makefile") CONFIG_FILES="$CONFIG_FILES lib/expr/Makefile" ;;
36877
"lib/expr/libexpr.pc") CONFIG_FILES="$CONFIG_FILES lib/expr/libexpr.pc" ;;
36878
"lib/common/Makefile") CONFIG_FILES="$CONFIG_FILES lib/common/Makefile" ;;
36879
"lib/ingraphs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/ingraphs/Makefile" ;;
36880
"lib/vpsc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/vpsc/Makefile" ;;
36881
"lib/gvc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/gvc/Makefile" ;;
36882
"lib/gvc/libgvc.pc") CONFIG_FILES="$CONFIG_FILES lib/gvc/libgvc.pc" ;;
36883
"lib/xdot/Makefile") CONFIG_FILES="$CONFIG_FILES lib/xdot/Makefile" ;;
36884
"lib/xdot/libxdot.pc") CONFIG_FILES="$CONFIG_FILES lib/xdot/libxdot.pc" ;;
36885
"lib/topfish/Makefile") CONFIG_FILES="$CONFIG_FILES lib/topfish/Makefile" ;;
36886
"lib/glcomp/Makefile") CONFIG_FILES="$CONFIG_FILES lib/glcomp/Makefile" ;;
36887
"macosx/Info.plist") CONFIG_FILES="$CONFIG_FILES macosx/Info.plist" ;;
36888
"macosx/build/graphviz.pmdoc/01local.xml") CONFIG_FILES="$CONFIG_FILES macosx/build/graphviz.pmdoc/01local.xml" ;;
36889
"macosx/build/graphviz.pmdoc/02graphviz.xml") CONFIG_FILES="$CONFIG_FILES macosx/build/graphviz.pmdoc/02graphviz.xml" ;;
36890
"windows/build/graphviz.wxs") CONFIG_FILES="$CONFIG_FILES windows/build/graphviz.wxs" ;;
36891
"windows/Properties/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES windows/Properties/AssemblyInfo.cs" ;;
36892
"plugin/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/Makefile" ;;
36893
"plugin/core/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/core/Makefile" ;;
36894
"plugin/devil/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/devil/Makefile" ;;
36895
"plugin/gd/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/gd/Makefile" ;;
36896
"plugin/gdk_pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/gdk_pixbuf/Makefile" ;;
36897
"plugin/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/gdiplus/Makefile" ;;
36898
"plugin/glitz/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/glitz/Makefile" ;;
36899
"plugin/gs/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/gs/Makefile" ;;
36900
"plugin/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/gtk/Makefile" ;;
36901
"plugin/lasi/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/lasi/Makefile" ;;
36902
"plugin/ming/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/ming/Makefile" ;;
36903
"plugin/pango/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/pango/Makefile" ;;
36904
"plugin/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/quartz/Makefile" ;;
36905
"plugin/rsvg/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/rsvg/Makefile" ;;
36906
"plugin/visio/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/visio/Makefile" ;;
36907
"plugin/xlib/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/xlib/Makefile" ;;
36908
"plugin/dot_layout/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/dot_layout/Makefile" ;;
36909
"plugin/neato_layout/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/neato_layout/Makefile" ;;
36910
"cmd/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/Makefile" ;;
36911
"cmd/dot/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/dot/Makefile" ;;
36912
"cmd/tools/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/tools/Makefile" ;;
36913
"cmd/gvpr/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/gvpr/Makefile" ;;
36914
"cmd/lefty/ws/x11/libfilereq/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/ws/x11/libfilereq/Makefile" ;;
36915
"cmd/lefty/ws/x11/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/ws/x11/Makefile" ;;
36916
"cmd/lefty/ws/mswin32/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/ws/mswin32/Makefile" ;;
36917
"cmd/lefty/ws/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/ws/Makefile" ;;
36918
"cmd/lefty/os/unix/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/os/unix/Makefile" ;;
36919
"cmd/lefty/os/mswin32/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/os/mswin32/Makefile" ;;
36920
"cmd/lefty/os/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/os/Makefile" ;;
36921
"cmd/lefty/dot2l/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/dot2l/Makefile" ;;
36922
"cmd/lefty/examples/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/examples/Makefile" ;;
36923
"cmd/lefty/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lefty/Makefile" ;;
36924
"cmd/lneato/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/lneato/Makefile" ;;
36925
"cmd/dotty/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/dotty/Makefile" ;;
36926
"cmd/smyrna/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/smyrna/Makefile" ;;
36927
"tclpkg/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/Makefile" ;;
36928
"tclpkg/tclstubs/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tclstubs/Makefile" ;;
36929
"tclpkg/tkstubs/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tkstubs/Makefile" ;;
36930
"tclpkg/tclhandle/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tclhandle/Makefile" ;;
36931
"tclpkg/gdtclft/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/gdtclft/Makefile" ;;
36932
"tclpkg/gdtclft/demo/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/gdtclft/demo/Makefile" ;;
36933
"tclpkg/tcldot/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tcldot/Makefile" ;;
36934
"tclpkg/tcldot/demo/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tcldot/demo/Makefile" ;;
36935
"tclpkg/tclpathplan/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tclpathplan/Makefile" ;;
36936
"tclpkg/tclpathplan/demo/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tclpathplan/demo/Makefile" ;;
36937
"tclpkg/tclpathplan/demo/pathplan_data/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tclpathplan/demo/pathplan_data/Makefile" ;;
36938
"tclpkg/tkspline/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tkspline/Makefile" ;;
36939
"tclpkg/tkspline/demo/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/tkspline/demo/Makefile" ;;
36940
"tclpkg/gv/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/gv/Makefile" ;;
36941
"tclpkg/gv/demo/Makefile") CONFIG_FILES="$CONFIG_FILES tclpkg/gv/demo/Makefile" ;;
36942
"tclpkg/gv/META.gv") CONFIG_FILES="$CONFIG_FILES tclpkg/gv/META.gv" ;;
36943
"rtest/Makefile") CONFIG_FILES="$CONFIG_FILES rtest/Makefile" ;;
36944
"share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
36945
"share/examples/Makefile") CONFIG_FILES="$CONFIG_FILES share/examples/Makefile" ;;
36946
"share/gui/Makefile") CONFIG_FILES="$CONFIG_FILES share/gui/Makefile" ;;
36947
"graphviz.spec") CONFIG_FILES="$CONFIG_FILES graphviz.spec" ;;
36948
"Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
36950
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36951
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36952
{ (exit 1); exit 1; }; };;
36957
# If the user did not use the arguments to specify the items to instantiate,
36958
# then the envvar interface is used. Set only those that are not.
36959
# We use the long form for the default assignment because of an extremely
36960
# bizarre bug on SunOS 4.1.3.
36961
if $ac_need_defaults; then
36962
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36963
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36964
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36967
# Have a temporary directory for convenience. Make it in the build tree
36968
# simply because there is no reason against having it here, and in addition,
36969
# creating and moving files from /tmp can sometimes cause problems.
36970
# Hook for its removal unless debugging.
36971
# Note that there is a small window in which the directory will not be cleaned:
36972
# after its creation but before its name has been assigned to `$tmp'.
36976
trap 'exit_status=$?
36977
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
36979
trap '{ (exit 1); exit 1; }' 1 2 13 15
36981
# Create a (secure) tmp directory for tmp files.
36984
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
36985
test -n "$tmp" && test -d "$tmp"
36988
tmp=./conf$$-$RANDOM
36989
(umask 077 && mkdir "$tmp")
36992
$as_echo "$as_me: cannot create a temporary directory in ." >&2
36993
{ (exit 1); exit 1; }
36996
# Set up the scripts for CONFIG_FILES section.
36997
# No need to generate them if there are no CONFIG_FILES.
36998
# This happens for instance with `./config.status config.h'.
36999
if test -n "$CONFIG_FILES"; then
37003
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
37004
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
37007
ac_cs_awk_cr=$ac_cr
37010
echo 'BEGIN {' >"$tmp/subs1.awk" &&
37015
echo "cat >conf$$subs.awk <<_ACEOF" &&
37016
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
37018
} >conf$$subs.sh ||
37019
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37020
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
37021
{ (exit 1); exit 1; }; }
37022
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
37024
for ac_last_try in false false false false false :; do
37025
. ./conf$$subs.sh ||
37026
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37027
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
37028
{ (exit 1); exit 1; }; }
37030
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
37031
if test $ac_delim_n = $ac_delim_num; then
37033
elif $ac_last_try; then
37034
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37035
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
37036
{ (exit 1); exit 1; }; }
37038
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
37041
rm -f conf$$subs.sh
37043
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37044
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
37048
s/^/S["/; s/!.*/"]=/
37058
s/\(.\{148\}\).*/\1/
37060
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
37065
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
37072
s/\(.\{148\}\).*/\1/
37074
s/["\\]/\\&/g; s/^/"/; s/$/"/
37078
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
37083
' <conf$$subs.awk | sed '
37088
' >>$CONFIG_STATUS || ac_write_fail=1
37089
rm -f conf$$subs.awk
37090
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37092
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
37093
for (key in S) S_is_set[key] = 1
37099
nfields = split(line, field, "@")
37101
len = length(field[1])
37102
for (i = 2; i < nfields; i++) {
37104
keylen = length(key)
37105
if (S_is_set[key]) {
37107
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
37108
len += length(value) + length(field[++i])
37119
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37120
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
37121
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
37124
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
37125
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
37126
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
37127
{ (exit 1); exit 1; }; }
37130
# VPATH may cause trouble with some makes, so we remove $(srcdir),
37131
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
37132
# trailing colons and then remove the whole line if VPATH becomes empty
37133
# (actually we leave an empty line to preserve line numbers).
37134
if test "x$srcdir" = x.; then
37135
ac_vpsub='/^[ ]*VPATH[ ]*=/{
37136
s/:*\$(srcdir):*/:/
37137
s/:*\${srcdir}:*/:/
37139
s/^\([^=]*=[ ]*\):*/\1/
37145
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37146
fi # test -n "$CONFIG_FILES"
37148
# Set up the scripts for CONFIG_HEADERS section.
37149
# No need to generate them if there are no CONFIG_HEADERS.
37150
# This happens for instance with `./config.status Makefile'.
37151
if test -n "$CONFIG_HEADERS"; then
37152
cat >"$tmp/defines.awk" <<\_ACAWK ||
37156
# Transform confdefs.h into an awk script `defines.awk', embedded as
37157
# here-document in config.status, that substitutes the proper values into
37158
# config.h.in to produce config.h.
37160
# Create a delimiter string that does not exist in confdefs.h, to ease
37161
# handling of long lines.
37163
for ac_last_try in false false :; do
37164
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
37165
if test -z "$ac_t"; then
37167
elif $ac_last_try; then
37168
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
37169
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
37170
{ (exit 1); exit 1; }; }
37172
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
37176
# For the awk script, D is an array of macro values keyed by name,
37177
# likewise P contains macro parameters if any. Preserve backslash
37178
# newline sequences.
37180
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
37182
s/.\{148\}/&'"$ac_delim"'/g
37185
s/^[ ]*#[ ]*define[ ][ ]*/ /
37192
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
37194
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
37198
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
37199
D["\1"]=" \3\\\\\\n"\\/p
37201
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
37206
s/.\{148\}/&'"$ac_delim"'/g
37211
s/["\\]/\\&/g; s/^/"/; s/$/"/p
37214
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
37216
' <confdefs.h | sed '
37217
s/'"$ac_delim"'/"\\\
37218
"/g' >>$CONFIG_STATUS || ac_write_fail=1
37220
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37221
for (key in D) D_is_set[key] = 1
37224
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
37226
split(line, arg, " ")
37227
if (arg[1] == "#") {
37231
defundef = substr(arg[1], 2)
37234
split(mac1, mac2, "(") #)
37236
prefix = substr(line, 1, index(line, defundef) - 1)
37237
if (D_is_set[macro]) {
37238
# Preserve the white space surrounding the "#".
37239
print prefix "define", macro P[macro] D[macro]
37242
# Replace #undef with comments. This is necessary, for example,
37243
# in the case of _POSIX_SOURCE, which is predefined and required
37244
# on some systems where configure will not decide to define it.
37245
if (defundef == "undef") {
37246
print "/*", prefix defundef, macro, "*/"
37254
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37255
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
37256
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
37257
{ (exit 1); exit 1; }; }
37258
fi # test -n "$CONFIG_HEADERS"
37261
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
37266
:[FHLC]) ac_mode=$ac_tag; continue;;
37268
case $ac_mode$ac_tag in
37270
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
37271
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
37272
{ (exit 1); exit 1; }; };;
37273
:[FH]-) ac_tag=-:-;;
37274
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
37291
-) ac_f="$tmp/stdin";;
37292
*) # Look for the file first in the build tree, then in the source tree
37293
# (if the path is not absolute). The absolute path cannot be DOS-style,
37294
# because $ac_f cannot contain `:'.
37298
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
37300
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
37301
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
37302
{ (exit 1); exit 1; }; };;
37304
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
37305
ac_file_inputs="$ac_file_inputs '$ac_f'"
37308
# Let's still pretend it is `configure' which instantiates (i.e., don't
37309
# use $as_me), people would be surprised to read:
37310
# /* config.h. Generated by config.status. */
37311
configure_input='Generated from '`
37312
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
37314
if test x"$ac_file" != x-; then
37315
configure_input="$ac_file. $configure_input"
37316
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
37317
$as_echo "$as_me: creating $ac_file" >&6;}
37319
# Neutralize special characters interpreted by sed in replacement strings.
37320
case $configure_input in #(
37321
*\&* | *\|* | *\\* )
37322
ac_sed_conf_input=`$as_echo "$configure_input" |
37323
sed 's/[\\\\&|]/\\\\&/g'`;; #(
37324
*) ac_sed_conf_input=$configure_input;;
37328
*:-:* | *:-) cat >"$tmp/stdin" \
37329
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
37330
$as_echo "$as_me: error: could not create $ac_file" >&2;}
37331
{ (exit 1); exit 1; }; } ;;
37336
ac_dir=`$as_dirname -- "$ac_file" ||
37337
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37338
X"$ac_file" : 'X\(//\)[^/]' \| \
37339
X"$ac_file" : 'X\(//\)$' \| \
37340
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
37341
$as_echo X"$ac_file" |
37342
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37346
/^X\(\/\/\)[^/].*/{
37361
-*) as_dir=./$as_dir;;
37363
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
37367
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
37368
*) as_qdir=$as_dir;;
37370
as_dirs="'$as_qdir' $as_dirs"
37371
as_dir=`$as_dirname -- "$as_dir" ||
37372
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37373
X"$as_dir" : 'X\(//\)[^/]' \| \
37374
X"$as_dir" : 'X\(//\)$' \| \
37375
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
37376
$as_echo X"$as_dir" |
37377
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37381
/^X\(\/\/\)[^/].*/{
37394
test -d "$as_dir" && break
37396
test -z "$as_dirs" || eval "mkdir $as_dirs"
37397
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
37398
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
37399
{ (exit 1); exit 1; }; }; }
37403
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
37405
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
37406
# A ".." for each directory in $ac_dir_suffix.
37407
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
37408
case $ac_top_builddir_sub in
37409
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
37410
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
37413
ac_abs_top_builddir=$ac_pwd
37414
ac_abs_builddir=$ac_pwd$ac_dir_suffix
37415
# for backward compatibility:
37416
ac_top_builddir=$ac_top_build_prefix
37419
.) # We are building in place.
37421
ac_top_srcdir=$ac_top_builddir_sub
37422
ac_abs_top_srcdir=$ac_pwd ;;
37423
[\\/]* | ?:[\\/]* ) # Absolute name.
37424
ac_srcdir=$srcdir$ac_dir_suffix;
37425
ac_top_srcdir=$srcdir
37426
ac_abs_top_srcdir=$srcdir ;;
37427
*) # Relative name.
37428
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
37429
ac_top_srcdir=$ac_top_build_prefix$srcdir
37430
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
37432
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
37442
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37443
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
37445
ac_MKDIR_P=$MKDIR_P
37447
[\\/$]* | ?:[\\/]* ) ;;
37448
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
37452
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37453
# If the template does not know about datarootdir, expand it.
37454
# FIXME: This hack should be removed a few years after 2.60.
37455
ac_datarootdir_hack=; ac_datarootdir_seen=
37468
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
37469
*datarootdir*) ac_datarootdir_seen=yes;;
37470
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
37471
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
37472
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
37474
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37475
ac_datarootdir_hack='
37476
s&@datadir@&$datadir&g
37477
s&@docdir@&$docdir&g
37478
s&@infodir@&$infodir&g
37479
s&@localedir@&$localedir&g
37480
s&@mandir@&$mandir&g
37481
s&\\\${datarootdir}&$datarootdir&g' ;;
37485
# Neutralize VPATH when `$srcdir' = `.'.
37486
# Shell code in configure.ac might set extrasub.
37487
# FIXME: do we really want to maintain this feature?
37488
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37489
ac_sed_extra="$ac_vpsub
37492
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37494
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37495
s|@configure_input@|$ac_sed_conf_input|;t t
37496
s&@top_builddir@&$ac_top_builddir_sub&;t t
37497
s&@top_build_prefix@&$ac_top_build_prefix&;t t
37498
s&@srcdir@&$ac_srcdir&;t t
37499
s&@abs_srcdir@&$ac_abs_srcdir&;t t
37500
s&@top_srcdir@&$ac_top_srcdir&;t t
37501
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
37502
s&@builddir@&$ac_builddir&;t t
37503
s&@abs_builddir@&$ac_abs_builddir&;t t
37504
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
37505
s&@INSTALL@&$ac_INSTALL&;t t
37506
s&@MKDIR_P@&$ac_MKDIR_P&;t t
37507
$ac_datarootdir_hack
37509
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
37510
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
37511
$as_echo "$as_me: error: could not create $ac_file" >&2;}
37512
{ (exit 1); exit 1; }; }
37514
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
37515
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
37516
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
37517
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
37518
which seems to be undefined. Please make sure it is defined." >&5
37519
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
37520
which seems to be undefined. Please make sure it is defined." >&2;}
37524
-) cat "$tmp/out" && rm -f "$tmp/out";;
37525
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
37527
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
37528
$as_echo "$as_me: error: could not create $ac_file" >&2;}
37529
{ (exit 1); exit 1; }; }
37535
if test x"$ac_file" != x-; then
37537
$as_echo "/* $configure_input */" \
37538
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
37539
} >"$tmp/config.h" \
37540
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
37541
$as_echo "$as_me: error: could not create $ac_file" >&2;}
37542
{ (exit 1); exit 1; }; }
37543
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
37544
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37545
$as_echo "$as_me: $ac_file is unchanged" >&6;}
37548
mv "$tmp/config.h" "$ac_file" \
37549
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
37550
$as_echo "$as_me: error: could not create $ac_file" >&2;}
37551
{ (exit 1); exit 1; }; }
37554
$as_echo "/* $configure_input */" \
37555
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
37556
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
37557
$as_echo "$as_me: error: could not create -" >&2;}
37558
{ (exit 1); exit 1; }; }
37560
# Compute "$ac_file"'s index in $config_headers.
37563
for _am_header in $config_headers :; do
37564
case $_am_header in
37565
$_am_arg | $_am_arg:* )
37568
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
37571
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
37572
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37573
X"$_am_arg" : 'X\(//\)[^/]' \| \
37574
X"$_am_arg" : 'X\(//\)$' \| \
37575
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
37576
$as_echo X"$_am_arg" |
37577
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37581
/^X\(\/\/\)[^/].*/{
37593
s/.*/./; q'`/stamp-h$_am_stamp_count
37596
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
37597
$as_echo "$as_me: executing $ac_file commands" >&6;}
37602
case $ac_file$ac_mode in
37603
"depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
37604
# are listed without --file. Let's play safe and only enable the eval
37605
# if we detect the quoting.
37606
case $CONFIG_FILES in
37607
*\'*) eval set x "$CONFIG_FILES" ;;
37608
*) set x $CONFIG_FILES ;;
37613
# Strip MF so we end up with the name of the file.
37614
mf=`echo "$mf" | sed -e 's/:.*$//'`
37615
# Check whether this is an Automake generated Makefile or not.
37616
# We used to match only the files named `Makefile.in', but
37617
# some people rename them; so instead we look at the file content.
37618
# Grep'ing the first line is not enough: some people post-process
37619
# each Makefile.in and add a new line on top of each file to say so.
37620
# Grep'ing the whole file is not good either: AIX grep has a line
37621
# limit of 2048, but all sed's we know have understand at least 4000.
37622
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
37623
dirpart=`$as_dirname -- "$mf" ||
37624
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37625
X"$mf" : 'X\(//\)[^/]' \| \
37626
X"$mf" : 'X\(//\)$' \| \
37627
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
37629
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37633
/^X\(\/\/\)[^/].*/{
37649
# Extract the definition of DEPDIR, am__include, and am__quote
37650
# from the Makefile without running `make'.
37651
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
37652
test -z "$DEPDIR" && continue
37653
am__include=`sed -n 's/^am__include = //p' < "$mf"`
37654
test -z "am__include" && continue
37655
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
37656
# When using ansi2knr, U may be empty or an underscore; expand it
37657
U=`sed -n 's/^U = //p' < "$mf"`
37658
# Find all dependency output files, they are included files with
37659
# $(DEPDIR) in their names. We invoke sed twice because it is the
37660
# simplest approach to changing $(DEPDIR) to its actual value in the
37662
for file in `sed -n "
37663
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
37664
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
37665
# Make sure the directory exists.
37666
test -f "$dirpart/$file" && continue
37667
fdir=`$as_dirname -- "$file" ||
37668
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37669
X"$file" : 'X\(//\)[^/]' \| \
37670
X"$file" : 'X\(//\)$' \| \
37671
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
37672
$as_echo X"$file" |
37673
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37677
/^X\(\/\/\)[^/].*/{
37690
{ as_dir=$dirpart/$fdir
37692
-*) as_dir=./$as_dir;;
37694
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
37698
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
37699
*) as_qdir=$as_dir;;
37701
as_dirs="'$as_qdir' $as_dirs"
37702
as_dir=`$as_dirname -- "$as_dir" ||
37703
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37704
X"$as_dir" : 'X\(//\)[^/]' \| \
37705
X"$as_dir" : 'X\(//\)$' \| \
37706
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
37707
$as_echo X"$as_dir" |
37708
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37712
/^X\(\/\/\)[^/].*/{
37725
test -d "$as_dir" && break
37727
test -z "$as_dirs" || eval "mkdir $as_dirs"
37728
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
37729
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
37730
{ (exit 1); exit 1; }; }; }
37731
# echo "creating $dirpart/$file"
37732
echo '# dummy' > "$dirpart/$file"
37738
# See if we are running on zsh, and set the options which allow our
37739
# commands through without removal of \ escapes.
37740
if test -n "${ZSH_VERSION+set}" ; then
37741
setopt NO_GLOB_SUBST
37744
cfgfile="${ofile}T"
37745
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
37748
cat <<_LT_EOF >> "$cfgfile"
37751
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
37752
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
37753
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
37754
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
37756
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
37757
# 2006, 2007, 2008 Free Software Foundation, Inc.
37758
# Written by Gordon Matzigkeit, 1996
37760
# This file is part of GNU Libtool.
37762
# GNU Libtool is free software; you can redistribute it and/or
37763
# modify it under the terms of the GNU General Public License as
37764
# published by the Free Software Foundation; either version 2 of
37765
# the License, or (at your option) any later version.
37767
# As a special exception to the GNU General Public License,
37768
# if you distribute this file as part of a program or library that
37769
# is built using GNU Libtool, you may include this file under the
37770
# same distribution terms that you use for the rest of that program.
37772
# GNU Libtool is distributed in the hope that it will be useful,
37773
# but WITHOUT ANY WARRANTY; without even the implied warranty of
37774
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37775
# GNU General Public License for more details.
37777
# You should have received a copy of the GNU General Public License
37778
# along with GNU Libtool; see the file COPYING. If not, a copy
37779
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
37780
# obtained by writing to the Free Software Foundation, Inc.,
37781
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
37784
# The names of the tagged configurations supported by this script.
37785
available_tags="CXX "
37787
# ### BEGIN LIBTOOL CONFIG
37789
# Whether or not to build static libraries.
37790
build_old_libs=$enable_static
37792
# Whether or not to build shared libraries.
37793
build_libtool_libs=$enable_shared
37795
# Which release of libtool.m4 was used?
37796
macro_version=$macro_version
37797
macro_revision=$macro_revision
37799
# What type of objects to build.
37802
# Whether or not to optimize for fast installation.
37803
fast_install=$enable_fast_install
37806
host_alias=$host_alias
37810
# The build system.
37811
build_alias=$build_alias
37815
# A sed program that does not truncate output.
37818
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
37819
Xsed="\$SED -e 1s/^X//"
37821
# A grep program that handles long lines.
37827
# A literal string matcher.
37830
# A BSD- or MS-compatible name lister.
37833
# Whether we need soft or hard links.
37836
# What is the maximum length of a command?
37837
max_cmd_len=$max_cmd_len
37839
# Object file suffix (normally "o").
37842
# Executable file suffix (normally "").
37845
# whether the shell understands "unset".
37848
# turn spaces into newlines.
37851
# turn newlines into spaces.
37854
# How to create reloadable object files.
37855
reload_flag=$lt_reload_flag
37856
reload_cmds=$lt_reload_cmds
37858
# An object symbol dumper.
37859
OBJDUMP=$lt_OBJDUMP
37861
# Method to check whether dependent libraries are shared objects.
37862
deplibs_check_method=$lt_deplibs_check_method
37864
# Command to use when deplibs_check_method == "file_magic".
37865
file_magic_cmd=$lt_file_magic_cmd
37869
AR_FLAGS=$lt_AR_FLAGS
37871
# A symbol stripping program.
37874
# Commands used to install an old-style archive.
37876
old_postinstall_cmds=$lt_old_postinstall_cmds
37877
old_postuninstall_cmds=$lt_old_postuninstall_cmds
37882
# LTCC compiler flags.
37883
LTCFLAGS=$lt_CFLAGS
37885
# Take the output of nm and produce a listing of raw symbols and C names.
37886
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
37888
# Transform the output of nm in a proper C declaration.
37889
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
37891
# Transform the output of nm in a C name address pair.
37892
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
37894
# Transform the output of nm in a C name address pair when lib prefix is needed.
37895
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
37897
# The name of the directory that contains temporary libtool files.
37900
# Shell to use when invoking shell scripts.
37903
# An echo program that does not interpret backslashes.
37906
# Used to examine libraries when file_magic_cmd begins with "file".
37907
MAGIC_CMD=$MAGIC_CMD
37909
# Must we lock files when doing compilation?
37910
need_locks=$lt_need_locks
37912
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
37913
DSYMUTIL=$lt_DSYMUTIL
37915
# Tool to change global to local symbols on Mac OS X.
37918
# Tool to manipulate fat objects and archives on Mac OS X.
37921
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
37924
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
37925
OTOOL64=$lt_OTOOL64
37927
# Old archive suffix (normally "a").
37930
# Shared library suffix (normally ".so").
37931
shrext_cmds=$lt_shrext_cmds
37933
# The commands to extract the exported symbol list from a shared archive.
37934
extract_expsyms_cmds=$lt_extract_expsyms_cmds
37936
# Variables whose values should be saved in libtool wrapper scripts and
37937
# restored at link time.
37938
variables_saved_for_relink=$lt_variables_saved_for_relink
37940
# Do we need the "lib" prefix for modules?
37941
need_lib_prefix=$need_lib_prefix
37943
# Do we need a version for libraries?
37944
need_version=$need_version
37946
# Library versioning type.
37947
version_type=$version_type
37949
# Shared library runtime path variable.
37950
runpath_var=$runpath_var
37952
# Shared library path variable.
37953
shlibpath_var=$shlibpath_var
37955
# Is shlibpath searched before the hard-coded library search path?
37956
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
37958
# Format of library name prefix.
37959
libname_spec=$lt_libname_spec
37961
# List of archive names. First name is the real one, the rest are links.
37962
# The last name is the one that the linker finds with -lNAME
37963
library_names_spec=$lt_library_names_spec
37965
# The coded name of the library, if different from the real name.
37966
soname_spec=$lt_soname_spec
37968
# Command to use after installation of a shared archive.
37969
postinstall_cmds=$lt_postinstall_cmds
37971
# Command to use after uninstallation of a shared archive.
37972
postuninstall_cmds=$lt_postuninstall_cmds
37974
# Commands used to finish a libtool library installation in a directory.
37975
finish_cmds=$lt_finish_cmds
37977
# As "finish_cmds", except a single script fragment to be evaled but
37979
finish_eval=$lt_finish_eval
37981
# Whether we should hardcode library paths into libraries.
37982
hardcode_into_libs=$hardcode_into_libs
37984
# Compile-time system search path for libraries.
37985
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
37987
# Run-time system search path for libraries.
37988
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
37990
# Whether dlopen is supported.
37991
dlopen_support=$enable_dlopen
37993
# Whether dlopen of programs is supported.
37994
dlopen_self=$enable_dlopen_self
37996
# Whether dlopen of statically linked programs is supported.
37997
dlopen_self_static=$enable_dlopen_self_static
37999
# Commands to strip libraries.
38000
old_striplib=$lt_old_striplib
38001
striplib=$lt_striplib
38004
# The linker used to build libraries.
38007
# Commands used to build an old-style archive.
38008
old_archive_cmds=$lt_old_archive_cmds
38010
# A language specific compiler.
38013
# Is the compiler the GNU compiler?
38016
# Compiler flag to turn off builtin functions.
38017
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
38019
# How to pass a linker flag through the compiler.
38020
wl=$lt_lt_prog_compiler_wl
38022
# Additional compiler flags for building library objects.
38023
pic_flag=$lt_lt_prog_compiler_pic
38025
# Compiler flag to prevent dynamic linking.
38026
link_static_flag=$lt_lt_prog_compiler_static
38028
# Does compiler simultaneously support -c and -o options?
38029
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
38031
# Whether or not to add -lc for building shared libraries.
38032
build_libtool_need_lc=$archive_cmds_need_lc
38034
# Whether or not to disallow shared libs when runtime libs are static.
38035
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
38037
# Compiler flag to allow reflexive dlopens.
38038
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
38040
# Compiler flag to generate shared objects directly from archives.
38041
whole_archive_flag_spec=$lt_whole_archive_flag_spec
38043
# Whether the compiler copes with passing no objects directly.
38044
compiler_needs_object=$lt_compiler_needs_object
38046
# Create an old-style archive from a shared archive.
38047
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
38049
# Create a temporary old-style archive to link instead of a shared archive.
38050
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
38052
# Commands used to build a shared archive.
38053
archive_cmds=$lt_archive_cmds
38054
archive_expsym_cmds=$lt_archive_expsym_cmds
38056
# Commands used to build a loadable module if different from building
38057
# a shared archive.
38058
module_cmds=$lt_module_cmds
38059
module_expsym_cmds=$lt_module_expsym_cmds
38061
# Whether we are building with GNU ld or not.
38062
with_gnu_ld=$lt_with_gnu_ld
38064
# Flag that allows shared libraries with undefined symbols to be built.
38065
allow_undefined_flag=$lt_allow_undefined_flag
38067
# Flag that enforces no undefined symbols.
38068
no_undefined_flag=$lt_no_undefined_flag
38070
# Flag to hardcode \$libdir into a binary during linking.
38071
# This must work even if \$libdir does not exist
38072
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
38074
# If ld is used when linking, flag to hardcode \$libdir into a binary
38075
# during linking. This must work even if \$libdir does not exist.
38076
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
38078
# Whether we need a single "-rpath" flag with a separated argument.
38079
hardcode_libdir_separator=$lt_hardcode_libdir_separator
38081
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
38082
# DIR into the resulting binary.
38083
hardcode_direct=$hardcode_direct
38085
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
38086
# DIR into the resulting binary and the resulting library dependency is
38087
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
38088
# library is relocated.
38089
hardcode_direct_absolute=$hardcode_direct_absolute
38091
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
38092
# into the resulting binary.
38093
hardcode_minus_L=$hardcode_minus_L
38095
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
38096
# into the resulting binary.
38097
hardcode_shlibpath_var=$hardcode_shlibpath_var
38099
# Set to "yes" if building a shared library automatically hardcodes DIR
38100
# into the library and all subsequent libraries and executables linked
38102
hardcode_automatic=$hardcode_automatic
38104
# Set to yes if linker adds runtime paths of dependent libraries
38105
# to runtime path list.
38106
inherit_rpath=$inherit_rpath
38108
# Whether libtool must link a program against all its dependency libraries.
38109
link_all_deplibs=$link_all_deplibs
38111
# Fix the shell variable \$srcfile for the compiler.
38112
fix_srcfile_path=$lt_fix_srcfile_path
38114
# Set to "yes" if exported symbols are required.
38115
always_export_symbols=$always_export_symbols
38117
# The commands to list exported symbols.
38118
export_symbols_cmds=$lt_export_symbols_cmds
38120
# Symbols that should not be listed in the preloaded symbols.
38121
exclude_expsyms=$lt_exclude_expsyms
38123
# Symbols that must always be exported.
38124
include_expsyms=$lt_include_expsyms
38126
# Commands necessary for linking programs (against libraries) with templates.
38127
prelink_cmds=$lt_prelink_cmds
38129
# Specify filename containing input files.
38130
file_list_spec=$lt_file_list_spec
38132
# How to hardcode a shared library path into an executable.
38133
hardcode_action=$hardcode_action
38135
# The directories searched by this compiler when creating a shared library.
38136
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
38138
# Dependencies to place before and after the objects being linked to
38139
# create a shared library.
38140
predep_objects=$lt_predep_objects
38141
postdep_objects=$lt_postdep_objects
38142
predeps=$lt_predeps
38143
postdeps=$lt_postdeps
38145
# The library search path used internally by the compiler when linking
38146
# a shared library.
38147
compiler_lib_search_path=$lt_compiler_lib_search_path
38149
# ### END LIBTOOL CONFIG
38155
cat <<\_LT_EOF >> "$cfgfile"
38156
# AIX sometimes has problems with the GCC collect2 program. For some
38157
# reason, if we set the COLLECT_NAMES environment variable, the problems
38158
# vanish in a puff of smoke.
38159
if test "X${COLLECT_NAMES+set}" != Xset; then
38161
export COLLECT_NAMES
38168
ltmain="$ac_aux_dir/ltmain.sh"
38171
# We use sed instead of cat because bash on DJGPP gets confused if
38172
# if finds mixed CR/LF and LF-only lines. Since sed operates in
38173
# text mode, it properly converts lines to CR/LF. This bash problem
38174
# is reportedly fixed, but why not run on old versions too?
38175
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
38176
|| (rm -f "$cfgfile"; exit 1)
38180
cat << \_LT_EOF >> "$cfgfile"
38182
# func_dirname file append nondir_replacement
38183
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
38184
# otherwise set result to NONDIR_REPLACEMENT.
38188
*/*) func_dirname_result="${1%/*}${2}" ;;
38189
* ) func_dirname_result="${3}" ;;
38193
# func_basename file
38196
func_basename_result="${1##*/}"
38199
# func_dirname_and_basename file append nondir_replacement
38200
# perform func_basename and func_dirname in a single function
38202
# dirname: Compute the dirname of FILE. If nonempty,
38203
# add APPEND to the result, otherwise set result
38204
# to NONDIR_REPLACEMENT.
38205
# value returned in "$func_dirname_result"
38206
# basename: Compute filename of FILE.
38207
# value retuned in "$func_basename_result"
38208
# Implementation must be kept synchronized with func_dirname
38209
# and func_basename. For efficiency, we do not delegate to
38210
# those functions but instead duplicate the functionality here.
38211
func_dirname_and_basename ()
38214
*/*) func_dirname_result="${1%/*}${2}" ;;
38215
* ) func_dirname_result="${3}" ;;
38217
func_basename_result="${1##*/}"
38220
# func_stripname prefix suffix name
38221
# strip PREFIX and SUFFIX off of NAME.
38222
# PREFIX and SUFFIX must not contain globbing or regex special
38223
# characters, hashes, percent signs, but SUFFIX may contain a leading
38224
# dot (in which case that matches only a dot).
38227
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
38228
# positional parameters, so assign one to ordinary parameter first.
38229
func_stripname_result=${3}
38230
func_stripname_result=${func_stripname_result#"${1}"}
38231
func_stripname_result=${func_stripname_result%"${2}"}
38237
func_opt_split_opt=${1%%=*}
38238
func_opt_split_arg=${1#*=}
38245
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
38246
*) func_lo2o_result=${1} ;;
38250
# func_xform libobj-or-source
38253
func_xform_result=${1%.*}.lo
38256
# func_arith arithmetic-term...
38259
func_arith_result=$(( $* ))
38263
# STRING may not start with a hyphen.
38266
func_len_result=${#1}
38271
*) # Bourne compatible functions.
38272
cat << \_LT_EOF >> "$cfgfile"
38274
# func_dirname file append nondir_replacement
38275
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
38276
# otherwise set result to NONDIR_REPLACEMENT.
38279
# Extract subdirectory from the argument.
38280
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
38281
if test "X$func_dirname_result" = "X${1}"; then
38282
func_dirname_result="${3}"
38284
func_dirname_result="$func_dirname_result${2}"
38288
# func_basename file
38291
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
38295
# func_stripname prefix suffix name
38296
# strip PREFIX and SUFFIX off of NAME.
38297
# PREFIX and SUFFIX must not contain globbing or regex special
38298
# characters, hashes, percent signs, but SUFFIX may contain a leading
38299
# dot (in which case that matches only a dot).
38300
# func_strip_suffix prefix name
38304
.*) func_stripname_result=`$ECHO "X${3}" \
38305
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
38306
*) func_stripname_result=`$ECHO "X${3}" \
38307
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
38312
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
38313
my_sed_long_arg='1s/^-[^=]*=//'
38318
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
38319
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
38325
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
38328
# func_xform libobj-or-source
38331
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
38334
# func_arith arithmetic-term...
38337
func_arith_result=`expr "$@"`
38341
# STRING may not start with a hyphen.
38344
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
38350
case $lt_shell_append in
38352
cat << \_LT_EOF >> "$cfgfile"
38354
# func_append var value
38355
# Append VALUE to the end of shell variable VAR.
38363
cat << \_LT_EOF >> "$cfgfile"
38365
# func_append var value
38366
# Append VALUE to the end of shell variable VAR.
38377
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
38378
|| (rm -f "$cfgfile"; exit 1)
38380
mv -f "$cfgfile" "$ofile" ||
38381
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
38385
cat <<_LT_EOF >> "$ofile"
38387
# ### BEGIN LIBTOOL TAG CONFIG: CXX
38389
# The linker used to build libraries.
38392
# Commands used to build an old-style archive.
38393
old_archive_cmds=$lt_old_archive_cmds_CXX
38395
# A language specific compiler.
38396
CC=$lt_compiler_CXX
38398
# Is the compiler the GNU compiler?
38401
# Compiler flag to turn off builtin functions.
38402
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
38404
# How to pass a linker flag through the compiler.
38405
wl=$lt_lt_prog_compiler_wl_CXX
38407
# Additional compiler flags for building library objects.
38408
pic_flag=$lt_lt_prog_compiler_pic_CXX
38410
# Compiler flag to prevent dynamic linking.
38411
link_static_flag=$lt_lt_prog_compiler_static_CXX
38413
# Does compiler simultaneously support -c and -o options?
38414
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
38416
# Whether or not to add -lc for building shared libraries.
38417
build_libtool_need_lc=$archive_cmds_need_lc_CXX
38419
# Whether or not to disallow shared libs when runtime libs are static.
38420
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
38422
# Compiler flag to allow reflexive dlopens.
38423
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
38425
# Compiler flag to generate shared objects directly from archives.
38426
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
38428
# Whether the compiler copes with passing no objects directly.
38429
compiler_needs_object=$lt_compiler_needs_object_CXX
38431
# Create an old-style archive from a shared archive.
38432
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
38434
# Create a temporary old-style archive to link instead of a shared archive.
38435
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
38437
# Commands used to build a shared archive.
38438
archive_cmds=$lt_archive_cmds_CXX
38439
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
38441
# Commands used to build a loadable module if different from building
38442
# a shared archive.
38443
module_cmds=$lt_module_cmds_CXX
38444
module_expsym_cmds=$lt_module_expsym_cmds_CXX
38446
# Whether we are building with GNU ld or not.
38447
with_gnu_ld=$lt_with_gnu_ld_CXX
38449
# Flag that allows shared libraries with undefined symbols to be built.
38450
allow_undefined_flag=$lt_allow_undefined_flag_CXX
38452
# Flag that enforces no undefined symbols.
38453
no_undefined_flag=$lt_no_undefined_flag_CXX
38455
# Flag to hardcode \$libdir into a binary during linking.
38456
# This must work even if \$libdir does not exist
38457
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
38459
# If ld is used when linking, flag to hardcode \$libdir into a binary
38460
# during linking. This must work even if \$libdir does not exist.
38461
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
38463
# Whether we need a single "-rpath" flag with a separated argument.
38464
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
38466
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
38467
# DIR into the resulting binary.
38468
hardcode_direct=$hardcode_direct_CXX
38470
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
38471
# DIR into the resulting binary and the resulting library dependency is
38472
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
38473
# library is relocated.
38474
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
38476
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
38477
# into the resulting binary.
38478
hardcode_minus_L=$hardcode_minus_L_CXX
38480
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
38481
# into the resulting binary.
38482
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
38484
# Set to "yes" if building a shared library automatically hardcodes DIR
38485
# into the library and all subsequent libraries and executables linked
38487
hardcode_automatic=$hardcode_automatic_CXX
38489
# Set to yes if linker adds runtime paths of dependent libraries
38490
# to runtime path list.
38491
inherit_rpath=$inherit_rpath_CXX
38493
# Whether libtool must link a program against all its dependency libraries.
38494
link_all_deplibs=$link_all_deplibs_CXX
38496
# Fix the shell variable \$srcfile for the compiler.
38497
fix_srcfile_path=$lt_fix_srcfile_path_CXX
38499
# Set to "yes" if exported symbols are required.
38500
always_export_symbols=$always_export_symbols_CXX
38502
# The commands to list exported symbols.
38503
export_symbols_cmds=$lt_export_symbols_cmds_CXX
38505
# Symbols that should not be listed in the preloaded symbols.
38506
exclude_expsyms=$lt_exclude_expsyms_CXX
38508
# Symbols that must always be exported.
38509
include_expsyms=$lt_include_expsyms_CXX
38511
# Commands necessary for linking programs (against libraries) with templates.
38512
prelink_cmds=$lt_prelink_cmds_CXX
38514
# Specify filename containing input files.
38515
file_list_spec=$lt_file_list_spec_CXX
38517
# How to hardcode a shared library path into an executable.
38518
hardcode_action=$hardcode_action_CXX
38520
# The directories searched by this compiler when creating a shared library.
38521
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
38523
# Dependencies to place before and after the objects being linked to
38524
# create a shared library.
38525
predep_objects=$lt_predep_objects_CXX
38526
postdep_objects=$lt_postdep_objects_CXX
38527
predeps=$lt_predeps_CXX
38528
postdeps=$lt_postdeps_CXX
38530
# The library search path used internally by the compiler when linking
38531
# a shared library.
38532
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
38534
# ### END LIBTOOL TAG CONFIG: CXX
38543
{ (exit 0); exit 0; }
38545
chmod +x $CONFIG_STATUS
38546
ac_clean_files=$ac_clean_files_save
38548
test $ac_write_fail = 0 ||
38549
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
38550
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
38551
{ (exit 1); exit 1; }; }
38554
# configure is writing to config.log, and then calls config.status.
38555
# config.status does its own redirection, appending to config.log.
38556
# Unfortunately, on DOS this fails, as config.log is still kept open
38557
# by configure, so config.status won't be able to write to it; its
38558
# output is simply discarded. So we exec the FD to /dev/null,
38559
# effectively closing config.log, so it can be properly (re)opened and
38560
# appended to by config.status. When coming back to configure, we
38561
# need to make the FD available again.
38562
if test "$no_create" != yes; then
38564
ac_config_status_args=
38565
test "$silent" = yes &&
38566
ac_config_status_args="$ac_config_status_args --quiet"
38568
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
38570
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
38571
# would make configure fail if this is the last instruction.
38572
$ac_cs_success || { (exit 1); exit 1; }
38576
# CONFIG_SUBDIRS section.
38578
if test "$no_recursion" != yes; then
38580
# Remove --cache-file, --srcdir, and --disable-option-checking arguments
38581
# so they do not pile up.
38582
ac_sub_configure_args=
38584
eval "set x $ac_configure_args"
38588
if test -n "$ac_prev"; then
38593
-cache-file | --cache-file | --cache-fil | --cache-fi \
38594
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
38595
ac_prev=cache_file ;;
38596
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
38597
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
38600
--config-cache | -C)
38602
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
38604
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
38606
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
38608
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
38610
--disable-option-checking)
38614
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
38616
ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
38620
# Always prepend --prefix to ensure using the same prefix
38621
# in subdir configurations.
38622
ac_arg="--prefix=$prefix"
38624
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
38626
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
38629
if test "$silent" = yes; then
38630
ac_sub_configure_args="--silent $ac_sub_configure_args"
38633
# Always prepend --disable-option-checking to silence warnings, since
38634
# different subdirs can have different --enable and --with options.
38635
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
38638
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
38640
# Do not complain, so a configure script can configure whichever
38641
# parts of a large source tree are present.
38642
test -d "$srcdir/$ac_dir" || continue
38644
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
38645
$as_echo "$as_me:$LINENO: $ac_msg" >&5
38646
$as_echo "$ac_msg" >&6
38649
-*) as_dir=./$as_dir;;
38651
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
38655
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
38656
*) as_qdir=$as_dir;;
38658
as_dirs="'$as_qdir' $as_dirs"
38659
as_dir=`$as_dirname -- "$as_dir" ||
38660
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38661
X"$as_dir" : 'X\(//\)[^/]' \| \
38662
X"$as_dir" : 'X\(//\)$' \| \
38663
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
38664
$as_echo X"$as_dir" |
38665
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38669
/^X\(\/\/\)[^/].*/{
38682
test -d "$as_dir" && break
38684
test -z "$as_dirs" || eval "mkdir $as_dirs"
38685
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
38686
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
38687
{ (exit 1); exit 1; }; }; }
38691
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
38693
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
38694
# A ".." for each directory in $ac_dir_suffix.
38695
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
38696
case $ac_top_builddir_sub in
38697
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
38698
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
38701
ac_abs_top_builddir=$ac_pwd
38702
ac_abs_builddir=$ac_pwd$ac_dir_suffix
38703
# for backward compatibility:
38704
ac_top_builddir=$ac_top_build_prefix
38707
.) # We are building in place.
38709
ac_top_srcdir=$ac_top_builddir_sub
38710
ac_abs_top_srcdir=$ac_pwd ;;
38711
[\\/]* | ?:[\\/]* ) # Absolute name.
38712
ac_srcdir=$srcdir$ac_dir_suffix;
38713
ac_top_srcdir=$srcdir
38714
ac_abs_top_srcdir=$srcdir ;;
38715
*) # Relative name.
38716
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
38717
ac_top_srcdir=$ac_top_build_prefix$srcdir
38718
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
38720
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
38725
# Check for guested configure; otherwise get Cygnus style configure.
38726
if test -f "$ac_srcdir/configure.gnu"; then
38727
ac_sub_configure=$ac_srcdir/configure.gnu
38728
elif test -f "$ac_srcdir/configure"; then
38729
ac_sub_configure=$ac_srcdir/configure
38730
elif test -f "$ac_srcdir/configure.in"; then
38731
# This should be Cygnus configure.
38732
ac_sub_configure=$ac_aux_dir/configure
38734
{ $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
38735
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
38739
# The recursion is here.
38740
if test -n "$ac_sub_configure"; then
38741
# Make the cache file name correct relative to the subdirectory.
38742
case $cache_file in
38743
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
38744
*) # Relative name.
38745
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
38748
{ $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
38749
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
38750
# The eval makes quoting arguments work.
38751
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
38752
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
38753
{ { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
38754
$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
38755
{ (exit 1); exit 1; }; }
38761
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
38762
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
38763
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
38768
if test "x$use_tcl" != "xYes"; then
38769
use_tcldot="No (tcl not available)"
38770
use_gdtclft="No (tcl not available)"
38771
use_tclpathplan="No (tcl not available)"
38772
use_gv_tcl="No (tcl not available)"
38775
use_tclpathplan="Yes"
38776
if test "x$use_swig" != "xYes"; then
38777
use_gv_tcl="No (swig not available)"
38781
if test "x$use_gd" != "xYes"; then
38782
if test "x$use_gd" == "xYes (internal)"; then
38785
use_gdtclft="No (gd not available)"
38792
if test "x$use_tk" != "xYes"; then
38793
use_tkspline="No (tk not available)"
38799
echo "----------------------------------------------------------------"
38801
echo "graphviz-$VERSION will be compiled with the following:"
38804
echo " cgraph: $use_cgraph"
38805
echo " digcola: $use_digcola"
38806
echo " expat: $use_expat"
38807
echo " fontconfig: $use_fontconfig"
38808
echo " freetype: $use_freetype"
38809
echo " glut: $use_glut"
38810
echo " gts: $use_gts"
38811
echo " ipsepcola: $use_ipsepcola"
38812
echo " ltdl: $use_ltdl"
38813
echo " ortho: $use_ortho"
38814
echo " png: $use_png"
38815
echo " jpeg: $use_jpeg"
38816
echo " sfdp: $use_sfdp"
38817
echo " shared: $use_shared"
38818
echo " static: $use_static"
38821
echo " dot: Yes (always enabled)"
38822
echo " neato: Yes (always enabled)"
38823
echo " fdp: Yes (always enabled)"
38824
echo " circo: Yes (always enabled)"
38825
echo " twopi: Yes (always enabled)"
38826
echo " gvpr: Yes (always enabled)"
38827
echo " lefty: $use_lefty"
38828
echo " smyrna: $use_smyrna"
38830
echo "plugin libraries:"
38831
echo " dot_layout: Yes (always enabled)"
38832
echo " neato_layout: Yes (always enabled)"
38833
echo " core: Yes (always enabled)"
38834
echo " devil: $use_devil"
38835
echo " gd: $use_gd"
38836
echo " gdiplus: $use_gdiplus"
38837
echo " gdk_pixbuf: $use_gdk_pixbuf"
38838
echo " ghostscript: $use_ghostscript"
38839
echo " glitz: $use_glitz"
38840
echo " gtk: $use_gtk"
38841
echo " lasi: $use_lasi"
38842
echo " ming: $use_ming"
38843
echo " pangocairo: $use_pangocairo"
38844
echo " quartz: $use_quartz"
38845
echo " rsvg: $use_rsvg"
38846
echo " visio: $use_visio"
38847
echo " xlib: $use_xlib"
38849
echo "language extensions:"
38850
echo " gv_sharp: $use_sharp"
38851
echo " gv_guile: $use_guile"
38852
echo " gv_io: $use_io"
38853
echo " gv_java: $use_java"
38854
echo " gv_lua: $use_lua"
38855
echo " gv_ocaml: $use_ocaml"
38856
echo " gv_perl: $use_perl"
38857
echo " gv_php: $use_php"
38858
echo " gv_python: $use_python"
38859
echo " gv_python23: $use_python23"
38860
echo " gv_python24: $use_python24"
38861
echo " gv_python25: $use_python25"
38862
echo " gv_python26: $use_python26"
38863
echo " gv_R: $use_r"
38864
echo " gv_ruby: $use_ruby"
38865
echo " gv_tcl: $use_gv_tcl"
38867
echo " tcldot: $use_tcldot"
38868
echo " tclpathplan: $use_tclpathplan"
38869
echo " gdtclft: $use_gdtclft"
38870
echo " tkspline: $use_tkspline"