2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for llvm 1.4.
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
26 DUALCASE
=1; export DUALCASE
# for MKS sh
28 # Support unset when possible.
29 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
36 # Work around bugs in pre-3.0 UWIN ksh.
37 $as_unset ENV MAIL MAILPATH
44 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
45 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49 eval $as_var=C
; export $as_var
55 # Required to use basename.
56 if expr a
: '\(a\)' >/dev
/null
2>&1; then
62 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
69 # Name of the executable.
70 as_me
=`$as_basename "$0" ||
71 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72 X"$0" : 'X\(//\)$' \| \
73 X"$0" : 'X\(/\)$' \| \
74 . : '\(.\)' 2>/dev/null ||
76 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
77 /^X\/\(\/\/\)$/{ s//\1/; q; }
78 /^X\/\(\/\).*/{ s//\1/; q; }
82 # PATH needs CR, and LINENO needs CR and PATH.
83 # Avoid depending upon Character Ranges.
84 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
85 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
86 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
87 as_cr_digits
='0123456789'
88 as_cr_alnum
=$as_cr_Letters$as_cr_digits
90 # The user is always right.
91 if test "${PATH_SEPARATOR+set}" != set; then
92 echo "#! /bin/sh" >conf$$.sh
93 echo "exit 0" >>conf$$.sh
95 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
106 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
107 test "x$as_lineno_1" != "x$as_lineno_2" &&
108 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
109 # Find who we are. Look in the path if we contain no path at all
112 *[\\/]* ) as_myself
=$0 ;;
113 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
117 test -z "$as_dir" && as_dir
=.
118 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
123 # We did not find ourselves, most probably we were run as `sh COMMAND'
124 # in which case we are not to be found in the path.
125 if test "x$as_myself" = x
; then
128 if test ! -f "$as_myself"; then
129 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
130 { (exit 1); exit 1; }; }
132 case $CONFIG_SHELL in
134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
135 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
138 test -z "$as_dir" && as_dir
=.
139 for as_base
in sh bash ksh sh5
; do
142 if ("$as_dir/$as_base" -c '
145 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
146 test "x$as_lineno_1" != "x$as_lineno_2" &&
147 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
148 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
149 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
150 CONFIG_SHELL
=$as_dir/$as_base
152 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
160 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
161 # uniformly replaced by the line number. The first 'sed' inserts a
162 # line-number line before each line; the second 'sed' does the real
163 # work. The second script uses 'N' to pair each line-number line
164 # with the numbered line, and appends trailing '-' during
165 # substitution so that $LINENO is not a special case at line end.
166 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
167 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
168 sed '=' <$as_myself |
173 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
176 s,^['$as_cr_digits']*\n,,
178 chmod +x
$as_me.lineno ||
179 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
180 { (exit 1); exit 1; }; }
182 # Don't try to exec as it changes $[0], causing all sort of problems
183 # (the dirname of $[0] is not the place where we might find the
184 # original and so on. Autoconf is especially sensible to this).
186 # Exit status is that of the last command.
191 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
192 *c
*,-n*) ECHO_N
= ECHO_C
='
194 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
195 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
198 if expr a
: '\(a\)' >/dev
/null
2>&1; then
204 rm -f conf$$ conf$$.exe conf$$.
file
206 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
207 # We could just check for DJGPP; but this test a) works b) is more generic
208 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
209 if test -f conf$$.exe
; then
210 # Don't use ln at all; we don't have any links
215 elif ln conf$$.
file conf$$
2>/dev
/null
; then
220 rm -f conf$$ conf$$.exe conf$$.
file
222 if mkdir
-p .
2>/dev
/null
; then
225 test -d .
/-p && rmdir .
/-p
229 as_executable_p
="test -f"
231 # Sed expression to map a string onto a valid CPP name.
232 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
234 # Sed expression to map a string onto a valid variable name.
235 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
239 # We need space, tab and new line, in precisely that order.
249 # Check that we are running under the correct shell.
250 SHELL
=${CONFIG_SHELL-/bin/sh}
254 # Remove one level of quotation (which was required for Make).
255 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
260 if test "X$1" = X--no-reexec
; then
261 # Discard the --no-reexec flag, and continue.
263 elif test "X$1" = X--fallback-echo
; then
264 # Avoid inline document here, it may be left over
266 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
267 # Yippee, $echo works!
270 # Restart under the correct shell.
271 exec $SHELL "$0" --no-reexec ${1+"$@"}
274 if test "X$1" = X--fallback-echo
; then
275 # used as fallback echo
283 # The HP-UX ksh and POSIX shell print the target directory to stdout
285 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
287 if test -z "$ECHO"; then
288 if test "X${echo_test_string+set}" != Xset
; then
289 # find a string as large as possible, as long as the shell can cope with it
290 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
291 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
292 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
293 echo_test_string
="`eval $cmd`" &&
294 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
301 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
302 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
303 test "X$echo_testing_string" = "X$echo_test_string"; then
306 # The Solaris, AIX, and Digital Unix default echo programs unquote
307 # backslashes. This makes it impossible to quote backslashes using
308 # echo "$something" | sed 's/\\/\\\\/g'
310 # So, first we look for a working echo in the user's PATH.
312 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
313 for dir
in $PATH /usr
/ucb
; do
315 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
316 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
317 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
318 test "X$echo_testing_string" = "X$echo_test_string"; then
325 if test "X$echo" = Xecho
; then
326 # We didn't find a better echo, so look for alternatives.
327 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
328 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
329 test "X$echo_testing_string" = "X$echo_test_string"; then
330 # This shell has a builtin print -r that does the trick.
332 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
333 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
334 # If we have ksh, try running configure again with it.
335 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
336 export ORIGINAL_CONFIG_SHELL
337 CONFIG_SHELL
=/bin
/ksh
339 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
343 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
344 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
345 test "X$echo_testing_string" = "X$echo_test_string"; then
348 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
349 test "X$echo_testing_string" = 'X\t' &&
350 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
351 test "X$echo_testing_string" = "X$echo_test_string"; then
352 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
354 SHELL
="$CONFIG_SHELL"
356 echo="$CONFIG_SHELL $0 --fallback-echo"
357 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
358 test "X$echo_testing_string" = 'X\t' &&
359 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
360 test "X$echo_testing_string" = "X$echo_test_string"; then
361 echo="$CONFIG_SHELL $0 --fallback-echo"
363 # maybe with a smaller string...
366 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
367 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
374 if test "$prev" != 'sed 50q "$0"'; then
375 echo_test_string
=`eval $prev`
376 export echo_test_string
377 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
379 # Oops. We lost completely, so just stick with echo.
388 # Copy echo and quote the copy suitably for passing to libtool from
389 # the Makefile, instead of quoting the original, which is used later.
391 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
392 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
398 tagnames
=${tagnames+${tagnames},}CXX
400 tagnames
=${tagnames+${tagnames},}F77
403 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
404 # so uname gets run too.
405 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
412 ac_default_prefix
=/usr
/local
413 ac_config_libobj_dir
=.
418 SHELL
=${CONFIG_SHELL-/bin/sh}
420 # Maximum number of lines to put in a shell here document.
421 # This variable seems obsolete. It should probably be removed, and
422 # only ac_max_sed_lines should be used.
423 : ${ac_max_here_lines=38}
425 # Identity of this package.
427 PACKAGE_TARNAME
='-llvm-'
428 PACKAGE_VERSION
='1.4'
429 PACKAGE_STRING
='llvm 1.4'
430 PACKAGE_BUGREPORT
='llvmbugs@cs.uiuc.edu'
432 ac_unique_file
="lib/VMCore/Module.cpp"
433 ac_subdirs_all
="$ac_subdirs_all projects/sample"
434 ac_subdirs_all
="$ac_subdirs_all projects/Stacker"
435 ac_subdirs_all
="$ac_subdirs_all projects/llvm-test"
436 ac_subdirs_all
="$ac_subdirs_all projects/llvm-reopt"
437 ac_subdirs_all
="$ac_subdirs_all projects/llvm-gcc"
438 ac_subdirs_all
="$ac_subdirs_all projects/Java"
439 ac_subdirs_all
="$ac_subdirs_all projects/llvm-tv"
440 ac_subdirs_all
="$ac_subdirs_all projects/llvm-fefw"
441 ac_subdirs_all
="$ac_subdirs_all projects/poolalloc"
442 # Factoring default headers for most tests.
443 ac_includes_default
="\
446 # include <sys/types.h>
449 # include <sys/stat.h>
460 # if !STDC_HEADERS && HAVE_MEMORY_H
466 # include <strings.h>
469 # include <inttypes.h>
479 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT ENABLE_OPTIMIZED JIT ENABLE_DOXYGEN LLVMGCCDIR CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S DATE FIND GREP MKDIR MV PAX RANLIB ac_ct_RANLIB RM SED TAR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN PYTHON QMTEST RUNTEST TCLSH ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS ALLOCA MMAP_FILE LLVMGCC LLVMCC1 LLVMCC1PLUS SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
482 # Initialize some variables set by options.
484 ac_init_version
=false
485 # The variables have the same names as the options, with
486 # dashes changed to underlines.
494 program_transform_name
=s
,x
,x
,
502 # Installation directory options.
503 # These are left unexpanded so users can "make install exec_prefix=/foo"
504 # and all the variables that are supposed to be based on exec_prefix
505 # by default will actually change.
506 # Use braces instead of parens because sh, perl, etc. also accept them.
507 bindir
='${exec_prefix}/bin'
508 sbindir
='${exec_prefix}/sbin'
509 libexecdir
='${exec_prefix}/libexec'
510 datadir
='${prefix}/share'
511 sysconfdir
='${prefix}/etc'
512 sharedstatedir
='${prefix}/com'
513 localstatedir
='${prefix}/var'
514 libdir
='${exec_prefix}/lib'
515 includedir
='${prefix}/include'
516 oldincludedir
='/usr/include'
517 infodir
='${prefix}/info'
518 mandir
='${prefix}/man'
523 # If the previous option needs an argument, assign it.
524 if test -n "$ac_prev"; then
525 eval "$ac_prev=\$ac_option"
530 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
532 # Accept the important Cygnus configure options, so we can diagnose typos.
536 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
538 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
541 -build |
--build |
--buil |
--bui |
--bu)
542 ac_prev
=build_alias
;;
543 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
544 build_alias
=$ac_optarg ;;
546 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
547 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
548 ac_prev
=cache_file
;;
549 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
550 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
551 cache_file
=$ac_optarg ;;
554 cache_file
=config.cache
;;
556 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
558 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
560 datadir
=$ac_optarg ;;
562 -disable-* |
--disable-*)
563 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
569 eval "enable_$ac_feature=no" ;;
571 -enable-* |
--enable-*)
572 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
575 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
576 { (exit 1); exit 1; }; }
577 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
579 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "enable_$ac_feature='$ac_optarg'" ;;
584 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
585 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
586 |
--exec |
--exe |
--ex)
587 ac_prev
=exec_prefix
;;
588 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
589 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
590 |
--exec=* |
--exe=* |
--ex=*)
591 exec_prefix
=$ac_optarg ;;
593 -gas |
--gas |
--ga |
--g)
594 # Obsolete; use --with-gas.
597 -help |
--help |
--hel |
--he |
-h)
599 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
600 ac_init_help
=recursive
;;
601 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
602 ac_init_help
=short
;;
604 -host |
--host |
--hos |
--ho)
605 ac_prev
=host_alias
;;
606 -host=* |
--host=* |
--hos=* |
--ho=*)
607 host_alias
=$ac_optarg ;;
609 -includedir |
--includedir |
--includedi |
--included |
--include \
610 |
--includ |
--inclu |
--incl |
--inc)
611 ac_prev
=includedir
;;
612 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
613 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
614 includedir
=$ac_optarg ;;
616 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
618 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
619 infodir
=$ac_optarg ;;
621 -libdir |
--libdir |
--libdi |
--libd)
623 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
626 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
627 |
--libexe |
--libex |
--libe)
628 ac_prev
=libexecdir
;;
629 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
630 |
--libexe=* |
--libex=* |
--libe=*)
631 libexecdir
=$ac_optarg ;;
633 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
634 |
--localstate |
--localstat |
--localsta |
--localst \
635 |
--locals |
--local |
--loca |
--loc |
--lo)
636 ac_prev
=localstatedir
;;
637 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
638 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
639 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
640 localstatedir
=$ac_optarg ;;
642 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
644 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
648 # Obsolete; use --without-fp.
651 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
652 |
--no-cr |
--no-c |
-n)
655 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
656 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
659 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
660 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
661 |
--oldin |
--oldi |
--old |
--ol |
--o)
662 ac_prev
=oldincludedir
;;
663 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
664 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
665 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
666 oldincludedir
=$ac_optarg ;;
668 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
670 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
673 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
674 |
--program-pre |
--program-pr |
--program-p)
675 ac_prev
=program_prefix
;;
676 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
677 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
678 program_prefix
=$ac_optarg ;;
680 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
681 |
--program-suf |
--program-su |
--program-s)
682 ac_prev
=program_suffix
;;
683 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
684 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
685 program_suffix
=$ac_optarg ;;
687 -program-transform-name |
--program-transform-name \
688 |
--program-transform-nam |
--program-transform-na \
689 |
--program-transform-n |
--program-transform- \
690 |
--program-transform |
--program-transfor \
691 |
--program-transfo |
--program-transf \
692 |
--program-trans |
--program-tran \
693 |
--progr-tra |
--program-tr |
--program-t)
694 ac_prev
=program_transform_name
;;
695 -program-transform-name=* |
--program-transform-name=* \
696 |
--program-transform-nam=* |
--program-transform-na=* \
697 |
--program-transform-n=* |
--program-transform-=* \
698 |
--program-transform=* |
--program-transfor=* \
699 |
--program-transfo=* |
--program-transf=* \
700 |
--program-trans=* |
--program-tran=* \
701 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
702 program_transform_name
=$ac_optarg ;;
704 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
705 |
-silent |
--silent |
--silen |
--sile |
--sil)
708 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
710 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
712 sbindir
=$ac_optarg ;;
714 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
715 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
716 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
718 ac_prev
=sharedstatedir
;;
719 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
720 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
721 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
723 sharedstatedir
=$ac_optarg ;;
725 -site |
--site |
--sit)
727 -site=* |
--site=* |
--sit=*)
730 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
732 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
735 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
736 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
737 ac_prev
=sysconfdir
;;
738 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
739 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
740 sysconfdir
=$ac_optarg ;;
742 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
743 ac_prev
=target_alias
;;
744 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
745 target_alias
=$ac_optarg ;;
747 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
750 -version |
--version |
--versio |
--versi |
--vers |
-V)
754 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package
=`echo $ac_package| sed 's/-/_/g'`
761 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
764 eval "with_$ac_package='$ac_optarg'" ;;
766 -without-* |
--without-*)
767 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
768 # Reject names that are not valid shell variable names.
769 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
770 { echo "$as_me: error: invalid package name: $ac_package" >&2
771 { (exit 1); exit 1; }; }
772 ac_package
=`echo $ac_package | sed 's/-/_/g'`
773 eval "with_$ac_package=no" ;;
776 # Obsolete; use --with-x.
779 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
780 |
--x-incl |
--x-inc |
--x-in |
--x-i)
781 ac_prev
=x_includes
;;
782 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
783 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
784 x_includes
=$ac_optarg ;;
786 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
787 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
788 ac_prev
=x_libraries
;;
789 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
790 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
791 x_libraries
=$ac_optarg ;;
793 -*) { echo "$as_me: error: unrecognized option: $ac_option
794 Try \`$0 --help' for more information." >&2
795 { (exit 1); exit 1; }; }
799 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
802 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
803 { (exit 1); exit 1; }; }
804 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
805 eval "$ac_envvar='$ac_optarg'"
809 # FIXME: should be removed in autoconf 3.0.
810 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
811 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
812 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
813 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
819 if test -n "$ac_prev"; then
820 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
821 { echo "$as_me: error: missing argument to $ac_option" >&2
822 { (exit 1); exit 1; }; }
825 # Be sure to have absolute paths.
826 for ac_var
in exec_prefix prefix
828 eval ac_val
=$
`echo $ac_var`
830 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # Be sure to have absolute paths.
837 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
838 localstatedir libdir includedir oldincludedir infodir mandir
840 eval ac_val
=$
`echo $ac_var`
842 [\\/$
]* | ?
:[\\/]* ) ;;
843 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
844 { (exit 1); exit 1; }; };;
848 # There might be people who depend on the old broken behavior: `$host'
849 # used to hold the argument of --host etc.
850 # FIXME: To remove some day.
855 # FIXME: To remove some day.
856 if test "x$host_alias" != x
; then
857 if test "x$build_alias" = x
; then
858 cross_compiling
=maybe
859 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
860 If a cross compiler is detected then cross compile mode will be used." >&2
861 elif test "x$build_alias" != "x$host_alias"; then
867 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
869 test "$silent" = yes && exec 6>/dev
/null
872 # Find the source files, if location was not specified.
873 if test -z "$srcdir"; then
874 ac_srcdir_defaulted
=yes
875 # Try the directory containing this script, then its parent.
876 ac_confdir
=`(dirname "$0") 2>/dev/null ||
877 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
878 X"$0" : 'X\(//\)[^/]' \| \
879 X"$0" : 'X\(//\)$' \| \
880 X"$0" : 'X\(/\)' \| \
881 . : '\(.\)' 2>/dev/null ||
883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
884 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
885 /^X\(\/\/\)$/{ s//\1/; q; }
886 /^X\(\/\).*/{ s//\1/; q; }
889 if test ! -r $srcdir/$ac_unique_file; then
893 ac_srcdir_defaulted
=no
895 if test ! -r $srcdir/$ac_unique_file; then
896 if test "$ac_srcdir_defaulted" = yes; then
897 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
898 { (exit 1); exit 1; }; }
900 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
901 { (exit 1); exit 1; }; }
904 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
905 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
906 { (exit 1); exit 1; }; }
907 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
908 ac_env_build_alias_set
=${build_alias+set}
909 ac_env_build_alias_value
=$build_alias
910 ac_cv_env_build_alias_set
=${build_alias+set}
911 ac_cv_env_build_alias_value
=$build_alias
912 ac_env_host_alias_set
=${host_alias+set}
913 ac_env_host_alias_value
=$host_alias
914 ac_cv_env_host_alias_set
=${host_alias+set}
915 ac_cv_env_host_alias_value
=$host_alias
916 ac_env_target_alias_set
=${target_alias+set}
917 ac_env_target_alias_value
=$target_alias
918 ac_cv_env_target_alias_set
=${target_alias+set}
919 ac_cv_env_target_alias_value
=$target_alias
920 ac_env_CC_set
=${CC+set}
922 ac_cv_env_CC_set
=${CC+set}
923 ac_cv_env_CC_value
=$CC
924 ac_env_CFLAGS_set
=${CFLAGS+set}
925 ac_env_CFLAGS_value
=$CFLAGS
926 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
927 ac_cv_env_CFLAGS_value
=$CFLAGS
928 ac_env_LDFLAGS_set
=${LDFLAGS+set}
929 ac_env_LDFLAGS_value
=$LDFLAGS
930 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
931 ac_cv_env_LDFLAGS_value
=$LDFLAGS
932 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
933 ac_env_CPPFLAGS_value
=$CPPFLAGS
934 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
935 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
936 ac_env_CPP_set
=${CPP+set}
937 ac_env_CPP_value
=$CPP
938 ac_cv_env_CPP_set
=${CPP+set}
939 ac_cv_env_CPP_value
=$CPP
940 ac_env_CXX_set
=${CXX+set}
941 ac_env_CXX_value
=$CXX
942 ac_cv_env_CXX_set
=${CXX+set}
943 ac_cv_env_CXX_value
=$CXX
944 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
945 ac_env_CXXFLAGS_value
=$CXXFLAGS
946 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
947 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
948 ac_env_CXXCPP_set
=${CXXCPP+set}
949 ac_env_CXXCPP_value
=$CXXCPP
950 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
951 ac_cv_env_CXXCPP_value
=$CXXCPP
952 ac_env_F77_set
=${F77+set}
953 ac_env_F77_value
=$F77
954 ac_cv_env_F77_set
=${F77+set}
955 ac_cv_env_F77_value
=$F77
956 ac_env_FFLAGS_set
=${FFLAGS+set}
957 ac_env_FFLAGS_value
=$FFLAGS
958 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
959 ac_cv_env_FFLAGS_value
=$FFLAGS
962 # Report the --help message.
964 if test "$ac_init_help" = "long"; then
965 # Omit some internal or obsolete options to make the list less imposing.
966 # This message is too long to be a string in the A/UX 3.1 sh.
968 \`configure' configures llvm 1.4 to adapt to many kinds of systems.
970 Usage: $0 [OPTION]... [VAR=VALUE]...
972 To assign environment variables (e.g., CC, CFLAGS...), specify them as
973 VAR=VALUE. See below for descriptions of some of the useful variables.
975 Defaults for the options are specified in brackets.
978 -h, --help display this help and exit
979 --help=short display options specific to this package
980 --help=recursive display the short help of all the included packages
981 -V, --version display version information and exit
982 -q, --quiet, --silent do not print \`checking...' messages
983 --cache-file=FILE cache test results in FILE [disabled]
984 -C, --config-cache alias for \`--cache-file=config.cache'
985 -n, --no-create do not create output files
986 --srcdir=DIR find the sources in DIR [configure dir or \`..']
991 Installation directories:
992 --prefix=PREFIX install architecture-independent files in PREFIX
994 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
997 By default, \`make install' will install all the files in
998 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
999 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1000 for instance \`--prefix=\$HOME'.
1002 For better control, use the options below.
1004 Fine tuning of the installation directories:
1005 --bindir=DIR user executables [EPREFIX/bin]
1006 --sbindir=DIR system admin executables [EPREFIX/sbin]
1007 --libexecdir=DIR program executables [EPREFIX/libexec]
1008 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1009 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1010 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1011 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1012 --libdir=DIR object code libraries [EPREFIX/lib]
1013 --includedir=DIR C header files [PREFIX/include]
1014 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1015 --infodir=DIR info documentation [PREFIX/info]
1016 --mandir=DIR man documentation [PREFIX/man]
1022 --build=BUILD configure
for building on BUILD
[guessed
]
1023 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1024 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1028 if test -n "$ac_init_help"; then
1029 case $ac_init_help in
1030 short | recursive
) echo "Configuration of llvm 1.4:";;
1035 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1036 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1038 --enable-jit Enable Just In Time Compiling
(default is YES
)
1039 --enable-doxygen Build doxygen documentation
(default is NO
)
1040 --enable-ltdl-install install libltdl
1041 --enable-shared[=PKGS
]
1042 build shared libraries
[default
=yes]
1043 --enable-static[=PKGS
]
1044 build static libraries
[default
=yes]
1045 --enable-fast-install[=PKGS
]
1046 optimize
for fast installation
[default
=yes]
1047 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1050 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1051 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1052 --with-llvmgccdir Location of LLVM GCC front-end
1053 --with-tclinclude directory where tcl headers are
1054 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1055 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1058 include additional configurations
[automatic
]
1060 Some influential environment variables
:
1061 CC C compiler
command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1064 nonstandard directory
<lib dir
>
1065 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1066 headers
in a nonstandard directory
<include dir
>
1068 CXX C
++ compiler
command
1069 CXXFLAGS C
++ compiler flags
1070 CXXCPP C
++ preprocessor
1071 F77 Fortran
77 compiler
command
1072 FFLAGS Fortran
77 compiler flags
1074 Use these variables to override the choices made by
`configure' or to help
1075 it to find libraries and programs with nonstandard names/locations.
1077 Report bugs to <llvmbugs@cs.uiuc.edu>.
1081 if test "$ac_init_help" = "recursive"; then
1082 # If there are subdirs, report their specific --help.
1084 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1085 test -d $ac_dir || continue
1088 if test "$ac_dir" != .; then
1089 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1090 # A "../" for each directory in $ac_dir_suffix.
1091 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1093 ac_dir_suffix= ac_top_builddir=
1097 .) # No --srcdir option. We are building in place.
1099 if test -z "$ac_top_builddir"; then
1102 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1104 [\\/]* | ?:[\\/]* ) # Absolute path.
1105 ac_srcdir=$srcdir$ac_dir_suffix;
1106 ac_top_srcdir=$srcdir ;;
1108 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1109 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1112 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1113 # the directories may not exist.
1115 .) ac_abs_builddir="$ac_dir";;
1118 .) ac_abs_builddir=`pwd`;;
1119 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1120 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1123 case $ac_abs_builddir in
1124 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1126 case ${ac_top_builddir}. in
1127 .) ac_abs_top_builddir=$ac_abs_builddir;;
1128 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1129 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1132 case $ac_abs_builddir in
1133 .) ac_abs_srcdir=$ac_srcdir;;
1136 .) ac_abs_srcdir=$ac_abs_builddir;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1138 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1144 case $ac_top_srcdir in
1145 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1147 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1152 # Check for guested configure; otherwise get Cygnus style configure.
1153 if test -f $ac_srcdir/configure.gnu; then
1155 $SHELL $ac_srcdir/configure.gnu --help=recursive
1156 elif test -f $ac_srcdir/configure; then
1158 $SHELL $ac_srcdir/configure --help=recursive
1159 elif test -f $ac_srcdir/configure.ac ||
1160 test -f $ac_srcdir/configure.in; then
1162 $ac_configure --help
1164 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1170 test -n "$ac_init_help" && exit 0
1171 if $ac_init_version; then
1174 generated by GNU Autoconf 2.59
1176 Copyright (C) 2003 Free Software Foundation, Inc.
1177 This configure script is free software; the Free Software Foundation
1178 gives unlimited permission to copy, distribute and modify it.
1186 This file contains any messages produced by compilers while
1187 running configure, to aid debugging if configure makes a mistake.
1189 It was created by llvm $as_me 1.4, which was
1190 generated by GNU Autoconf 2.59. Invocation command line was
1201 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1202 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1203 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1204 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1205 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1207 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1208 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1210 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1211 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1212 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1213 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1214 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1215 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1216 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1224 test -z "$as_dir" && as_dir=.
1225 echo "PATH: $as_dir"
1240 # Keep a trace of the command line.
1241 # Strip out --no-create and --no-recursion so they do not pile up.
1242 # Strip out --silent because we don't want to record it for future runs.
1243 # Also quote any args containing shell meta-characters.
1244 # Make two passes to allow for proper duplicate-argument suppression.
1249 ac_must_keep_next=false
1255 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257 | -silent | --silent | --silen | --sile | --sil)
1259 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1260 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1263 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1265 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1266 if test $ac_must_keep_next = true; then
1267 ac_must_keep_next=false # Got value, back to normal.
1270 *=* | --config-cache | -C | -disable-* | --disable-* \
1271 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1272 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1273 | -with-* | --with-* | -without-* | --without-* | --x)
1274 case "$ac_configure_args0 " in
1275 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1278 -* ) ac_must_keep_next=true ;;
1281 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1282 # Get rid of the leading space.
1288 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1289 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1291 # When interrupted or exit'd, cleanup temporary files, and complete
1292 # config.log. We remove comments because anyway the quotes in there
1293 # would cause problems or look ugly.
1294 # WARNING: Be sure not to use single quotes in there, as some shells,
1295 # such as our DU 5.0 friend, will then `close
' the trap.
1296 trap 'exit_status
=$?
1297 # Save into config.log some information that might help in debugging.
1302 ## ---------------- ##
1303 ## Cache variables. ##
1304 ## ---------------- ##
1307 # The following way of writing the cache mishandles newlines in values,
1310 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1313 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1318 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1325 ## ----------------- ##
1326 ## Output variables. ##
1327 ## ----------------- ##
1330 for ac_var
in $ac_subst_vars
1332 eval ac_val
=$
`echo $ac_var`
1333 echo "$ac_var='"'"'$ac_val'"'"'"
1337 if test -n "$ac_subst_files"; then
1344 for ac_var
in $ac_subst_files
1346 eval ac_val
=$
`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1352 if test -s confdefs.h
; then
1359 sed "/^$/d" confdefs.h |
sort
1362 test "$ac_signal" != 0 &&
1363 echo "$as_me: caught signal $ac_signal"
1364 echo "$as_me: exit $exit_status"
1366 rm -f core
*.core
&&
1367 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1370 for ac_signal in 1 2 13 15; do
1371 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1376 rm -rf conftest* confdefs.h
1377 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1380 # Predefined preprocessor variables.
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_NAME "$PACKAGE_NAME"
1387 cat >>confdefs.h <<_ACEOF
1388 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1397 cat >>confdefs.h <<_ACEOF
1398 #define PACKAGE_STRING "$PACKAGE_STRING"
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1407 # Let the site file select an alternate cache file if it wants to.
1408 # Prefer explicitly selected file to automatically selected ones.
1409 if test -z "$CONFIG_SITE"; then
1410 if test "x$prefix" != xNONE; then
1411 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1413 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1416 for ac_site_file in $CONFIG_SITE; do
1417 if test -r "$ac_site_file"; then
1418 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1419 echo "$as_me: loading site script $ac_site_file" >&6;}
1420 sed 's
/^
/|
/' "$ac_site_file" >&5
1425 if test -r "$cache_file"; then
1426 # Some versions of bash will fail to source /dev/null (special
1427 # files actually), so we avoid doing that.
1428 if test -f "$cache_file"; then
1429 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1430 echo "$as_me: loading cache $cache_file" >&6;}
1432 [\\/]* | ?:[\\/]* ) . $cache_file;;
1433 *) . ./$cache_file;;
1437 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1438 echo "$as_me: creating cache $cache_file" >&6;}
1442 # Check that the precious variables saved in the cache have kept the same
1444 ac_cache_corrupted=false
1445 for ac_var in `(set) 2>&1 |
1446 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1447 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1448 eval ac_new_set=\$ac_env_${ac_var}_set
1449 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1450 eval ac_new_val="\$ac_env_${ac_var}_value"
1451 case $ac_old_set,$ac_new_set in
1453 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1454 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1455 ac_cache_corrupted=: ;;
1457 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1458 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1459 ac_cache_corrupted=: ;;
1462 if test "x$ac_old_val" != "x$ac_new_val"; then
1463 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1464 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1465 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1466 echo "$as_me: former value: $ac_old_val" >&2;}
1467 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1468 echo "$as_me: current value: $ac_new_val" >&2;}
1469 ac_cache_corrupted=:
1472 # Pass precious variables to config.status.
1473 if test "$ac_new_set" = set; then
1475 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1476 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1477 *) ac_arg=$ac_var=$ac_new_val ;;
1479 case " $ac_configure_args " in
1480 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1481 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1485 if $ac_cache_corrupted; then
1486 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1487 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1488 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1489 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1490 { (exit 1); exit 1; }; }
1494 ac_cpp='$CPP $CPPFLAGS'
1495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1496 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1526 LLVM_COPYRIGHT="Copyright (c) 2003-2005 U University of Illinois at Urbana-Champaign."
1535 for ac_dir in autoconf $srcdir/autoconf; do
1536 if test -f $ac_dir/install-sh; then
1538 ac_install_sh="$ac_aux_dir/install-sh -c"
1540 elif test -f $ac_dir/install.sh; then
1542 ac_install_sh="$ac_aux_dir/install.sh -c"
1544 elif test -f $ac_dir/shtool; then
1546 ac_install_sh="$ac_aux_dir/shtool install -c"
1550 if test -z "$ac_aux_dir"; then
1551 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1552 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1553 { (exit 1); exit 1; }; }
1555 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1556 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1557 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1560 if test ${srcdir} != "." ; then
1561 if test -f ${srcdir}/include/llvm/Config/config.h ; then
1562 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1563 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1564 { (exit 1); exit 1; }; }
1568 for i in `ls ${srcdir}/projects`
1570 if test -d ${srcdir}/projects/${i} ; then
1575 subdirs="$subdirs projects/sample"
1579 subdirs="$subdirs projects/Stacker"
1583 subdirs="$subdirs projects/llvm-test"
1587 subdirs="$subdirs projects/llvm-reopt"
1591 subdirs="$subdirs projects/llvm-gcc"
1595 subdirs="$subdirs projects/Java"
1599 subdirs="$subdirs projects/llvm-tv"
1603 subdirs="$subdirs projects/llvm-fefw"
1607 subdirs="$subdirs projects/poolalloc"
1610 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically
" >&5
1611 echo "$as_me: WARNING
: Unknown project
(${i}) won
't be configured automatically" >&2;}
1618 # Make sure we can run config.sub.
1619 $ac_config_sub sun4 >/dev/null 2>&1 ||
1620 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1621 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1622 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: checking build system type" >&5
1625 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1626 if test "${ac_cv_build+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 ac_cv_build_alias=$build_alias
1630 test -z "$ac_cv_build_alias" &&
1631 ac_cv_build_alias=`$ac_config_guess`
1632 test -z "$ac_cv_build_alias" &&
1633 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1634 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1635 { (exit 1); exit 1; }; }
1636 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1639 { (exit 1); exit 1; }; }
1642 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1643 echo "${ECHO_T}$ac_cv_build" >&6
1645 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1646 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1647 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1650 echo "$as_me:$LINENO: checking host system type" >&5
1651 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1652 if test "${ac_cv_host+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 ac_cv_host_alias=$host_alias
1656 test -z "$ac_cv_host_alias" &&
1657 ac_cv_host_alias=$ac_cv_build_alias
1658 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1659 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1660 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1661 { (exit 1); exit 1; }; }
1664 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1665 echo "${ECHO_T}$ac_cv_host" >&6
1667 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1668 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1669 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1672 echo "$as_me:$LINENO: checking target system type" >&5
1673 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1674 if test "${ac_cv_target+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 ac_cv_target_alias=$target_alias
1678 test "x$ac_cv_target_alias" = "x" &&
1679 ac_cv_target_alias=$ac_cv_host_alias
1680 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1681 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1682 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1683 { (exit 1); exit 1; }; }
1686 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1687 echo "${ECHO_T}$ac_cv_target" >&6
1688 target=$ac_cv_target
1689 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1690 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1691 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1694 # The aliases save the names the user supplied, while $host etc.
1695 # will get canonicalized.
1696 test -n "$target_alias" &&
1697 test "$program_prefix$program_suffix$program_transform_name" = \
1699 program_prefix=${target_alias}-
1701 echo "$as_me:$LINENO: checking support for generic build operating system" >&5
1702 echo $ECHO_N "checking support for generic build operating system... $ECHO_C" >&6
1703 if test "${llvm_cv_platform_type+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 *-*-aix*) llvm_cv_platform_type="AIX" ;;
1708 *-*-cygwin*) llvm_cv_platform_type="Cygwin" ;;
1709 *-*-darwin*) llvm_cv_platform_type="Darwin" ;;
1710 *-*-freebsd*) llvm_cv_platform_type="FreeBSD" ;;
1711 *-*-interix*) llvm_cv_platform_type="Interix" ;;
1712 *-*-linux*) llvm_cv_platform_type="Linux" ;;
1713 *-*-solaris*) llvm_cv_platform_type="SunOS" ;;
1714 *-*-win32*) llvm_cv_platform_type="Win32" ;;
1715 *-*-mingw*) llvm_cv_platform_type="Win32" ;;
1716 *) llvm_cv_platform_type="Unknown" ;;
1719 echo "$as_me:$LINENO: result: $llvm_cv_platform_type" >&5
1720 echo "${ECHO_T}$llvm_cv_platform_type" >&6
1722 if test "$llvm_cv_platform_type" = "Unknown" ; then
1723 { { echo "$as_me:$LINENO: error: Operating system platform is unknown, configure can't
continue" >&5
1724 echo "$as_me: error
: Operating system platform is unknown
, configure can
't continue" >&2;}
1725 { (exit 1); exit 1; }; }
1728 OS=$llvm_cv_platform_type
1731 ac_config_links="$ac_config_links lib/System/platform:lib/System/$llvm_cv_platform_type"
1735 sparc*-*-solaris*) target=sparcv9-sun-solaris2.8
1740 echo "$as_me:$LINENO: checking target architecture" >&5
1741 echo $ECHO_N "checking target architecture... $ECHO_C" >&6
1742 if test "${llvm_cv_target_arch+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 i*86-*) llvm_cv_target_arch="x86" ;;
1747 sparc*-*) llvm_cv_target_arch="Sparc" ;;
1748 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
1749 *) llvm_cv_target_arch="Unknown" ;;
1752 echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
1753 echo "${ECHO_T}$llvm_cv_target_arch" >&6
1755 if test "$llvm_cv_target_arch" = "Unknown" ; then
1756 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
1757 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
1760 ARCH=$llvm_cv_target_arch
1764 ac_cpp='$CPP $CPPFLAGS'
1765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1766 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1768 if test -n "$ac_tool_prefix"; then
1769 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1770 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1771 echo "$as_me:$LINENO: checking for $ac_word" >&5
1772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1773 if test "${ac_cv_prog_CC+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 if test -n "$CC"; then
1777 ac_cv_prog_CC="$CC" # Let the user override the test.
1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783 test -z "$as_dir" && as_dir=.
1784 for ac_exec_ext in '' $ac_executable_extensions; do
1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1786 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1796 if test -n "$CC"; then
1797 echo "$as_me:$LINENO: result: $CC" >&5
1798 echo "${ECHO_T}$CC" >&6
1800 echo "$as_me:$LINENO: result: no" >&5
1801 echo "${ECHO_T}no" >&6
1805 if test -z "$ac_cv_prog_CC"; then
1807 # Extract the first word of "gcc", so it can be a program name with args.
1808 set dummy gcc; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$ac_ct_CC"; then
1815 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_ac_ct_CC="gcc"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1834 if test -n "$ac_ct_CC"; then
1835 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1836 echo "${ECHO_T}$ac_ct_CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1847 if test -z "$CC"; then
1848 if test -n "$ac_tool_prefix"; then
1849 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1850 set dummy ${ac_tool_prefix}cc; ac_word=$2
1851 echo "$as_me:$LINENO: checking for $ac_word" >&5
1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1853 if test "${ac_cv_prog_CC+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 if test -n "$CC"; then
1857 ac_cv_prog_CC="$CC" # Let the user override the test.
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863 test -z "$as_dir" && as_dir=.
1864 for ac_exec_ext in '' $ac_executable_extensions; do
1865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1866 ac_cv_prog_CC="${ac_tool_prefix}cc"
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1876 if test -n "$CC"; then
1877 echo "$as_me:$LINENO: result: $CC" >&5
1878 echo "${ECHO_T}$CC" >&6
1880 echo "$as_me:$LINENO: result: no" >&5
1881 echo "${ECHO_T}no" >&6
1885 if test -z "$ac_cv_prog_CC"; then
1887 # Extract the first word of "cc", so it can be a program name with args.
1888 set dummy cc; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$ac_ct_CC"; then
1895 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_ac_ct_CC="cc"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1914 if test -n "$ac_ct_CC"; then
1915 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1916 echo "${ECHO_T}$ac_ct_CC" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1928 if test -z "$CC"; then
1929 # Extract the first word of "cc", so it can be a program name with args.
1930 set dummy cc; ac_word=$2
1931 echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933 if test "${ac_cv_prog_CC+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC="$CC" # Let the user override the test.
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1948 ac_prog_rejected=yes
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 if test $ac_prog_rejected = yes; then
1959 # We found a bogon in the path, so make sure we never use it.
1960 set dummy $ac_cv_prog_CC
1962 if test $# != 0; then
1963 # We chose a different compiler from the bogus one.
1964 # However, it has the same basename, so the bogon will be chosen
1965 # first if we set CC to just the basename; use the full file name.
1967 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1973 if test -n "$CC"; then
1974 echo "$as_me:$LINENO: result: $CC" >&5
1975 echo "${ECHO_T}$CC" >&6
1977 echo "$as_me:$LINENO: result: no" >&5
1978 echo "${ECHO_T}no" >&6
1982 if test -z "$CC"; then
1983 if test -n "$ac_tool_prefix"; then
1986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1987 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1988 echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1990 if test "${ac_cv_prog_CC+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 if test -n "$CC"; then
1994 ac_cv_prog_CC="$CC" # Let the user override the test.
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir=.
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 if test -n "$CC"; then
2014 echo "$as_me:$LINENO: result: $CC" >&5
2015 echo "${ECHO_T}$CC" >&6
2017 echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6
2021 test -n "$CC" && break
2024 if test -z "$CC"; then
2028 # Extract the first word of "$ac_prog", so it can be a program name with args.
2029 set dummy $ac_prog; ac_word=$2
2030 echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 if test -n "$ac_ct_CC"; then
2036 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2045 ac_cv_prog_ac_ct_CC="$ac_prog"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2055 if test -n "$ac_ct_CC"; then
2056 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2057 echo "${ECHO_T}$ac_ct_CC" >&6
2059 echo "$as_me:$LINENO: result: no" >&5
2060 echo "${ECHO_T}no" >&6
2063 test -n "$ac_ct_CC" && break
2072 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2073 See \`config.log' for more details.
" >&5
2074 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2075 See \
`config.log' for more details." >&2;}
2076 { (exit 1); exit 1; }; }
2078 # Provide some information about the compiler.
2079 echo "$as_me:$LINENO:" \
2080 "checking for C compiler version" >&5
2081 ac_compiler=`set X
$ac_compile; echo $2`
2082 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2083 (eval $ac_compiler --version </dev/null >&5) 2>&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); }
2087 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2088 (eval $ac_compiler -v </dev/null >&5) 2>&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }
2092 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2093 (eval $ac_compiler -V </dev/null >&5) 2>&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }
2098 cat >conftest.$ac_ext <<_ACEOF
2101 cat confdefs.h >>conftest.$ac_ext
2102 cat >>conftest.$ac_ext <<_ACEOF
2103 /* end confdefs.h. */
2113 ac_clean_files_save=$ac_clean_files
2114 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2115 # Try to create an executable without -o first, disregard a.out.
2116 # It will help us diagnose broken compilers, and finding out an intuition
2118 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2119 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2120 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2121 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2122 (eval $ac_link_default) 2>&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }; then
2126 # Find the output, starting from the most likely. This scheme is
2127 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
2130 # Be careful to initialize this variable, since it used to be cached.
2131 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
2133 # b.out is created by i960 compilers.
2134 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2136 test -f "$ac_file" || continue
2138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2141 # This is the source file.
2144 # We found the default executable, but exeext='' is most
2148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2149 # FIXME: I believe we export ac_cv_exeext for Libtool,
2150 # but it would be cool to find out if it's true. Does anybody
2151 # maintain Libtool? --akim.
2159 echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.$ac_ext >&5
2162 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2163 See \`config.log
' for more details." >&5
2164 echo "$as_me: error: C compiler cannot create executables
2165 See \`config.log' for more details.
" >&2;}
2166 { (exit 77); exit 77; }; }
2169 ac_exeext=$ac_cv_exeext
2170 echo "$as_me:$LINENO: result
: $ac_file" >&5
2171 echo "${ECHO_T}$ac_file" >&6
2173 # Check the compiler produces executables we can run. If not, either
2174 # the compiler is broken, or we cross compile.
2175 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2176 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
2177 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2178 # If not cross compiling, check that we can run a simple program.
2179 if test "$cross_compiling" != yes; then
2180 if { ac_try='./$ac_file'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2185 (exit $ac_status); }; }; then
2188 if test "$cross_compiling" = maybe; then
2191 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2192 If you meant to cross compile
, use \
`--host'.
2193 See \`config.log
' for more details." >&5
2194 echo "$as_me: error: cannot run C compiled programs.
2195 If you meant to cross compile, use \`--host'.
2196 See \
`config.log' for more details." >&2;}
2197 { (exit 1); exit 1; }; }
2201 echo "$as_me:$LINENO: result: yes" >&5
2202 echo "${ECHO_T}yes" >&6
2204 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2205 ac_clean_files=$ac_clean_files_save
2206 # Check the compiler produces executables we can run. If not, either
2207 # the compiler is broken, or we cross compile.
2208 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2209 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2210 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2211 echo "${ECHO_T}$cross_compiling" >&6
2213 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2214 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2216 (eval $ac_link) 2>&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; then
2220 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2221 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2222 # work properly (i.e., refer to `conftest.exe'), while it won't with
2224 for ac_file
in conftest.exe conftest conftest.
*; do
2225 test -f "$ac_file" ||
continue
2227 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2228 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2235 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2236 See \`config.log' for more details." >&5
2237 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2238 See \`config.log' for more details." >&2;}
2239 { (exit 1); exit 1; }; }
2242 rm -f conftest
$ac_cv_exeext
2243 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2244 echo "${ECHO_T}$ac_cv_exeext" >&6
2246 rm -f conftest.
$ac_ext
2247 EXEEXT
=$ac_cv_exeext
2249 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2250 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2251 if test "${ac_cv_objext+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 cat >conftest.
$ac_ext <<_ACEOF
2257 cat confdefs.h
>>conftest.
$ac_ext
2258 cat >>conftest.
$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2269 rm -f conftest.o conftest.obj
2270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 (eval $ac_compile) 2>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; then
2275 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2277 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2278 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2283 echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.
$ac_ext >&5
2286 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2287 See \`config.log' for more details." >&5
2288 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2289 See \`config.log' for more details." >&2;}
2290 { (exit 1); exit 1; }; }
2293 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2295 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2296 echo "${ECHO_T}$ac_cv_objext" >&6
2297 OBJEXT
=$ac_cv_objext
2299 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2300 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2301 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 cat >conftest.
$ac_ext <<_ACEOF
2307 cat confdefs.h
>>conftest.
$ac_ext
2308 cat >>conftest.
$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2322 rm -f conftest.
$ac_objext
2323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2324 (eval $ac_compile) 2>conftest.er1
2326 grep -v '^ *+' conftest.er1
>conftest.err
2328 cat conftest.err
>&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); } &&
2331 { ac_try
='test -z "$ac_c_werror_flag"
2332 || test ! -s conftest.err'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; } &&
2338 { ac_try
='test -s conftest.$ac_objext'
2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }; }; then
2346 echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.
$ac_ext >&5
2351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2352 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2355 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2356 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2357 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2358 ac_test_CFLAGS
=${CFLAGS+set}
2359 ac_save_CFLAGS
=$CFLAGS
2361 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2362 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2363 if test "${ac_cv_prog_cc_g+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 cat >conftest.
$ac_ext <<_ACEOF
2369 cat confdefs.h
>>conftest.
$ac_ext
2370 cat >>conftest.
$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2381 rm -f conftest.
$ac_objext
2382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2383 (eval $ac_compile) 2>conftest.er1
2385 grep -v '^ *+' conftest.er1
>conftest.err
2387 cat conftest.err
>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); } &&
2390 { ac_try
='test -z "$ac_c_werror_flag"
2391 || test ! -s conftest.err'
2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; } &&
2397 { ac_try
='test -s conftest.$ac_objext'
2398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; }; then
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.
$ac_ext >&5
2410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2412 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2413 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2414 if test "$ac_test_CFLAGS" = set; then
2415 CFLAGS
=$ac_save_CFLAGS
2416 elif test $ac_cv_prog_cc_g = yes; then
2417 if test "$GCC" = yes; then
2423 if test "$GCC" = yes; then
2429 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2430 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2431 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 ac_cv_prog_cc_stdc
=no
2436 cat >conftest.
$ac_ext <<_ACEOF
2439 cat confdefs.h
>>conftest.
$ac_ext
2440 cat >>conftest.
$ac_ext <<_ACEOF
2441 /* end confdefs.h. */
2444 #include <sys/types.h>
2445 #include <sys/stat.h>
2446 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2447 struct buf { int x; };
2448 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2449 static char *e (p, i)
2455 static char *f (char * (*g) (char **, int), char **p, ...)
2460 s = g (p, va_arg (v,int));
2465 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2466 function prototypes and stuff, but not '\xHH' hex character constants.
2467 These don't provoke an error unfortunately, instead are silently treated
2468 as 'x'. The following induces an error, until -std1 is added to get
2469 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2470 array size at least. It's necessary to write '\x00'==0 to get something
2471 that's true only with -std1. */
2472 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2474 int test (int i, double x);
2475 struct s1 {int (*f) (int a);};
2476 struct s2 {int (*f) (double a);};
2477 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2483 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2488 # Don't try gcc -ansi; that turns off useful extensions and
2489 # breaks some systems' header files.
2490 # AIX -qlanglvl=ansi
2491 # Ultrix and OSF/1 -std1
2492 # HP-UX 10.20 and later -Ae
2493 # HP-UX older versions -Aa -D_HPUX_SOURCE
2494 # SVR4 -Xc -D__EXTENSIONS__
2495 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2497 CC
="$ac_save_CC $ac_arg"
2498 rm -f conftest.
$ac_objext
2499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2500 (eval $ac_compile) 2>conftest.er1
2502 grep -v '^ *+' conftest.er1
>conftest.err
2504 cat conftest.err
>&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); } &&
2507 { ac_try
='test -z "$ac_c_werror_flag"
2508 || test ! -s conftest.err'
2509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }; } &&
2514 { ac_try
='test -s conftest.$ac_objext'
2515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); }; }; then
2520 ac_cv_prog_cc_stdc
=$ac_arg
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2527 rm -f conftest.err conftest.
$ac_objext
2529 rm -f conftest.
$ac_ext conftest.
$ac_objext
2534 case "x$ac_cv_prog_cc_stdc" in
2536 echo "$as_me:$LINENO: result: none needed" >&5
2537 echo "${ECHO_T}none needed" >&6 ;;
2539 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2540 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2541 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2544 # Some people use a C++ compiler to compile C. Since we use `exit',
2545 # in C++ we need to declare it. In case someone uses the same compiler
2546 # for both compiling C and C++ we need to have the C++ compiler decide
2547 # the declaration of exit, since it's the most demanding environment.
2548 cat >conftest.
$ac_ext <<_ACEOF
2553 rm -f conftest.
$ac_objext
2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 (eval $ac_compile) 2>conftest.er1
2557 grep -v '^ *+' conftest.er1
>conftest.err
2559 cat conftest.err
>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } &&
2562 { ac_try
='test -z "$ac_c_werror_flag"
2563 || test ! -s conftest.err'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; } &&
2569 { ac_try
='test -s conftest.$ac_objext'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; }; then
2575 for ac_declaration
in \
2577 'extern "C" void std::exit (int) throw (); using std::exit;' \
2578 'extern "C" void std::exit (int); using std::exit;' \
2579 'extern "C" void exit (int) throw ();' \
2580 'extern "C" void exit (int);' \
2583 cat >conftest.
$ac_ext <<_ACEOF
2586 cat confdefs.h
>>conftest.
$ac_ext
2587 cat >>conftest.
$ac_ext <<_ACEOF
2588 /* end confdefs.h. */
2599 rm -f conftest.
$ac_objext
2600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2601 (eval $ac_compile) 2>conftest.er1
2603 grep -v '^ *+' conftest.er1
>conftest.err
2605 cat conftest.err
>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); } &&
2608 { ac_try
='test -z "$ac_c_werror_flag"
2609 || test ! -s conftest.err'
2610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; } &&
2615 { ac_try
='test -s conftest.$ac_objext'
2616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; }; then
2623 echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.
$ac_ext >&5
2628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2629 cat >conftest.
$ac_ext <<_ACEOF
2632 cat confdefs.h
>>conftest.
$ac_ext
2633 cat >>conftest.
$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2644 rm -f conftest.
$ac_objext
2645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2646 (eval $ac_compile) 2>conftest.er1
2648 grep -v '^ *+' conftest.er1
>conftest.err
2650 cat conftest.err
>&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); } &&
2653 { ac_try
='test -z "$ac_c_werror_flag"
2654 || test ! -s conftest.err'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; } &&
2660 { ac_try
='test -s conftest.$ac_objext'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; }; then
2668 echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.
$ac_ext >&5
2672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2675 if test -n "$ac_declaration"; then
2676 echo '#ifdef __cplusplus' >>confdefs.h
2677 echo $ac_declaration >>confdefs.h
2678 echo '#endif' >>confdefs.h
2682 echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.
$ac_ext >&5
2686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2688 ac_cpp
='$CPP $CPPFLAGS'
2689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2694 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2695 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2696 if test "${ac_cv_c_bigendian+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 # See if sys/param.h defines the BYTE_ORDER macro.
2700 cat >conftest.
$ac_ext <<_ACEOF
2703 cat confdefs.h
>>conftest.
$ac_ext
2704 cat >>conftest.
$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2706 #include <sys/types.h>
2707 #include <sys/param.h>
2712 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2720 rm -f conftest.
$ac_objext
2721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2722 (eval $ac_compile) 2>conftest.er1
2724 grep -v '^ *+' conftest.er1
>conftest.err
2726 cat conftest.err
>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } &&
2729 { ac_try
='test -z "$ac_c_werror_flag"
2730 || test ! -s conftest.err'
2731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; } &&
2736 { ac_try
='test -s conftest.$ac_objext'
2737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; }; then
2742 # It does; now see whether it defined to BIG_ENDIAN or not.
2743 cat >conftest.
$ac_ext <<_ACEOF
2746 cat confdefs.h
>>conftest.
$ac_ext
2747 cat >>conftest.
$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2749 #include <sys/types.h>
2750 #include <sys/param.h>
2755 #if BYTE_ORDER != BIG_ENDIAN
2763 rm -f conftest.
$ac_objext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2765 (eval $ac_compile) 2>conftest.er1
2767 grep -v '^ *+' conftest.er1
>conftest.err
2769 cat conftest.err
>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } &&
2772 { ac_try
='test -z "$ac_c_werror_flag"
2773 || test ! -s conftest.err'
2774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); }; } &&
2779 { ac_try
='test -s conftest.$ac_objext'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; }; then
2785 ac_cv_c_bigendian
=yes
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.
$ac_ext >&5
2790 ac_cv_c_bigendian
=no
2792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.
$ac_ext >&5
2797 # It does not; compile a test program.
2798 if test "$cross_compiling" = yes; then
2799 # try to guess the endianness by grepping values into an object file
2800 ac_cv_c_bigendian
=unknown
2801 cat >conftest.
$ac_ext <<_ACEOF
2804 cat confdefs.h
>>conftest.
$ac_ext
2805 cat >>conftest.
$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2807 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2808 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2809 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2810 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2811 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2812 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2816 _ascii (); _ebcdic ();
2821 rm -f conftest.
$ac_objext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 (eval $ac_compile) 2>conftest.er1
2825 grep -v '^ *+' conftest.er1
>conftest.err
2827 cat conftest.err
>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try
='test -z "$ac_c_werror_flag"
2831 || test ! -s conftest.err'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; } &&
2837 { ac_try
='test -s conftest.$ac_objext'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; }; then
2843 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
2844 ac_cv_c_bigendian
=yes
2846 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
2847 if test "$ac_cv_c_bigendian" = unknown
; then
2848 ac_cv_c_bigendian
=no
2850 # finding both strings is unlikely to happen, but who knows?
2851 ac_cv_c_bigendian
=unknown
2855 echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.
$ac_ext >&5
2859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2861 cat >conftest.
$ac_ext <<_ACEOF
2864 cat confdefs.h
>>conftest.
$ac_ext
2865 cat >>conftest.
$ac_ext <<_ACEOF
2866 /* end confdefs.h. */
2870 /* Are we little or big endian? From Harbison&Steele. */
2874 char c[sizeof (long)];
2877 exit (u.c[sizeof (long) - 1] == 1);
2880 rm -f conftest
$ac_exeext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2882 (eval $ac_link) 2>&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 ac_cv_c_bigendian
=no
2893 echo "$as_me: program exited with status $ac_status" >&5
2894 echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.
$ac_ext >&5
2898 ac_cv_c_bigendian
=yes
2900 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2905 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2906 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2907 case $ac_cv_c_bigendian in
2915 { { echo "$as_me:$LINENO: error: unknown endianness
2916 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2917 echo "$as_me: error: unknown endianness
2918 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2919 { (exit 1); exit 1; }; } ;;
2924 # Check whether --enable-optimized or --disable-optimized was given.
2925 if test "${enable_optimized+set}" = set; then
2926 enableval
="$enable_optimized"
2931 if test ${enableval} = "no" ; then
2935 ENABLE_OPTIMIZED
=ENABLE_OPTIMIZED
=1
2939 # Check whether --enable-jit or --disable-jit was given.
2940 if test "${enable_jit+set}" = set; then
2941 enableval
="$enable_jit"
2946 if test ${enableval} = "no"
2951 case "$llvm_cv_target_arch" in
2952 x86
) JIT
=TARGET_HAS_JIT
=1
2954 Sparc
) JIT
=TARGET_HAS_JIT
=1
2956 PowerPC
) JIT
=TARGET_HAS_JIT
=1
2963 # Check whether --enable-doxygen or --disable-doxygen was given.
2964 if test "${enable_doxygen+set}" = set; then
2965 enableval
="$enable_doxygen"
2970 case "$enableval" in
2971 yes) ENABLE_DOXYGEN
=1
2973 no
) ENABLE_DOXYGEN
=0
2975 default
) ENABLE_DOXYGEN
=0
2977 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
2978 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
2979 { (exit 1); exit 1; }; } ;;
2983 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
2984 if test "${with_llvmgccdir+set}" = set; then
2985 withval
="$with_llvmgccdir"
2990 if test "x$LLVMGCCDIR" = x
; then
2991 case "$llvm_cv_platform_type" in
2993 if test -d /home
/vadve
/lattner
/local
/x86
/llvm-gcc
; then
2994 LLVMGCCDIR
=/home
/vadve
/lattner
/local
/x86
/llvm-gcc
/
2999 if test -d /home
/vadve
/lattner
/local
/sparc
/llvm-gcc
; then
3000 LLVMGCCDIR
=/home
/vadve
/lattner
/local
/sparc
/llvm-gcc
/
3009 ac_cpp
='$CPP $CPPFLAGS'
3010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3013 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3014 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3015 # On Suns, sometimes $CPP names a directory.
3016 if test -n "$CPP" && test -d "$CPP"; then
3019 if test -z "$CPP"; then
3020 if test "${ac_cv_prog_CPP+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 # Double quotes because CPP needs to be expanded
3024 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3027 for ac_c_preproc_warn_flag
in '' yes
3029 # Use a header file that comes with gcc, so configuring glibc
3030 # with a fresh cross-compiler works.
3031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3032 # <limits.h> exists even on freestanding compilers.
3033 # On the NeXT, cc -E runs the code through the compiler's parser,
3034 # not just through cpp. "Syntax error" is here to catch this case.
3035 cat >conftest.
$ac_ext <<_ACEOF
3038 cat confdefs.h
>>conftest.
$ac_ext
3039 cat >>conftest.
$ac_ext <<_ACEOF
3040 /* end confdefs.h. */
3042 # include <limits.h>
3044 # include <assert.h>
3048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3049 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3051 grep -v '^ *+' conftest.er1
>conftest.err
3053 cat conftest.err
>&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); } >/dev
/null
; then
3056 if test -s conftest.err
; then
3057 ac_cpp_err
=$ac_c_preproc_warn_flag
3058 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3065 if test -z "$ac_cpp_err"; then
3068 echo "$as_me: failed program was:" >&5
3069 sed 's/^/| /' conftest.
$ac_ext >&5
3071 # Broken: fails on valid input.
3074 rm -f conftest.err conftest.
$ac_ext
3076 # OK, works on sane cases. Now check whether non-existent headers
3077 # can be detected and how.
3078 cat >conftest.
$ac_ext <<_ACEOF
3081 cat confdefs.h
>>conftest.
$ac_ext
3082 cat >>conftest.
$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3084 #include <ac_nonexistent.h>
3086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3087 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3089 grep -v '^ *+' conftest.er1
>conftest.err
3091 cat conftest.err
>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } >/dev
/null
; then
3094 if test -s conftest.err
; then
3095 ac_cpp_err
=$ac_c_preproc_warn_flag
3096 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3103 if test -z "$ac_cpp_err"; then
3104 # Broken: success on invalid input.
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.
$ac_ext >&5
3110 # Passes both tests.
3114 rm -f conftest.err conftest.
$ac_ext
3117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3118 rm -f conftest.err conftest.
$ac_ext
3119 if $ac_preproc_ok; then
3131 echo "$as_me:$LINENO: result: $CPP" >&5
3132 echo "${ECHO_T}$CPP" >&6
3134 for ac_c_preproc_warn_flag
in '' yes
3136 # Use a header file that comes with gcc, so configuring glibc
3137 # with a fresh cross-compiler works.
3138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3139 # <limits.h> exists even on freestanding compilers.
3140 # On the NeXT, cc -E runs the code through the compiler's parser,
3141 # not just through cpp. "Syntax error" is here to catch this case.
3142 cat >conftest.
$ac_ext <<_ACEOF
3145 cat confdefs.h
>>conftest.
$ac_ext
3146 cat >>conftest.
$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3149 # include <limits.h>
3151 # include <assert.h>
3155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3158 grep -v '^ *+' conftest.er1
>conftest.err
3160 cat conftest.err
>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } >/dev
/null
; then
3163 if test -s conftest.err
; then
3164 ac_cpp_err
=$ac_c_preproc_warn_flag
3165 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3172 if test -z "$ac_cpp_err"; then
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.
$ac_ext >&5
3178 # Broken: fails on valid input.
3181 rm -f conftest.err conftest.
$ac_ext
3183 # OK, works on sane cases. Now check whether non-existent headers
3184 # can be detected and how.
3185 cat >conftest.
$ac_ext <<_ACEOF
3188 cat confdefs.h
>>conftest.
$ac_ext
3189 cat >>conftest.
$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3191 #include <ac_nonexistent.h>
3193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3196 grep -v '^ *+' conftest.er1
>conftest.err
3198 cat conftest.err
>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } >/dev
/null
; then
3201 if test -s conftest.err
; then
3202 ac_cpp_err
=$ac_c_preproc_warn_flag
3203 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3210 if test -z "$ac_cpp_err"; then
3211 # Broken: success on invalid input.
3214 echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.
$ac_ext >&5
3217 # Passes both tests.
3221 rm -f conftest.err conftest.
$ac_ext
3224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3225 rm -f conftest.err conftest.
$ac_ext
3226 if $ac_preproc_ok; then
3229 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3230 See \`config.log' for more details." >&5
3231 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3232 See \`config.log' for more details." >&2;}
3233 { (exit 1); exit 1; }; }
3237 ac_cpp
='$CPP $CPPFLAGS'
3238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3243 ac_cpp
='$CPP $CPPFLAGS'
3244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3247 if test -n "$ac_tool_prefix"; then
3250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3251 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3252 echo "$as_me:$LINENO: checking for $ac_word" >&5
3253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3254 if test "${ac_cv_prog_CC+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 if test -n "$CC"; then
3258 ac_cv_prog_CC
="$CC" # Let the user override the test.
3260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir
=.
3265 for ac_exec_ext
in '' $ac_executable_extensions; do
3266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$CC"; then
3278 echo "$as_me:$LINENO: result: $CC" >&5
3279 echo "${ECHO_T}$CC" >&6
3281 echo "$as_me:$LINENO: result: no" >&5
3282 echo "${ECHO_T}no" >&6
3285 test -n "$CC" && break
3288 if test -z "$CC"; then
3292 # Extract the first word of "$ac_prog", so it can be a program name with args.
3293 set dummy
$ac_prog; ac_word
=$2
3294 echo "$as_me:$LINENO: checking for $ac_word" >&5
3295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3297 echo $ECHO_N "(cached) $ECHO_C" >&6
3299 if test -n "$ac_ct_CC"; then
3300 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir
=.
3307 for ac_exec_ext
in '' $ac_executable_extensions; do
3308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3309 ac_cv_prog_ac_ct_CC
="$ac_prog"
3310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3319 if test -n "$ac_ct_CC"; then
3320 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3321 echo "${ECHO_T}$ac_ct_CC" >&6
3323 echo "$as_me:$LINENO: result: no" >&5
3324 echo "${ECHO_T}no" >&6
3327 test -n "$ac_ct_CC" && break
3334 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3335 See \`config.log' for more details." >&5
3336 echo "$as_me: error: no acceptable C compiler found in \$PATH
3337 See \`config.log' for more details." >&2;}
3338 { (exit 1); exit 1; }; }
3340 # Provide some information about the compiler.
3341 echo "$as_me:$LINENO:" \
3342 "checking for C compiler version" >&5
3343 ac_compiler
=`set X $ac_compile; echo $2`
3344 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3345 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }
3349 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3350 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }
3354 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3355 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }
3360 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3361 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3362 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 cat >conftest.
$ac_ext <<_ACEOF
3368 cat confdefs.h
>>conftest.
$ac_ext
3369 cat >>conftest.
$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3383 rm -f conftest.
$ac_objext
3384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3385 (eval $ac_compile) 2>conftest.er1
3387 grep -v '^ *+' conftest.er1
>conftest.err
3389 cat conftest.err
>&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } &&
3392 { ac_try
='test -z "$ac_c_werror_flag"
3393 || test ! -s conftest.err'
3394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); }; } &&
3399 { ac_try
='test -s conftest.$ac_objext'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; }; then
3407 echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.
$ac_ext >&5
3412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3413 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3416 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3417 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3418 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3419 ac_test_CFLAGS
=${CFLAGS+set}
3420 ac_save_CFLAGS
=$CFLAGS
3422 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3423 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3424 if test "${ac_cv_prog_cc_g+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 cat >conftest.
$ac_ext <<_ACEOF
3430 cat confdefs.h
>>conftest.
$ac_ext
3431 cat >>conftest.
$ac_ext <<_ACEOF
3432 /* end confdefs.h. */
3442 rm -f conftest.
$ac_objext
3443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3444 (eval $ac_compile) 2>conftest.er1
3446 grep -v '^ *+' conftest.er1
>conftest.err
3448 cat conftest.err
>&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); } &&
3451 { ac_try
='test -z "$ac_c_werror_flag"
3452 || test ! -s conftest.err'
3453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); }; } &&
3458 { ac_try
='test -s conftest.$ac_objext'
3459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); }; }; then
3466 echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.
$ac_ext >&5
3471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3473 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3474 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3475 if test "$ac_test_CFLAGS" = set; then
3476 CFLAGS
=$ac_save_CFLAGS
3477 elif test $ac_cv_prog_cc_g = yes; then
3478 if test "$GCC" = yes; then
3484 if test "$GCC" = yes; then
3490 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3491 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3492 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 ac_cv_prog_cc_stdc
=no
3497 cat >conftest.
$ac_ext <<_ACEOF
3500 cat confdefs.h
>>conftest.
$ac_ext
3501 cat >>conftest.
$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3505 #include <sys/types.h>
3506 #include <sys/stat.h>
3507 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3508 struct buf { int x; };
3509 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3510 static char *e (p, i)
3516 static char *f (char * (*g) (char **, int), char **p, ...)
3521 s = g (p, va_arg (v,int));
3526 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3527 function prototypes and stuff, but not '\xHH' hex character constants.
3528 These don't provoke an error unfortunately, instead are silently treated
3529 as 'x'. The following induces an error, until -std1 is added to get
3530 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3531 array size at least. It's necessary to write '\x00'==0 to get something
3532 that's true only with -std1. */
3533 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3535 int test (int i, double x);
3536 struct s1 {int (*f) (int a);};
3537 struct s2 {int (*f) (double a);};
3538 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3544 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3549 # Don't try gcc -ansi; that turns off useful extensions and
3550 # breaks some systems' header files.
3551 # AIX -qlanglvl=ansi
3552 # Ultrix and OSF/1 -std1
3553 # HP-UX 10.20 and later -Ae
3554 # HP-UX older versions -Aa -D_HPUX_SOURCE
3555 # SVR4 -Xc -D__EXTENSIONS__
3556 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3558 CC
="$ac_save_CC $ac_arg"
3559 rm -f conftest.
$ac_objext
3560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3561 (eval $ac_compile) 2>conftest.er1
3563 grep -v '^ *+' conftest.er1
>conftest.err
3565 cat conftest.err
>&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); } &&
3568 { ac_try
='test -z "$ac_c_werror_flag"
3569 || test ! -s conftest.err'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; } &&
3575 { ac_try
='test -s conftest.$ac_objext'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; }; then
3581 ac_cv_prog_cc_stdc
=$ac_arg
3584 echo "$as_me: failed program was:" >&5
3585 sed 's/^/| /' conftest.
$ac_ext >&5
3588 rm -f conftest.err conftest.
$ac_objext
3590 rm -f conftest.
$ac_ext conftest.
$ac_objext
3595 case "x$ac_cv_prog_cc_stdc" in
3597 echo "$as_me:$LINENO: result: none needed" >&5
3598 echo "${ECHO_T}none needed" >&6 ;;
3600 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3601 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3602 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3605 # Some people use a C++ compiler to compile C. Since we use `exit',
3606 # in C++ we need to declare it. In case someone uses the same compiler
3607 # for both compiling C and C++ we need to have the C++ compiler decide
3608 # the declaration of exit, since it's the most demanding environment.
3609 cat >conftest.
$ac_ext <<_ACEOF
3614 rm -f conftest.
$ac_objext
3615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3616 (eval $ac_compile) 2>conftest.er1
3618 grep -v '^ *+' conftest.er1
>conftest.err
3620 cat conftest.err
>&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); } &&
3623 { ac_try
='test -z "$ac_c_werror_flag"
3624 || test ! -s conftest.err'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; } &&
3630 { ac_try
='test -s conftest.$ac_objext'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; }; then
3636 for ac_declaration
in \
3638 'extern "C" void std::exit (int) throw (); using std::exit;' \
3639 'extern "C" void std::exit (int); using std::exit;' \
3640 'extern "C" void exit (int) throw ();' \
3641 'extern "C" void exit (int);' \
3644 cat >conftest.
$ac_ext <<_ACEOF
3647 cat confdefs.h
>>conftest.
$ac_ext
3648 cat >>conftest.
$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3660 rm -f conftest.
$ac_objext
3661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3662 (eval $ac_compile) 2>conftest.er1
3664 grep -v '^ *+' conftest.er1
>conftest.err
3666 cat conftest.err
>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try
='test -z "$ac_c_werror_flag"
3670 || test ! -s conftest.err'
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }; } &&
3676 { ac_try
='test -s conftest.$ac_objext'
3677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }; }; then
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.
$ac_ext >&5
3689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3690 cat >conftest.
$ac_ext <<_ACEOF
3693 cat confdefs.h
>>conftest.
$ac_ext
3694 cat >>conftest.
$ac_ext <<_ACEOF
3695 /* end confdefs.h. */
3705 rm -f conftest.
$ac_objext
3706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3707 (eval $ac_compile) 2>conftest.er1
3709 grep -v '^ *+' conftest.er1
>conftest.err
3711 cat conftest.err
>&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } &&
3714 { ac_try
='test -z "$ac_c_werror_flag"
3715 || test ! -s conftest.err'
3716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); }; } &&
3721 { ac_try
='test -s conftest.$ac_objext'
3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }; }; then
3729 echo "$as_me: failed program was:" >&5
3730 sed 's/^/| /' conftest.
$ac_ext >&5
3733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3736 if test -n "$ac_declaration"; then
3737 echo '#ifdef __cplusplus' >>confdefs.h
3738 echo $ac_declaration >>confdefs.h
3739 echo '#endif' >>confdefs.h
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.
$ac_ext >&5
3747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3749 ac_cpp
='$CPP $CPPFLAGS'
3750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3755 ac_cpp
='$CXXCPP $CPPFLAGS'
3756 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3757 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3758 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3759 if test -n "$ac_tool_prefix"; then
3760 for ac_prog
in $CCC g
++
3762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3763 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3764 echo "$as_me:$LINENO: checking for $ac_word" >&5
3765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3766 if test "${ac_cv_prog_CXX+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 if test -n "$CXX"; then
3770 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir
=.
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3779 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 if test -n "$CXX"; then
3790 echo "$as_me:$LINENO: result: $CXX" >&5
3791 echo "${ECHO_T}$CXX" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3797 test -n "$CXX" && break
3800 if test -z "$CXX"; then
3802 for ac_prog
in $CCC g
++
3804 # Extract the first word of "$ac_prog", so it can be a program name with args.
3805 set dummy
$ac_prog; ac_word
=$2
3806 echo "$as_me:$LINENO: checking for $ac_word" >&5
3807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3808 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 if test -n "$ac_ct_CXX"; then
3812 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir
=.
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3821 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3831 if test -n "$ac_ct_CXX"; then
3832 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3833 echo "${ECHO_T}$ac_ct_CXX" >&6
3835 echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6
3839 test -n "$ac_ct_CXX" && break
3841 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3847 # Provide some information about the compiler.
3848 echo "$as_me:$LINENO:" \
3849 "checking for C++ compiler version" >&5
3850 ac_compiler
=`set X $ac_compile; echo $2`
3851 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3852 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); }
3856 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3857 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }
3861 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3862 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }
3867 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3868 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3869 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 cat >conftest.
$ac_ext <<_ACEOF
3875 cat confdefs.h
>>conftest.
$ac_ext
3876 cat >>conftest.
$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3890 rm -f conftest.
$ac_objext
3891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3892 (eval $ac_compile) 2>conftest.er1
3894 grep -v '^ *+' conftest.er1
>conftest.err
3896 cat conftest.err
>&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); } &&
3899 { ac_try
='test -z "$ac_cxx_werror_flag"
3900 || test ! -s conftest.err'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; } &&
3906 { ac_try
='test -s conftest.$ac_objext'
3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; }; then
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3920 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3923 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3924 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3925 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3926 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3927 ac_save_CXXFLAGS
=$CXXFLAGS
3929 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3930 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3931 if test "${ac_cv_prog_cxx_g+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 cat >conftest.
$ac_ext <<_ACEOF
3937 cat confdefs.h
>>conftest.
$ac_ext
3938 cat >>conftest.
$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3949 rm -f conftest.
$ac_objext
3950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3951 (eval $ac_compile) 2>conftest.er1
3953 grep -v '^ *+' conftest.er1
>conftest.err
3955 cat conftest.err
>&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } &&
3958 { ac_try
='test -z "$ac_cxx_werror_flag"
3959 || test ! -s conftest.err'
3960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); }; } &&
3965 { ac_try
='test -s conftest.$ac_objext'
3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); }; }; then
3971 ac_cv_prog_cxx_g
=yes
3973 echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.
$ac_ext >&5
3978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3980 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3981 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3982 if test "$ac_test_CXXFLAGS" = set; then
3983 CXXFLAGS
=$ac_save_CXXFLAGS
3984 elif test $ac_cv_prog_cxx_g = yes; then
3985 if test "$GXX" = yes; then
3991 if test "$GXX" = yes; then
3997 for ac_declaration
in \
3999 'extern "C" void std::exit (int) throw (); using std::exit;' \
4000 'extern "C" void std::exit (int); using std::exit;' \
4001 'extern "C" void exit (int) throw ();' \
4002 'extern "C" void exit (int);' \
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4021 rm -f conftest.
$ac_objext
4022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4023 (eval $ac_compile) 2>conftest.er1
4025 grep -v '^ *+' conftest.er1
>conftest.err
4027 cat conftest.err
>&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try
='test -z "$ac_cxx_werror_flag"
4031 || test ! -s conftest.err'
4032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }; } &&
4037 { ac_try
='test -s conftest.$ac_objext'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; }; then
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.
$ac_ext >&5
4050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4051 cat >conftest.
$ac_ext <<_ACEOF
4054 cat confdefs.h
>>conftest.
$ac_ext
4055 cat >>conftest.
$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4066 rm -f conftest.
$ac_objext
4067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4068 (eval $ac_compile) 2>conftest.er1
4070 grep -v '^ *+' conftest.er1
>conftest.err
4072 cat conftest.err
>&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); } &&
4075 { ac_try
='test -z "$ac_cxx_werror_flag"
4076 || test ! -s conftest.err'
4077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); }; } &&
4082 { ac_try
='test -s conftest.$ac_objext'
4083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); }; }; then
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.
$ac_ext >&5
4094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4097 if test -n "$ac_declaration"; then
4098 echo '#ifdef __cplusplus' >>confdefs.h
4099 echo $ac_declaration >>confdefs.h
4100 echo '#endif' >>confdefs.h
4104 ac_cpp
='$CPP $CPPFLAGS'
4105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4109 echo "$as_me:$LINENO: checking " >&5
4110 echo $ECHO_N "checking ... $ECHO_C" >&6
4111 if test "${ac_cv_has_flex+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 for ac_prog
in flex
lex
4116 # Extract the first word of "$ac_prog", so it can be a program name with args.
4117 set dummy
$ac_prog; ac_word
=$2
4118 echo "$as_me:$LINENO: checking for $ac_word" >&5
4119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4120 if test "${ac_cv_prog_LEX+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 if test -n "$LEX"; then
4124 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 test -z "$as_dir" && as_dir
=.
4131 for ac_exec_ext
in '' $ac_executable_extensions; do
4132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4133 ac_cv_prog_LEX
="$ac_prog"
4134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 if test -n "$LEX"; then
4144 echo "$as_me:$LINENO: result: $LEX" >&5
4145 echo "${ECHO_T}$LEX" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4151 test -n "$LEX" && break
4153 test -n "$LEX" || LEX
=":"
4155 if test -z "$LEXLIB"
4157 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4158 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4159 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 ac_check_lib_save_LIBS
=$LIBS
4164 cat >conftest.
$ac_ext <<_ACEOF
4167 cat confdefs.h
>>conftest.
$ac_ext
4168 cat >>conftest.
$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4171 /* Override any gcc2 internal prototype to avoid an error. */
4175 /* We use char because int might match the return type of a gcc2
4176 builtin and then its argument prototype would still apply. */
4186 rm -f conftest.
$ac_objext conftest
$ac_exeext
4187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4188 (eval $ac_link) 2>conftest.er1
4190 grep -v '^ *+' conftest.er1
>conftest.err
4192 cat conftest.err
>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } &&
4195 { ac_try
='test -z "$ac_c_werror_flag"
4196 || test ! -s conftest.err'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; } &&
4202 { ac_try
='test -s conftest$ac_exeext'
4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; }; then
4208 ac_cv_lib_fl_yywrap
=yes
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.
$ac_ext >&5
4213 ac_cv_lib_fl_yywrap
=no
4215 rm -f conftest.err conftest.
$ac_objext \
4216 conftest
$ac_exeext conftest.
$ac_ext
4217 LIBS
=$ac_check_lib_save_LIBS
4219 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4220 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4221 if test $ac_cv_lib_fl_yywrap = yes; then
4224 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4225 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4226 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 ac_check_lib_save_LIBS
=$LIBS
4231 cat >conftest.
$ac_ext <<_ACEOF
4234 cat confdefs.h
>>conftest.
$ac_ext
4235 cat >>conftest.
$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4238 /* Override any gcc2 internal prototype to avoid an error. */
4242 /* We use char because int might match the return type of a gcc2
4243 builtin and then its argument prototype would still apply. */
4253 rm -f conftest.
$ac_objext conftest
$ac_exeext
4254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4255 (eval $ac_link) 2>conftest.er1
4257 grep -v '^ *+' conftest.er1
>conftest.err
4259 cat conftest.err
>&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } &&
4262 { ac_try
='test -z "$ac_c_werror_flag"
4263 || test ! -s conftest.err'
4264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); }; } &&
4269 { ac_try
='test -s conftest$ac_exeext'
4270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); }; }; then
4275 ac_cv_lib_l_yywrap
=yes
4277 echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.
$ac_ext >&5
4280 ac_cv_lib_l_yywrap
=no
4282 rm -f conftest.err conftest.
$ac_objext \
4283 conftest
$ac_exeext conftest.
$ac_ext
4284 LIBS
=$ac_check_lib_save_LIBS
4286 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4287 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4288 if test $ac_cv_lib_l_yywrap = yes; then
4296 if test "x$LEX" != "x:"; then
4297 echo "$as_me:$LINENO: checking lex output file root" >&5
4298 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4299 if test "${ac_cv_prog_lex_root+set}" = set; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 # The minimal lex program is just a single line: %%. But some broken lexes
4303 # (Solaris, I think it was) want two %% lines, so accommodate them.
4304 cat >conftest.l
<<_ACEOF
4308 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4309 (eval $LEX conftest.l
) 2>&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }
4313 if test -f lex.yy.c
; then
4314 ac_cv_prog_lex_root
=lex.yy
4315 elif test -f lexyy.c
; then
4316 ac_cv_prog_lex_root
=lexyy
4318 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4319 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4320 { (exit 1); exit 1; }; }
4323 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4324 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4326 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4328 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4329 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4330 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 # POSIX says lex can declare yytext either as a pointer or an array; the
4334 # default is implementation-dependent. Figure out which it is, since
4335 # not all implementations provide the %pointer and %array declarations.
4336 ac_cv_prog_lex_yytext_pointer
=no
4337 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4339 LIBS
="$LIBS $LEXLIB"
4340 cat >conftest.
$ac_ext <<_ACEOF
4341 `cat $LEX_OUTPUT_ROOT.c`
4343 rm -f conftest.
$ac_objext conftest
$ac_exeext
4344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4345 (eval $ac_link) 2>conftest.er1
4347 grep -v '^ *+' conftest.er1
>conftest.err
4349 cat conftest.err
>&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); } &&
4352 { ac_try
='test -z "$ac_c_werror_flag"
4353 || test ! -s conftest.err'
4354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); }; } &&
4359 { ac_try
='test -s conftest$ac_exeext'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; }; then
4365 ac_cv_prog_lex_yytext_pointer
=yes
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.
$ac_ext >&5
4371 rm -f conftest.err conftest.
$ac_objext \
4372 conftest
$ac_exeext conftest.
$ac_ext
4374 rm -f "${LEX_OUTPUT_ROOT}.c"
4377 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4378 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4379 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4381 cat >>confdefs.h
<<\_ACEOF
4382 #define YYTEXT_POINTER 1
4390 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
4391 echo "${ECHO_T}$ac_cv_has_flex" >&6
4392 if test "$LEX" != "flex"; then
4393 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
4394 echo "$as_me: error: flex not found but required" >&2;}
4395 { (exit 1); exit 1; }; }
4401 echo "$as_me:$LINENO: checking " >&5
4402 echo $ECHO_N "checking ... $ECHO_C" >&6
4403 if test "${llvm_cv_has_bison+set}" = set; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 for ac_prog
in 'bison -y' byacc
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy
$ac_prog; ac_word
=$2
4410 echo "$as_me:$LINENO: checking for $ac_word" >&5
4411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4412 if test "${ac_cv_prog_YACC+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 if test -n "$YACC"; then
4416 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4425 ac_cv_prog_YACC
="$ac_prog"
4426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 YACC
=$ac_cv_prog_YACC
4435 if test -n "$YACC"; then
4436 echo "$as_me:$LINENO: result: $YACC" >&5
4437 echo "${ECHO_T}$YACC" >&6
4439 echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6
4443 test -n "$YACC" && break
4445 test -n "$YACC" || YACC
="yacc"
4449 echo "$as_me:$LINENO: result: $llvm_cv_has_bison" >&5
4450 echo "${ECHO_T}$llvm_cv_has_bison" >&6
4451 if test "$YACC" != "bison -y"; then
4452 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
4453 echo "$as_me: error: bison not found but required" >&2;}
4454 { (exit 1); exit 1; }; }
4461 echo "$as_me:$LINENO: checking for GNU make" >&5
4462 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
4463 if test "${llvm_cv_gnu_make_command+set}" = set; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 llvm_cv_gnu_make_command
=''
4467 for a
in "$MAKE" make gmake gnumake
; do
4468 if test -z "$a" ; then continue ; fi ;
4469 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
4471 llvm_cv_gnu_make_command
=$a ;
4476 echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
4477 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6
4478 if test "x$llvm_cv_gnu_make_command" != "x" ; then
4482 echo "$as_me:$LINENO: result: \"Not found\"" >&5
4483 echo "${ECHO_T}\"Not found\"" >&6;
4487 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4488 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4490 if test "$LN_S" = "ln -s"; then
4491 echo "$as_me:$LINENO: result: yes" >&5
4492 echo "${ECHO_T}yes" >&6
4494 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4495 echo "${ECHO_T}no, using $LN_S" >&6
4498 # Extract the first word of "date", so it can be a program name with args.
4499 set dummy
date; ac_word
=$2
4500 echo "$as_me:$LINENO: checking for $ac_word" >&5
4501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4502 if test "${ac_cv_path_DATE+set}" = set; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
4510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir
=.
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4517 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
4518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4524 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
4528 DATE
=$ac_cv_path_DATE
4530 if test -n "$DATE"; then
4531 echo "$as_me:$LINENO: result: $DATE" >&5
4532 echo "${ECHO_T}$DATE" >&6
4534 echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6
4538 # Extract the first word of "find", so it can be a program name with args.
4539 set dummy
find; ac_word
=$2
4540 echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4542 if test "${ac_cv_path_FIND+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
4550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4554 test -z "$as_dir" && as_dir
=.
4555 for ac_exec_ext
in '' $ac_executable_extensions; do
4556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4557 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
4558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
4568 FIND
=$ac_cv_path_FIND
4570 if test -n "$FIND"; then
4571 echo "$as_me:$LINENO: result: $FIND" >&5
4572 echo "${ECHO_T}$FIND" >&6
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4578 # Extract the first word of "grep", so it can be a program name with args.
4579 set dummy
grep; ac_word
=$2
4580 echo "$as_me:$LINENO: checking for $ac_word" >&5
4581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4582 if test "${ac_cv_path_GREP+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4597 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
4598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
4608 GREP
=$ac_cv_path_GREP
4610 if test -n "$GREP"; then
4611 echo "$as_me:$LINENO: result: $GREP" >&5
4612 echo "${ECHO_T}$GREP" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4618 # Extract the first word of "mkdir", so it can be a program name with args.
4619 set dummy mkdir
; ac_word
=$2
4620 echo "$as_me:$LINENO: checking for $ac_word" >&5
4621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4622 if test "${ac_cv_path_MKDIR+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir
=.
4635 for ac_exec_ext
in '' $ac_executable_extensions; do
4636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
4638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
4648 MKDIR
=$ac_cv_path_MKDIR
4650 if test -n "$MKDIR"; then
4651 echo "$as_me:$LINENO: result: $MKDIR" >&5
4652 echo "${ECHO_T}$MKDIR" >&6
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4658 # Extract the first word of "mv", so it can be a program name with args.
4659 set dummy
mv; ac_word
=$2
4660 echo "$as_me:$LINENO: checking for $ac_word" >&5
4661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4662 if test "${ac_cv_path_MV+set}" = set; then
4663 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
4678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
4690 if test -n "$MV"; then
4691 echo "$as_me:$LINENO: result: $MV" >&5
4692 echo "${ECHO_T}$MV" >&6
4694 echo "$as_me:$LINENO: result: no" >&5
4695 echo "${ECHO_T}no" >&6
4698 # Extract the first word of "pax", so it can be a program name with args.
4699 set dummy pax
; ac_word
=$2
4700 echo "$as_me:$LINENO: checking for $ac_word" >&5
4701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4702 if test "${ac_cv_path_PAX+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 ac_cv_path_PAX
="$PAX" # Let the user override the test with a path.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4717 ac_cv_path_PAX
="$as_dir/$ac_word$ac_exec_ext"
4718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 test -z "$ac_cv_path_PAX" && ac_cv_path_PAX
="pax"
4730 if test -n "$PAX"; then
4731 echo "$as_me:$LINENO: result: $PAX" >&5
4732 echo "${ECHO_T}$PAX" >&6
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4738 if test -n "$ac_tool_prefix"; then
4739 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4740 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4741 echo "$as_me:$LINENO: checking for $ac_word" >&5
4742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4743 if test "${ac_cv_prog_RANLIB+set}" = set; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 if test -n "$RANLIB"; then
4747 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4753 test -z "$as_dir" && as_dir
=.
4754 for ac_exec_ext
in '' $ac_executable_extensions; do
4755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4756 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4765 RANLIB
=$ac_cv_prog_RANLIB
4766 if test -n "$RANLIB"; then
4767 echo "$as_me:$LINENO: result: $RANLIB" >&5
4768 echo "${ECHO_T}$RANLIB" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4775 if test -z "$ac_cv_prog_RANLIB"; then
4776 ac_ct_RANLIB
=$RANLIB
4777 # Extract the first word of "ranlib", so it can be a program name with args.
4778 set dummy ranlib
; ac_word
=$2
4779 echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4781 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 if test -n "$ac_ct_RANLIB"; then
4785 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir
=.
4792 for ac_exec_ext
in '' $ac_executable_extensions; do
4793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4801 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4804 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4805 if test -n "$ac_ct_RANLIB"; then
4806 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4807 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4809 echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6
4813 RANLIB
=$ac_ct_RANLIB
4815 RANLIB
="$ac_cv_prog_RANLIB"
4818 # Extract the first word of "rm", so it can be a program name with args.
4819 set dummy
rm; ac_word
=$2
4820 echo "$as_me:$LINENO: checking for $ac_word" >&5
4821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4822 if test "${ac_cv_path_RM+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
4838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
4850 if test -n "$RM"; then
4851 echo "$as_me:$LINENO: result: $RM" >&5
4852 echo "${ECHO_T}$RM" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4858 # Extract the first word of "sed", so it can be a program name with args.
4859 set dummy
sed; ac_word
=$2
4860 echo "$as_me:$LINENO: checking for $ac_word" >&5
4861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4862 if test "${ac_cv_path_SED+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
4878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
4890 if test -n "$SED"; then
4891 echo "$as_me:$LINENO: result: $SED" >&5
4892 echo "${ECHO_T}$SED" >&6
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4898 # Extract the first word of "tar", so it can be a program name with args.
4899 set dummy
tar; ac_word
=$2
4900 echo "$as_me:$LINENO: checking for $ac_word" >&5
4901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4902 if test "${ac_cv_path_TAR+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_exec_ext
in '' $ac_executable_extensions; do
4916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4917 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
4918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
4930 if test -n "$TAR"; then
4931 echo "$as_me:$LINENO: result: $TAR" >&5
4932 echo "${ECHO_T}$TAR" >&6
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4939 # Find a good install program. We prefer a C program (faster),
4940 # so one script is as good as another. But avoid the broken or
4941 # incompatible versions:
4942 # SysV /etc/install, /usr/sbin/install
4943 # SunOS /usr/etc/install
4944 # IRIX /sbin/install
4946 # AmigaOS /C/install, which installs bootblocks on floppy discs
4947 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4948 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4949 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4950 # OS/2's system install, which has a completely different semantic
4951 # ./install, which can be erroneously created by make from ./install.sh.
4952 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4953 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4954 if test -z "$INSTALL"; then
4955 if test "${ac_cv_path_install+set}" = set; then
4956 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4962 test -z "$as_dir" && as_dir
=.
4963 # Account for people who put trailing slashes in PATH elements.
4965 .
/ | .
// |
/cC
/* | \
4966 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4967 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4970 # OSF1 and SCO ODT 3.0 have their own names for install.
4971 # Don't use installbsd from OSF since it installs stuff as root
4973 for ac_prog
in ginstall scoinst
install; do
4974 for ac_exec_ext
in '' $ac_executable_extensions; do
4975 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4976 if test $ac_prog = install &&
4977 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4978 # AIX install. It has an incompatible calling convention.
4980 elif test $ac_prog = install &&
4981 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4982 # program-specific install script used by HP pwplus--don't use.
4985 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4997 if test "${ac_cv_path_install+set}" = set; then
4998 INSTALL
=$ac_cv_path_install
5000 # As a last resort, use the slow shell script. We don't cache a
5001 # path for INSTALL within a source directory, because that will
5002 # break other packages using the cache if that directory is
5003 # removed, or if the path is relative.
5004 INSTALL
=$ac_install_sh
5007 echo "$as_me:$LINENO: result: $INSTALL" >&5
5008 echo "${ECHO_T}$INSTALL" >&6
5010 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5011 # It thinks the first close brace ends the variable substitution.
5012 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5014 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5016 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5019 # Extract the first word of "bzip2", so it can be a program name with args.
5020 set dummy
bzip2; ac_word
=$2
5021 echo "$as_me:$LINENO: checking for $ac_word" >&5
5022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5023 if test "${ac_cv_path_BZIP2+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5028 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
5031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir
=.
5036 for ac_exec_ext
in '' $ac_executable_extensions; do
5037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5038 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
5039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="true bzip2"
5049 BZIP2
=$ac_cv_path_BZIP2
5051 if test -n "$BZIP2"; then
5052 echo "$as_me:$LINENO: result: $BZIP2" >&5
5053 echo "${ECHO_T}$BZIP2" >&6
5055 echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6
5059 # Extract the first word of "dot", so it can be a program name with args.
5060 set dummy dot
; ac_word
=$2
5061 echo "$as_me:$LINENO: checking for $ac_word" >&5
5062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5063 if test "${ac_cv_path_DOT+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
5079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="true dot"
5091 if test -n "$DOT"; then
5092 echo "$as_me:$LINENO: result: $DOT" >&5
5093 echo "${ECHO_T}$DOT" >&6
5095 echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6
5099 # Extract the first word of "doxygen", so it can be a program name with args.
5100 set dummy doxygen
; ac_word
=$2
5101 echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5103 if test "${ac_cv_path_DOXYGEN+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
5111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir
=.
5116 for ac_exec_ext
in '' $ac_executable_extensions; do
5117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
5119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="true doxygen"
5129 DOXYGEN
=$ac_cv_path_DOXYGEN
5131 if test -n "$DOXYGEN"; then
5132 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
5133 echo "${ECHO_T}$DOXYGEN" >&6
5135 echo "$as_me:$LINENO: result: no" >&5
5136 echo "${ECHO_T}no" >&6
5139 # Extract the first word of "etags", so it can be a program name with args.
5140 set dummy etags
; ac_word
=$2
5141 echo "$as_me:$LINENO: checking for $ac_word" >&5
5142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5143 if test "${ac_cv_path_ETAGS+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 ac_cv_path_ETAGS
="$ETAGS" # Let the user override the test with a path.
5151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir
=.
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_path_ETAGS
="$as_dir/$ac_word$ac_exec_ext"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS
="true etags"
5169 ETAGS
=$ac_cv_path_ETAGS
5171 if test -n "$ETAGS"; then
5172 echo "$as_me:$LINENO: result: $ETAGS" >&5
5173 echo "${ECHO_T}$ETAGS" >&6
5175 echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6
5179 # Extract the first word of "groff", so it can be a program name with args.
5180 set dummy
groff; ac_word
=$2
5181 echo "$as_me:$LINENO: checking for $ac_word" >&5
5182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5183 if test "${ac_cv_path_GROFF+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
5191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5195 test -z "$as_dir" && as_dir
=.
5196 for ac_exec_ext
in '' $ac_executable_extensions; do
5197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5198 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
5199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF
="true groff"
5209 GROFF
=$ac_cv_path_GROFF
5211 if test -n "$GROFF"; then
5212 echo "$as_me:$LINENO: result: $GROFF" >&5
5213 echo "${ECHO_T}$GROFF" >&6
5215 echo "$as_me:$LINENO: result: no" >&5
5216 echo "${ECHO_T}no" >&6
5219 # Extract the first word of "gzip", so it can be a program name with args.
5220 set dummy
gzip; ac_word
=$2
5221 echo "$as_me:$LINENO: checking for $ac_word" >&5
5222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5223 if test "${ac_cv_path_GZIP+set}" = set; then
5224 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP
="true gzip"
5249 GZIP
=$ac_cv_path_GZIP
5251 if test -n "$GZIP"; then
5252 echo "$as_me:$LINENO: result: $GZIP" >&5
5253 echo "${ECHO_T}$GZIP" >&6
5255 echo "$as_me:$LINENO: result: no" >&5
5256 echo "${ECHO_T}no" >&6
5259 # Extract the first word of "pod2html", so it can be a program name with args.
5260 set dummy pod2html
; ac_word
=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_path_POD2HTML+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="true pod2html"
5289 POD2HTML
=$ac_cv_path_POD2HTML
5291 if test -n "$POD2HTML"; then
5292 echo "$as_me:$LINENO: result: $POD2HTML" >&5
5293 echo "${ECHO_T}$POD2HTML" >&6
5295 echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5299 # Extract the first word of "pod2man", so it can be a program name with args.
5300 set dummy pod2man
; ac_word
=$2
5301 echo "$as_me:$LINENO: checking for $ac_word" >&5
5302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5303 if test "${ac_cv_path_POD2MAN+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
5311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir
=.
5316 for ac_exec_ext
in '' $ac_executable_extensions; do
5317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="true pod2man"
5329 POD2MAN
=$ac_cv_path_POD2MAN
5331 if test -n "$POD2MAN"; then
5332 echo "$as_me:$LINENO: result: $POD2MAN" >&5
5333 echo "${ECHO_T}$POD2MAN" >&6
5335 echo "$as_me:$LINENO: result: no" >&5
5336 echo "${ECHO_T}no" >&6
5339 # Extract the first word of "python", so it can be a program name with args.
5340 set dummy python
; ac_word
=$2
5341 echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5343 if test "${ac_cv_path_PYTHON+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5348 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5355 test -z "$as_dir" && as_dir
=.
5356 for ac_exec_ext
in '' $ac_executable_extensions; do
5357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="true python"
5369 PYTHON
=$ac_cv_path_PYTHON
5371 if test -n "$PYTHON"; then
5372 echo "$as_me:$LINENO: result: $PYTHON" >&5
5373 echo "${ECHO_T}$PYTHON" >&6
5375 echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6
5379 # Extract the first word of "qmtest", so it can be a program name with args.
5380 set dummy qmtest
; ac_word
=$2
5381 echo "$as_me:$LINENO: checking for $ac_word" >&5
5382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5383 if test "${ac_cv_path_QMTEST+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 ac_cv_path_QMTEST
="$QMTEST" # Let the user override the test with a path.
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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_path_QMTEST
="$as_dir/$ac_word$ac_exec_ext"
5399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST
="true qmtest"
5409 QMTEST
=$ac_cv_path_QMTEST
5411 if test -n "$QMTEST"; then
5412 echo "$as_me:$LINENO: result: $QMTEST" >&5
5413 echo "${ECHO_T}$QMTEST" >&6
5415 echo "$as_me:$LINENO: result: no" >&5
5416 echo "${ECHO_T}no" >&6
5419 # Extract the first word of "runtest", so it can be a program name with args.
5420 set dummy runtest
; ac_word
=$2
5421 echo "$as_me:$LINENO: checking for $ac_word" >&5
5422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5423 if test "${ac_cv_path_RUNTEST+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5428 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_exec_ext
in '' $ac_executable_extensions; do
5437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5438 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
5439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 test -z "$ac_cv_path_RUNTEST" && ac_cv_path_RUNTEST
="true runtest"
5449 RUNTEST
=$ac_cv_path_RUNTEST
5451 if test -n "$RUNTEST"; then
5452 echo "$as_me:$LINENO: result: $RUNTEST" >&5
5453 echo "${ECHO_T}$RUNTEST" >&6
5455 echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6
5461 echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
5462 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6
5464 # Check whether --with-tclinclude or --without-tclinclude was given.
5465 if test "${with_tclinclude+set}" = set; then
5466 withval
="$with_tclinclude"
5467 with_tclinclude
=${withval}
5471 if test "${ac_cv_path_tclsh+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 if test x
"${with_tclinclude}" != x
; then
5476 if test -f ${with_tclinclude}/tclsh
; then
5477 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
5478 elif test -f ${with_tclinclude}/src
/tclsh
; then
5479 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
5481 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
5482 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
5483 { (exit 1); exit 1; }; }
5487 if test x
"${ac_cv_path_tclsh}" = x
; then
5488 echo "$as_me:$LINENO: result: none" >&5
5489 echo "${ECHO_T}none" >&6
5490 for ac_prog
in tclsh8.4 tclsh8.4
.8 tclsh8.4
.7 tclsh8.4
.6 tclsh8.4
.5 tclsh8.4
.4 tclsh8.4
.3 tclsh8.4
.2 tclsh8.4
.1 tclsh8.4
.0 tclsh8.3 tclsh8.3
.5 tclsh8.3
.4 tclsh8.3
.3 .tclsh8.3
.2 tclsh8.3
.1 tclsh8.3
.0 tclsh
5492 # Extract the first word of "$ac_prog", so it can be a program name with args.
5493 set dummy
$ac_prog; ac_word
=$2
5494 echo "$as_me:$LINENO: checking for $ac_word" >&5
5495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5496 if test "${ac_cv_path_TCLSH+set}" = set; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
5504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir
=.
5509 for ac_exec_ext
in '' $ac_executable_extensions; do
5510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
5512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 TCLSH
=$ac_cv_path_TCLSH
5523 if test -n "$TCLSH"; then
5524 echo "$as_me:$LINENO: result: $TCLSH" >&5
5525 echo "${ECHO_T}$TCLSH" >&6
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5531 test -n "$TCLSH" && break
5534 if test x
"${TCLSH}" = x
; then
5535 ac_cv_path_tclsh
='';
5537 ac_cv_path_tclsh
="${TCLSH}";
5540 echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
5541 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6
5542 TCLSH
="${ac_cv_path_tclsh}"
5548 # Extract the first word of "zip", so it can be a program name with args.
5549 set dummy
zip; ac_word
=$2
5550 echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5552 if test "${ac_cv_path_ZIP+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir
=.
5565 for ac_exec_ext
in '' $ac_executable_extensions; do
5566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5567 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="true zip"
5580 if test -n "$ZIP"; then
5581 echo "$as_me:$LINENO: result: $ZIP" >&5
5582 echo "${ECHO_T}$ZIP" >&6
5584 echo "$as_me:$LINENO: result: no" >&5
5585 echo "${ECHO_T}no" >&6
5589 echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
5590 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6
5591 if test "${llvm_cv_link_use_r+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 ac_cpp
='$CPP $CPPFLAGS'
5596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5601 CFLAGS
="$CFLAGS -Wl,-R."
5602 cat >conftest.
$ac_ext <<_ACEOF
5605 cat confdefs.h
>>conftest.
$ac_ext
5606 cat >>conftest.
$ac_ext <<_ACEOF
5607 /* end confdefs.h. */
5612 int main() { return 0; }
5617 rm -f conftest.
$ac_objext conftest
$ac_exeext
5618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5619 (eval $ac_link) 2>conftest.er1
5621 grep -v '^ *+' conftest.er1
>conftest.err
5623 cat conftest.err
>&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); } &&
5626 { ac_try
='test -z "$ac_c_werror_flag"
5627 || test ! -s conftest.err'
5628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); }; } &&
5633 { ac_try
='test -s conftest$ac_exeext'
5634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); }; }; then
5639 llvm_cv_link_use_r
=yes
5641 echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.
$ac_ext >&5
5644 llvm_cv_link_use_r
=no
5646 rm -f conftest.err conftest.
$ac_objext \
5647 conftest
$ac_exeext conftest.
$ac_ext
5650 ac_cpp
='$CPP $CPPFLAGS'
5651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5657 echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
5658 echo "${ECHO_T}$llvm_cv_link_use_r" >&6
5659 if test "$llvm_cv_link_use_r" = yes ; then
5661 cat >>confdefs.h
<<\_ACEOF
5662 #define HAVE_LINK_R 1
5670 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5671 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5672 if test "${ac_cv_c_const+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 cat >conftest.
$ac_ext <<_ACEOF
5678 cat confdefs.h
>>conftest.
$ac_ext
5679 cat >>conftest.
$ac_ext <<_ACEOF
5680 /* end confdefs.h. */
5685 /* FIXME: Include the comments suggested by Paul. */
5687 /* Ultrix mips cc rejects this. */
5688 typedef int charset[2];
5690 /* SunOS 4.1.1 cc rejects this. */
5691 char const *const *ccp;
5693 /* NEC SVR4.0.2 mips cc rejects this. */
5694 struct point {int x, y;};
5695 static struct point const zero = {0,0};
5696 /* AIX XL C 1.02.0.0 rejects this.
5697 It does not let you subtract one const X* pointer from another in
5698 an arm of an if-expression whose if-part is not a constant
5700 const char *g = "string";
5701 ccp = &g + (g ? g-g : 0);
5702 /* HPUX 7.0 cc rejects these. */
5705 ccp = (char const *const *) p;
5706 { /* SCO 3.2v4 cc rejects this. */
5708 char const *s = 0 ? (char *) 0 : (char const *) 0;
5712 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5714 const int *foo = &x[0];
5717 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5718 typedef const int *iptr;
5722 { /* AIX XL C 1.02.0.0 rejects this saying
5723 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5724 struct s { int j; const int *ap[3]; };
5725 struct s *b; b->j = 5;
5727 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5736 rm -f conftest.
$ac_objext
5737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5738 (eval $ac_compile) 2>conftest.er1
5740 grep -v '^ *+' conftest.er1
>conftest.err
5742 cat conftest.err
>&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } &&
5745 { ac_try
='test -z "$ac_c_werror_flag"
5746 || test ! -s conftest.err'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; } &&
5752 { ac_try
='test -s conftest.$ac_objext'
5753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }; }; then
5760 echo "$as_me: failed program was:" >&5
5761 sed 's/^/| /' conftest.
$ac_ext >&5
5765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5767 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5768 echo "${ECHO_T}$ac_cv_c_const" >&6
5769 if test $ac_cv_c_const = no
; then
5771 cat >>confdefs.h
<<\_ACEOF
5778 echo "$as_me:$LINENO: checking for egrep" >&5
5779 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5780 if test "${ac_cv_prog_egrep+set}" = set; then
5781 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5784 then ac_cv_prog_egrep
='grep -E'
5785 else ac_cv_prog_egrep
='egrep'
5788 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5789 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5790 EGREP
=$ac_cv_prog_egrep
5793 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5794 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5795 if test "${ac_cv_header_stdc+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 cat >conftest.
$ac_ext <<_ACEOF
5801 cat confdefs.h
>>conftest.
$ac_ext
5802 cat >>conftest.
$ac_ext <<_ACEOF
5803 /* end confdefs.h. */
5817 rm -f conftest.
$ac_objext
5818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5819 (eval $ac_compile) 2>conftest.er1
5821 grep -v '^ *+' conftest.er1
>conftest.err
5823 cat conftest.err
>&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } &&
5826 { ac_try
='test -z "$ac_c_werror_flag"
5827 || test ! -s conftest.err'
5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); }; } &&
5833 { ac_try
='test -s conftest.$ac_objext'
5834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); }; }; then
5839 ac_cv_header_stdc
=yes
5841 echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.
$ac_ext >&5
5844 ac_cv_header_stdc
=no
5846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5848 if test $ac_cv_header_stdc = yes; then
5849 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5850 cat >conftest.
$ac_ext <<_ACEOF
5853 cat confdefs.h
>>conftest.
$ac_ext
5854 cat >>conftest.
$ac_ext <<_ACEOF
5855 /* end confdefs.h. */
5859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5860 $EGREP "memchr" >/dev
/null
2>&1; then
5863 ac_cv_header_stdc
=no
5869 if test $ac_cv_header_stdc = yes; then
5870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5871 cat >conftest.
$ac_ext <<_ACEOF
5874 cat confdefs.h
>>conftest.
$ac_ext
5875 cat >>conftest.
$ac_ext <<_ACEOF
5876 /* end confdefs.h. */
5880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5881 $EGREP "free" >/dev
/null
2>&1; then
5884 ac_cv_header_stdc
=no
5890 if test $ac_cv_header_stdc = yes; then
5891 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5892 if test "$cross_compiling" = yes; then
5895 cat >conftest.
$ac_ext <<_ACEOF
5898 cat confdefs.h
>>conftest.
$ac_ext
5899 cat >>conftest.
$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5902 #if ((' ' & 0x0FF) == 0x020)
5903 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5904 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5906 # define ISLOWER(c) \
5907 (('a' <= (c) && (c) <= 'i') \
5908 || ('j' <= (c) && (c) <= 'r') \
5909 || ('s' <= (c) && (c) <= 'z'))
5910 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5913 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5918 for (i = 0; i < 256; i++)
5919 if (XOR (islower (i), ISLOWER (i))
5920 || toupper (i) != TOUPPER (i))
5925 rm -f conftest
$ac_exeext
5926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5927 (eval $ac_link) 2>&5
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; }; then
5938 echo "$as_me: program exited with status $ac_status" >&5
5939 echo "$as_me: failed program was:" >&5
5940 sed 's/^/| /' conftest.
$ac_ext >&5
5943 ac_cv_header_stdc
=no
5945 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5949 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5950 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5951 if test $ac_cv_header_stdc = yes; then
5953 cat >>confdefs.h
<<\_ACEOF
5954 #define STDC_HEADERS 1
5965 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5966 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5967 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5968 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5970 echo $ECHO_N "(cached) $ECHO_C" >&6
5972 cat >conftest.
$ac_ext <<_ACEOF
5975 cat confdefs.h
>>conftest.
$ac_ext
5976 cat >>conftest.
$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5978 #include <sys/types.h>
5990 rm -f conftest.
$ac_objext
5991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5992 (eval $ac_compile) 2>conftest.er1
5994 grep -v '^ *+' conftest.er1
>conftest.err
5996 cat conftest.err
>&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } &&
5999 { ac_try
='test -z "$ac_c_werror_flag"
6000 || test ! -s conftest.err'
6001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; } &&
6006 { ac_try
='test -s conftest.$ac_objext'
6007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); }; }; then
6012 eval "$as_ac_Header=yes"
6014 echo "$as_me: failed program was:" >&5
6015 sed 's/^/| /' conftest.
$ac_ext >&5
6017 eval "$as_ac_Header=no"
6019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6024 cat >>confdefs.h
<<_ACEOF
6025 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6028 ac_header_dirent
=$ac_hdr; break
6032 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6033 if test $ac_header_dirent = dirent.h
; then
6034 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6035 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6036 if test "${ac_cv_search_opendir+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 ac_func_search_save_LIBS
=$LIBS
6040 ac_cv_search_opendir
=no
6041 cat >conftest.
$ac_ext <<_ACEOF
6044 cat confdefs.h
>>conftest.
$ac_ext
6045 cat >>conftest.
$ac_ext <<_ACEOF
6046 /* end confdefs.h. */
6048 /* Override any gcc2 internal prototype to avoid an error. */
6052 /* We use char because int might match the return type of a gcc2
6053 builtin and then its argument prototype would still apply. */
6063 rm -f conftest.
$ac_objext conftest
$ac_exeext
6064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6065 (eval $ac_link) 2>conftest.er1
6067 grep -v '^ *+' conftest.er1
>conftest.err
6069 cat conftest.err
>&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); } &&
6072 { ac_try
='test -z "$ac_c_werror_flag"
6073 || test ! -s conftest.err'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; } &&
6079 { ac_try
='test -s conftest$ac_exeext'
6080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); }; }; then
6085 ac_cv_search_opendir
="none required"
6087 echo "$as_me: failed program was:" >&5
6088 sed 's/^/| /' conftest.
$ac_ext >&5
6091 rm -f conftest.err conftest.
$ac_objext \
6092 conftest
$ac_exeext conftest.
$ac_ext
6093 if test "$ac_cv_search_opendir" = no
; then
6094 for ac_lib
in dir
; do
6095 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6096 cat >conftest.
$ac_ext <<_ACEOF
6099 cat confdefs.h
>>conftest.
$ac_ext
6100 cat >>conftest.
$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6103 /* Override any gcc2 internal prototype to avoid an error. */
6107 /* We use char because int might match the return type of a gcc2
6108 builtin and then its argument prototype would still apply. */
6118 rm -f conftest.
$ac_objext conftest
$ac_exeext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6120 (eval $ac_link) 2>conftest.er1
6122 grep -v '^ *+' conftest.er1
>conftest.err
6124 cat conftest.err
>&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } &&
6127 { ac_try
='test -z "$ac_c_werror_flag"
6128 || test ! -s conftest.err'
6129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); }; } &&
6134 { ac_try
='test -s conftest$ac_exeext'
6135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); }; }; then
6140 ac_cv_search_opendir
="-l$ac_lib"
6143 echo "$as_me: failed program was:" >&5
6144 sed 's/^/| /' conftest.
$ac_ext >&5
6147 rm -f conftest.err conftest.
$ac_objext \
6148 conftest
$ac_exeext conftest.
$ac_ext
6151 LIBS
=$ac_func_search_save_LIBS
6153 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6154 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6155 if test "$ac_cv_search_opendir" != no
; then
6156 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6161 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6162 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6163 if test "${ac_cv_search_opendir+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 ac_func_search_save_LIBS
=$LIBS
6167 ac_cv_search_opendir
=no
6168 cat >conftest.
$ac_ext <<_ACEOF
6171 cat confdefs.h
>>conftest.
$ac_ext
6172 cat >>conftest.
$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6175 /* Override any gcc2 internal prototype to avoid an error. */
6179 /* We use char because int might match the return type of a gcc2
6180 builtin and then its argument prototype would still apply. */
6190 rm -f conftest.
$ac_objext conftest
$ac_exeext
6191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6192 (eval $ac_link) 2>conftest.er1
6194 grep -v '^ *+' conftest.er1
>conftest.err
6196 cat conftest.err
>&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); } &&
6199 { ac_try
='test -z "$ac_c_werror_flag"
6200 || test ! -s conftest.err'
6201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); }; } &&
6206 { ac_try
='test -s conftest$ac_exeext'
6207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }; }; then
6212 ac_cv_search_opendir
="none required"
6214 echo "$as_me: failed program was:" >&5
6215 sed 's/^/| /' conftest.
$ac_ext >&5
6218 rm -f conftest.err conftest.
$ac_objext \
6219 conftest
$ac_exeext conftest.
$ac_ext
6220 if test "$ac_cv_search_opendir" = no
; then
6222 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6223 cat >conftest.
$ac_ext <<_ACEOF
6226 cat confdefs.h
>>conftest.
$ac_ext
6227 cat >>conftest.
$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6230 /* Override any gcc2 internal prototype to avoid an error. */
6234 /* We use char because int might match the return type of a gcc2
6235 builtin and then its argument prototype would still apply. */
6245 rm -f conftest.
$ac_objext conftest
$ac_exeext
6246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6247 (eval $ac_link) 2>conftest.er1
6249 grep -v '^ *+' conftest.er1
>conftest.err
6251 cat conftest.err
>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } &&
6254 { ac_try
='test -z "$ac_c_werror_flag"
6255 || test ! -s conftest.err'
6256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); }; } &&
6261 { ac_try
='test -s conftest$ac_exeext'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; }; then
6267 ac_cv_search_opendir
="-l$ac_lib"
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6274 rm -f conftest.err conftest.
$ac_objext \
6275 conftest
$ac_exeext conftest.
$ac_ext
6278 LIBS
=$ac_func_search_save_LIBS
6280 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6281 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6282 if test "$ac_cv_search_opendir" != no
; then
6283 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6289 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6299 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6300 inttypes.h stdint.h unistd.h
6302 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6303 echo "$as_me:$LINENO: checking for $ac_header" >&5
6304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 cat >conftest.
$ac_ext <<_ACEOF
6311 cat confdefs.h
>>conftest.
$ac_ext
6312 cat >>conftest.
$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6314 $ac_includes_default
6316 #include <$ac_header>
6318 rm -f conftest.
$ac_objext
6319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6320 (eval $ac_compile) 2>conftest.er1
6322 grep -v '^ *+' conftest.er1
>conftest.err
6324 cat conftest.err
>&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } &&
6327 { ac_try
='test -z "$ac_c_werror_flag"
6328 || test ! -s conftest.err'
6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); }; } &&
6334 { ac_try
='test -s conftest.$ac_objext'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; }; then
6340 eval "$as_ac_Header=yes"
6342 echo "$as_me: failed program was:" >&5
6343 sed 's/^/| /' conftest.
$ac_ext >&5
6345 eval "$as_ac_Header=no"
6347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6352 cat >>confdefs.h
<<_ACEOF
6353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6362 for ac_header
in dlfcn.h
6364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6366 echo "$as_me:$LINENO: checking for $ac_header" >&5
6367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6374 # Is the header compilable?
6375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6377 cat >conftest.
$ac_ext <<_ACEOF
6380 cat confdefs.h
>>conftest.
$ac_ext
6381 cat >>conftest.
$ac_ext <<_ACEOF
6382 /* end confdefs.h. */
6383 $ac_includes_default
6384 #include <$ac_header>
6386 rm -f conftest.
$ac_objext
6387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6388 (eval $ac_compile) 2>conftest.er1
6390 grep -v '^ *+' conftest.er1
>conftest.err
6392 cat conftest.err
>&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } &&
6395 { ac_try
='test -z "$ac_c_werror_flag"
6396 || test ! -s conftest.err'
6397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }; } &&
6402 { ac_try
='test -s conftest.$ac_objext'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 ac_header_compiler
=yes
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.
$ac_ext >&5
6413 ac_header_compiler
=no
6415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6417 echo "${ECHO_T}$ac_header_compiler" >&6
6419 # Is the header present?
6420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6422 cat >conftest.
$ac_ext <<_ACEOF
6425 cat confdefs.h
>>conftest.
$ac_ext
6426 cat >>conftest.
$ac_ext <<_ACEOF
6427 /* end confdefs.h. */
6428 #include <$ac_header>
6430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6433 grep -v '^ *+' conftest.er1
>conftest.err
6435 cat conftest.err
>&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } >/dev
/null
; then
6438 if test -s conftest.err
; then
6439 ac_cpp_err
=$ac_c_preproc_warn_flag
6440 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6447 if test -z "$ac_cpp_err"; then
6448 ac_header_preproc
=yes
6450 echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.
$ac_ext >&5
6453 ac_header_preproc
=no
6455 rm -f conftest.err conftest.
$ac_ext
6456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6457 echo "${ECHO_T}$ac_header_preproc" >&6
6459 # So? What about this header?
6460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6466 ac_header_preproc
=yes
6469 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6471 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6472 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6473 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6476 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6483 ## ----------------------------------- ##
6484 ## Report this to llvmbugs@cs.uiuc.edu ##
6485 ## ----------------------------------- ##
6488 sed "s/^/$as_me: WARNING: /" >&2
6491 echo "$as_me:$LINENO: checking for $ac_header" >&5
6492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 eval "$as_ac_Header=\$ac_header_preproc"
6498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6503 cat >>confdefs.h
<<_ACEOF
6504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6511 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
6512 if test "${enable_ltdl_install+set}" = set; then
6513 enableval
="$enable_ltdl_install"
6519 if test x
"${enable_ltdl_install-no}" != xno
; then
6521 INSTALL_LTDL_FALSE
='#'
6523 INSTALL_LTDL_TRUE
='#'
6529 if test x
"${enable_ltdl_convenience-no}" != xno
; then
6530 CONVENIENCE_LTDL_TRUE
=
6531 CONVENIENCE_LTDL_FALSE
='#'
6533 CONVENIENCE_LTDL_TRUE
='#'
6534 CONVENIENCE_LTDL_FALSE
=
6538 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6539 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6541 libname_spec
='lib$name'
6549 shlibpath_overrides_runpath
=unknown
6551 dynamic_linker
="$host_os ld.so"
6552 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
6553 if test "$GCC" = yes; then
6554 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6555 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
6556 # if the path contains ";" then we assume it to be the separator
6557 # otherwise default to the standard path separator (i.e. ":") - it is
6558 # assumed that no part of a normal pathname contains ";" but that should
6559 # okay in the real world where ";" in dirpaths is itself problematic.
6560 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6562 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6565 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
6567 need_lib_prefix
=unknown
6568 hardcode_into_libs
=no
6570 # when you set need_version to no, make sure it does not cause -set_version
6571 # flags to be left without arguments
6572 need_version
=unknown
6577 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6578 shlibpath_var
=LIBPATH
6580 # AIX 3 has no versioning support, so we append a major version to the name.
6581 soname_spec
='${libname}${release}${shared_ext}$major'
6588 hardcode_into_libs
=yes
6589 if test "$host_cpu" = ia64
; then
6590 # AIX 5 supports IA64
6591 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6592 shlibpath_var
=LD_LIBRARY_PATH
6594 # With GCC up to 2.95.x, collect2 would create an import file
6595 # for dependence libraries. The import file would start with
6596 # the line `#! .'. This would cause the generated library to
6597 # depend on `.', always an invalid library. This was fixed in
6598 # development snapshots of GCC prior to 3.0.
6600 aix4 | aix4.
[01] | aix4.
[01].
*)
6601 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6603 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6610 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6611 # soname into executable. Probably we can add versioning support to
6612 # collect2, so additional links can be useful in future.
6613 if test "$aix_use_runtimelinking" = yes; then
6614 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6615 # instead of lib<name>.a to let people know that these are not
6616 # typical AIX shared libraries.
6617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6619 # We preserve .a as extension for shared libraries through AIX4.2
6620 # and later when we are not doing run time linking.
6621 library_names_spec
='${libname}${release}.a $libname.a'
6622 soname_spec
='${libname}${release}${shared_ext}$major'
6624 shlibpath_var
=LIBPATH
6629 library_names_spec
='$libname.ixlibrary $libname.a'
6630 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6631 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'
6635 library_names_spec
='${libname}${shared_ext}'
6636 dynamic_linker
="$host_os ld.so"
6637 shlibpath_var
=LIBRARY_PATH
6643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6644 soname_spec
='${libname}${release}${shared_ext}$major'
6645 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6646 shlibpath_var
=LD_LIBRARY_PATH
6647 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6648 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6649 # the default ld.so.conf also contains /usr/contrib/lib and
6650 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6651 # libtool to hard-code these into programs
6654 cygwin
* | mingw
* | pw32
*)
6655 version_type
=windows
6660 case $GCC,$host_os in
6661 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6662 library_names_spec
='$libname.dll.a'
6663 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6664 postinstall_cmds
='base_file=`basename \${file}`~
6665 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6666 dldir=$destdir/`dirname \$dlpath`~
6667 test -d \$dldir || mkdir -p \$dldir~
6668 $install_prog $dir/$dlname \$dldir/$dlname'
6669 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6670 dlpath=$dir/\$dldll~
6672 shlibpath_overrides_runpath
=yes
6676 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6677 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6678 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
6681 # MinGW DLLs use traditional 'lib' prefix
6682 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6683 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6684 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6685 # It is most probably a Windows format PATH printed by
6686 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6687 # path with ; separators, and with drive letters. We can handle the
6688 # drive letters (cygwin fileutils understands them), so leave them,
6689 # especially as we might pass files found there to a mingw objdump,
6690 # which wouldn't understand a cygwinified path. Ahh.
6691 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6693 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6697 # pw32 DLLs use 'pw' prefix rather than 'lib'
6698 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
6704 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6707 dynamic_linker
='Win32 ld.exe'
6708 # FIXME: first we should search . and the directory the executable is in
6712 darwin
* | rhapsody
*)
6713 dynamic_linker
="$host_os dyld"
6717 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6718 soname_spec
='${libname}${release}${major}$shared_ext'
6719 shlibpath_overrides_runpath
=yes
6720 shlibpath_var
=DYLD_LIBRARY_PATH
6721 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
6722 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6723 if test "$GCC" = yes; then
6724 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
6726 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
6728 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6736 soname_spec
='${libname}${release}${shared_ext}$major'
6737 shlibpath_var
=LD_LIBRARY_PATH
6748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6749 soname_spec
='${libname}${release}${shared_ext}$major'
6750 shlibpath_var
=LD_LIBRARY_PATH
6751 shlibpath_overrides_runpath
=no
6752 hardcode_into_libs
=yes
6753 dynamic_linker
='GNU ld.so'
6757 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6758 version_type
=freebsd-
$objformat
6759 case $version_type in
6761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6766 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6770 shlibpath_var
=LD_LIBRARY_PATH
6773 shlibpath_overrides_runpath
=yes
6775 freebsd3.01
* | freebsdelf3.01
*)
6776 shlibpath_overrides_runpath
=yes
6777 hardcode_into_libs
=yes
6780 shlibpath_overrides_runpath
=no
6781 hardcode_into_libs
=yes
6790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6791 soname_spec
='${libname}${release}${shared_ext}$major'
6792 shlibpath_var
=LD_LIBRARY_PATH
6793 hardcode_into_libs
=yes
6796 hpux9
* | hpux10
* | hpux11
*)
6797 # Give a soname corresponding to the major version so that dld.sl refuses to
6798 # link against other versions.
6805 hardcode_into_libs
=yes
6806 dynamic_linker
="$host_os dld.so"
6807 shlibpath_var
=LD_LIBRARY_PATH
6808 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6810 soname_spec
='${libname}${release}${shared_ext}$major'
6811 if test "X$HPUX_IA64_MODE" = X32
; then
6812 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6814 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
6816 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6820 hardcode_into_libs
=yes
6821 dynamic_linker
="$host_os dld.sl"
6822 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
6823 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6825 soname_spec
='${libname}${release}${shared_ext}$major'
6826 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6827 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6831 dynamic_linker
="$host_os dld.sl"
6832 shlibpath_var
=SHLIB_PATH
6833 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
6834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6835 soname_spec
='${libname}${release}${shared_ext}$major'
6838 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6839 postinstall_cmds
='chmod 555 $lib'
6842 irix5
* | irix6
* | nonstopux
*)
6844 nonstopux
*) version_type
=nonstopux
;;
6846 if test "$lt_cv_prog_gnu_ld" = yes; then
6854 soname_spec
='${libname}${release}${shared_ext}$major'
6855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6857 irix5
* | nonstopux
*)
6861 case $LD in # libtool.m4 will add one of these switches to LD
6862 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
6863 libsuff
= shlibsuff
= libmagic
=32-bit;;
6864 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
6865 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
6866 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
6867 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
6868 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
6872 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
6873 shlibpath_overrides_runpath
=no
6874 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6875 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
6876 hardcode_into_libs
=yes
6879 # No shared lib support for Linux oldld, aout, or coff.
6880 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
6884 # This must be Linux ELF.
6889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6890 soname_spec
='${libname}${release}${shared_ext}$major'
6891 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6892 shlibpath_var
=LD_LIBRARY_PATH
6893 shlibpath_overrides_runpath
=no
6894 # This implies no fast_install, which is unacceptable.
6895 # Some rework will be needed to allow for fast_install
6896 # before this can be enabled.
6897 hardcode_into_libs
=yes
6899 # Append ld.so.conf contents to the search path
6900 if test -f /etc
/ld.so.conf
; then
6901 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
6902 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
6905 # We used to test for /lib/ld.so.1 and disable shared libraries on
6906 # powerpc, because MkLinux only supported shared libraries with the
6907 # GNU dynamic linker. Since this was broken with cross compilers,
6908 # most powerpc-linux boxes support dynamic linking these days and
6909 # people can always --disable-shared, the test was removed, and we
6910 # assume the GNU/Linux dynamic linker is in use.
6911 dynamic_linker
='GNU/Linux ld.so'
6918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6919 soname_spec
='${libname}${release}${shared_ext}$major'
6920 shlibpath_var
=LD_LIBRARY_PATH
6921 shlibpath_overrides_runpath
=no
6922 hardcode_into_libs
=yes
6923 dynamic_linker
='GNU ld.so'
6930 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6933 dynamic_linker
='NetBSD (a.out) ld.so'
6935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6936 soname_spec
='${libname}${release}${shared_ext}$major'
6937 dynamic_linker
='NetBSD ld.elf_so'
6939 shlibpath_var
=LD_LIBRARY_PATH
6940 shlibpath_overrides_runpath
=yes
6941 hardcode_into_libs
=yes
6946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6947 shlibpath_var
=LD_LIBRARY_PATH
6948 shlibpath_overrides_runpath
=yes
6955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6956 soname_spec
='${libname}${release}${shared_ext}$major'
6957 shlibpath_var
=LD_LIBRARY_PATH
6958 shlibpath_overrides_runpath
=yes
6965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6966 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6967 shlibpath_var
=LD_LIBRARY_PATH
6968 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6970 openbsd2.
[89] | openbsd2.
[89].
*)
6971 shlibpath_overrides_runpath
=no
6974 shlibpath_overrides_runpath
=yes
6978 shlibpath_overrides_runpath
=yes
6983 libname_spec
='$name'
6986 library_names_spec
='$libname${shared_ext} $libname.a'
6987 dynamic_linker
='OS/2 ld.exe'
6988 shlibpath_var
=LIBPATH
6991 osf3
* | osf4
* | osf5
*)
6995 soname_spec
='${libname}${release}${shared_ext}$major'
6996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6997 shlibpath_var
=LD_LIBRARY_PATH
6998 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6999 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
7004 soname_spec
='${libname}${release}${shared_ext}$major'
7005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7006 shlibpath_var
=LD_LIBRARY_PATH
7013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7014 soname_spec
='${libname}${release}${shared_ext}$major'
7015 shlibpath_var
=LD_LIBRARY_PATH
7016 shlibpath_overrides_runpath
=yes
7017 hardcode_into_libs
=yes
7018 # ldd complains unless libraries are executable
7019 postinstall_cmds
='chmod +x $lib'
7024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7025 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7026 shlibpath_var
=LD_LIBRARY_PATH
7027 shlibpath_overrides_runpath
=yes
7028 if test "$with_gnu_ld" = yes; then
7034 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7037 soname_spec
='${libname}${release}${shared_ext}$major'
7038 shlibpath_var
=LD_LIBRARY_PATH
7039 case $host_vendor in
7041 shlibpath_overrides_runpath
=no
7043 export_dynamic_flag_spec
='${wl}-Blargedynsym'
7044 runpath_var
=LD_RUN_PATH
7052 shlibpath_overrides_runpath
=no
7053 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
7059 if test -d /usr
/nec
;then
7061 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7062 soname_spec
='$libname${shared_ext}.$major'
7063 shlibpath_var
=LD_LIBRARY_PATH
7069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7070 soname_spec
='${libname}${release}${shared_ext}$major'
7071 shlibpath_var
=LD_LIBRARY_PATH
7078 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7079 echo "${ECHO_T}$dynamic_linker" >&6
7080 test "$dynamic_linker" = no
&& can_build_shared
=no
7083 echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
7084 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
7085 if test "${libltdl_cv_shlibext+set}" = set; then
7086 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 eval libltdl_cv_shlibext
=$shrext_cmds
7093 echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
7094 echo "${ECHO_T}$libltdl_cv_shlibext" >&6
7095 if test -n "$libltdl_cv_shlibext"; then
7097 cat >>confdefs.h
<<_ACEOF
7098 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
7104 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
7105 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
7106 if test "${libltdl_cv_shlibpath_var+set}" = set; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 libltdl_cv_shlibpath_var
="$shlibpath_var"
7111 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
7112 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
7113 if test -n "$libltdl_cv_shlibpath_var"; then
7115 cat >>confdefs.h
<<_ACEOF
7116 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
7122 echo "$as_me:$LINENO: checking for the default library search path" >&5
7123 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
7124 if test "${libltdl_cv_sys_search_path+set}" = set; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6
7127 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
7129 echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
7130 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
7131 if test -n "$libltdl_cv_sys_search_path"; then
7133 for dir
in $libltdl_cv_sys_search_path; do
7134 if test -z "$sys_search_path"; then
7135 sys_search_path
="$dir"
7137 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
7141 cat >>confdefs.h
<<_ACEOF
7142 #define LTDL_SYSSEARCHPATH "$sys_search_path"
7147 echo "$as_me:$LINENO: checking for objdir" >&5
7148 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7149 if test "${libltdl_cv_objdir+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 libltdl_cv_objdir
="$objdir"
7153 if test -n "$objdir"; then
7156 rm -f .libs
2>/dev
/null
7157 mkdir .libs
2>/dev
/null
7158 if test -d .libs
; then
7159 libltdl_cv_objdir
=.libs
7161 # MS-DOS does not allow filenames that begin with a dot.
7162 libltdl_cv_objdir
=_libs
7164 rmdir .libs
2>/dev
/null
7168 echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
7169 echo "${ECHO_T}$libltdl_cv_objdir" >&6
7171 cat >>confdefs.h
<<_ACEOF
7172 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
7176 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7177 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
7178 if test "${lt_cv_path_NM+set}" = set; then
7179 echo $ECHO_N "(cached) $ECHO_C" >&6
7181 if test -n "$NM"; then
7182 # Let the user override the test.
7185 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7186 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
7188 test -z "$ac_dir" && ac_dir
=.
7189 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
7190 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7191 # Check to see if the nm accepts a BSD-compat flag.
7192 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7193 # nm: unknown option "B" ignored
7194 # Tru64's nm complains that /dev/null is an invalid object file
7195 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7196 */dev
/null
* |
*'Invalid file or object type'*)
7197 lt_cv_path_NM
="$tmp_nm -B"
7201 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7203 lt_cv_path_NM
="$tmp_nm -p"
7207 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7208 continue # so that we can try to find one that supports BSD flags
7215 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
7218 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7219 echo "${ECHO_T}$lt_cv_path_NM" >&6
7226 # Check for command to grab the raw symbol name followed by C symbol from nm.
7227 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7228 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7229 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7230 echo $ECHO_N "(cached) $ECHO_C" >&6
7233 # These are sane defaults that work on at least a few old systems.
7234 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7236 # Character class describing NM global symbol codes.
7237 symcode
='[BCDEGRST]'
7239 # Regexp to match symbols that can be accessed directly from C.
7240 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7242 # Transform the above into a raw symbol and a C symbol.
7243 symxfrm
='\1 \2\3 \3'
7245 # Transform an extracted symbol line into a proper C declaration
7246 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7248 # Transform an extracted symbol line into symbol name and symbol address
7249 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7251 # Define system-specific variables.
7256 cygwin
* | mingw
* | pw32
*)
7257 symcode
='[ABCDGISTW]'
7259 hpux
*) # Its linker distinguishes data from code symbols
7260 if test "$host_cpu" = ia64
; then
7261 symcode
='[ABCDEGRST]'
7263 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7264 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7267 if test "$host_cpu" = ia64
; then
7268 symcode
='[ABCDGIRSTW]'
7269 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7270 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7274 symcode
='[BCDEGRST]'
7277 symcode
='[BCDEGQRST]'
7287 # Handle CRLF in mingw tool chain
7291 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7295 # If we're using GNU nm, then use its standard symbol codes.
7296 case `$NM -V 2>&1` in
7297 *GNU
* |
*'with BFD'*)
7298 symcode
='[ABCDGIRSTW]' ;;
7301 # Try without a prefix undercore, then with it.
7302 for ac_symprfx
in "" "_"; do
7304 # Write the raw and C identifiers.
7305 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
7307 # Check to see that the pipe works correctly.
7311 cat > conftest.
$ac_ext <<EOF
7316 void nm_test_func(){}
7320 int main(){nm_test_var='a';nm_test_func();return(0);}
7323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324 (eval $ac_compile) 2>&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; then
7328 # Now try to grab the symbols.
7330 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7331 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); } && test -s "$nlist"; then
7335 # Try sorting and uniquifying the output.
7336 if sort "$nlist" |
uniq > "$nlist"T
; then
7337 mv -f "$nlist"T
"$nlist"
7342 # Make sure that we snagged all the symbols we need.
7343 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7344 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7345 cat <<EOF > conftest.$ac_ext
7351 # Now generate the symbol file.
7352 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7354 cat <<EOF >> conftest.$ac_ext
7355 #if defined (__STDC__) && __STDC__
7356 # define lt_ptr_t void *
7358 # define lt_ptr_t char *
7362 /* The mapping between symbol names and symbols. */
7367 lt_preloaded_symbols[] =
7370 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
7371 cat <<\EOF
>> conftest.
$ac_ext
7379 # Now try linking the two files.
7380 mv conftest.
$ac_objext conftstm.
$ac_objext
7381 lt_save_LIBS
="$LIBS"
7382 lt_save_CFLAGS
="$CFLAGS"
7383 LIBS
="conftstm.$ac_objext"
7384 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7386 (eval $ac_link) 2>&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7392 LIBS
="$lt_save_LIBS"
7393 CFLAGS
="$lt_save_CFLAGS"
7395 echo "cannot find nm_test_func in $nlist" >&5
7398 echo "cannot find nm_test_var in $nlist" >&5
7401 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7404 echo "$progname: failed program was:" >&5
7405 cat conftest.
$ac_ext >&5
7407 rm -f conftest
* conftst
*
7409 # Do not use the global_symbol_pipe unless it works.
7410 if test "$pipe_works" = yes; then
7413 lt_cv_sys_global_symbol_pipe
=
7419 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7420 lt_cv_sys_global_symbol_to_cdecl
=
7422 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7423 echo "$as_me:$LINENO: result: failed" >&5
7424 echo "${ECHO_T}failed" >&6
7426 echo "$as_me:$LINENO: result: ok" >&5
7427 echo "${ECHO_T}ok" >&6
7431 echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
7432 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
7433 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7436 if test -n "$lt_cv_sys_global_symbol_pipe"; then
7437 libltdl_cv_preloaded_symbols
=yes
7439 libltdl_cv_preloaded_symbols
=no
7443 echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
7444 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
7445 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
7447 cat >>confdefs.h
<<\_ACEOF
7448 #define HAVE_PRELOADED_SYMBOLS 1
7456 ac_cpp
='$CPP $CPPFLAGS'
7457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7462 echo "$as_me:$LINENO: checking for shl_load" >&5
7463 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7464 if test "${ac_cv_func_shl_load+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7467 cat >conftest.
$ac_ext <<_ACEOF
7470 cat confdefs.h
>>conftest.
$ac_ext
7471 cat >>conftest.
$ac_ext <<_ACEOF
7472 /* end confdefs.h. */
7473 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7475 #define shl_load innocuous_shl_load
7477 /* System header to define __stub macros and hopefully few prototypes,
7478 which can conflict with char shl_load (); below.
7479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7480 <limits.h> exists even on freestanding compilers. */
7483 # include <limits.h>
7485 # include <assert.h>
7490 /* Override any gcc2 internal prototype to avoid an error. */
7495 /* We use char because int might match the return type of a gcc2
7496 builtin and then its argument prototype would still apply. */
7498 /* The GNU C library defines this for functions which it implements
7499 to always fail with ENOSYS. Some functions are actually named
7500 something starting with __ and the normal name is an alias. */
7501 #if defined (__stub_shl_load) || defined (__stub___shl_load)
7504 char (*f) () = shl_load;
7513 return f != shl_load;
7518 rm -f conftest.
$ac_objext conftest
$ac_exeext
7519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7520 (eval $ac_link) 2>conftest.er1
7522 grep -v '^ *+' conftest.er1
>conftest.err
7524 cat conftest.err
>&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } &&
7527 { ac_try
='test -z "$ac_c_werror_flag"
7528 || test ! -s conftest.err'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; } &&
7534 { ac_try
='test -s conftest$ac_exeext'
7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); }; }; then
7540 ac_cv_func_shl_load
=yes
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.
$ac_ext >&5
7545 ac_cv_func_shl_load
=no
7547 rm -f conftest.err conftest.
$ac_objext \
7548 conftest
$ac_exeext conftest.
$ac_ext
7550 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7551 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7552 if test $ac_cv_func_shl_load = yes; then
7554 cat >>confdefs.h
<<\_ACEOF
7555 #define HAVE_SHL_LOAD 1
7559 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7560 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7561 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7562 echo $ECHO_N "(cached) $ECHO_C" >&6
7564 ac_check_lib_save_LIBS
=$LIBS
7566 cat >conftest.
$ac_ext <<_ACEOF
7569 cat confdefs.h
>>conftest.
$ac_ext
7570 cat >>conftest.
$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7573 /* Override any gcc2 internal prototype to avoid an error. */
7577 /* We use char because int might match the return type of a gcc2
7578 builtin and then its argument prototype would still apply. */
7588 rm -f conftest.
$ac_objext conftest
$ac_exeext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7590 (eval $ac_link) 2>conftest.er1
7592 grep -v '^ *+' conftest.er1
>conftest.err
7594 cat conftest.err
>&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try
='test -z "$ac_c_werror_flag"
7598 || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try
='test -s conftest$ac_exeext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 ac_cv_lib_dld_shl_load
=yes
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.
$ac_ext >&5
7615 ac_cv_lib_dld_shl_load
=no
7617 rm -f conftest.err conftest.
$ac_objext \
7618 conftest
$ac_exeext conftest.
$ac_ext
7619 LIBS
=$ac_check_lib_save_LIBS
7621 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7622 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7623 if test $ac_cv_lib_dld_shl_load = yes; then
7625 cat >>confdefs.h
<<\_ACEOF
7626 #define HAVE_SHL_LOAD 1
7629 LIBADD_DL
="$LIBADD_DL -ldld"
7631 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7632 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7633 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7636 ac_check_lib_save_LIBS
=$LIBS
7638 cat >conftest.
$ac_ext <<_ACEOF
7641 cat confdefs.h
>>conftest.
$ac_ext
7642 cat >>conftest.
$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7645 /* Override any gcc2 internal prototype to avoid an error. */
7649 /* We use char because int might match the return type of a gcc2
7650 builtin and then its argument prototype would still apply. */
7660 rm -f conftest.
$ac_objext conftest
$ac_exeext
7661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7662 (eval $ac_link) 2>conftest.er1
7664 grep -v '^ *+' conftest.er1
>conftest.err
7666 cat conftest.err
>&5
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); } &&
7669 { ac_try
='test -z "$ac_c_werror_flag"
7670 || test ! -s conftest.err'
7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); }; } &&
7676 { ac_try
='test -s conftest$ac_exeext'
7677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); }; }; then
7682 ac_cv_lib_dl_dlopen
=yes
7684 echo "$as_me: failed program was:" >&5
7685 sed 's/^/| /' conftest.
$ac_ext >&5
7687 ac_cv_lib_dl_dlopen
=no
7689 rm -f conftest.err conftest.
$ac_objext \
7690 conftest
$ac_exeext conftest.
$ac_ext
7691 LIBS
=$ac_check_lib_save_LIBS
7693 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7694 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7695 if test $ac_cv_lib_dl_dlopen = yes; then
7697 cat >>confdefs.h
<<\_ACEOF
7698 #define HAVE_LIBDL 1
7701 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
7703 cat >conftest.
$ac_ext <<_ACEOF
7706 cat confdefs.h
>>conftest.
$ac_ext
7707 cat >>conftest.
$ac_ext <<_ACEOF
7708 /* end confdefs.h. */
7721 rm -f conftest.
$ac_objext conftest
$ac_exeext
7722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7723 (eval $ac_link) 2>conftest.er1
7725 grep -v '^ *+' conftest.er1
>conftest.err
7727 cat conftest.err
>&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); } &&
7730 { ac_try
='test -z "$ac_c_werror_flag"
7731 || test ! -s conftest.err'
7732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); }; } &&
7737 { ac_try
='test -s conftest$ac_exeext'
7738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); }; }; then
7744 cat >>confdefs.h
<<\_ACEOF
7745 #define HAVE_LIBDL 1
7747 libltdl_cv_func_dlopen
="yes"
7749 echo "$as_me: failed program was:" >&5
7750 sed 's/^/| /' conftest.
$ac_ext >&5
7752 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7753 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7754 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 ac_check_lib_save_LIBS
=$LIBS
7759 cat >conftest.
$ac_ext <<_ACEOF
7762 cat confdefs.h
>>conftest.
$ac_ext
7763 cat >>conftest.
$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7766 /* Override any gcc2 internal prototype to avoid an error. */
7770 /* We use char because int might match the return type of a gcc2
7771 builtin and then its argument prototype would still apply. */
7781 rm -f conftest.
$ac_objext conftest
$ac_exeext
7782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7783 (eval $ac_link) 2>conftest.er1
7785 grep -v '^ *+' conftest.er1
>conftest.err
7787 cat conftest.err
>&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } &&
7790 { ac_try
='test -z "$ac_c_werror_flag"
7791 || test ! -s conftest.err'
7792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); }; } &&
7797 { ac_try
='test -s conftest$ac_exeext'
7798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); }; }; then
7803 ac_cv_lib_svld_dlopen
=yes
7805 echo "$as_me: failed program was:" >&5
7806 sed 's/^/| /' conftest.
$ac_ext >&5
7808 ac_cv_lib_svld_dlopen
=no
7810 rm -f conftest.err conftest.
$ac_objext \
7811 conftest
$ac_exeext conftest.
$ac_ext
7812 LIBS
=$ac_check_lib_save_LIBS
7814 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7815 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7816 if test $ac_cv_lib_svld_dlopen = yes; then
7818 cat >>confdefs.h
<<\_ACEOF
7819 #define HAVE_LIBDL 1
7822 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
7824 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7825 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7826 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 ac_check_lib_save_LIBS
=$LIBS
7831 cat >conftest.
$ac_ext <<_ACEOF
7834 cat confdefs.h
>>conftest.
$ac_ext
7835 cat >>conftest.
$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7838 /* Override any gcc2 internal prototype to avoid an error. */
7842 /* We use char because int might match the return type of a gcc2
7843 builtin and then its argument prototype would still apply. */
7853 rm -f conftest.
$ac_objext conftest
$ac_exeext
7854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7855 (eval $ac_link) 2>conftest.er1
7857 grep -v '^ *+' conftest.er1
>conftest.err
7859 cat conftest.err
>&5
7860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); } &&
7862 { ac_try
='test -z "$ac_c_werror_flag"
7863 || test ! -s conftest.err'
7864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); }; } &&
7869 { ac_try
='test -s conftest$ac_exeext'
7870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 (exit $ac_status); }; }; then
7875 ac_cv_lib_dld_dld_link
=yes
7877 echo "$as_me: failed program was:" >&5
7878 sed 's/^/| /' conftest.
$ac_ext >&5
7880 ac_cv_lib_dld_dld_link
=no
7882 rm -f conftest.err conftest.
$ac_objext \
7883 conftest
$ac_exeext conftest.
$ac_ext
7884 LIBS
=$ac_check_lib_save_LIBS
7886 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7887 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7888 if test $ac_cv_lib_dld_dld_link = yes; then
7890 cat >>confdefs.h
<<\_ACEOF
7894 LIBADD_DL
="$LIBADD_DL -ldld"
7896 echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
7897 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
7898 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 cat >conftest.
$ac_ext <<_ACEOF
7904 cat confdefs.h
>>conftest.
$ac_ext
7905 cat >>conftest.
$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7907 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
7908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7909 #define _dyld_func_lookup innocuous__dyld_func_lookup
7911 /* System header to define __stub macros and hopefully few prototypes,
7912 which can conflict with char _dyld_func_lookup (); below.
7913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7914 <limits.h> exists even on freestanding compilers. */
7917 # include <limits.h>
7919 # include <assert.h>
7922 #undef _dyld_func_lookup
7924 /* Override any gcc2 internal prototype to avoid an error. */
7929 /* We use char because int might match the return type of a gcc2
7930 builtin and then its argument prototype would still apply. */
7931 char _dyld_func_lookup ();
7932 /* The GNU C library defines this for functions which it implements
7933 to always fail with ENOSYS. Some functions are actually named
7934 something starting with __ and the normal name is an alias. */
7935 #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
7938 char (*f) () = _dyld_func_lookup;
7947 return f != _dyld_func_lookup;
7952 rm -f conftest.
$ac_objext conftest
$ac_exeext
7953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7954 (eval $ac_link) 2>conftest.er1
7956 grep -v '^ *+' conftest.er1
>conftest.err
7958 cat conftest.err
>&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } &&
7961 { ac_try
='test -z "$ac_c_werror_flag"
7962 || test ! -s conftest.err'
7963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); }; } &&
7968 { ac_try
='test -s conftest$ac_exeext'
7969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 (exit $ac_status); }; }; then
7974 ac_cv_func__dyld_func_lookup
=yes
7976 echo "$as_me: failed program was:" >&5
7977 sed 's/^/| /' conftest.
$ac_ext >&5
7979 ac_cv_func__dyld_func_lookup
=no
7981 rm -f conftest.err conftest.
$ac_objext \
7982 conftest
$ac_exeext conftest.
$ac_ext
7984 echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
7985 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
7986 if test $ac_cv_func__dyld_func_lookup = yes; then
7988 cat >>confdefs.h
<<\_ACEOF
8002 rm -f conftest.err conftest.
$ac_objext \
8003 conftest
$ac_exeext conftest.
$ac_ext
8014 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
8016 lt_save_LIBS
="$LIBS"
8017 LIBS
="$LIBS $LIBADD_DL"
8019 for ac_func
in dlerror
8021 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8022 echo "$as_me:$LINENO: checking for $ac_func" >&5
8023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8024 if eval "test \"\${$as_ac_var+set}\" = set"; then
8025 echo $ECHO_N "(cached) $ECHO_C" >&6
8027 cat >conftest.
$ac_ext <<_ACEOF
8030 cat confdefs.h
>>conftest.
$ac_ext
8031 cat >>conftest.
$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8035 #define $ac_func innocuous_$ac_func
8037 /* System header to define __stub macros and hopefully few prototypes,
8038 which can conflict with char $ac_func (); below.
8039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8040 <limits.h> exists even on freestanding compilers. */
8043 # include <limits.h>
8045 # include <assert.h>
8050 /* Override any gcc2 internal prototype to avoid an error. */
8055 /* We use char because int might match the return type of a gcc2
8056 builtin and then its argument prototype would still apply. */
8058 /* The GNU C library defines this for functions which it implements
8059 to always fail with ENOSYS. Some functions are actually named
8060 something starting with __ and the normal name is an alias. */
8061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8064 char (*f) () = $ac_func;
8073 return f != $ac_func;
8078 rm -f conftest.
$ac_objext conftest
$ac_exeext
8079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8080 (eval $ac_link) 2>conftest.er1
8082 grep -v '^ *+' conftest.er1
>conftest.err
8084 cat conftest.err
>&5
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 (exit $ac_status); } &&
8087 { ac_try
='test -z "$ac_c_werror_flag"
8088 || test ! -s conftest.err'
8089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); }; } &&
8094 { ac_try
='test -s conftest$ac_exeext'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; }; then
8100 eval "$as_ac_var=yes"
8102 echo "$as_me: failed program was:" >&5
8103 sed 's/^/| /' conftest.
$ac_ext >&5
8105 eval "$as_ac_var=no"
8107 rm -f conftest.err conftest.
$ac_objext \
8108 conftest
$ac_exeext conftest.
$ac_ext
8110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8112 if test `eval echo '${'$as_ac_var'}'` = yes; then
8113 cat >>confdefs.h
<<_ACEOF
8114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8120 LIBS
="$lt_save_LIBS"
8123 ac_cpp
='$CPP $CPPFLAGS'
8124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8130 echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
8131 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
8132 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 ac_cv_sys_symbol_underscore
=no
8136 cat > conftest.
$ac_ext <<EOF
8137 void nm_test_func(){}
8138 int main(){nm_test_func;return 0;}
8140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8141 (eval $ac_compile) 2>&5
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); }; then
8145 # Now try to grab the symbols.
8146 ac_nlist
=conftest.nm
8147 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
8148 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); } && test -s "$ac_nlist"; then
8152 # See whether the symbols have a leading underscore.
8153 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
8154 ac_cv_sys_symbol_underscore
=yes
8156 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
8159 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
8163 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
8166 echo "configure: failed program was:" >&5
8172 echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
8173 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
8176 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
8177 if test x
"$libltdl_cv_func_dlopen" = xyes ||
8178 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
8179 echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
8180 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
8181 if test "${libltdl_cv_need_uscore+set}" = set; then
8182 echo $ECHO_N "(cached) $ECHO_C" >&6
8184 libltdl_cv_need_uscore
=unknown
8186 LIBS
="$LIBS $LIBADD_DL"
8187 if test "$cross_compiling" = yes; then :
8188 libltdl_cv_need_uscore
=cross
8190 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8191 lt_status
=$lt_dlunknown
8192 cat > conftest.
$ac_ext <<EOF
8193 #line 8193 "configure"
8194 #include "confdefs.h"
8203 # define LT_DLGLOBAL RTLD_GLOBAL
8206 # define LT_DLGLOBAL DL_GLOBAL
8208 # define LT_DLGLOBAL 0
8212 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8213 find out it does not work in some platform. */
8214 #ifndef LT_DLLAZY_OR_NOW
8216 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8219 # define LT_DLLAZY_OR_NOW DL_LAZY
8222 # define LT_DLLAZY_OR_NOW RTLD_NOW
8225 # define LT_DLLAZY_OR_NOW DL_NOW
8227 # define LT_DLLAZY_OR_NOW 0
8235 extern "C" void exit (int);
8238 void fnord() { int i=42;}
8241 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8242 int status = $lt_dlunknown;
8246 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8247 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8248 /* dlclose (self); */
8254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8255 (eval $ac_link) 2>&5
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8259 (.
/conftest
; exit; ) 2>/dev
/null
8262 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
8263 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
8267 # compilation failed
8276 echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
8277 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
8281 if test x
"$libltdl_cv_need_uscore" = xyes
; then
8283 cat >>confdefs.h
<<\_ACEOF
8284 #define NEED_USCORE 1
8290 echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
8291 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
8292 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
8293 echo $ECHO_N "(cached) $ECHO_C" >&6
8295 # PORTME does your system automatically load deplibs for dlopen?
8296 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
8297 # For now, we just catch OSes we know something about -- in the
8298 # future, we'll try test this programmatically.
8299 libltdl_cv_sys_dlopen_deplibs
=unknown
8301 aix3
*|aix4.1.
*|aix4.2.
*)
8302 # Unknown whether this is true for these versions of AIX, but
8303 # we want this `case' here to explicitly catch those versions.
8304 libltdl_cv_sys_dlopen_deplibs
=unknown
8307 libltdl_cv_sys_dlopen_deplibs
=yes
8310 # Assuming the user has installed a libdl from somewhere, this is true
8311 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
8312 libltdl_cv_sys_dlopen_deplibs
=yes
8314 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
8315 # GNU and its variants, using gnu ld.so (Glibc)
8316 libltdl_cv_sys_dlopen_deplibs
=yes
8319 libltdl_cv_sys_dlopen_deplibs
=yes
8321 irix
[12345]*|irix6.
[01]*)
8322 # Catch all versions of IRIX before 6.2, and indicate that we don't
8323 # know how it worked for any of those versions.
8324 libltdl_cv_sys_dlopen_deplibs
=unknown
8327 # The case above catches anything before 6.2, and it's known that
8328 # at 6.2 and later dlopen does load deplibs.
8329 libltdl_cv_sys_dlopen_deplibs
=yes
8332 libltdl_cv_sys_dlopen_deplibs
=yes
8335 libltdl_cv_sys_dlopen_deplibs
=yes
8338 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
8339 # it did *not* use an RPATH in a shared library to find objects the
8340 # library depends on, so we explictly say `no'.
8341 libltdl_cv_sys_dlopen_deplibs
=no
8343 osf5.0|osf5.0a|osf5.1
)
8344 # dlopen *does* load deplibs and with the right loader patch applied
8345 # it even uses RPATH in a shared library to search for shared objects
8346 # that the library depends on, but there's no easy way to know if that
8347 # patch is installed. Since this is the case, all we can really
8348 # say is unknown -- it depends on the patch being installed. If
8349 # it is, this changes to `yes'. Without it, it would be `no'.
8350 libltdl_cv_sys_dlopen_deplibs
=unknown
8353 # the two cases above should catch all versions of osf <= 5.1. Read
8354 # the comments above for what we know about them.
8355 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
8356 # is used to find them so we can finally say `yes'.
8357 libltdl_cv_sys_dlopen_deplibs
=yes
8360 libltdl_cv_sys_dlopen_deplibs
=yes
8365 echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
8366 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
8367 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
8369 cat >>confdefs.h
<<\_ACEOF
8370 #define LTDL_DLOPEN_DEPLIBS 1
8376 for ac_header
in argz.h
8378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8380 echo "$as_me:$LINENO: checking for $ac_header" >&5
8381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8383 echo $ECHO_N "(cached) $ECHO_C" >&6
8385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8388 # Is the header compilable?
8389 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8391 cat >conftest.
$ac_ext <<_ACEOF
8394 cat confdefs.h
>>conftest.
$ac_ext
8395 cat >>conftest.
$ac_ext <<_ACEOF
8396 /* end confdefs.h. */
8397 $ac_includes_default
8398 #include <$ac_header>
8400 rm -f conftest.
$ac_objext
8401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8402 (eval $ac_compile) 2>conftest.er1
8404 grep -v '^ *+' conftest.er1
>conftest.err
8406 cat conftest.err
>&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); } &&
8409 { ac_try
='test -z "$ac_c_werror_flag"
8410 || test ! -s conftest.err'
8411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); }; } &&
8416 { ac_try
='test -s conftest.$ac_objext'
8417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); }; }; then
8422 ac_header_compiler
=yes
8424 echo "$as_me: failed program was:" >&5
8425 sed 's/^/| /' conftest.
$ac_ext >&5
8427 ac_header_compiler
=no
8429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8431 echo "${ECHO_T}$ac_header_compiler" >&6
8433 # Is the header present?
8434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8436 cat >conftest.
$ac_ext <<_ACEOF
8439 cat confdefs.h
>>conftest.
$ac_ext
8440 cat >>conftest.
$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 #include <$ac_header>
8444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8447 grep -v '^ *+' conftest.er1
>conftest.err
8449 cat conftest.err
>&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } >/dev
/null
; then
8452 if test -s conftest.err
; then
8453 ac_cpp_err
=$ac_c_preproc_warn_flag
8454 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8461 if test -z "$ac_cpp_err"; then
8462 ac_header_preproc
=yes
8464 echo "$as_me: failed program was:" >&5
8465 sed 's/^/| /' conftest.
$ac_ext >&5
8467 ac_header_preproc
=no
8469 rm -f conftest.err conftest.
$ac_ext
8470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8471 echo "${ECHO_T}$ac_header_preproc" >&6
8473 # So? What about this header?
8474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8480 ac_header_preproc
=yes
8483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8497 ## ----------------------------------- ##
8498 ## Report this to llvmbugs@cs.uiuc.edu ##
8499 ## ----------------------------------- ##
8502 sed "s/^/$as_me: WARNING: /" >&2
8505 echo "$as_me:$LINENO: checking for $ac_header" >&5
8506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8508 echo $ECHO_N "(cached) $ECHO_C" >&6
8510 eval "$as_ac_Header=\$ac_header_preproc"
8512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8517 cat >>confdefs.h
<<_ACEOF
8518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8526 echo "$as_me:$LINENO: checking for error_t" >&5
8527 echo $ECHO_N "checking for error_t... $ECHO_C" >&6
8528 if test "${ac_cv_type_error_t+set}" = set; then
8529 echo $ECHO_N "(cached) $ECHO_C" >&6
8531 cat >conftest.
$ac_ext <<_ACEOF
8534 cat confdefs.h
>>conftest.
$ac_ext
8535 cat >>conftest.
$ac_ext <<_ACEOF
8536 /* end confdefs.h. */
8546 if (sizeof (error_t))
8552 rm -f conftest.
$ac_objext
8553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8554 (eval $ac_compile) 2>conftest.er1
8556 grep -v '^ *+' conftest.er1
>conftest.err
8558 cat conftest.err
>&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } &&
8561 { ac_try
='test -z "$ac_c_werror_flag"
8562 || test ! -s conftest.err'
8563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }; } &&
8568 { ac_try
='test -s conftest.$ac_objext'
8569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); }; }; then
8574 ac_cv_type_error_t
=yes
8576 echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.
$ac_ext >&5
8579 ac_cv_type_error_t
=no
8581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8583 echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
8584 echo "${ECHO_T}$ac_cv_type_error_t" >&6
8585 if test $ac_cv_type_error_t = yes; then
8587 cat >>confdefs.h
<<_ACEOF
8588 #define HAVE_ERROR_T 1
8594 cat >>confdefs.h
<<\_ACEOF
8606 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
8608 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8609 echo "$as_me:$LINENO: checking for $ac_func" >&5
8610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8611 if eval "test \"\${$as_ac_var+set}\" = set"; then
8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8614 cat >conftest.
$ac_ext <<_ACEOF
8617 cat confdefs.h
>>conftest.
$ac_ext
8618 cat >>conftest.
$ac_ext <<_ACEOF
8619 /* end confdefs.h. */
8620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8622 #define $ac_func innocuous_$ac_func
8624 /* System header to define __stub macros and hopefully few prototypes,
8625 which can conflict with char $ac_func (); below.
8626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8627 <limits.h> exists even on freestanding compilers. */
8630 # include <limits.h>
8632 # include <assert.h>
8637 /* Override any gcc2 internal prototype to avoid an error. */
8642 /* We use char because int might match the return type of a gcc2
8643 builtin and then its argument prototype would still apply. */
8645 /* The GNU C library defines this for functions which it implements
8646 to always fail with ENOSYS. Some functions are actually named
8647 something starting with __ and the normal name is an alias. */
8648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8651 char (*f) () = $ac_func;
8660 return f != $ac_func;
8665 rm -f conftest.
$ac_objext conftest
$ac_exeext
8666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8667 (eval $ac_link) 2>conftest.er1
8669 grep -v '^ *+' conftest.er1
>conftest.err
8671 cat conftest.err
>&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); } &&
8674 { ac_try
='test -z "$ac_c_werror_flag"
8675 || test ! -s conftest.err'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; } &&
8681 { ac_try
='test -s conftest$ac_exeext'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; }; then
8687 eval "$as_ac_var=yes"
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.
$ac_ext >&5
8692 eval "$as_ac_var=no"
8694 rm -f conftest.err conftest.
$ac_objext \
8695 conftest
$ac_exeext conftest.
$ac_ext
8697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8699 if test `eval echo '${'$as_ac_var'}'` = yes; then
8700 cat >>confdefs.h
<<_ACEOF
8701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8734 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
8737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8739 echo "$as_me:$LINENO: checking for $ac_header" >&5
8740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8747 # Is the header compilable?
8748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8750 cat >conftest.
$ac_ext <<_ACEOF
8753 cat confdefs.h
>>conftest.
$ac_ext
8754 cat >>conftest.
$ac_ext <<_ACEOF
8755 /* end confdefs.h. */
8756 $ac_includes_default
8757 #include <$ac_header>
8759 rm -f conftest.
$ac_objext
8760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8761 (eval $ac_compile) 2>conftest.er1
8763 grep -v '^ *+' conftest.er1
>conftest.err
8765 cat conftest.err
>&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); } &&
8768 { ac_try
='test -z "$ac_c_werror_flag"
8769 || test ! -s conftest.err'
8770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); }; } &&
8775 { ac_try
='test -s conftest.$ac_objext'
8776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); }; }; then
8781 ac_header_compiler
=yes
8783 echo "$as_me: failed program was:" >&5
8784 sed 's/^/| /' conftest.
$ac_ext >&5
8786 ac_header_compiler
=no
8788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8790 echo "${ECHO_T}$ac_header_compiler" >&6
8792 # Is the header present?
8793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8795 cat >conftest.
$ac_ext <<_ACEOF
8798 cat confdefs.h
>>conftest.
$ac_ext
8799 cat >>conftest.
$ac_ext <<_ACEOF
8800 /* end confdefs.h. */
8801 #include <$ac_header>
8803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8806 grep -v '^ *+' conftest.er1
>conftest.err
8808 cat conftest.err
>&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); } >/dev
/null
; then
8811 if test -s conftest.err
; then
8812 ac_cpp_err
=$ac_c_preproc_warn_flag
8813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8820 if test -z "$ac_cpp_err"; then
8821 ac_header_preproc
=yes
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.
$ac_ext >&5
8826 ac_header_preproc
=no
8828 rm -f conftest.err conftest.
$ac_ext
8829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8830 echo "${ECHO_T}$ac_header_preproc" >&6
8832 # So? What about this header?
8833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8839 ac_header_preproc
=yes
8842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8856 ## ----------------------------------- ##
8857 ## Report this to llvmbugs@cs.uiuc.edu ##
8858 ## ----------------------------------- ##
8861 sed "s/^/$as_me: WARNING: /" >&2
8864 echo "$as_me:$LINENO: checking for $ac_header" >&5
8865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8867 echo $ECHO_N "(cached) $ECHO_C" >&6
8869 eval "$as_ac_Header=\$ac_header_preproc"
8871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8876 cat >>confdefs.h
<<_ACEOF
8877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8888 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
8890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8892 echo "$as_me:$LINENO: checking for $ac_header" >&5
8893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8900 # Is the header compilable?
8901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8903 cat >conftest.
$ac_ext <<_ACEOF
8906 cat confdefs.h
>>conftest.
$ac_ext
8907 cat >>conftest.
$ac_ext <<_ACEOF
8908 /* end confdefs.h. */
8909 $ac_includes_default
8910 #include <$ac_header>
8912 rm -f conftest.
$ac_objext
8913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8914 (eval $ac_compile) 2>conftest.er1
8916 grep -v '^ *+' conftest.er1
>conftest.err
8918 cat conftest.err
>&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); } &&
8921 { ac_try
='test -z "$ac_c_werror_flag"
8922 || test ! -s conftest.err'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); }; } &&
8928 { ac_try
='test -s conftest.$ac_objext'
8929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; }; then
8934 ac_header_compiler
=yes
8936 echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.
$ac_ext >&5
8939 ac_header_compiler
=no
8941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8943 echo "${ECHO_T}$ac_header_compiler" >&6
8945 # Is the header present?
8946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8948 cat >conftest.
$ac_ext <<_ACEOF
8951 cat confdefs.h
>>conftest.
$ac_ext
8952 cat >>conftest.
$ac_ext <<_ACEOF
8953 /* end confdefs.h. */
8954 #include <$ac_header>
8956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8957 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8959 grep -v '^ *+' conftest.er1
>conftest.err
8961 cat conftest.err
>&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } >/dev
/null
; then
8964 if test -s conftest.err
; then
8965 ac_cpp_err
=$ac_c_preproc_warn_flag
8966 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8973 if test -z "$ac_cpp_err"; then
8974 ac_header_preproc
=yes
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.
$ac_ext >&5
8979 ac_header_preproc
=no
8981 rm -f conftest.err conftest.
$ac_ext
8982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8983 echo "${ECHO_T}$ac_header_preproc" >&6
8985 # So? What about this header?
8986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8992 ac_header_preproc
=yes
8995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9009 ## ----------------------------------- ##
9010 ## Report this to llvmbugs@cs.uiuc.edu ##
9011 ## ----------------------------------- ##
9014 sed "s/^/$as_me: WARNING: /" >&2
9017 echo "$as_me:$LINENO: checking for $ac_header" >&5
9018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9020 echo $ECHO_N "(cached) $ECHO_C" >&6
9022 eval "$as_ac_Header=\$ac_header_preproc"
9024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9029 cat >>confdefs.h
<<_ACEOF
9030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9039 for ac_header
in string.h
strings.h
9041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9043 echo "$as_me:$LINENO: checking for $ac_header" >&5
9044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9046 echo $ECHO_N "(cached) $ECHO_C" >&6
9048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9051 # Is the header compilable?
9052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9054 cat >conftest.
$ac_ext <<_ACEOF
9057 cat confdefs.h
>>conftest.
$ac_ext
9058 cat >>conftest.
$ac_ext <<_ACEOF
9059 /* end confdefs.h. */
9060 $ac_includes_default
9061 #include <$ac_header>
9063 rm -f conftest.
$ac_objext
9064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9065 (eval $ac_compile) 2>conftest.er1
9067 grep -v '^ *+' conftest.er1
>conftest.err
9069 cat conftest.err
>&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); } &&
9072 { ac_try
='test -z "$ac_c_werror_flag"
9073 || test ! -s conftest.err'
9074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }; } &&
9079 { ac_try
='test -s conftest.$ac_objext'
9080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 (exit $ac_status); }; }; then
9085 ac_header_compiler
=yes
9087 echo "$as_me: failed program was:" >&5
9088 sed 's/^/| /' conftest.
$ac_ext >&5
9090 ac_header_compiler
=no
9092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9094 echo "${ECHO_T}$ac_header_compiler" >&6
9096 # Is the header present?
9097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9099 cat >conftest.
$ac_ext <<_ACEOF
9102 cat confdefs.h
>>conftest.
$ac_ext
9103 cat >>conftest.
$ac_ext <<_ACEOF
9104 /* end confdefs.h. */
9105 #include <$ac_header>
9107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9110 grep -v '^ *+' conftest.er1
>conftest.err
9112 cat conftest.err
>&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } >/dev
/null
; then
9115 if test -s conftest.err
; then
9116 ac_cpp_err
=$ac_c_preproc_warn_flag
9117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9124 if test -z "$ac_cpp_err"; then
9125 ac_header_preproc
=yes
9127 echo "$as_me: failed program was:" >&5
9128 sed 's/^/| /' conftest.
$ac_ext >&5
9130 ac_header_preproc
=no
9132 rm -f conftest.err conftest.
$ac_ext
9133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9134 echo "${ECHO_T}$ac_header_preproc" >&6
9136 # So? What about this header?
9137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9143 ac_header_preproc
=yes
9146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9160 ## ----------------------------------- ##
9161 ## Report this to llvmbugs@cs.uiuc.edu ##
9162 ## ----------------------------------- ##
9165 sed "s/^/$as_me: WARNING: /" >&2
9168 echo "$as_me:$LINENO: checking for $ac_header" >&5
9169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9173 eval "$as_ac_Header=\$ac_header_preproc"
9175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9180 cat >>confdefs.h
<<_ACEOF
9181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9191 for ac_func
in strchr index
9193 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9194 echo "$as_me:$LINENO: checking for $ac_func" >&5
9195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9196 if eval "test \"\${$as_ac_var+set}\" = set"; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 cat >conftest.
$ac_ext <<_ACEOF
9202 cat confdefs.h
>>conftest.
$ac_ext
9203 cat >>conftest.
$ac_ext <<_ACEOF
9204 /* end confdefs.h. */
9205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9207 #define $ac_func innocuous_$ac_func
9209 /* System header to define __stub macros and hopefully few prototypes,
9210 which can conflict with char $ac_func (); below.
9211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9212 <limits.h> exists even on freestanding compilers. */
9215 # include <limits.h>
9217 # include <assert.h>
9222 /* Override any gcc2 internal prototype to avoid an error. */
9227 /* We use char because int might match the return type of a gcc2
9228 builtin and then its argument prototype would still apply. */
9230 /* The GNU C library defines this for functions which it implements
9231 to always fail with ENOSYS. Some functions are actually named
9232 something starting with __ and the normal name is an alias. */
9233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9236 char (*f) () = $ac_func;
9245 return f != $ac_func;
9250 rm -f conftest.
$ac_objext conftest
$ac_exeext
9251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9252 (eval $ac_link) 2>conftest.er1
9254 grep -v '^ *+' conftest.er1
>conftest.err
9256 cat conftest.err
>&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); } &&
9259 { ac_try
='test -z "$ac_c_werror_flag"
9260 || test ! -s conftest.err'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; } &&
9266 { ac_try
='test -s conftest$ac_exeext'
9267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); }; }; then
9272 eval "$as_ac_var=yes"
9274 echo "$as_me: failed program was:" >&5
9275 sed 's/^/| /' conftest.
$ac_ext >&5
9277 eval "$as_ac_var=no"
9279 rm -f conftest.err conftest.
$ac_objext \
9280 conftest
$ac_exeext conftest.
$ac_ext
9282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9284 if test `eval echo '${'$as_ac_var'}'` = yes; then
9285 cat >>confdefs.h
<<_ACEOF
9286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9294 for ac_func
in strrchr rindex
9296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9297 echo "$as_me:$LINENO: checking for $ac_func" >&5
9298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9299 if eval "test \"\${$as_ac_var+set}\" = set"; then
9300 echo $ECHO_N "(cached) $ECHO_C" >&6
9302 cat >conftest.
$ac_ext <<_ACEOF
9305 cat confdefs.h
>>conftest.
$ac_ext
9306 cat >>conftest.
$ac_ext <<_ACEOF
9307 /* end confdefs.h. */
9308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9310 #define $ac_func innocuous_$ac_func
9312 /* System header to define __stub macros and hopefully few prototypes,
9313 which can conflict with char $ac_func (); below.
9314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9315 <limits.h> exists even on freestanding compilers. */
9318 # include <limits.h>
9320 # include <assert.h>
9325 /* Override any gcc2 internal prototype to avoid an error. */
9330 /* We use char because int might match the return type of a gcc2
9331 builtin and then its argument prototype would still apply. */
9333 /* The GNU C library defines this for functions which it implements
9334 to always fail with ENOSYS. Some functions are actually named
9335 something starting with __ and the normal name is an alias. */
9336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9339 char (*f) () = $ac_func;
9348 return f != $ac_func;
9353 rm -f conftest.
$ac_objext conftest
$ac_exeext
9354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9355 (eval $ac_link) 2>conftest.er1
9357 grep -v '^ *+' conftest.er1
>conftest.err
9359 cat conftest.err
>&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } &&
9362 { ac_try
='test -z "$ac_c_werror_flag"
9363 || test ! -s conftest.err'
9364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; } &&
9369 { ac_try
='test -s conftest$ac_exeext'
9370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); }; }; then
9375 eval "$as_ac_var=yes"
9377 echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.
$ac_ext >&5
9380 eval "$as_ac_var=no"
9382 rm -f conftest.err conftest.
$ac_objext \
9383 conftest
$ac_exeext conftest.
$ac_ext
9385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9387 if test `eval echo '${'$as_ac_var'}'` = yes; then
9388 cat >>confdefs.h
<<_ACEOF
9389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9397 for ac_func
in memcpy bcopy
9399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9400 echo "$as_me:$LINENO: checking for $ac_func" >&5
9401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9402 if eval "test \"\${$as_ac_var+set}\" = set"; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 cat >conftest.
$ac_ext <<_ACEOF
9408 cat confdefs.h
>>conftest.
$ac_ext
9409 cat >>conftest.
$ac_ext <<_ACEOF
9410 /* end confdefs.h. */
9411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9413 #define $ac_func innocuous_$ac_func
9415 /* System header to define __stub macros and hopefully few prototypes,
9416 which can conflict with char $ac_func (); below.
9417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9418 <limits.h> exists even on freestanding compilers. */
9421 # include <limits.h>
9423 # include <assert.h>
9428 /* Override any gcc2 internal prototype to avoid an error. */
9433 /* We use char because int might match the return type of a gcc2
9434 builtin and then its argument prototype would still apply. */
9436 /* The GNU C library defines this for functions which it implements
9437 to always fail with ENOSYS. Some functions are actually named
9438 something starting with __ and the normal name is an alias. */
9439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9442 char (*f) () = $ac_func;
9451 return f != $ac_func;
9456 rm -f conftest.
$ac_objext conftest
$ac_exeext
9457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9458 (eval $ac_link) 2>conftest.er1
9460 grep -v '^ *+' conftest.er1
>conftest.err
9462 cat conftest.err
>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } &&
9465 { ac_try
='test -z "$ac_c_werror_flag"
9466 || test ! -s conftest.err'
9467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; } &&
9472 { ac_try
='test -s conftest$ac_exeext'
9473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; }; then
9478 eval "$as_ac_var=yes"
9480 echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.
$ac_ext >&5
9483 eval "$as_ac_var=no"
9485 rm -f conftest.err conftest.
$ac_objext \
9486 conftest
$ac_exeext conftest.
$ac_ext
9488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9490 if test `eval echo '${'$as_ac_var'}'` = yes; then
9491 cat >>confdefs.h
<<_ACEOF
9492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9500 for ac_func
in memmove strcmp
9502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9503 echo "$as_me:$LINENO: checking for $ac_func" >&5
9504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9505 if eval "test \"\${$as_ac_var+set}\" = set"; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9508 cat >conftest.
$ac_ext <<_ACEOF
9511 cat confdefs.h
>>conftest.
$ac_ext
9512 cat >>conftest.
$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9516 #define $ac_func innocuous_$ac_func
9518 /* System header to define __stub macros and hopefully few prototypes,
9519 which can conflict with char $ac_func (); below.
9520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9521 <limits.h> exists even on freestanding compilers. */
9524 # include <limits.h>
9526 # include <assert.h>
9531 /* Override any gcc2 internal prototype to avoid an error. */
9536 /* We use char because int might match the return type of a gcc2
9537 builtin and then its argument prototype would still apply. */
9539 /* The GNU C library defines this for functions which it implements
9540 to always fail with ENOSYS. Some functions are actually named
9541 something starting with __ and the normal name is an alias. */
9542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9545 char (*f) () = $ac_func;
9554 return f != $ac_func;
9559 rm -f conftest.
$ac_objext conftest
$ac_exeext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9561 (eval $ac_link) 2>conftest.er1
9563 grep -v '^ *+' conftest.er1
>conftest.err
9565 cat conftest.err
>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } &&
9568 { ac_try
='test -z "$ac_c_werror_flag"
9569 || test ! -s conftest.err'
9570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); }; } &&
9575 { ac_try
='test -s conftest$ac_exeext'
9576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then
9581 eval "$as_ac_var=yes"
9583 echo "$as_me: failed program was:" >&5
9584 sed 's/^/| /' conftest.
$ac_ext >&5
9586 eval "$as_ac_var=no"
9588 rm -f conftest.err conftest.
$ac_objext \
9589 conftest
$ac_exeext conftest.
$ac_ext
9591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9593 if test `eval echo '${'$as_ac_var'}'` = yes; then
9594 cat >>confdefs.h
<<_ACEOF
9595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9604 for ac_func
in closedir opendir readdir
9606 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9607 echo "$as_me:$LINENO: checking for $ac_func" >&5
9608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9609 if eval "test \"\${$as_ac_var+set}\" = set"; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 cat >conftest.
$ac_ext <<_ACEOF
9615 cat confdefs.h
>>conftest.
$ac_ext
9616 cat >>conftest.
$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9620 #define $ac_func innocuous_$ac_func
9622 /* System header to define __stub macros and hopefully few prototypes,
9623 which can conflict with char $ac_func (); below.
9624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9625 <limits.h> exists even on freestanding compilers. */
9628 # include <limits.h>
9630 # include <assert.h>
9635 /* Override any gcc2 internal prototype to avoid an error. */
9640 /* We use char because int might match the return type of a gcc2
9641 builtin and then its argument prototype would still apply. */
9643 /* The GNU C library defines this for functions which it implements
9644 to always fail with ENOSYS. Some functions are actually named
9645 something starting with __ and the normal name is an alias. */
9646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9649 char (*f) () = $ac_func;
9658 return f != $ac_func;
9663 rm -f conftest.
$ac_objext conftest
$ac_exeext
9664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9665 (eval $ac_link) 2>conftest.er1
9667 grep -v '^ *+' conftest.er1
>conftest.err
9669 cat conftest.err
>&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); } &&
9672 { ac_try
='test -z "$ac_c_werror_flag"
9673 || test ! -s conftest.err'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; } &&
9679 { ac_try
='test -s conftest$ac_exeext'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; }; then
9685 eval "$as_ac_var=yes"
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.
$ac_ext >&5
9690 eval "$as_ac_var=no"
9692 rm -f conftest.err conftest.
$ac_objext \
9693 conftest
$ac_exeext conftest.
$ac_ext
9695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9697 if test `eval echo '${'$as_ac_var'}'` = yes; then
9698 cat >>confdefs.h
<<_ACEOF
9699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9706 # Check whether --enable-shared or --disable-shared was given.
9707 if test "${enable_shared+set}" = set; then
9708 enableval
="$enable_shared"
9709 p
=${PACKAGE-default}
9711 yes) enable_shared
=yes ;;
9712 no
) enable_shared
=no
;;
9715 # Look at the argument we got. We use all the common list separators.
9716 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9717 for pkg
in $enableval; do
9719 if test "X$pkg" = "X$p"; then
9730 # Check whether --enable-static or --disable-static was given.
9731 if test "${enable_static+set}" = set; then
9732 enableval
="$enable_static"
9733 p
=${PACKAGE-default}
9735 yes) enable_static
=yes ;;
9736 no
) enable_static
=no
;;
9739 # Look at the argument we got. We use all the common list separators.
9740 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9741 for pkg
in $enableval; do
9743 if test "X$pkg" = "X$p"; then
9754 # Check whether --enable-fast-install or --disable-fast-install was given.
9755 if test "${enable_fast_install+set}" = set; then
9756 enableval
="$enable_fast_install"
9757 p
=${PACKAGE-default}
9759 yes) enable_fast_install
=yes ;;
9760 no
) enable_fast_install
=no
;;
9762 enable_fast_install
=no
9763 # Look at the argument we got. We use all the common list separators.
9764 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9765 for pkg
in $enableval; do
9767 if test "X$pkg" = "X$p"; then
9768 enable_fast_install
=yes
9775 enable_fast_install
=yes
9778 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9779 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
9780 if test "${lt_cv_path_SED+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9783 # Loop through the user's path and test for sed and gsed.
9784 # Then use that list of sed's as ones to test for truncation.
9785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9789 test -z "$as_dir" && as_dir
=.
9790 for lt_ac_prog
in sed gsed
; do
9791 for ac_exec_ext
in '' $ac_executable_extensions; do
9792 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
9793 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
9800 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
9801 # along with /bin/sed that truncates output.
9802 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
9803 test ! -f $lt_ac_sed && break
9804 cat /dev
/null
> conftest.
in
9806 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
9807 # Check for GNU sed and select it if it is found.
9808 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
9809 lt_cv_path_SED
=$lt_ac_sed
9813 cat conftest.
in conftest.
in >conftest.tmp
9814 mv conftest.tmp conftest.
in
9815 cp conftest.
in conftest.
nl
9817 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
9818 cmp -s conftest.out conftest.
nl ||
break
9819 # 10000 chars as input seems more than enough
9820 test $lt_ac_count -gt 10 && break
9821 lt_ac_count
=`expr $lt_ac_count + 1`
9822 if test $lt_ac_count -gt $lt_ac_max; then
9823 lt_ac_max
=$lt_ac_count
9824 lt_cv_path_SED
=$lt_ac_sed
9832 echo "$as_me:$LINENO: result: $SED" >&5
9833 echo "${ECHO_T}$SED" >&6
9836 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9837 if test "${with_gnu_ld+set}" = set; then
9838 withval
="$with_gnu_ld"
9839 test "$withval" = no || with_gnu_ld
=yes
9844 if test "$GCC" = yes; then
9845 # Check if gcc -print-prog-name=ld gives a path.
9846 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9847 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9850 # gcc leaves a trailing carriage return which upsets mingw
9851 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9853 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9856 # Accept absolute paths.
9858 re_direlt
='/[^/][^/]*/\.\./'
9859 # Canonicalize the pathname of ld
9860 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9861 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9862 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9864 test -z "$LD" && LD
="$ac_prog"
9867 # If it fails, then pretend we aren't using GCC.
9871 # If it is relative, then search for the first ld in PATH.
9875 elif test "$with_gnu_ld" = yes; then
9876 echo "$as_me:$LINENO: checking for GNU ld" >&5
9877 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9879 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9880 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9882 if test "${lt_cv_path_LD+set}" = set; then
9883 echo $ECHO_N "(cached) $ECHO_C" >&6
9885 if test -z "$LD"; then
9886 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9887 for ac_dir
in $PATH; do
9889 test -z "$ac_dir" && ac_dir
=.
9890 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9891 lt_cv_path_LD
="$ac_dir/$ac_prog"
9892 # Check to see if the program is GNU ld. I'd rather use --version,
9893 # but apparently some GNU ld's only accept -v.
9894 # Break only if it was the GNU/non-GNU ld that we prefer.
9895 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9896 *GNU
* |
*'with BFD'*)
9897 test "$with_gnu_ld" != no
&& break
9900 test "$with_gnu_ld" != yes && break
9907 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9912 if test -n "$LD"; then
9913 echo "$as_me:$LINENO: result: $LD" >&5
9914 echo "${ECHO_T}$LD" >&6
9916 echo "$as_me:$LINENO: result: no" >&5
9917 echo "${ECHO_T}no" >&6
9919 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9920 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9921 { (exit 1); exit 1; }; }
9922 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9923 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9924 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9925 echo $ECHO_N "(cached) $ECHO_C" >&6
9927 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9928 case `$LD -v 2>&1 </dev/null` in
9929 *GNU
* |
*'with BFD'*)
9930 lt_cv_prog_gnu_ld
=yes
9933 lt_cv_prog_gnu_ld
=no
9937 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9938 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9939 with_gnu_ld
=$lt_cv_prog_gnu_ld
9942 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9943 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
9944 if test "${lt_cv_ld_reload_flag+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 lt_cv_ld_reload_flag
='-r'
9949 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9950 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
9951 reload_flag
=$lt_cv_ld_reload_flag
9952 case $reload_flag in
9954 *) reload_flag
=" $reload_flag" ;;
9956 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
9959 if test "$GCC" = yes; then
9960 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
9962 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
9967 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
9968 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
9969 if test "${lt_cv_deplibs_check_method+set}" = set; then
9970 echo $ECHO_N "(cached) $ECHO_C" >&6
9972 lt_cv_file_magic_cmd
='$MAGIC_CMD'
9973 lt_cv_file_magic_test_file
=
9974 lt_cv_deplibs_check_method
='unknown'
9975 # Need to set the preceding variable on all platforms that support
9976 # interlibrary dependencies.
9977 # 'none' -- dependencies not supported.
9978 # `unknown' -- same as none, but documents that we really don't know.
9979 # 'pass_all' -- all dependencies passed with no checks.
9980 # 'test_compile' -- check by making test program.
9981 # 'file_magic [[regex]]' -- check by looking for files in library path
9982 # which responds to the $file_magic_cmd with a given extended regex.
9983 # If you have `file' or equivalent on your system and you're not sure
9984 # whether `pass_all' will *always* work, you probably want this one.
9988 lt_cv_deplibs_check_method
=pass_all
9992 lt_cv_deplibs_check_method
=pass_all
9996 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9997 lt_cv_file_magic_cmd
='/usr/bin/file -L'
9998 lt_cv_file_magic_test_file
=/shlib
/libc.so
10002 # func_win32_libid is a shell function defined in ltmain.sh
10003 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
10004 lt_cv_file_magic_cmd
='func_win32_libid'
10008 # Base MSYS/MinGW do not provide the 'file' command needed by
10009 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10010 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
10011 lt_cv_file_magic_cmd
='$OBJDUMP -f'
10014 darwin
* | rhapsody
*)
10015 lt_cv_deplibs_check_method
=pass_all
10018 freebsd
* | kfreebsd
*-gnu)
10019 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
10022 # Not sure whether the presence of OpenBSD here was a mistake.
10023 # Let's accept both of them until this is cleared up.
10024 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10025 lt_cv_file_magic_cmd
=/usr
/bin
/file
10026 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
10030 lt_cv_deplibs_check_method
=pass_all
10035 lt_cv_deplibs_check_method
=pass_all
10038 hpux10.20
* | hpux11
*)
10039 lt_cv_file_magic_cmd
=/usr
/bin
/file
10040 case "$host_cpu" in
10042 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10043 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
10046 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]'
10047 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
10050 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10051 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
10056 irix5
* | irix6
* | nonstopux
*)
10058 *-32|
*"-32 ") libmagic
=32-bit;;
10059 *-n32|
*"-n32 ") libmagic
=N32
;;
10060 *-64|
*"-64 ") libmagic
=64-bit;;
10061 *) libmagic
=never-match
;;
10063 lt_cv_deplibs_check_method
=pass_all
10066 # This must be Linux ELF.
10068 lt_cv_deplibs_check_method
=pass_all
10072 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
10073 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10075 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10080 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10081 lt_cv_file_magic_cmd
=/usr
/bin
/file
10082 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
10086 lt_cv_deplibs_check_method
=unknown
10090 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10091 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10093 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10097 osf3
* | osf4
* | osf5
*)
10098 lt_cv_deplibs_check_method
=pass_all
10102 lt_cv_deplibs_check_method
=pass_all
10106 lt_cv_deplibs_check_method
=pass_all
10109 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10110 case $host_vendor in
10112 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]'
10113 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
10116 lt_cv_deplibs_check_method
=pass_all
10119 lt_cv_file_magic_cmd
='/bin/file'
10120 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10123 lt_cv_file_magic_cmd
='/bin/file'
10124 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10125 lt_cv_file_magic_test_file
=/lib
/libc.so
10128 lt_cv_deplibs_check_method
=pass_all
10133 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
10134 lt_cv_deplibs_check_method
=pass_all
10139 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10140 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10141 file_magic_cmd
=$lt_cv_file_magic_cmd
10142 deplibs_check_method
=$lt_cv_deplibs_check_method
10143 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
10147 # If no C compiler was specified, use CC.
10150 # Allow CC to be a program name with arguments.
10153 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10154 if test "${enable_libtool_lock+set}" = set; then
10155 enableval
="$enable_libtool_lock"
10158 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
10160 # Some flags need to be propagated to the compiler or linker for good
10164 # Find out which ABI we are using.
10165 echo 'int i;' > conftest.
$ac_ext
10166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10167 (eval $ac_compile) 2>&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); }; then
10171 case `/usr/bin/file conftest.$ac_objext` in
10173 HPUX_IA64_MODE
="32"
10176 HPUX_IA64_MODE
="64"
10183 # Find out which ABI we are using.
10184 echo '#line 10184 "configure"' > conftest.
$ac_ext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10186 (eval $ac_compile) 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }; then
10190 if test "$lt_cv_prog_gnu_ld" = yes; then
10191 case `/usr/bin/file conftest.$ac_objext` in
10193 LD
="${LD-ld} -melf32bsmip"
10196 LD
="${LD-ld} -melf32bmipn32"
10199 LD
="${LD-ld} -melf64bmip"
10203 case `/usr/bin/file conftest.$ac_objext` in
10219 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
10220 # Find out which ABI we are using.
10221 echo 'int i;' > conftest.
$ac_ext
10222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10223 (eval $ac_compile) 2>&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; then
10227 case "`/usr/bin/file conftest.o`" in
10231 LD
="${LD-ld} -m elf_i386"
10233 ppc64-
*linux
*|powerpc64-
*linux
*)
10234 LD
="${LD-ld} -m elf32ppclinux"
10237 LD
="${LD-ld} -m elf_s390"
10240 LD
="${LD-ld} -m elf32_sparc"
10247 LD
="${LD-ld} -m elf_x86_64"
10249 ppc
*-*linux
*|powerpc
*-*linux
*)
10250 LD
="${LD-ld} -m elf64ppc"
10253 LD
="${LD-ld} -m elf64_s390"
10256 LD
="${LD-ld} -m elf64_sparc"
10266 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10267 SAVE_CFLAGS
="$CFLAGS"
10268 CFLAGS
="$CFLAGS -belf"
10269 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10270 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
10271 if test "${lt_cv_cc_needs_belf+set}" = set; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10275 ac_cpp
='$CPP $CPPFLAGS'
10276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10280 cat >conftest.
$ac_ext <<_ACEOF
10283 cat confdefs.h
>>conftest.
$ac_ext
10284 cat >>conftest.
$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10288 rm -f conftest.
$ac_objext conftest
$ac_exeext
10289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290 (eval $ac_link) 2>conftest.er1
10292 grep -v '^ *+' conftest.er1
>conftest.err
10294 cat conftest.err
>&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } &&
10297 { ac_try
='test -z "$ac_c_werror_flag"
10298 || test ! -s conftest.err'
10299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10300 (eval $ac_try) 2>&5
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 (exit $ac_status); }; } &&
10304 { ac_try
='test -s conftest$ac_exeext'
10305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 (eval $ac_try) 2>&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); }; }; then
10310 lt_cv_cc_needs_belf
=yes
10312 echo "$as_me: failed program was:" >&5
10313 sed 's/^/| /' conftest.
$ac_ext >&5
10315 lt_cv_cc_needs_belf
=no
10317 rm -f conftest.err conftest.
$ac_objext \
10318 conftest
$ac_exeext conftest.
$ac_ext
10320 ac_cpp
='$CPP $CPPFLAGS'
10321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10326 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10327 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
10328 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
10329 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10330 CFLAGS
="$SAVE_CFLAGS"
10336 need_locks
="$enable_libtool_lock"
10341 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10342 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10343 (test "X$CXX" != "Xg++"))) ; then
10345 ac_cpp
='$CXXCPP $CPPFLAGS'
10346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10349 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10350 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
10351 if test -z "$CXXCPP"; then
10352 if test "${ac_cv_prog_CXXCPP+set}" = set; then
10353 echo $ECHO_N "(cached) $ECHO_C" >&6
10355 # Double quotes because CXXCPP needs to be expanded
10356 for CXXCPP
in "$CXX -E" "/lib/cpp"
10358 ac_preproc_ok
=false
10359 for ac_cxx_preproc_warn_flag
in '' yes
10361 # Use a header file that comes with gcc, so configuring glibc
10362 # with a fresh cross-compiler works.
10363 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10364 # <limits.h> exists even on freestanding compilers.
10365 # On the NeXT, cc -E runs the code through the compiler's parser,
10366 # not just through cpp. "Syntax error" is here to catch this case.
10367 cat >conftest.
$ac_ext <<_ACEOF
10370 cat confdefs.h
>>conftest.
$ac_ext
10371 cat >>conftest.
$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10374 # include <limits.h>
10376 # include <assert.h>
10380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10383 grep -v '^ *+' conftest.er1
>conftest.err
10385 cat conftest.err
>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } >/dev
/null
; then
10388 if test -s conftest.err
; then
10389 ac_cpp_err
=$ac_cxx_preproc_warn_flag
10390 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
10397 if test -z "$ac_cpp_err"; then
10400 echo "$as_me: failed program was:" >&5
10401 sed 's/^/| /' conftest.
$ac_ext >&5
10403 # Broken: fails on valid input.
10406 rm -f conftest.err conftest.
$ac_ext
10408 # OK, works on sane cases. Now check whether non-existent headers
10409 # can be detected and how.
10410 cat >conftest.
$ac_ext <<_ACEOF
10413 cat confdefs.h
>>conftest.
$ac_ext
10414 cat >>conftest.
$ac_ext <<_ACEOF
10415 /* end confdefs.h. */
10416 #include <ac_nonexistent.h>
10418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10419 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10421 grep -v '^ *+' conftest.er1
>conftest.err
10423 cat conftest.err
>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } >/dev
/null
; then
10426 if test -s conftest.err
; then
10427 ac_cpp_err
=$ac_cxx_preproc_warn_flag
10428 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
10435 if test -z "$ac_cpp_err"; then
10436 # Broken: success on invalid input.
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.
$ac_ext >&5
10442 # Passes both tests.
10446 rm -f conftest.err conftest.
$ac_ext
10449 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10450 rm -f conftest.err conftest.
$ac_ext
10451 if $ac_preproc_ok; then
10456 ac_cv_prog_CXXCPP
=$CXXCPP
10459 CXXCPP
=$ac_cv_prog_CXXCPP
10461 ac_cv_prog_CXXCPP
=$CXXCPP
10463 echo "$as_me:$LINENO: result: $CXXCPP" >&5
10464 echo "${ECHO_T}$CXXCPP" >&6
10465 ac_preproc_ok
=false
10466 for ac_cxx_preproc_warn_flag
in '' yes
10468 # Use a header file that comes with gcc, so configuring glibc
10469 # with a fresh cross-compiler works.
10470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10471 # <limits.h> exists even on freestanding compilers.
10472 # On the NeXT, cc -E runs the code through the compiler's parser,
10473 # not just through cpp. "Syntax error" is here to catch this case.
10474 cat >conftest.
$ac_ext <<_ACEOF
10477 cat confdefs.h
>>conftest.
$ac_ext
10478 cat >>conftest.
$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10481 # include <limits.h>
10483 # include <assert.h>
10487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10490 grep -v '^ *+' conftest.er1
>conftest.err
10492 cat conftest.err
>&5
10493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); } >/dev
/null
; then
10495 if test -s conftest.err
; then
10496 ac_cpp_err
=$ac_cxx_preproc_warn_flag
10497 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
10504 if test -z "$ac_cpp_err"; then
10507 echo "$as_me: failed program was:" >&5
10508 sed 's/^/| /' conftest.
$ac_ext >&5
10510 # Broken: fails on valid input.
10513 rm -f conftest.err conftest.
$ac_ext
10515 # OK, works on sane cases. Now check whether non-existent headers
10516 # can be detected and how.
10517 cat >conftest.
$ac_ext <<_ACEOF
10520 cat confdefs.h
>>conftest.
$ac_ext
10521 cat >>conftest.
$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10523 #include <ac_nonexistent.h>
10525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10528 grep -v '^ *+' conftest.er1
>conftest.err
10530 cat conftest.err
>&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } >/dev
/null
; then
10533 if test -s conftest.err
; then
10534 ac_cpp_err
=$ac_cxx_preproc_warn_flag
10535 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
10542 if test -z "$ac_cpp_err"; then
10543 # Broken: success on invalid input.
10546 echo "$as_me: failed program was:" >&5
10547 sed 's/^/| /' conftest.
$ac_ext >&5
10549 # Passes both tests.
10553 rm -f conftest.err conftest.
$ac_ext
10556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10557 rm -f conftest.err conftest.
$ac_ext
10558 if $ac_preproc_ok; then
10561 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10562 See \`config.log' for more details." >&5
10563 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10564 See \`config.log' for more details." >&2;}
10565 { (exit 1); exit 1; }; }
10569 ac_cpp
='$CXXCPP $CPPFLAGS'
10570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10578 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
10579 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10580 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
10581 if test -n "$ac_tool_prefix"; then
10582 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
10584 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10585 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10586 echo "$as_me:$LINENO: checking for $ac_word" >&5
10587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10588 if test "${ac_cv_prog_F77+set}" = set; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 if test -n "$F77"; then
10592 ac_cv_prog_F77
="$F77" # Let the user override the test.
10594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10595 for as_dir
in $PATH
10598 test -z "$as_dir" && as_dir
=.
10599 for ac_exec_ext
in '' $ac_executable_extensions; do
10600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10601 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
10602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10610 F77
=$ac_cv_prog_F77
10611 if test -n "$F77"; then
10612 echo "$as_me:$LINENO: result: $F77" >&5
10613 echo "${ECHO_T}$F77" >&6
10615 echo "$as_me:$LINENO: result: no" >&5
10616 echo "${ECHO_T}no" >&6
10619 test -n "$F77" && break
10622 if test -z "$F77"; then
10624 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
10626 # Extract the first word of "$ac_prog", so it can be a program name with args.
10627 set dummy
$ac_prog; ac_word
=$2
10628 echo "$as_me:$LINENO: checking for $ac_word" >&5
10629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10630 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
10631 echo $ECHO_N "(cached) $ECHO_C" >&6
10633 if test -n "$ac_ct_F77"; then
10634 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
10636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10637 for as_dir
in $PATH
10640 test -z "$as_dir" && as_dir
=.
10641 for ac_exec_ext
in '' $ac_executable_extensions; do
10642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10643 ac_cv_prog_ac_ct_F77
="$ac_prog"
10644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10652 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
10653 if test -n "$ac_ct_F77"; then
10654 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
10655 echo "${ECHO_T}$ac_ct_F77" >&6
10657 echo "$as_me:$LINENO: result: no" >&5
10658 echo "${ECHO_T}no" >&6
10661 test -n "$ac_ct_F77" && break
10668 # Provide some information about the compiler.
10669 echo "$as_me:10669:" \
10670 "checking for Fortran 77 compiler version" >&5
10671 ac_compiler
=`set X $ac_compile; echo $2`
10672 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10673 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); }
10677 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10678 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }
10682 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10683 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }
10689 # If we don't use `.F' as extension, the preprocessor is not run on the
10690 # input file. (Note that this only needs to work for GNU compilers.)
10691 ac_save_ext
=$ac_ext
10693 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
10694 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
10695 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
10696 echo $ECHO_N "(cached) $ECHO_C" >&6
10698 cat >conftest.
$ac_ext <<_ACEOF
10706 rm -f conftest.
$ac_objext
10707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10708 (eval $ac_compile) 2>conftest.er1
10710 grep -v '^ *+' conftest.er1
>conftest.err
10712 cat conftest.err
>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); } &&
10715 { ac_try
='test -z "$ac_f77_werror_flag"
10716 || test ! -s conftest.err'
10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; } &&
10722 { ac_try
='test -s conftest.$ac_objext'
10723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; }; then
10728 ac_compiler_gnu
=yes
10730 echo "$as_me: failed program was:" >&5
10731 sed 's/^/| /' conftest.
$ac_ext >&5
10735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10736 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
10739 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
10740 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
10741 ac_ext
=$ac_save_ext
10742 ac_test_FFLAGS
=${FFLAGS+set}
10743 ac_save_FFLAGS
=$FFLAGS
10745 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
10746 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
10747 if test "${ac_cv_prog_f77_g+set}" = set; then
10748 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 cat >conftest.
$ac_ext <<_ACEOF
10756 rm -f conftest.
$ac_objext
10757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10758 (eval $ac_compile) 2>conftest.er1
10760 grep -v '^ *+' conftest.er1
>conftest.err
10762 cat conftest.err
>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } &&
10765 { ac_try
='test -z "$ac_f77_werror_flag"
10766 || test ! -s conftest.err'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; } &&
10772 { ac_try
='test -s conftest.$ac_objext'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; }; then
10778 ac_cv_prog_f77_g
=yes
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.
$ac_ext >&5
10783 ac_cv_prog_f77_g
=no
10785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10788 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
10789 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
10790 if test "$ac_test_FFLAGS" = set; then
10791 FFLAGS
=$ac_save_FFLAGS
10792 elif test $ac_cv_prog_f77_g = yes; then
10793 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
10799 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
10806 G77
=`test $ac_compiler_gnu = yes && echo yes`
10808 ac_cpp
='$CPP $CPPFLAGS'
10809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10815 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
10817 # find the maximum length of command line arguments
10818 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
10819 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
10820 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 # On DJGPP, this test can blow up pretty badly due to problems in libc
10829 # (any single argument exceeding 2000 bytes causes a buffer overrun
10830 # during glob expansion). Even if it were fixed, the result of this
10831 # check would be larger than it should be.
10832 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
10836 # Under GNU Hurd, this test is not required because there is
10837 # no limit to the length of command line arguments.
10838 # Libtool will interpret -1 as no limit whatsoever
10839 lt_cv_sys_max_cmd_len
=-1;
10843 # On Win9x/ME, this test blows up -- it succeeds, but takes
10844 # about 5 minutes as the teststring grows exponentially.
10845 # Worse, since 9x/ME are not pre-emptively multitasking,
10846 # you end up with a "frozen" computer, even though with patience
10847 # the test eventually succeeds (with a max line length of 256k).
10848 # Instead, let's just punt: use the minimum linelength reported by
10849 # all of the supported platforms: 8192 (on NT/2K/XP).
10850 lt_cv_sys_max_cmd_len
=8192;
10854 # On AmigaOS with pdksh, this test takes hours, literally.
10855 # So we just punt and use a minimum line length of 8192.
10856 lt_cv_sys_max_cmd_len
=8192;
10859 netbsd
* | freebsd
* | openbsd
* | darwin
* )
10860 # This has been around since 386BSD, at least. Likely further.
10861 if test -x /sbin
/sysctl
; then
10862 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
10863 elif test -x /usr
/sbin
/sysctl
; then
10864 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
10866 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
10868 # And add a safety zone
10869 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
10873 # If test is not a shell built-in, we'll probably end up computing a
10874 # maximum length that is only half of the actual maximum length, but
10876 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
10877 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
10878 = "XX$teststring") >/dev
/null
2>&1 &&
10879 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
10880 lt_cv_sys_max_cmd_len
=$new_result &&
10881 test $i != 17 # 1/2 MB should be enough
10884 teststring
=$teststring$teststring
10887 # Add a significant safety factor because C++ compilers can tack on massive
10888 # amounts of additional arguments before passing them to the linker.
10889 # It appears as though 1/2 is a usable value.
10890 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
10896 if test -n $lt_cv_sys_max_cmd_len ; then
10897 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
10898 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
10900 echo "$as_me:$LINENO: result: none" >&5
10901 echo "${ECHO_T}none" >&6
10907 # Check for command to grab the raw symbol name followed by C symbol from nm.
10908 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
10909 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
10910 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10911 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 # These are sane defaults that work on at least a few old systems.
10915 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
10917 # Character class describing NM global symbol codes.
10918 symcode
='[BCDEGRST]'
10920 # Regexp to match symbols that can be accessed directly from C.
10921 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
10923 # Transform the above into a raw symbol and a C symbol.
10924 symxfrm
='\1 \2\3 \3'
10926 # Transform an extracted symbol line into a proper C declaration
10927 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
10929 # Transform an extracted symbol line into symbol name and symbol address
10930 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
10932 # Define system-specific variables.
10937 cygwin
* | mingw
* | pw32
*)
10938 symcode
='[ABCDGISTW]'
10940 hpux
*) # Its linker distinguishes data from code symbols
10941 if test "$host_cpu" = ia64
; then
10942 symcode
='[ABCDEGRST]'
10944 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10945 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
10948 if test "$host_cpu" = ia64
; then
10949 symcode
='[ABCDGIRSTW]'
10950 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10951 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
10954 irix
* | nonstopux
*)
10955 symcode
='[BCDEGRST]'
10958 symcode
='[BCDEGQRST]'
10968 # Handle CRLF in mingw tool chain
10972 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10976 # If we're using GNU nm, then use its standard symbol codes.
10977 case `$NM -V 2>&1` in
10978 *GNU
* |
*'with BFD'*)
10979 symcode
='[ABCDGIRSTW]' ;;
10982 # Try without a prefix undercore, then with it.
10983 for ac_symprfx
in "" "_"; do
10985 # Write the raw and C identifiers.
10986 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
10988 # Check to see that the pipe works correctly.
10992 cat > conftest.
$ac_ext <<EOF
10997 void nm_test_func(){}
11001 int main(){nm_test_var='a';nm_test_func();return(0);}
11004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>&5
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); }; then
11009 # Now try to grab the symbols.
11011 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
11012 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); } && test -s "$nlist"; then
11016 # Try sorting and uniquifying the output.
11017 if sort "$nlist" |
uniq > "$nlist"T
; then
11018 mv -f "$nlist"T
"$nlist"
11023 # Make sure that we snagged all the symbols we need.
11024 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
11025 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
11026 cat <<EOF > conftest.$ac_ext
11032 # Now generate the symbol file.
11033 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
11035 cat <<EOF >> conftest.$ac_ext
11036 #if defined (__STDC__) && __STDC__
11037 # define lt_ptr_t void *
11039 # define lt_ptr_t char *
11043 /* The mapping between symbol names and symbols. */
11048 lt_preloaded_symbols[] =
11051 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
11052 cat <<\EOF
>> conftest.
$ac_ext
11060 # Now try linking the two files.
11061 mv conftest.
$ac_objext conftstm.
$ac_objext
11062 lt_save_LIBS
="$LIBS"
11063 lt_save_CFLAGS
="$CFLAGS"
11064 LIBS
="conftstm.$ac_objext"
11065 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11067 (eval $ac_link) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
11073 LIBS
="$lt_save_LIBS"
11074 CFLAGS
="$lt_save_CFLAGS"
11076 echo "cannot find nm_test_func in $nlist" >&5
11079 echo "cannot find nm_test_var in $nlist" >&5
11082 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
11085 echo "$progname: failed program was:" >&5
11086 cat conftest.
$ac_ext >&5
11088 rm -f conftest
* conftst
*
11090 # Do not use the global_symbol_pipe unless it works.
11091 if test "$pipe_works" = yes; then
11094 lt_cv_sys_global_symbol_pipe
=
11100 if test -z "$lt_cv_sys_global_symbol_pipe"; then
11101 lt_cv_sys_global_symbol_to_cdecl
=
11103 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
11104 echo "$as_me:$LINENO: result: failed" >&5
11105 echo "${ECHO_T}failed" >&6
11107 echo "$as_me:$LINENO: result: ok" >&5
11108 echo "${ECHO_T}ok" >&6
11111 echo "$as_me:$LINENO: checking for objdir" >&5
11112 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
11113 if test "${lt_cv_objdir+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 rm -f .libs
2>/dev
/null
11117 mkdir .libs
2>/dev
/null
11118 if test -d .libs
; then
11121 # MS-DOS does not allow filenames that begin with a dot.
11124 rmdir .libs
2>/dev
/null
11126 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
11127 echo "${ECHO_T}$lt_cv_objdir" >&6
11128 objdir
=$lt_cv_objdir
11136 # AIX sometimes has problems with the GCC collect2 program. For some
11137 # reason, if we set the COLLECT_NAMES environment variable, the problems
11138 # vanish in a puff of smoke.
11139 if test "X${COLLECT_NAMES+set}" != Xset
; then
11141 export COLLECT_NAMES
11146 # Sed substitution that helps us do robust quoting. It backslashifies
11147 # metacharacters that are still active within double-quoted strings.
11148 Xsed
='sed -e s/^X//'
11149 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
11151 # Same as above, but do not quote variable references.
11152 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
11154 # Sed substitution to delay expansion of an escaped shell variable in a
11155 # double_quote_subst'ed string.
11156 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
11158 # Sed substitution to avoid accidental globbing in evaled expressions
11159 no_glob_subst
='s/\*/\\\*/g'
11164 # Global variables:
11165 default_ofile
=mklib
11166 can_build_shared
=yes
11168 # All known linkers require a `.a' archive for static linking (except M$VC,
11169 # which needs '.lib').
11171 ltmain
="$ac_aux_dir/ltmain.sh"
11172 ofile
="$default_ofile"
11173 with_gnu_ld
="$lt_cv_prog_gnu_ld"
11175 if test -n "$ac_tool_prefix"; then
11176 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11177 set dummy
${ac_tool_prefix}ar; ac_word
=$2
11178 echo "$as_me:$LINENO: checking for $ac_word" >&5
11179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11180 if test "${ac_cv_prog_AR+set}" = set; then
11181 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 if test -n "$AR"; then
11184 ac_cv_prog_AR
="$AR" # Let the user override the test.
11186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11187 for as_dir
in $PATH
11190 test -z "$as_dir" && as_dir
=.
11191 for ac_exec_ext
in '' $ac_executable_extensions; do
11192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11193 ac_cv_prog_AR
="${ac_tool_prefix}ar"
11194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11203 if test -n "$AR"; then
11204 echo "$as_me:$LINENO: result: $AR" >&5
11205 echo "${ECHO_T}$AR" >&6
11207 echo "$as_me:$LINENO: result: no" >&5
11208 echo "${ECHO_T}no" >&6
11212 if test -z "$ac_cv_prog_AR"; then
11214 # Extract the first word of "ar", so it can be a program name with args.
11215 set dummy
ar; ac_word
=$2
11216 echo "$as_me:$LINENO: checking for $ac_word" >&5
11217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11218 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 if test -n "$ac_ct_AR"; then
11222 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
11224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11225 for as_dir
in $PATH
11228 test -z "$as_dir" && as_dir
=.
11229 for ac_exec_ext
in '' $ac_executable_extensions; do
11230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11231 ac_cv_prog_ac_ct_AR
="ar"
11232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11238 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
11241 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
11242 if test -n "$ac_ct_AR"; then
11243 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11244 echo "${ECHO_T}$ac_ct_AR" >&6
11246 echo "$as_me:$LINENO: result: no" >&5
11247 echo "${ECHO_T}no" >&6
11252 AR
="$ac_cv_prog_AR"
11255 if test -n "$ac_tool_prefix"; then
11256 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11257 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11258 echo "$as_me:$LINENO: checking for $ac_word" >&5
11259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11260 if test "${ac_cv_prog_RANLIB+set}" = set; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11263 if test -n "$RANLIB"; then
11264 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11267 for as_dir
in $PATH
11270 test -z "$as_dir" && as_dir
=.
11271 for ac_exec_ext
in '' $ac_executable_extensions; do
11272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11273 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11282 RANLIB
=$ac_cv_prog_RANLIB
11283 if test -n "$RANLIB"; then
11284 echo "$as_me:$LINENO: result: $RANLIB" >&5
11285 echo "${ECHO_T}$RANLIB" >&6
11287 echo "$as_me:$LINENO: result: no" >&5
11288 echo "${ECHO_T}no" >&6
11292 if test -z "$ac_cv_prog_RANLIB"; then
11293 ac_ct_RANLIB
=$RANLIB
11294 # Extract the first word of "ranlib", so it can be a program name with args.
11295 set dummy ranlib
; ac_word
=$2
11296 echo "$as_me:$LINENO: checking for $ac_word" >&5
11297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11298 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 if test -n "$ac_ct_RANLIB"; then
11302 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11305 for as_dir
in $PATH
11308 test -z "$as_dir" && as_dir
=.
11309 for ac_exec_ext
in '' $ac_executable_extensions; do
11310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11311 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11318 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11321 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11322 if test -n "$ac_ct_RANLIB"; then
11323 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11324 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11326 echo "$as_me:$LINENO: result: no" >&5
11327 echo "${ECHO_T}no" >&6
11330 RANLIB
=$ac_ct_RANLIB
11332 RANLIB
="$ac_cv_prog_RANLIB"
11335 if test -n "$ac_tool_prefix"; then
11336 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11337 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
11338 echo "$as_me:$LINENO: checking for $ac_word" >&5
11339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11340 if test "${ac_cv_prog_STRIP+set}" = set; then
11341 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 if test -n "$STRIP"; then
11344 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11347 for as_dir
in $PATH
11350 test -z "$as_dir" && as_dir
=.
11351 for ac_exec_ext
in '' $ac_executable_extensions; do
11352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11353 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
11354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11362 STRIP
=$ac_cv_prog_STRIP
11363 if test -n "$STRIP"; then
11364 echo "$as_me:$LINENO: result: $STRIP" >&5
11365 echo "${ECHO_T}$STRIP" >&6
11367 echo "$as_me:$LINENO: result: no" >&5
11368 echo "${ECHO_T}no" >&6
11372 if test -z "$ac_cv_prog_STRIP"; then
11374 # Extract the first word of "strip", so it can be a program name with args.
11375 set dummy strip
; ac_word
=$2
11376 echo "$as_me:$LINENO: checking for $ac_word" >&5
11377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11378 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 if test -n "$ac_ct_STRIP"; then
11382 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
11384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11385 for as_dir
in $PATH
11388 test -z "$as_dir" && as_dir
=.
11389 for ac_exec_ext
in '' $ac_executable_extensions; do
11390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11391 ac_cv_prog_ac_ct_STRIP
="strip"
11392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11398 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
11401 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
11402 if test -n "$ac_ct_STRIP"; then
11403 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11404 echo "${ECHO_T}$ac_ct_STRIP" >&6
11406 echo "$as_me:$LINENO: result: no" >&5
11407 echo "${ECHO_T}no" >&6
11412 STRIP
="$ac_cv_prog_STRIP"
11417 old_CFLAGS
="$CFLAGS"
11419 # Set sane defaults for various variables
11420 test -z "$AR" && AR
=ar
11421 test -z "$AR_FLAGS" && AR_FLAGS
=cru
11422 test -z "$AS" && AS
=as
11423 test -z "$CC" && CC
=cc
11424 test -z "$LTCC" && LTCC
=$CC
11425 test -z "$DLLTOOL" && DLLTOOL
=dlltool
11426 test -z "$LD" && LD
=ld
11427 test -z "$LN_S" && LN_S
="ln -s"
11428 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
11429 test -z "$NM" && NM
=nm
11430 test -z "$SED" && SED
=sed
11431 test -z "$OBJDUMP" && OBJDUMP
=objdump
11432 test -z "$RANLIB" && RANLIB
=:
11433 test -z "$STRIP" && STRIP
=:
11434 test -z "$ac_objext" && ac_objext
=o
11436 # Determine commands to create old-style static archives.
11437 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
11438 old_postinstall_cmds
='chmod 644 $oldlib'
11439 old_postuninstall_cmds
=
11441 if test -n "$RANLIB"; then
11444 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
11447 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
11450 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
11453 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
11455 # Only perform the check for file, if the check method requires it
11456 case $deplibs_check_method in
11458 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11459 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11460 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
11461 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11462 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
11469 lt_save_MAGIC_CMD
="$MAGIC_CMD"
11470 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11471 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
11472 for ac_dir
in $ac_dummy; do
11474 test -z "$ac_dir" && ac_dir
=.
11475 if test -f $ac_dir/${ac_tool_prefix}file; then
11476 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
11477 if test -n "$file_magic_test_file"; then
11478 case $deplibs_check_method in
11480 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11481 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11482 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
11483 $EGREP "$file_magic_regex" > /dev
/null
; then
11488 *** Warning: the command libtool uses to detect shared libraries,
11489 *** $file_magic_cmd, produces output that libtool cannot recognize.
11490 *** The result is that libtool may fail to recognize shared libraries
11491 *** as such. This will affect the creation of libtool libraries that
11492 *** depend on shared libraries, but programs linked with such libtool
11493 *** libraries will work regardless of this problem. Nevertheless, you
11494 *** may want to report the problem to your system manager and/or to
11495 *** bug-libtool@gnu.org
11505 MAGIC_CMD
="$lt_save_MAGIC_CMD"
11510 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11511 if test -n "$MAGIC_CMD"; then
11512 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11513 echo "${ECHO_T}$MAGIC_CMD" >&6
11515 echo "$as_me:$LINENO: result: no" >&5
11516 echo "${ECHO_T}no" >&6
11519 if test -z "$lt_cv_path_MAGIC_CMD"; then
11520 if test -n "$ac_tool_prefix"; then
11521 echo "$as_me:$LINENO: checking for file" >&5
11522 echo $ECHO_N "checking for file... $ECHO_C" >&6
11523 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11524 echo $ECHO_N "(cached) $ECHO_C" >&6
11528 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
11531 lt_save_MAGIC_CMD
="$MAGIC_CMD"
11532 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11533 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
11534 for ac_dir
in $ac_dummy; do
11536 test -z "$ac_dir" && ac_dir
=.
11537 if test -f $ac_dir/file; then
11538 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
11539 if test -n "$file_magic_test_file"; then
11540 case $deplibs_check_method in
11542 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11543 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11544 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
11545 $EGREP "$file_magic_regex" > /dev
/null
; then
11550 *** Warning: the command libtool uses to detect shared libraries,
11551 *** $file_magic_cmd, produces output that libtool cannot recognize.
11552 *** The result is that libtool may fail to recognize shared libraries
11553 *** as such. This will affect the creation of libtool libraries that
11554 *** depend on shared libraries, but programs linked with such libtool
11555 *** libraries will work regardless of this problem. Nevertheless, you
11556 *** may want to report the problem to your system manager and/or to
11557 *** bug-libtool@gnu.org
11567 MAGIC_CMD
="$lt_save_MAGIC_CMD"
11572 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11573 if test -n "$MAGIC_CMD"; then
11574 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11575 echo "${ECHO_T}$MAGIC_CMD" >&6
11577 echo "$as_me:$LINENO: result: no" >&5
11578 echo "${ECHO_T}no" >&6
11591 enable_win32_dll
=no
11593 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11594 if test "${enable_libtool_lock+set}" = set; then
11595 enableval
="$enable_libtool_lock"
11598 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
11601 # Check whether --with-pic or --without-pic was given.
11602 if test "${with_pic+set}" = set; then
11603 withval
="$with_pic"
11604 pic_mode
="$withval"
11608 test -z "$pic_mode" && pic_mode
=default
11610 # Use C for the default configuration in the libtool script
11614 ac_cpp
='$CPP $CPPFLAGS'
11615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11620 # Source file extension for C test sources.
11623 # Object file extension for compiled C test sources.
11627 # Code to be used in simple compile tests
11628 lt_simple_compile_test_code
="int some_variable = 0;\n"
11630 # Code to be used in simple link tests
11631 lt_simple_link_test_code
='int main(){return(0);}\n'
11634 # If no C compiler was specified, use CC.
11637 # Allow CC to be a program name with arguments.
11642 # Check for any special shared library compilation flags.
11645 if test "$GCC" = no
; then
11648 lt_prog_cc_shlib
='-belf'
11652 if test -n "$lt_prog_cc_shlib"; then
11653 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
11654 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
11655 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
11657 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
11658 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
11659 lt_cv_prog_cc_can_build_shared
=no
11665 # Check to make sure the static flag actually works.
11667 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
11668 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
11669 if test "${lt_prog_compiler_static_works+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 lt_prog_compiler_static_works
=no
11673 save_LDFLAGS
="$LDFLAGS"
11674 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
11675 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11676 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11677 # The compiler can only warn and ignore the option if not recognized
11678 # So say no if there are warnings
11679 if test -s conftest.err
; then
11680 # Append any errors to the config.log.
11681 cat conftest.err
1>&5
11683 lt_prog_compiler_static_works
=yes
11687 LDFLAGS
="$save_LDFLAGS"
11690 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
11691 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
11693 if test x
"$lt_prog_compiler_static_works" = xyes
; then
11696 lt_prog_compiler_static
=
11702 lt_prog_compiler_no_builtin_flag
=
11704 if test "$GCC" = yes; then
11705 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
11708 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11709 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
11710 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11711 echo $ECHO_N "(cached) $ECHO_C" >&6
11713 lt_cv_prog_compiler_rtti_exceptions
=no
11714 ac_outfile
=conftest.
$ac_objext
11715 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11716 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11717 # Insert the option either (1) after the last *FLAGS variable, or
11718 # (2) before a word containing "conftest.", or (3) at the end.
11719 # Note that $ac_compile itself does not contain backslashes and begins
11720 # with a dollar sign (not a hyphen), so the echo should work correctly.
11721 # The option is referenced via a variable to avoid confusing sed.
11722 lt_compile
=`echo "$ac_compile" | $SED \
11723 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11725 -e 's:$: $lt_compiler_flag:'`
11726 (eval echo "\"\$as_me:11726: $lt_compile\"" >&5)
11727 (eval "$lt_compile" 2>conftest.err
)
11729 cat conftest.err
>&5
11730 echo "$as_me:11730: \$? = $ac_status" >&5
11731 if (exit $ac_status) && test -s "$ac_outfile"; then
11732 # The compiler can only warn and ignore the option if not recognized
11733 # So say no if there are warnings
11734 if test ! -s conftest.err
; then
11735 lt_cv_prog_compiler_rtti_exceptions
=yes
11741 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11742 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
11744 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11745 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11752 lt_prog_compiler_wl
=
11753 lt_prog_compiler_pic
=
11754 lt_prog_compiler_static
=
11756 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11757 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11759 if test "$GCC" = yes; then
11760 lt_prog_compiler_wl
='-Wl,'
11761 lt_prog_compiler_static
='-static'
11765 # All AIX code is PIC.
11766 if test "$host_cpu" = ia64
; then
11767 # AIX 5 now supports IA64 processor
11768 lt_prog_compiler_static
='-Bstatic'
11773 # FIXME: we need at least 68020 code to build shared libraries, but
11774 # adding the `-m68020' flag to GCC prevents building anything better,
11776 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11779 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11780 # PIC is the default for these OSes.
11783 mingw
* | pw32
* | os2
*)
11784 # This hack is so that the source file can tell whether it is being
11785 # built for inclusion in a dll (and should export symbols for example).
11786 lt_prog_compiler_pic
='-DDLL_EXPORT'
11789 darwin
* | rhapsody
*)
11790 # PIC is the default on this platform
11791 # Common symbols not allowed in MH_DYLIB files
11792 lt_prog_compiler_pic
='-fno-common'
11796 # Just because we use GCC doesn't mean we suddenly get shared libraries
11797 # on systems that don't support them.
11798 lt_prog_compiler_can_build_shared
=no
11803 if test -d /usr
/nec
; then
11804 lt_prog_compiler_pic
=-Kconform_pic
11809 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11810 # not for PA HP-UX.
11811 case "$host_cpu" in
11816 lt_prog_compiler_pic
='-fPIC'
11822 lt_prog_compiler_pic
='-fPIC'
11826 # PORTME Check for flag to pass linker flags through the system compiler.
11829 lt_prog_compiler_wl
='-Wl,'
11830 if test "$host_cpu" = ia64
; then
11831 # AIX 5 now supports IA64 processor
11832 lt_prog_compiler_static
='-Bstatic'
11834 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11838 # PIC is the default on this platform
11839 # Common symbols not allowed in MH_DYLIB files
11840 case "$cc_basename" in
11842 lt_prog_compiler_pic
='-qnocommon'
11843 lt_prog_compiler_wl
='-Wl,'
11848 mingw
* | pw32
* | os2
*)
11849 # This hack is so that the source file can tell whether it is being
11850 # built for inclusion in a dll (and should export symbols for example).
11851 lt_prog_compiler_pic
='-DDLL_EXPORT'
11854 hpux9
* | hpux10
* | hpux11
*)
11855 lt_prog_compiler_wl
='-Wl,'
11856 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11857 # not for PA HP-UX.
11858 case "$host_cpu" in
11863 lt_prog_compiler_pic
='+Z'
11866 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11867 lt_prog_compiler_static
='${wl}-a ${wl}archive'
11870 irix5
* | irix6
* | nonstopux
*)
11871 lt_prog_compiler_wl
='-Wl,'
11872 # PIC (with -KPIC) is the default.
11873 lt_prog_compiler_static
='-non_shared'
11877 lt_prog_compiler_pic
='-KPIC'
11878 lt_prog_compiler_static
='-Bstatic'
11884 lt_prog_compiler_wl
='-Wl,'
11885 lt_prog_compiler_pic
='-KPIC'
11886 lt_prog_compiler_static
='-static'
11889 lt_prog_compiler_wl
='-Wl,'
11890 # All Alpha code is PIC.
11891 lt_prog_compiler_static
='-non_shared'
11896 osf3
* | osf4
* | osf5
*)
11897 lt_prog_compiler_wl
='-Wl,'
11898 # All OSF/1 code is PIC.
11899 lt_prog_compiler_static
='-non_shared'
11903 lt_prog_compiler_pic
='-Kpic'
11904 lt_prog_compiler_static
='-dn'
11908 lt_prog_compiler_wl
='-Wl,'
11909 lt_prog_compiler_pic
='-KPIC'
11910 lt_prog_compiler_static
='-Bstatic'
11914 lt_prog_compiler_wl
='-Qoption ld '
11915 lt_prog_compiler_pic
='-PIC'
11916 lt_prog_compiler_static
='-Bstatic'
11919 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11920 lt_prog_compiler_wl
='-Wl,'
11921 lt_prog_compiler_pic
='-KPIC'
11922 lt_prog_compiler_static
='-Bstatic'
11926 if test -d /usr
/nec
;then
11927 lt_prog_compiler_pic
='-Kconform_pic'
11928 lt_prog_compiler_static
='-Bstatic'
11933 lt_prog_compiler_pic
='-pic'
11934 lt_prog_compiler_static
='-Bstatic'
11938 lt_prog_compiler_can_build_shared
=no
11943 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11944 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
11947 # Check to make sure the PIC flag actually works.
11949 if test -n "$lt_prog_compiler_pic"; then
11951 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11952 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
11953 if test "${lt_prog_compiler_pic_works+set}" = set; then
11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 lt_prog_compiler_pic_works
=no
11957 ac_outfile
=conftest.
$ac_objext
11958 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11959 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
11960 # Insert the option either (1) after the last *FLAGS variable, or
11961 # (2) before a word containing "conftest.", or (3) at the end.
11962 # Note that $ac_compile itself does not contain backslashes and begins
11963 # with a dollar sign (not a hyphen), so the echo should work correctly.
11964 # The option is referenced via a variable to avoid confusing sed.
11965 lt_compile
=`echo "$ac_compile" | $SED \
11966 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11967 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11968 -e 's:$: $lt_compiler_flag:'`
11969 (eval echo "\"\$as_me:11969: $lt_compile\"" >&5)
11970 (eval "$lt_compile" 2>conftest.err
)
11972 cat conftest.err
>&5
11973 echo "$as_me:11973: \$? = $ac_status" >&5
11974 if (exit $ac_status) && test -s "$ac_outfile"; then
11975 # The compiler can only warn and ignore the option if not recognized
11976 # So say no if there are warnings
11977 if test ! -s conftest.err
; then
11978 lt_prog_compiler_pic_works
=yes
11984 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
11985 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
11987 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
11988 case $lt_prog_compiler_pic in
11990 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11993 lt_prog_compiler_pic
=
11994 lt_prog_compiler_can_build_shared
=no
11999 # For platforms which do not support PIC, -DPIC is meaningless:
12001 lt_prog_compiler_pic
=
12004 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
12008 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12009 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12010 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 lt_cv_prog_compiler_c_o
=no
12014 $rm -r conftest
2>/dev
/null
12018 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12020 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12021 # Insert the option either (1) after the last *FLAGS variable, or
12022 # (2) before a word containing "conftest.", or (3) at the end.
12023 # Note that $ac_compile itself does not contain backslashes and begins
12024 # with a dollar sign (not a hyphen), so the echo should work correctly.
12025 lt_compile
=`echo "$ac_compile" | $SED \
12026 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12028 -e 's:$: $lt_compiler_flag:'`
12029 (eval echo "\"\$as_me:12029: $lt_compile\"" >&5)
12030 (eval "$lt_compile" 2>out
/conftest.err
)
12032 cat out
/conftest.err
>&5
12033 echo "$as_me:12033: \$? = $ac_status" >&5
12034 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12036 # The compiler can only warn and ignore the option if not recognized
12037 # So say no if there are warnings
12038 if test ! -s out
/conftest.err
; then
12039 lt_cv_prog_compiler_c_o
=yes
12044 # SGI C++ compiler will create directory out/ii_files/ for
12045 # template instantiation
12046 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12047 $rm out
/* && rmdir out
12053 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12054 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
12057 hard_links
="nottested"
12058 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
12059 # do not overwrite the value of need_locks provided by the user
12060 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12061 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12064 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12066 ln conftest.a conftest.b
2>&5 || hard_links
=no
12067 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12068 echo "$as_me:$LINENO: result: $hard_links" >&5
12069 echo "${ECHO_T}$hard_links" >&6
12070 if test "$hard_links" = no
; then
12071 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12072 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12079 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12080 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12083 allow_undefined_flag
=
12084 enable_shared_with_static_runtimes
=no
12086 archive_expsym_cmds
=
12087 old_archive_From_new_cmds
=
12088 old_archive_from_expsyms_cmds
=
12089 export_dynamic_flag_spec
=
12090 whole_archive_flag_spec
=
12091 thread_safe_flag_spec
=
12092 hardcode_libdir_flag_spec
=
12093 hardcode_libdir_flag_spec_ld
=
12094 hardcode_libdir_separator
=
12096 hardcode_minus_L
=no
12097 hardcode_shlibpath_var
=unsupported
12098 link_all_deplibs
=unknown
12099 hardcode_automatic
=no
12101 module_expsym_cmds
=
12102 always_export_symbols
=no
12103 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12104 # include_expsyms should be a list of space-separated symbols to be *always*
12105 # included in the symbol list
12107 # exclude_expsyms can be an extended regexp of symbols to exclude
12108 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12109 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12110 # as well as any symbol that contains `d'.
12111 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
12112 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12113 # platforms (ab)use it in PIC code, but their linkers get confused if
12114 # the symbol is explicitly referenced. Since portable code cannot
12115 # rely on this symbol name, it's probably fine to never include it in
12116 # preloaded symbol tables.
12117 extract_expsyms_cmds
=
12120 cygwin
* | mingw
* | pw32
*)
12121 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12122 # When not using gcc, we currently assume that we are using
12123 # Microsoft Visual C++.
12124 if test "$GCC" != yes; then
12134 if test "$with_gnu_ld" = yes; then
12135 # If archive_cmds runs LD, not CC, wlarc should be empty
12138 # See if GNU ld supports shared libraries.
12140 aix3
* | aix4
* | aix5
*)
12141 # On AIX/PPC, the GNU linker is very broken
12142 if test "$host_cpu" != ia64
; then
12146 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12147 *** to be unable to reliably create shared libraries on AIX.
12148 *** Therefore, libtool is disabling shared libraries support. If you
12149 *** really care for shared libraries, you may want to modify your PATH
12150 *** so that a non-GNU linker is found, and then restart.
12157 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)'
12158 hardcode_libdir_flag_spec
='-L$libdir'
12159 hardcode_minus_L
=yes
12161 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12162 # that the semantics of dynamic libraries on AmigaOS, at least up
12163 # to version 4, is to share data among multiple programs linked
12164 # with the same dynamic library. Since this doesn't match the
12165 # behavior of shared libraries on other platforms, we can't use
12171 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
12172 allow_undefined_flag
=unsupported
12173 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12174 # support --undefined. This deserves some investigation. FIXME
12175 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12181 cygwin
* | mingw
* | pw32
*)
12182 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12183 # as there is no search path for DLLs.
12184 hardcode_libdir_flag_spec
='-L$libdir'
12185 allow_undefined_flag
=unsupported
12186 always_export_symbols
=no
12187 enable_shared_with_static_runtimes
=yes
12188 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12190 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
12191 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12192 # If the export-symbols file already is a .def file (1st line
12193 # is EXPORTS), use it as is; otherwise, prepend...
12194 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12195 cp $export_symbols $output_objdir/$soname.def;
12197 echo EXPORTS > $output_objdir/$soname.def;
12198 cat $export_symbols >> $output_objdir/$soname.def;
12200 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12207 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12208 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12211 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12212 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12217 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
12221 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12222 *** create shared libraries on Solaris systems. Therefore, libtool
12223 *** is disabling shared libraries support. We urge you to upgrade GNU
12224 *** binutils to release 2.9.1 or newer. Another option is to modify
12225 *** your PATH or compiler configuration so that the native linker is
12226 *** used, and then restart.
12229 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
12230 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12238 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12240 hardcode_direct
=yes
12241 hardcode_shlibpath_var
=no
12245 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
12246 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12247 archive_cmds
="$tmp_archive_cmds"
12248 supports_anon_versioning
=no
12249 case `$LD -v 2>/dev/null` in
12250 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12251 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12252 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12253 *\
2.11.
*) ;; # other 2.11 versions
12254 *) supports_anon_versioning
=yes ;;
12256 if test $supports_anon_versioning = yes; then
12257 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
12258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12259 $echo "local: *; };" >> $output_objdir/$libname.ver~
12260 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12262 archive_expsym_cmds
="$tmp_archive_cmds"
12270 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
12271 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12272 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12279 if test "$ld_shlibs" = yes; then
12280 runpath_var
=LD_RUN_PATH
12281 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
12282 export_dynamic_flag_spec
='${wl}--export-dynamic'
12283 # ancient GNU ld didn't support --whole-archive et. al.
12284 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
12285 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12287 whole_archive_flag_spec
=
12291 # PORTME fill in a description of your system's linker (not GNU ld)
12294 allow_undefined_flag
=unsupported
12295 always_export_symbols
=yes
12296 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'
12297 # Note: this linker hardcodes the directories in LIBPATH if there
12298 # are no directories specified by -L.
12299 hardcode_minus_L
=yes
12300 if test "$GCC" = yes && test -z "$link_static_flag"; then
12301 # Neither direct hardcoding nor static linking is supported with a
12303 hardcode_direct
=unsupported
12308 if test "$host_cpu" = ia64
; then
12309 # On IA64, the linker does run time linking by default, so we don't
12310 # have to do anything special.
12311 aix_use_runtimelinking
=no
12312 exp_sym_flag
='-Bexport'
12315 # If we're using GNU nm, then we don't want the "-C" option.
12316 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12317 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12318 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'
12320 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'
12322 aix_use_runtimelinking
=no
12324 # Test if we are trying to use run time linking or normal
12325 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12326 # need to do runtime linking.
12327 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
12328 for ld_flag
in $LDFLAGS; do
12329 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12330 aix_use_runtimelinking
=yes
12336 exp_sym_flag
='-bexport'
12337 no_entry_flag
='-bnoentry'
12340 # When large executables or shared objects are built, AIX ld can
12341 # have problems creating the table of contents. If linking a library
12342 # or program results in "error TOC overflow" add -mminimal-toc to
12343 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12344 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12347 hardcode_direct
=yes
12348 hardcode_libdir_separator
=':'
12349 link_all_deplibs
=yes
12351 if test "$GCC" = yes; then
12352 case $host_os in aix4.012|aix4.012.
*)
12353 # We only want to do this on AIX 4.2 and lower, the check
12354 # below for broken collect2 doesn't work under 4.3+
12355 collect2name
=`${CC} -print-prog-name=collect2`
12356 if test -f "$collect2name" && \
12357 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
12359 # We have reworked collect2
12360 hardcode_direct
=yes
12362 # We have old collect2
12363 hardcode_direct
=unsupported
12364 # It fails to find uninstalled libraries when the uninstalled
12365 # path is not listed in the libpath. Setting hardcode_minus_L
12366 # to unsupported forces relinking
12367 hardcode_minus_L
=yes
12368 hardcode_libdir_flag_spec
='-L$libdir'
12369 hardcode_libdir_separator
=
12372 shared_flag
='-shared'
12375 if test "$host_cpu" = ia64
; then
12376 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12377 # chokes on -Wl,-G. The following line is correct:
12380 if test "$aix_use_runtimelinking" = yes; then
12381 shared_flag
='${wl}-G'
12383 shared_flag
='${wl}-bM:SRE'
12388 # It seems that -bexpall does not export symbols beginning with
12389 # underscore (_), so it is better to generate a list of symbols to export.
12390 always_export_symbols
=yes
12391 if test "$aix_use_runtimelinking" = yes; then
12392 # Warning - without using the other runtime loading flags (-brtl),
12393 # -berok will link without error, but may produce a broken library.
12394 allow_undefined_flag
='-berok'
12395 # Determine the default libpath from the value encoded in an empty executable.
12396 cat >conftest.
$ac_ext <<_ACEOF
12399 cat confdefs.h
>>conftest.
$ac_ext
12400 cat >>conftest.
$ac_ext <<_ACEOF
12401 /* end confdefs.h. */
12411 rm -f conftest.
$ac_objext conftest
$ac_exeext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12413 (eval $ac_link) 2>conftest.er1
12415 grep -v '^ *+' conftest.er1
>conftest.err
12417 cat conftest.err
>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try
='test -z "$ac_c_werror_flag"
12421 || test ! -s conftest.err'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; } &&
12427 { ac_try
='test -s conftest$ac_exeext'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; }; then
12434 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12436 # Check for a 64-bit object if we didn't find anything.
12437 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.
$ac_ext >&5
12444 rm -f conftest.err conftest.
$ac_objext \
12445 conftest
$ac_exeext conftest.
$ac_ext
12446 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12448 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12449 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12451 if test "$host_cpu" = ia64; then
12452 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
12453 allow_undefined_flag="-z nodefs"
12454 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
12456 # Determine the default libpath from the value encoded in an empty executable.
12457 cat >conftest.$ac_ext <<_ACEOF
12460 cat confdefs.h >>conftest.$ac_ext
12461 cat >>conftest.$ac_ext <<_ACEOF
12462 /* end confdefs.h. */
12472 rm -f conftest.$ac_objext conftest$ac_exeext
12473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12474 (eval $ac_link) 2>conftest.er1
12476 grep -v '^ *+' conftest.er1 >conftest.err
12478 cat conftest.err >&5
12479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12480 (exit $ac_status); } &&
12481 { ac_try='test -z "$ac_c_werror_flag"
12482 || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try='test -s conftest$ac_exeext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12493 (exit $ac_status); }; }; then
12495 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12497 # Check for a 64-bit object if we didn't find anything.
12498 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12501 echo "$as_me: failed program was
:" >&5
12502 sed 's/^/| /' conftest.$ac_ext >&5
12505 rm -f conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
12509 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12510 # Warning - without using the other run time loading flags,
12511 # -berok will link without error, but may produce a broken library.
12512 no_undefined_flag=' ${wl}-bernotok'
12513 allow_undefined_flag=' ${wl}-berok'
12514 # -bexpall does not export symbols beginning with underscore (_)
12515 always_export_symbols=yes
12516 # Exported symbols can be pulled into shared objects from archives
12517 whole_archive_flag_spec=' '
12518 archive_cmds_need_lc=yes
12519 # This is similar to how AIX traditionally builds it's shared libraries.
12520 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12526 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)'
12527 hardcode_libdir_flag_spec
='-L$libdir'
12528 hardcode_minus_L
=yes
12529 # see comment about different semantics on the GNU ld section
12534 export_dynamic_flag_spec
=-rdynamic
12537 cygwin
* | mingw
* | pw32
*)
12538 # When not using gcc, we currently assume that we are using
12539 # Microsoft Visual C++.
12540 # hardcode_libdir_flag_spec is actually meaningless, as there is
12541 # no search path for DLLs.
12542 hardcode_libdir_flag_spec
=' '
12543 allow_undefined_flag
=unsupported
12544 # Tell ltmain to make .lib files, not .a files.
12546 # Tell ltmain to make .dll files, not .so files.
12548 # FIXME: Setting linknames here is a bad hack.
12549 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
12550 # The linker will automatically build a .lib file if we build a DLL.
12551 old_archive_From_new_cmds
='true'
12552 # FIXME: Should let the user specify the lib program.
12553 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
12554 fix_srcfile_path
='`cygpath -w "$srcfile"`'
12555 enable_shared_with_static_runtimes
=yes
12558 darwin
* | rhapsody
*)
12560 rhapsody
* | darwin1.
[012])
12561 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
12564 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12565 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12567 case ${MACOSX_DEPLOYMENT_TARGET} in
12569 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12572 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
12578 archive_cmds_need_lc
=no
12580 hardcode_automatic
=yes
12581 hardcode_shlibpath_var
=unsupported
12582 whole_archive_flag_spec
=''
12583 link_all_deplibs
=yes
12584 if test "$GCC" = yes ; then
12585 output_verbose_link_cmd
='echo'
12586 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12587 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12588 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12589 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12590 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12592 case "$cc_basename" in
12594 output_verbose_link_cmd
='echo'
12595 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
12596 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12597 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12598 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12599 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12609 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12610 hardcode_libdir_flag_spec
='-L$libdir'
12611 hardcode_shlibpath_var
=no
12618 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12619 # support. Future versions do this automatically, but an explicit c++rt0.o
12620 # does not break anything, and helps significantly (at the cost of a little
12623 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12624 hardcode_libdir_flag_spec
='-R$libdir'
12625 hardcode_direct
=yes
12626 hardcode_shlibpath_var
=no
12629 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12631 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12632 hardcode_direct
=yes
12633 hardcode_minus_L
=yes
12634 hardcode_shlibpath_var
=no
12637 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12638 freebsd
* | kfreebsd
*-gnu)
12639 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12640 hardcode_libdir_flag_spec
='-R$libdir'
12641 hardcode_direct
=yes
12642 hardcode_shlibpath_var
=no
12646 if test "$GCC" = yes; then
12647 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'
12649 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'
12651 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12652 hardcode_libdir_separator
=:
12653 hardcode_direct
=yes
12655 # hardcode_minus_L: Not really in the search PATH,
12656 # but as the default location of the library.
12657 hardcode_minus_L
=yes
12658 export_dynamic_flag_spec
='${wl}-E'
12662 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12663 case "$host_cpu" in
12665 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12668 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12672 case "$host_cpu" in
12674 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
12677 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12681 if test "$with_gnu_ld" = no
; then
12682 case "$host_cpu" in
12684 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12685 hardcode_libdir_flag_spec_ld
='+b $libdir'
12686 hardcode_libdir_separator
=:
12688 hardcode_shlibpath_var
=no
12691 hardcode_libdir_flag_spec
='-L$libdir'
12693 hardcode_shlibpath_var
=no
12695 # hardcode_minus_L: Not really in the search PATH,
12696 # but as the default location of the library.
12697 hardcode_minus_L
=yes
12700 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12701 hardcode_libdir_separator
=:
12702 hardcode_direct
=yes
12703 export_dynamic_flag_spec
='${wl}-E'
12705 # hardcode_minus_L: Not really in the search PATH,
12706 # but as the default location of the library.
12707 hardcode_minus_L
=yes
12713 irix5
* | irix6
* | nonstopux
*)
12714 if test "$GCC" = yes; then
12715 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12717 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12718 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
12720 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12721 hardcode_libdir_separator
=:
12722 link_all_deplibs
=yes
12726 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12727 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12729 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12731 hardcode_libdir_flag_spec
='-R$libdir'
12732 hardcode_direct
=yes
12733 hardcode_shlibpath_var
=no
12737 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12738 hardcode_direct
=yes
12739 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12740 hardcode_libdir_separator
=:
12741 hardcode_shlibpath_var
=no
12745 hardcode_direct
=yes
12746 hardcode_shlibpath_var
=no
12747 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12748 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12749 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12750 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12751 export_dynamic_flag_spec
='${wl}-E'
12754 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12755 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12756 hardcode_libdir_flag_spec
='-R$libdir'
12759 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12760 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12767 hardcode_libdir_flag_spec
='-L$libdir'
12768 hardcode_minus_L
=yes
12769 allow_undefined_flag
=unsupported
12770 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'
12771 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12775 if test "$GCC" = yes; then
12776 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12777 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12779 allow_undefined_flag
=' -expect_unresolved \*'
12780 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12782 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12783 hardcode_libdir_separator
=:
12786 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12787 if test "$GCC" = yes; then
12788 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12789 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12790 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12792 allow_undefined_flag
=' -expect_unresolved \*'
12793 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12794 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
12795 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
12797 # Both c and cxx compiler support -rpath directly
12798 hardcode_libdir_flag_spec
='-rpath $libdir'
12800 hardcode_libdir_separator
=:
12804 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12805 hardcode_shlibpath_var
=no
12806 export_dynamic_flag_spec
='${wl}-Bexport'
12807 runpath_var
=LD_RUN_PATH
12808 hardcode_runpath_var
=yes
12812 no_undefined_flag
=' -z text'
12813 if test "$GCC" = yes; then
12814 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12815 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12816 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
12818 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12819 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12820 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12822 hardcode_libdir_flag_spec
='-R$libdir'
12823 hardcode_shlibpath_var
=no
12825 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12826 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
12827 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
12829 link_all_deplibs
=yes
12833 if test "x$host_vendor" = xsequent
; then
12834 # Use $CC to link under sequent, because it throws in some extra .o
12835 # files that make .init and .fini sections work.
12836 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12838 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12840 hardcode_libdir_flag_spec
='-L$libdir'
12841 hardcode_direct
=yes
12842 hardcode_minus_L
=yes
12843 hardcode_shlibpath_var
=no
12847 case $host_vendor in
12849 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12850 hardcode_direct
=yes # is this really true???
12853 ## LD is ld it makes a PLAMLIB
12854 ## CC just makes a GrossModule.
12855 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12856 reload_cmds
='$CC -r -o $output$reload_objs'
12860 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12861 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12864 runpath_var
='LD_RUN_PATH'
12865 hardcode_shlibpath_var
=no
12869 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12870 hardcode_shlibpath_var
=no
12871 export_dynamic_flag_spec
='-Bexport'
12875 if test -d /usr
/nec
; then
12876 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12877 hardcode_shlibpath_var
=no
12878 runpath_var
=LD_RUN_PATH
12879 hardcode_runpath_var
=yes
12885 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12886 hardcode_direct
=yes
12887 hardcode_minus_L
=no
12888 hardcode_shlibpath_var
=no
12889 hardcode_runpath_var
=yes
12890 runpath_var
=LD_RUN_PATH
12893 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
12894 no_undefined_flag
='${wl}-z ${wl}text'
12895 if test "$GCC" = yes; then
12896 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12898 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12900 runpath_var
='LD_RUN_PATH'
12901 hardcode_shlibpath_var
=no
12905 no_undefined_flag
=' -z text'
12906 # $CC -shared without GNU ld will not create a library from C++
12907 # object files and a static libstdc++, better avoid it by now
12908 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12909 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12910 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12911 hardcode_libdir_flag_spec
=
12912 hardcode_shlibpath_var
=no
12913 runpath_var
='LD_RUN_PATH'
12917 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12918 hardcode_libdir_flag_spec
='-L$libdir'
12919 hardcode_shlibpath_var
=no
12928 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12929 echo "${ECHO_T}$ld_shlibs" >&6
12930 test "$ld_shlibs" = no
&& can_build_shared
=no
12932 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12933 if test "$GCC" = yes; then
12934 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12938 # Do we need to explicitly link libc?
12940 case "x$archive_cmds_need_lc" in
12942 # Assume -lc should be added
12943 archive_cmds_need_lc
=yes
12945 if test "$enable_shared" = yes && test "$GCC" = yes; then
12946 case $archive_cmds in
12948 # FIXME: we may have to deal with multi-command sequences.
12951 # Test whether the compiler implicitly links with -lc since on some
12952 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12953 # to ld, don't add -lc before -lgcc.
12954 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12955 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12957 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12960 (eval $ac_compile) 2>&5
12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); } 2>conftest.err
; then
12966 libobjs
=conftest.
$ac_objext
12968 wl
=$lt_prog_compiler_wl
12974 lt_save_allow_undefined_flag
=$allow_undefined_flag
12975 allow_undefined_flag
=
12976 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12977 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }
12982 archive_cmds_need_lc
=no
12984 archive_cmds_need_lc
=yes
12986 allow_undefined_flag
=$lt_save_allow_undefined_flag
12988 cat conftest.err
1>&5
12991 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12992 echo "${ECHO_T}$archive_cmds_need_lc" >&6
12999 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13000 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13001 library_names_spec
=
13002 libname_spec
='lib$name'
13006 postuninstall_cmds
=
13010 shlibpath_overrides_runpath
=unknown
13012 dynamic_linker
="$host_os ld.so"
13013 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13014 if test "$GCC" = yes; then
13015 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13016 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
13017 # if the path contains ";" then we assume it to be the separator
13018 # otherwise default to the standard path separator (i.e. ":") - it is
13019 # assumed that no part of a normal pathname contains ";" but that should
13020 # okay in the real world where ";" in dirpaths is itself problematic.
13021 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13023 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13026 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13028 need_lib_prefix
=unknown
13029 hardcode_into_libs
=no
13031 # when you set need_version to no, make sure it does not cause -set_version
13032 # flags to be left without arguments
13033 need_version
=unknown
13038 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13039 shlibpath_var
=LIBPATH
13041 # AIX 3 has no versioning support, so we append a major version to the name.
13042 soname_spec
='${libname}${release}${shared_ext}$major'
13049 hardcode_into_libs
=yes
13050 if test "$host_cpu" = ia64
; then
13051 # AIX 5 supports IA64
13052 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13053 shlibpath_var
=LD_LIBRARY_PATH
13055 # With GCC up to 2.95.x, collect2 would create an import file
13056 # for dependence libraries. The import file would start with
13057 # the line `#! .'. This would cause the generated library to
13058 # depend on `.', always an invalid library. This was fixed in
13059 # development snapshots of GCC prior to 3.0.
13061 aix4 | aix4.
[01] | aix4.
[01].
*)
13062 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13064 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13067 can_build_shared
=no
13071 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13072 # soname into executable. Probably we can add versioning support to
13073 # collect2, so additional links can be useful in future.
13074 if test "$aix_use_runtimelinking" = yes; then
13075 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13076 # instead of lib<name>.a to let people know that these are not
13077 # typical AIX shared libraries.
13078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13080 # We preserve .a as extension for shared libraries through AIX4.2
13081 # and later when we are not doing run time linking.
13082 library_names_spec
='${libname}${release}.a $libname.a'
13083 soname_spec
='${libname}${release}${shared_ext}$major'
13085 shlibpath_var
=LIBPATH
13090 library_names_spec
='$libname.ixlibrary $libname.a'
13091 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13092 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'
13096 library_names_spec
='${libname}${shared_ext}'
13097 dynamic_linker
="$host_os ld.so"
13098 shlibpath_var
=LIBRARY_PATH
13104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13105 soname_spec
='${libname}${release}${shared_ext}$major'
13106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13107 shlibpath_var
=LD_LIBRARY_PATH
13108 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13109 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13110 # the default ld.so.conf also contains /usr/contrib/lib and
13111 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13112 # libtool to hard-code these into programs
13115 cygwin
* | mingw
* | pw32
*)
13116 version_type
=windows
13121 case $GCC,$host_os in
13122 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13123 library_names_spec
='$libname.dll.a'
13124 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13125 postinstall_cmds
='base_file=`basename \${file}`~
13126 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13127 dldir=$destdir/`dirname \$dlpath`~
13128 test -d \$dldir || mkdir -p \$dldir~
13129 $install_prog $dir/$dlname \$dldir/$dlname'
13130 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13131 dlpath=$dir/\$dldll~
13133 shlibpath_overrides_runpath
=yes
13137 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13138 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13139 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13142 # MinGW DLLs use traditional 'lib' prefix
13143 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13144 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13145 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13146 # It is most probably a Windows format PATH printed by
13147 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13148 # path with ; separators, and with drive letters. We can handle the
13149 # drive letters (cygwin fileutils understands them), so leave them,
13150 # especially as we might pass files found there to a mingw objdump,
13151 # which wouldn't understand a cygwinified path. Ahh.
13152 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13154 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13158 # pw32 DLLs use 'pw' prefix rather than 'lib'
13159 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
13165 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13168 dynamic_linker
='Win32 ld.exe'
13169 # FIXME: first we should search . and the directory the executable is in
13173 darwin
* | rhapsody
*)
13174 dynamic_linker
="$host_os dyld"
13175 version_type
=darwin
13178 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13179 soname_spec
='${libname}${release}${major}$shared_ext'
13180 shlibpath_overrides_runpath
=yes
13181 shlibpath_var
=DYLD_LIBRARY_PATH
13182 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
13183 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13184 if test "$GCC" = yes; then
13185 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13187 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13189 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13197 soname_spec
='${libname}${release}${shared_ext}$major'
13198 shlibpath_var
=LD_LIBRARY_PATH
13209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13210 soname_spec
='${libname}${release}${shared_ext}$major'
13211 shlibpath_var
=LD_LIBRARY_PATH
13212 shlibpath_overrides_runpath
=no
13213 hardcode_into_libs
=yes
13214 dynamic_linker
='GNU ld.so'
13218 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
13219 version_type
=freebsd-
$objformat
13220 case $version_type in
13222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13227 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13231 shlibpath_var
=LD_LIBRARY_PATH
13234 shlibpath_overrides_runpath
=yes
13236 freebsd3.01
* | freebsdelf3.01
*)
13237 shlibpath_overrides_runpath
=yes
13238 hardcode_into_libs
=yes
13241 shlibpath_overrides_runpath
=no
13242 hardcode_into_libs
=yes
13251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13252 soname_spec
='${libname}${release}${shared_ext}$major'
13253 shlibpath_var
=LD_LIBRARY_PATH
13254 hardcode_into_libs
=yes
13257 hpux9
* | hpux10
* | hpux11
*)
13258 # Give a soname corresponding to the major version so that dld.sl refuses to
13259 # link against other versions.
13263 case "$host_cpu" in
13266 hardcode_into_libs
=yes
13267 dynamic_linker
="$host_os dld.so"
13268 shlibpath_var
=LD_LIBRARY_PATH
13269 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13271 soname_spec
='${libname}${release}${shared_ext}$major'
13272 if test "X$HPUX_IA64_MODE" = X32
; then
13273 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13275 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13277 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13281 hardcode_into_libs
=yes
13282 dynamic_linker
="$host_os dld.sl"
13283 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13284 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13286 soname_spec
='${libname}${release}${shared_ext}$major'
13287 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13288 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13292 dynamic_linker
="$host_os dld.sl"
13293 shlibpath_var
=SHLIB_PATH
13294 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13296 soname_spec
='${libname}${release}${shared_ext}$major'
13299 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13300 postinstall_cmds
='chmod 555 $lib'
13303 irix5
* | irix6
* | nonstopux
*)
13305 nonstopux
*) version_type
=nonstopux
;;
13307 if test "$lt_cv_prog_gnu_ld" = yes; then
13315 soname_spec
='${libname}${release}${shared_ext}$major'
13316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13318 irix5
* | nonstopux
*)
13319 libsuff
= shlibsuff
=
13322 case $LD in # libtool.m4 will add one of these switches to LD
13323 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13324 libsuff
= shlibsuff
= libmagic
=32-bit;;
13325 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13326 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13327 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13328 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13329 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13333 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13334 shlibpath_overrides_runpath
=no
13335 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13336 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13337 hardcode_into_libs
=yes
13340 # No shared lib support for Linux oldld, aout, or coff.
13341 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13345 # This must be Linux ELF.
13350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13351 soname_spec
='${libname}${release}${shared_ext}$major'
13352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13353 shlibpath_var
=LD_LIBRARY_PATH
13354 shlibpath_overrides_runpath
=no
13355 # This implies no fast_install, which is unacceptable.
13356 # Some rework will be needed to allow for fast_install
13357 # before this can be enabled.
13358 hardcode_into_libs
=yes
13360 # Append ld.so.conf contents to the search path
13361 if test -f /etc
/ld.so.conf
; then
13362 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
13363 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13366 # We used to test for /lib/ld.so.1 and disable shared libraries on
13367 # powerpc, because MkLinux only supported shared libraries with the
13368 # GNU dynamic linker. Since this was broken with cross compilers,
13369 # most powerpc-linux boxes support dynamic linking these days and
13370 # people can always --disable-shared, the test was removed, and we
13371 # assume the GNU/Linux dynamic linker is in use.
13372 dynamic_linker
='GNU/Linux ld.so'
13379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13380 soname_spec
='${libname}${release}${shared_ext}$major'
13381 shlibpath_var
=LD_LIBRARY_PATH
13382 shlibpath_overrides_runpath
=no
13383 hardcode_into_libs
=yes
13384 dynamic_linker
='GNU ld.so'
13391 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13394 dynamic_linker
='NetBSD (a.out) ld.so'
13396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13397 soname_spec
='${libname}${release}${shared_ext}$major'
13398 dynamic_linker
='NetBSD ld.elf_so'
13400 shlibpath_var
=LD_LIBRARY_PATH
13401 shlibpath_overrides_runpath
=yes
13402 hardcode_into_libs
=yes
13407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13408 shlibpath_var
=LD_LIBRARY_PATH
13409 shlibpath_overrides_runpath
=yes
13416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13417 soname_spec
='${libname}${release}${shared_ext}$major'
13418 shlibpath_var
=LD_LIBRARY_PATH
13419 shlibpath_overrides_runpath
=yes
13426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13427 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13428 shlibpath_var
=LD_LIBRARY_PATH
13429 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13431 openbsd2.
[89] | openbsd2.
[89].
*)
13432 shlibpath_overrides_runpath
=no
13435 shlibpath_overrides_runpath
=yes
13439 shlibpath_overrides_runpath
=yes
13444 libname_spec
='$name'
13447 library_names_spec
='$libname${shared_ext} $libname.a'
13448 dynamic_linker
='OS/2 ld.exe'
13449 shlibpath_var
=LIBPATH
13452 osf3
* | osf4
* | osf5
*)
13456 soname_spec
='${libname}${release}${shared_ext}$major'
13457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13458 shlibpath_var
=LD_LIBRARY_PATH
13459 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13460 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13465 soname_spec
='${libname}${release}${shared_ext}$major'
13466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13467 shlibpath_var
=LD_LIBRARY_PATH
13474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13475 soname_spec
='${libname}${release}${shared_ext}$major'
13476 shlibpath_var
=LD_LIBRARY_PATH
13477 shlibpath_overrides_runpath
=yes
13478 hardcode_into_libs
=yes
13479 # ldd complains unless libraries are executable
13480 postinstall_cmds
='chmod +x $lib'
13485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13486 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13487 shlibpath_var
=LD_LIBRARY_PATH
13488 shlibpath_overrides_runpath
=yes
13489 if test "$with_gnu_ld" = yes; then
13495 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13498 soname_spec
='${libname}${release}${shared_ext}$major'
13499 shlibpath_var
=LD_LIBRARY_PATH
13500 case $host_vendor in
13502 shlibpath_overrides_runpath
=no
13504 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13505 runpath_var
=LD_RUN_PATH
13513 shlibpath_overrides_runpath
=no
13514 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13520 if test -d /usr
/nec
;then
13522 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13523 soname_spec
='$libname${shared_ext}.$major'
13524 shlibpath_var
=LD_LIBRARY_PATH
13530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13531 soname_spec
='${libname}${release}${shared_ext}$major'
13532 shlibpath_var
=LD_LIBRARY_PATH
13539 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13540 echo "${ECHO_T}$dynamic_linker" >&6
13541 test "$dynamic_linker" = no
&& can_build_shared
=no
13543 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13544 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13546 if test -n "$hardcode_libdir_flag_spec" || \
13547 test -n "$runpath_var" || \
13548 test "X$hardcode_automatic" = "Xyes" ; then
13550 # We can hardcode non-existant directories.
13551 if test "$hardcode_direct" != no
&&
13552 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13553 # have to relink, otherwise we might link with an installed library
13554 # when we should be linking with a yet-to-be-installed one
13555 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
13556 test "$hardcode_minus_L" != no
; then
13557 # Linking always hardcodes the temporary library directory.
13558 hardcode_action
=relink
13560 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13561 hardcode_action
=immediate
13564 # We cannot hardcode anything, or else we can only hardcode existing
13566 hardcode_action
=unsupported
13568 echo "$as_me:$LINENO: result: $hardcode_action" >&5
13569 echo "${ECHO_T}$hardcode_action" >&6
13571 if test "$hardcode_action" = relink
; then
13572 # Fast installation is not supported
13573 enable_fast_install
=no
13574 elif test "$shlibpath_overrides_runpath" = yes ||
13575 test "$enable_shared" = no
; then
13576 # Fast installation is not necessary
13577 enable_fast_install
=needless
13582 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13583 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13584 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
13585 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13586 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13587 echo "$as_me:$LINENO: result: yes" >&5
13588 echo "${ECHO_T}yes" >&6
13590 # FIXME - insert some real tests, host_os isn't really good enough
13593 if test -n "$STRIP" ; then
13594 striplib
="$STRIP -x"
13595 echo "$as_me:$LINENO: result: yes" >&5
13596 echo "${ECHO_T}yes" >&6
13598 echo "$as_me:$LINENO: result: no" >&5
13599 echo "${ECHO_T}no" >&6
13603 echo "$as_me:$LINENO: result: no" >&5
13604 echo "${ECHO_T}no" >&6
13609 if test "x$enable_dlopen" != xyes
; then
13610 enable_dlopen
=unknown
13611 enable_dlopen_self
=unknown
13612 enable_dlopen_self_static
=unknown
13619 lt_cv_dlopen
="load_add_on"
13621 lt_cv_dlopen_self
=yes
13625 lt_cv_dlopen
="LoadLibrary"
13630 lt_cv_dlopen
="dlopen"
13635 # if libdl is installed we need to link against it
13636 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13637 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13638 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13639 echo $ECHO_N "(cached) $ECHO_C" >&6
13641 ac_check_lib_save_LIBS
=$LIBS
13643 cat >conftest.
$ac_ext <<_ACEOF
13646 cat confdefs.h
>>conftest.
$ac_ext
13647 cat >>conftest.
$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13650 /* Override any gcc2 internal prototype to avoid an error. */
13654 /* We use char because int might match the return type of a gcc2
13655 builtin and then its argument prototype would still apply. */
13665 rm -f conftest.
$ac_objext conftest
$ac_exeext
13666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13667 (eval $ac_link) 2>conftest.er1
13669 grep -v '^ *+' conftest.er1
>conftest.err
13671 cat conftest.err
>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } &&
13674 { ac_try
='test -z "$ac_c_werror_flag"
13675 || test ! -s conftest.err'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; } &&
13681 { ac_try
='test -s conftest$ac_exeext'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; }; then
13687 ac_cv_lib_dl_dlopen
=yes
13689 echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.
$ac_ext >&5
13692 ac_cv_lib_dl_dlopen
=no
13694 rm -f conftest.err conftest.
$ac_objext \
13695 conftest
$ac_exeext conftest.
$ac_ext
13696 LIBS
=$ac_check_lib_save_LIBS
13698 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13699 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13700 if test $ac_cv_lib_dl_dlopen = yes; then
13701 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13704 lt_cv_dlopen
="dyld"
13706 lt_cv_dlopen_self
=yes
13713 echo "$as_me:$LINENO: checking for shl_load" >&5
13714 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13715 if test "${ac_cv_func_shl_load+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13718 cat >conftest.
$ac_ext <<_ACEOF
13721 cat confdefs.h
>>conftest.
$ac_ext
13722 cat >>conftest.
$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13726 #define shl_load innocuous_shl_load
13728 /* System header to define __stub macros and hopefully few prototypes,
13729 which can conflict with char shl_load (); below.
13730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13731 <limits.h> exists even on freestanding compilers. */
13734 # include <limits.h>
13736 # include <assert.h>
13741 /* Override any gcc2 internal prototype to avoid an error. */
13746 /* We use char because int might match the return type of a gcc2
13747 builtin and then its argument prototype would still apply. */
13749 /* The GNU C library defines this for functions which it implements
13750 to always fail with ENOSYS. Some functions are actually named
13751 something starting with __ and the normal name is an alias. */
13752 #if defined (__stub_shl_load) || defined (__stub___shl_load)
13755 char (*f) () = shl_load;
13764 return f != shl_load;
13769 rm -f conftest.
$ac_objext conftest
$ac_exeext
13770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13771 (eval $ac_link) 2>conftest.er1
13773 grep -v '^ *+' conftest.er1
>conftest.err
13775 cat conftest.err
>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); } &&
13778 { ac_try
='test -z "$ac_c_werror_flag"
13779 || test ! -s conftest.err'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; } &&
13785 { ac_try
='test -s conftest$ac_exeext'
13786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13787 (eval $ac_try) 2>&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); }; }; then
13791 ac_cv_func_shl_load
=yes
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.
$ac_ext >&5
13796 ac_cv_func_shl_load
=no
13798 rm -f conftest.err conftest.
$ac_objext \
13799 conftest
$ac_exeext conftest.
$ac_ext
13801 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13802 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13803 if test $ac_cv_func_shl_load = yes; then
13804 lt_cv_dlopen
="shl_load"
13806 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13807 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13808 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 ac_check_lib_save_LIBS
=$LIBS
13813 cat >conftest.
$ac_ext <<_ACEOF
13816 cat confdefs.h
>>conftest.
$ac_ext
13817 cat >>conftest.
$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13820 /* Override any gcc2 internal prototype to avoid an error. */
13824 /* We use char because int might match the return type of a gcc2
13825 builtin and then its argument prototype would still apply. */
13835 rm -f conftest.
$ac_objext conftest
$ac_exeext
13836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13837 (eval $ac_link) 2>conftest.er1
13839 grep -v '^ *+' conftest.er1
>conftest.err
13841 cat conftest.err
>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try
='test -z "$ac_c_werror_flag"
13845 || test ! -s conftest.err'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; } &&
13851 { ac_try
='test -s conftest$ac_exeext'
13852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 (eval $ac_try) 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; }; then
13857 ac_cv_lib_dld_shl_load
=yes
13859 echo "$as_me: failed program was:" >&5
13860 sed 's/^/| /' conftest.
$ac_ext >&5
13862 ac_cv_lib_dld_shl_load
=no
13864 rm -f conftest.err conftest.
$ac_objext \
13865 conftest
$ac_exeext conftest.
$ac_ext
13866 LIBS
=$ac_check_lib_save_LIBS
13868 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13869 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13870 if test $ac_cv_lib_dld_shl_load = yes; then
13871 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
13873 echo "$as_me:$LINENO: checking for dlopen" >&5
13874 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13875 if test "${ac_cv_func_dlopen+set}" = set; then
13876 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 cat >conftest.
$ac_ext <<_ACEOF
13881 cat confdefs.h
>>conftest.
$ac_ext
13882 cat >>conftest.
$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13884 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13886 #define dlopen innocuous_dlopen
13888 /* System header to define __stub macros and hopefully few prototypes,
13889 which can conflict with char dlopen (); below.
13890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13891 <limits.h> exists even on freestanding compilers. */
13894 # include <limits.h>
13896 # include <assert.h>
13901 /* Override any gcc2 internal prototype to avoid an error. */
13906 /* We use char because int might match the return type of a gcc2
13907 builtin and then its argument prototype would still apply. */
13909 /* The GNU C library defines this for functions which it implements
13910 to always fail with ENOSYS. Some functions are actually named
13911 something starting with __ and the normal name is an alias. */
13912 #if defined (__stub_dlopen) || defined (__stub___dlopen)
13915 char (*f) () = dlopen;
13924 return f != dlopen;
13929 rm -f conftest.
$ac_objext conftest
$ac_exeext
13930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13931 (eval $ac_link) 2>conftest.er1
13933 grep -v '^ *+' conftest.er1
>conftest.err
13935 cat conftest.err
>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } &&
13938 { ac_try
='test -z "$ac_c_werror_flag"
13939 || test ! -s conftest.err'
13940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13941 (eval $ac_try) 2>&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); }; } &&
13945 { ac_try
='test -s conftest$ac_exeext'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; }; then
13951 ac_cv_func_dlopen
=yes
13953 echo "$as_me: failed program was:" >&5
13954 sed 's/^/| /' conftest.
$ac_ext >&5
13956 ac_cv_func_dlopen
=no
13958 rm -f conftest.err conftest.
$ac_objext \
13959 conftest
$ac_exeext conftest.
$ac_ext
13961 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13962 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13963 if test $ac_cv_func_dlopen = yes; then
13964 lt_cv_dlopen
="dlopen"
13966 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13967 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13968 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13969 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 ac_check_lib_save_LIBS
=$LIBS
13973 cat >conftest.
$ac_ext <<_ACEOF
13976 cat confdefs.h
>>conftest.
$ac_ext
13977 cat >>conftest.
$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13980 /* Override any gcc2 internal prototype to avoid an error. */
13984 /* We use char because int might match the return type of a gcc2
13985 builtin and then its argument prototype would still apply. */
13995 rm -f conftest.
$ac_objext conftest
$ac_exeext
13996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13997 (eval $ac_link) 2>conftest.er1
13999 grep -v '^ *+' conftest.er1
>conftest.err
14001 cat conftest.err
>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } &&
14004 { ac_try
='test -z "$ac_c_werror_flag"
14005 || test ! -s conftest.err'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; } &&
14011 { ac_try
='test -s conftest$ac_exeext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14017 ac_cv_lib_dl_dlopen
=yes
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.
$ac_ext >&5
14022 ac_cv_lib_dl_dlopen
=no
14024 rm -f conftest.err conftest.
$ac_objext \
14025 conftest
$ac_exeext conftest.
$ac_ext
14026 LIBS
=$ac_check_lib_save_LIBS
14028 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14029 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14030 if test $ac_cv_lib_dl_dlopen = yes; then
14031 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14033 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14034 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14035 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14036 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 ac_check_lib_save_LIBS
=$LIBS
14039 LIBS
="-lsvld $LIBS"
14040 cat >conftest.
$ac_ext <<_ACEOF
14043 cat confdefs.h
>>conftest.
$ac_ext
14044 cat >>conftest.
$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14047 /* Override any gcc2 internal prototype to avoid an error. */
14051 /* We use char because int might match the return type of a gcc2
14052 builtin and then its argument prototype would still apply. */
14062 rm -f conftest.
$ac_objext conftest
$ac_exeext
14063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14064 (eval $ac_link) 2>conftest.er1
14066 grep -v '^ *+' conftest.er1
>conftest.err
14068 cat conftest.err
>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } &&
14071 { ac_try
='test -z "$ac_c_werror_flag"
14072 || test ! -s conftest.err'
14073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14074 (eval $ac_try) 2>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); }; } &&
14078 { ac_try
='test -s conftest$ac_exeext'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; }; then
14084 ac_cv_lib_svld_dlopen
=yes
14086 echo "$as_me: failed program was:" >&5
14087 sed 's/^/| /' conftest.
$ac_ext >&5
14089 ac_cv_lib_svld_dlopen
=no
14091 rm -f conftest.err conftest.
$ac_objext \
14092 conftest
$ac_exeext conftest.
$ac_ext
14093 LIBS
=$ac_check_lib_save_LIBS
14095 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14096 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14097 if test $ac_cv_lib_svld_dlopen = yes; then
14098 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
14100 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14101 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14102 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 ac_check_lib_save_LIBS
=$LIBS
14107 cat >conftest.
$ac_ext <<_ACEOF
14110 cat confdefs.h
>>conftest.
$ac_ext
14111 cat >>conftest.
$ac_ext <<_ACEOF
14112 /* end confdefs.h. */
14114 /* Override any gcc2 internal prototype to avoid an error. */
14118 /* We use char because int might match the return type of a gcc2
14119 builtin and then its argument prototype would still apply. */
14129 rm -f conftest.
$ac_objext conftest
$ac_exeext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14131 (eval $ac_link) 2>conftest.er1
14133 grep -v '^ *+' conftest.er1
>conftest.err
14135 cat conftest.err
>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try
='test -z "$ac_c_werror_flag"
14139 || test ! -s conftest.err'
14140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14141 (eval $ac_try) 2>&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); }; } &&
14145 { ac_try
='test -s conftest$ac_exeext'
14146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14147 (eval $ac_try) 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; }; then
14151 ac_cv_lib_dld_dld_link
=yes
14153 echo "$as_me: failed program was:" >&5
14154 sed 's/^/| /' conftest.
$ac_ext >&5
14156 ac_cv_lib_dld_dld_link
=no
14158 rm -f conftest.err conftest.
$ac_objext \
14159 conftest
$ac_exeext conftest.
$ac_ext
14160 LIBS
=$ac_check_lib_save_LIBS
14162 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14163 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14164 if test $ac_cv_lib_dld_dld_link = yes; then
14165 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
14186 if test "x$lt_cv_dlopen" != xno
; then
14192 case $lt_cv_dlopen in
14194 save_CPPFLAGS
="$CPPFLAGS"
14195 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14197 save_LDFLAGS
="$LDFLAGS"
14198 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14201 LIBS
="$lt_cv_dlopen_libs $LIBS"
14203 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14204 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14205 if test "${lt_cv_dlopen_self+set}" = set; then
14206 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 if test "$cross_compiling" = yes; then :
14209 lt_cv_dlopen_self
=cross
14211 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14212 lt_status
=$lt_dlunknown
14213 cat > conftest.
$ac_ext <<EOF
14214 #line 14214 "configure"
14215 #include "confdefs.h"
14224 # define LT_DLGLOBAL RTLD_GLOBAL
14227 # define LT_DLGLOBAL DL_GLOBAL
14229 # define LT_DLGLOBAL 0
14233 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14234 find out it does not work in some platform. */
14235 #ifndef LT_DLLAZY_OR_NOW
14237 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14240 # define LT_DLLAZY_OR_NOW DL_LAZY
14243 # define LT_DLLAZY_OR_NOW RTLD_NOW
14246 # define LT_DLLAZY_OR_NOW DL_NOW
14248 # define LT_DLLAZY_OR_NOW 0
14256 extern "C" void exit (int);
14259 void fnord() { int i=42;}
14262 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14263 int status = $lt_dlunknown;
14267 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14268 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14269 /* dlclose (self); */
14275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14276 (eval $ac_link) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14280 (.
/conftest
; exit; ) 2>/dev
/null
14282 case x
$lt_status in
14283 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14284 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14285 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
14288 # compilation failed
14289 lt_cv_dlopen_self
=no
14296 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14297 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14299 if test "x$lt_cv_dlopen_self" = xyes
; then
14300 LDFLAGS
="$LDFLAGS $link_static_flag"
14301 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14302 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14303 if test "${lt_cv_dlopen_self_static+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 if test "$cross_compiling" = yes; then :
14307 lt_cv_dlopen_self_static
=cross
14309 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14310 lt_status
=$lt_dlunknown
14311 cat > conftest.
$ac_ext <<EOF
14312 #line 14312 "configure"
14313 #include "confdefs.h"
14322 # define LT_DLGLOBAL RTLD_GLOBAL
14325 # define LT_DLGLOBAL DL_GLOBAL
14327 # define LT_DLGLOBAL 0
14331 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14332 find out it does not work in some platform. */
14333 #ifndef LT_DLLAZY_OR_NOW
14335 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14338 # define LT_DLLAZY_OR_NOW DL_LAZY
14341 # define LT_DLLAZY_OR_NOW RTLD_NOW
14344 # define LT_DLLAZY_OR_NOW DL_NOW
14346 # define LT_DLLAZY_OR_NOW 0
14354 extern "C" void exit (int);
14357 void fnord() { int i=42;}
14360 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14361 int status = $lt_dlunknown;
14365 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14366 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14367 /* dlclose (self); */
14373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14374 (eval $ac_link) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14378 (.
/conftest
; exit; ) 2>/dev
/null
14380 case x
$lt_status in
14381 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14382 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14383 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
14386 # compilation failed
14387 lt_cv_dlopen_self_static
=no
14394 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14395 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
14398 CPPFLAGS
="$save_CPPFLAGS"
14399 LDFLAGS
="$save_LDFLAGS"
14404 case $lt_cv_dlopen_self in
14405 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14406 *) enable_dlopen_self
=unknown
;;
14409 case $lt_cv_dlopen_self_static in
14410 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14411 *) enable_dlopen_self_static
=unknown
;;
14416 # Report which librarie types wil actually be built
14417 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14418 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14419 echo "$as_me:$LINENO: result: $can_build_shared" >&5
14420 echo "${ECHO_T}$can_build_shared" >&6
14422 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14423 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14424 test "$can_build_shared" = "no" && enable_shared
=no
14426 # On AIX, shared libraries and static libraries use the same namespace, and
14427 # are all built from PIC.
14430 test "$enable_shared" = yes && enable_static
=no
14431 if test -n "$RANLIB"; then
14432 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14433 postinstall_cmds
='$RANLIB $lib'
14438 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14439 test "$enable_shared" = yes && enable_static
=no
14443 echo "$as_me:$LINENO: result: $enable_shared" >&5
14444 echo "${ECHO_T}$enable_shared" >&6
14446 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14447 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14448 # Make sure either enable_shared or enable_static is yes.
14449 test "$enable_shared" = yes || enable_static
=yes
14450 echo "$as_me:$LINENO: result: $enable_static" >&5
14451 echo "${ECHO_T}$enable_static" >&6
14453 # The else clause should only fire when bootstrapping the
14454 # libtool distribution, otherwise you forgot to ship ltmain.sh
14455 # with your package, and you will get complaints that there are
14456 # no rules to generate ltmain.sh.
14457 if test -f "$ltmain"; then
14458 # See if we are running on zsh, and set the options which allow our commands through
14459 # without removal of \ escapes.
14460 if test -n "${ZSH_VERSION+set}" ; then
14461 setopt NO_GLOB_SUBST
14463 # Now quote all the things that may contain metacharacters while being
14464 # careful not to overquote the AC_SUBSTed values. We take copies of the
14465 # variables and quote the copies for generation of the libtool script.
14466 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14468 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14469 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14470 deplibs_check_method reload_flag reload_cmds need_locks \
14471 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14472 lt_cv_sys_global_symbol_to_c_name_address \
14473 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14474 old_postinstall_cmds old_postuninstall_cmds \
14478 lt_prog_compiler_wl \
14479 lt_prog_compiler_pic \
14480 lt_prog_compiler_static \
14481 lt_prog_compiler_no_builtin_flag \
14482 export_dynamic_flag_spec \
14483 thread_safe_flag_spec \
14484 whole_archive_flag_spec \
14485 enable_shared_with_static_runtimes \
14487 old_archive_from_new_cmds \
14492 compiler_lib_search_path \
14494 archive_expsym_cmds \
14496 postuninstall_cmds \
14497 old_archive_from_expsyms_cmds \
14498 allow_undefined_flag \
14499 no_undefined_flag \
14500 export_symbols_cmds \
14501 hardcode_libdir_flag_spec \
14502 hardcode_libdir_flag_spec_ld \
14503 hardcode_libdir_separator \
14504 hardcode_automatic \
14506 module_expsym_cmds \
14507 lt_cv_prog_compiler_c_o \
14509 include_expsyms
; do
14512 old_archive_cmds | \
14513 old_archive_from_new_cmds | \
14515 archive_expsym_cmds | \
14517 module_expsym_cmds | \
14518 old_archive_from_expsyms_cmds | \
14519 export_symbols_cmds | \
14520 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14521 postinstall_cmds | postuninstall_cmds | \
14522 old_postinstall_cmds | old_postuninstall_cmds | \
14523 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14524 # Double-quote double-evaled strings.
14525 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14528 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14534 *'\$0 --fallback-echo"')
14535 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14539 cfgfile
="${ofile}T"
14540 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
14542 { echo "$as_me:$LINENO: creating $ofile" >&5
14543 echo "$as_me: creating $ofile" >&6;}
14545 cat <<__EOF__ >> "$cfgfile"
14548 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14549 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
14550 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14552 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
14553 # Free Software Foundation, Inc.
14555 # This file is part of GNU Libtool:
14556 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14558 # This program is free software; you can redistribute it and/or modify
14559 # it under the terms of the GNU General Public License as published by
14560 # the Free Software Foundation; either version 2 of the License, or
14561 # (at your option) any later version.
14563 # This program is distributed in the hope that it will be useful, but
14564 # WITHOUT ANY WARRANTY; without even the implied warranty of
14565 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14566 # General Public License for more details.
14568 # You should have received a copy of the GNU General Public License
14569 # along with this program; if not, write to the Free Software
14570 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
14572 # As a special exception to the GNU General Public License, if you
14573 # distribute this file as part of a program that contains a
14574 # configuration script generated by Autoconf, you may include it under
14575 # the same distribution terms that you use for the rest of that program.
14577 # A sed program that does not truncate output.
14580 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14581 Xsed="$SED -e s/^X//"
14583 # The HP-UX ksh and POSIX shell print the target directory to stdout
14584 # if CDPATH is set.
14585 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14587 # The names of the tagged configurations supported by this script.
14590 # ### BEGIN LIBTOOL CONFIG
14592 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14594 # Shell to use when invoking shell scripts.
14597 # Whether or not to build shared libraries.
14598 build_libtool_libs=$enable_shared
14600 # Whether or not to build static libraries.
14601 build_old_libs=$enable_static
14603 # Whether or not to add -lc for building shared libraries.
14604 build_libtool_need_lc=$archive_cmds_need_lc
14606 # Whether or not to disallow shared libs when runtime libs are static
14607 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14609 # Whether or not to optimize for fast installation.
14610 fast_install=$enable_fast_install
14613 host_alias=$host_alias
14616 # An echo program that does not interpret backslashes.
14621 AR_FLAGS=$lt_AR_FLAGS
14626 # A language-specific compiler.
14629 # Is the compiler the GNU C compiler?
14635 # The linker used to build libraries.
14638 # Whether we need hard or soft links.
14641 # A BSD-compatible nm program.
14644 # A symbol stripping program
14647 # Used to examine libraries when file_magic_cmd begins "file"
14648 MAGIC_CMD=$MAGIC_CMD
14650 # Used on cygwin: DLL creation program.
14653 # Used on cygwin: object dumper.
14656 # Used on cygwin: assembler.
14659 # The name of the directory that contains temporary libtool files.
14662 # How to create reloadable object files.
14663 reload_flag=$lt_reload_flag
14664 reload_cmds=$lt_reload_cmds
14666 # How to pass a linker flag through the compiler.
14667 wl=$lt_lt_prog_compiler_wl
14669 # Object file suffix (normally "o").
14670 objext="$ac_objext"
14672 # Old archive suffix (normally "a").
14675 # Shared library suffix (normally ".so").
14676 shrext_cmds='$shrext_cmds'
14678 # Executable file suffix (normally "").
14681 # Additional compiler flags for building library objects.
14682 pic_flag=$lt_lt_prog_compiler_pic
14685 # What is the maximum length of a command?
14686 max_cmd_len=$lt_cv_sys_max_cmd_len
14688 # Does compiler simultaneously support -c and -o options?
14689 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14691 # Must we lock files when doing compilation ?
14692 need_locks=$lt_need_locks
14694 # Do we need the lib prefix for modules?
14695 need_lib_prefix=$need_lib_prefix
14697 # Do we need a version for libraries?
14698 need_version=$need_version
14700 # Whether dlopen is supported.
14701 dlopen_support=$enable_dlopen
14703 # Whether dlopen of programs is supported.
14704 dlopen_self=$enable_dlopen_self
14706 # Whether dlopen of statically linked programs is supported.
14707 dlopen_self_static=$enable_dlopen_self_static
14709 # Compiler flag to prevent dynamic linking.
14710 link_static_flag=$lt_lt_prog_compiler_static
14712 # Compiler flag to turn off builtin functions.
14713 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14715 # Compiler flag to allow reflexive dlopens.
14716 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14718 # Compiler flag to generate shared objects directly from archives.
14719 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14721 # Compiler flag to generate thread-safe objects.
14722 thread_safe_flag_spec=$lt_thread_safe_flag_spec
14724 # Library versioning type.
14725 version_type=$version_type
14727 # Format of library name prefix.
14728 libname_spec=$lt_libname_spec
14730 # List of archive names. First name is the real one, the rest are links.
14731 # The last name is the one that the linker finds with -lNAME.
14732 library_names_spec=$lt_library_names_spec
14734 # The coded name of the library, if different from the real name.
14735 soname_spec=$lt_soname_spec
14737 # Commands used to build and install an old-style archive.
14739 old_archive_cmds=$lt_old_archive_cmds
14740 old_postinstall_cmds=$lt_old_postinstall_cmds
14741 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14743 # Create an old-style archive from a shared archive.
14744 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14746 # Create a temporary old-style archive to link instead of a shared archive.
14747 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14749 # Commands used to build and install a shared archive.
14750 archive_cmds=$lt_archive_cmds
14751 archive_expsym_cmds=$lt_archive_expsym_cmds
14752 postinstall_cmds=$lt_postinstall_cmds
14753 postuninstall_cmds=$lt_postuninstall_cmds
14755 # Commands used to build a loadable module (assumed same as above if empty)
14756 module_cmds=$lt_module_cmds
14757 module_expsym_cmds=$lt_module_expsym_cmds
14759 # Commands to strip libraries.
14760 old_striplib=$lt_old_striplib
14761 striplib=$lt_striplib
14763 # Dependencies to place before the objects being linked to create a
14765 predep_objects=$lt_predep_objects
14767 # Dependencies to place after the objects being linked to create a
14769 postdep_objects=$lt_postdep_objects
14771 # Dependencies to place before the objects being linked to create a
14773 predeps=$lt_predeps
14775 # Dependencies to place after the objects being linked to create a
14777 postdeps=$lt_postdeps
14779 # The library search path used internally by the compiler when linking
14780 # a shared library.
14781 compiler_lib_search_path=$lt_compiler_lib_search_path
14783 # Method to check whether dependent libraries are shared objects.
14784 deplibs_check_method=$lt_deplibs_check_method
14786 # Command to use when deplibs_check_method == file_magic.
14787 file_magic_cmd=$lt_file_magic_cmd
14789 # Flag that allows shared libraries with undefined symbols to be built.
14790 allow_undefined_flag=$lt_allow_undefined_flag
14792 # Flag that forces no undefined symbols.
14793 no_undefined_flag=$lt_no_undefined_flag
14795 # Commands used to finish a libtool library installation in a directory.
14796 finish_cmds=$lt_finish_cmds
14798 # Same as above, but a single script fragment to be evaled but not shown.
14799 finish_eval=$lt_finish_eval
14801 # Take the output of nm and produce a listing of raw symbols and C names.
14802 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14804 # Transform the output of nm in a proper C declaration
14805 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14807 # Transform the output of nm in a C name address pair
14808 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14810 # This is the shared library runtime path variable.
14811 runpath_var=$runpath_var
14813 # This is the shared library path variable.
14814 shlibpath_var=$shlibpath_var
14816 # Is shlibpath searched before the hard-coded library search path?
14817 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14819 # How to hardcode a shared library path into an executable.
14820 hardcode_action=$hardcode_action
14822 # Whether we should hardcode library paths into libraries.
14823 hardcode_into_libs=$hardcode_into_libs
14825 # Flag to hardcode \$libdir into a binary during linking.
14826 # This must work even if \$libdir does not exist.
14827 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14829 # If ld is used when linking, flag to hardcode \$libdir into
14830 # a binary during linking. This must work even if \$libdir does
14832 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14834 # Whether we need a single -rpath flag with a separated argument.
14835 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14837 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14838 # resulting binary.
14839 hardcode_direct=$hardcode_direct
14841 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14842 # resulting binary.
14843 hardcode_minus_L=$hardcode_minus_L
14845 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14846 # the resulting binary.
14847 hardcode_shlibpath_var=$hardcode_shlibpath_var
14849 # Set to yes if building a shared library automatically hardcodes DIR into the library
14850 # and all subsequent libraries and executables linked against it.
14851 hardcode_automatic=$hardcode_automatic
14853 # Variables whose values should be saved in libtool wrapper scripts and
14854 # restored at relink time.
14855 variables_saved_for_relink="$variables_saved_for_relink"
14857 # Whether libtool must link a program against all its dependency libraries.
14858 link_all_deplibs=$link_all_deplibs
14860 # Compile-time system search path for libraries
14861 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14863 # Run-time system search path for libraries
14864 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14866 # Fix the shell variable \$srcfile for the compiler.
14867 fix_srcfile_path="$fix_srcfile_path"
14869 # Set to yes if exported symbols are required.
14870 always_export_symbols=$always_export_symbols
14872 # The commands to list exported symbols.
14873 export_symbols_cmds=$lt_export_symbols_cmds
14875 # The commands to extract the exported symbol list from a shared archive.
14876 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14878 # Symbols that should not be listed in the preloaded symbols.
14879 exclude_expsyms=$lt_exclude_expsyms
14881 # Symbols that must always be exported.
14882 include_expsyms=$lt_include_expsyms
14884 # ### END LIBTOOL CONFIG
14891 cat <<\EOF
>> "$cfgfile"
14893 # AIX sometimes has problems with the GCC collect2 program. For some
14894 # reason, if we set the COLLECT_NAMES environment variable, the problems
14895 # vanish in a puff of smoke.
14896 if test "X${COLLECT_NAMES+set}" != Xset
; then
14898 export COLLECT_NAMES
14904 # We use sed instead of cat because bash on DJGPP gets confused if
14905 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14906 # text mode, it properly converts lines to CR/LF. This bash problem
14907 # is reportedly fixed, but why not run on old versions too?
14908 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
14910 mv -f "$cfgfile" "$ofile" || \
14911 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14915 # If there is no Makefile yet, we rely on a make rule to execute
14916 # `config.status --recheck' to rerun these tests and create the
14917 # libtool script then.
14918 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14919 if test -f "$ltmain_in"; then
14920 test -f Makefile
&& make "$ltmain"
14926 ac_cpp
='$CPP $CPPFLAGS'
14927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14934 # Check whether --with-tags or --without-tags was given.
14935 if test "${with_tags+set}" = set; then
14936 withval
="$with_tags"
14937 tagnames
="$withval"
14940 if test -f "$ltmain" && test -n "$tagnames"; then
14941 if test ! -f "${ofile}"; then
14942 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
14943 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
14946 if test -z "$LTCC"; then
14947 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
14948 if test -z "$LTCC"; then
14949 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
14950 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
14952 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
14953 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
14957 # Extract list of available tagged configurations in $ofile.
14958 # Note that this assumes the entire list is on one line.
14959 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
14961 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
14962 for tagname
in $tagnames; do
14964 # Check whether tagname contains only valid characters
14965 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
14967 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
14968 echo "$as_me: error: invalid tag name: $tagname" >&2;}
14969 { (exit 1); exit 1; }; }
14973 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
14975 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
14976 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
14977 { (exit 1); exit 1; }; }
14980 # Update the list of available tags.
14981 if test -n "$tagname"; then
14982 echo appending configuration tag
"$tagname" to
$ofile
14986 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14987 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14988 (test "X$CXX" != "Xg++"))) ; then
14990 ac_cpp
='$CXXCPP $CPPFLAGS'
14991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14998 archive_cmds_need_lc_CXX
=no
14999 allow_undefined_flag_CXX
=
15000 always_export_symbols_CXX
=no
15001 archive_expsym_cmds_CXX
=
15002 export_dynamic_flag_spec_CXX
=
15003 hardcode_direct_CXX
=no
15004 hardcode_libdir_flag_spec_CXX
=
15005 hardcode_libdir_flag_spec_ld_CXX
=
15006 hardcode_libdir_separator_CXX
=
15007 hardcode_minus_L_CXX
=no
15008 hardcode_automatic_CXX
=no
15010 module_expsym_cmds_CXX
=
15011 link_all_deplibs_CXX
=unknown
15012 old_archive_cmds_CXX
=$old_archive_cmds
15013 no_undefined_flag_CXX
=
15014 whole_archive_flag_spec_CXX
=
15015 enable_shared_with_static_runtimes_CXX
=no
15017 # Dependencies to place before and after the object being linked:
15018 predep_objects_CXX
=
15019 postdep_objects_CXX
=
15022 compiler_lib_search_path_CXX
=
15024 # Source file extension for C++ test sources.
15027 # Object file extension for compiled C++ test sources.
15031 # Code to be used in simple compile tests
15032 lt_simple_compile_test_code
="int some_variable = 0;\n"
15034 # Code to be used in simple link tests
15035 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
15037 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15039 # If no C compiler was specified, use CC.
15042 # Allow CC to be a program name with arguments.
15046 # Allow CC to be a program name with arguments.
15051 lt_save_with_gnu_ld
=$with_gnu_ld
15052 lt_save_path_LD
=$lt_cv_path_LD
15053 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15054 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15056 unset lt_cv_prog_gnu_ld
15058 if test -n "${lt_cv_path_LDCXX+set}"; then
15059 lt_cv_path_LD
=$lt_cv_path_LDCXX
15061 unset lt_cv_path_LD
15063 test -z "${LDCXX+set}" || LD
=$LDCXX
15067 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15069 # We don't want -fno-exception wen compiling C++ code, so set the
15070 # no_builtin_flag separately
15071 if test "$GXX" = yes; then
15072 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15074 lt_prog_compiler_no_builtin_flag_CXX
=
15077 if test "$GXX" = yes; then
15078 # Set up default GNU C++ configuration
15081 # Check whether --with-gnu-ld or --without-gnu-ld was given.
15082 if test "${with_gnu_ld+set}" = set; then
15083 withval
="$with_gnu_ld"
15084 test "$withval" = no || with_gnu_ld
=yes
15089 if test "$GCC" = yes; then
15090 # Check if gcc -print-prog-name=ld gives a path.
15091 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
15092 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
15095 # gcc leaves a trailing carriage return which upsets mingw
15096 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15098 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15101 # Accept absolute paths.
15103 re_direlt
='/[^/][^/]*/\.\./'
15104 # Canonicalize the pathname of ld
15105 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
15106 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
15107 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
15109 test -z "$LD" && LD
="$ac_prog"
15112 # If it fails, then pretend we aren't using GCC.
15116 # If it is relative, then search for the first ld in PATH.
15117 with_gnu_ld
=unknown
15120 elif test "$with_gnu_ld" = yes; then
15121 echo "$as_me:$LINENO: checking for GNU ld" >&5
15122 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
15124 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15125 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
15127 if test "${lt_cv_path_LD+set}" = set; then
15128 echo $ECHO_N "(cached) $ECHO_C" >&6
15130 if test -z "$LD"; then
15131 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15132 for ac_dir
in $PATH; do
15134 test -z "$ac_dir" && ac_dir
=.
15135 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15136 lt_cv_path_LD
="$ac_dir/$ac_prog"
15137 # Check to see if the program is GNU ld. I'd rather use --version,
15138 # but apparently some GNU ld's only accept -v.
15139 # Break only if it was the GNU/non-GNU ld that we prefer.
15140 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15141 *GNU
* |
*'with BFD'*)
15142 test "$with_gnu_ld" != no
&& break
15145 test "$with_gnu_ld" != yes && break
15152 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15156 LD
="$lt_cv_path_LD"
15157 if test -n "$LD"; then
15158 echo "$as_me:$LINENO: result: $LD" >&5
15159 echo "${ECHO_T}$LD" >&6
15161 echo "$as_me:$LINENO: result: no" >&5
15162 echo "${ECHO_T}no" >&6
15164 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15165 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15166 { (exit 1); exit 1; }; }
15167 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15168 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
15169 if test "${lt_cv_prog_gnu_ld+set}" = set; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15173 case `$LD -v 2>&1 </dev/null` in
15174 *GNU
* |
*'with BFD'*)
15175 lt_cv_prog_gnu_ld
=yes
15178 lt_cv_prog_gnu_ld
=no
15182 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
15183 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
15184 with_gnu_ld
=$lt_cv_prog_gnu_ld
15188 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15189 # archiving commands below assume that GNU ld is being used.
15190 if test "$with_gnu_ld" = yes; then
15191 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15192 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'
15194 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15195 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15197 # If archive_cmds runs LD, not CC, wlarc should be empty
15198 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15199 # investigate it a little bit more. (MM)
15202 # ancient GNU ld didn't support --whole-archive et. al.
15203 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
15204 grep 'no-whole-archive' > /dev
/null
; then
15205 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15207 whole_archive_flag_spec_CXX
=
15213 # A generic and very simple default shared library creation
15214 # command for GNU C++ for the case where it uses the native
15215 # linker, instead of GNU ld. If possible, this setting should
15216 # overridden to take advantage of the native linker features on
15217 # the platform it is being used on.
15218 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15221 # Commands to make compiler produce verbose output that lists
15222 # what "hidden" libraries, object files and flags are used when
15223 # linking a shared library.
15224 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15232 # PORTME: fill in a description of your system's C++ link characteristics
15233 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15234 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15238 # FIXME: insert proper C++ library support
15242 if test "$host_cpu" = ia64
; then
15243 # On IA64, the linker does run time linking by default, so we don't
15244 # have to do anything special.
15245 aix_use_runtimelinking
=no
15246 exp_sym_flag
='-Bexport'
15249 aix_use_runtimelinking
=no
15251 # Test if we are trying to use run time linking or normal
15252 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15253 # need to do runtime linking.
15254 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15255 for ld_flag
in $LDFLAGS; do
15258 aix_use_runtimelinking
=yes
15265 exp_sym_flag
='-bexport'
15266 no_entry_flag
='-bnoentry'
15269 # When large executables or shared objects are built, AIX ld can
15270 # have problems creating the table of contents. If linking a library
15271 # or program results in "error TOC overflow" add -mminimal-toc to
15272 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15273 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15275 archive_cmds_CXX
=''
15276 hardcode_direct_CXX
=yes
15277 hardcode_libdir_separator_CXX
=':'
15278 link_all_deplibs_CXX
=yes
15280 if test "$GXX" = yes; then
15281 case $host_os in aix4.012|aix4.012.
*)
15282 # We only want to do this on AIX 4.2 and lower, the check
15283 # below for broken collect2 doesn't work under 4.3+
15284 collect2name
=`${CC} -print-prog-name=collect2`
15285 if test -f "$collect2name" && \
15286 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15288 # We have reworked collect2
15289 hardcode_direct_CXX
=yes
15291 # We have old collect2
15292 hardcode_direct_CXX
=unsupported
15293 # It fails to find uninstalled libraries when the uninstalled
15294 # path is not listed in the libpath. Setting hardcode_minus_L
15295 # to unsupported forces relinking
15296 hardcode_minus_L_CXX
=yes
15297 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15298 hardcode_libdir_separator_CXX
=
15301 shared_flag
='-shared'
15304 if test "$host_cpu" = ia64
; then
15305 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15306 # chokes on -Wl,-G. The following line is correct:
15309 if test "$aix_use_runtimelinking" = yes; then
15310 shared_flag
='${wl}-G'
15312 shared_flag
='${wl}-bM:SRE'
15317 # It seems that -bexpall does not export symbols beginning with
15318 # underscore (_), so it is better to generate a list of symbols to export.
15319 always_export_symbols_CXX
=yes
15320 if test "$aix_use_runtimelinking" = yes; then
15321 # Warning - without using the other runtime loading flags (-brtl),
15322 # -berok will link without error, but may produce a broken library.
15323 allow_undefined_flag_CXX
='-berok'
15324 # Determine the default libpath from the value encoded in an empty executable.
15325 cat >conftest.
$ac_ext <<_ACEOF
15328 cat confdefs.h
>>conftest.
$ac_ext
15329 cat >>conftest.
$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15340 rm -f conftest.
$ac_objext conftest
$ac_exeext
15341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15342 (eval $ac_link) 2>conftest.er1
15344 grep -v '^ *+' conftest.er1
>conftest.err
15346 cat conftest.err
>&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } &&
15349 { ac_try
='test -z "$ac_cxx_werror_flag"
15350 || test ! -s conftest.err'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; } &&
15356 { ac_try
='test -s conftest$ac_exeext'
15357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 (eval $ac_try) 2>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; }; then
15363 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15365 # Check for a 64-bit object if we didn't find anything.
15366 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15369 echo "$as_me: failed program was:" >&5
15370 sed 's/^/| /' conftest.
$ac_ext >&5
15373 rm -f conftest.err conftest.
$ac_objext \
15374 conftest
$ac_exeext conftest.
$ac_ext
15375 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15377 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15379 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15381 if test "$host_cpu" = ia64; then
15382 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
15383 allow_undefined_flag_CXX="-z nodefs"
15384 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
15386 # Determine the default libpath from the value encoded in an empty executable.
15387 cat >conftest.$ac_ext <<_ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15402 rm -f conftest.$ac_objext conftest$ac_exeext
15403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15404 (eval $ac_link) 2>conftest.er1
15406 grep -v '^ *+' conftest.er1 >conftest.err
15408 cat conftest.err >&5
15409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15410 (exit $ac_status); } &&
15411 { ac_try='test -z "$ac_cxx_werror_flag"
15412 || test ! -s conftest.err'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15417 (exit $ac_status); }; } &&
15418 { ac_try='test -s conftest$ac_exeext'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15423 (exit $ac_status); }; }; then
15425 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15427 # Check for a 64-bit object if we didn't find anything.
15428 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15431 echo "$as_me: failed program was
:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15435 rm -f conftest.err conftest.$ac_objext \
15436 conftest$ac_exeext conftest.$ac_ext
15437 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
15439 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15440 # Warning - without using the other run time loading flags,
15441 # -berok will link without error, but may produce a broken library.
15442 no_undefined_flag_CXX=' ${wl}-bernotok'
15443 allow_undefined_flag_CXX=' ${wl}-berok'
15444 # -bexpall does not export symbols beginning with underscore (_)
15445 always_export_symbols_CXX=yes
15446 # Exported symbols can be pulled into shared objects from archives
15447 whole_archive_flag_spec_CXX=' '
15448 archive_cmds_need_lc_CXX=yes
15449 # This is similar to how AIX traditionally builds it's shared libraries.
15450 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15455 case $cc_basename in
15457 # FIXME: insert proper C++ library support
15464 cygwin* | mingw* | pw32*)
15465 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15466 # as there is no search path for DLLs.
15467 hardcode_libdir_flag_spec_CXX='-L$libdir'
15468 allow_undefined_flag_CXX=unsupported
15469 always_export_symbols_CXX=no
15470 enable_shared_with_static_runtimes_CXX=yes
15472 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15473 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15474 # If the export-symbols file already is a .def file (1st line
15475 # is EXPORTS), use it as is; otherwise, prepend...
15476 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
15477 cp $export_symbols $output_objdir/$soname.def;
15479 echo EXPORTS > $output_objdir/$soname.def;
15480 cat $export_symbols >> $output_objdir/$soname.def;
15482 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15487 darwin* | rhapsody*)
15489 rhapsody* | darwin1.[012])
15490 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
15493 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15494 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15496 case ${MACOSX_DEPLOYMENT_TARGET} in
15498 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15501 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
15507 archive_cmds_need_lc_CXX=no
15508 hardcode_direct_CXX=no
15509 hardcode_automatic_CXX=yes
15510 hardcode_shlibpath_var_CXX=unsupported
15511 whole_archive_flag_spec_CXX=''
15512 link_all_deplibs_CXX=yes
15514 if test "$GXX" = yes ; then
15515 lt_int_apple_cc_single_mod=no
15516 output_verbose_link_cmd='echo'
15517 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
15518 lt_int_apple_cc_single_mod=yes
15520 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
15521 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15523 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'
15525 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15526 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15527 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
15528 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15530 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15532 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15534 case "$cc_basename" in
15536 output_verbose_link_cmd
='echo'
15537 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15538 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15539 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15540 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15541 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15551 case $cc_basename in
15553 # FIXME: insert proper C++ library support
15557 # Green Hills C++ Compiler
15558 # FIXME: insert proper C++ library support
15562 # FIXME: insert proper C++ library support
15568 # C++ shared libraries reported to be fairly broken before switch to ELF
15572 archive_cmds_need_lc_CXX
=no
15574 freebsd
* | kfreebsd
*-gnu)
15575 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15582 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15583 hardcode_libdir_separator_CXX
=:
15584 export_dynamic_flag_spec_CXX
='${wl}-E'
15585 hardcode_direct_CXX
=yes
15586 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15587 # but as the default
15588 # location of the library.
15590 case $cc_basename in
15592 # FIXME: insert proper C++ library support
15596 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'
15597 # Commands to make compiler produce verbose output that lists
15598 # what "hidden" libraries, object files and flags are used when
15599 # linking a shared library.
15601 # There doesn't appear to be a way to prevent this compiler from
15602 # explicitly linking system object files so we need to strip them
15603 # from the output so that they don't get included in the library
15605 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 $list'
15608 if test "$GXX" = yes; then
15609 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'
15611 # FIXME: insert proper C++ library support
15618 if test $with_gnu_ld = no
; then
15619 case "$host_cpu" in
15621 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15622 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
15623 hardcode_libdir_separator_CXX
=:
15626 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15629 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15630 hardcode_libdir_separator_CXX
=:
15631 export_dynamic_flag_spec_CXX
='${wl}-E'
15635 case "$host_cpu" in
15637 hardcode_direct_CXX
=no
15638 hardcode_shlibpath_var_CXX
=no
15641 hardcode_direct_CXX
=no
15642 hardcode_shlibpath_var_CXX
=no
15643 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15644 # but as the default
15645 # location of the library.
15648 hardcode_direct_CXX
=yes
15649 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15650 # but as the default
15651 # location of the library.
15655 case $cc_basename in
15657 # FIXME: insert proper C++ library support
15661 case "$host_cpu" in
15663 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
15666 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15669 # Commands to make compiler produce verbose output that lists
15670 # what "hidden" libraries, object files and flags are used when
15671 # linking a shared library.
15673 # There doesn't appear to be a way to prevent this compiler from
15674 # explicitly linking system object files so we need to strip them
15675 # from the output so that they don't get included in the library
15677 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 $list'
15680 if test "$GXX" = yes; then
15681 if test $with_gnu_ld = no
; then
15682 case "$host_cpu" in
15684 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
15687 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'
15692 # FIXME: insert proper C++ library support
15699 case $cc_basename in
15702 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
15704 # Archives containing C++ object files must be created using
15705 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15706 # necessary to make sure instantiated templates are included
15708 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15711 if test "$GXX" = yes; then
15712 if test "$with_gnu_ld" = no
; then
15713 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
15715 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
15718 link_all_deplibs_CXX
=yes
15721 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15722 hardcode_libdir_separator_CXX
=:
15725 case $cc_basename in
15727 # Kuck and Associates, Inc. (KAI) C++ Compiler
15729 # KCC will only create a shared library if the output file
15730 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15731 # to its proper name (with version) after linking.
15732 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'
15733 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'
15734 # Commands to make compiler produce verbose output that lists
15735 # what "hidden" libraries, object files and flags are used when
15736 # linking a shared library.
15738 # There doesn't appear to be a way to prevent this compiler from
15739 # explicitly linking system object files so we need to strip them
15740 # from the output so that they don't get included in the library
15742 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 $list'
15744 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
15745 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15747 # Archives containing C++ object files must be created using
15748 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15749 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15754 # version 8.0 and above of icpc choke on multiply defined symbols
15755 # if we add $predep_objects and $postdep_objects, however 7.1 and
15756 # earlier do not add the objects themselves.
15757 case `$CC -V 2>&1` in
15759 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15760 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'
15762 *) # Version 8.0 or newer
15763 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15764 archive_expsym_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15767 archive_cmds_need_lc_CXX
=no
15768 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15769 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15770 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15774 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15775 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'
15777 runpath_var
=LD_RUN_PATH
15778 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15779 hardcode_libdir_separator_CXX
=:
15781 # Commands to make compiler produce verbose output that lists
15782 # what "hidden" libraries, object files and flags are used when
15783 # linking a shared library.
15785 # There doesn't appear to be a way to prevent this compiler from
15786 # explicitly linking system object files so we need to strip them
15787 # from the output so that they don't get included in the library
15789 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "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 $list'
15794 # FIXME: insert proper C++ library support
15798 # FIXME: insert proper C++ library support
15802 case $cc_basename in
15804 # FIXME: insert proper C++ library support
15808 # FIXME: insert proper C++ library support
15814 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15815 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15817 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15818 hardcode_direct_CXX
=yes
15819 hardcode_shlibpath_var_CXX
=no
15821 # Workaround some broken pre-1.5 toolchains
15822 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15825 # C++ shared libraries are fairly broken
15829 hardcode_direct_CXX
=yes
15830 hardcode_shlibpath_var_CXX
=no
15831 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15832 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15833 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15834 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15835 export_dynamic_flag_spec_CXX
='${wl}-E'
15836 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15838 output_verbose_link_cmd
='echo'
15841 case $cc_basename in
15843 # Kuck and Associates, Inc. (KAI) C++ Compiler
15845 # KCC will only create a shared library if the output file
15846 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15847 # to its proper name (with version) after linking.
15848 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'
15850 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15851 hardcode_libdir_separator_CXX
=:
15853 # Archives containing C++ object files must be created using
15854 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15855 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15859 # Rational C++ 2.4.1
15860 # FIXME: insert proper C++ library support
15864 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15865 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
15867 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15868 hardcode_libdir_separator_CXX
=:
15870 # Commands to make compiler produce verbose output that lists
15871 # what "hidden" libraries, object files and flags are used when
15872 # linking a shared library.
15874 # There doesn't appear to be a way to prevent this compiler from
15875 # explicitly linking system object files so we need to strip them
15876 # from the output so that they don't get included in the library
15878 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
15881 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15882 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15883 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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
15885 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15886 hardcode_libdir_separator_CXX
=:
15888 # Commands to make compiler produce verbose output that lists
15889 # what "hidden" libraries, object files and flags are used when
15890 # linking a shared library.
15891 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15894 # FIXME: insert proper C++ library support
15901 case $cc_basename in
15903 # Kuck and Associates, Inc. (KAI) C++ Compiler
15905 # KCC will only create a shared library if the output file
15906 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15907 # to its proper name (with version) after linking.
15908 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'
15910 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15911 hardcode_libdir_separator_CXX
=:
15913 # Archives containing C++ object files must be created using
15914 # the KAI C++ compiler.
15915 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
15918 # Rational C++ 2.4.1
15919 # FIXME: insert proper C++ library support
15923 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15924 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
15925 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15926 echo "-hidden">> $lib.exp~
15927 $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 -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
15930 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15931 hardcode_libdir_separator_CXX
=:
15933 # Commands to make compiler produce verbose output that lists
15934 # what "hidden" libraries, object files and flags are used when
15935 # linking a shared library.
15937 # There doesn't appear to be a way to prevent this compiler from
15938 # explicitly linking system object files so we need to strip them
15939 # from the output so that they don't get included in the library
15941 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
15944 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15945 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15946 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` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
15948 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15949 hardcode_libdir_separator_CXX
=:
15951 # Commands to make compiler produce verbose output that lists
15952 # what "hidden" libraries, object files and flags are used when
15953 # linking a shared library.
15954 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15957 # FIXME: insert proper C++ library support
15964 # FIXME: insert proper C++ library support
15968 archive_cmds_need_lc_CXX
=no
15969 case $cc_basename in
15971 # FIXME: insert proper C++ library support
15975 # FIXME: insert proper C++ library support
15981 case $cc_basename in
15984 # FIXME: insert proper C++ library support
15989 # FIXME: insert proper C++ library support
15993 # FIXME: insert proper C++ library support
15999 case $cc_basename in
16001 # Sun C++ 4.2, 5.x and Centerline C++
16002 no_undefined_flag_CXX
=' -zdefs'
16003 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16004 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16005 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16007 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16008 hardcode_shlibpath_var_CXX
=no
16010 solaris2.0
-5 | solaris2.0
-5.
*) ;;
16012 # The C++ compiler is used as linker so we must use $wl
16013 # flag to pass the commands to the underlying system
16015 # Supported since Solaris 2.6 (maybe 2.5.1?)
16016 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16019 link_all_deplibs_CXX
=yes
16021 # Commands to make compiler produce verbose output that lists
16022 # what "hidden" libraries, object files and flags are used when
16023 # linking a shared library.
16025 # There doesn't appear to be a way to prevent this compiler from
16026 # explicitly linking system object files so we need to strip them
16027 # from the output so that they don't get included in the library
16029 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16031 # Archives containing C++ object files must be created using
16032 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16033 # necessary to make sure instantiated templates are included
16035 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16038 # Green Hills C++ Compiler
16039 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16041 # The C++ compiler must be used to create the archive.
16042 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16045 # GNU C++ compiler with Solaris linker
16046 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16047 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
16048 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
16049 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16050 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16051 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16053 # Commands to make compiler produce verbose output that lists
16054 # what "hidden" libraries, object files and flags are used when
16055 # linking a shared library.
16056 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16058 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16060 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16061 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16062 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16064 # Commands to make compiler produce verbose output that lists
16065 # what "hidden" libraries, object files and flags are used when
16066 # linking a shared library.
16067 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16070 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
16075 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16076 archive_cmds_need_lc_CXX
=no
16079 case $cc_basename in
16081 # NonStop-UX NCC 3.20
16082 # FIXME: insert proper C++ library support
16086 # FIXME: insert proper C++ library support
16092 # FIXME: insert proper C++ library support
16096 # FIXME: insert proper C++ library support
16100 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16101 echo "${ECHO_T}$ld_shlibs_CXX" >&6
16102 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16108 cat > conftest.
$ac_ext <<EOF
16112 Foo (void) { a = 0; }
16118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16119 (eval $ac_compile) 2>&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; then
16123 # Parse the compiler output and extract the necessary
16124 # objects, libraries and library flags.
16126 # Sentinel used to keep track of whether or not we are before
16127 # the conftest object file.
16128 pre_test_object_deps_done
=no
16130 # The `*' in the case matches for architectures that use `case' in
16131 # $output_verbose_cmd can trigger glob expansion during the loop
16132 # eval without this substitution.
16133 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
16135 for p
in `eval $output_verbose_link_cmd`; do
16139 # Some compilers place space between "-{L,R}" and the path.
16140 # Remove the space.
16141 if test $p = "-L" \
16142 ||
test $p = "-R"; then
16149 if test "$pre_test_object_deps_done" = no
; then
16152 # Internal compiler library paths should come after those
16153 # provided the user. The postdeps already come after the
16154 # user supplied libs so there is no need to process them.
16155 if test -z "$compiler_lib_search_path_CXX"; then
16156 compiler_lib_search_path_CXX
="${prev}${p}"
16158 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
16161 # The "-l" case would never come before the object being
16162 # linked, so don't bother handling this case.
16165 if test -z "$postdeps_CXX"; then
16166 postdeps_CXX
="${prev}${p}"
16168 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
16174 # This assumes that the test object file only shows up
16175 # once in the compiler output.
16176 if test "$p" = "conftest.$objext"; then
16177 pre_test_object_deps_done
=yes
16181 if test "$pre_test_object_deps_done" = no
; then
16182 if test -z "$predep_objects_CXX"; then
16183 predep_objects_CXX
="$p"
16185 predep_objects_CXX
="$predep_objects_CXX $p"
16188 if test -z "$postdep_objects_CXX"; then
16189 postdep_objects_CXX
="$p"
16191 postdep_objects_CXX
="$postdep_objects_CXX $p"
16196 *) ;; # Ignore the rest.
16204 echo "libtool.m4: error: problem compiling CXX test program"
16207 $rm -f confest.
$objext
16209 case " $postdeps_CXX " in
16210 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16213 lt_prog_compiler_wl_CXX
=
16214 lt_prog_compiler_pic_CXX
=
16215 lt_prog_compiler_static_CXX
=
16217 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16218 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16220 # C++ specific cases for pic, static, wl, etc.
16221 if test "$GXX" = yes; then
16222 lt_prog_compiler_wl_CXX
='-Wl,'
16223 lt_prog_compiler_static_CXX
='-static'
16227 # All AIX code is PIC.
16228 if test "$host_cpu" = ia64
; then
16229 # AIX 5 now supports IA64 processor
16230 lt_prog_compiler_static_CXX
='-Bstatic'
16234 # FIXME: we need at least 68020 code to build shared libraries, but
16235 # adding the `-m68020' flag to GCC prevents building anything better,
16237 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16239 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16240 # PIC is the default for these OSes.
16242 mingw
* | os2
* | pw32
*)
16243 # This hack is so that the source file can tell whether it is being
16244 # built for inclusion in a dll (and should export symbols for example).
16245 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16247 darwin
* | rhapsody
*)
16248 # PIC is the default on this platform
16249 # Common symbols not allowed in MH_DYLIB files
16250 lt_prog_compiler_pic_CXX
='-fno-common'
16253 # DJGPP does not support shared libraries at all
16254 lt_prog_compiler_pic_CXX
=
16257 if test -d /usr
/nec
; then
16258 lt_prog_compiler_pic_CXX
=-Kconform_pic
16262 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16263 # not for PA HP-UX.
16264 case "$host_cpu" in
16268 lt_prog_compiler_pic_CXX
='-fPIC'
16273 lt_prog_compiler_pic_CXX
='-fPIC'
16279 # All AIX code is PIC.
16280 if test "$host_cpu" = ia64
; then
16281 # AIX 5 now supports IA64 processor
16282 lt_prog_compiler_static_CXX
='-Bstatic'
16284 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16288 case $cc_basename in
16290 # Green Hills C++ Compiler
16291 # _LT_AC_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"
16296 # PIC is the default on this platform
16297 # Common symbols not allowed in MH_DYLIB files
16298 case "$cc_basename" in
16300 lt_prog_compiler_pic_CXX
='-qnocommon'
16301 lt_prog_compiler_wl_CXX
='-Wl,'
16306 case $cc_basename in
16308 lt_prog_compiler_pic_CXX
='-KPIC'
16311 # Green Hills C++ Compiler
16312 lt_prog_compiler_pic_CXX
='-pic'
16318 freebsd
* | kfreebsd
*-gnu)
16319 # FreeBSD uses GNU C++
16321 hpux9
* | hpux10
* | hpux11
*)
16322 case $cc_basename in
16324 lt_prog_compiler_wl_CXX
='-Wl,'
16325 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
16326 if test "$host_cpu" != ia64
; then
16327 lt_prog_compiler_pic_CXX
='+Z'
16331 lt_prog_compiler_wl_CXX
='-Wl,'
16332 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
16333 case "$host_cpu" in
16338 lt_prog_compiler_pic_CXX
='+Z'
16346 irix5
* | irix6
* | nonstopux
*)
16347 case $cc_basename in
16349 lt_prog_compiler_wl_CXX
='-Wl,'
16350 lt_prog_compiler_static_CXX
='-non_shared'
16351 # CC pic flag -KPIC is the default.
16358 case $cc_basename in
16361 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16362 lt_prog_compiler_pic_CXX
='-fPIC'
16366 lt_prog_compiler_wl_CXX
='-Wl,'
16367 lt_prog_compiler_pic_CXX
='-KPIC'
16368 lt_prog_compiler_static_CXX
='-static'
16372 # Make sure the PIC flag is empty. It appears that all Alpha
16373 # Linux and Compaq Tru64 Unix objects are PIC.
16374 lt_prog_compiler_pic_CXX
=
16375 lt_prog_compiler_static_CXX
='-non_shared'
16386 case $cc_basename in
16388 lt_prog_compiler_pic_CXX
='-W c,exportall'
16396 osf3
* | osf4
* | osf5
*)
16397 case $cc_basename in
16399 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16402 # Rational C++ 2.4.1
16403 lt_prog_compiler_pic_CXX
='-pic'
16406 # Digital/Compaq C++
16407 lt_prog_compiler_wl_CXX
='-Wl,'
16408 # Make sure the PIC flag is empty. It appears that all Alpha
16409 # Linux and Compaq Tru64 Unix objects are PIC.
16410 lt_prog_compiler_pic_CXX
=
16411 lt_prog_compiler_static_CXX
='-non_shared'
16420 case $cc_basename in
16422 lt_prog_compiler_pic_CXX
='-fPIC'
16429 case $cc_basename in
16431 # Sun C++ 4.2, 5.x and Centerline C++
16432 lt_prog_compiler_pic_CXX
='-KPIC'
16433 lt_prog_compiler_static_CXX
='-Bstatic'
16434 lt_prog_compiler_wl_CXX
='-Qoption ld '
16437 # Green Hills C++ Compiler
16438 lt_prog_compiler_pic_CXX
='-PIC'
16445 case $cc_basename in
16448 lt_prog_compiler_pic_CXX
='-pic'
16449 lt_prog_compiler_static_CXX
='-Bstatic'
16453 lt_prog_compiler_pic_CXX
='-pic'
16460 case $cc_basename in
16462 # NonStop-UX NCC 3.20
16463 lt_prog_compiler_pic_CXX
='-KPIC'
16474 lt_prog_compiler_can_build_shared_CXX
=no
16479 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
16480 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
16483 # Check to make sure the PIC flag actually works.
16485 if test -n "$lt_prog_compiler_pic_CXX"; then
16487 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16488 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
16489 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16492 lt_prog_compiler_pic_works_CXX
=no
16493 ac_outfile
=conftest.
$ac_objext
16494 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16495 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
16496 # Insert the option either (1) after the last *FLAGS variable, or
16497 # (2) before a word containing "conftest.", or (3) at the end.
16498 # Note that $ac_compile itself does not contain backslashes and begins
16499 # with a dollar sign (not a hyphen), so the echo should work correctly.
16500 # The option is referenced via a variable to avoid confusing sed.
16501 lt_compile
=`echo "$ac_compile" | $SED \
16502 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16504 -e 's:$: $lt_compiler_flag:'`
16505 (eval echo "\"\$as_me:16505: $lt_compile\"" >&5)
16506 (eval "$lt_compile" 2>conftest.err
)
16508 cat conftest.err
>&5
16509 echo "$as_me:16509: \$? = $ac_status" >&5
16510 if (exit $ac_status) && test -s "$ac_outfile"; then
16511 # The compiler can only warn and ignore the option if not recognized
16512 # So say no if there are warnings
16513 if test ! -s conftest.err
; then
16514 lt_prog_compiler_pic_works_CXX
=yes
16520 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
16521 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
16523 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
16524 case $lt_prog_compiler_pic_CXX in
16526 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16529 lt_prog_compiler_pic_CXX
=
16530 lt_prog_compiler_can_build_shared_CXX
=no
16535 # For platforms which do not support PIC, -DPIC is meaningless:
16537 lt_prog_compiler_pic_CXX
=
16540 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16544 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16545 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16546 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 lt_cv_prog_compiler_c_o_CXX
=no
16550 $rm -r conftest
2>/dev
/null
16554 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16556 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16557 # Insert the option either (1) after the last *FLAGS variable, or
16558 # (2) before a word containing "conftest.", or (3) at the end.
16559 # Note that $ac_compile itself does not contain backslashes and begins
16560 # with a dollar sign (not a hyphen), so the echo should work correctly.
16561 lt_compile
=`echo "$ac_compile" | $SED \
16562 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16564 -e 's:$: $lt_compiler_flag:'`
16565 (eval echo "\"\$as_me:16565: $lt_compile\"" >&5)
16566 (eval "$lt_compile" 2>out
/conftest.err
)
16568 cat out
/conftest.err
>&5
16569 echo "$as_me:16569: \$? = $ac_status" >&5
16570 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16572 # The compiler can only warn and ignore the option if not recognized
16573 # So say no if there are warnings
16574 if test ! -s out
/conftest.err
; then
16575 lt_cv_prog_compiler_c_o_CXX
=yes
16580 # SGI C++ compiler will create directory out/ii_files/ for
16581 # template instantiation
16582 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16583 $rm out
/* && rmdir out
16589 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16590 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
16593 hard_links
="nottested"
16594 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
16595 # do not overwrite the value of need_locks provided by the user
16596 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16597 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16600 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16602 ln conftest.a conftest.b
2>&5 || hard_links
=no
16603 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16604 echo "$as_me:$LINENO: result: $hard_links" >&5
16605 echo "${ECHO_T}$hard_links" >&6
16606 if test "$hard_links" = no
; then
16607 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16608 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16615 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16616 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16618 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16621 # If we're using GNU nm, then we don't want the "-C" option.
16622 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16623 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16624 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'
16626 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'
16630 export_symbols_cmds_CXX
="$ltdll_cmds"
16633 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16636 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16640 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16641 echo "${ECHO_T}$ld_shlibs_CXX" >&6
16642 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16644 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16645 if test "$GCC" = yes; then
16646 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16650 # Do we need to explicitly link libc?
16652 case "x$archive_cmds_need_lc_CXX" in
16654 # Assume -lc should be added
16655 archive_cmds_need_lc_CXX
=yes
16657 if test "$enable_shared" = yes && test "$GCC" = yes; then
16658 case $archive_cmds_CXX in
16660 # FIXME: we may have to deal with multi-command sequences.
16663 # Test whether the compiler implicitly links with -lc since on some
16664 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16665 # to ld, don't add -lc before -lgcc.
16666 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16667 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16669 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16672 (eval $ac_compile) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } 2>conftest.err
; then
16678 libobjs
=conftest.
$ac_objext
16680 wl
=$lt_prog_compiler_wl_CXX
16686 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
16687 allow_undefined_flag_CXX
=
16688 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16689 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }
16694 archive_cmds_need_lc_CXX
=no
16696 archive_cmds_need_lc_CXX
=yes
16698 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
16700 cat conftest.err
1>&5
16703 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
16704 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
16711 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16712 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16713 library_names_spec
=
16714 libname_spec
='lib$name'
16718 postuninstall_cmds
=
16722 shlibpath_overrides_runpath
=unknown
16724 dynamic_linker
="$host_os ld.so"
16725 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16726 if test "$GCC" = yes; then
16727 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16728 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16729 # if the path contains ";" then we assume it to be the separator
16730 # otherwise default to the standard path separator (i.e. ":") - it is
16731 # assumed that no part of a normal pathname contains ";" but that should
16732 # okay in the real world where ";" in dirpaths is itself problematic.
16733 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16735 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16738 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16740 need_lib_prefix
=unknown
16741 hardcode_into_libs
=no
16743 # when you set need_version to no, make sure it does not cause -set_version
16744 # flags to be left without arguments
16745 need_version
=unknown
16750 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16751 shlibpath_var
=LIBPATH
16753 # AIX 3 has no versioning support, so we append a major version to the name.
16754 soname_spec
='${libname}${release}${shared_ext}$major'
16761 hardcode_into_libs
=yes
16762 if test "$host_cpu" = ia64
; then
16763 # AIX 5 supports IA64
16764 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16765 shlibpath_var
=LD_LIBRARY_PATH
16767 # With GCC up to 2.95.x, collect2 would create an import file
16768 # for dependence libraries. The import file would start with
16769 # the line `#! .'. This would cause the generated library to
16770 # depend on `.', always an invalid library. This was fixed in
16771 # development snapshots of GCC prior to 3.0.
16773 aix4 | aix4.
[01] | aix4.
[01].
*)
16774 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16776 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16779 can_build_shared
=no
16783 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16784 # soname into executable. Probably we can add versioning support to
16785 # collect2, so additional links can be useful in future.
16786 if test "$aix_use_runtimelinking" = yes; then
16787 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16788 # instead of lib<name>.a to let people know that these are not
16789 # typical AIX shared libraries.
16790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16792 # We preserve .a as extension for shared libraries through AIX4.2
16793 # and later when we are not doing run time linking.
16794 library_names_spec
='${libname}${release}.a $libname.a'
16795 soname_spec
='${libname}${release}${shared_ext}$major'
16797 shlibpath_var
=LIBPATH
16802 library_names_spec
='$libname.ixlibrary $libname.a'
16803 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16804 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'
16808 library_names_spec
='${libname}${shared_ext}'
16809 dynamic_linker
="$host_os ld.so"
16810 shlibpath_var
=LIBRARY_PATH
16816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16817 soname_spec
='${libname}${release}${shared_ext}$major'
16818 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16819 shlibpath_var
=LD_LIBRARY_PATH
16820 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16821 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16822 # the default ld.so.conf also contains /usr/contrib/lib and
16823 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16824 # libtool to hard-code these into programs
16827 cygwin
* | mingw
* | pw32
*)
16828 version_type
=windows
16833 case $GCC,$host_os in
16834 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16835 library_names_spec
='$libname.dll.a'
16836 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16837 postinstall_cmds
='base_file=`basename \${file}`~
16838 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16839 dldir=$destdir/`dirname \$dlpath`~
16840 test -d \$dldir || mkdir -p \$dldir~
16841 $install_prog $dir/$dlname \$dldir/$dlname'
16842 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16843 dlpath=$dir/\$dldll~
16845 shlibpath_overrides_runpath
=yes
16849 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16850 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16851 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16854 # MinGW DLLs use traditional 'lib' prefix
16855 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16856 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16857 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16858 # It is most probably a Windows format PATH printed by
16859 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16860 # path with ; separators, and with drive letters. We can handle the
16861 # drive letters (cygwin fileutils understands them), so leave them,
16862 # especially as we might pass files found there to a mingw objdump,
16863 # which wouldn't understand a cygwinified path. Ahh.
16864 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16866 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16870 # pw32 DLLs use 'pw' prefix rather than 'lib'
16871 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16877 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16880 dynamic_linker
='Win32 ld.exe'
16881 # FIXME: first we should search . and the directory the executable is in
16885 darwin
* | rhapsody
*)
16886 dynamic_linker
="$host_os dyld"
16887 version_type
=darwin
16890 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16891 soname_spec
='${libname}${release}${major}$shared_ext'
16892 shlibpath_overrides_runpath
=yes
16893 shlibpath_var
=DYLD_LIBRARY_PATH
16894 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
16895 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16896 if test "$GCC" = yes; then
16897 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16899 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16901 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16909 soname_spec
='${libname}${release}${shared_ext}$major'
16910 shlibpath_var
=LD_LIBRARY_PATH
16921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16922 soname_spec
='${libname}${release}${shared_ext}$major'
16923 shlibpath_var
=LD_LIBRARY_PATH
16924 shlibpath_overrides_runpath
=no
16925 hardcode_into_libs
=yes
16926 dynamic_linker
='GNU ld.so'
16930 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16931 version_type
=freebsd-
$objformat
16932 case $version_type in
16934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16939 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16943 shlibpath_var
=LD_LIBRARY_PATH
16946 shlibpath_overrides_runpath
=yes
16948 freebsd3.01
* | freebsdelf3.01
*)
16949 shlibpath_overrides_runpath
=yes
16950 hardcode_into_libs
=yes
16953 shlibpath_overrides_runpath
=no
16954 hardcode_into_libs
=yes
16963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16964 soname_spec
='${libname}${release}${shared_ext}$major'
16965 shlibpath_var
=LD_LIBRARY_PATH
16966 hardcode_into_libs
=yes
16969 hpux9
* | hpux10
* | hpux11
*)
16970 # Give a soname corresponding to the major version so that dld.sl refuses to
16971 # link against other versions.
16975 case "$host_cpu" in
16978 hardcode_into_libs
=yes
16979 dynamic_linker
="$host_os dld.so"
16980 shlibpath_var
=LD_LIBRARY_PATH
16981 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16983 soname_spec
='${libname}${release}${shared_ext}$major'
16984 if test "X$HPUX_IA64_MODE" = X32
; then
16985 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16987 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16989 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16993 hardcode_into_libs
=yes
16994 dynamic_linker
="$host_os dld.sl"
16995 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16996 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16998 soname_spec
='${libname}${release}${shared_ext}$major'
16999 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17000 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17004 dynamic_linker
="$host_os dld.sl"
17005 shlibpath_var
=SHLIB_PATH
17006 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17008 soname_spec
='${libname}${release}${shared_ext}$major'
17011 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17012 postinstall_cmds
='chmod 555 $lib'
17015 irix5
* | irix6
* | nonstopux
*)
17017 nonstopux
*) version_type
=nonstopux
;;
17019 if test "$lt_cv_prog_gnu_ld" = yes; then
17027 soname_spec
='${libname}${release}${shared_ext}$major'
17028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17030 irix5
* | nonstopux
*)
17031 libsuff
= shlibsuff
=
17034 case $LD in # libtool.m4 will add one of these switches to LD
17035 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17036 libsuff
= shlibsuff
= libmagic
=32-bit;;
17037 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17038 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17039 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17040 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17041 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17045 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17046 shlibpath_overrides_runpath
=no
17047 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17048 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17049 hardcode_into_libs
=yes
17052 # No shared lib support for Linux oldld, aout, or coff.
17053 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17057 # This must be Linux ELF.
17062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17063 soname_spec
='${libname}${release}${shared_ext}$major'
17064 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17065 shlibpath_var
=LD_LIBRARY_PATH
17066 shlibpath_overrides_runpath
=no
17067 # This implies no fast_install, which is unacceptable.
17068 # Some rework will be needed to allow for fast_install
17069 # before this can be enabled.
17070 hardcode_into_libs
=yes
17072 # Append ld.so.conf contents to the search path
17073 if test -f /etc
/ld.so.conf
; then
17074 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
17075 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17078 # We used to test for /lib/ld.so.1 and disable shared libraries on
17079 # powerpc, because MkLinux only supported shared libraries with the
17080 # GNU dynamic linker. Since this was broken with cross compilers,
17081 # most powerpc-linux boxes support dynamic linking these days and
17082 # people can always --disable-shared, the test was removed, and we
17083 # assume the GNU/Linux dynamic linker is in use.
17084 dynamic_linker
='GNU/Linux ld.so'
17091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17092 soname_spec
='${libname}${release}${shared_ext}$major'
17093 shlibpath_var
=LD_LIBRARY_PATH
17094 shlibpath_overrides_runpath
=no
17095 hardcode_into_libs
=yes
17096 dynamic_linker
='GNU ld.so'
17103 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17105 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17106 dynamic_linker
='NetBSD (a.out) ld.so'
17108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17109 soname_spec
='${libname}${release}${shared_ext}$major'
17110 dynamic_linker
='NetBSD ld.elf_so'
17112 shlibpath_var
=LD_LIBRARY_PATH
17113 shlibpath_overrides_runpath
=yes
17114 hardcode_into_libs
=yes
17119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17120 shlibpath_var
=LD_LIBRARY_PATH
17121 shlibpath_overrides_runpath
=yes
17128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17129 soname_spec
='${libname}${release}${shared_ext}$major'
17130 shlibpath_var
=LD_LIBRARY_PATH
17131 shlibpath_overrides_runpath
=yes
17138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17139 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17140 shlibpath_var
=LD_LIBRARY_PATH
17141 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17143 openbsd2.
[89] | openbsd2.
[89].
*)
17144 shlibpath_overrides_runpath
=no
17147 shlibpath_overrides_runpath
=yes
17151 shlibpath_overrides_runpath
=yes
17156 libname_spec
='$name'
17159 library_names_spec
='$libname${shared_ext} $libname.a'
17160 dynamic_linker
='OS/2 ld.exe'
17161 shlibpath_var
=LIBPATH
17164 osf3
* | osf4
* | osf5
*)
17168 soname_spec
='${libname}${release}${shared_ext}$major'
17169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17170 shlibpath_var
=LD_LIBRARY_PATH
17171 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17172 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17177 soname_spec
='${libname}${release}${shared_ext}$major'
17178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17179 shlibpath_var
=LD_LIBRARY_PATH
17186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17187 soname_spec
='${libname}${release}${shared_ext}$major'
17188 shlibpath_var
=LD_LIBRARY_PATH
17189 shlibpath_overrides_runpath
=yes
17190 hardcode_into_libs
=yes
17191 # ldd complains unless libraries are executable
17192 postinstall_cmds
='chmod +x $lib'
17197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17198 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17199 shlibpath_var
=LD_LIBRARY_PATH
17200 shlibpath_overrides_runpath
=yes
17201 if test "$with_gnu_ld" = yes; then
17207 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17210 soname_spec
='${libname}${release}${shared_ext}$major'
17211 shlibpath_var
=LD_LIBRARY_PATH
17212 case $host_vendor in
17214 shlibpath_overrides_runpath
=no
17216 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17217 runpath_var
=LD_RUN_PATH
17225 shlibpath_overrides_runpath
=no
17226 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17232 if test -d /usr
/nec
;then
17234 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17235 soname_spec
='$libname${shared_ext}.$major'
17236 shlibpath_var
=LD_LIBRARY_PATH
17242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17243 soname_spec
='${libname}${release}${shared_ext}$major'
17244 shlibpath_var
=LD_LIBRARY_PATH
17251 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17252 echo "${ECHO_T}$dynamic_linker" >&6
17253 test "$dynamic_linker" = no
&& can_build_shared
=no
17255 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17256 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17257 hardcode_action_CXX
=
17258 if test -n "$hardcode_libdir_flag_spec_CXX" || \
17259 test -n "$runpath_var_CXX" || \
17260 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17262 # We can hardcode non-existant directories.
17263 if test "$hardcode_direct_CXX" != no
&&
17264 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17265 # have to relink, otherwise we might link with an installed library
17266 # when we should be linking with a yet-to-be-installed one
17267 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17268 test "$hardcode_minus_L_CXX" != no
; then
17269 # Linking always hardcodes the temporary library directory.
17270 hardcode_action_CXX
=relink
17272 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17273 hardcode_action_CXX
=immediate
17276 # We cannot hardcode anything, or else we can only hardcode existing
17278 hardcode_action_CXX
=unsupported
17280 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17281 echo "${ECHO_T}$hardcode_action_CXX" >&6
17283 if test "$hardcode_action_CXX" = relink
; then
17284 # Fast installation is not supported
17285 enable_fast_install
=no
17286 elif test "$shlibpath_overrides_runpath" = yes ||
17287 test "$enable_shared" = no
; then
17288 # Fast installation is not necessary
17289 enable_fast_install
=needless
17294 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17295 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17296 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17297 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17298 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17299 echo "$as_me:$LINENO: result: yes" >&5
17300 echo "${ECHO_T}yes" >&6
17302 # FIXME - insert some real tests, host_os isn't really good enough
17305 if test -n "$STRIP" ; then
17306 striplib
="$STRIP -x"
17307 echo "$as_me:$LINENO: result: yes" >&5
17308 echo "${ECHO_T}yes" >&6
17310 echo "$as_me:$LINENO: result: no" >&5
17311 echo "${ECHO_T}no" >&6
17315 echo "$as_me:$LINENO: result: no" >&5
17316 echo "${ECHO_T}no" >&6
17321 if test "x$enable_dlopen" != xyes
; then
17322 enable_dlopen
=unknown
17323 enable_dlopen_self
=unknown
17324 enable_dlopen_self_static
=unknown
17331 lt_cv_dlopen
="load_add_on"
17333 lt_cv_dlopen_self
=yes
17337 lt_cv_dlopen
="LoadLibrary"
17342 lt_cv_dlopen
="dlopen"
17347 # if libdl is installed we need to link against it
17348 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17349 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17350 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17353 ac_check_lib_save_LIBS
=$LIBS
17355 cat >conftest.
$ac_ext <<_ACEOF
17358 cat confdefs.h
>>conftest.
$ac_ext
17359 cat >>conftest.
$ac_ext <<_ACEOF
17360 /* end confdefs.h. */
17362 /* Override any gcc2 internal prototype to avoid an error. */
17366 /* We use char because int might match the return type of a gcc2
17367 builtin and then its argument prototype would still apply. */
17377 rm -f conftest.
$ac_objext conftest
$ac_exeext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17379 (eval $ac_link) 2>conftest.er1
17381 grep -v '^ *+' conftest.er1
>conftest.err
17383 cat conftest.err
>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } &&
17386 { ac_try
='test -z "$ac_cxx_werror_flag"
17387 || test ! -s conftest.err'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try
='test -s conftest$ac_exeext'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 ac_cv_lib_dl_dlopen
=yes
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.
$ac_ext >&5
17404 ac_cv_lib_dl_dlopen
=no
17406 rm -f conftest.err conftest.
$ac_objext \
17407 conftest
$ac_exeext conftest.
$ac_ext
17408 LIBS
=$ac_check_lib_save_LIBS
17410 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17411 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17412 if test $ac_cv_lib_dl_dlopen = yes; then
17413 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17416 lt_cv_dlopen
="dyld"
17418 lt_cv_dlopen_self
=yes
17425 echo "$as_me:$LINENO: checking for shl_load" >&5
17426 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17427 if test "${ac_cv_func_shl_load+set}" = set; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17430 cat >conftest.
$ac_ext <<_ACEOF
17433 cat confdefs.h
>>conftest.
$ac_ext
17434 cat >>conftest.
$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17436 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17438 #define shl_load innocuous_shl_load
17440 /* System header to define __stub macros and hopefully few prototypes,
17441 which can conflict with char shl_load (); below.
17442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17443 <limits.h> exists even on freestanding compilers. */
17446 # include <limits.h>
17448 # include <assert.h>
17453 /* Override any gcc2 internal prototype to avoid an error. */
17458 /* We use char because int might match the return type of a gcc2
17459 builtin and then its argument prototype would still apply. */
17461 /* The GNU C library defines this for functions which it implements
17462 to always fail with ENOSYS. Some functions are actually named
17463 something starting with __ and the normal name is an alias. */
17464 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17467 char (*f) () = shl_load;
17476 return f != shl_load;
17481 rm -f conftest.
$ac_objext conftest
$ac_exeext
17482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17483 (eval $ac_link) 2>conftest.er1
17485 grep -v '^ *+' conftest.er1
>conftest.err
17487 cat conftest.err
>&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } &&
17490 { ac_try
='test -z "$ac_cxx_werror_flag"
17491 || test ! -s conftest.err'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; } &&
17497 { ac_try
='test -s conftest$ac_exeext'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; }; then
17503 ac_cv_func_shl_load
=yes
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.
$ac_ext >&5
17508 ac_cv_func_shl_load
=no
17510 rm -f conftest.err conftest.
$ac_objext \
17511 conftest
$ac_exeext conftest.
$ac_ext
17513 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17514 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17515 if test $ac_cv_func_shl_load = yes; then
17516 lt_cv_dlopen
="shl_load"
17518 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17519 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17520 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17521 echo $ECHO_N "(cached) $ECHO_C" >&6
17523 ac_check_lib_save_LIBS
=$LIBS
17525 cat >conftest.
$ac_ext <<_ACEOF
17528 cat confdefs.h
>>conftest.
$ac_ext
17529 cat >>conftest.
$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17532 /* Override any gcc2 internal prototype to avoid an error. */
17536 /* We use char because int might match the return type of a gcc2
17537 builtin and then its argument prototype would still apply. */
17547 rm -f conftest.
$ac_objext conftest
$ac_exeext
17548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17549 (eval $ac_link) 2>conftest.er1
17551 grep -v '^ *+' conftest.er1
>conftest.err
17553 cat conftest.err
>&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } &&
17556 { ac_try
='test -z "$ac_cxx_werror_flag"
17557 || test ! -s conftest.err'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; } &&
17563 { ac_try
='test -s conftest$ac_exeext'
17564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17565 (eval $ac_try) 2>&5
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); }; }; then
17569 ac_cv_lib_dld_shl_load
=yes
17571 echo "$as_me: failed program was:" >&5
17572 sed 's/^/| /' conftest.
$ac_ext >&5
17574 ac_cv_lib_dld_shl_load
=no
17576 rm -f conftest.err conftest.
$ac_objext \
17577 conftest
$ac_exeext conftest.
$ac_ext
17578 LIBS
=$ac_check_lib_save_LIBS
17580 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17581 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17582 if test $ac_cv_lib_dld_shl_load = yes; then
17583 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17585 echo "$as_me:$LINENO: checking for dlopen" >&5
17586 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17587 if test "${ac_cv_func_dlopen+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 cat >conftest.
$ac_ext <<_ACEOF
17593 cat confdefs.h
>>conftest.
$ac_ext
17594 cat >>conftest.
$ac_ext <<_ACEOF
17595 /* end confdefs.h. */
17596 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17598 #define dlopen innocuous_dlopen
17600 /* System header to define __stub macros and hopefully few prototypes,
17601 which can conflict with char dlopen (); below.
17602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17603 <limits.h> exists even on freestanding compilers. */
17606 # include <limits.h>
17608 # include <assert.h>
17613 /* Override any gcc2 internal prototype to avoid an error. */
17618 /* We use char because int might match the return type of a gcc2
17619 builtin and then its argument prototype would still apply. */
17621 /* The GNU C library defines this for functions which it implements
17622 to always fail with ENOSYS. Some functions are actually named
17623 something starting with __ and the normal name is an alias. */
17624 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17627 char (*f) () = dlopen;
17636 return f != dlopen;
17641 rm -f conftest.
$ac_objext conftest
$ac_exeext
17642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17643 (eval $ac_link) 2>conftest.er1
17645 grep -v '^ *+' conftest.er1
>conftest.err
17647 cat conftest.err
>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } &&
17650 { ac_try
='test -z "$ac_cxx_werror_flag"
17651 || test ! -s conftest.err'
17652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17653 (eval $ac_try) 2>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); }; } &&
17657 { ac_try
='test -s conftest$ac_exeext'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; }; then
17663 ac_cv_func_dlopen
=yes
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.
$ac_ext >&5
17668 ac_cv_func_dlopen
=no
17670 rm -f conftest.err conftest.
$ac_objext \
17671 conftest
$ac_exeext conftest.
$ac_ext
17673 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17674 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17675 if test $ac_cv_func_dlopen = yes; then
17676 lt_cv_dlopen
="dlopen"
17678 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17679 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17680 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 ac_check_lib_save_LIBS
=$LIBS
17685 cat >conftest.
$ac_ext <<_ACEOF
17688 cat confdefs.h
>>conftest.
$ac_ext
17689 cat >>conftest.
$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17692 /* Override any gcc2 internal prototype to avoid an error. */
17696 /* We use char because int might match the return type of a gcc2
17697 builtin and then its argument prototype would still apply. */
17707 rm -f conftest.
$ac_objext conftest
$ac_exeext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17709 (eval $ac_link) 2>conftest.er1
17711 grep -v '^ *+' conftest.er1
>conftest.err
17713 cat conftest.err
>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } &&
17716 { ac_try
='test -z "$ac_cxx_werror_flag"
17717 || test ! -s conftest.err'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; } &&
17723 { ac_try
='test -s conftest$ac_exeext'
17724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725 (eval $ac_try) 2>&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; }; then
17729 ac_cv_lib_dl_dlopen
=yes
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.
$ac_ext >&5
17734 ac_cv_lib_dl_dlopen
=no
17736 rm -f conftest.err conftest.
$ac_objext \
17737 conftest
$ac_exeext conftest.
$ac_ext
17738 LIBS
=$ac_check_lib_save_LIBS
17740 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17741 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17742 if test $ac_cv_lib_dl_dlopen = yes; then
17743 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17745 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17746 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17747 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 ac_check_lib_save_LIBS
=$LIBS
17751 LIBS
="-lsvld $LIBS"
17752 cat >conftest.
$ac_ext <<_ACEOF
17755 cat confdefs.h
>>conftest.
$ac_ext
17756 cat >>conftest.
$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17759 /* Override any gcc2 internal prototype to avoid an error. */
17763 /* We use char because int might match the return type of a gcc2
17764 builtin and then its argument prototype would still apply. */
17774 rm -f conftest.
$ac_objext conftest
$ac_exeext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17776 (eval $ac_link) 2>conftest.er1
17778 grep -v '^ *+' conftest.er1
>conftest.err
17780 cat conftest.err
>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try
='test -z "$ac_cxx_werror_flag"
17784 || test ! -s conftest.err'
17785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786 (eval $ac_try) 2>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); }; } &&
17790 { ac_try
='test -s conftest$ac_exeext'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; }; then
17796 ac_cv_lib_svld_dlopen
=yes
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.
$ac_ext >&5
17801 ac_cv_lib_svld_dlopen
=no
17803 rm -f conftest.err conftest.
$ac_objext \
17804 conftest
$ac_exeext conftest.
$ac_ext
17805 LIBS
=$ac_check_lib_save_LIBS
17807 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17808 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17809 if test $ac_cv_lib_svld_dlopen = yes; then
17810 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17812 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17813 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17814 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 ac_check_lib_save_LIBS
=$LIBS
17819 cat >conftest.
$ac_ext <<_ACEOF
17822 cat confdefs.h
>>conftest.
$ac_ext
17823 cat >>conftest.
$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17826 /* Override any gcc2 internal prototype to avoid an error. */
17830 /* We use char because int might match the return type of a gcc2
17831 builtin and then its argument prototype would still apply. */
17841 rm -f conftest.
$ac_objext conftest
$ac_exeext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17843 (eval $ac_link) 2>conftest.er1
17845 grep -v '^ *+' conftest.er1
>conftest.err
17847 cat conftest.err
>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try
='test -z "$ac_cxx_werror_flag"
17851 || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try
='test -s conftest$ac_exeext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 ac_cv_lib_dld_dld_link
=yes
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.
$ac_ext >&5
17868 ac_cv_lib_dld_dld_link
=no
17870 rm -f conftest.err conftest.
$ac_objext \
17871 conftest
$ac_exeext conftest.
$ac_ext
17872 LIBS
=$ac_check_lib_save_LIBS
17874 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17875 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17876 if test $ac_cv_lib_dld_dld_link = yes; then
17877 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
17898 if test "x$lt_cv_dlopen" != xno
; then
17904 case $lt_cv_dlopen in
17906 save_CPPFLAGS
="$CPPFLAGS"
17907 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
17909 save_LDFLAGS
="$LDFLAGS"
17910 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
17913 LIBS
="$lt_cv_dlopen_libs $LIBS"
17915 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17916 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17917 if test "${lt_cv_dlopen_self+set}" = set; then
17918 echo $ECHO_N "(cached) $ECHO_C" >&6
17920 if test "$cross_compiling" = yes; then :
17921 lt_cv_dlopen_self
=cross
17923 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
17924 lt_status
=$lt_dlunknown
17925 cat > conftest.
$ac_ext <<EOF
17926 #line 17926 "configure"
17927 #include "confdefs.h"
17936 # define LT_DLGLOBAL RTLD_GLOBAL
17939 # define LT_DLGLOBAL DL_GLOBAL
17941 # define LT_DLGLOBAL 0
17945 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17946 find out it does not work in some platform. */
17947 #ifndef LT_DLLAZY_OR_NOW
17949 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17952 # define LT_DLLAZY_OR_NOW DL_LAZY
17955 # define LT_DLLAZY_OR_NOW RTLD_NOW
17958 # define LT_DLLAZY_OR_NOW DL_NOW
17960 # define LT_DLLAZY_OR_NOW 0
17968 extern "C" void exit (int);
17971 void fnord() { int i=42;}
17974 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17975 int status = $lt_dlunknown;
17979 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17980 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17981 /* dlclose (self); */
17987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17988 (eval $ac_link) 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
17992 (.
/conftest
; exit; ) 2>/dev
/null
17994 case x
$lt_status in
17995 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
17996 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
17997 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18000 # compilation failed
18001 lt_cv_dlopen_self
=no
18008 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18009 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18011 if test "x$lt_cv_dlopen_self" = xyes
; then
18012 LDFLAGS
="$LDFLAGS $link_static_flag"
18013 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18014 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18015 if test "${lt_cv_dlopen_self_static+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 if test "$cross_compiling" = yes; then :
18019 lt_cv_dlopen_self_static
=cross
18021 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18022 lt_status
=$lt_dlunknown
18023 cat > conftest.
$ac_ext <<EOF
18024 #line 18024 "configure"
18025 #include "confdefs.h"
18034 # define LT_DLGLOBAL RTLD_GLOBAL
18037 # define LT_DLGLOBAL DL_GLOBAL
18039 # define LT_DLGLOBAL 0
18043 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18044 find out it does not work in some platform. */
18045 #ifndef LT_DLLAZY_OR_NOW
18047 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18050 # define LT_DLLAZY_OR_NOW DL_LAZY
18053 # define LT_DLLAZY_OR_NOW RTLD_NOW
18056 # define LT_DLLAZY_OR_NOW DL_NOW
18058 # define LT_DLLAZY_OR_NOW 0
18066 extern "C" void exit (int);
18069 void fnord() { int i=42;}
18072 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18073 int status = $lt_dlunknown;
18077 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18078 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18079 /* dlclose (self); */
18085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18086 (eval $ac_link) 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18090 (.
/conftest
; exit; ) 2>/dev
/null
18092 case x
$lt_status in
18093 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18094 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18095 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18098 # compilation failed
18099 lt_cv_dlopen_self_static
=no
18106 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18107 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18110 CPPFLAGS
="$save_CPPFLAGS"
18111 LDFLAGS
="$save_LDFLAGS"
18116 case $lt_cv_dlopen_self in
18117 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18118 *) enable_dlopen_self
=unknown
;;
18121 case $lt_cv_dlopen_self_static in
18122 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18123 *) enable_dlopen_self_static
=unknown
;;
18128 # The else clause should only fire when bootstrapping the
18129 # libtool distribution, otherwise you forgot to ship ltmain.sh
18130 # with your package, and you will get complaints that there are
18131 # no rules to generate ltmain.sh.
18132 if test -f "$ltmain"; then
18133 # See if we are running on zsh, and set the options which allow our commands through
18134 # without removal of \ escapes.
18135 if test -n "${ZSH_VERSION+set}" ; then
18136 setopt NO_GLOB_SUBST
18138 # Now quote all the things that may contain metacharacters while being
18139 # careful not to overquote the AC_SUBSTed values. We take copies of the
18140 # variables and quote the copies for generation of the libtool script.
18141 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18143 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18144 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18145 deplibs_check_method reload_flag reload_cmds need_locks \
18146 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18147 lt_cv_sys_global_symbol_to_c_name_address \
18148 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18149 old_postinstall_cmds old_postuninstall_cmds \
18153 lt_prog_compiler_wl_CXX \
18154 lt_prog_compiler_pic_CXX \
18155 lt_prog_compiler_static_CXX \
18156 lt_prog_compiler_no_builtin_flag_CXX \
18157 export_dynamic_flag_spec_CXX \
18158 thread_safe_flag_spec_CXX \
18159 whole_archive_flag_spec_CXX \
18160 enable_shared_with_static_runtimes_CXX \
18161 old_archive_cmds_CXX \
18162 old_archive_from_new_cmds_CXX \
18163 predep_objects_CXX \
18164 postdep_objects_CXX \
18167 compiler_lib_search_path_CXX \
18169 archive_expsym_cmds_CXX \
18170 postinstall_cmds_CXX \
18171 postuninstall_cmds_CXX \
18172 old_archive_from_expsyms_cmds_CXX \
18173 allow_undefined_flag_CXX \
18174 no_undefined_flag_CXX \
18175 export_symbols_cmds_CXX \
18176 hardcode_libdir_flag_spec_CXX \
18177 hardcode_libdir_flag_spec_ld_CXX \
18178 hardcode_libdir_separator_CXX \
18179 hardcode_automatic_CXX \
18181 module_expsym_cmds_CXX \
18182 lt_cv_prog_compiler_c_o_CXX \
18183 exclude_expsyms_CXX \
18184 include_expsyms_CXX
; do
18187 old_archive_cmds_CXX | \
18188 old_archive_from_new_cmds_CXX | \
18189 archive_cmds_CXX | \
18190 archive_expsym_cmds_CXX | \
18191 module_cmds_CXX | \
18192 module_expsym_cmds_CXX | \
18193 old_archive_from_expsyms_cmds_CXX | \
18194 export_symbols_cmds_CXX | \
18195 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18196 postinstall_cmds | postuninstall_cmds | \
18197 old_postinstall_cmds | old_postuninstall_cmds | \
18198 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18199 # Double-quote double-evaled strings.
18200 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18203 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18209 *'\$0 --fallback-echo"')
18210 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18216 cat <<__EOF__ >> "$cfgfile"
18217 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18219 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18221 # Shell to use when invoking shell scripts.
18224 # Whether or not to build shared libraries.
18225 build_libtool_libs=$enable_shared
18227 # Whether or not to build static libraries.
18228 build_old_libs=$enable_static
18230 # Whether or not to add -lc for building shared libraries.
18231 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18233 # Whether or not to disallow shared libs when runtime libs are static
18234 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18236 # Whether or not to optimize for fast installation.
18237 fast_install=$enable_fast_install
18240 host_alias=$host_alias
18243 # An echo program that does not interpret backslashes.
18248 AR_FLAGS=$lt_AR_FLAGS
18253 # A language-specific compiler.
18254 CC=$lt_compiler_CXX
18256 # Is the compiler the GNU C compiler?
18262 # The linker used to build libraries.
18265 # Whether we need hard or soft links.
18268 # A BSD-compatible nm program.
18271 # A symbol stripping program
18274 # Used to examine libraries when file_magic_cmd begins "file"
18275 MAGIC_CMD=$MAGIC_CMD
18277 # Used on cygwin: DLL creation program.
18280 # Used on cygwin: object dumper.
18283 # Used on cygwin: assembler.
18286 # The name of the directory that contains temporary libtool files.
18289 # How to create reloadable object files.
18290 reload_flag=$lt_reload_flag
18291 reload_cmds=$lt_reload_cmds
18293 # How to pass a linker flag through the compiler.
18294 wl=$lt_lt_prog_compiler_wl_CXX
18296 # Object file suffix (normally "o").
18297 objext="$ac_objext"
18299 # Old archive suffix (normally "a").
18302 # Shared library suffix (normally ".so").
18303 shrext_cmds='$shrext_cmds'
18305 # Executable file suffix (normally "").
18308 # Additional compiler flags for building library objects.
18309 pic_flag=$lt_lt_prog_compiler_pic_CXX
18312 # What is the maximum length of a command?
18313 max_cmd_len=$lt_cv_sys_max_cmd_len
18315 # Does compiler simultaneously support -c and -o options?
18316 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18318 # Must we lock files when doing compilation ?
18319 need_locks=$lt_need_locks
18321 # Do we need the lib prefix for modules?
18322 need_lib_prefix=$need_lib_prefix
18324 # Do we need a version for libraries?
18325 need_version=$need_version
18327 # Whether dlopen is supported.
18328 dlopen_support=$enable_dlopen
18330 # Whether dlopen of programs is supported.
18331 dlopen_self=$enable_dlopen_self
18333 # Whether dlopen of statically linked programs is supported.
18334 dlopen_self_static=$enable_dlopen_self_static
18336 # Compiler flag to prevent dynamic linking.
18337 link_static_flag=$lt_lt_prog_compiler_static_CXX
18339 # Compiler flag to turn off builtin functions.
18340 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18342 # Compiler flag to allow reflexive dlopens.
18343 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18345 # Compiler flag to generate shared objects directly from archives.
18346 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18348 # Compiler flag to generate thread-safe objects.
18349 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
18351 # Library versioning type.
18352 version_type=$version_type
18354 # Format of library name prefix.
18355 libname_spec=$lt_libname_spec
18357 # List of archive names. First name is the real one, the rest are links.
18358 # The last name is the one that the linker finds with -lNAME.
18359 library_names_spec=$lt_library_names_spec
18361 # The coded name of the library, if different from the real name.
18362 soname_spec=$lt_soname_spec
18364 # Commands used to build and install an old-style archive.
18366 old_archive_cmds=$lt_old_archive_cmds_CXX
18367 old_postinstall_cmds=$lt_old_postinstall_cmds
18368 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18370 # Create an old-style archive from a shared archive.
18371 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18373 # Create a temporary old-style archive to link instead of a shared archive.
18374 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18376 # Commands used to build and install a shared archive.
18377 archive_cmds=$lt_archive_cmds_CXX
18378 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18379 postinstall_cmds=$lt_postinstall_cmds
18380 postuninstall_cmds=$lt_postuninstall_cmds
18382 # Commands used to build a loadable module (assumed same as above if empty)
18383 module_cmds=$lt_module_cmds_CXX
18384 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18386 # Commands to strip libraries.
18387 old_striplib=$lt_old_striplib
18388 striplib=$lt_striplib
18390 # Dependencies to place before the objects being linked to create a
18392 predep_objects=$lt_predep_objects_CXX
18394 # Dependencies to place after the objects being linked to create a
18396 postdep_objects=$lt_postdep_objects_CXX
18398 # Dependencies to place before the objects being linked to create a
18400 predeps=$lt_predeps_CXX
18402 # Dependencies to place after the objects being linked to create a
18404 postdeps=$lt_postdeps_CXX
18406 # The library search path used internally by the compiler when linking
18407 # a shared library.
18408 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18410 # Method to check whether dependent libraries are shared objects.
18411 deplibs_check_method=$lt_deplibs_check_method
18413 # Command to use when deplibs_check_method == file_magic.
18414 file_magic_cmd=$lt_file_magic_cmd
18416 # Flag that allows shared libraries with undefined symbols to be built.
18417 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18419 # Flag that forces no undefined symbols.
18420 no_undefined_flag=$lt_no_undefined_flag_CXX
18422 # Commands used to finish a libtool library installation in a directory.
18423 finish_cmds=$lt_finish_cmds
18425 # Same as above, but a single script fragment to be evaled but not shown.
18426 finish_eval=$lt_finish_eval
18428 # Take the output of nm and produce a listing of raw symbols and C names.
18429 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18431 # Transform the output of nm in a proper C declaration
18432 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18434 # Transform the output of nm in a C name address pair
18435 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18437 # This is the shared library runtime path variable.
18438 runpath_var=$runpath_var
18440 # This is the shared library path variable.
18441 shlibpath_var=$shlibpath_var
18443 # Is shlibpath searched before the hard-coded library search path?
18444 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18446 # How to hardcode a shared library path into an executable.
18447 hardcode_action=$hardcode_action_CXX
18449 # Whether we should hardcode library paths into libraries.
18450 hardcode_into_libs=$hardcode_into_libs
18452 # Flag to hardcode \$libdir into a binary during linking.
18453 # This must work even if \$libdir does not exist.
18454 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18456 # If ld is used when linking, flag to hardcode \$libdir into
18457 # a binary during linking. This must work even if \$libdir does
18459 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18461 # Whether we need a single -rpath flag with a separated argument.
18462 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18464 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18465 # resulting binary.
18466 hardcode_direct=$hardcode_direct_CXX
18468 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18469 # resulting binary.
18470 hardcode_minus_L=$hardcode_minus_L_CXX
18472 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18473 # the resulting binary.
18474 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18476 # Set to yes if building a shared library automatically hardcodes DIR into the library
18477 # and all subsequent libraries and executables linked against it.
18478 hardcode_automatic=$hardcode_automatic_CXX
18480 # Variables whose values should be saved in libtool wrapper scripts and
18481 # restored at relink time.
18482 variables_saved_for_relink="$variables_saved_for_relink"
18484 # Whether libtool must link a program against all its dependency libraries.
18485 link_all_deplibs=$link_all_deplibs_CXX
18487 # Compile-time system search path for libraries
18488 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18490 # Run-time system search path for libraries
18491 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18493 # Fix the shell variable \$srcfile for the compiler.
18494 fix_srcfile_path="$fix_srcfile_path_CXX"
18496 # Set to yes if exported symbols are required.
18497 always_export_symbols=$always_export_symbols_CXX
18499 # The commands to list exported symbols.
18500 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18502 # The commands to extract the exported symbol list from a shared archive.
18503 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18505 # Symbols that should not be listed in the preloaded symbols.
18506 exclude_expsyms=$lt_exclude_expsyms_CXX
18508 # Symbols that must always be exported.
18509 include_expsyms=$lt_include_expsyms_CXX
18511 # ### END LIBTOOL TAG CONFIG: $tagname
18517 # If there is no Makefile yet, we rely on a make rule to execute
18518 # `config.status --recheck' to rerun these tests and create the
18519 # libtool script then.
18520 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18521 if test -f "$ltmain_in"; then
18522 test -f Makefile
&& make "$ltmain"
18528 ac_cpp
='$CPP $CPPFLAGS'
18529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18537 with_gnu_ldcxx
=$with_gnu_ld
18538 with_gnu_ld
=$lt_save_with_gnu_ld
18539 lt_cv_path_LDCXX
=$lt_cv_path_LD
18540 lt_cv_path_LD
=$lt_save_path_LD
18541 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18542 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18550 if test -n "$F77" && test "X$F77" != "Xno"; then
18553 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18554 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18555 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
18558 archive_cmds_need_lc_F77
=no
18559 allow_undefined_flag_F77
=
18560 always_export_symbols_F77
=no
18561 archive_expsym_cmds_F77
=
18562 export_dynamic_flag_spec_F77
=
18563 hardcode_direct_F77
=no
18564 hardcode_libdir_flag_spec_F77
=
18565 hardcode_libdir_flag_spec_ld_F77
=
18566 hardcode_libdir_separator_F77
=
18567 hardcode_minus_L_F77
=no
18568 hardcode_automatic_F77
=no
18570 module_expsym_cmds_F77
=
18571 link_all_deplibs_F77
=unknown
18572 old_archive_cmds_F77
=$old_archive_cmds
18573 no_undefined_flag_F77
=
18574 whole_archive_flag_spec_F77
=
18575 enable_shared_with_static_runtimes_F77
=no
18577 # Source file extension for f77 test sources.
18580 # Object file extension for compiled f77 test sources.
18584 # Code to be used in simple compile tests
18585 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
18587 # Code to be used in simple link tests
18588 lt_simple_link_test_code
=" program t\n end\n"
18590 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18592 # If no C compiler was specified, use CC.
18595 # Allow CC to be a program name with arguments.
18599 # Allow CC to be a program name with arguments.
18604 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
18606 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
18607 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
18608 echo "$as_me:$LINENO: result: $can_build_shared" >&5
18609 echo "${ECHO_T}$can_build_shared" >&6
18611 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
18612 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
18613 test "$can_build_shared" = "no" && enable_shared
=no
18615 # On AIX, shared libraries and static libraries use the same namespace, and
18616 # are all built from PIC.
18619 test "$enable_shared" = yes && enable_static
=no
18620 if test -n "$RANLIB"; then
18621 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
18622 postinstall_cmds
='$RANLIB $lib'
18626 test "$enable_shared" = yes && enable_static
=no
18629 echo "$as_me:$LINENO: result: $enable_shared" >&5
18630 echo "${ECHO_T}$enable_shared" >&6
18632 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
18633 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
18634 # Make sure either enable_shared or enable_static is yes.
18635 test "$enable_shared" = yes || enable_static
=yes
18636 echo "$as_me:$LINENO: result: $enable_static" >&5
18637 echo "${ECHO_T}$enable_static" >&6
18639 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
18644 lt_prog_compiler_wl_F77
=
18645 lt_prog_compiler_pic_F77
=
18646 lt_prog_compiler_static_F77
=
18648 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18649 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18651 if test "$GCC" = yes; then
18652 lt_prog_compiler_wl_F77
='-Wl,'
18653 lt_prog_compiler_static_F77
='-static'
18657 # All AIX code is PIC.
18658 if test "$host_cpu" = ia64
; then
18659 # AIX 5 now supports IA64 processor
18660 lt_prog_compiler_static_F77
='-Bstatic'
18665 # FIXME: we need at least 68020 code to build shared libraries, but
18666 # adding the `-m68020' flag to GCC prevents building anything better,
18668 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
18671 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18672 # PIC is the default for these OSes.
18675 mingw
* | pw32
* | os2
*)
18676 # This hack is so that the source file can tell whether it is being
18677 # built for inclusion in a dll (and should export symbols for example).
18678 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
18681 darwin
* | rhapsody
*)
18682 # PIC is the default on this platform
18683 # Common symbols not allowed in MH_DYLIB files
18684 lt_prog_compiler_pic_F77
='-fno-common'
18688 # Just because we use GCC doesn't mean we suddenly get shared libraries
18689 # on systems that don't support them.
18690 lt_prog_compiler_can_build_shared_F77
=no
18695 if test -d /usr
/nec
; then
18696 lt_prog_compiler_pic_F77
=-Kconform_pic
18701 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18702 # not for PA HP-UX.
18703 case "$host_cpu" in
18708 lt_prog_compiler_pic_F77
='-fPIC'
18714 lt_prog_compiler_pic_F77
='-fPIC'
18718 # PORTME Check for flag to pass linker flags through the system compiler.
18721 lt_prog_compiler_wl_F77
='-Wl,'
18722 if test "$host_cpu" = ia64
; then
18723 # AIX 5 now supports IA64 processor
18724 lt_prog_compiler_static_F77
='-Bstatic'
18726 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
18730 # PIC is the default on this platform
18731 # Common symbols not allowed in MH_DYLIB files
18732 case "$cc_basename" in
18734 lt_prog_compiler_pic_F77
='-qnocommon'
18735 lt_prog_compiler_wl_F77
='-Wl,'
18740 mingw
* | pw32
* | os2
*)
18741 # This hack is so that the source file can tell whether it is being
18742 # built for inclusion in a dll (and should export symbols for example).
18743 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
18746 hpux9
* | hpux10
* | hpux11
*)
18747 lt_prog_compiler_wl_F77
='-Wl,'
18748 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18749 # not for PA HP-UX.
18750 case "$host_cpu" in
18755 lt_prog_compiler_pic_F77
='+Z'
18758 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18759 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
18762 irix5
* | irix6
* | nonstopux
*)
18763 lt_prog_compiler_wl_F77
='-Wl,'
18764 # PIC (with -KPIC) is the default.
18765 lt_prog_compiler_static_F77
='-non_shared'
18769 lt_prog_compiler_pic_F77
='-KPIC'
18770 lt_prog_compiler_static_F77
='-Bstatic'
18776 lt_prog_compiler_wl_F77
='-Wl,'
18777 lt_prog_compiler_pic_F77
='-KPIC'
18778 lt_prog_compiler_static_F77
='-static'
18781 lt_prog_compiler_wl_F77
='-Wl,'
18782 # All Alpha code is PIC.
18783 lt_prog_compiler_static_F77
='-non_shared'
18788 osf3
* | osf4
* | osf5
*)
18789 lt_prog_compiler_wl_F77
='-Wl,'
18790 # All OSF/1 code is PIC.
18791 lt_prog_compiler_static_F77
='-non_shared'
18795 lt_prog_compiler_pic_F77
='-Kpic'
18796 lt_prog_compiler_static_F77
='-dn'
18800 lt_prog_compiler_wl_F77
='-Wl,'
18801 lt_prog_compiler_pic_F77
='-KPIC'
18802 lt_prog_compiler_static_F77
='-Bstatic'
18806 lt_prog_compiler_wl_F77
='-Qoption ld '
18807 lt_prog_compiler_pic_F77
='-PIC'
18808 lt_prog_compiler_static_F77
='-Bstatic'
18811 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18812 lt_prog_compiler_wl_F77
='-Wl,'
18813 lt_prog_compiler_pic_F77
='-KPIC'
18814 lt_prog_compiler_static_F77
='-Bstatic'
18818 if test -d /usr
/nec
;then
18819 lt_prog_compiler_pic_F77
='-Kconform_pic'
18820 lt_prog_compiler_static_F77
='-Bstatic'
18825 lt_prog_compiler_pic_F77
='-pic'
18826 lt_prog_compiler_static_F77
='-Bstatic'
18830 lt_prog_compiler_can_build_shared_F77
=no
18835 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
18836 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
18839 # Check to make sure the PIC flag actually works.
18841 if test -n "$lt_prog_compiler_pic_F77"; then
18843 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
18844 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
18845 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 lt_prog_compiler_pic_works_F77
=no
18849 ac_outfile
=conftest.
$ac_objext
18850 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18851 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
18852 # Insert the option either (1) after the last *FLAGS variable, or
18853 # (2) before a word containing "conftest.", or (3) at the end.
18854 # Note that $ac_compile itself does not contain backslashes and begins
18855 # with a dollar sign (not a hyphen), so the echo should work correctly.
18856 # The option is referenced via a variable to avoid confusing sed.
18857 lt_compile
=`echo "$ac_compile" | $SED \
18858 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18860 -e 's:$: $lt_compiler_flag:'`
18861 (eval echo "\"\$as_me:18861: $lt_compile\"" >&5)
18862 (eval "$lt_compile" 2>conftest.err
)
18864 cat conftest.err
>&5
18865 echo "$as_me:18865: \$? = $ac_status" >&5
18866 if (exit $ac_status) && test -s "$ac_outfile"; then
18867 # The compiler can only warn and ignore the option if not recognized
18868 # So say no if there are warnings
18869 if test ! -s conftest.err
; then
18870 lt_prog_compiler_pic_works_F77
=yes
18876 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
18877 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
18879 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
18880 case $lt_prog_compiler_pic_F77 in
18882 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
18885 lt_prog_compiler_pic_F77
=
18886 lt_prog_compiler_can_build_shared_F77
=no
18891 # For platforms which do not support PIC, -DPIC is meaningless:
18893 lt_prog_compiler_pic_F77
=
18896 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
18900 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18901 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18902 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 lt_cv_prog_compiler_c_o_F77
=no
18906 $rm -r conftest
2>/dev
/null
18910 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18912 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18913 # Insert the option either (1) after the last *FLAGS variable, or
18914 # (2) before a word containing "conftest.", or (3) at the end.
18915 # Note that $ac_compile itself does not contain backslashes and begins
18916 # with a dollar sign (not a hyphen), so the echo should work correctly.
18917 lt_compile
=`echo "$ac_compile" | $SED \
18918 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18920 -e 's:$: $lt_compiler_flag:'`
18921 (eval echo "\"\$as_me:18921: $lt_compile\"" >&5)
18922 (eval "$lt_compile" 2>out
/conftest.err
)
18924 cat out
/conftest.err
>&5
18925 echo "$as_me:18925: \$? = $ac_status" >&5
18926 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18928 # The compiler can only warn and ignore the option if not recognized
18929 # So say no if there are warnings
18930 if test ! -s out
/conftest.err
; then
18931 lt_cv_prog_compiler_c_o_F77
=yes
18936 # SGI C++ compiler will create directory out/ii_files/ for
18937 # template instantiation
18938 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18939 $rm out
/* && rmdir out
18945 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
18946 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
18949 hard_links
="nottested"
18950 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
18951 # do not overwrite the value of need_locks provided by the user
18952 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18953 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18956 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18958 ln conftest.a conftest.b
2>&5 || hard_links
=no
18959 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18960 echo "$as_me:$LINENO: result: $hard_links" >&5
18961 echo "${ECHO_T}$hard_links" >&6
18962 if test "$hard_links" = no
; then
18963 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18964 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18971 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18972 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18975 allow_undefined_flag_F77
=
18976 enable_shared_with_static_runtimes_F77
=no
18978 archive_expsym_cmds_F77
=
18979 old_archive_From_new_cmds_F77
=
18980 old_archive_from_expsyms_cmds_F77
=
18981 export_dynamic_flag_spec_F77
=
18982 whole_archive_flag_spec_F77
=
18983 thread_safe_flag_spec_F77
=
18984 hardcode_libdir_flag_spec_F77
=
18985 hardcode_libdir_flag_spec_ld_F77
=
18986 hardcode_libdir_separator_F77
=
18987 hardcode_direct_F77
=no
18988 hardcode_minus_L_F77
=no
18989 hardcode_shlibpath_var_F77
=unsupported
18990 link_all_deplibs_F77
=unknown
18991 hardcode_automatic_F77
=no
18993 module_expsym_cmds_F77
=
18994 always_export_symbols_F77
=no
18995 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18996 # include_expsyms should be a list of space-separated symbols to be *always*
18997 # included in the symbol list
18998 include_expsyms_F77
=
18999 # exclude_expsyms can be an extended regexp of symbols to exclude
19000 # it will be wrapped by ` (' and `)$', so one must not match beginning or
19001 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19002 # as well as any symbol that contains `d'.
19003 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
19004 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19005 # platforms (ab)use it in PIC code, but their linkers get confused if
19006 # the symbol is explicitly referenced. Since portable code cannot
19007 # rely on this symbol name, it's probably fine to never include it in
19008 # preloaded symbol tables.
19009 extract_expsyms_cmds
=
19012 cygwin
* | mingw
* | pw32
*)
19013 # FIXME: the MSVC++ port hasn't been tested in a loooong time
19014 # When not using gcc, we currently assume that we are using
19015 # Microsoft Visual C++.
19016 if test "$GCC" != yes; then
19026 if test "$with_gnu_ld" = yes; then
19027 # If archive_cmds runs LD, not CC, wlarc should be empty
19030 # See if GNU ld supports shared libraries.
19032 aix3
* | aix4
* | aix5
*)
19033 # On AIX/PPC, the GNU linker is very broken
19034 if test "$host_cpu" != ia64
; then
19038 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
19039 *** to be unable to reliably create shared libraries on AIX.
19040 *** Therefore, libtool is disabling shared libraries support. If you
19041 *** really care for shared libraries, you may want to modify your PATH
19042 *** so that a non-GNU linker is found, and then restart.
19049 archive_cmds_F77
='$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)'
19050 hardcode_libdir_flag_spec_F77
='-L$libdir'
19051 hardcode_minus_L_F77
=yes
19053 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19054 # that the semantics of dynamic libraries on AmigaOS, at least up
19055 # to version 4, is to share data among multiple programs linked
19056 # with the same dynamic library. Since this doesn't match the
19057 # behavior of shared libraries on other platforms, we can't use
19063 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19064 allow_undefined_flag_F77
=unsupported
19065 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19066 # support --undefined. This deserves some investigation. FIXME
19067 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19073 cygwin
* | mingw
* | pw32
*)
19074 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
19075 # as there is no search path for DLLs.
19076 hardcode_libdir_flag_spec_F77
='-L$libdir'
19077 allow_undefined_flag_F77
=unsupported
19078 always_export_symbols_F77
=no
19079 enable_shared_with_static_runtimes_F77
=yes
19080 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19082 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
19083 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19084 # If the export-symbols file already is a .def file (1st line
19085 # is EXPORTS), use it as is; otherwise, prepend...
19086 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19087 cp $export_symbols $output_objdir/$soname.def;
19089 echo EXPORTS > $output_objdir/$soname.def;
19090 cat $export_symbols >> $output_objdir/$soname.def;
19092 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19099 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19100 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19103 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19104 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19109 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
19113 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19114 *** create shared libraries on Solaris systems. Therefore, libtool
19115 *** is disabling shared libraries support. We urge you to upgrade GNU
19116 *** binutils to release 2.9.1 or newer. Another option is to modify
19117 *** your PATH or compiler configuration so that the native linker is
19118 *** used, and then restart.
19121 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19122 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19123 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19130 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19132 hardcode_direct_F77
=yes
19133 hardcode_shlibpath_var_F77
=no
19137 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19138 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19139 archive_cmds_F77
="$tmp_archive_cmds"
19140 supports_anon_versioning
=no
19141 case `$LD -v 2>/dev/null` in
19142 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
19143 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
19144 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
19145 *\
2.11.
*) ;; # other 2.11 versions
19146 *) supports_anon_versioning
=yes ;;
19148 if test $supports_anon_versioning = yes; then
19149 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
19150 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19151 $echo "local: *; };" >> $output_objdir/$libname.ver~
19152 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19154 archive_expsym_cmds_F77
="$tmp_archive_cmds"
19162 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19163 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19164 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19171 if test "$ld_shlibs_F77" = yes; then
19172 runpath_var
=LD_RUN_PATH
19173 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
19174 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
19175 # ancient GNU ld didn't support --whole-archive et. al.
19176 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
19177 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19179 whole_archive_flag_spec_F77
=
19183 # PORTME fill in a description of your system's linker (not GNU ld)
19186 allow_undefined_flag_F77
=unsupported
19187 always_export_symbols_F77
=yes
19188 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19189 # Note: this linker hardcodes the directories in LIBPATH if there
19190 # are no directories specified by -L.
19191 hardcode_minus_L_F77
=yes
19192 if test "$GCC" = yes && test -z "$link_static_flag"; then
19193 # Neither direct hardcoding nor static linking is supported with a
19195 hardcode_direct_F77
=unsupported
19200 if test "$host_cpu" = ia64
; then
19201 # On IA64, the linker does run time linking by default, so we don't
19202 # have to do anything special.
19203 aix_use_runtimelinking
=no
19204 exp_sym_flag
='-Bexport'
19207 # If we're using GNU nm, then we don't want the "-C" option.
19208 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19209 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19210 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19212 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19214 aix_use_runtimelinking
=no
19216 # Test if we are trying to use run time linking or normal
19217 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19218 # need to do runtime linking.
19219 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
19220 for ld_flag
in $LDFLAGS; do
19221 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
19222 aix_use_runtimelinking
=yes
19228 exp_sym_flag
='-bexport'
19229 no_entry_flag
='-bnoentry'
19232 # When large executables or shared objects are built, AIX ld can
19233 # have problems creating the table of contents. If linking a library
19234 # or program results in "error TOC overflow" add -mminimal-toc to
19235 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19236 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19238 archive_cmds_F77
=''
19239 hardcode_direct_F77
=yes
19240 hardcode_libdir_separator_F77
=':'
19241 link_all_deplibs_F77
=yes
19243 if test "$GCC" = yes; then
19244 case $host_os in aix4.012|aix4.012.
*)
19245 # We only want to do this on AIX 4.2 and lower, the check
19246 # below for broken collect2 doesn't work under 4.3+
19247 collect2name
=`${CC} -print-prog-name=collect2`
19248 if test -f "$collect2name" && \
19249 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
19251 # We have reworked collect2
19252 hardcode_direct_F77
=yes
19254 # We have old collect2
19255 hardcode_direct_F77
=unsupported
19256 # It fails to find uninstalled libraries when the uninstalled
19257 # path is not listed in the libpath. Setting hardcode_minus_L
19258 # to unsupported forces relinking
19259 hardcode_minus_L_F77
=yes
19260 hardcode_libdir_flag_spec_F77
='-L$libdir'
19261 hardcode_libdir_separator_F77
=
19264 shared_flag
='-shared'
19267 if test "$host_cpu" = ia64
; then
19268 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19269 # chokes on -Wl,-G. The following line is correct:
19272 if test "$aix_use_runtimelinking" = yes; then
19273 shared_flag
='${wl}-G'
19275 shared_flag
='${wl}-bM:SRE'
19280 # It seems that -bexpall does not export symbols beginning with
19281 # underscore (_), so it is better to generate a list of symbols to export.
19282 always_export_symbols_F77
=yes
19283 if test "$aix_use_runtimelinking" = yes; then
19284 # Warning - without using the other runtime loading flags (-brtl),
19285 # -berok will link without error, but may produce a broken library.
19286 allow_undefined_flag_F77
='-berok'
19287 # Determine the default libpath from the value encoded in an empty executable.
19288 cat >conftest.
$ac_ext <<_ACEOF
19293 rm -f conftest.
$ac_objext conftest
$ac_exeext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19295 (eval $ac_link) 2>conftest.er1
19297 grep -v '^ *+' conftest.er1
>conftest.err
19299 cat conftest.err
>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } &&
19302 { ac_try
='test -z "$ac_f77_werror_flag"
19303 || test ! -s conftest.err'
19304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 (eval $ac_try) 2>&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; } &&
19309 { ac_try
='test -s conftest$ac_exeext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19316 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19318 # Check for a 64-bit object if we didn't find anything.
19319 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.
$ac_ext >&5
19326 rm -f conftest.err conftest.
$ac_objext \
19327 conftest
$ac_exeext conftest.
$ac_ext
19328 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
19330 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
19331 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19333 if test "$host_cpu" = ia64; then
19334 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
19335 allow_undefined_flag_F77="-z nodefs"
19336 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
19338 # Determine the default libpath from the value encoded in an empty executable.
19339 cat >conftest.$ac_ext <<_ACEOF
19344 rm -f conftest.$ac_objext conftest$ac_exeext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19346 (eval $ac_link) 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try='test -z "$ac_f77_werror_flag"
19354 || test ! -s conftest.err'
19355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356 (eval $ac_try) 2>&5
19358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19359 (exit $ac_status); }; } &&
19360 { ac_try='test -s conftest$ac_exeext'
19361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19365 (exit $ac_status); }; }; then
19367 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19369 # Check for a 64-bit object if we didn't find anything.
19370 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19373 echo "$as_me: failed program was
:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19377 rm -f conftest.err conftest.$ac_objext \
19378 conftest$ac_exeext conftest.$ac_ext
19379 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
19381 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
19382 # Warning - without using the other run time loading flags,
19383 # -berok will link without error, but may produce a broken library.
19384 no_undefined_flag_F77=' ${wl}-bernotok'
19385 allow_undefined_flag_F77=' ${wl}-berok'
19386 # -bexpall does not export symbols beginning with underscore (_)
19387 always_export_symbols_F77=yes
19388 # Exported symbols can be pulled into shared objects from archives
19389 whole_archive_flag_spec_F77=' '
19390 archive_cmds_need_lc_F77=yes
19391 # This is similar to how AIX traditionally builds it's shared libraries.
19392 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
19398 archive_cmds_F77='$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)'
19399 hardcode_libdir_flag_spec_F77
='-L$libdir'
19400 hardcode_minus_L_F77
=yes
19401 # see comment about different semantics on the GNU ld section
19406 export_dynamic_flag_spec_F77
=-rdynamic
19409 cygwin
* | mingw
* | pw32
*)
19410 # When not using gcc, we currently assume that we are using
19411 # Microsoft Visual C++.
19412 # hardcode_libdir_flag_spec is actually meaningless, as there is
19413 # no search path for DLLs.
19414 hardcode_libdir_flag_spec_F77
=' '
19415 allow_undefined_flag_F77
=unsupported
19416 # Tell ltmain to make .lib files, not .a files.
19418 # Tell ltmain to make .dll files, not .so files.
19420 # FIXME: Setting linknames here is a bad hack.
19421 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19422 # The linker will automatically build a .lib file if we build a DLL.
19423 old_archive_From_new_cmds_F77
='true'
19424 # FIXME: Should let the user specify the lib program.
19425 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
19426 fix_srcfile_path
='`cygpath -w "$srcfile"`'
19427 enable_shared_with_static_runtimes_F77
=yes
19430 darwin
* | rhapsody
*)
19432 rhapsody
* | darwin1.
[012])
19433 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
19436 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19437 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19439 case ${MACOSX_DEPLOYMENT_TARGET} in
19441 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19444 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
19450 archive_cmds_need_lc_F77
=no
19451 hardcode_direct_F77
=no
19452 hardcode_automatic_F77
=yes
19453 hardcode_shlibpath_var_F77
=unsupported
19454 whole_archive_flag_spec_F77
=''
19455 link_all_deplibs_F77
=yes
19456 if test "$GCC" = yes ; then
19457 output_verbose_link_cmd
='echo'
19458 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19459 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19460 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19461 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19462 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19464 case "$cc_basename" in
19466 output_verbose_link_cmd
='echo'
19467 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
19468 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19469 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19470 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19471 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19481 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19482 hardcode_libdir_flag_spec_F77
='-L$libdir'
19483 hardcode_shlibpath_var_F77
=no
19490 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19491 # support. Future versions do this automatically, but an explicit c++rt0.o
19492 # does not break anything, and helps significantly (at the cost of a little
19495 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19496 hardcode_libdir_flag_spec_F77
='-R$libdir'
19497 hardcode_direct_F77
=yes
19498 hardcode_shlibpath_var_F77
=no
19501 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19503 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19504 hardcode_direct_F77
=yes
19505 hardcode_minus_L_F77
=yes
19506 hardcode_shlibpath_var_F77
=no
19509 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19510 freebsd
* | kfreebsd
*-gnu)
19511 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19512 hardcode_libdir_flag_spec_F77
='-R$libdir'
19513 hardcode_direct_F77
=yes
19514 hardcode_shlibpath_var_F77
=no
19518 if test "$GCC" = yes; then
19519 archive_cmds_F77
='$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'
19521 archive_cmds_F77
='$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'
19523 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
19524 hardcode_libdir_separator_F77
=:
19525 hardcode_direct_F77
=yes
19527 # hardcode_minus_L: Not really in the search PATH,
19528 # but as the default location of the library.
19529 hardcode_minus_L_F77
=yes
19530 export_dynamic_flag_spec_F77
='${wl}-E'
19534 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19535 case "$host_cpu" in
19537 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19540 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19544 case "$host_cpu" in
19546 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19549 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19553 if test "$with_gnu_ld" = no
; then
19554 case "$host_cpu" in
19556 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
19557 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
19558 hardcode_libdir_separator_F77
=:
19559 hardcode_direct_F77
=no
19560 hardcode_shlibpath_var_F77
=no
19563 hardcode_libdir_flag_spec_F77
='-L$libdir'
19564 hardcode_direct_F77
=no
19565 hardcode_shlibpath_var_F77
=no
19567 # hardcode_minus_L: Not really in the search PATH,
19568 # but as the default location of the library.
19569 hardcode_minus_L_F77
=yes
19572 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
19573 hardcode_libdir_separator_F77
=:
19574 hardcode_direct_F77
=yes
19575 export_dynamic_flag_spec_F77
='${wl}-E'
19577 # hardcode_minus_L: Not really in the search PATH,
19578 # but as the default location of the library.
19579 hardcode_minus_L_F77
=yes
19585 irix5
* | irix6
* | nonstopux
*)
19586 if test "$GCC" = yes; then
19587 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19589 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19590 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
19592 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
19593 hardcode_libdir_separator_F77
=:
19594 link_all_deplibs_F77
=yes
19598 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19599 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19601 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19603 hardcode_libdir_flag_spec_F77
='-R$libdir'
19604 hardcode_direct_F77
=yes
19605 hardcode_shlibpath_var_F77
=no
19609 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19610 hardcode_direct_F77
=yes
19611 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
19612 hardcode_libdir_separator_F77
=:
19613 hardcode_shlibpath_var_F77
=no
19617 hardcode_direct_F77
=yes
19618 hardcode_shlibpath_var_F77
=no
19619 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19620 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19621 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19622 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
19623 export_dynamic_flag_spec_F77
='${wl}-E'
19626 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19627 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19628 hardcode_libdir_flag_spec_F77
='-R$libdir'
19631 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19632 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
19639 hardcode_libdir_flag_spec_F77
='-L$libdir'
19640 hardcode_minus_L_F77
=yes
19641 allow_undefined_flag_F77
=unsupported
19642 archive_cmds_F77
='$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'
19643 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19647 if test "$GCC" = yes; then
19648 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
19649 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19651 allow_undefined_flag_F77
=' -expect_unresolved \*'
19652 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19654 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
19655 hardcode_libdir_separator_F77
=:
19658 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19659 if test "$GCC" = yes; then
19660 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
19661 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19662 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
19664 allow_undefined_flag_F77
=' -expect_unresolved \*'
19665 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19666 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19667 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
19669 # Both c and cxx compiler support -rpath directly
19670 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
19672 hardcode_libdir_separator_F77
=:
19676 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19677 hardcode_shlibpath_var_F77
=no
19678 export_dynamic_flag_spec_F77
='${wl}-Bexport'
19679 runpath_var
=LD_RUN_PATH
19680 hardcode_runpath_var
=yes
19684 no_undefined_flag_F77
=' -z text'
19685 if test "$GCC" = yes; then
19686 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19687 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19688 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19690 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19691 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19692 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19694 hardcode_libdir_flag_spec_F77
='-R$libdir'
19695 hardcode_shlibpath_var_F77
=no
19697 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19698 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
19699 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
19701 link_all_deplibs_F77
=yes
19705 if test "x$host_vendor" = xsequent
; then
19706 # Use $CC to link under sequent, because it throws in some extra .o
19707 # files that make .init and .fini sections work.
19708 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19710 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19712 hardcode_libdir_flag_spec_F77
='-L$libdir'
19713 hardcode_direct_F77
=yes
19714 hardcode_minus_L_F77
=yes
19715 hardcode_shlibpath_var_F77
=no
19719 case $host_vendor in
19721 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19722 hardcode_direct_F77
=yes # is this really true???
19725 ## LD is ld it makes a PLAMLIB
19726 ## CC just makes a GrossModule.
19727 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19728 reload_cmds_F77
='$CC -r -o $output$reload_objs'
19729 hardcode_direct_F77
=no
19732 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19733 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
19736 runpath_var
='LD_RUN_PATH'
19737 hardcode_shlibpath_var_F77
=no
19741 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19742 hardcode_shlibpath_var_F77
=no
19743 export_dynamic_flag_spec_F77
='-Bexport'
19747 if test -d /usr
/nec
; then
19748 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19749 hardcode_shlibpath_var_F77
=no
19750 runpath_var
=LD_RUN_PATH
19751 hardcode_runpath_var
=yes
19757 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19758 hardcode_direct_F77
=yes
19759 hardcode_minus_L_F77
=no
19760 hardcode_shlibpath_var_F77
=no
19761 hardcode_runpath_var
=yes
19762 runpath_var
=LD_RUN_PATH
19765 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
19766 no_undefined_flag_F77
='${wl}-z ${wl}text'
19767 if test "$GCC" = yes; then
19768 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19770 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19772 runpath_var
='LD_RUN_PATH'
19773 hardcode_shlibpath_var_F77
=no
19777 no_undefined_flag_F77
=' -z text'
19778 # $CC -shared without GNU ld will not create a library from C++
19779 # object files and a static libstdc++, better avoid it by now
19780 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19781 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19782 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19783 hardcode_libdir_flag_spec_F77
=
19784 hardcode_shlibpath_var_F77
=no
19785 runpath_var
='LD_RUN_PATH'
19789 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19790 hardcode_libdir_flag_spec_F77
='-L$libdir'
19791 hardcode_shlibpath_var_F77
=no
19800 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
19801 echo "${ECHO_T}$ld_shlibs_F77" >&6
19802 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
19804 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19805 if test "$GCC" = yes; then
19806 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19810 # Do we need to explicitly link libc?
19812 case "x$archive_cmds_need_lc_F77" in
19814 # Assume -lc should be added
19815 archive_cmds_need_lc_F77
=yes
19817 if test "$enable_shared" = yes && test "$GCC" = yes; then
19818 case $archive_cmds_F77 in
19820 # FIXME: we may have to deal with multi-command sequences.
19823 # Test whether the compiler implicitly links with -lc since on some
19824 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19825 # to ld, don't add -lc before -lgcc.
19826 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19827 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
19829 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19832 (eval $ac_compile) 2>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } 2>conftest.err
; then
19838 libobjs
=conftest.
$ac_objext
19840 wl
=$lt_prog_compiler_wl_F77
19846 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
19847 allow_undefined_flag_F77
=
19848 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19849 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }
19854 archive_cmds_need_lc_F77
=no
19856 archive_cmds_need_lc_F77
=yes
19858 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
19860 cat conftest.err
1>&5
19863 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
19864 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
19871 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19872 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19873 library_names_spec
=
19874 libname_spec
='lib$name'
19878 postuninstall_cmds
=
19882 shlibpath_overrides_runpath
=unknown
19884 dynamic_linker
="$host_os ld.so"
19885 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19886 if test "$GCC" = yes; then
19887 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19888 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19889 # if the path contains ";" then we assume it to be the separator
19890 # otherwise default to the standard path separator (i.e. ":") - it is
19891 # assumed that no part of a normal pathname contains ";" but that should
19892 # okay in the real world where ";" in dirpaths is itself problematic.
19893 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19895 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19898 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19900 need_lib_prefix
=unknown
19901 hardcode_into_libs
=no
19903 # when you set need_version to no, make sure it does not cause -set_version
19904 # flags to be left without arguments
19905 need_version
=unknown
19910 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19911 shlibpath_var
=LIBPATH
19913 # AIX 3 has no versioning support, so we append a major version to the name.
19914 soname_spec
='${libname}${release}${shared_ext}$major'
19921 hardcode_into_libs
=yes
19922 if test "$host_cpu" = ia64
; then
19923 # AIX 5 supports IA64
19924 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19925 shlibpath_var
=LD_LIBRARY_PATH
19927 # With GCC up to 2.95.x, collect2 would create an import file
19928 # for dependence libraries. The import file would start with
19929 # the line `#! .'. This would cause the generated library to
19930 # depend on `.', always an invalid library. This was fixed in
19931 # development snapshots of GCC prior to 3.0.
19933 aix4 | aix4.
[01] | aix4.
[01].
*)
19934 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19936 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19939 can_build_shared
=no
19943 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19944 # soname into executable. Probably we can add versioning support to
19945 # collect2, so additional links can be useful in future.
19946 if test "$aix_use_runtimelinking" = yes; then
19947 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19948 # instead of lib<name>.a to let people know that these are not
19949 # typical AIX shared libraries.
19950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19952 # We preserve .a as extension for shared libraries through AIX4.2
19953 # and later when we are not doing run time linking.
19954 library_names_spec
='${libname}${release}.a $libname.a'
19955 soname_spec
='${libname}${release}${shared_ext}$major'
19957 shlibpath_var
=LIBPATH
19962 library_names_spec
='$libname.ixlibrary $libname.a'
19963 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19964 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'
19968 library_names_spec
='${libname}${shared_ext}'
19969 dynamic_linker
="$host_os ld.so"
19970 shlibpath_var
=LIBRARY_PATH
19976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19977 soname_spec
='${libname}${release}${shared_ext}$major'
19978 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19979 shlibpath_var
=LD_LIBRARY_PATH
19980 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19981 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19982 # the default ld.so.conf also contains /usr/contrib/lib and
19983 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19984 # libtool to hard-code these into programs
19987 cygwin
* | mingw
* | pw32
*)
19988 version_type
=windows
19993 case $GCC,$host_os in
19994 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19995 library_names_spec
='$libname.dll.a'
19996 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19997 postinstall_cmds
='base_file=`basename \${file}`~
19998 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19999 dldir=$destdir/`dirname \$dlpath`~
20000 test -d \$dldir || mkdir -p \$dldir~
20001 $install_prog $dir/$dlname \$dldir/$dlname'
20002 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20003 dlpath=$dir/\$dldll~
20005 shlibpath_overrides_runpath
=yes
20009 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20010 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20011 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20014 # MinGW DLLs use traditional 'lib' prefix
20015 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20016 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20017 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20018 # It is most probably a Windows format PATH printed by
20019 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20020 # path with ; separators, and with drive letters. We can handle the
20021 # drive letters (cygwin fileutils understands them), so leave them,
20022 # especially as we might pass files found there to a mingw objdump,
20023 # which wouldn't understand a cygwinified path. Ahh.
20024 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20026 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20030 # pw32 DLLs use 'pw' prefix rather than 'lib'
20031 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20037 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20040 dynamic_linker
='Win32 ld.exe'
20041 # FIXME: first we should search . and the directory the executable is in
20045 darwin
* | rhapsody
*)
20046 dynamic_linker
="$host_os dyld"
20047 version_type
=darwin
20050 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20051 soname_spec
='${libname}${release}${major}$shared_ext'
20052 shlibpath_overrides_runpath
=yes
20053 shlibpath_var
=DYLD_LIBRARY_PATH
20054 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
20055 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20056 if test "$GCC" = yes; then
20057 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
20059 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20061 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20069 soname_spec
='${libname}${release}${shared_ext}$major'
20070 shlibpath_var
=LD_LIBRARY_PATH
20081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20082 soname_spec
='${libname}${release}${shared_ext}$major'
20083 shlibpath_var
=LD_LIBRARY_PATH
20084 shlibpath_overrides_runpath
=no
20085 hardcode_into_libs
=yes
20086 dynamic_linker
='GNU ld.so'
20090 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20091 version_type
=freebsd-
$objformat
20092 case $version_type in
20094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20099 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20103 shlibpath_var
=LD_LIBRARY_PATH
20106 shlibpath_overrides_runpath
=yes
20108 freebsd3.01
* | freebsdelf3.01
*)
20109 shlibpath_overrides_runpath
=yes
20110 hardcode_into_libs
=yes
20113 shlibpath_overrides_runpath
=no
20114 hardcode_into_libs
=yes
20123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20124 soname_spec
='${libname}${release}${shared_ext}$major'
20125 shlibpath_var
=LD_LIBRARY_PATH
20126 hardcode_into_libs
=yes
20129 hpux9
* | hpux10
* | hpux11
*)
20130 # Give a soname corresponding to the major version so that dld.sl refuses to
20131 # link against other versions.
20135 case "$host_cpu" in
20138 hardcode_into_libs
=yes
20139 dynamic_linker
="$host_os dld.so"
20140 shlibpath_var
=LD_LIBRARY_PATH
20141 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20143 soname_spec
='${libname}${release}${shared_ext}$major'
20144 if test "X$HPUX_IA64_MODE" = X32
; then
20145 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20147 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20149 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20153 hardcode_into_libs
=yes
20154 dynamic_linker
="$host_os dld.sl"
20155 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20156 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20158 soname_spec
='${libname}${release}${shared_ext}$major'
20159 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20160 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20164 dynamic_linker
="$host_os dld.sl"
20165 shlibpath_var
=SHLIB_PATH
20166 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20168 soname_spec
='${libname}${release}${shared_ext}$major'
20171 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20172 postinstall_cmds
='chmod 555 $lib'
20175 irix5
* | irix6
* | nonstopux
*)
20177 nonstopux
*) version_type
=nonstopux
;;
20179 if test "$lt_cv_prog_gnu_ld" = yes; then
20187 soname_spec
='${libname}${release}${shared_ext}$major'
20188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20190 irix5
* | nonstopux
*)
20191 libsuff
= shlibsuff
=
20194 case $LD in # libtool.m4 will add one of these switches to LD
20195 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20196 libsuff
= shlibsuff
= libmagic
=32-bit;;
20197 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20198 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20199 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20200 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20201 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20205 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20206 shlibpath_overrides_runpath
=no
20207 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20208 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20209 hardcode_into_libs
=yes
20212 # No shared lib support for Linux oldld, aout, or coff.
20213 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20217 # This must be Linux ELF.
20222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20223 soname_spec
='${libname}${release}${shared_ext}$major'
20224 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20225 shlibpath_var
=LD_LIBRARY_PATH
20226 shlibpath_overrides_runpath
=no
20227 # This implies no fast_install, which is unacceptable.
20228 # Some rework will be needed to allow for fast_install
20229 # before this can be enabled.
20230 hardcode_into_libs
=yes
20232 # Append ld.so.conf contents to the search path
20233 if test -f /etc
/ld.so.conf
; then
20234 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
20235 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20238 # We used to test for /lib/ld.so.1 and disable shared libraries on
20239 # powerpc, because MkLinux only supported shared libraries with the
20240 # GNU dynamic linker. Since this was broken with cross compilers,
20241 # most powerpc-linux boxes support dynamic linking these days and
20242 # people can always --disable-shared, the test was removed, and we
20243 # assume the GNU/Linux dynamic linker is in use.
20244 dynamic_linker
='GNU/Linux ld.so'
20251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20252 soname_spec
='${libname}${release}${shared_ext}$major'
20253 shlibpath_var
=LD_LIBRARY_PATH
20254 shlibpath_overrides_runpath
=no
20255 hardcode_into_libs
=yes
20256 dynamic_linker
='GNU ld.so'
20263 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20265 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20266 dynamic_linker
='NetBSD (a.out) ld.so'
20268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20269 soname_spec
='${libname}${release}${shared_ext}$major'
20270 dynamic_linker
='NetBSD ld.elf_so'
20272 shlibpath_var
=LD_LIBRARY_PATH
20273 shlibpath_overrides_runpath
=yes
20274 hardcode_into_libs
=yes
20279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20280 shlibpath_var
=LD_LIBRARY_PATH
20281 shlibpath_overrides_runpath
=yes
20288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20289 soname_spec
='${libname}${release}${shared_ext}$major'
20290 shlibpath_var
=LD_LIBRARY_PATH
20291 shlibpath_overrides_runpath
=yes
20298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20299 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20300 shlibpath_var
=LD_LIBRARY_PATH
20301 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20303 openbsd2.
[89] | openbsd2.
[89].
*)
20304 shlibpath_overrides_runpath
=no
20307 shlibpath_overrides_runpath
=yes
20311 shlibpath_overrides_runpath
=yes
20316 libname_spec
='$name'
20319 library_names_spec
='$libname${shared_ext} $libname.a'
20320 dynamic_linker
='OS/2 ld.exe'
20321 shlibpath_var
=LIBPATH
20324 osf3
* | osf4
* | osf5
*)
20328 soname_spec
='${libname}${release}${shared_ext}$major'
20329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20330 shlibpath_var
=LD_LIBRARY_PATH
20331 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20332 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20337 soname_spec
='${libname}${release}${shared_ext}$major'
20338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20339 shlibpath_var
=LD_LIBRARY_PATH
20346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20347 soname_spec
='${libname}${release}${shared_ext}$major'
20348 shlibpath_var
=LD_LIBRARY_PATH
20349 shlibpath_overrides_runpath
=yes
20350 hardcode_into_libs
=yes
20351 # ldd complains unless libraries are executable
20352 postinstall_cmds
='chmod +x $lib'
20357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20358 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20359 shlibpath_var
=LD_LIBRARY_PATH
20360 shlibpath_overrides_runpath
=yes
20361 if test "$with_gnu_ld" = yes; then
20367 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
20369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20370 soname_spec
='${libname}${release}${shared_ext}$major'
20371 shlibpath_var
=LD_LIBRARY_PATH
20372 case $host_vendor in
20374 shlibpath_overrides_runpath
=no
20376 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20377 runpath_var
=LD_RUN_PATH
20385 shlibpath_overrides_runpath
=no
20386 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20392 if test -d /usr
/nec
;then
20394 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20395 soname_spec
='$libname${shared_ext}.$major'
20396 shlibpath_var
=LD_LIBRARY_PATH
20402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20403 soname_spec
='${libname}${release}${shared_ext}$major'
20404 shlibpath_var
=LD_LIBRARY_PATH
20411 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20412 echo "${ECHO_T}$dynamic_linker" >&6
20413 test "$dynamic_linker" = no
&& can_build_shared
=no
20415 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20416 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
20417 hardcode_action_F77
=
20418 if test -n "$hardcode_libdir_flag_spec_F77" || \
20419 test -n "$runpath_var_F77" || \
20420 test "X$hardcode_automatic_F77" = "Xyes" ; then
20422 # We can hardcode non-existant directories.
20423 if test "$hardcode_direct_F77" != no
&&
20424 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20425 # have to relink, otherwise we might link with an installed library
20426 # when we should be linking with a yet-to-be-installed one
20427 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
20428 test "$hardcode_minus_L_F77" != no
; then
20429 # Linking always hardcodes the temporary library directory.
20430 hardcode_action_F77
=relink
20432 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20433 hardcode_action_F77
=immediate
20436 # We cannot hardcode anything, or else we can only hardcode existing
20438 hardcode_action_F77
=unsupported
20440 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
20441 echo "${ECHO_T}$hardcode_action_F77" >&6
20443 if test "$hardcode_action_F77" = relink
; then
20444 # Fast installation is not supported
20445 enable_fast_install
=no
20446 elif test "$shlibpath_overrides_runpath" = yes ||
20447 test "$enable_shared" = no
; then
20448 # Fast installation is not necessary
20449 enable_fast_install
=needless
20454 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20455 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
20456 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
20457 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
20458 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
20459 echo "$as_me:$LINENO: result: yes" >&5
20460 echo "${ECHO_T}yes" >&6
20462 # FIXME - insert some real tests, host_os isn't really good enough
20465 if test -n "$STRIP" ; then
20466 striplib
="$STRIP -x"
20467 echo "$as_me:$LINENO: result: yes" >&5
20468 echo "${ECHO_T}yes" >&6
20470 echo "$as_me:$LINENO: result: no" >&5
20471 echo "${ECHO_T}no" >&6
20475 echo "$as_me:$LINENO: result: no" >&5
20476 echo "${ECHO_T}no" >&6
20483 # The else clause should only fire when bootstrapping the
20484 # libtool distribution, otherwise you forgot to ship ltmain.sh
20485 # with your package, and you will get complaints that there are
20486 # no rules to generate ltmain.sh.
20487 if test -f "$ltmain"; then
20488 # See if we are running on zsh, and set the options which allow our commands through
20489 # without removal of \ escapes.
20490 if test -n "${ZSH_VERSION+set}" ; then
20491 setopt NO_GLOB_SUBST
20493 # Now quote all the things that may contain metacharacters while being
20494 # careful not to overquote the AC_SUBSTed values. We take copies of the
20495 # variables and quote the copies for generation of the libtool script.
20496 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20498 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20499 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20500 deplibs_check_method reload_flag reload_cmds need_locks \
20501 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20502 lt_cv_sys_global_symbol_to_c_name_address \
20503 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20504 old_postinstall_cmds old_postuninstall_cmds \
20508 lt_prog_compiler_wl_F77 \
20509 lt_prog_compiler_pic_F77 \
20510 lt_prog_compiler_static_F77 \
20511 lt_prog_compiler_no_builtin_flag_F77 \
20512 export_dynamic_flag_spec_F77 \
20513 thread_safe_flag_spec_F77 \
20514 whole_archive_flag_spec_F77 \
20515 enable_shared_with_static_runtimes_F77 \
20516 old_archive_cmds_F77 \
20517 old_archive_from_new_cmds_F77 \
20518 predep_objects_F77 \
20519 postdep_objects_F77 \
20522 compiler_lib_search_path_F77 \
20524 archive_expsym_cmds_F77 \
20525 postinstall_cmds_F77 \
20526 postuninstall_cmds_F77 \
20527 old_archive_from_expsyms_cmds_F77 \
20528 allow_undefined_flag_F77 \
20529 no_undefined_flag_F77 \
20530 export_symbols_cmds_F77 \
20531 hardcode_libdir_flag_spec_F77 \
20532 hardcode_libdir_flag_spec_ld_F77 \
20533 hardcode_libdir_separator_F77 \
20534 hardcode_automatic_F77 \
20536 module_expsym_cmds_F77 \
20537 lt_cv_prog_compiler_c_o_F77 \
20538 exclude_expsyms_F77 \
20539 include_expsyms_F77
; do
20542 old_archive_cmds_F77 | \
20543 old_archive_from_new_cmds_F77 | \
20544 archive_cmds_F77 | \
20545 archive_expsym_cmds_F77 | \
20546 module_cmds_F77 | \
20547 module_expsym_cmds_F77 | \
20548 old_archive_from_expsyms_cmds_F77 | \
20549 export_symbols_cmds_F77 | \
20550 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20551 postinstall_cmds | postuninstall_cmds | \
20552 old_postinstall_cmds | old_postuninstall_cmds | \
20553 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20554 # Double-quote double-evaled strings.
20555 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20558 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20564 *'\$0 --fallback-echo"')
20565 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20571 cat <<__EOF__ >> "$cfgfile"
20572 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20574 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20576 # Shell to use when invoking shell scripts.
20579 # Whether or not to build shared libraries.
20580 build_libtool_libs=$enable_shared
20582 # Whether or not to build static libraries.
20583 build_old_libs=$enable_static
20585 # Whether or not to add -lc for building shared libraries.
20586 build_libtool_need_lc=$archive_cmds_need_lc_F77
20588 # Whether or not to disallow shared libs when runtime libs are static
20589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
20591 # Whether or not to optimize for fast installation.
20592 fast_install=$enable_fast_install
20595 host_alias=$host_alias
20598 # An echo program that does not interpret backslashes.
20603 AR_FLAGS=$lt_AR_FLAGS
20608 # A language-specific compiler.
20609 CC=$lt_compiler_F77
20611 # Is the compiler the GNU C compiler?
20617 # The linker used to build libraries.
20620 # Whether we need hard or soft links.
20623 # A BSD-compatible nm program.
20626 # A symbol stripping program
20629 # Used to examine libraries when file_magic_cmd begins "file"
20630 MAGIC_CMD=$MAGIC_CMD
20632 # Used on cygwin: DLL creation program.
20635 # Used on cygwin: object dumper.
20638 # Used on cygwin: assembler.
20641 # The name of the directory that contains temporary libtool files.
20644 # How to create reloadable object files.
20645 reload_flag=$lt_reload_flag
20646 reload_cmds=$lt_reload_cmds
20648 # How to pass a linker flag through the compiler.
20649 wl=$lt_lt_prog_compiler_wl_F77
20651 # Object file suffix (normally "o").
20652 objext="$ac_objext"
20654 # Old archive suffix (normally "a").
20657 # Shared library suffix (normally ".so").
20658 shrext_cmds='$shrext_cmds'
20660 # Executable file suffix (normally "").
20663 # Additional compiler flags for building library objects.
20664 pic_flag=$lt_lt_prog_compiler_pic_F77
20667 # What is the maximum length of a command?
20668 max_cmd_len=$lt_cv_sys_max_cmd_len
20670 # Does compiler simultaneously support -c and -o options?
20671 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
20673 # Must we lock files when doing compilation ?
20674 need_locks=$lt_need_locks
20676 # Do we need the lib prefix for modules?
20677 need_lib_prefix=$need_lib_prefix
20679 # Do we need a version for libraries?
20680 need_version=$need_version
20682 # Whether dlopen is supported.
20683 dlopen_support=$enable_dlopen
20685 # Whether dlopen of programs is supported.
20686 dlopen_self=$enable_dlopen_self
20688 # Whether dlopen of statically linked programs is supported.
20689 dlopen_self_static=$enable_dlopen_self_static
20691 # Compiler flag to prevent dynamic linking.
20692 link_static_flag=$lt_lt_prog_compiler_static_F77
20694 # Compiler flag to turn off builtin functions.
20695 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
20697 # Compiler flag to allow reflexive dlopens.
20698 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
20700 # Compiler flag to generate shared objects directly from archives.
20701 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
20703 # Compiler flag to generate thread-safe objects.
20704 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
20706 # Library versioning type.
20707 version_type=$version_type
20709 # Format of library name prefix.
20710 libname_spec=$lt_libname_spec
20712 # List of archive names. First name is the real one, the rest are links.
20713 # The last name is the one that the linker finds with -lNAME.
20714 library_names_spec=$lt_library_names_spec
20716 # The coded name of the library, if different from the real name.
20717 soname_spec=$lt_soname_spec
20719 # Commands used to build and install an old-style archive.
20721 old_archive_cmds=$lt_old_archive_cmds_F77
20722 old_postinstall_cmds=$lt_old_postinstall_cmds
20723 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20725 # Create an old-style archive from a shared archive.
20726 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
20728 # Create a temporary old-style archive to link instead of a shared archive.
20729 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
20731 # Commands used to build and install a shared archive.
20732 archive_cmds=$lt_archive_cmds_F77
20733 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
20734 postinstall_cmds=$lt_postinstall_cmds
20735 postuninstall_cmds=$lt_postuninstall_cmds
20737 # Commands used to build a loadable module (assumed same as above if empty)
20738 module_cmds=$lt_module_cmds_F77
20739 module_expsym_cmds=$lt_module_expsym_cmds_F77
20741 # Commands to strip libraries.
20742 old_striplib=$lt_old_striplib
20743 striplib=$lt_striplib
20745 # Dependencies to place before the objects being linked to create a
20747 predep_objects=$lt_predep_objects_F77
20749 # Dependencies to place after the objects being linked to create a
20751 postdep_objects=$lt_postdep_objects_F77
20753 # Dependencies to place before the objects being linked to create a
20755 predeps=$lt_predeps_F77
20757 # Dependencies to place after the objects being linked to create a
20759 postdeps=$lt_postdeps_F77
20761 # The library search path used internally by the compiler when linking
20762 # a shared library.
20763 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
20765 # Method to check whether dependent libraries are shared objects.
20766 deplibs_check_method=$lt_deplibs_check_method
20768 # Command to use when deplibs_check_method == file_magic.
20769 file_magic_cmd=$lt_file_magic_cmd
20771 # Flag that allows shared libraries with undefined symbols to be built.
20772 allow_undefined_flag=$lt_allow_undefined_flag_F77
20774 # Flag that forces no undefined symbols.
20775 no_undefined_flag=$lt_no_undefined_flag_F77
20777 # Commands used to finish a libtool library installation in a directory.
20778 finish_cmds=$lt_finish_cmds
20780 # Same as above, but a single script fragment to be evaled but not shown.
20781 finish_eval=$lt_finish_eval
20783 # Take the output of nm and produce a listing of raw symbols and C names.
20784 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20786 # Transform the output of nm in a proper C declaration
20787 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20789 # Transform the output of nm in a C name address pair
20790 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20792 # This is the shared library runtime path variable.
20793 runpath_var=$runpath_var
20795 # This is the shared library path variable.
20796 shlibpath_var=$shlibpath_var
20798 # Is shlibpath searched before the hard-coded library search path?
20799 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20801 # How to hardcode a shared library path into an executable.
20802 hardcode_action=$hardcode_action_F77
20804 # Whether we should hardcode library paths into libraries.
20805 hardcode_into_libs=$hardcode_into_libs
20807 # Flag to hardcode \$libdir into a binary during linking.
20808 # This must work even if \$libdir does not exist.
20809 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
20811 # If ld is used when linking, flag to hardcode \$libdir into
20812 # a binary during linking. This must work even if \$libdir does
20814 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
20816 # Whether we need a single -rpath flag with a separated argument.
20817 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
20819 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20820 # resulting binary.
20821 hardcode_direct=$hardcode_direct_F77
20823 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20824 # resulting binary.
20825 hardcode_minus_L=$hardcode_minus_L_F77
20827 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20828 # the resulting binary.
20829 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
20831 # Set to yes if building a shared library automatically hardcodes DIR into the library
20832 # and all subsequent libraries and executables linked against it.
20833 hardcode_automatic=$hardcode_automatic_F77
20835 # Variables whose values should be saved in libtool wrapper scripts and
20836 # restored at relink time.
20837 variables_saved_for_relink="$variables_saved_for_relink"
20839 # Whether libtool must link a program against all its dependency libraries.
20840 link_all_deplibs=$link_all_deplibs_F77
20842 # Compile-time system search path for libraries
20843 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20845 # Run-time system search path for libraries
20846 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20848 # Fix the shell variable \$srcfile for the compiler.
20849 fix_srcfile_path="$fix_srcfile_path_F77"
20851 # Set to yes if exported symbols are required.
20852 always_export_symbols=$always_export_symbols_F77
20854 # The commands to list exported symbols.
20855 export_symbols_cmds=$lt_export_symbols_cmds_F77
20857 # The commands to extract the exported symbol list from a shared archive.
20858 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20860 # Symbols that should not be listed in the preloaded symbols.
20861 exclude_expsyms=$lt_exclude_expsyms_F77
20863 # Symbols that must always be exported.
20864 include_expsyms=$lt_include_expsyms_F77
20866 # ### END LIBTOOL TAG CONFIG: $tagname
20872 # If there is no Makefile yet, we rely on a make rule to execute
20873 # `config.status --recheck' to rerun these tests and create the
20874 # libtool script then.
20875 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20876 if test -f "$ltmain_in"; then
20877 test -f Makefile
&& make "$ltmain"
20883 ac_cpp
='$CPP $CPPFLAGS'
20884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20896 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
20898 ac_cpp
='$CPP $CPPFLAGS'
20899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20904 # Source file extension for Java test sources.
20907 # Object file extension for compiled Java test sources.
20911 # Code to be used in simple compile tests
20912 lt_simple_compile_test_code
="class foo {}\n"
20914 # Code to be used in simple link tests
20915 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
20917 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20919 # If no C compiler was specified, use CC.
20922 # Allow CC to be a program name with arguments.
20926 # Allow CC to be a program name with arguments.
20932 # GCJ did not exist at the time GCC didn't implicitly link libc in.
20933 archive_cmds_need_lc_GCJ
=no
20936 lt_prog_compiler_no_builtin_flag_GCJ
=
20938 if test "$GCC" = yes; then
20939 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
20942 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
20943 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
20944 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
20945 echo $ECHO_N "(cached) $ECHO_C" >&6
20947 lt_cv_prog_compiler_rtti_exceptions
=no
20948 ac_outfile
=conftest.
$ac_objext
20949 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
20950 lt_compiler_flag
="-fno-rtti -fno-exceptions"
20951 # Insert the option either (1) after the last *FLAGS variable, or
20952 # (2) before a word containing "conftest.", or (3) at the end.
20953 # Note that $ac_compile itself does not contain backslashes and begins
20954 # with a dollar sign (not a hyphen), so the echo should work correctly.
20955 # The option is referenced via a variable to avoid confusing sed.
20956 lt_compile
=`echo "$ac_compile" | $SED \
20957 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20958 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20959 -e 's:$: $lt_compiler_flag:'`
20960 (eval echo "\"\$as_me:20960: $lt_compile\"" >&5)
20961 (eval "$lt_compile" 2>conftest.err
)
20963 cat conftest.err
>&5
20964 echo "$as_me:20964: \$? = $ac_status" >&5
20965 if (exit $ac_status) && test -s "$ac_outfile"; then
20966 # The compiler can only warn and ignore the option if not recognized
20967 # So say no if there are warnings
20968 if test ! -s conftest.err
; then
20969 lt_cv_prog_compiler_rtti_exceptions
=yes
20975 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
20976 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
20978 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
20979 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
20986 lt_prog_compiler_wl_GCJ
=
20987 lt_prog_compiler_pic_GCJ
=
20988 lt_prog_compiler_static_GCJ
=
20990 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20991 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
20993 if test "$GCC" = yes; then
20994 lt_prog_compiler_wl_GCJ
='-Wl,'
20995 lt_prog_compiler_static_GCJ
='-static'
20999 # All AIX code is PIC.
21000 if test "$host_cpu" = ia64
; then
21001 # AIX 5 now supports IA64 processor
21002 lt_prog_compiler_static_GCJ
='-Bstatic'
21007 # FIXME: we need at least 68020 code to build shared libraries, but
21008 # adding the `-m68020' flag to GCC prevents building anything better,
21010 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
21013 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21014 # PIC is the default for these OSes.
21017 mingw
* | pw32
* | os2
*)
21018 # This hack is so that the source file can tell whether it is being
21019 # built for inclusion in a dll (and should export symbols for example).
21020 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
21023 darwin
* | rhapsody
*)
21024 # PIC is the default on this platform
21025 # Common symbols not allowed in MH_DYLIB files
21026 lt_prog_compiler_pic_GCJ
='-fno-common'
21030 # Just because we use GCC doesn't mean we suddenly get shared libraries
21031 # on systems that don't support them.
21032 lt_prog_compiler_can_build_shared_GCJ
=no
21037 if test -d /usr
/nec
; then
21038 lt_prog_compiler_pic_GCJ
=-Kconform_pic
21043 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21044 # not for PA HP-UX.
21045 case "$host_cpu" in
21050 lt_prog_compiler_pic_GCJ
='-fPIC'
21056 lt_prog_compiler_pic_GCJ
='-fPIC'
21060 # PORTME Check for flag to pass linker flags through the system compiler.
21063 lt_prog_compiler_wl_GCJ
='-Wl,'
21064 if test "$host_cpu" = ia64
; then
21065 # AIX 5 now supports IA64 processor
21066 lt_prog_compiler_static_GCJ
='-Bstatic'
21068 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
21072 # PIC is the default on this platform
21073 # Common symbols not allowed in MH_DYLIB files
21074 case "$cc_basename" in
21076 lt_prog_compiler_pic_GCJ
='-qnocommon'
21077 lt_prog_compiler_wl_GCJ
='-Wl,'
21082 mingw
* | pw32
* | os2
*)
21083 # This hack is so that the source file can tell whether it is being
21084 # built for inclusion in a dll (and should export symbols for example).
21085 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
21088 hpux9
* | hpux10
* | hpux11
*)
21089 lt_prog_compiler_wl_GCJ
='-Wl,'
21090 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21091 # not for PA HP-UX.
21092 case "$host_cpu" in
21097 lt_prog_compiler_pic_GCJ
='+Z'
21100 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21101 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
21104 irix5
* | irix6
* | nonstopux
*)
21105 lt_prog_compiler_wl_GCJ
='-Wl,'
21106 # PIC (with -KPIC) is the default.
21107 lt_prog_compiler_static_GCJ
='-non_shared'
21111 lt_prog_compiler_pic_GCJ
='-KPIC'
21112 lt_prog_compiler_static_GCJ
='-Bstatic'
21118 lt_prog_compiler_wl_GCJ
='-Wl,'
21119 lt_prog_compiler_pic_GCJ
='-KPIC'
21120 lt_prog_compiler_static_GCJ
='-static'
21123 lt_prog_compiler_wl_GCJ
='-Wl,'
21124 # All Alpha code is PIC.
21125 lt_prog_compiler_static_GCJ
='-non_shared'
21130 osf3
* | osf4
* | osf5
*)
21131 lt_prog_compiler_wl_GCJ
='-Wl,'
21132 # All OSF/1 code is PIC.
21133 lt_prog_compiler_static_GCJ
='-non_shared'
21137 lt_prog_compiler_pic_GCJ
='-Kpic'
21138 lt_prog_compiler_static_GCJ
='-dn'
21142 lt_prog_compiler_wl_GCJ
='-Wl,'
21143 lt_prog_compiler_pic_GCJ
='-KPIC'
21144 lt_prog_compiler_static_GCJ
='-Bstatic'
21148 lt_prog_compiler_wl_GCJ
='-Qoption ld '
21149 lt_prog_compiler_pic_GCJ
='-PIC'
21150 lt_prog_compiler_static_GCJ
='-Bstatic'
21153 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
21154 lt_prog_compiler_wl_GCJ
='-Wl,'
21155 lt_prog_compiler_pic_GCJ
='-KPIC'
21156 lt_prog_compiler_static_GCJ
='-Bstatic'
21160 if test -d /usr
/nec
;then
21161 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
21162 lt_prog_compiler_static_GCJ
='-Bstatic'
21167 lt_prog_compiler_pic_GCJ
='-pic'
21168 lt_prog_compiler_static_GCJ
='-Bstatic'
21172 lt_prog_compiler_can_build_shared_GCJ
=no
21177 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
21178 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
21181 # Check to make sure the PIC flag actually works.
21183 if test -n "$lt_prog_compiler_pic_GCJ"; then
21185 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
21186 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
21187 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
21188 echo $ECHO_N "(cached) $ECHO_C" >&6
21190 lt_prog_compiler_pic_works_GCJ
=no
21191 ac_outfile
=conftest.
$ac_objext
21192 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21193 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
21194 # Insert the option either (1) after the last *FLAGS variable, or
21195 # (2) before a word containing "conftest.", or (3) at the end.
21196 # Note that $ac_compile itself does not contain backslashes and begins
21197 # with a dollar sign (not a hyphen), so the echo should work correctly.
21198 # The option is referenced via a variable to avoid confusing sed.
21199 lt_compile
=`echo "$ac_compile" | $SED \
21200 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21202 -e 's:$: $lt_compiler_flag:'`
21203 (eval echo "\"\$as_me:21203: $lt_compile\"" >&5)
21204 (eval "$lt_compile" 2>conftest.err
)
21206 cat conftest.err
>&5
21207 echo "$as_me:21207: \$? = $ac_status" >&5
21208 if (exit $ac_status) && test -s "$ac_outfile"; then
21209 # The compiler can only warn and ignore the option if not recognized
21210 # So say no if there are warnings
21211 if test ! -s conftest.err
; then
21212 lt_prog_compiler_pic_works_GCJ
=yes
21218 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
21219 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
21221 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
21222 case $lt_prog_compiler_pic_GCJ in
21224 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
21227 lt_prog_compiler_pic_GCJ
=
21228 lt_prog_compiler_can_build_shared_GCJ
=no
21233 # For platforms which do not support PIC, -DPIC is meaningless:
21235 lt_prog_compiler_pic_GCJ
=
21238 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
21242 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21243 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
21244 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21247 lt_cv_prog_compiler_c_o_GCJ
=no
21248 $rm -r conftest
2>/dev
/null
21252 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21254 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21255 # Insert the option either (1) after the last *FLAGS variable, or
21256 # (2) before a word containing "conftest.", or (3) at the end.
21257 # Note that $ac_compile itself does not contain backslashes and begins
21258 # with a dollar sign (not a hyphen), so the echo should work correctly.
21259 lt_compile
=`echo "$ac_compile" | $SED \
21260 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21262 -e 's:$: $lt_compiler_flag:'`
21263 (eval echo "\"\$as_me:21263: $lt_compile\"" >&5)
21264 (eval "$lt_compile" 2>out
/conftest.err
)
21266 cat out
/conftest.err
>&5
21267 echo "$as_me:21267: \$? = $ac_status" >&5
21268 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21270 # The compiler can only warn and ignore the option if not recognized
21271 # So say no if there are warnings
21272 if test ! -s out
/conftest.err
; then
21273 lt_cv_prog_compiler_c_o_GCJ
=yes
21278 # SGI C++ compiler will create directory out/ii_files/ for
21279 # template instantiation
21280 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21281 $rm out
/* && rmdir out
21287 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
21288 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
21291 hard_links
="nottested"
21292 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
21293 # do not overwrite the value of need_locks provided by the user
21294 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21295 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
21298 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21300 ln conftest.a conftest.b
2>&5 || hard_links
=no
21301 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21302 echo "$as_me:$LINENO: result: $hard_links" >&5
21303 echo "${ECHO_T}$hard_links" >&6
21304 if test "$hard_links" = no
; then
21305 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21306 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21313 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21314 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
21317 allow_undefined_flag_GCJ
=
21318 enable_shared_with_static_runtimes_GCJ
=no
21320 archive_expsym_cmds_GCJ
=
21321 old_archive_From_new_cmds_GCJ
=
21322 old_archive_from_expsyms_cmds_GCJ
=
21323 export_dynamic_flag_spec_GCJ
=
21324 whole_archive_flag_spec_GCJ
=
21325 thread_safe_flag_spec_GCJ
=
21326 hardcode_libdir_flag_spec_GCJ
=
21327 hardcode_libdir_flag_spec_ld_GCJ
=
21328 hardcode_libdir_separator_GCJ
=
21329 hardcode_direct_GCJ
=no
21330 hardcode_minus_L_GCJ
=no
21331 hardcode_shlibpath_var_GCJ
=unsupported
21332 link_all_deplibs_GCJ
=unknown
21333 hardcode_automatic_GCJ
=no
21335 module_expsym_cmds_GCJ
=
21336 always_export_symbols_GCJ
=no
21337 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21338 # include_expsyms should be a list of space-separated symbols to be *always*
21339 # included in the symbol list
21340 include_expsyms_GCJ
=
21341 # exclude_expsyms can be an extended regexp of symbols to exclude
21342 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21343 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21344 # as well as any symbol that contains `d'.
21345 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
21346 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21347 # platforms (ab)use it in PIC code, but their linkers get confused if
21348 # the symbol is explicitly referenced. Since portable code cannot
21349 # rely on this symbol name, it's probably fine to never include it in
21350 # preloaded symbol tables.
21351 extract_expsyms_cmds
=
21354 cygwin
* | mingw
* | pw32
*)
21355 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21356 # When not using gcc, we currently assume that we are using
21357 # Microsoft Visual C++.
21358 if test "$GCC" != yes; then
21368 if test "$with_gnu_ld" = yes; then
21369 # If archive_cmds runs LD, not CC, wlarc should be empty
21372 # See if GNU ld supports shared libraries.
21374 aix3
* | aix4
* | aix5
*)
21375 # On AIX/PPC, the GNU linker is very broken
21376 if test "$host_cpu" != ia64
; then
21380 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21381 *** to be unable to reliably create shared libraries on AIX.
21382 *** Therefore, libtool is disabling shared libraries support. If you
21383 *** really care for shared libraries, you may want to modify your PATH
21384 *** so that a non-GNU linker is found, and then restart.
21391 archive_cmds_GCJ
='$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)'
21392 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21393 hardcode_minus_L_GCJ
=yes
21395 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21396 # that the semantics of dynamic libraries on AmigaOS, at least up
21397 # to version 4, is to share data among multiple programs linked
21398 # with the same dynamic library. Since this doesn't match the
21399 # behavior of shared libraries on other platforms, we can't use
21405 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21406 allow_undefined_flag_GCJ
=unsupported
21407 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21408 # support --undefined. This deserves some investigation. FIXME
21409 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21415 cygwin
* | mingw
* | pw32
*)
21416 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
21417 # as there is no search path for DLLs.
21418 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21419 allow_undefined_flag_GCJ
=unsupported
21420 always_export_symbols_GCJ
=no
21421 enable_shared_with_static_runtimes_GCJ
=yes
21422 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21424 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21425 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
21426 # If the export-symbols file already is a .def file (1st line
21427 # is EXPORTS), use it as is; otherwise, prepend...
21428 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21429 cp $export_symbols $output_objdir/$soname.def;
21431 echo EXPORTS > $output_objdir/$soname.def;
21432 cat $export_symbols >> $output_objdir/$soname.def;
21434 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
21441 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21442 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21445 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21446 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21451 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21455 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21456 *** create shared libraries on Solaris systems. Therefore, libtool
21457 *** is disabling shared libraries support. We urge you to upgrade GNU
21458 *** binutils to release 2.9.1 or newer. Another option is to modify
21459 *** your PATH or compiler configuration so that the native linker is
21460 *** used, and then restart.
21463 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21464 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21465 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21472 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21474 hardcode_direct_GCJ
=yes
21475 hardcode_shlibpath_var_GCJ
=no
21479 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21480 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21481 archive_cmds_GCJ
="$tmp_archive_cmds"
21482 supports_anon_versioning
=no
21483 case `$LD -v 2>/dev/null` in
21484 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21485 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21486 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21487 *\
2.11.
*) ;; # other 2.11 versions
21488 *) supports_anon_versioning
=yes ;;
21490 if test $supports_anon_versioning = yes; then
21491 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
21492 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21493 $echo "local: *; };" >> $output_objdir/$libname.ver~
21494 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21496 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
21504 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21505 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21506 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21513 if test "$ld_shlibs_GCJ" = yes; then
21514 runpath_var
=LD_RUN_PATH
21515 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
21516 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
21517 # ancient GNU ld didn't support --whole-archive et. al.
21518 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21519 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21521 whole_archive_flag_spec_GCJ
=
21525 # PORTME fill in a description of your system's linker (not GNU ld)
21528 allow_undefined_flag_GCJ
=unsupported
21529 always_export_symbols_GCJ
=yes
21530 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
21531 # Note: this linker hardcodes the directories in LIBPATH if there
21532 # are no directories specified by -L.
21533 hardcode_minus_L_GCJ
=yes
21534 if test "$GCC" = yes && test -z "$link_static_flag"; then
21535 # Neither direct hardcoding nor static linking is supported with a
21537 hardcode_direct_GCJ
=unsupported
21542 if test "$host_cpu" = ia64
; then
21543 # On IA64, the linker does run time linking by default, so we don't
21544 # have to do anything special.
21545 aix_use_runtimelinking
=no
21546 exp_sym_flag
='-Bexport'
21549 # If we're using GNU nm, then we don't want the "-C" option.
21550 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21551 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21552 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
21554 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
21556 aix_use_runtimelinking
=no
21558 # Test if we are trying to use run time linking or normal
21559 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21560 # need to do runtime linking.
21561 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21562 for ld_flag
in $LDFLAGS; do
21563 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21564 aix_use_runtimelinking
=yes
21570 exp_sym_flag
='-bexport'
21571 no_entry_flag
='-bnoentry'
21574 # When large executables or shared objects are built, AIX ld can
21575 # have problems creating the table of contents. If linking a library
21576 # or program results in "error TOC overflow" add -mminimal-toc to
21577 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21578 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21580 archive_cmds_GCJ
=''
21581 hardcode_direct_GCJ
=yes
21582 hardcode_libdir_separator_GCJ
=':'
21583 link_all_deplibs_GCJ
=yes
21585 if test "$GCC" = yes; then
21586 case $host_os in aix4.012|aix4.012.
*)
21587 # We only want to do this on AIX 4.2 and lower, the check
21588 # below for broken collect2 doesn't work under 4.3+
21589 collect2name
=`${CC} -print-prog-name=collect2`
21590 if test -f "$collect2name" && \
21591 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21593 # We have reworked collect2
21594 hardcode_direct_GCJ
=yes
21596 # We have old collect2
21597 hardcode_direct_GCJ
=unsupported
21598 # It fails to find uninstalled libraries when the uninstalled
21599 # path is not listed in the libpath. Setting hardcode_minus_L
21600 # to unsupported forces relinking
21601 hardcode_minus_L_GCJ
=yes
21602 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21603 hardcode_libdir_separator_GCJ
=
21606 shared_flag
='-shared'
21609 if test "$host_cpu" = ia64
; then
21610 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21611 # chokes on -Wl,-G. The following line is correct:
21614 if test "$aix_use_runtimelinking" = yes; then
21615 shared_flag
='${wl}-G'
21617 shared_flag
='${wl}-bM:SRE'
21622 # It seems that -bexpall does not export symbols beginning with
21623 # underscore (_), so it is better to generate a list of symbols to export.
21624 always_export_symbols_GCJ
=yes
21625 if test "$aix_use_runtimelinking" = yes; then
21626 # Warning - without using the other runtime loading flags (-brtl),
21627 # -berok will link without error, but may produce a broken library.
21628 allow_undefined_flag_GCJ
='-berok'
21629 # Determine the default libpath from the value encoded in an empty executable.
21630 cat >conftest.
$ac_ext <<_ACEOF
21633 cat confdefs.h
>>conftest.
$ac_ext
21634 cat >>conftest.
$ac_ext <<_ACEOF
21635 /* end confdefs.h. */
21645 rm -f conftest.
$ac_objext conftest
$ac_exeext
21646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21647 (eval $ac_link) 2>conftest.er1
21649 grep -v '^ *+' conftest.er1
>conftest.err
21651 cat conftest.err
>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); } &&
21654 { ac_try
='test -z "$ac_c_werror_flag"
21655 || test ! -s conftest.err'
21656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21657 (eval $ac_try) 2>&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); }; } &&
21661 { ac_try
='test -s conftest$ac_exeext'
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; }; then
21668 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21670 # Check for a 64-bit object if we didn't find anything.
21671 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.
$ac_ext >&5
21678 rm -f conftest.err conftest.
$ac_objext \
21679 conftest
$ac_exeext conftest.
$ac_ext
21680 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
21682 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
21683 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
21685 if test "$host_cpu" = ia64; then
21686 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
21687 allow_undefined_flag_GCJ="-z nodefs"
21688 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
21690 # Determine the default libpath from the value encoded in an empty executable.
21691 cat >conftest.$ac_ext <<_ACEOF
21694 cat confdefs.h >>conftest.$ac_ext
21695 cat >>conftest.$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21706 rm -f conftest.$ac_objext conftest$ac_exeext
21707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21708 (eval $ac_link) 2>conftest.er1
21710 grep -v '^ *+' conftest.er1 >conftest.err
21712 cat conftest.err >&5
21713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21714 (exit $ac_status); } &&
21715 { ac_try='test -z "$ac_c_werror_flag"
21716 || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try='test -s conftest$ac_exeext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21727 (exit $ac_status); }; }; then
21729 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21731 # Check for a 64-bit object if we didn't find anything.
21732 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21735 echo "$as_me: failed program was
:" >&5
21736 sed 's/^/| /' conftest.$ac_ext >&5
21739 rm -f conftest.err conftest.$ac_objext \
21740 conftest$ac_exeext conftest.$ac_ext
21741 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
21743 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
21744 # Warning - without using the other run time loading flags,
21745 # -berok will link without error, but may produce a broken library.
21746 no_undefined_flag_GCJ=' ${wl}-bernotok'
21747 allow_undefined_flag_GCJ=' ${wl}-berok'
21748 # -bexpall does not export symbols beginning with underscore (_)
21749 always_export_symbols_GCJ=yes
21750 # Exported symbols can be pulled into shared objects from archives
21751 whole_archive_flag_spec_GCJ=' '
21752 archive_cmds_need_lc_GCJ=yes
21753 # This is similar to how AIX traditionally builds it's shared libraries.
21754 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
21760 archive_cmds_GCJ='$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)'
21761 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21762 hardcode_minus_L_GCJ
=yes
21763 # see comment about different semantics on the GNU ld section
21768 export_dynamic_flag_spec_GCJ
=-rdynamic
21771 cygwin
* | mingw
* | pw32
*)
21772 # When not using gcc, we currently assume that we are using
21773 # Microsoft Visual C++.
21774 # hardcode_libdir_flag_spec is actually meaningless, as there is
21775 # no search path for DLLs.
21776 hardcode_libdir_flag_spec_GCJ
=' '
21777 allow_undefined_flag_GCJ
=unsupported
21778 # Tell ltmain to make .lib files, not .a files.
21780 # Tell ltmain to make .dll files, not .so files.
21782 # FIXME: Setting linknames here is a bad hack.
21783 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21784 # The linker will automatically build a .lib file if we build a DLL.
21785 old_archive_From_new_cmds_GCJ
='true'
21786 # FIXME: Should let the user specify the lib program.
21787 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
21788 fix_srcfile_path
='`cygpath -w "$srcfile"`'
21789 enable_shared_with_static_runtimes_GCJ
=yes
21792 darwin
* | rhapsody
*)
21794 rhapsody
* | darwin1.
[012])
21795 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
21798 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21799 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21801 case ${MACOSX_DEPLOYMENT_TARGET} in
21803 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21806 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
21812 archive_cmds_need_lc_GCJ
=no
21813 hardcode_direct_GCJ
=no
21814 hardcode_automatic_GCJ
=yes
21815 hardcode_shlibpath_var_GCJ
=unsupported
21816 whole_archive_flag_spec_GCJ
=''
21817 link_all_deplibs_GCJ
=yes
21818 if test "$GCC" = yes ; then
21819 output_verbose_link_cmd
='echo'
21820 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21821 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21822 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
21823 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21824 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21826 case "$cc_basename" in
21828 output_verbose_link_cmd
='echo'
21829 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
21830 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21831 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
21832 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21833 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21843 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21844 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21845 hardcode_shlibpath_var_GCJ
=no
21852 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21853 # support. Future versions do this automatically, but an explicit c++rt0.o
21854 # does not break anything, and helps significantly (at the cost of a little
21857 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21858 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21859 hardcode_direct_GCJ
=yes
21860 hardcode_shlibpath_var_GCJ
=no
21863 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21865 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21866 hardcode_direct_GCJ
=yes
21867 hardcode_minus_L_GCJ
=yes
21868 hardcode_shlibpath_var_GCJ
=no
21871 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21872 freebsd
* | kfreebsd
*-gnu)
21873 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21874 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21875 hardcode_direct_GCJ
=yes
21876 hardcode_shlibpath_var_GCJ
=no
21880 if test "$GCC" = yes; then
21881 archive_cmds_GCJ
='$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'
21883 archive_cmds_GCJ
='$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'
21885 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21886 hardcode_libdir_separator_GCJ
=:
21887 hardcode_direct_GCJ
=yes
21889 # hardcode_minus_L: Not really in the search PATH,
21890 # but as the default location of the library.
21891 hardcode_minus_L_GCJ
=yes
21892 export_dynamic_flag_spec_GCJ
='${wl}-E'
21896 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
21897 case "$host_cpu" in
21899 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21902 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21906 case "$host_cpu" in
21908 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
21911 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21915 if test "$with_gnu_ld" = no
; then
21916 case "$host_cpu" in
21918 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21919 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
21920 hardcode_libdir_separator_GCJ
=:
21921 hardcode_direct_GCJ
=no
21922 hardcode_shlibpath_var_GCJ
=no
21925 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21926 hardcode_direct_GCJ
=no
21927 hardcode_shlibpath_var_GCJ
=no
21929 # hardcode_minus_L: Not really in the search PATH,
21930 # but as the default location of the library.
21931 hardcode_minus_L_GCJ
=yes
21934 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21935 hardcode_libdir_separator_GCJ
=:
21936 hardcode_direct_GCJ
=yes
21937 export_dynamic_flag_spec_GCJ
='${wl}-E'
21939 # hardcode_minus_L: Not really in the search PATH,
21940 # but as the default location of the library.
21941 hardcode_minus_L_GCJ
=yes
21947 irix5
* | irix6
* | nonstopux
*)
21948 if test "$GCC" = yes; then
21949 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21951 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
21952 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
21954 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
21955 hardcode_libdir_separator_GCJ
=:
21956 link_all_deplibs_GCJ
=yes
21960 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21961 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
21963 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
21965 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21966 hardcode_direct_GCJ
=yes
21967 hardcode_shlibpath_var_GCJ
=no
21971 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21972 hardcode_direct_GCJ
=yes
21973 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
21974 hardcode_libdir_separator_GCJ
=:
21975 hardcode_shlibpath_var_GCJ
=no
21979 hardcode_direct_GCJ
=yes
21980 hardcode_shlibpath_var_GCJ
=no
21981 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21982 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21983 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
21984 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
21985 export_dynamic_flag_spec_GCJ
='${wl}-E'
21988 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
21989 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21990 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21993 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21994 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
22001 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
22002 hardcode_minus_L_GCJ
=yes
22003 allow_undefined_flag_GCJ
=unsupported
22004 archive_cmds_GCJ
='$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'
22005 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22009 if test "$GCC" = yes; then
22010 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
22011 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22013 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
22014 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22016 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
22017 hardcode_libdir_separator_GCJ
=:
22020 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22021 if test "$GCC" = yes; then
22022 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
22023 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22024 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
22026 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
22027 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22028 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
22029 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
22031 # Both c and cxx compiler support -rpath directly
22032 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
22034 hardcode_libdir_separator_GCJ
=:
22038 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22039 hardcode_shlibpath_var_GCJ
=no
22040 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
22041 runpath_var
=LD_RUN_PATH
22042 hardcode_runpath_var
=yes
22046 no_undefined_flag_GCJ
=' -z text'
22047 if test "$GCC" = yes; then
22048 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22049 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22050 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22052 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22053 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22054 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22056 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
22057 hardcode_shlibpath_var_GCJ
=no
22059 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22060 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
22061 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
22063 link_all_deplibs_GCJ
=yes
22067 if test "x$host_vendor" = xsequent
; then
22068 # Use $CC to link under sequent, because it throws in some extra .o
22069 # files that make .init and .fini sections work.
22070 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22072 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22074 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
22075 hardcode_direct_GCJ
=yes
22076 hardcode_minus_L_GCJ
=yes
22077 hardcode_shlibpath_var_GCJ
=no
22081 case $host_vendor in
22083 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22084 hardcode_direct_GCJ
=yes # is this really true???
22087 ## LD is ld it makes a PLAMLIB
22088 ## CC just makes a GrossModule.
22089 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22090 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
22091 hardcode_direct_GCJ
=no
22094 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22095 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
22098 runpath_var
='LD_RUN_PATH'
22099 hardcode_shlibpath_var_GCJ
=no
22103 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22104 hardcode_shlibpath_var_GCJ
=no
22105 export_dynamic_flag_spec_GCJ
='-Bexport'
22109 if test -d /usr
/nec
; then
22110 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22111 hardcode_shlibpath_var_GCJ
=no
22112 runpath_var
=LD_RUN_PATH
22113 hardcode_runpath_var
=yes
22119 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22120 hardcode_direct_GCJ
=yes
22121 hardcode_minus_L_GCJ
=no
22122 hardcode_shlibpath_var_GCJ
=no
22123 hardcode_runpath_var
=yes
22124 runpath_var
=LD_RUN_PATH
22127 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
22128 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
22129 if test "$GCC" = yes; then
22130 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22132 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22134 runpath_var
='LD_RUN_PATH'
22135 hardcode_shlibpath_var_GCJ
=no
22139 no_undefined_flag_GCJ
=' -z text'
22140 # $CC -shared without GNU ld will not create a library from C++
22141 # object files and a static libstdc++, better avoid it by now
22142 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22143 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22144 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22145 hardcode_libdir_flag_spec_GCJ
=
22146 hardcode_shlibpath_var_GCJ
=no
22147 runpath_var
='LD_RUN_PATH'
22151 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22152 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
22153 hardcode_shlibpath_var_GCJ
=no
22162 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
22163 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
22164 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
22166 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
22167 if test "$GCC" = yes; then
22168 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22172 # Do we need to explicitly link libc?
22174 case "x$archive_cmds_need_lc_GCJ" in
22176 # Assume -lc should be added
22177 archive_cmds_need_lc_GCJ
=yes
22179 if test "$enable_shared" = yes && test "$GCC" = yes; then
22180 case $archive_cmds_GCJ in
22182 # FIXME: we may have to deal with multi-command sequences.
22185 # Test whether the compiler implicitly links with -lc since on some
22186 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22187 # to ld, don't add -lc before -lgcc.
22188 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22189 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
22191 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22194 (eval $ac_compile) 2>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } 2>conftest.err
; then
22200 libobjs
=conftest.
$ac_objext
22202 wl
=$lt_prog_compiler_wl_GCJ
22208 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
22209 allow_undefined_flag_GCJ
=
22210 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22211 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); }
22216 archive_cmds_need_lc_GCJ
=no
22218 archive_cmds_need_lc_GCJ
=yes
22220 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
22222 cat conftest.err
1>&5
22225 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
22226 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
22233 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22234 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
22235 library_names_spec
=
22236 libname_spec
='lib$name'
22240 postuninstall_cmds
=
22244 shlibpath_overrides_runpath
=unknown
22246 dynamic_linker
="$host_os ld.so"
22247 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22248 if test "$GCC" = yes; then
22249 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22250 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22251 # if the path contains ";" then we assume it to be the separator
22252 # otherwise default to the standard path separator (i.e. ":") - it is
22253 # assumed that no part of a normal pathname contains ";" but that should
22254 # okay in the real world where ";" in dirpaths is itself problematic.
22255 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22257 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22260 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22262 need_lib_prefix
=unknown
22263 hardcode_into_libs
=no
22265 # when you set need_version to no, make sure it does not cause -set_version
22266 # flags to be left without arguments
22267 need_version
=unknown
22272 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22273 shlibpath_var
=LIBPATH
22275 # AIX 3 has no versioning support, so we append a major version to the name.
22276 soname_spec
='${libname}${release}${shared_ext}$major'
22283 hardcode_into_libs
=yes
22284 if test "$host_cpu" = ia64
; then
22285 # AIX 5 supports IA64
22286 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22287 shlibpath_var
=LD_LIBRARY_PATH
22289 # With GCC up to 2.95.x, collect2 would create an import file
22290 # for dependence libraries. The import file would start with
22291 # the line `#! .'. This would cause the generated library to
22292 # depend on `.', always an invalid library. This was fixed in
22293 # development snapshots of GCC prior to 3.0.
22295 aix4 | aix4.
[01] | aix4.
[01].
*)
22296 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22298 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22301 can_build_shared
=no
22305 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22306 # soname into executable. Probably we can add versioning support to
22307 # collect2, so additional links can be useful in future.
22308 if test "$aix_use_runtimelinking" = yes; then
22309 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22310 # instead of lib<name>.a to let people know that these are not
22311 # typical AIX shared libraries.
22312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22314 # We preserve .a as extension for shared libraries through AIX4.2
22315 # and later when we are not doing run time linking.
22316 library_names_spec
='${libname}${release}.a $libname.a'
22317 soname_spec
='${libname}${release}${shared_ext}$major'
22319 shlibpath_var
=LIBPATH
22324 library_names_spec
='$libname.ixlibrary $libname.a'
22325 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22326 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'
22330 library_names_spec
='${libname}${shared_ext}'
22331 dynamic_linker
="$host_os ld.so"
22332 shlibpath_var
=LIBRARY_PATH
22338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22339 soname_spec
='${libname}${release}${shared_ext}$major'
22340 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22341 shlibpath_var
=LD_LIBRARY_PATH
22342 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22343 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22344 # the default ld.so.conf also contains /usr/contrib/lib and
22345 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22346 # libtool to hard-code these into programs
22349 cygwin
* | mingw
* | pw32
*)
22350 version_type
=windows
22355 case $GCC,$host_os in
22356 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22357 library_names_spec
='$libname.dll.a'
22358 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22359 postinstall_cmds
='base_file=`basename \${file}`~
22360 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22361 dldir=$destdir/`dirname \$dlpath`~
22362 test -d \$dldir || mkdir -p \$dldir~
22363 $install_prog $dir/$dlname \$dldir/$dlname'
22364 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22365 dlpath=$dir/\$dldll~
22367 shlibpath_overrides_runpath
=yes
22371 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22372 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22373 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22376 # MinGW DLLs use traditional 'lib' prefix
22377 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22378 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22379 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22380 # It is most probably a Windows format PATH printed by
22381 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22382 # path with ; separators, and with drive letters. We can handle the
22383 # drive letters (cygwin fileutils understands them), so leave them,
22384 # especially as we might pass files found there to a mingw objdump,
22385 # which wouldn't understand a cygwinified path. Ahh.
22386 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22388 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22392 # pw32 DLLs use 'pw' prefix rather than 'lib'
22393 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
22399 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22402 dynamic_linker
='Win32 ld.exe'
22403 # FIXME: first we should search . and the directory the executable is in
22407 darwin
* | rhapsody
*)
22408 dynamic_linker
="$host_os dyld"
22409 version_type
=darwin
22412 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22413 soname_spec
='${libname}${release}${major}$shared_ext'
22414 shlibpath_overrides_runpath
=yes
22415 shlibpath_var
=DYLD_LIBRARY_PATH
22416 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
22417 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22418 if test "$GCC" = yes; then
22419 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
22421 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22423 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22431 soname_spec
='${libname}${release}${shared_ext}$major'
22432 shlibpath_var
=LD_LIBRARY_PATH
22443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22444 soname_spec
='${libname}${release}${shared_ext}$major'
22445 shlibpath_var
=LD_LIBRARY_PATH
22446 shlibpath_overrides_runpath
=no
22447 hardcode_into_libs
=yes
22448 dynamic_linker
='GNU ld.so'
22452 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
22453 version_type
=freebsd-
$objformat
22454 case $version_type in
22456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22461 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22465 shlibpath_var
=LD_LIBRARY_PATH
22468 shlibpath_overrides_runpath
=yes
22470 freebsd3.01
* | freebsdelf3.01
*)
22471 shlibpath_overrides_runpath
=yes
22472 hardcode_into_libs
=yes
22475 shlibpath_overrides_runpath
=no
22476 hardcode_into_libs
=yes
22485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22486 soname_spec
='${libname}${release}${shared_ext}$major'
22487 shlibpath_var
=LD_LIBRARY_PATH
22488 hardcode_into_libs
=yes
22491 hpux9
* | hpux10
* | hpux11
*)
22492 # Give a soname corresponding to the major version so that dld.sl refuses to
22493 # link against other versions.
22497 case "$host_cpu" in
22500 hardcode_into_libs
=yes
22501 dynamic_linker
="$host_os dld.so"
22502 shlibpath_var
=LD_LIBRARY_PATH
22503 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22505 soname_spec
='${libname}${release}${shared_ext}$major'
22506 if test "X$HPUX_IA64_MODE" = X32
; then
22507 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22509 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22511 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22515 hardcode_into_libs
=yes
22516 dynamic_linker
="$host_os dld.sl"
22517 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22518 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22520 soname_spec
='${libname}${release}${shared_ext}$major'
22521 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22522 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22526 dynamic_linker
="$host_os dld.sl"
22527 shlibpath_var
=SHLIB_PATH
22528 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22530 soname_spec
='${libname}${release}${shared_ext}$major'
22533 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22534 postinstall_cmds
='chmod 555 $lib'
22537 irix5
* | irix6
* | nonstopux
*)
22539 nonstopux
*) version_type
=nonstopux
;;
22541 if test "$lt_cv_prog_gnu_ld" = yes; then
22549 soname_spec
='${libname}${release}${shared_ext}$major'
22550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22552 irix5
* | nonstopux
*)
22553 libsuff
= shlibsuff
=
22556 case $LD in # libtool.m4 will add one of these switches to LD
22557 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22558 libsuff
= shlibsuff
= libmagic
=32-bit;;
22559 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22560 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22561 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22562 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22563 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22567 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22568 shlibpath_overrides_runpath
=no
22569 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22570 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22571 hardcode_into_libs
=yes
22574 # No shared lib support for Linux oldld, aout, or coff.
22575 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22579 # This must be Linux ELF.
22584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22585 soname_spec
='${libname}${release}${shared_ext}$major'
22586 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22587 shlibpath_var
=LD_LIBRARY_PATH
22588 shlibpath_overrides_runpath
=no
22589 # This implies no fast_install, which is unacceptable.
22590 # Some rework will be needed to allow for fast_install
22591 # before this can be enabled.
22592 hardcode_into_libs
=yes
22594 # Append ld.so.conf contents to the search path
22595 if test -f /etc
/ld.so.conf
; then
22596 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
22597 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22600 # We used to test for /lib/ld.so.1 and disable shared libraries on
22601 # powerpc, because MkLinux only supported shared libraries with the
22602 # GNU dynamic linker. Since this was broken with cross compilers,
22603 # most powerpc-linux boxes support dynamic linking these days and
22604 # people can always --disable-shared, the test was removed, and we
22605 # assume the GNU/Linux dynamic linker is in use.
22606 dynamic_linker
='GNU/Linux ld.so'
22613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22614 soname_spec
='${libname}${release}${shared_ext}$major'
22615 shlibpath_var
=LD_LIBRARY_PATH
22616 shlibpath_overrides_runpath
=no
22617 hardcode_into_libs
=yes
22618 dynamic_linker
='GNU ld.so'
22625 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22627 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22628 dynamic_linker
='NetBSD (a.out) ld.so'
22630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22631 soname_spec
='${libname}${release}${shared_ext}$major'
22632 dynamic_linker
='NetBSD ld.elf_so'
22634 shlibpath_var
=LD_LIBRARY_PATH
22635 shlibpath_overrides_runpath
=yes
22636 hardcode_into_libs
=yes
22641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22642 shlibpath_var
=LD_LIBRARY_PATH
22643 shlibpath_overrides_runpath
=yes
22650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22651 soname_spec
='${libname}${release}${shared_ext}$major'
22652 shlibpath_var
=LD_LIBRARY_PATH
22653 shlibpath_overrides_runpath
=yes
22660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22661 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22662 shlibpath_var
=LD_LIBRARY_PATH
22663 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22665 openbsd2.
[89] | openbsd2.
[89].
*)
22666 shlibpath_overrides_runpath
=no
22669 shlibpath_overrides_runpath
=yes
22673 shlibpath_overrides_runpath
=yes
22678 libname_spec
='$name'
22681 library_names_spec
='$libname${shared_ext} $libname.a'
22682 dynamic_linker
='OS/2 ld.exe'
22683 shlibpath_var
=LIBPATH
22686 osf3
* | osf4
* | osf5
*)
22690 soname_spec
='${libname}${release}${shared_ext}$major'
22691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22692 shlibpath_var
=LD_LIBRARY_PATH
22693 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22694 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
22699 soname_spec
='${libname}${release}${shared_ext}$major'
22700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22701 shlibpath_var
=LD_LIBRARY_PATH
22708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22709 soname_spec
='${libname}${release}${shared_ext}$major'
22710 shlibpath_var
=LD_LIBRARY_PATH
22711 shlibpath_overrides_runpath
=yes
22712 hardcode_into_libs
=yes
22713 # ldd complains unless libraries are executable
22714 postinstall_cmds
='chmod +x $lib'
22719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22720 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22721 shlibpath_var
=LD_LIBRARY_PATH
22722 shlibpath_overrides_runpath
=yes
22723 if test "$with_gnu_ld" = yes; then
22729 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
22731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22732 soname_spec
='${libname}${release}${shared_ext}$major'
22733 shlibpath_var
=LD_LIBRARY_PATH
22734 case $host_vendor in
22736 shlibpath_overrides_runpath
=no
22738 export_dynamic_flag_spec
='${wl}-Blargedynsym'
22739 runpath_var
=LD_RUN_PATH
22747 shlibpath_overrides_runpath
=no
22748 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
22754 if test -d /usr
/nec
;then
22756 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22757 soname_spec
='$libname${shared_ext}.$major'
22758 shlibpath_var
=LD_LIBRARY_PATH
22764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22765 soname_spec
='${libname}${release}${shared_ext}$major'
22766 shlibpath_var
=LD_LIBRARY_PATH
22773 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22774 echo "${ECHO_T}$dynamic_linker" >&6
22775 test "$dynamic_linker" = no
&& can_build_shared
=no
22777 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22778 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
22779 hardcode_action_GCJ
=
22780 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
22781 test -n "$runpath_var_GCJ" || \
22782 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
22784 # We can hardcode non-existant directories.
22785 if test "$hardcode_direct_GCJ" != no
&&
22786 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22787 # have to relink, otherwise we might link with an installed library
22788 # when we should be linking with a yet-to-be-installed one
22789 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
22790 test "$hardcode_minus_L_GCJ" != no
; then
22791 # Linking always hardcodes the temporary library directory.
22792 hardcode_action_GCJ
=relink
22794 # We can link without hardcoding, and we can hardcode nonexisting dirs.
22795 hardcode_action_GCJ
=immediate
22798 # We cannot hardcode anything, or else we can only hardcode existing
22800 hardcode_action_GCJ
=unsupported
22802 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
22803 echo "${ECHO_T}$hardcode_action_GCJ" >&6
22805 if test "$hardcode_action_GCJ" = relink
; then
22806 # Fast installation is not supported
22807 enable_fast_install
=no
22808 elif test "$shlibpath_overrides_runpath" = yes ||
22809 test "$enable_shared" = no
; then
22810 # Fast installation is not necessary
22811 enable_fast_install
=needless
22816 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
22817 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
22818 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
22819 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
22820 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
22821 echo "$as_me:$LINENO: result: yes" >&5
22822 echo "${ECHO_T}yes" >&6
22824 # FIXME - insert some real tests, host_os isn't really good enough
22827 if test -n "$STRIP" ; then
22828 striplib
="$STRIP -x"
22829 echo "$as_me:$LINENO: result: yes" >&5
22830 echo "${ECHO_T}yes" >&6
22832 echo "$as_me:$LINENO: result: no" >&5
22833 echo "${ECHO_T}no" >&6
22837 echo "$as_me:$LINENO: result: no" >&5
22838 echo "${ECHO_T}no" >&6
22843 if test "x$enable_dlopen" != xyes
; then
22844 enable_dlopen
=unknown
22845 enable_dlopen_self
=unknown
22846 enable_dlopen_self_static
=unknown
22853 lt_cv_dlopen
="load_add_on"
22855 lt_cv_dlopen_self
=yes
22859 lt_cv_dlopen
="LoadLibrary"
22864 lt_cv_dlopen
="dlopen"
22869 # if libdl is installed we need to link against it
22870 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22871 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22872 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22873 echo $ECHO_N "(cached) $ECHO_C" >&6
22875 ac_check_lib_save_LIBS
=$LIBS
22877 cat >conftest.
$ac_ext <<_ACEOF
22880 cat confdefs.h
>>conftest.
$ac_ext
22881 cat >>conftest.
$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22884 /* Override any gcc2 internal prototype to avoid an error. */
22888 /* We use char because int might match the return type of a gcc2
22889 builtin and then its argument prototype would still apply. */
22899 rm -f conftest.
$ac_objext conftest
$ac_exeext
22900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22901 (eval $ac_link) 2>conftest.er1
22903 grep -v '^ *+' conftest.er1
>conftest.err
22905 cat conftest.err
>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } &&
22908 { ac_try
='test -z "$ac_c_werror_flag"
22909 || test ! -s conftest.err'
22910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22911 (eval $ac_try) 2>&5
22913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 (exit $ac_status); }; } &&
22915 { ac_try
='test -s conftest$ac_exeext'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; }; then
22921 ac_cv_lib_dl_dlopen
=yes
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.
$ac_ext >&5
22926 ac_cv_lib_dl_dlopen
=no
22928 rm -f conftest.err conftest.
$ac_objext \
22929 conftest
$ac_exeext conftest.
$ac_ext
22930 LIBS
=$ac_check_lib_save_LIBS
22932 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22933 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22934 if test $ac_cv_lib_dl_dlopen = yes; then
22935 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
22938 lt_cv_dlopen
="dyld"
22940 lt_cv_dlopen_self
=yes
22947 echo "$as_me:$LINENO: checking for shl_load" >&5
22948 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
22949 if test "${ac_cv_func_shl_load+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
22952 cat >conftest.
$ac_ext <<_ACEOF
22955 cat confdefs.h
>>conftest.
$ac_ext
22956 cat >>conftest.
$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22958 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
22959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22960 #define shl_load innocuous_shl_load
22962 /* System header to define __stub macros and hopefully few prototypes,
22963 which can conflict with char shl_load (); below.
22964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22965 <limits.h> exists even on freestanding compilers. */
22968 # include <limits.h>
22970 # include <assert.h>
22975 /* Override any gcc2 internal prototype to avoid an error. */
22980 /* We use char because int might match the return type of a gcc2
22981 builtin and then its argument prototype would still apply. */
22983 /* The GNU C library defines this for functions which it implements
22984 to always fail with ENOSYS. Some functions are actually named
22985 something starting with __ and the normal name is an alias. */
22986 #if defined (__stub_shl_load) || defined (__stub___shl_load)
22989 char (*f) () = shl_load;
22998 return f != shl_load;
23003 rm -f conftest.
$ac_objext conftest
$ac_exeext
23004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23005 (eval $ac_link) 2>conftest.er1
23007 grep -v '^ *+' conftest.er1
>conftest.err
23009 cat conftest.err
>&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } &&
23012 { ac_try
='test -z "$ac_c_werror_flag"
23013 || test ! -s conftest.err'
23014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23015 (eval $ac_try) 2>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); }; } &&
23019 { ac_try
='test -s conftest$ac_exeext'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 ac_cv_func_shl_load
=yes
23027 echo "$as_me: failed program was:" >&5
23028 sed 's/^/| /' conftest.
$ac_ext >&5
23030 ac_cv_func_shl_load
=no
23032 rm -f conftest.err conftest.
$ac_objext \
23033 conftest
$ac_exeext conftest.
$ac_ext
23035 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
23036 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
23037 if test $ac_cv_func_shl_load = yes; then
23038 lt_cv_dlopen
="shl_load"
23040 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
23041 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
23042 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
23043 echo $ECHO_N "(cached) $ECHO_C" >&6
23045 ac_check_lib_save_LIBS
=$LIBS
23047 cat >conftest.
$ac_ext <<_ACEOF
23050 cat confdefs.h
>>conftest.
$ac_ext
23051 cat >>conftest.
$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23054 /* Override any gcc2 internal prototype to avoid an error. */
23058 /* We use char because int might match the return type of a gcc2
23059 builtin and then its argument prototype would still apply. */
23069 rm -f conftest.
$ac_objext conftest
$ac_exeext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23071 (eval $ac_link) 2>conftest.er1
23073 grep -v '^ *+' conftest.er1
>conftest.err
23075 cat conftest.err
>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try
='test -z "$ac_c_werror_flag"
23079 || test ! -s conftest.err'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; } &&
23085 { ac_try
='test -s conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 ac_cv_lib_dld_shl_load
=yes
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.
$ac_ext >&5
23096 ac_cv_lib_dld_shl_load
=no
23098 rm -f conftest.err conftest.
$ac_objext \
23099 conftest
$ac_exeext conftest.
$ac_ext
23100 LIBS
=$ac_check_lib_save_LIBS
23102 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
23103 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
23104 if test $ac_cv_lib_dld_shl_load = yes; then
23105 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
23107 echo "$as_me:$LINENO: checking for dlopen" >&5
23108 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
23109 if test "${ac_cv_func_dlopen+set}" = set; then
23110 echo $ECHO_N "(cached) $ECHO_C" >&6
23112 cat >conftest.
$ac_ext <<_ACEOF
23115 cat confdefs.h
>>conftest.
$ac_ext
23116 cat >>conftest.
$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23118 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
23119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23120 #define dlopen innocuous_dlopen
23122 /* System header to define __stub macros and hopefully few prototypes,
23123 which can conflict with char dlopen (); below.
23124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23125 <limits.h> exists even on freestanding compilers. */
23128 # include <limits.h>
23130 # include <assert.h>
23135 /* Override any gcc2 internal prototype to avoid an error. */
23140 /* We use char because int might match the return type of a gcc2
23141 builtin and then its argument prototype would still apply. */
23143 /* The GNU C library defines this for functions which it implements
23144 to always fail with ENOSYS. Some functions are actually named
23145 something starting with __ and the normal name is an alias. */
23146 #if defined (__stub_dlopen) || defined (__stub___dlopen)
23149 char (*f) () = dlopen;
23158 return f != dlopen;
23163 rm -f conftest.
$ac_objext conftest
$ac_exeext
23164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23165 (eval $ac_link) 2>conftest.er1
23167 grep -v '^ *+' conftest.er1
>conftest.err
23169 cat conftest.err
>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } &&
23172 { ac_try
='test -z "$ac_c_werror_flag"
23173 || test ! -s conftest.err'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; } &&
23179 { ac_try
='test -s conftest$ac_exeext'
23180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23181 (eval $ac_try) 2>&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); }; }; then
23185 ac_cv_func_dlopen
=yes
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.
$ac_ext >&5
23190 ac_cv_func_dlopen
=no
23192 rm -f conftest.err conftest.
$ac_objext \
23193 conftest
$ac_exeext conftest.
$ac_ext
23195 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
23196 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
23197 if test $ac_cv_func_dlopen = yes; then
23198 lt_cv_dlopen
="dlopen"
23200 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23201 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23202 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23205 ac_check_lib_save_LIBS
=$LIBS
23207 cat >conftest.
$ac_ext <<_ACEOF
23210 cat confdefs.h
>>conftest.
$ac_ext
23211 cat >>conftest.
$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23214 /* Override any gcc2 internal prototype to avoid an error. */
23218 /* We use char because int might match the return type of a gcc2
23219 builtin and then its argument prototype would still apply. */
23229 rm -f conftest.
$ac_objext conftest
$ac_exeext
23230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23231 (eval $ac_link) 2>conftest.er1
23233 grep -v '^ *+' conftest.er1
>conftest.err
23235 cat conftest.err
>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); } &&
23238 { ac_try
='test -z "$ac_c_werror_flag"
23239 || test ! -s conftest.err'
23240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241 (eval $ac_try) 2>&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); }; } &&
23245 { ac_try
='test -s conftest$ac_exeext'
23246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247 (eval $ac_try) 2>&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; }; then
23251 ac_cv_lib_dl_dlopen
=yes
23253 echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.
$ac_ext >&5
23256 ac_cv_lib_dl_dlopen
=no
23258 rm -f conftest.err conftest.
$ac_objext \
23259 conftest
$ac_exeext conftest.
$ac_ext
23260 LIBS
=$ac_check_lib_save_LIBS
23262 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23263 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23264 if test $ac_cv_lib_dl_dlopen = yes; then
23265 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
23267 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
23268 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
23269 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
23270 echo $ECHO_N "(cached) $ECHO_C" >&6
23272 ac_check_lib_save_LIBS
=$LIBS
23273 LIBS
="-lsvld $LIBS"
23274 cat >conftest.
$ac_ext <<_ACEOF
23277 cat confdefs.h
>>conftest.
$ac_ext
23278 cat >>conftest.
$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23281 /* Override any gcc2 internal prototype to avoid an error. */
23285 /* We use char because int might match the return type of a gcc2
23286 builtin and then its argument prototype would still apply. */
23296 rm -f conftest.
$ac_objext conftest
$ac_exeext
23297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23298 (eval $ac_link) 2>conftest.er1
23300 grep -v '^ *+' conftest.er1
>conftest.err
23302 cat conftest.err
>&5
23303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304 (exit $ac_status); } &&
23305 { ac_try
='test -z "$ac_c_werror_flag"
23306 || test ! -s conftest.err'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; } &&
23312 { ac_try
='test -s conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_lib_svld_dlopen
=yes
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.
$ac_ext >&5
23323 ac_cv_lib_svld_dlopen
=no
23325 rm -f conftest.err conftest.
$ac_objext \
23326 conftest
$ac_exeext conftest.
$ac_ext
23327 LIBS
=$ac_check_lib_save_LIBS
23329 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
23330 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
23331 if test $ac_cv_lib_svld_dlopen = yes; then
23332 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
23334 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
23335 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
23336 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
23337 echo $ECHO_N "(cached) $ECHO_C" >&6
23339 ac_check_lib_save_LIBS
=$LIBS
23341 cat >conftest.
$ac_ext <<_ACEOF
23344 cat confdefs.h
>>conftest.
$ac_ext
23345 cat >>conftest.
$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23348 /* Override any gcc2 internal prototype to avoid an error. */
23352 /* We use char because int might match the return type of a gcc2
23353 builtin and then its argument prototype would still apply. */
23363 rm -f conftest.
$ac_objext conftest
$ac_exeext
23364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23365 (eval $ac_link) 2>conftest.er1
23367 grep -v '^ *+' conftest.er1
>conftest.err
23369 cat conftest.err
>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); } &&
23372 { ac_try
='test -z "$ac_c_werror_flag"
23373 || test ! -s conftest.err'
23374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23375 (eval $ac_try) 2>&5
23377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23378 (exit $ac_status); }; } &&
23379 { ac_try
='test -s conftest$ac_exeext'
23380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23381 (eval $ac_try) 2>&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); }; }; then
23385 ac_cv_lib_dld_dld_link
=yes
23387 echo "$as_me: failed program was:" >&5
23388 sed 's/^/| /' conftest.
$ac_ext >&5
23390 ac_cv_lib_dld_dld_link
=no
23392 rm -f conftest.err conftest.
$ac_objext \
23393 conftest
$ac_exeext conftest.
$ac_ext
23394 LIBS
=$ac_check_lib_save_LIBS
23396 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
23397 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
23398 if test $ac_cv_lib_dld_dld_link = yes; then
23399 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
23420 if test "x$lt_cv_dlopen" != xno
; then
23426 case $lt_cv_dlopen in
23428 save_CPPFLAGS
="$CPPFLAGS"
23429 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
23431 save_LDFLAGS
="$LDFLAGS"
23432 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
23435 LIBS
="$lt_cv_dlopen_libs $LIBS"
23437 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
23438 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
23439 if test "${lt_cv_dlopen_self+set}" = set; then
23440 echo $ECHO_N "(cached) $ECHO_C" >&6
23442 if test "$cross_compiling" = yes; then :
23443 lt_cv_dlopen_self
=cross
23445 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
23446 lt_status
=$lt_dlunknown
23447 cat > conftest.
$ac_ext <<EOF
23448 #line 23448 "configure"
23449 #include "confdefs.h"
23458 # define LT_DLGLOBAL RTLD_GLOBAL
23461 # define LT_DLGLOBAL DL_GLOBAL
23463 # define LT_DLGLOBAL 0
23467 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23468 find out it does not work in some platform. */
23469 #ifndef LT_DLLAZY_OR_NOW
23471 # define LT_DLLAZY_OR_NOW RTLD_LAZY
23474 # define LT_DLLAZY_OR_NOW DL_LAZY
23477 # define LT_DLLAZY_OR_NOW RTLD_NOW
23480 # define LT_DLLAZY_OR_NOW DL_NOW
23482 # define LT_DLLAZY_OR_NOW 0
23490 extern "C" void exit (int);
23493 void fnord() { int i=42;}
23496 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23497 int status = $lt_dlunknown;
23501 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23502 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23503 /* dlclose (self); */
23509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23510 (eval $ac_link) 2>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
23514 (.
/conftest
; exit; ) 2>/dev
/null
23516 case x
$lt_status in
23517 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
23518 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
23519 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
23522 # compilation failed
23523 lt_cv_dlopen_self
=no
23530 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
23531 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
23533 if test "x$lt_cv_dlopen_self" = xyes
; then
23534 LDFLAGS
="$LDFLAGS $link_static_flag"
23535 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
23536 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
23537 if test "${lt_cv_dlopen_self_static+set}" = set; then
23538 echo $ECHO_N "(cached) $ECHO_C" >&6
23540 if test "$cross_compiling" = yes; then :
23541 lt_cv_dlopen_self_static
=cross
23543 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
23544 lt_status
=$lt_dlunknown
23545 cat > conftest.
$ac_ext <<EOF
23546 #line 23546 "configure"
23547 #include "confdefs.h"
23556 # define LT_DLGLOBAL RTLD_GLOBAL
23559 # define LT_DLGLOBAL DL_GLOBAL
23561 # define LT_DLGLOBAL 0
23565 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23566 find out it does not work in some platform. */
23567 #ifndef LT_DLLAZY_OR_NOW
23569 # define LT_DLLAZY_OR_NOW RTLD_LAZY
23572 # define LT_DLLAZY_OR_NOW DL_LAZY
23575 # define LT_DLLAZY_OR_NOW RTLD_NOW
23578 # define LT_DLLAZY_OR_NOW DL_NOW
23580 # define LT_DLLAZY_OR_NOW 0
23588 extern "C" void exit (int);
23591 void fnord() { int i=42;}
23594 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23595 int status = $lt_dlunknown;
23599 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23600 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23601 /* dlclose (self); */
23607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23608 (eval $ac_link) 2>&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
23612 (.
/conftest
; exit; ) 2>/dev
/null
23614 case x
$lt_status in
23615 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
23616 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
23617 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
23620 # compilation failed
23621 lt_cv_dlopen_self_static
=no
23628 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
23629 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
23632 CPPFLAGS
="$save_CPPFLAGS"
23633 LDFLAGS
="$save_LDFLAGS"
23638 case $lt_cv_dlopen_self in
23639 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
23640 *) enable_dlopen_self
=unknown
;;
23643 case $lt_cv_dlopen_self_static in
23644 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
23645 *) enable_dlopen_self_static
=unknown
;;
23650 # The else clause should only fire when bootstrapping the
23651 # libtool distribution, otherwise you forgot to ship ltmain.sh
23652 # with your package, and you will get complaints that there are
23653 # no rules to generate ltmain.sh.
23654 if test -f "$ltmain"; then
23655 # See if we are running on zsh, and set the options which allow our commands through
23656 # without removal of \ escapes.
23657 if test -n "${ZSH_VERSION+set}" ; then
23658 setopt NO_GLOB_SUBST
23660 # Now quote all the things that may contain metacharacters while being
23661 # careful not to overquote the AC_SUBSTed values. We take copies of the
23662 # variables and quote the copies for generation of the libtool script.
23663 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
23665 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23666 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23667 deplibs_check_method reload_flag reload_cmds need_locks \
23668 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23669 lt_cv_sys_global_symbol_to_c_name_address \
23670 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23671 old_postinstall_cmds old_postuninstall_cmds \
23675 lt_prog_compiler_wl_GCJ \
23676 lt_prog_compiler_pic_GCJ \
23677 lt_prog_compiler_static_GCJ \
23678 lt_prog_compiler_no_builtin_flag_GCJ \
23679 export_dynamic_flag_spec_GCJ \
23680 thread_safe_flag_spec_GCJ \
23681 whole_archive_flag_spec_GCJ \
23682 enable_shared_with_static_runtimes_GCJ \
23683 old_archive_cmds_GCJ \
23684 old_archive_from_new_cmds_GCJ \
23685 predep_objects_GCJ \
23686 postdep_objects_GCJ \
23689 compiler_lib_search_path_GCJ \
23691 archive_expsym_cmds_GCJ \
23692 postinstall_cmds_GCJ \
23693 postuninstall_cmds_GCJ \
23694 old_archive_from_expsyms_cmds_GCJ \
23695 allow_undefined_flag_GCJ \
23696 no_undefined_flag_GCJ \
23697 export_symbols_cmds_GCJ \
23698 hardcode_libdir_flag_spec_GCJ \
23699 hardcode_libdir_flag_spec_ld_GCJ \
23700 hardcode_libdir_separator_GCJ \
23701 hardcode_automatic_GCJ \
23703 module_expsym_cmds_GCJ \
23704 lt_cv_prog_compiler_c_o_GCJ \
23705 exclude_expsyms_GCJ \
23706 include_expsyms_GCJ
; do
23709 old_archive_cmds_GCJ | \
23710 old_archive_from_new_cmds_GCJ | \
23711 archive_cmds_GCJ | \
23712 archive_expsym_cmds_GCJ | \
23713 module_cmds_GCJ | \
23714 module_expsym_cmds_GCJ | \
23715 old_archive_from_expsyms_cmds_GCJ | \
23716 export_symbols_cmds_GCJ | \
23717 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23718 postinstall_cmds | postuninstall_cmds | \
23719 old_postinstall_cmds | old_postuninstall_cmds | \
23720 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23721 # Double-quote double-evaled strings.
23722 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23725 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23731 *'\$0 --fallback-echo"')
23732 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23738 cat <<__EOF__ >> "$cfgfile"
23739 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23741 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23743 # Shell to use when invoking shell scripts.
23746 # Whether or not to build shared libraries.
23747 build_libtool_libs=$enable_shared
23749 # Whether or not to build static libraries.
23750 build_old_libs=$enable_static
23752 # Whether or not to add -lc for building shared libraries.
23753 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
23755 # Whether or not to disallow shared libs when runtime libs are static
23756 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
23758 # Whether or not to optimize for fast installation.
23759 fast_install=$enable_fast_install
23762 host_alias=$host_alias
23765 # An echo program that does not interpret backslashes.
23770 AR_FLAGS=$lt_AR_FLAGS
23775 # A language-specific compiler.
23776 CC=$lt_compiler_GCJ
23778 # Is the compiler the GNU C compiler?
23784 # The linker used to build libraries.
23787 # Whether we need hard or soft links.
23790 # A BSD-compatible nm program.
23793 # A symbol stripping program
23796 # Used to examine libraries when file_magic_cmd begins "file"
23797 MAGIC_CMD=$MAGIC_CMD
23799 # Used on cygwin: DLL creation program.
23802 # Used on cygwin: object dumper.
23805 # Used on cygwin: assembler.
23808 # The name of the directory that contains temporary libtool files.
23811 # How to create reloadable object files.
23812 reload_flag=$lt_reload_flag
23813 reload_cmds=$lt_reload_cmds
23815 # How to pass a linker flag through the compiler.
23816 wl=$lt_lt_prog_compiler_wl_GCJ
23818 # Object file suffix (normally "o").
23819 objext="$ac_objext"
23821 # Old archive suffix (normally "a").
23824 # Shared library suffix (normally ".so").
23825 shrext_cmds='$shrext_cmds'
23827 # Executable file suffix (normally "").
23830 # Additional compiler flags for building library objects.
23831 pic_flag=$lt_lt_prog_compiler_pic_GCJ
23834 # What is the maximum length of a command?
23835 max_cmd_len=$lt_cv_sys_max_cmd_len
23837 # Does compiler simultaneously support -c and -o options?
23838 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
23840 # Must we lock files when doing compilation ?
23841 need_locks=$lt_need_locks
23843 # Do we need the lib prefix for modules?
23844 need_lib_prefix=$need_lib_prefix
23846 # Do we need a version for libraries?
23847 need_version=$need_version
23849 # Whether dlopen is supported.
23850 dlopen_support=$enable_dlopen
23852 # Whether dlopen of programs is supported.
23853 dlopen_self=$enable_dlopen_self
23855 # Whether dlopen of statically linked programs is supported.
23856 dlopen_self_static=$enable_dlopen_self_static
23858 # Compiler flag to prevent dynamic linking.
23859 link_static_flag=$lt_lt_prog_compiler_static_GCJ
23861 # Compiler flag to turn off builtin functions.
23862 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
23864 # Compiler flag to allow reflexive dlopens.
23865 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
23867 # Compiler flag to generate shared objects directly from archives.
23868 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
23870 # Compiler flag to generate thread-safe objects.
23871 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
23873 # Library versioning type.
23874 version_type=$version_type
23876 # Format of library name prefix.
23877 libname_spec=$lt_libname_spec
23879 # List of archive names. First name is the real one, the rest are links.
23880 # The last name is the one that the linker finds with -lNAME.
23881 library_names_spec=$lt_library_names_spec
23883 # The coded name of the library, if different from the real name.
23884 soname_spec=$lt_soname_spec
23886 # Commands used to build and install an old-style archive.
23888 old_archive_cmds=$lt_old_archive_cmds_GCJ
23889 old_postinstall_cmds=$lt_old_postinstall_cmds
23890 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23892 # Create an old-style archive from a shared archive.
23893 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
23895 # Create a temporary old-style archive to link instead of a shared archive.
23896 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
23898 # Commands used to build and install a shared archive.
23899 archive_cmds=$lt_archive_cmds_GCJ
23900 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
23901 postinstall_cmds=$lt_postinstall_cmds
23902 postuninstall_cmds=$lt_postuninstall_cmds
23904 # Commands used to build a loadable module (assumed same as above if empty)
23905 module_cmds=$lt_module_cmds_GCJ
23906 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
23908 # Commands to strip libraries.
23909 old_striplib=$lt_old_striplib
23910 striplib=$lt_striplib
23912 # Dependencies to place before the objects being linked to create a
23914 predep_objects=$lt_predep_objects_GCJ
23916 # Dependencies to place after the objects being linked to create a
23918 postdep_objects=$lt_postdep_objects_GCJ
23920 # Dependencies to place before the objects being linked to create a
23922 predeps=$lt_predeps_GCJ
23924 # Dependencies to place after the objects being linked to create a
23926 postdeps=$lt_postdeps_GCJ
23928 # The library search path used internally by the compiler when linking
23929 # a shared library.
23930 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
23932 # Method to check whether dependent libraries are shared objects.
23933 deplibs_check_method=$lt_deplibs_check_method
23935 # Command to use when deplibs_check_method == file_magic.
23936 file_magic_cmd=$lt_file_magic_cmd
23938 # Flag that allows shared libraries with undefined symbols to be built.
23939 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
23941 # Flag that forces no undefined symbols.
23942 no_undefined_flag=$lt_no_undefined_flag_GCJ
23944 # Commands used to finish a libtool library installation in a directory.
23945 finish_cmds=$lt_finish_cmds
23947 # Same as above, but a single script fragment to be evaled but not shown.
23948 finish_eval=$lt_finish_eval
23950 # Take the output of nm and produce a listing of raw symbols and C names.
23951 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23953 # Transform the output of nm in a proper C declaration
23954 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23956 # Transform the output of nm in a C name address pair
23957 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23959 # This is the shared library runtime path variable.
23960 runpath_var=$runpath_var
23962 # This is the shared library path variable.
23963 shlibpath_var=$shlibpath_var
23965 # Is shlibpath searched before the hard-coded library search path?
23966 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23968 # How to hardcode a shared library path into an executable.
23969 hardcode_action=$hardcode_action_GCJ
23971 # Whether we should hardcode library paths into libraries.
23972 hardcode_into_libs=$hardcode_into_libs
23974 # Flag to hardcode \$libdir into a binary during linking.
23975 # This must work even if \$libdir does not exist.
23976 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
23978 # If ld is used when linking, flag to hardcode \$libdir into
23979 # a binary during linking. This must work even if \$libdir does
23981 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
23983 # Whether we need a single -rpath flag with a separated argument.
23984 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
23986 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23987 # resulting binary.
23988 hardcode_direct=$hardcode_direct_GCJ
23990 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23991 # resulting binary.
23992 hardcode_minus_L=$hardcode_minus_L_GCJ
23994 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23995 # the resulting binary.
23996 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
23998 # Set to yes if building a shared library automatically hardcodes DIR into the library
23999 # and all subsequent libraries and executables linked against it.
24000 hardcode_automatic=$hardcode_automatic_GCJ
24002 # Variables whose values should be saved in libtool wrapper scripts and
24003 # restored at relink time.
24004 variables_saved_for_relink="$variables_saved_for_relink"
24006 # Whether libtool must link a program against all its dependency libraries.
24007 link_all_deplibs=$link_all_deplibs_GCJ
24009 # Compile-time system search path for libraries
24010 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24012 # Run-time system search path for libraries
24013 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24015 # Fix the shell variable \$srcfile for the compiler.
24016 fix_srcfile_path="$fix_srcfile_path_GCJ"
24018 # Set to yes if exported symbols are required.
24019 always_export_symbols=$always_export_symbols_GCJ
24021 # The commands to list exported symbols.
24022 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
24024 # The commands to extract the exported symbol list from a shared archive.
24025 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24027 # Symbols that should not be listed in the preloaded symbols.
24028 exclude_expsyms=$lt_exclude_expsyms_GCJ
24030 # Symbols that must always be exported.
24031 include_expsyms=$lt_include_expsyms_GCJ
24033 # ### END LIBTOOL TAG CONFIG: $tagname
24039 # If there is no Makefile yet, we rely on a make rule to execute
24040 # `config.status --recheck' to rerun these tests and create the
24041 # libtool script then.
24042 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24043 if test -f "$ltmain_in"; then
24044 test -f Makefile
&& make "$ltmain"
24050 ac_cpp
='$CPP $CPPFLAGS'
24051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24064 ac_cpp
='$CPP $CPPFLAGS'
24065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24070 # Source file extension for RC test sources.
24073 # Object file extension for compiled RC test sources.
24077 # Code to be used in simple compile tests
24078 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
24080 # Code to be used in simple link tests
24081 lt_simple_link_test_code
="$lt_simple_compile_test_code"
24083 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24085 # If no C compiler was specified, use CC.
24088 # Allow CC to be a program name with arguments.
24092 # Allow CC to be a program name with arguments.
24097 lt_cv_prog_compiler_c_o_RC
=yes
24099 # The else clause should only fire when bootstrapping the
24100 # libtool distribution, otherwise you forgot to ship ltmain.sh
24101 # with your package, and you will get complaints that there are
24102 # no rules to generate ltmain.sh.
24103 if test -f "$ltmain"; then
24104 # See if we are running on zsh, and set the options which allow our commands through
24105 # without removal of \ escapes.
24106 if test -n "${ZSH_VERSION+set}" ; then
24107 setopt NO_GLOB_SUBST
24109 # Now quote all the things that may contain metacharacters while being
24110 # careful not to overquote the AC_SUBSTed values. We take copies of the
24111 # variables and quote the copies for generation of the libtool script.
24112 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
24114 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24115 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24116 deplibs_check_method reload_flag reload_cmds need_locks \
24117 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24118 lt_cv_sys_global_symbol_to_c_name_address \
24119 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24120 old_postinstall_cmds old_postuninstall_cmds \
24124 lt_prog_compiler_wl_RC \
24125 lt_prog_compiler_pic_RC \
24126 lt_prog_compiler_static_RC \
24127 lt_prog_compiler_no_builtin_flag_RC \
24128 export_dynamic_flag_spec_RC \
24129 thread_safe_flag_spec_RC \
24130 whole_archive_flag_spec_RC \
24131 enable_shared_with_static_runtimes_RC \
24132 old_archive_cmds_RC \
24133 old_archive_from_new_cmds_RC \
24134 predep_objects_RC \
24135 postdep_objects_RC \
24138 compiler_lib_search_path_RC \
24140 archive_expsym_cmds_RC \
24141 postinstall_cmds_RC \
24142 postuninstall_cmds_RC \
24143 old_archive_from_expsyms_cmds_RC \
24144 allow_undefined_flag_RC \
24145 no_undefined_flag_RC \
24146 export_symbols_cmds_RC \
24147 hardcode_libdir_flag_spec_RC \
24148 hardcode_libdir_flag_spec_ld_RC \
24149 hardcode_libdir_separator_RC \
24150 hardcode_automatic_RC \
24152 module_expsym_cmds_RC \
24153 lt_cv_prog_compiler_c_o_RC \
24154 exclude_expsyms_RC \
24155 include_expsyms_RC
; do
24158 old_archive_cmds_RC | \
24159 old_archive_from_new_cmds_RC | \
24160 archive_cmds_RC | \
24161 archive_expsym_cmds_RC | \
24163 module_expsym_cmds_RC | \
24164 old_archive_from_expsyms_cmds_RC | \
24165 export_symbols_cmds_RC | \
24166 extract_expsyms_cmds | reload_cmds | finish_cmds | \
24167 postinstall_cmds | postuninstall_cmds | \
24168 old_postinstall_cmds | old_postuninstall_cmds | \
24169 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
24170 # Double-quote double-evaled strings.
24171 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
24174 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
24180 *'\$0 --fallback-echo"')
24181 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
24187 cat <<__EOF__ >> "$cfgfile"
24188 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
24190 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24192 # Shell to use when invoking shell scripts.
24195 # Whether or not to build shared libraries.
24196 build_libtool_libs=$enable_shared
24198 # Whether or not to build static libraries.
24199 build_old_libs=$enable_static
24201 # Whether or not to add -lc for building shared libraries.
24202 build_libtool_need_lc=$archive_cmds_need_lc_RC
24204 # Whether or not to disallow shared libs when runtime libs are static
24205 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
24207 # Whether or not to optimize for fast installation.
24208 fast_install=$enable_fast_install
24211 host_alias=$host_alias
24214 # An echo program that does not interpret backslashes.
24219 AR_FLAGS=$lt_AR_FLAGS
24224 # A language-specific compiler.
24227 # Is the compiler the GNU C compiler?
24233 # The linker used to build libraries.
24236 # Whether we need hard or soft links.
24239 # A BSD-compatible nm program.
24242 # A symbol stripping program
24245 # Used to examine libraries when file_magic_cmd begins "file"
24246 MAGIC_CMD=$MAGIC_CMD
24248 # Used on cygwin: DLL creation program.
24251 # Used on cygwin: object dumper.
24254 # Used on cygwin: assembler.
24257 # The name of the directory that contains temporary libtool files.
24260 # How to create reloadable object files.
24261 reload_flag=$lt_reload_flag
24262 reload_cmds=$lt_reload_cmds
24264 # How to pass a linker flag through the compiler.
24265 wl=$lt_lt_prog_compiler_wl_RC
24267 # Object file suffix (normally "o").
24268 objext="$ac_objext"
24270 # Old archive suffix (normally "a").
24273 # Shared library suffix (normally ".so").
24274 shrext_cmds='$shrext_cmds'
24276 # Executable file suffix (normally "").
24279 # Additional compiler flags for building library objects.
24280 pic_flag=$lt_lt_prog_compiler_pic_RC
24283 # What is the maximum length of a command?
24284 max_cmd_len=$lt_cv_sys_max_cmd_len
24286 # Does compiler simultaneously support -c and -o options?
24287 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
24289 # Must we lock files when doing compilation ?
24290 need_locks=$lt_need_locks
24292 # Do we need the lib prefix for modules?
24293 need_lib_prefix=$need_lib_prefix
24295 # Do we need a version for libraries?
24296 need_version=$need_version
24298 # Whether dlopen is supported.
24299 dlopen_support=$enable_dlopen
24301 # Whether dlopen of programs is supported.
24302 dlopen_self=$enable_dlopen_self
24304 # Whether dlopen of statically linked programs is supported.
24305 dlopen_self_static=$enable_dlopen_self_static
24307 # Compiler flag to prevent dynamic linking.
24308 link_static_flag=$lt_lt_prog_compiler_static_RC
24310 # Compiler flag to turn off builtin functions.
24311 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
24313 # Compiler flag to allow reflexive dlopens.
24314 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
24316 # Compiler flag to generate shared objects directly from archives.
24317 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
24319 # Compiler flag to generate thread-safe objects.
24320 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
24322 # Library versioning type.
24323 version_type=$version_type
24325 # Format of library name prefix.
24326 libname_spec=$lt_libname_spec
24328 # List of archive names. First name is the real one, the rest are links.
24329 # The last name is the one that the linker finds with -lNAME.
24330 library_names_spec=$lt_library_names_spec
24332 # The coded name of the library, if different from the real name.
24333 soname_spec=$lt_soname_spec
24335 # Commands used to build and install an old-style archive.
24337 old_archive_cmds=$lt_old_archive_cmds_RC
24338 old_postinstall_cmds=$lt_old_postinstall_cmds
24339 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24341 # Create an old-style archive from a shared archive.
24342 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
24344 # Create a temporary old-style archive to link instead of a shared archive.
24345 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
24347 # Commands used to build and install a shared archive.
24348 archive_cmds=$lt_archive_cmds_RC
24349 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
24350 postinstall_cmds=$lt_postinstall_cmds
24351 postuninstall_cmds=$lt_postuninstall_cmds
24353 # Commands used to build a loadable module (assumed same as above if empty)
24354 module_cmds=$lt_module_cmds_RC
24355 module_expsym_cmds=$lt_module_expsym_cmds_RC
24357 # Commands to strip libraries.
24358 old_striplib=$lt_old_striplib
24359 striplib=$lt_striplib
24361 # Dependencies to place before the objects being linked to create a
24363 predep_objects=$lt_predep_objects_RC
24365 # Dependencies to place after the objects being linked to create a
24367 postdep_objects=$lt_postdep_objects_RC
24369 # Dependencies to place before the objects being linked to create a
24371 predeps=$lt_predeps_RC
24373 # Dependencies to place after the objects being linked to create a
24375 postdeps=$lt_postdeps_RC
24377 # The library search path used internally by the compiler when linking
24378 # a shared library.
24379 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
24381 # Method to check whether dependent libraries are shared objects.
24382 deplibs_check_method=$lt_deplibs_check_method
24384 # Command to use when deplibs_check_method == file_magic.
24385 file_magic_cmd=$lt_file_magic_cmd
24387 # Flag that allows shared libraries with undefined symbols to be built.
24388 allow_undefined_flag=$lt_allow_undefined_flag_RC
24390 # Flag that forces no undefined symbols.
24391 no_undefined_flag=$lt_no_undefined_flag_RC
24393 # Commands used to finish a libtool library installation in a directory.
24394 finish_cmds=$lt_finish_cmds
24396 # Same as above, but a single script fragment to be evaled but not shown.
24397 finish_eval=$lt_finish_eval
24399 # Take the output of nm and produce a listing of raw symbols and C names.
24400 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24402 # Transform the output of nm in a proper C declaration
24403 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24405 # Transform the output of nm in a C name address pair
24406 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24408 # This is the shared library runtime path variable.
24409 runpath_var=$runpath_var
24411 # This is the shared library path variable.
24412 shlibpath_var=$shlibpath_var
24414 # Is shlibpath searched before the hard-coded library search path?
24415 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24417 # How to hardcode a shared library path into an executable.
24418 hardcode_action=$hardcode_action_RC
24420 # Whether we should hardcode library paths into libraries.
24421 hardcode_into_libs=$hardcode_into_libs
24423 # Flag to hardcode \$libdir into a binary during linking.
24424 # This must work even if \$libdir does not exist.
24425 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
24427 # If ld is used when linking, flag to hardcode \$libdir into
24428 # a binary during linking. This must work even if \$libdir does
24430 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
24432 # Whether we need a single -rpath flag with a separated argument.
24433 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
24435 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24436 # resulting binary.
24437 hardcode_direct=$hardcode_direct_RC
24439 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24440 # resulting binary.
24441 hardcode_minus_L=$hardcode_minus_L_RC
24443 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24444 # the resulting binary.
24445 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
24447 # Set to yes if building a shared library automatically hardcodes DIR into the library
24448 # and all subsequent libraries and executables linked against it.
24449 hardcode_automatic=$hardcode_automatic_RC
24451 # Variables whose values should be saved in libtool wrapper scripts and
24452 # restored at relink time.
24453 variables_saved_for_relink="$variables_saved_for_relink"
24455 # Whether libtool must link a program against all its dependency libraries.
24456 link_all_deplibs=$link_all_deplibs_RC
24458 # Compile-time system search path for libraries
24459 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24461 # Run-time system search path for libraries
24462 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24464 # Fix the shell variable \$srcfile for the compiler.
24465 fix_srcfile_path="$fix_srcfile_path_RC"
24467 # Set to yes if exported symbols are required.
24468 always_export_symbols=$always_export_symbols_RC
24470 # The commands to list exported symbols.
24471 export_symbols_cmds=$lt_export_symbols_cmds_RC
24473 # The commands to extract the exported symbol list from a shared archive.
24474 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24476 # Symbols that should not be listed in the preloaded symbols.
24477 exclude_expsyms=$lt_exclude_expsyms_RC
24479 # Symbols that must always be exported.
24480 include_expsyms=$lt_include_expsyms_RC
24482 # ### END LIBTOOL TAG CONFIG: $tagname
24488 # If there is no Makefile yet, we rely on a make rule to execute
24489 # `config.status --recheck' to rerun these tests and create the
24490 # libtool script then.
24491 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24492 if test -f "$ltmain_in"; then
24493 test -f Makefile
&& make "$ltmain"
24499 ac_cpp
='$CPP $CPPFLAGS'
24500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24509 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
24510 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
24511 { (exit 1); exit 1; }; }
24515 # Append the new tag name to the list of available tags.
24516 if test -n "$tagname" ; then
24517 available_tags
="$available_tags $tagname"
24523 # Now substitute the updated list of available tags.
24524 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
24525 mv "${ofile}T" "$ofile"
24529 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
24530 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
24531 { (exit 1); exit 1; }; }
24537 # This can be used to rebuild libtool when needed
24538 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
24540 # Always use our own libtool.
24541 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
24543 # Prevent multiple expansion
24565 etags_version
=`$ETAGS --version 2>&1`
24566 case "$etags_version" in
24567 *Eexuberant
*) ETAGSFLAGS
="--language-force=c++" ;;
24568 *GNU\ Emacs
*) ETAGSFLAGS
="-l c++" ;;
24569 *) ETAGSFLAGS
="" ;;
24571 ETAGSFLAGS
=$ETAGSFLAGS
24574 echo "$as_me:$LINENO: checking tool compatibility" >&5
24575 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6
24577 if test "$GCC" != "yes"
24579 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
24580 echo "$as_me: error: gcc required but not found" >&2;}
24581 { (exit 1); exit 1; }; }
24583 if test "$GXX" != "yes"
24585 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
24586 echo "$as_me: error: g++ required but not found" >&2;}
24587 { (exit 1); exit 1; }; }
24590 gccmajor
=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
24591 if test "$gccmajor" -lt "3"
24593 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
24594 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
24595 { (exit 1); exit 1; }; }
24598 if test -z "$llvm_cv_gnu_make_command"
24600 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
24601 echo "$as_me: error: GNU Make required but not found" >&2;}
24602 { (exit 1); exit 1; }; }
24605 echo "$as_me:$LINENO: result: ok" >&5
24606 echo "${ECHO_T}ok" >&6
24608 if test "$PYTHON" = "false" ; then
24609 { echo "$as_me:$LINENO: WARNING: Python is required for the test suite, but it was not found" >&5
24610 echo "$as_me: WARNING: Python is required for the test suite, but it was not found" >&2;}
24612 if test "$QMTEST" = "false" ; then
24613 { echo "$as_me:$LINENO: WARNING: QMTest is required for the test suite, but it was not found" >&5
24614 echo "$as_me: WARNING: QMTest is required for the test suite, but it was not found" >&2;}
24616 if test "$RUNTEST" = "false" ; then
24617 { echo "$as_me:$LINENO: WARNING: runtest (Deja-Gnu) is required for the test sute, but it was not found" >&5
24618 echo "$as_me: WARNING: runtest (Deja-Gnu) is required for the test sute, but it was not found" >&2;}
24620 pyversion
=`$PYTHON -V 2>&1 | cut -d\ -f2`
24621 pymajor
=`echo $pyversion | cut -d. -f1`
24622 pyminor
=`echo $pyversion | cut -d. -f2`
24623 if test "$pymajor" -ge "2" ; then
24624 if test "$pymajor" -eq "2" ; then
24625 if test "$pyminor" -lt "2" ; then
24626 { echo "$as_me:$LINENO: WARNING: QMTest requires Python 2.2 or later" >&5
24627 echo "$as_me: WARNING: QMTest requires Python 2.2 or later" >&2;}
24631 { echo "$as_me:$LINENO: WARNING: QMTest requires Python 2.2 or later" >&5
24632 echo "$as_me: WARNING: QMTest requires Python 2.2 or later" >&2;}
24635 echo "$as_me:$LINENO: result: " >&5
24636 echo "${ECHO_T}" >&6
24640 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
24641 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
24642 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
24643 echo $ECHO_N "(cached) $ECHO_C" >&6
24645 ac_check_lib_save_LIBS
=$LIBS
24647 cat >conftest.
$ac_ext <<_ACEOF
24650 cat confdefs.h
>>conftest.
$ac_ext
24651 cat >>conftest.
$ac_ext <<_ACEOF
24652 /* end confdefs.h. */
24654 /* Override any gcc2 internal prototype to avoid an error. */
24658 /* We use char because int might match the return type of a gcc2
24659 builtin and then its argument prototype would still apply. */
24669 rm -f conftest.
$ac_objext conftest
$ac_exeext
24670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24671 (eval $ac_link) 2>conftest.er1
24673 grep -v '^ *+' conftest.er1
>conftest.err
24675 cat conftest.err
>&5
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); } &&
24678 { ac_try
='test -z "$ac_c_werror_flag"
24679 || test ! -s conftest.err'
24680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24681 (eval $ac_try) 2>&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); }; } &&
24685 { ac_try
='test -s conftest$ac_exeext'
24686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24687 (eval $ac_try) 2>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); }; }; then
24691 ac_cv_lib_elf_elf_begin
=yes
24693 echo "$as_me: failed program was:" >&5
24694 sed 's/^/| /' conftest.
$ac_ext >&5
24696 ac_cv_lib_elf_elf_begin
=no
24698 rm -f conftest.err conftest.
$ac_objext \
24699 conftest
$ac_exeext conftest.
$ac_ext
24700 LIBS
=$ac_check_lib_save_LIBS
24702 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
24703 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
24704 if test $ac_cv_lib_elf_elf_begin = yes; then
24705 cat >>confdefs.h
<<_ACEOF
24706 #define HAVE_LIBELF 1
24714 echo "$as_me:$LINENO: checking for library containing lt_dlopen" >&5
24715 echo $ECHO_N "checking for library containing lt_dlopen... $ECHO_C" >&6
24716 if test "${ac_cv_search_lt_dlopen+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 ac_func_search_save_LIBS
=$LIBS
24720 ac_cv_search_lt_dlopen
=no
24721 cat >conftest.
$ac_ext <<_ACEOF
24724 cat confdefs.h
>>conftest.
$ac_ext
24725 cat >>conftest.
$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24728 /* Override any gcc2 internal prototype to avoid an error. */
24732 /* We use char because int might match the return type of a gcc2
24733 builtin and then its argument prototype would still apply. */
24743 rm -f conftest.
$ac_objext conftest
$ac_exeext
24744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24745 (eval $ac_link) 2>conftest.er1
24747 grep -v '^ *+' conftest.er1
>conftest.err
24749 cat conftest.err
>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } &&
24752 { ac_try
='test -z "$ac_c_werror_flag"
24753 || test ! -s conftest.err'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; } &&
24759 { ac_try
='test -s conftest$ac_exeext'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; }; then
24765 ac_cv_search_lt_dlopen
="none required"
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.
$ac_ext >&5
24771 rm -f conftest.err conftest.
$ac_objext \
24772 conftest
$ac_exeext conftest.
$ac_ext
24773 if test "$ac_cv_search_lt_dlopen" = no
; then
24774 for ac_lib
in ltdl
; do
24775 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24776 cat >conftest.
$ac_ext <<_ACEOF
24779 cat confdefs.h
>>conftest.
$ac_ext
24780 cat >>conftest.
$ac_ext <<_ACEOF
24781 /* end confdefs.h. */
24783 /* Override any gcc2 internal prototype to avoid an error. */
24787 /* We use char because int might match the return type of a gcc2
24788 builtin and then its argument prototype would still apply. */
24798 rm -f conftest.
$ac_objext conftest
$ac_exeext
24799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24800 (eval $ac_link) 2>conftest.er1
24802 grep -v '^ *+' conftest.er1
>conftest.err
24804 cat conftest.err
>&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); } &&
24807 { ac_try
='test -z "$ac_c_werror_flag"
24808 || test ! -s conftest.err'
24809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24810 (eval $ac_try) 2>&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); }; } &&
24814 { ac_try
='test -s conftest$ac_exeext'
24815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816 (eval $ac_try) 2>&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); }; }; then
24820 ac_cv_search_lt_dlopen
="-l$ac_lib"
24823 echo "$as_me: failed program was:" >&5
24824 sed 's/^/| /' conftest.
$ac_ext >&5
24827 rm -f conftest.err conftest.
$ac_objext \
24828 conftest
$ac_exeext conftest.
$ac_ext
24831 LIBS
=$ac_func_search_save_LIBS
24833 echo "$as_me:$LINENO: result: $ac_cv_search_lt_dlopen" >&5
24834 echo "${ECHO_T}$ac_cv_search_lt_dlopen" >&6
24835 if test "$ac_cv_search_lt_dlopen" != no
; then
24836 test "$ac_cv_search_lt_dlopen" = "none required" || LIBS
="$ac_cv_search_lt_dlopen $LIBS"
24838 cat >>confdefs.h
<<\_ACEOF
24839 #define HAVE_LT_DLOPEN 1
24843 { echo "$as_me:$LINENO: WARNING: lt_dlopen() not found - plugin support might
24844 not be available" >&5
24845 echo "$as_me: WARNING: lt_dlopen() not found - plugin support might
24846 not be available" >&2;}
24850 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
24851 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
24852 if test "${ac_cv_search_dlopen+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24855 ac_func_search_save_LIBS
=$LIBS
24856 ac_cv_search_dlopen
=no
24857 cat >conftest.
$ac_ext <<_ACEOF
24860 cat confdefs.h
>>conftest.
$ac_ext
24861 cat >>conftest.
$ac_ext <<_ACEOF
24862 /* end confdefs.h. */
24864 /* Override any gcc2 internal prototype to avoid an error. */
24868 /* We use char because int might match the return type of a gcc2
24869 builtin and then its argument prototype would still apply. */
24879 rm -f conftest.
$ac_objext conftest
$ac_exeext
24880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24881 (eval $ac_link) 2>conftest.er1
24883 grep -v '^ *+' conftest.er1
>conftest.err
24885 cat conftest.err
>&5
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); } &&
24888 { ac_try
='test -z "$ac_c_werror_flag"
24889 || test ! -s conftest.err'
24890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24891 (eval $ac_try) 2>&5
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); }; } &&
24895 { ac_try
='test -s conftest$ac_exeext'
24896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24897 (eval $ac_try) 2>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); }; }; then
24901 ac_cv_search_dlopen
="none required"
24903 echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.
$ac_ext >&5
24907 rm -f conftest.err conftest.
$ac_objext \
24908 conftest
$ac_exeext conftest.
$ac_ext
24909 if test "$ac_cv_search_dlopen" = no
; then
24910 for ac_lib
in dl
; do
24911 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24912 cat >conftest.
$ac_ext <<_ACEOF
24915 cat confdefs.h
>>conftest.
$ac_ext
24916 cat >>conftest.
$ac_ext <<_ACEOF
24917 /* end confdefs.h. */
24919 /* Override any gcc2 internal prototype to avoid an error. */
24923 /* We use char because int might match the return type of a gcc2
24924 builtin and then its argument prototype would still apply. */
24934 rm -f conftest.
$ac_objext conftest
$ac_exeext
24935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24936 (eval $ac_link) 2>conftest.er1
24938 grep -v '^ *+' conftest.er1
>conftest.err
24940 cat conftest.err
>&5
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); } &&
24943 { ac_try
='test -z "$ac_c_werror_flag"
24944 || test ! -s conftest.err'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; } &&
24950 { ac_try
='test -s conftest$ac_exeext'
24951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24952 (eval $ac_try) 2>&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); }; }; then
24956 ac_cv_search_dlopen
="-l$ac_lib"
24959 echo "$as_me: failed program was:" >&5
24960 sed 's/^/| /' conftest.
$ac_ext >&5
24963 rm -f conftest.err conftest.
$ac_objext \
24964 conftest
$ac_exeext conftest.
$ac_ext
24967 LIBS
=$ac_func_search_save_LIBS
24969 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
24970 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
24971 if test "$ac_cv_search_dlopen" != no
; then
24972 test "$ac_cv_search_dlopen" = "none required" || LIBS
="$ac_cv_search_dlopen $LIBS"
24974 cat >>confdefs.h
<<\_ACEOF
24975 #define HAVE_DLOPEN 1
24979 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
24980 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
24984 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
24985 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
24986 if test "${ac_cv_search_mallinfo+set}" = set; then
24987 echo $ECHO_N "(cached) $ECHO_C" >&6
24989 ac_func_search_save_LIBS
=$LIBS
24990 ac_cv_search_mallinfo
=no
24991 cat >conftest.
$ac_ext <<_ACEOF
24994 cat confdefs.h
>>conftest.
$ac_ext
24995 cat >>conftest.
$ac_ext <<_ACEOF
24996 /* end confdefs.h. */
24998 /* Override any gcc2 internal prototype to avoid an error. */
25002 /* We use char because int might match the return type of a gcc2
25003 builtin and then its argument prototype would still apply. */
25013 rm -f conftest.
$ac_objext conftest
$ac_exeext
25014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25015 (eval $ac_link) 2>conftest.er1
25017 grep -v '^ *+' conftest.er1
>conftest.err
25019 cat conftest.err
>&5
25020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25021 (exit $ac_status); } &&
25022 { ac_try
='test -z "$ac_c_werror_flag"
25023 || test ! -s conftest.err'
25024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25025 (eval $ac_try) 2>&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); }; } &&
25029 { ac_try
='test -s conftest$ac_exeext'
25030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25031 (eval $ac_try) 2>&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); }; }; then
25035 ac_cv_search_mallinfo
="none required"
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.
$ac_ext >&5
25041 rm -f conftest.err conftest.
$ac_objext \
25042 conftest
$ac_exeext conftest.
$ac_ext
25043 if test "$ac_cv_search_mallinfo" = no
; then
25044 for ac_lib
in malloc
; do
25045 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
25046 cat >conftest.
$ac_ext <<_ACEOF
25049 cat confdefs.h
>>conftest.
$ac_ext
25050 cat >>conftest.
$ac_ext <<_ACEOF
25051 /* end confdefs.h. */
25053 /* Override any gcc2 internal prototype to avoid an error. */
25057 /* We use char because int might match the return type of a gcc2
25058 builtin and then its argument prototype would still apply. */
25068 rm -f conftest.
$ac_objext conftest
$ac_exeext
25069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25070 (eval $ac_link) 2>conftest.er1
25072 grep -v '^ *+' conftest.er1
>conftest.err
25074 cat conftest.err
>&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } &&
25077 { ac_try
='test -z "$ac_c_werror_flag"
25078 || test ! -s conftest.err'
25079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25080 (eval $ac_try) 2>&5
25082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083 (exit $ac_status); }; } &&
25084 { ac_try
='test -s conftest$ac_exeext'
25085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25086 (eval $ac_try) 2>&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); }; }; then
25090 ac_cv_search_mallinfo
="-l$ac_lib"
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.
$ac_ext >&5
25097 rm -f conftest.err conftest.
$ac_objext \
25098 conftest
$ac_exeext conftest.
$ac_ext
25101 LIBS
=$ac_func_search_save_LIBS
25103 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
25104 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
25105 if test "$ac_cv_search_mallinfo" != no
; then
25106 test "$ac_cv_search_mallinfo" = "none required" || LIBS
="$ac_cv_search_mallinfo $LIBS"
25108 cat >>confdefs.h
<<\_ACEOF
25109 #define HAVE_MALLINFO 1
25115 echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
25116 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6
25117 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
25118 echo $ECHO_N "(cached) $ECHO_C" >&6
25120 ac_func_search_save_LIBS
=$LIBS
25121 ac_cv_search_pthread_mutex_lock
=no
25122 cat >conftest.
$ac_ext <<_ACEOF
25125 cat confdefs.h
>>conftest.
$ac_ext
25126 cat >>conftest.
$ac_ext <<_ACEOF
25127 /* end confdefs.h. */
25129 /* Override any gcc2 internal prototype to avoid an error. */
25133 /* We use char because int might match the return type of a gcc2
25134 builtin and then its argument prototype would still apply. */
25135 char pthread_mutex_lock ();
25139 pthread_mutex_lock ();
25144 rm -f conftest.
$ac_objext conftest
$ac_exeext
25145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25146 (eval $ac_link) 2>conftest.er1
25148 grep -v '^ *+' conftest.er1
>conftest.err
25150 cat conftest.err
>&5
25151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152 (exit $ac_status); } &&
25153 { ac_try
='test -z "$ac_c_werror_flag"
25154 || test ! -s conftest.err'
25155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25156 (eval $ac_try) 2>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); }; } &&
25160 { ac_try
='test -s conftest$ac_exeext'
25161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25162 (eval $ac_try) 2>&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); }; }; then
25166 ac_cv_search_pthread_mutex_lock
="none required"
25168 echo "$as_me: failed program was:" >&5
25169 sed 's/^/| /' conftest.
$ac_ext >&5
25172 rm -f conftest.err conftest.
$ac_objext \
25173 conftest
$ac_exeext conftest.
$ac_ext
25174 if test "$ac_cv_search_pthread_mutex_lock" = no
; then
25175 for ac_lib
in pthread
; do
25176 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
25177 cat >conftest.
$ac_ext <<_ACEOF
25180 cat confdefs.h
>>conftest.
$ac_ext
25181 cat >>conftest.
$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25184 /* Override any gcc2 internal prototype to avoid an error. */
25188 /* We use char because int might match the return type of a gcc2
25189 builtin and then its argument prototype would still apply. */
25190 char pthread_mutex_lock ();
25194 pthread_mutex_lock ();
25199 rm -f conftest.
$ac_objext conftest
$ac_exeext
25200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25201 (eval $ac_link) 2>conftest.er1
25203 grep -v '^ *+' conftest.er1
>conftest.err
25205 cat conftest.err
>&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); } &&
25208 { ac_try
='test -z "$ac_c_werror_flag"
25209 || test ! -s conftest.err'
25210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25211 (eval $ac_try) 2>&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); }; } &&
25215 { ac_try
='test -s conftest$ac_exeext'
25216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25217 (eval $ac_try) 2>&5
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); }; }; then
25221 ac_cv_search_pthread_mutex_lock
="-l$ac_lib"
25224 echo "$as_me: failed program was:" >&5
25225 sed 's/^/| /' conftest.
$ac_ext >&5
25228 rm -f conftest.err conftest.
$ac_objext \
25229 conftest
$ac_exeext conftest.
$ac_ext
25232 LIBS
=$ac_func_search_save_LIBS
25234 echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
25235 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6
25236 if test "$ac_cv_search_pthread_mutex_lock" != no
; then
25237 test "$ac_cv_search_pthread_mutex_lock" = "none required" || LIBS
="$ac_cv_search_pthread_mutex_lock $LIBS"
25239 cat >>confdefs.h
<<\_ACEOF
25240 #define HAVE_PTHREAD_MUTEX_LOCK 1
25247 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
25248 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
25249 if test "${ac_cv_header_stdc+set}" = set; then
25250 echo $ECHO_N "(cached) $ECHO_C" >&6
25252 cat >conftest.
$ac_ext <<_ACEOF
25255 cat confdefs.h
>>conftest.
$ac_ext
25256 cat >>conftest.
$ac_ext <<_ACEOF
25257 /* end confdefs.h. */
25258 #include <stdlib.h>
25259 #include <stdarg.h>
25260 #include <string.h>
25271 rm -f conftest.
$ac_objext
25272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25273 (eval $ac_compile) 2>conftest.er1
25275 grep -v '^ *+' conftest.er1
>conftest.err
25277 cat conftest.err
>&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); } &&
25280 { ac_try
='test -z "$ac_c_werror_flag"
25281 || test ! -s conftest.err'
25282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283 (eval $ac_try) 2>&5
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); }; } &&
25287 { ac_try
='test -s conftest.$ac_objext'
25288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25289 (eval $ac_try) 2>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); }; }; then
25293 ac_cv_header_stdc
=yes
25295 echo "$as_me: failed program was:" >&5
25296 sed 's/^/| /' conftest.
$ac_ext >&5
25298 ac_cv_header_stdc
=no
25300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25302 if test $ac_cv_header_stdc = yes; then
25303 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
25304 cat >conftest.
$ac_ext <<_ACEOF
25307 cat confdefs.h
>>conftest.
$ac_ext
25308 cat >>conftest.
$ac_ext <<_ACEOF
25309 /* end confdefs.h. */
25310 #include <string.h>
25313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25314 $EGREP "memchr" >/dev
/null
2>&1; then
25317 ac_cv_header_stdc
=no
25323 if test $ac_cv_header_stdc = yes; then
25324 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
25325 cat >conftest.
$ac_ext <<_ACEOF
25328 cat confdefs.h
>>conftest.
$ac_ext
25329 cat >>conftest.
$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25331 #include <stdlib.h>
25334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25335 $EGREP "free" >/dev
/null
2>&1; then
25338 ac_cv_header_stdc
=no
25344 if test $ac_cv_header_stdc = yes; then
25345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
25346 if test "$cross_compiling" = yes; then
25349 cat >conftest.
$ac_ext <<_ACEOF
25352 cat confdefs.h
>>conftest.
$ac_ext
25353 cat >>conftest.
$ac_ext <<_ACEOF
25354 /* end confdefs.h. */
25356 #if ((' ' & 0x0FF) == 0x020)
25357 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
25358 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
25360 # define ISLOWER(c) \
25361 (('a' <= (c) && (c) <= 'i') \
25362 || ('j' <= (c) && (c) <= 'r') \
25363 || ('s' <= (c) && (c) <= 'z'))
25364 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
25367 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
25372 for (i = 0; i < 256; i++)
25373 if (XOR (islower (i), ISLOWER (i))
25374 || toupper (i) != TOUPPER (i))
25379 rm -f conftest
$ac_exeext
25380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25381 (eval $ac_link) 2>&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25386 (eval $ac_try) 2>&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); }; }; then
25392 echo "$as_me: program exited with status $ac_status" >&5
25393 echo "$as_me: failed program was:" >&5
25394 sed 's/^/| /' conftest.
$ac_ext >&5
25396 ( exit $ac_status )
25397 ac_cv_header_stdc
=no
25399 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25403 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
25404 echo "${ECHO_T}$ac_cv_header_stdc" >&6
25405 if test $ac_cv_header_stdc = yes; then
25407 cat >>confdefs.h
<<\_ACEOF
25408 #define STDC_HEADERS 1
25414 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
25415 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
25416 if test "${ac_cv_header_sys_wait_h+set}" = set; then
25417 echo $ECHO_N "(cached) $ECHO_C" >&6
25419 cat >conftest.
$ac_ext <<_ACEOF
25422 cat confdefs.h
>>conftest.
$ac_ext
25423 cat >>conftest.
$ac_ext <<_ACEOF
25424 /* end confdefs.h. */
25425 #include <sys/types.h>
25426 #include <sys/wait.h>
25427 #ifndef WEXITSTATUS
25428 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
25431 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
25439 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
25444 rm -f conftest.
$ac_objext
25445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25446 (eval $ac_compile) 2>conftest.er1
25448 grep -v '^ *+' conftest.er1
>conftest.err
25450 cat conftest.err
>&5
25451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452 (exit $ac_status); } &&
25453 { ac_try
='test -z "$ac_c_werror_flag"
25454 || test ! -s conftest.err'
25455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25456 (eval $ac_try) 2>&5
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); }; } &&
25460 { ac_try
='test -s conftest.$ac_objext'
25461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25462 (eval $ac_try) 2>&5
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); }; }; then
25466 ac_cv_header_sys_wait_h
=yes
25468 echo "$as_me: failed program was:" >&5
25469 sed 's/^/| /' conftest.
$ac_ext >&5
25471 ac_cv_header_sys_wait_h
=no
25473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25475 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
25476 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
25477 if test $ac_cv_header_sys_wait_h = yes; then
25479 cat >>confdefs.h
<<\_ACEOF
25480 #define HAVE_SYS_WAIT_H 1
25490 for ac_header
in sys
/time.h sys
/mman.h sys
/resource.h sys
/time.h sys
/types.h
25492 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25494 echo "$as_me:$LINENO: checking for $ac_header" >&5
25495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25502 # Is the header compilable?
25503 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25505 cat >conftest.
$ac_ext <<_ACEOF
25508 cat confdefs.h
>>conftest.
$ac_ext
25509 cat >>conftest.
$ac_ext <<_ACEOF
25510 /* end confdefs.h. */
25511 $ac_includes_default
25512 #include <$ac_header>
25514 rm -f conftest.
$ac_objext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25516 (eval $ac_compile) 2>conftest.er1
25518 grep -v '^ *+' conftest.er1
>conftest.err
25520 cat conftest.err
>&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try
='test -z "$ac_c_werror_flag"
25524 || test ! -s conftest.err'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; } &&
25530 { ac_try
='test -s conftest.$ac_objext'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; }; then
25536 ac_header_compiler
=yes
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.
$ac_ext >&5
25541 ac_header_compiler
=no
25543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25545 echo "${ECHO_T}$ac_header_compiler" >&6
25547 # Is the header present?
25548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25550 cat >conftest.
$ac_ext <<_ACEOF
25553 cat confdefs.h
>>conftest.
$ac_ext
25554 cat >>conftest.
$ac_ext <<_ACEOF
25555 /* end confdefs.h. */
25556 #include <$ac_header>
25558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25561 grep -v '^ *+' conftest.er1
>conftest.err
25563 cat conftest.err
>&5
25564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565 (exit $ac_status); } >/dev
/null
; then
25566 if test -s conftest.err
; then
25567 ac_cpp_err
=$ac_c_preproc_warn_flag
25568 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25575 if test -z "$ac_cpp_err"; then
25576 ac_header_preproc
=yes
25578 echo "$as_me: failed program was:" >&5
25579 sed 's/^/| /' conftest.
$ac_ext >&5
25581 ac_header_preproc
=no
25583 rm -f conftest.err conftest.
$ac_ext
25584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25585 echo "${ECHO_T}$ac_header_preproc" >&6
25587 # So? What about this header?
25588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25594 ac_header_preproc
=yes
25597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25611 ## ----------------------------------- ##
25612 ## Report this to llvmbugs@cs.uiuc.edu ##
25613 ## ----------------------------------- ##
25616 sed "s/^/$as_me: WARNING: /" >&2
25619 echo "$as_me:$LINENO: checking for $ac_header" >&5
25620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 eval "$as_ac_Header=\$ac_header_preproc"
25626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25631 cat >>confdefs.h
<<_ACEOF
25632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25644 for ac_header
in dlfcn.h execinfo.h fcntl.h limits.h link.h
25646 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25648 echo "$as_me:$LINENO: checking for $ac_header" >&5
25649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25651 echo $ECHO_N "(cached) $ECHO_C" >&6
25653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25656 # Is the header compilable?
25657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25659 cat >conftest.
$ac_ext <<_ACEOF
25662 cat confdefs.h
>>conftest.
$ac_ext
25663 cat >>conftest.
$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 $ac_includes_default
25666 #include <$ac_header>
25668 rm -f conftest.
$ac_objext
25669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25670 (eval $ac_compile) 2>conftest.er1
25672 grep -v '^ *+' conftest.er1
>conftest.err
25674 cat conftest.err
>&5
25675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676 (exit $ac_status); } &&
25677 { ac_try
='test -z "$ac_c_werror_flag"
25678 || test ! -s conftest.err'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; } &&
25684 { ac_try
='test -s conftest.$ac_objext'
25685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686 (eval $ac_try) 2>&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); }; }; then
25690 ac_header_compiler
=yes
25692 echo "$as_me: failed program was:" >&5
25693 sed 's/^/| /' conftest.
$ac_ext >&5
25695 ac_header_compiler
=no
25697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25699 echo "${ECHO_T}$ac_header_compiler" >&6
25701 # Is the header present?
25702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25704 cat >conftest.
$ac_ext <<_ACEOF
25707 cat confdefs.h
>>conftest.
$ac_ext
25708 cat >>conftest.
$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 #include <$ac_header>
25712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25715 grep -v '^ *+' conftest.er1
>conftest.err
25717 cat conftest.err
>&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); } >/dev
/null
; then
25720 if test -s conftest.err
; then
25721 ac_cpp_err
=$ac_c_preproc_warn_flag
25722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25729 if test -z "$ac_cpp_err"; then
25730 ac_header_preproc
=yes
25732 echo "$as_me: failed program was:" >&5
25733 sed 's/^/| /' conftest.
$ac_ext >&5
25735 ac_header_preproc
=no
25737 rm -f conftest.err conftest.
$ac_ext
25738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25739 echo "${ECHO_T}$ac_header_preproc" >&6
25741 # So? What about this header?
25742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25748 ac_header_preproc
=yes
25751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25765 ## ----------------------------------- ##
25766 ## Report this to llvmbugs@cs.uiuc.edu ##
25767 ## ----------------------------------- ##
25770 sed "s/^/$as_me: WARNING: /" >&2
25773 echo "$as_me:$LINENO: checking for $ac_header" >&5
25774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 eval "$as_ac_Header=\$ac_header_preproc"
25780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25785 cat >>confdefs.h
<<_ACEOF
25786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25796 for ac_header
in malloc.h unistd.h windows.h
25798 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25800 echo "$as_me:$LINENO: checking for $ac_header" >&5
25801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25803 echo $ECHO_N "(cached) $ECHO_C" >&6
25805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25808 # Is the header compilable?
25809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25811 cat >conftest.
$ac_ext <<_ACEOF
25814 cat confdefs.h
>>conftest.
$ac_ext
25815 cat >>conftest.
$ac_ext <<_ACEOF
25816 /* end confdefs.h. */
25817 $ac_includes_default
25818 #include <$ac_header>
25820 rm -f conftest.
$ac_objext
25821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25822 (eval $ac_compile) 2>conftest.er1
25824 grep -v '^ *+' conftest.er1
>conftest.err
25826 cat conftest.err
>&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try
='test -z "$ac_c_werror_flag"
25830 || test ! -s conftest.err'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; } &&
25836 { ac_try
='test -s conftest.$ac_objext'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; }; then
25842 ac_header_compiler
=yes
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.
$ac_ext >&5
25847 ac_header_compiler
=no
25849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25851 echo "${ECHO_T}$ac_header_compiler" >&6
25853 # Is the header present?
25854 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25856 cat >conftest.
$ac_ext <<_ACEOF
25859 cat confdefs.h
>>conftest.
$ac_ext
25860 cat >>conftest.
$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25862 #include <$ac_header>
25864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25865 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25867 grep -v '^ *+' conftest.er1
>conftest.err
25869 cat conftest.err
>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } >/dev
/null
; then
25872 if test -s conftest.err
; then
25873 ac_cpp_err
=$ac_c_preproc_warn_flag
25874 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25881 if test -z "$ac_cpp_err"; then
25882 ac_header_preproc
=yes
25884 echo "$as_me: failed program was:" >&5
25885 sed 's/^/| /' conftest.
$ac_ext >&5
25887 ac_header_preproc
=no
25889 rm -f conftest.err conftest.
$ac_ext
25890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25891 echo "${ECHO_T}$ac_header_preproc" >&6
25893 # So? What about this header?
25894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25899 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25900 ac_header_preproc
=yes
25903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25907 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25908 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25909 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25910 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25913 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25917 ## ----------------------------------- ##
25918 ## Report this to llvmbugs@cs.uiuc.edu ##
25919 ## ----------------------------------- ##
25922 sed "s/^/$as_me: WARNING: /" >&2
25925 echo "$as_me:$LINENO: checking for $ac_header" >&5
25926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25928 echo $ECHO_N "(cached) $ECHO_C" >&6
25930 eval "$as_ac_Header=\$ac_header_preproc"
25932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25937 cat >>confdefs.h
<<_ACEOF
25938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25945 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
25946 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
25947 if test "${ac_cv_header_time+set}" = set; then
25948 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 cat >conftest.
$ac_ext <<_ACEOF
25953 cat confdefs.h
>>conftest.
$ac_ext
25954 cat >>conftest.
$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25956 #include <sys/types.h>
25957 #include <sys/time.h>
25963 if ((struct tm *) 0)
25969 rm -f conftest.
$ac_objext
25970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25971 (eval $ac_compile) 2>conftest.er1
25973 grep -v '^ *+' conftest.er1
>conftest.err
25975 cat conftest.err
>&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); } &&
25978 { ac_try
='test -z "$ac_c_werror_flag"
25979 || test ! -s conftest.err'
25980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25981 (eval $ac_try) 2>&5
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); }; } &&
25985 { ac_try
='test -s conftest.$ac_objext'
25986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25987 (eval $ac_try) 2>&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); }; }; then
25991 ac_cv_header_time
=yes
25993 echo "$as_me: failed program was:" >&5
25994 sed 's/^/| /' conftest.
$ac_ext >&5
25996 ac_cv_header_time
=no
25998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26000 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
26001 echo "${ECHO_T}$ac_cv_header_time" >&6
26002 if test $ac_cv_header_time = yes; then
26004 cat >>confdefs.h
<<\_ACEOF
26005 #define TIME_WITH_SYS_TIME 1
26010 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
26011 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
26012 if test "${ac_cv_header_mmap_anon+set}" = set; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26016 ac_cpp
='$CPP $CPPFLAGS'
26017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26021 cat >conftest.
$ac_ext <<_ACEOF
26024 cat confdefs.h
>>conftest.
$ac_ext
26025 cat >>conftest.
$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26027 #include <sys/mman.h>
26028 #include <unistd.h>
26033 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
26038 rm -f conftest.
$ac_objext
26039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26040 (eval $ac_compile) 2>conftest.er1
26042 grep -v '^ *+' conftest.er1
>conftest.err
26044 cat conftest.err
>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); } &&
26047 { ac_try
='test -z "$ac_c_werror_flag"
26048 || test ! -s conftest.err'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; } &&
26054 { ac_try
='test -s conftest.$ac_objext'
26055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26056 (eval $ac_try) 2>&5
26058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 (exit $ac_status); }; }; then
26060 ac_cv_header_mmap_anon
=yes
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.
$ac_ext >&5
26065 ac_cv_header_mmap_anon
=no
26067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26069 ac_cpp
='$CPP $CPPFLAGS'
26070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26076 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
26077 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
26078 if test "$ac_cv_header_mmap_anon" = yes; then
26080 cat >>confdefs.h
<<\_ACEOF
26081 #define HAVE_MMAP_ANONYMOUS
26089 for ac_header
in inttypes.h stdint.h
26091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26093 echo "$as_me:$LINENO: checking for $ac_header" >&5
26094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26096 echo $ECHO_N "(cached) $ECHO_C" >&6
26098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26101 # Is the header compilable?
26102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26104 cat >conftest.
$ac_ext <<_ACEOF
26107 cat confdefs.h
>>conftest.
$ac_ext
26108 cat >>conftest.
$ac_ext <<_ACEOF
26109 /* end confdefs.h. */
26110 $ac_includes_default
26111 #include <$ac_header>
26113 rm -f conftest.
$ac_objext
26114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26115 (eval $ac_compile) 2>conftest.er1
26117 grep -v '^ *+' conftest.er1
>conftest.err
26119 cat conftest.err
>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); } &&
26122 { ac_try
='test -z "$ac_c_werror_flag"
26123 || test ! -s conftest.err'
26124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26125 (eval $ac_try) 2>&5
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); }; } &&
26129 { ac_try
='test -s conftest.$ac_objext'
26130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26131 (eval $ac_try) 2>&5
26133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134 (exit $ac_status); }; }; then
26135 ac_header_compiler
=yes
26137 echo "$as_me: failed program was:" >&5
26138 sed 's/^/| /' conftest.
$ac_ext >&5
26140 ac_header_compiler
=no
26142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26144 echo "${ECHO_T}$ac_header_compiler" >&6
26146 # Is the header present?
26147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26149 cat >conftest.
$ac_ext <<_ACEOF
26152 cat confdefs.h
>>conftest.
$ac_ext
26153 cat >>conftest.
$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155 #include <$ac_header>
26157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26160 grep -v '^ *+' conftest.er1
>conftest.err
26162 cat conftest.err
>&5
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); } >/dev
/null
; then
26165 if test -s conftest.err
; then
26166 ac_cpp_err
=$ac_c_preproc_warn_flag
26167 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26174 if test -z "$ac_cpp_err"; then
26175 ac_header_preproc
=yes
26177 echo "$as_me: failed program was:" >&5
26178 sed 's/^/| /' conftest.
$ac_ext >&5
26180 ac_header_preproc
=no
26182 rm -f conftest.err conftest.
$ac_ext
26183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26184 echo "${ECHO_T}$ac_header_preproc" >&6
26186 # So? What about this header?
26187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26193 ac_header_preproc
=yes
26196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26210 ## ----------------------------------- ##
26211 ## Report this to llvmbugs@cs.uiuc.edu ##
26212 ## ----------------------------------- ##
26215 sed "s/^/$as_me: WARNING: /" >&2
26218 echo "$as_me:$LINENO: checking for $ac_header" >&5
26219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26223 eval "$as_ac_Header=\$ac_header_preproc"
26225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26230 cat >>confdefs.h
<<_ACEOF
26231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26240 echo "$as_me:$LINENO: checking for pid_t" >&5
26241 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26242 if test "${ac_cv_type_pid_t+set}" = set; then
26243 echo $ECHO_N "(cached) $ECHO_C" >&6
26245 cat >conftest.
$ac_ext <<_ACEOF
26248 cat confdefs.h
>>conftest.
$ac_ext
26249 cat >>conftest.
$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26251 $ac_includes_default
26257 if (sizeof (pid_t))
26263 rm -f conftest.
$ac_objext
26264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26265 (eval $ac_compile) 2>conftest.er1
26267 grep -v '^ *+' conftest.er1
>conftest.err
26269 cat conftest.err
>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } &&
26272 { ac_try
='test -z "$ac_c_werror_flag"
26273 || test ! -s conftest.err'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; } &&
26279 { ac_try
='test -s conftest.$ac_objext'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; }; then
26285 ac_cv_type_pid_t
=yes
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.
$ac_ext >&5
26290 ac_cv_type_pid_t
=no
26292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26294 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26295 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26296 if test $ac_cv_type_pid_t = yes; then
26300 cat >>confdefs.h
<<_ACEOF
26306 echo "$as_me:$LINENO: checking for size_t" >&5
26307 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26308 if test "${ac_cv_type_size_t+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26311 cat >conftest.
$ac_ext <<_ACEOF
26314 cat confdefs.h
>>conftest.
$ac_ext
26315 cat >>conftest.
$ac_ext <<_ACEOF
26316 /* end confdefs.h. */
26317 $ac_includes_default
26323 if (sizeof (size_t))
26329 rm -f conftest.
$ac_objext
26330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26331 (eval $ac_compile) 2>conftest.er1
26333 grep -v '^ *+' conftest.er1
>conftest.err
26335 cat conftest.err
>&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } &&
26338 { ac_try
='test -z "$ac_c_werror_flag"
26339 || test ! -s conftest.err'
26340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26341 (eval $ac_try) 2>&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); }; } &&
26345 { ac_try
='test -s conftest.$ac_objext'
26346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26347 (eval $ac_try) 2>&5
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); }; }; then
26351 ac_cv_type_size_t
=yes
26353 echo "$as_me: failed program was:" >&5
26354 sed 's/^/| /' conftest.
$ac_ext >&5
26356 ac_cv_type_size_t
=no
26358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26360 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26361 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26362 if test $ac_cv_type_size_t = yes; then
26366 cat >>confdefs.h
<<_ACEOF
26367 #define size_t unsigned
26372 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
26373 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
26374 if test "${ac_cv_type_signal+set}" = set; then
26375 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 cat >conftest.
$ac_ext <<_ACEOF
26380 cat confdefs.h
>>conftest.
$ac_ext
26381 cat >>conftest.
$ac_ext <<_ACEOF
26382 /* end confdefs.h. */
26383 #include <sys/types.h>
26384 #include <signal.h>
26389 extern "C" void (*signal (int, void (*)(int)))(int);
26391 void (*signal ()) ();
26402 rm -f conftest.
$ac_objext
26403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26404 (eval $ac_compile) 2>conftest.er1
26406 grep -v '^ *+' conftest.er1
>conftest.err
26408 cat conftest.err
>&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); } &&
26411 { ac_try
='test -z "$ac_c_werror_flag"
26412 || test ! -s conftest.err'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; } &&
26418 { ac_try
='test -s conftest.$ac_objext'
26419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26420 (eval $ac_try) 2>&5
26422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26423 (exit $ac_status); }; }; then
26424 ac_cv_type_signal
=void
26426 echo "$as_me: failed program was:" >&5
26427 sed 's/^/| /' conftest.
$ac_ext >&5
26429 ac_cv_type_signal
=int
26431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26433 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
26434 echo "${ECHO_T}$ac_cv_type_signal" >&6
26436 cat >>confdefs.h
<<_ACEOF
26437 #define RETSIGTYPE $ac_cv_type_signal
26441 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
26442 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
26443 if test "${ac_cv_struct_tm+set}" = set; then
26444 echo $ECHO_N "(cached) $ECHO_C" >&6
26446 cat >conftest.
$ac_ext <<_ACEOF
26449 cat confdefs.h
>>conftest.
$ac_ext
26450 cat >>conftest.
$ac_ext <<_ACEOF
26451 /* end confdefs.h. */
26452 #include <sys/types.h>
26458 struct tm *tp; tp->tm_sec;
26463 rm -f conftest.
$ac_objext
26464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26465 (eval $ac_compile) 2>conftest.er1
26467 grep -v '^ *+' conftest.er1
>conftest.err
26469 cat conftest.err
>&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } &&
26472 { ac_try
='test -z "$ac_c_werror_flag"
26473 || test ! -s conftest.err'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; } &&
26479 { ac_try
='test -s conftest.$ac_objext'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; }; then
26485 ac_cv_struct_tm
=time.h
26487 echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.
$ac_ext >&5
26490 ac_cv_struct_tm
=sys
/time.h
26492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26494 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
26495 echo "${ECHO_T}$ac_cv_struct_tm" >&6
26496 if test $ac_cv_struct_tm = sys
/time.h
; then
26498 cat >>confdefs.h
<<\_ACEOF
26499 #define TM_IN_SYS_TIME 1
26504 echo "$as_me:$LINENO: checking for int64_t" >&5
26505 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
26506 if test "${ac_cv_type_int64_t+set}" = set; then
26507 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 cat >conftest.
$ac_ext <<_ACEOF
26512 cat confdefs.h
>>conftest.
$ac_ext
26513 cat >>conftest.
$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515 $ac_includes_default
26521 if (sizeof (int64_t))
26527 rm -f conftest.
$ac_objext
26528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26529 (eval $ac_compile) 2>conftest.er1
26531 grep -v '^ *+' conftest.er1
>conftest.err
26533 cat conftest.err
>&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } &&
26536 { ac_try
='test -z "$ac_c_werror_flag"
26537 || test ! -s conftest.err'
26538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539 (eval $ac_try) 2>&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); }; } &&
26543 { ac_try
='test -s conftest.$ac_objext'
26544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26545 (eval $ac_try) 2>&5
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; }; then
26549 ac_cv_type_int64_t
=yes
26551 echo "$as_me: failed program was:" >&5
26552 sed 's/^/| /' conftest.
$ac_ext >&5
26554 ac_cv_type_int64_t
=no
26556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26558 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
26559 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
26560 if test $ac_cv_type_int64_t = yes; then
26562 cat >>confdefs.h
<<_ACEOF
26563 #define HAVE_INT64_T 1
26568 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
26569 echo "$as_me: error: Type int64_t required but not found" >&2;}
26570 { (exit 1); exit 1; }; }
26573 echo "$as_me:$LINENO: checking for uint64_t" >&5
26574 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26575 if test "${ac_cv_type_uint64_t+set}" = set; then
26576 echo $ECHO_N "(cached) $ECHO_C" >&6
26578 cat >conftest.
$ac_ext <<_ACEOF
26581 cat confdefs.h
>>conftest.
$ac_ext
26582 cat >>conftest.
$ac_ext <<_ACEOF
26583 /* end confdefs.h. */
26584 $ac_includes_default
26588 if ((uint64_t *) 0)
26590 if (sizeof (uint64_t))
26596 rm -f conftest.
$ac_objext
26597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26598 (eval $ac_compile) 2>conftest.er1
26600 grep -v '^ *+' conftest.er1
>conftest.err
26602 cat conftest.err
>&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); } &&
26605 { ac_try
='test -z "$ac_c_werror_flag"
26606 || test ! -s conftest.err'
26607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26608 (eval $ac_try) 2>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); }; } &&
26612 { ac_try
='test -s conftest.$ac_objext'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; }; then
26618 ac_cv_type_uint64_t
=yes
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.
$ac_ext >&5
26623 ac_cv_type_uint64_t
=no
26625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26627 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26628 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26629 if test $ac_cv_type_uint64_t = yes; then
26631 cat >>confdefs.h
<<_ACEOF
26632 #define HAVE_UINT64_T 1
26637 echo "$as_me:$LINENO: checking for u_int64_t" >&5
26638 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
26639 if test "${ac_cv_type_u_int64_t+set}" = set; then
26640 echo $ECHO_N "(cached) $ECHO_C" >&6
26642 cat >conftest.
$ac_ext <<_ACEOF
26645 cat confdefs.h
>>conftest.
$ac_ext
26646 cat >>conftest.
$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648 $ac_includes_default
26652 if ((u_int64_t *) 0)
26654 if (sizeof (u_int64_t))
26660 rm -f conftest.
$ac_objext
26661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26662 (eval $ac_compile) 2>conftest.er1
26664 grep -v '^ *+' conftest.er1
>conftest.err
26666 cat conftest.err
>&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); } &&
26669 { ac_try
='test -z "$ac_c_werror_flag"
26670 || test ! -s conftest.err'
26671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26672 (eval $ac_try) 2>&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); }; } &&
26676 { ac_try
='test -s conftest.$ac_objext'
26677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26678 (eval $ac_try) 2>&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); }; }; then
26682 ac_cv_type_u_int64_t
=yes
26684 echo "$as_me: failed program was:" >&5
26685 sed 's/^/| /' conftest.
$ac_ext >&5
26687 ac_cv_type_u_int64_t
=no
26689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26691 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
26692 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
26693 if test $ac_cv_type_u_int64_t = yes; then
26695 cat >>confdefs.h
<<_ACEOF
26696 #define HAVE_U_INT64_T 1
26701 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
26702 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
26703 { (exit 1); exit 1; }; }
26716 for ac_func
in backtrace getcwd gettimeofday isatty getrusage mkstemp
26718 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26719 echo "$as_me:$LINENO: checking for $ac_func" >&5
26720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26721 if eval "test \"\${$as_ac_var+set}\" = set"; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 cat >conftest.
$ac_ext <<_ACEOF
26727 cat confdefs.h
>>conftest.
$ac_ext
26728 cat >>conftest.
$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26732 #define $ac_func innocuous_$ac_func
26734 /* System header to define __stub macros and hopefully few prototypes,
26735 which can conflict with char $ac_func (); below.
26736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26737 <limits.h> exists even on freestanding compilers. */
26740 # include <limits.h>
26742 # include <assert.h>
26747 /* Override any gcc2 internal prototype to avoid an error. */
26752 /* We use char because int might match the return type of a gcc2
26753 builtin and then its argument prototype would still apply. */
26755 /* The GNU C library defines this for functions which it implements
26756 to always fail with ENOSYS. Some functions are actually named
26757 something starting with __ and the normal name is an alias. */
26758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26761 char (*f) () = $ac_func;
26770 return f != $ac_func;
26775 rm -f conftest.
$ac_objext conftest
$ac_exeext
26776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26777 (eval $ac_link) 2>conftest.er1
26779 grep -v '^ *+' conftest.er1
>conftest.err
26781 cat conftest.err
>&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } &&
26784 { ac_try
='test -z "$ac_c_werror_flag"
26785 || test ! -s conftest.err'
26786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26787 (eval $ac_try) 2>&5
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); }; } &&
26791 { ac_try
='test -s conftest$ac_exeext'
26792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26793 (eval $ac_try) 2>&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); }; }; then
26797 eval "$as_ac_var=yes"
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.
$ac_ext >&5
26802 eval "$as_ac_var=no"
26804 rm -f conftest.err conftest.
$ac_objext \
26805 conftest
$ac_exeext conftest.
$ac_ext
26807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26809 if test `eval echo '${'$as_ac_var'}'` = yes; then
26810 cat >>confdefs.h
<<_ACEOF
26811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26820 for ac_func
in strdup strtoq strtoll
26822 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26823 echo "$as_me:$LINENO: checking for $ac_func" >&5
26824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26825 if eval "test \"\${$as_ac_var+set}\" = set"; then
26826 echo $ECHO_N "(cached) $ECHO_C" >&6
26828 cat >conftest.
$ac_ext <<_ACEOF
26831 cat confdefs.h
>>conftest.
$ac_ext
26832 cat >>conftest.
$ac_ext <<_ACEOF
26833 /* end confdefs.h. */
26834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26836 #define $ac_func innocuous_$ac_func
26838 /* System header to define __stub macros and hopefully few prototypes,
26839 which can conflict with char $ac_func (); below.
26840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26841 <limits.h> exists even on freestanding compilers. */
26844 # include <limits.h>
26846 # include <assert.h>
26851 /* Override any gcc2 internal prototype to avoid an error. */
26856 /* We use char because int might match the return type of a gcc2
26857 builtin and then its argument prototype would still apply. */
26859 /* The GNU C library defines this for functions which it implements
26860 to always fail with ENOSYS. Some functions are actually named
26861 something starting with __ and the normal name is an alias. */
26862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26865 char (*f) () = $ac_func;
26874 return f != $ac_func;
26879 rm -f conftest.
$ac_objext conftest
$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881 (eval $ac_link) 2>conftest.er1
26883 grep -v '^ *+' conftest.er1
>conftest.err
26885 cat conftest.err
>&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try
='test -z "$ac_c_werror_flag"
26889 || test ! -s conftest.err'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; } &&
26895 { ac_try
='test -s conftest$ac_exeext'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; }; then
26901 eval "$as_ac_var=yes"
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.
$ac_ext >&5
26906 eval "$as_ac_var=no"
26908 rm -f conftest.err conftest.
$ac_objext \
26909 conftest
$ac_exeext conftest.
$ac_ext
26911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26913 if test `eval echo '${'$as_ac_var'}'` = yes; then
26914 cat >>confdefs.h
<<_ACEOF
26915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26921 echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
26922 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6
26923 if test "${llvm_cv_c_printf_a+set}" = set; then
26924 echo $ECHO_N "(cached) $ECHO_C" >&6
26927 ac_cpp
='$CPP $CPPFLAGS'
26928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26932 if test "$cross_compiling" = yes; then
26933 llvmac_cv_c_printf_a
=no
26935 cat >conftest.
$ac_ext <<_ACEOF
26939 cat confdefs.h
>>conftest.
$ac_ext
26940 cat >>conftest.
$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26944 #include <stdlib.h>
26950 volatile double A, B;
26954 sprintf(Buffer, "%a", A);
26958 if (A != 0x1.999999999999ap-4)
26965 rm -f conftest
$ac_exeext
26966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26967 (eval $ac_link) 2>&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 llvm_cv_c_printf_a
=yes
26978 echo "$as_me: program exited with status $ac_status" >&5
26979 echo "$as_me: failed program was:" >&5
26980 sed 's/^/| /' conftest.
$ac_ext >&5
26982 ( exit $ac_status )
26983 llvmac_cv_c_printf_a
=no
26985 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26988 ac_cpp
='$CPP $CPPFLAGS'
26989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26994 echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
26995 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6
26996 if test "$llvm_cv_c_printf_a" = "yes"; then
26998 cat >>confdefs.h
<<\_ACEOF
26999 #define HAVE_PRINTF_A 1
27004 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
27005 # for constant arguments. Useless!
27006 echo "$as_me:$LINENO: checking for working alloca.h" >&5
27007 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
27008 if test "${ac_cv_working_alloca_h+set}" = set; then
27009 echo $ECHO_N "(cached) $ECHO_C" >&6
27011 cat >conftest.
$ac_ext <<_ACEOF
27014 cat confdefs.h
>>conftest.
$ac_ext
27015 cat >>conftest.
$ac_ext <<_ACEOF
27016 /* end confdefs.h. */
27017 #include <alloca.h>
27021 char *p = (char *) alloca (2 * sizeof (int));
27026 rm -f conftest.
$ac_objext conftest
$ac_exeext
27027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27028 (eval $ac_link) 2>conftest.er1
27030 grep -v '^ *+' conftest.er1
>conftest.err
27032 cat conftest.err
>&5
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); } &&
27035 { ac_try
='test -z "$ac_c_werror_flag"
27036 || test ! -s conftest.err'
27037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27038 (eval $ac_try) 2>&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); }; } &&
27042 { ac_try
='test -s conftest$ac_exeext'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 ac_cv_working_alloca_h
=yes
27050 echo "$as_me: failed program was:" >&5
27051 sed 's/^/| /' conftest.
$ac_ext >&5
27053 ac_cv_working_alloca_h
=no
27055 rm -f conftest.err conftest.
$ac_objext \
27056 conftest
$ac_exeext conftest.
$ac_ext
27058 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
27059 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
27060 if test $ac_cv_working_alloca_h = yes; then
27062 cat >>confdefs.h
<<\_ACEOF
27063 #define HAVE_ALLOCA_H 1
27068 echo "$as_me:$LINENO: checking for alloca" >&5
27069 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
27070 if test "${ac_cv_func_alloca_works+set}" = set; then
27071 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 cat >conftest.
$ac_ext <<_ACEOF
27076 cat confdefs.h
>>conftest.
$ac_ext
27077 cat >>conftest.
$ac_ext <<_ACEOF
27078 /* end confdefs.h. */
27080 # define alloca __builtin_alloca
27083 # include <malloc.h>
27084 # define alloca _alloca
27087 # include <alloca.h>
27092 # ifndef alloca /* predefined by HP cc +Olibcalls */
27103 char *p = (char *) alloca (1);
27108 rm -f conftest.
$ac_objext conftest
$ac_exeext
27109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27110 (eval $ac_link) 2>conftest.er1
27112 grep -v '^ *+' conftest.er1
>conftest.err
27114 cat conftest.err
>&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); } &&
27117 { ac_try
='test -z "$ac_c_werror_flag"
27118 || test ! -s conftest.err'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; } &&
27124 { ac_try
='test -s conftest$ac_exeext'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; }; then
27130 ac_cv_func_alloca_works
=yes
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.
$ac_ext >&5
27135 ac_cv_func_alloca_works
=no
27137 rm -f conftest.err conftest.
$ac_objext \
27138 conftest
$ac_exeext conftest.
$ac_ext
27140 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
27141 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
27143 if test $ac_cv_func_alloca_works = yes; then
27145 cat >>confdefs.h
<<\_ACEOF
27146 #define HAVE_ALLOCA 1
27150 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
27151 # that cause trouble. Some versions do not even contain alloca or
27152 # contain a buggy version. If you still want to use their alloca,
27153 # use ar to extract alloca.o from them instead of compiling alloca.c.
27155 ALLOCA
=alloca.
$ac_objext
27157 cat >>confdefs.h
<<\_ACEOF
27162 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
27163 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
27164 if test "${ac_cv_os_cray+set}" = set; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27167 cat >conftest.
$ac_ext <<_ACEOF
27170 cat confdefs.h
>>conftest.
$ac_ext
27171 cat >>conftest.
$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27173 #if defined(CRAY) && ! defined(CRAY2)
27180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27181 $EGREP "webecray" >/dev
/null
2>&1; then
27189 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
27190 echo "${ECHO_T}$ac_cv_os_cray" >&6
27191 if test $ac_cv_os_cray = yes; then
27192 for ac_func
in _getb67 GETB67 getb67
; do
27193 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27194 echo "$as_me:$LINENO: checking for $ac_func" >&5
27195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27196 if eval "test \"\${$as_ac_var+set}\" = set"; then
27197 echo $ECHO_N "(cached) $ECHO_C" >&6
27199 cat >conftest.
$ac_ext <<_ACEOF
27202 cat confdefs.h
>>conftest.
$ac_ext
27203 cat >>conftest.
$ac_ext <<_ACEOF
27204 /* end confdefs.h. */
27205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27207 #define $ac_func innocuous_$ac_func
27209 /* System header to define __stub macros and hopefully few prototypes,
27210 which can conflict with char $ac_func (); below.
27211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27212 <limits.h> exists even on freestanding compilers. */
27215 # include <limits.h>
27217 # include <assert.h>
27222 /* Override any gcc2 internal prototype to avoid an error. */
27227 /* We use char because int might match the return type of a gcc2
27228 builtin and then its argument prototype would still apply. */
27230 /* The GNU C library defines this for functions which it implements
27231 to always fail with ENOSYS. Some functions are actually named
27232 something starting with __ and the normal name is an alias. */
27233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27236 char (*f) () = $ac_func;
27245 return f != $ac_func;
27250 rm -f conftest.
$ac_objext conftest
$ac_exeext
27251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27252 (eval $ac_link) 2>conftest.er1
27254 grep -v '^ *+' conftest.er1
>conftest.err
27256 cat conftest.err
>&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); } &&
27259 { ac_try
='test -z "$ac_c_werror_flag"
27260 || test ! -s conftest.err'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; } &&
27266 { ac_try
='test -s conftest$ac_exeext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27272 eval "$as_ac_var=yes"
27274 echo "$as_me: failed program was:" >&5
27275 sed 's/^/| /' conftest.
$ac_ext >&5
27277 eval "$as_ac_var=no"
27279 rm -f conftest.err conftest.
$ac_objext \
27280 conftest
$ac_exeext conftest.
$ac_ext
27282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27284 if test `eval echo '${'$as_ac_var'}'` = yes; then
27286 cat >>confdefs.h
<<_ACEOF
27287 #define CRAY_STACKSEG_END $ac_func
27296 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
27297 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
27298 if test "${ac_cv_c_stack_direction+set}" = set; then
27299 echo $ECHO_N "(cached) $ECHO_C" >&6
27301 if test "$cross_compiling" = yes; then
27302 ac_cv_c_stack_direction
=0
27304 cat >conftest.
$ac_ext <<_ACEOF
27307 cat confdefs.h
>>conftest.
$ac_ext
27308 cat >>conftest.
$ac_ext <<_ACEOF
27309 /* end confdefs.h. */
27311 find_stack_direction ()
27313 static char *addr = 0;
27318 return find_stack_direction ();
27321 return (&dummy > addr) ? 1 : -1;
27327 exit (find_stack_direction () < 0);
27330 rm -f conftest
$ac_exeext
27331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27332 (eval $ac_link) 2>&5
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27337 (eval $ac_try) 2>&5
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); }; }; then
27341 ac_cv_c_stack_direction
=1
27343 echo "$as_me: program exited with status $ac_status" >&5
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.
$ac_ext >&5
27347 ( exit $ac_status )
27348 ac_cv_c_stack_direction
=-1
27350 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27353 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
27354 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
27356 cat >>confdefs.h
<<_ACEOF
27357 #define STACK_DIRECTION $ac_cv_c_stack_direction
27364 echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
27365 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6
27366 if test "${ac_cv_func_rand48+set}" = set; then
27367 echo $ECHO_N "(cached) $ECHO_C" >&6
27370 ac_cpp
='$CXXCPP $CPPFLAGS'
27371 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27372 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27373 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27375 cat >conftest.
$ac_ext <<_ACEOF
27378 cat confdefs.h
>>conftest.
$ac_ext
27379 cat >>conftest.
$ac_ext <<_ACEOF
27380 /* end confdefs.h. */
27381 #include <stdlib.h>
27385 srand48(0);lrand48();drand48();
27390 rm -f conftest.
$ac_objext
27391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27392 (eval $ac_compile) 2>conftest.er1
27394 grep -v '^ *+' conftest.er1
>conftest.err
27396 cat conftest.err
>&5
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); } &&
27399 { ac_try
='test -z "$ac_cxx_werror_flag"
27400 || test ! -s conftest.err'
27401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27402 (eval $ac_try) 2>&5
27404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 (exit $ac_status); }; } &&
27406 { ac_try
='test -s conftest.$ac_objext'
27407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27408 (eval $ac_try) 2>&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); }; }; then
27412 ac_cv_func_rand48
=yes
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.
$ac_ext >&5
27417 ac_cv_func_rand48
=no
27419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27421 ac_cpp
='$CPP $CPPFLAGS'
27422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27427 echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
27428 echo "${ECHO_T}$ac_cv_func_rand48" >&6
27430 if test "$ac_cv_func_rand48" = "yes" ; then
27432 cat >>confdefs.h
<<\_ACEOF
27433 #define HAVE_RAND48 1
27439 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
27440 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
27441 if test "${ac_cv_cxx_namespaces+set}" = set; then
27442 echo $ECHO_N "(cached) $ECHO_C" >&6
27445 ac_cpp
='$CXXCPP $CPPFLAGS'
27446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27450 cat >conftest.
$ac_ext <<_ACEOF
27453 cat confdefs.h
>>conftest.
$ac_ext
27454 cat >>conftest.
$ac_ext <<_ACEOF
27455 /* end confdefs.h. */
27456 namespace Outer { namespace Inner { int i = 0; }}
27460 using namespace Outer::Inner; return i;
27465 rm -f conftest.
$ac_objext
27466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27467 (eval $ac_compile) 2>conftest.er1
27469 grep -v '^ *+' conftest.er1
>conftest.err
27471 cat conftest.err
>&5
27472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473 (exit $ac_status); } &&
27474 { ac_try
='test -z "$ac_cxx_werror_flag"
27475 || test ! -s conftest.err'
27476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477 (eval $ac_try) 2>&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; } &&
27481 { ac_try
='test -s conftest.$ac_objext'
27482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483 (eval $ac_try) 2>&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); }; }; then
27487 ac_cv_cxx_namespaces
=yes
27489 echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.
$ac_ext >&5
27492 ac_cv_cxx_namespaces
=no
27494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27496 ac_cpp
='$CPP $CPPFLAGS'
27497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27503 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
27504 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
27505 if test "$ac_cv_cxx_namespaces" = yes; then
27507 cat >>confdefs.h
<<\_ACEOF
27508 #define HAVE_NAMESPACES
27513 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
27514 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6
27515 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27520 ac_cpp
='$CXXCPP $CPPFLAGS'
27521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27525 cat >conftest.
$ac_ext <<_ACEOF
27528 cat confdefs.h
>>conftest.
$ac_ext
27529 cat >>conftest.
$ac_ext <<_ACEOF
27530 /* end confdefs.h. */
27531 #include <ext/hash_map>
27532 #ifdef HAVE_NAMESPACES
27533 using namespace std;
27538 hash_map<int, int> t;
27543 rm -f conftest.
$ac_objext
27544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27545 (eval $ac_compile) 2>conftest.er1
27547 grep -v '^ *+' conftest.er1
>conftest.err
27549 cat conftest.err
>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); } &&
27552 { ac_try
='test -z "$ac_cxx_werror_flag"
27553 || test ! -s conftest.err'
27554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27555 (eval $ac_try) 2>&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); }; } &&
27559 { ac_try
='test -s conftest.$ac_objext'
27560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27561 (eval $ac_try) 2>&5
27563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564 (exit $ac_status); }; }; then
27565 ac_cv_cxx_have_std_ext_hash_map
=yes
27567 echo "$as_me: failed program was:" >&5
27568 sed 's/^/| /' conftest.
$ac_ext >&5
27570 ac_cv_cxx_have_std_ext_hash_map
=no
27572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27574 ac_cpp
='$CPP $CPPFLAGS'
27575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27580 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
27581 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6
27582 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes
27585 cat >>confdefs.h
<<\_ACEOF
27586 #define HAVE_STD_EXT_HASH_MAP 1
27591 cat >>confdefs.h
<<\_ACEOF
27592 #define HAVE_STD_EXT_HASH_MAP 0
27597 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
27598 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6
27599 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
27600 echo $ECHO_N "(cached) $ECHO_C" >&6
27604 ac_cpp
='$CXXCPP $CPPFLAGS'
27605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27609 cat >conftest.
$ac_ext <<_ACEOF
27612 cat confdefs.h
>>conftest.
$ac_ext
27613 cat >>conftest.
$ac_ext <<_ACEOF
27614 /* end confdefs.h. */
27615 #include <ext/hash_map>
27616 #ifdef HAVE_NAMESPACES
27617 using namespace __gnu_cxx;
27622 hash_map<int,int> t;
27627 rm -f conftest.
$ac_objext
27628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27629 (eval $ac_compile) 2>conftest.er1
27631 grep -v '^ *+' conftest.er1
>conftest.err
27633 cat conftest.err
>&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); } &&
27636 { ac_try
='test -z "$ac_cxx_werror_flag"
27637 || test ! -s conftest.err'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; } &&
27643 { ac_try
='test -s conftest.$ac_objext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 ac_cv_cxx_have_gnu_ext_hash_map
=yes
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.
$ac_ext >&5
27654 ac_cv_cxx_have_gnu_ext_hash_map
=no
27656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27658 ac_cpp
='$CPP $CPPFLAGS'
27659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27664 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
27665 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6
27666 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes
27669 cat >>confdefs.h
<<\_ACEOF
27670 #define HAVE_GNU_EXT_HASH_MAP 1
27675 cat >>confdefs.h
<<\_ACEOF
27676 #define HAVE_GNU_EXT_HASH_MAP 0
27681 echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
27682 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6
27683 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
27684 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 ac_cpp
='$CXXCPP $CPPFLAGS'
27689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27693 cat >conftest.
$ac_ext <<_ACEOF
27696 cat confdefs.h
>>conftest.
$ac_ext
27697 cat >>conftest.
$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27699 #include <hash_map>
27703 hash_map<int,int> t;
27708 rm -f conftest.
$ac_objext
27709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27710 (eval $ac_compile) 2>conftest.er1
27712 grep -v '^ *+' conftest.er1
>conftest.err
27714 cat conftest.err
>&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); } &&
27717 { ac_try
='test -z "$ac_cxx_werror_flag"
27718 || test ! -s conftest.err'
27719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27720 (eval $ac_try) 2>&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); }; } &&
27724 { ac_try
='test -s conftest.$ac_objext'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; }; then
27730 ac_cv_cxx_have_global_hash_map
=yes
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.
$ac_ext >&5
27735 ac_cv_cxx_have_global_hash_map
=no
27737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27739 ac_cpp
='$CPP $CPPFLAGS'
27740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27745 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
27746 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6
27747 if test "$ac_cv_cxx_have_global_hash_map" = yes
27750 cat >>confdefs.h
<<\_ACEOF
27751 #define HAVE_GLOBAL_HASH_MAP 1
27756 cat >>confdefs.h
<<\_ACEOF
27757 #define HAVE_GLOBAL_HASH_MAP 0
27762 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
27763 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6
27764 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27769 ac_cpp
='$CXXCPP $CPPFLAGS'
27770 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27771 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27774 cat >conftest.
$ac_ext <<_ACEOF
27777 cat confdefs.h
>>conftest.
$ac_ext
27778 cat >>conftest.
$ac_ext <<_ACEOF
27779 /* end confdefs.h. */
27780 #include <ext/hash_set>
27781 #ifdef HAVE_NAMESPACES
27782 using namespace std;
27792 rm -f conftest.
$ac_objext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27794 (eval $ac_compile) 2>conftest.er1
27796 grep -v '^ *+' conftest.er1
>conftest.err
27798 cat conftest.err
>&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } &&
27801 { ac_try
='test -z "$ac_cxx_werror_flag"
27802 || test ! -s conftest.err'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; } &&
27808 { ac_try
='test -s conftest.$ac_objext'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; }; then
27814 ac_cv_cxx_have_std_ext_hash_set
=yes
27816 echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.
$ac_ext >&5
27819 ac_cv_cxx_have_std_ext_hash_set
=no
27821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27823 ac_cpp
='$CPP $CPPFLAGS'
27824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27829 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
27830 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6
27831 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes
27834 cat >>confdefs.h
<<\_ACEOF
27835 #define HAVE_STD_EXT_HASH_SET 1
27840 cat >>confdefs.h
<<\_ACEOF
27841 #define HAVE_STD_EXT_HASH_SET 0
27846 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
27847 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6
27848 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
27849 echo $ECHO_N "(cached) $ECHO_C" >&6
27853 ac_cpp
='$CXXCPP $CPPFLAGS'
27854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27858 cat >conftest.
$ac_ext <<_ACEOF
27861 cat confdefs.h
>>conftest.
$ac_ext
27862 cat >>conftest.
$ac_ext <<_ACEOF
27863 /* end confdefs.h. */
27864 #include <ext/hash_set>
27865 #ifdef HAVE_NAMESPACES
27866 using namespace __gnu_cxx;
27876 rm -f conftest.
$ac_objext
27877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27878 (eval $ac_compile) 2>conftest.er1
27880 grep -v '^ *+' conftest.er1
>conftest.err
27882 cat conftest.err
>&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); } &&
27885 { ac_try
='test -z "$ac_cxx_werror_flag"
27886 || test ! -s conftest.err'
27887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27888 (eval $ac_try) 2>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); }; } &&
27892 { ac_try
='test -s conftest.$ac_objext'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; }; then
27898 ac_cv_cxx_have_gnu_ext_hash_set
=yes
27900 echo "$as_me: failed program was:" >&5
27901 sed 's/^/| /' conftest.
$ac_ext >&5
27903 ac_cv_cxx_have_gnu_ext_hash_set
=no
27905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27907 ac_cpp
='$CPP $CPPFLAGS'
27908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27913 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
27914 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6
27915 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes
27918 cat >>confdefs.h
<<\_ACEOF
27919 #define HAVE_GNU_EXT_HASH_SET 1
27924 cat >>confdefs.h
<<\_ACEOF
27925 #define HAVE_GNU_EXT_HASH_SET 0
27930 echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
27931 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6
27932 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
27933 echo $ECHO_N "(cached) $ECHO_C" >&6
27937 ac_cpp
='$CXXCPP $CPPFLAGS'
27938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27942 cat >conftest.
$ac_ext <<_ACEOF
27945 cat confdefs.h
>>conftest.
$ac_ext
27946 cat >>conftest.
$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27948 #include <hash_set>
27952 hash_set<int> t; return 0;
27957 rm -f conftest.
$ac_objext
27958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27959 (eval $ac_compile) 2>conftest.er1
27961 grep -v '^ *+' conftest.er1
>conftest.err
27963 cat conftest.err
>&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); } &&
27966 { ac_try
='test -z "$ac_cxx_werror_flag"
27967 || test ! -s conftest.err'
27968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27969 (eval $ac_try) 2>&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); }; } &&
27973 { ac_try
='test -s conftest.$ac_objext'
27974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27975 (eval $ac_try) 2>&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); }; }; then
27979 ac_cv_cxx_have_global_hash_set
=yes
27981 echo "$as_me: failed program was:" >&5
27982 sed 's/^/| /' conftest.
$ac_ext >&5
27984 ac_cv_cxx_have_global_hash_set
=no
27986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27988 ac_cpp
='$CPP $CPPFLAGS'
27989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27994 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
27995 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6
27996 if test "$ac_cv_cxx_have_global_hash_set" = yes
27999 cat >>confdefs.h
<<\_ACEOF
28000 #define HAVE_GLOBAL_HASH_SET 1
28005 cat >>confdefs.h
<<\_ACEOF
28006 #define HAVE_GLOBAL_HASH_SET 0
28011 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
28012 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
28013 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
28014 echo $ECHO_N "(cached) $ECHO_C" >&6
28018 ac_cpp
='$CXXCPP $CPPFLAGS'
28019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28023 cat >conftest.
$ac_ext <<_ACEOF
28026 cat confdefs.h
>>conftest.
$ac_ext
28027 cat >>conftest.
$ac_ext <<_ACEOF
28028 /* end confdefs.h. */
28029 #include <iterator>
28030 #ifdef HAVE_NAMESPACES
28031 using namespace std;
28036 iterator<int,int,int> t; return 0;
28041 rm -f conftest.
$ac_objext
28042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28043 (eval $ac_compile) 2>conftest.er1
28045 grep -v '^ *+' conftest.er1
>conftest.err
28047 cat conftest.err
>&5
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); } &&
28050 { ac_try
='test -z "$ac_cxx_werror_flag"
28051 || test ! -s conftest.err'
28052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28053 (eval $ac_try) 2>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); }; } &&
28057 { ac_try
='test -s conftest.$ac_objext'
28058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059 (eval $ac_try) 2>&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); }; }; then
28063 ac_cv_cxx_have_std_iterator
=yes
28065 echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.
$ac_ext >&5
28068 ac_cv_cxx_have_std_iterator
=no
28070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28072 ac_cpp
='$CPP $CPPFLAGS'
28073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28079 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
28080 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
28081 if test "$ac_cv_cxx_have_std_iterator" = yes
28084 cat >>confdefs.h
<<\_ACEOF
28085 #define HAVE_STD_ITERATOR 1
28090 cat >>confdefs.h
<<\_ACEOF
28091 #define HAVE_STD_ITERATOR 0
28096 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
28097 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
28098 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 ac_cpp
='$CXXCPP $CPPFLAGS'
28104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28108 cat >conftest.
$ac_ext <<_ACEOF
28111 cat confdefs.h
>>conftest.
$ac_ext
28112 cat >>conftest.
$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114 #include <iterator>
28115 #ifdef HAVE_NAMESPACES
28116 using namespace std;
28121 bidirectional_iterator<int,int> t; return 0;
28126 rm -f conftest.
$ac_objext
28127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28128 (eval $ac_compile) 2>conftest.er1
28130 grep -v '^ *+' conftest.er1
>conftest.err
28132 cat conftest.err
>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } &&
28135 { ac_try
='test -z "$ac_cxx_werror_flag"
28136 || test ! -s conftest.err'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; } &&
28142 { ac_try
='test -s conftest.$ac_objext'
28143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144 (eval $ac_try) 2>&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 ac_cv_cxx_have_bi_iterator
=yes
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.
$ac_ext >&5
28153 ac_cv_cxx_have_bi_iterator
=no
28155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28157 ac_cpp
='$CPP $CPPFLAGS'
28158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28164 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
28165 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
28166 if test "$ac_cv_cxx_have_bi_iterator" = yes
28169 cat >>confdefs.h
<<\_ACEOF
28170 #define HAVE_BI_ITERATOR 1
28175 cat >>confdefs.h
<<\_ACEOF
28176 #define HAVE_BI_ITERATOR 0
28181 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
28182 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
28183 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28188 ac_cpp
='$CXXCPP $CPPFLAGS'
28189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28193 cat >conftest.
$ac_ext <<_ACEOF
28196 cat confdefs.h
>>conftest.
$ac_ext
28197 cat >>conftest.
$ac_ext <<_ACEOF
28198 /* end confdefs.h. */
28199 #include <iterator>
28200 #ifdef HAVE_NAMESPACES
28201 using namespace std;
28206 forward_iterator<int,int> t; return 0;
28211 rm -f conftest.
$ac_objext
28212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28213 (eval $ac_compile) 2>conftest.er1
28215 grep -v '^ *+' conftest.er1
>conftest.err
28217 cat conftest.err
>&5
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); } &&
28220 { ac_try
='test -z "$ac_cxx_werror_flag"
28221 || test ! -s conftest.err'
28222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28223 (eval $ac_try) 2>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); }; } &&
28227 { ac_try
='test -s conftest.$ac_objext'
28228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229 (eval $ac_try) 2>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; }; then
28233 ac_cv_cxx_have_fwd_iterator
=yes
28235 echo "$as_me: failed program was:" >&5
28236 sed 's/^/| /' conftest.
$ac_ext >&5
28238 ac_cv_cxx_have_fwd_iterator
=no
28240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28242 ac_cpp
='$CPP $CPPFLAGS'
28243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28249 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
28250 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
28251 if test "$ac_cv_cxx_have_fwd_iterator" = yes
28254 cat >>confdefs.h
<<\_ACEOF
28255 #define HAVE_FWD_ITERATOR 1
28260 cat >>confdefs.h
<<\_ACEOF
28261 #define HAVE_FWD_ITERATOR 0
28267 echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
28268 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6
28269 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28273 ac_cpp
='$CXXCPP $CPPFLAGS'
28274 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28275 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28276 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28278 cat >conftest.
$ac_ext <<_ACEOF
28281 cat confdefs.h
>>conftest.
$ac_ext
28282 cat >>conftest.
$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28293 rm -f conftest.
$ac_objext
28294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28295 (eval $ac_compile) 2>conftest.er1
28297 grep -v '^ *+' conftest.er1
>conftest.err
28299 cat conftest.err
>&5
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); } &&
28302 { ac_try
='test -z "$ac_cxx_werror_flag"
28303 || test ! -s conftest.err'
28304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28305 (eval $ac_try) 2>&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); }; } &&
28309 { ac_try
='test -s conftest.$ac_objext'
28310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28311 (eval $ac_try) 2>&5
28313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314 (exit $ac_status); }; }; then
28315 ac_cv_func_isnan_in_math_h
=yes
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.
$ac_ext >&5
28320 ac_cv_func_isnan_in_math_h
=no
28322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28324 ac_cpp
='$CPP $CPPFLAGS'
28325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28330 echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
28331 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6
28334 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
28336 cat >>confdefs.h
<<\_ACEOF
28337 #define HAVE_ISNAN_IN_MATH_H 1
28342 echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
28343 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6
28344 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
28345 echo $ECHO_N "(cached) $ECHO_C" >&6
28348 ac_cpp
='$CXXCPP $CPPFLAGS'
28349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28353 cat >conftest.
$ac_ext <<_ACEOF
28356 cat confdefs.h
>>conftest.
$ac_ext
28357 cat >>conftest.
$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28368 rm -f conftest.
$ac_objext
28369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28370 (eval $ac_compile) 2>conftest.er1
28372 grep -v '^ *+' conftest.er1
>conftest.err
28374 cat conftest.err
>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); } &&
28377 { ac_try
='test -z "$ac_cxx_werror_flag"
28378 || test ! -s conftest.err'
28379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28380 (eval $ac_try) 2>&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); }; } &&
28384 { ac_try
='test -s conftest.$ac_objext'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; }; then
28390 ac_cv_func_isnan_in_cmath
=yes
28392 echo "$as_me: failed program was:" >&5
28393 sed 's/^/| /' conftest.
$ac_ext >&5
28395 ac_cv_func_isnan_in_cmath
=no
28397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28399 ac_cpp
='$CPP $CPPFLAGS'
28400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28405 echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
28406 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6
28408 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
28410 cat >>confdefs.h
<<\_ACEOF
28411 #define HAVE_ISNAN_IN_CMATH 1
28416 echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
28417 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6
28418 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28422 ac_cpp
='$CXXCPP $CPPFLAGS'
28423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28427 cat >conftest.
$ac_ext <<_ACEOF
28430 cat confdefs.h
>>conftest.
$ac_ext
28431 cat >>conftest.
$ac_ext <<_ACEOF
28432 /* end confdefs.h. */
28437 float f; std::isnan(f);
28442 rm -f conftest.
$ac_objext
28443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28444 (eval $ac_compile) 2>conftest.er1
28446 grep -v '^ *+' conftest.er1
>conftest.err
28448 cat conftest.err
>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); } &&
28451 { ac_try
='test -z "$ac_cxx_werror_flag"
28452 || test ! -s conftest.err'
28453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454 (eval $ac_try) 2>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; } &&
28458 { ac_try
='test -s conftest.$ac_objext'
28459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460 (eval $ac_try) 2>&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); }; }; then
28464 ac_cv_func_std_isnan_in_cmath
=yes
28466 echo "$as_me: failed program was:" >&5
28467 sed 's/^/| /' conftest.
$ac_ext >&5
28469 ac_cv_func_std_isnan_in_cmath
=no
28471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28473 ac_cpp
='$CPP $CPPFLAGS'
28474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28479 echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
28480 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6
28482 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
28484 cat >>confdefs.h
<<\_ACEOF
28485 #define HAVE_STD_ISNAN_IN_CMATH 1
28491 echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
28492 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6
28493 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
28494 echo $ECHO_N "(cached) $ECHO_C" >&6
28497 ac_cpp
='$CXXCPP $CPPFLAGS'
28498 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28499 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28500 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28502 cat >conftest.
$ac_ext <<_ACEOF
28505 cat confdefs.h
>>conftest.
$ac_ext
28506 cat >>conftest.
$ac_ext <<_ACEOF
28507 /* end confdefs.h. */
28517 rm -f conftest.
$ac_objext
28518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28519 (eval $ac_compile) 2>conftest.er1
28521 grep -v '^ *+' conftest.er1
>conftest.err
28523 cat conftest.err
>&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } &&
28526 { ac_try
='test -z "$ac_cxx_werror_flag"
28527 || test ! -s conftest.err'
28528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28529 (eval $ac_try) 2>&5
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); }; } &&
28533 { ac_try
='test -s conftest.$ac_objext'
28534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28535 (eval $ac_try) 2>&5
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); }; }; then
28539 ac_cv_func_isinf_in_math_h
=yes
28541 echo "$as_me: failed program was:" >&5
28542 sed 's/^/| /' conftest.
$ac_ext >&5
28544 ac_cv_func_isinf_in_math_h
=no
28546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28548 ac_cpp
='$CPP $CPPFLAGS'
28549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28554 echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
28555 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6
28557 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
28559 cat >>confdefs.h
<<\_ACEOF
28560 #define HAVE_ISINF_IN_MATH_H 1
28565 echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
28566 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6
28567 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
28568 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 ac_cpp
='$CXXCPP $CPPFLAGS'
28572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28576 cat >conftest.
$ac_ext <<_ACEOF
28579 cat confdefs.h
>>conftest.
$ac_ext
28580 cat >>conftest.
$ac_ext <<_ACEOF
28581 /* end confdefs.h. */
28591 rm -f conftest.
$ac_objext
28592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28593 (eval $ac_compile) 2>conftest.er1
28595 grep -v '^ *+' conftest.er1
>conftest.err
28597 cat conftest.err
>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); } &&
28600 { ac_try
='test -z "$ac_cxx_werror_flag"
28601 || test ! -s conftest.err'
28602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28603 (eval $ac_try) 2>&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); }; } &&
28607 { ac_try
='test -s conftest.$ac_objext'
28608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28609 (eval $ac_try) 2>&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); }; }; then
28613 ac_cv_func_isinf_in_cmath
=yes
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.
$ac_ext >&5
28618 ac_cv_func_isinf_in_cmath
=no
28620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28622 ac_cpp
='$CPP $CPPFLAGS'
28623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28628 echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
28629 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6
28631 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
28633 cat >>confdefs.h
<<\_ACEOF
28634 #define HAVE_ISINF_IN_CMATH 1
28639 echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
28640 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6
28641 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28645 ac_cpp
='$CXXCPP $CPPFLAGS'
28646 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28647 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28648 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28650 cat >conftest.
$ac_ext <<_ACEOF
28653 cat confdefs.h
>>conftest.
$ac_ext
28654 cat >>conftest.
$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28660 float f; std::isinf(f)}
28665 rm -f conftest.
$ac_objext
28666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28667 (eval $ac_compile) 2>conftest.er1
28669 grep -v '^ *+' conftest.er1
>conftest.err
28671 cat conftest.err
>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } &&
28674 { ac_try
='test -z "$ac_cxx_werror_flag"
28675 || test ! -s conftest.err'
28676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28677 (eval $ac_try) 2>&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); }; } &&
28681 { ac_try
='test -s conftest.$ac_objext'
28682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683 (eval $ac_try) 2>&5
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; }; then
28687 ac_cv_func_std_isinf_in_cmath
=yes
28689 echo "$as_me: failed program was:" >&5
28690 sed 's/^/| /' conftest.
$ac_ext >&5
28692 ac_cv_func_std_isinf_in_cmath
=no
28694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28696 ac_cpp
='$CPP $CPPFLAGS'
28697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28702 echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
28703 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6
28705 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
28707 cat >>confdefs.h
<<\_ACEOF
28708 #define HAVE_STD_ISINF_IN_CMATH 1
28713 echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
28714 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6
28715 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28719 ac_cpp
='$CXXCPP $CPPFLAGS'
28720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28724 cat >conftest.
$ac_ext <<_ACEOF
28727 cat confdefs.h
>>conftest.
$ac_ext
28728 cat >>conftest.
$ac_ext <<_ACEOF
28729 /* end confdefs.h. */
28730 #include <ieeefp.h>
28734 float f; finite(f);
28739 rm -f conftest.
$ac_objext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28741 (eval $ac_compile) 2>conftest.er1
28743 grep -v '^ *+' conftest.er1
>conftest.err
28745 cat conftest.err
>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try
='test -z "$ac_cxx_werror_flag"
28749 || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try
='test -s conftest.$ac_objext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_func_finite_in_ieeefp_h
=yes
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.
$ac_ext >&5
28766 ac_cv_func_finite_in_ieeefp_h
=no
28768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28770 ac_cpp
='$CPP $CPPFLAGS'
28771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28776 echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
28777 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6
28779 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
28781 cat >>confdefs.h
<<\_ACEOF
28782 #define HAVE_FINITE_IN_IEEEFP_H 1
28791 for ac_header
in stdlib.h unistd.h
28793 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28795 echo "$as_me:$LINENO: checking for $ac_header" >&5
28796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28798 echo $ECHO_N "(cached) $ECHO_C" >&6
28800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28803 # Is the header compilable?
28804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28806 cat >conftest.
$ac_ext <<_ACEOF
28809 cat confdefs.h
>>conftest.
$ac_ext
28810 cat >>conftest.
$ac_ext <<_ACEOF
28811 /* end confdefs.h. */
28812 $ac_includes_default
28813 #include <$ac_header>
28815 rm -f conftest.
$ac_objext
28816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28817 (eval $ac_compile) 2>conftest.er1
28819 grep -v '^ *+' conftest.er1
>conftest.err
28821 cat conftest.err
>&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); } &&
28824 { ac_try
='test -z "$ac_c_werror_flag"
28825 || test ! -s conftest.err'
28826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827 (eval $ac_try) 2>&5
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); }; } &&
28831 { ac_try
='test -s conftest.$ac_objext'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; }; then
28837 ac_header_compiler
=yes
28839 echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.
$ac_ext >&5
28842 ac_header_compiler
=no
28844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28846 echo "${ECHO_T}$ac_header_compiler" >&6
28848 # Is the header present?
28849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28851 cat >conftest.
$ac_ext <<_ACEOF
28854 cat confdefs.h
>>conftest.
$ac_ext
28855 cat >>conftest.
$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28857 #include <$ac_header>
28859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28862 grep -v '^ *+' conftest.er1
>conftest.err
28864 cat conftest.err
>&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); } >/dev
/null
; then
28867 if test -s conftest.err
; then
28868 ac_cpp_err
=$ac_c_preproc_warn_flag
28869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28876 if test -z "$ac_cpp_err"; then
28877 ac_header_preproc
=yes
28879 echo "$as_me: failed program was:" >&5
28880 sed 's/^/| /' conftest.
$ac_ext >&5
28882 ac_header_preproc
=no
28884 rm -f conftest.err conftest.
$ac_ext
28885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28886 echo "${ECHO_T}$ac_header_preproc" >&6
28888 # So? What about this header?
28889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28891 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28894 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28895 ac_header_preproc
=yes
28898 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28900 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28901 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28902 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28903 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28904 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28905 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28908 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28909 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28912 ## ----------------------------------- ##
28913 ## Report this to llvmbugs@cs.uiuc.edu ##
28914 ## ----------------------------------- ##
28917 sed "s/^/$as_me: WARNING: /" >&2
28920 echo "$as_me:$LINENO: checking for $ac_header" >&5
28921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28923 echo $ECHO_N "(cached) $ECHO_C" >&6
28925 eval "$as_ac_Header=\$ac_header_preproc"
28927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28932 cat >>confdefs.h
<<_ACEOF
28933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28941 for ac_func
in getpagesize
28943 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28944 echo "$as_me:$LINENO: checking for $ac_func" >&5
28945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28946 if eval "test \"\${$as_ac_var+set}\" = set"; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 cat >conftest.
$ac_ext <<_ACEOF
28952 cat confdefs.h
>>conftest.
$ac_ext
28953 cat >>conftest.
$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28957 #define $ac_func innocuous_$ac_func
28959 /* System header to define __stub macros and hopefully few prototypes,
28960 which can conflict with char $ac_func (); below.
28961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28962 <limits.h> exists even on freestanding compilers. */
28965 # include <limits.h>
28967 # include <assert.h>
28972 /* Override any gcc2 internal prototype to avoid an error. */
28977 /* We use char because int might match the return type of a gcc2
28978 builtin and then its argument prototype would still apply. */
28980 /* The GNU C library defines this for functions which it implements
28981 to always fail with ENOSYS. Some functions are actually named
28982 something starting with __ and the normal name is an alias. */
28983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28986 char (*f) () = $ac_func;
28995 return f != $ac_func;
29000 rm -f conftest.
$ac_objext conftest
$ac_exeext
29001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29002 (eval $ac_link) 2>conftest.er1
29004 grep -v '^ *+' conftest.er1
>conftest.err
29006 cat conftest.err
>&5
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); } &&
29009 { ac_try
='test -z "$ac_c_werror_flag"
29010 || test ! -s conftest.err'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; } &&
29016 { ac_try
='test -s conftest$ac_exeext'
29017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29018 (eval $ac_try) 2>&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 eval "$as_ac_var=yes"
29024 echo "$as_me: failed program was:" >&5
29025 sed 's/^/| /' conftest.
$ac_ext >&5
29027 eval "$as_ac_var=no"
29029 rm -f conftest.err conftest.
$ac_objext \
29030 conftest
$ac_exeext conftest.
$ac_ext
29032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29034 if test `eval echo '${'$as_ac_var'}'` = yes; then
29035 cat >>confdefs.h
<<_ACEOF
29036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29042 echo "$as_me:$LINENO: checking for working mmap" >&5
29043 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
29044 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
29045 echo $ECHO_N "(cached) $ECHO_C" >&6
29047 if test "$cross_compiling" = yes; then
29048 ac_cv_func_mmap_fixed_mapped
=no
29050 cat >conftest.
$ac_ext <<_ACEOF
29053 cat confdefs.h
>>conftest.
$ac_ext
29054 cat >>conftest.
$ac_ext <<_ACEOF
29055 /* end confdefs.h. */
29056 $ac_includes_default
29057 /* malloc might have been renamed as rpl_malloc. */
29060 /* Thanks to Mike Haertel and Jim Avera for this test.
29061 Here is a matrix of mmap possibilities:
29062 mmap private not fixed
29063 mmap private fixed at somewhere currently unmapped
29064 mmap private fixed at somewhere already mapped
29065 mmap shared not fixed
29066 mmap shared fixed at somewhere currently unmapped
29067 mmap shared fixed at somewhere already mapped
29068 For private mappings, we should verify that changes cannot be read()
29069 back from the file, nor mmap's back from the file at a different
29070 address. (There have been systems where private was not correctly
29071 implemented like the infamous i386 svr4.0, and systems where the
29072 VM page cache was not coherent with the file system buffer cache
29073 like early versions of FreeBSD and possibly contemporary NetBSD.)
29074 For shared mappings, we should conversely verify that changes get
29075 propagated back to all the places they're supposed to be.
29077 Grep wants private fixed already mapped.
29078 The main things grep needs to know about mmap are:
29079 * does it exist and is it safe to write into the mmap'd area
29080 * how to use it (BSD variants) */
29083 #include <sys/mman.h>
29085 #if !STDC_HEADERS && !HAVE_STDLIB_H
29089 /* This mess was copied from the GNU getpagesize.h. */
29090 #if !HAVE_GETPAGESIZE
29091 /* Assume that all systems that can run configure have sys/param.h. */
29092 # if !HAVE_SYS_PARAM_H
29093 # define HAVE_SYS_PARAM_H 1
29096 # ifdef _SC_PAGESIZE
29097 # define getpagesize() sysconf(_SC_PAGESIZE)
29098 # else /* no _SC_PAGESIZE */
29099 # if HAVE_SYS_PARAM_H
29100 # include <sys/param.h>
29101 # ifdef EXEC_PAGESIZE
29102 # define getpagesize() EXEC_PAGESIZE
29103 # else /* no EXEC_PAGESIZE */
29105 # define getpagesize() NBPG * CLSIZE
29108 # endif /* no CLSIZE */
29109 # else /* no NBPG */
29111 # define getpagesize() NBPC
29112 # else /* no NBPC */
29114 # define getpagesize() PAGESIZE
29115 # endif /* PAGESIZE */
29116 # endif /* no NBPC */
29117 # endif /* no NBPG */
29118 # endif /* no EXEC_PAGESIZE */
29119 # else /* no HAVE_SYS_PARAM_H */
29120 # define getpagesize() 8192 /* punt totally */
29121 # endif /* no HAVE_SYS_PARAM_H */
29122 # endif /* no _SC_PAGESIZE */
29124 #endif /* no HAVE_GETPAGESIZE */
29129 char *data, *data2, *data3;
29133 pagesize = getpagesize ();
29135 /* First, make a file with some known garbage in it. */
29136 data = (char *) malloc (pagesize);
29139 for (i = 0; i < pagesize; ++i)
29140 *(data + i) = rand ();
29142 fd = creat ("conftest.mmap", 0600);
29145 if (write (fd, data, pagesize) != pagesize)
29149 /* Next, try to mmap the file at a fixed address which already has
29150 something else allocated at it. If we can, also make sure that
29151 we see the same garbage. */
29152 fd = open ("conftest.mmap", O_RDWR);
29155 data2 = (char *) malloc (2 * pagesize);
29158 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
29159 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
29160 MAP_PRIVATE | MAP_FIXED, fd, 0L))
29162 for (i = 0; i < pagesize; ++i)
29163 if (*(data + i) != *(data2 + i))
29166 /* Finally, make sure that changes to the mapped area do not
29167 percolate back to the file as seen by read(). (This is a bug on
29168 some variants of i386 svr4.0.) */
29169 for (i = 0; i < pagesize; ++i)
29170 *(data2 + i) = *(data2 + i) + 1;
29171 data3 = (char *) malloc (pagesize);
29174 if (read (fd, data3, pagesize) != pagesize)
29176 for (i = 0; i < pagesize; ++i)
29177 if (*(data + i) != *(data3 + i))
29183 rm -f conftest
$ac_exeext
29184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29185 (eval $ac_link) 2>&5
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29190 (eval $ac_try) 2>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); }; }; then
29194 ac_cv_func_mmap_fixed_mapped
=yes
29196 echo "$as_me: program exited with status $ac_status" >&5
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.
$ac_ext >&5
29200 ( exit $ac_status )
29201 ac_cv_func_mmap_fixed_mapped
=no
29203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29206 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29207 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
29208 if test $ac_cv_func_mmap_fixed_mapped = yes; then
29210 cat >>confdefs.h
<<\_ACEOF
29211 #define HAVE_MMAP 1
29215 rm -f conftest.mmap
29217 echo "$as_me:$LINENO: checking for mmap of files" >&5
29218 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
29219 if test "${ac_cv_func_mmap_file+set}" = set; then
29220 echo $ECHO_N "(cached) $ECHO_C" >&6
29223 ac_cpp
='$CPP $CPPFLAGS'
29224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29228 if test "$cross_compiling" = yes; then
29229 ac_cv_func_mmap_file
=no
29231 cat >conftest.
$ac_ext <<_ACEOF
29235 cat confdefs.h
>>conftest.
$ac_ext
29236 cat >>conftest.
$ac_ext <<_ACEOF
29237 /* end confdefs.h. */
29239 #include <sys/types.h>
29240 #include <sys/mman.h>
29248 fd = creat ("foo",0777);
29249 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
29251 return (fd != (int) MAP_FAILED);
29256 rm -f conftest
$ac_exeext
29257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29258 (eval $ac_link) 2>&5
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29263 (eval $ac_try) 2>&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); }; }; then
29267 ac_cv_func_mmap_file
=yes
29269 echo "$as_me: program exited with status $ac_status" >&5
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.
$ac_ext >&5
29273 ( exit $ac_status )
29274 ac_cv_func_mmap_file
=no
29276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29279 ac_cpp
='$CPP $CPPFLAGS'
29280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29286 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
29287 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
29288 if test "$ac_cv_func_mmap_file" = yes; then
29290 cat >>confdefs.h
<<\_ACEOF
29291 #define HAVE_MMAP_FILE
29298 echo "$as_me:$LINENO: checking for mprotect" >&5
29299 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
29300 if test "${ac_cv_func_mprotect+set}" = set; then
29301 echo $ECHO_N "(cached) $ECHO_C" >&6
29303 cat >conftest.
$ac_ext <<_ACEOF
29306 cat confdefs.h
>>conftest.
$ac_ext
29307 cat >>conftest.
$ac_ext <<_ACEOF
29308 /* end confdefs.h. */
29309 /* Define mprotect to an innocuous variant, in case <limits.h> declares mprotect.
29310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29311 #define mprotect innocuous_mprotect
29313 /* System header to define __stub macros and hopefully few prototypes,
29314 which can conflict with char mprotect (); below.
29315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29316 <limits.h> exists even on freestanding compilers. */
29319 # include <limits.h>
29321 # include <assert.h>
29326 /* Override any gcc2 internal prototype to avoid an error. */
29331 /* We use char because int might match the return type of a gcc2
29332 builtin and then its argument prototype would still apply. */
29334 /* The GNU C library defines this for functions which it implements
29335 to always fail with ENOSYS. Some functions are actually named
29336 something starting with __ and the normal name is an alias. */
29337 #if defined (__stub_mprotect) || defined (__stub___mprotect)
29340 char (*f) () = mprotect;
29349 return f != mprotect;
29354 rm -f conftest.
$ac_objext conftest
$ac_exeext
29355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29356 (eval $ac_link) 2>conftest.er1
29358 grep -v '^ *+' conftest.er1
>conftest.err
29360 cat conftest.err
>&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } &&
29363 { ac_try
='test -z "$ac_c_werror_flag"
29364 || test ! -s conftest.err'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; } &&
29370 { ac_try
='test -s conftest$ac_exeext'
29371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29372 (eval $ac_try) 2>&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); }; }; then
29376 ac_cv_func_mprotect
=yes
29378 echo "$as_me: failed program was:" >&5
29379 sed 's/^/| /' conftest.
$ac_ext >&5
29381 ac_cv_func_mprotect
=no
29383 rm -f conftest.err conftest.
$ac_objext \
29384 conftest
$ac_exeext conftest.
$ac_ext
29386 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
29387 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
29388 if test $ac_cv_func_mprotect = yes; then
29391 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
29392 echo "$as_me: error: Function mprotect() required but not found" >&2;}
29393 { (exit 1); exit 1; }; }
29397 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
29399 { echo "$as_me:$LINENO: WARNING: mmap() required but not found" >&5
29400 echo "$as_me: WARNING: mmap() required but not found" >&2;}
29402 if test "$ac_cv_func_mmap_file" = "no"
29404 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
29405 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
29409 echo "$as_me:$LINENO: checking for llvm-gcc" >&5
29410 echo $ECHO_N "checking for llvm-gcc... $ECHO_C" >&6
29411 if test "${llvm_cv_llvmgcc+set}" = set; then
29412 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 llvm_cv_llvmgcc
='llvmgcc_not_found'
29415 if test -d "$LLVMGCCDIR" ; then
29416 if test -x "$LLVMGCCDIR/bin/gcc" ; then
29417 llvm_cv_llvmgcc
="$LLVMGCCDIR/bin/gcc"
29421 echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc" >&5
29422 echo "${ECHO_T}$llvm_cv_llvmgcc" >&6
29424 echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
29425 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6
29426 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 llvm_cv_llvmgcc_sanity
="no"
29430 if test -x "$llvm_cv_llvmgcc" ; then
29431 cp /dev
/null conftest.c
29432 "$llvm_cv_llvmgcc" -S -o - conftest.c |
grep implementation
> /dev
/null
2>&1
29433 if test $?
-eq 0 ; then
29434 llvm_cv_llvmgcc_sanity
="yes"
29439 echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
29440 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6
29442 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
29443 LLVMGCC
="$llvm_cv_llvmgcc"
29445 llvmcc1path
=`"$llvm_cv_llvmgcc" --print-prog-name=cc1`
29446 LLVMCC1
=$llvmcc1path
29448 llvmcc1pluspath
=`"$llvm_cv_llvmgcc" --print-prog-name=cc1plus`
29449 LLVMCC1PLUS
=$llvmcc1pluspath
29453 SHLIBEXT
=$libltdl_cv_shlibext
29456 # Translate the various configuration directories and other basic
29457 # information into substitutions that will end up in Makefile.config.in
29458 # that these configured values can be used by the makefiles
29459 eval LLVM_PREFIX
="${prefix}";
29460 eval LLVM_BINDIR
="${prefix}/bin";
29461 eval LLVM_LIBDIR
="${prefix}/lib";
29462 eval LLVM_DATADIR
="${prefix}/share/llvm";
29463 eval LLVM_DOCSDIR
="${prefix}/docs/llvm";
29464 eval LLVM_ETCDIR
="${prefix}/etc/llvm";
29465 eval LLVM_INCLUDEDIR
="${prefix}/include";
29466 eval LLVM_INFODIR
="${prefix}/info";
29467 eval LLVM_MANDIR
="${prefix}/man";
29468 LLVM_CONFIGTIME
=`date`
29480 # Place the various directores into the config.h file as #defines so that we
29481 # can know about the installation paths within LLVM.
29483 cat >>confdefs.h
<<_ACEOF
29484 #define LLVM_PREFIX "$LLVM_PREFIX"
29488 cat >>confdefs.h
<<_ACEOF
29489 #define LLVM_BINDIR "$LLVM_BINDIR"
29493 cat >>confdefs.h
<<_ACEOF
29494 #define LLVM_LIBDIR "$LLVM_LIBDIR"
29498 cat >>confdefs.h
<<_ACEOF
29499 #define LLVM_DATADIR "$LLVM_DATADIR"
29503 cat >>confdefs.h
<<_ACEOF
29504 #define LLVM_DATADIR "$LLVM_DOCSDIR"
29508 cat >>confdefs.h
<<_ACEOF
29509 #define LLVM_ETCDIR "$LLVM_ETCDIR"
29513 cat >>confdefs.h
<<_ACEOF
29514 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
29518 cat >>confdefs.h
<<_ACEOF
29519 #define LLVM_INFODIR "$LLVM_INFODIR"
29523 cat >>confdefs.h
<<_ACEOF
29524 #define LLVM_MANDIR "$LLVM_MANDIR"
29528 cat >>confdefs.h
<<_ACEOF
29529 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
29534 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
29537 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
29539 ac_config_headers
="$ac_config_headers include/llvm/ADT/hash_map"
29541 ac_config_headers
="$ac_config_headers include/llvm/ADT/hash_set"
29543 ac_config_headers
="$ac_config_headers include/llvm/Support/ThreadSupport.h"
29545 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator"
29548 ac_config_files
="$ac_config_files Makefile.config"
29551 ac_config_files
="$ac_config_files tools/llvmc/st tools/llvmc/cpp tools/llvmc/ll tools/llvmc/c"
29554 ac_config_files
="$ac_config_files docs/doxygen.cfg"
29557 ac_config_commands
="$ac_config_commands Makefile"
29560 ac_config_commands
="$ac_config_commands Makefile.common"
29563 ac_config_commands
="$ac_config_commands examples/Makefile"
29566 ac_config_commands
="$ac_config_commands lib/Makefile"
29569 ac_config_commands
="$ac_config_commands runtime/Makefile"
29572 ac_config_commands
="$ac_config_commands test/Makefile"
29575 ac_config_commands
="$ac_config_commands test/Makefile.tests"
29578 ac_config_commands
="$ac_config_commands test/QMTest/llvm.py"
29581 ac_config_commands
="$ac_config_commands test/QMTest/llvmdb.py"
29584 ac_config_commands
="$ac_config_commands tools/Makefile"
29587 ac_config_commands
="$ac_config_commands utils/Makefile"
29590 ac_config_commands
="$ac_config_commands projects/Makefile"
29594 cat >confcache
<<\_ACEOF
29595 # This file is a shell script that caches the results of configure
29596 # tests run on this system so they can be shared between configure
29597 # scripts and configure runs, see configure's option --config-cache.
29598 # It is not useful on other systems. If it contains results you don't
29599 # want to keep, you may remove or edit it.
29601 # config.status only pays attention to the cache file if you give it
29602 # the --recheck option to rerun configure.
29604 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29605 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29606 # following values.
29610 # The following way of writing the cache mishandles newlines in values,
29611 # but we know of no workaround that is simple, portable, and efficient.
29612 # So, don't put newlines in cache variables' values.
29613 # Ultrix sh set writes to stderr and can't be redirected directly,
29614 # and sets the high bit in the cache file unless we assign to the vars.
29617 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29619 # `set' does not quote correctly, so add quotes (double-quote
29620 # substitution turns \\\\ into \\, and sed turns \\ into \).
29623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29626 # `set' quotes correctly as required by POSIX, so do not add quotes.
29628 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29637 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29639 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29640 if test -w $cache_file; then
29641 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29642 cat confcache
>$cache_file
29644 echo "not updating unwritable cache $cache_file"
29649 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29650 # Let make expand exec_prefix.
29651 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29653 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29654 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29655 # trailing colons and then remove the whole line if VPATH becomes empty
29656 # (actually we leave an empty line to preserve line numbers).
29657 if test "x$srcdir" = x.
; then
29658 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
29659 s/:*\$(srcdir):*/:/;
29660 s/:*\${srcdir}:*/:/;
29662 s/^\([^=]*=[ ]*\):*/\1/;
29668 DEFS
=-DHAVE_CONFIG_H
29672 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
29673 # 1. Remove the extension, and $U if already installed.
29674 ac_i
=`echo "$ac_i" |
29675 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29677 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
29678 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
29680 LIBOBJS
=$ac_libobjs
29682 LTLIBOBJS
=$ac_ltlibobjs
29685 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
29686 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
29687 Usually this means the macro was only invoked conditionally." >&5
29688 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
29689 Usually this means the macro was only invoked conditionally." >&2;}
29690 { (exit 1); exit 1; }; }
29692 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
29693 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
29694 Usually this means the macro was only invoked conditionally." >&5
29695 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
29696 Usually this means the macro was only invoked conditionally." >&2;}
29697 { (exit 1); exit 1; }; }
29700 : ${CONFIG_STATUS=./config.status}
29701 ac_clean_files_save
=$ac_clean_files
29702 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
29703 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29704 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29705 cat >$CONFIG_STATUS <<_ACEOF
29707 # Generated by $as_me.
29708 # Run this file to recreate the current configuration.
29709 # Compiler output produced by configure, useful for debugging
29710 # configure, is in config.log if it exists.
29713 ac_cs_recheck=false
29715 SHELL=\${CONFIG_SHELL-$SHELL}
29718 cat >>$CONFIG_STATUS <<\_ACEOF
29719 ## --------------------- ##
29720 ## M4sh Initialization. ##
29721 ## --------------------- ##
29723 # Be Bourne compatible
29724 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29727 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29728 # is contrary to our usage. Disable this feature.
29729 alias -g '${1+"$@"}'='"$@"'
29730 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
29733 DUALCASE
=1; export DUALCASE
# for MKS sh
29735 # Support unset when possible.
29736 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
29743 # Work around bugs in pre-3.0 UWIN ksh.
29744 $as_unset ENV MAIL MAILPATH
29751 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29752 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29753 LC_TELEPHONE LC_TIME
29755 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29756 eval $as_var=C
; export $as_var
29762 # Required to use basename.
29763 if expr a
: '\(a\)' >/dev
/null
2>&1; then
29769 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
29770 as_basename
=basename
29776 # Name of the executable.
29777 as_me
=`$as_basename "$0" ||
29778 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29779 X"$0" : 'X\(//\)$' \| \
29780 X"$0" : 'X\(/\)$' \| \
29781 . : '\(.\)' 2>/dev/null ||
29783 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
29784 /^X\/\(\/\/\)$/{ s//\1/; q; }
29785 /^X\/\(\/\).*/{ s//\1/; q; }
29789 # PATH needs CR, and LINENO needs CR and PATH.
29790 # Avoid depending upon Character Ranges.
29791 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
29792 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29793 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
29794 as_cr_digits
='0123456789'
29795 as_cr_alnum
=$as_cr_Letters$as_cr_digits
29797 # The user is always right.
29798 if test "${PATH_SEPARATOR+set}" != set; then
29799 echo "#! /bin/sh" >conf$$.sh
29800 echo "exit 0" >>conf$$.sh
29802 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
29811 as_lineno_1
=$LINENO
29812 as_lineno_2
=$LINENO
29813 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
29814 test "x$as_lineno_1" != "x$as_lineno_2" &&
29815 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
29816 # Find who we are. Look in the path if we contain no path at all
29819 *[\\/]* ) as_myself
=$0 ;;
29820 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29821 for as_dir
in $PATH
29824 test -z "$as_dir" && as_dir
=.
29825 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
29830 # We did not find ourselves, most probably we were run as `sh COMMAND'
29831 # in which case we are not to be found in the path.
29832 if test "x$as_myself" = x
; then
29835 if test ! -f "$as_myself"; then
29836 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29837 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29838 { (exit 1); exit 1; }; }
29840 case $CONFIG_SHELL in
29842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29843 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
29846 test -z "$as_dir" && as_dir
=.
29847 for as_base
in sh bash ksh sh5
; do
29850 if ("$as_dir/$as_base" -c '
29851 as_lineno_1=$LINENO
29852 as_lineno_2=$LINENO
29853 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29854 test "x$as_lineno_1" != "x$as_lineno_2" &&
29855 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
29856 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
29857 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
29858 CONFIG_SHELL
=$as_dir/$as_base
29859 export CONFIG_SHELL
29860 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29868 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29869 # uniformly replaced by the line number. The first 'sed' inserts a
29870 # line-number line before each line; the second 'sed' does the real
29871 # work. The second script uses 'N' to pair each line-number line
29872 # with the numbered line, and appends trailing '-' during
29873 # substitution so that $LINENO is not a special case at line end.
29874 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29875 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
29876 sed '=' <$as_myself |
29881 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
29884 s,^['$as_cr_digits']*\n,,
29885 ' >$as_me.lineno
&&
29886 chmod +x
$as_me.lineno ||
29887 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29888 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
29889 { (exit 1); exit 1; }; }
29891 # Don't try to exec as it changes $[0], causing all sort of problems
29892 # (the dirname of $[0] is not the place where we might find the
29893 # original and so on. Autoconf is especially sensible to this).
29895 # Exit status is that of the last command.
29900 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29901 *c
*,-n*) ECHO_N
= ECHO_C
='
29903 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
29904 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
29907 if expr a
: '\(a\)' >/dev
/null
2>&1; then
29913 rm -f conf$$ conf$$.exe conf$$.
file
29915 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
29916 # We could just check for DJGPP; but this test a) works b) is more generic
29917 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29918 if test -f conf$$.exe
; then
29919 # Don't use ln at all; we don't have any links
29924 elif ln conf$$.
file conf$$
2>/dev
/null
; then
29929 rm -f conf$$ conf$$.exe conf$$.
file
29931 if mkdir
-p .
2>/dev
/null
; then
29934 test -d .
/-p && rmdir .
/-p
29938 as_executable_p
="test -f"
29940 # Sed expression to map a string onto a valid CPP name.
29941 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29943 # Sed expression to map a string onto a valid variable name.
29944 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29948 # We need space, tab and new line, in precisely that order.
29958 # Open the log real soon, to keep \$[0] and so on meaningful, and to
29959 # report actual input values of CONFIG_FILES etc. instead of their
29960 # values after options handling. Logging --version etc. is OK.
29964 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29965 ## Running $as_me. ##
29970 This file was extended by llvm $as_me 1.4, which was
29971 generated by GNU Autoconf 2.59. Invocation command line was
29973 CONFIG_FILES = $CONFIG_FILES
29974 CONFIG_HEADERS = $CONFIG_HEADERS
29975 CONFIG_LINKS = $CONFIG_LINKS
29976 CONFIG_COMMANDS = $CONFIG_COMMANDS
29980 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29984 # Files that config.status was made for.
29985 if test -n "$ac_config_files"; then
29986 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29989 if test -n "$ac_config_headers"; then
29990 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29993 if test -n "$ac_config_links"; then
29994 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29997 if test -n "$ac_config_commands"; then
29998 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30001 cat >>$CONFIG_STATUS <<\_ACEOF
30004 \`$as_me' instantiates files from templates according to the
30005 current configuration.
30007 Usage: $0 [OPTIONS] [FILE]...
30009 -h, --help print this help, then exit
30010 -V, --version print version number, then exit
30011 -q, --quiet do not print progress messages
30012 -d, --debug don't remove temporary files
30013 --recheck update $as_me by reconfiguring in the same conditions
30014 --file=FILE[:TEMPLATE]
30015 instantiate the configuration file FILE
30016 --header=FILE[:TEMPLATE]
30017 instantiate the configuration header FILE
30019 Configuration files:
30022 Configuration headers:
30025 Configuration links:
30028 Configuration commands:
30031 Report bugs to <bug-autoconf@gnu.org>."
30034 cat >>$CONFIG_STATUS <<_ACEOF
30036 llvm config.status 1.4
30037 configured by $0, generated by GNU Autoconf 2.59,
30038 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30040 Copyright (C) 2003 Free Software Foundation, Inc.
30041 This config.status script is free software; the Free Software Foundation
30042 gives unlimited permission to copy, distribute and modify it."
30047 cat >>$CONFIG_STATUS <<\_ACEOF
30048 # If no file are specified by the user, then we need to provide default
30049 # value. By we need to know if files were specified by the user.
30055 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
30056 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
30064 *) # This is not an option, so the user has probably given explicit
30067 ac_need_defaults
=false
;;
30071 # Handling of the options.
30073 cat >>$CONFIG_STATUS <<\_ACEOF
30074 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
30076 --version |
--vers* |
-V )
30077 echo "$ac_cs_version"; exit 0 ;;
30079 # Conflict between --help and --header
30080 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30081 Try \`$0 --help' for more information." >&5
30082 echo "$as_me: error: ambiguous option: $1
30083 Try \`$0 --help' for more information." >&2;}
30084 { (exit 1); exit 1; }; };;
30085 --help |
--hel |
-h )
30086 echo "$ac_cs_usage"; exit 0 ;;
30087 --debug |
--d* |
-d )
30089 --file |
--fil |
--fi |
--f )
30091 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
30092 ac_need_defaults
=false
;;
30093 --header |
--heade |
--head |
--hea )
30095 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
30096 ac_need_defaults
=false
;;
30097 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
30098 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
30101 # This is an error.
30102 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30103 Try \`$0 --help' for more information." >&5
30104 echo "$as_me: error: unrecognized option: $1
30105 Try \`$0 --help' for more information." >&2;}
30106 { (exit 1); exit 1; }; } ;;
30108 *) ac_config_targets
="$ac_config_targets $1" ;;
30114 ac_configure_extra_args
=
30116 if $ac_cs_silent; then
30118 ac_configure_extra_args
="$ac_configure_extra_args --silent"
30122 cat >>$CONFIG_STATUS <<_ACEOF
30123 if \$ac_cs_recheck; then
30124 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30125 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30130 cat >>$CONFIG_STATUS <<_ACEOF
30132 # INIT-COMMANDS section.
30135 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
30136 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
30137 ${srcdir}/autoconf/mkinstalldirs `dirname examples/Makefile`
30138 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
30139 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
30140 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
30141 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
30142 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
30143 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
30144 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
30145 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
30146 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
30152 cat >>$CONFIG_STATUS <<\_ACEOF
30153 for ac_config_target
in $ac_config_targets
30155 case "$ac_config_target" in
30156 # Handling of arguments.
30157 "Makefile.config" ) CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
30158 "tools/llvmc/st" ) CONFIG_FILES
="$CONFIG_FILES tools/llvmc/st" ;;
30159 "tools/llvmc/cpp" ) CONFIG_FILES
="$CONFIG_FILES tools/llvmc/cpp" ;;
30160 "tools/llvmc/ll" ) CONFIG_FILES
="$CONFIG_FILES tools/llvmc/ll" ;;
30161 "tools/llvmc/c" ) CONFIG_FILES
="$CONFIG_FILES tools/llvmc/c" ;;
30162 "docs/doxygen.cfg" ) CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
30163 "lib/System/platform" ) CONFIG_LINKS
="$CONFIG_LINKS lib/System/platform:lib/System/$llvm_cv_platform_type" ;;
30164 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
30165 "Makefile.common" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
30166 "examples/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
30167 "lib/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
30168 "runtime/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
30169 "test/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
30170 "test/Makefile.tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
30171 "test/QMTest/llvm.py" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
30172 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
30173 "tools/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
30174 "utils/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
30175 "projects/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
30176 "include/llvm/Config/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
30177 "include/llvm/Support/DataTypes.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
30178 "include/llvm/ADT/hash_map" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_map" ;;
30179 "include/llvm/ADT/hash_set" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_set" ;;
30180 "include/llvm/Support/ThreadSupport.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/ThreadSupport.h" ;;
30181 "include/llvm/ADT/iterator" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator" ;;
30182 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30183 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30184 { (exit 1); exit 1; }; };;
30188 # If the user did not use the arguments to specify the items to instantiate,
30189 # then the envvar interface is used. Set only those that are not.
30190 # We use the long form for the default assignment because of an extremely
30191 # bizarre bug on SunOS 4.1.3.
30192 if $ac_need_defaults; then
30193 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30194 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
30195 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
30196 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
30199 # Have a temporary directory for convenience. Make it in the build tree
30200 # simply because there is no reason to put it here, and in addition,
30201 # creating and moving files from /tmp can sometimes cause problems.
30202 # Create a temporary directory, and hook for its removal unless debugging.
30205 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30206 trap '{ (exit 1); exit 1; }' 1 2 13 15
30209 # Create a (secure) tmp directory for tmp files.
30212 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30213 test -n "$tmp" && test -d "$tmp"
30216 tmp
=.
/confstat$$
-$RANDOM
30217 (umask 077 && mkdir
$tmp)
30220 echo "$me: cannot create a temporary directory in ." >&2
30221 { (exit 1); exit 1; }
30226 cat >>$CONFIG_STATUS <<_ACEOF
30229 # CONFIG_FILES section.
30232 # No need to generate the scripts if there are no CONFIG_FILES.
30233 # This happens for instance when ./config.status config.h
30234 if test -n "\$CONFIG_FILES"; then
30235 # Protect against being on the right side of a sed subst in config.status.
30236 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30237 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30238 s,@SHELL@,$SHELL,;t t
30239 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30240 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30241 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30242 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30243 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30244 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30245 s,@exec_prefix@,$exec_prefix,;t t
30246 s,@prefix@,$prefix,;t t
30247 s,@program_transform_name@,$program_transform_name,;t t
30248 s,@bindir@,$bindir,;t t
30249 s,@sbindir@,$sbindir,;t t
30250 s,@libexecdir@,$libexecdir,;t t
30251 s,@datadir@,$datadir,;t t
30252 s,@sysconfdir@,$sysconfdir,;t t
30253 s,@sharedstatedir@,$sharedstatedir,;t t
30254 s,@localstatedir@,$localstatedir,;t t
30255 s,@libdir@,$libdir,;t t
30256 s,@includedir@,$includedir,;t t
30257 s,@oldincludedir@,$oldincludedir,;t t
30258 s,@infodir@,$infodir,;t t
30259 s,@mandir@,$mandir,;t t
30260 s,@build_alias@,$build_alias,;t t
30261 s,@host_alias@,$host_alias,;t t
30262 s,@target_alias@,$target_alias,;t t
30263 s,@DEFS@,$DEFS,;t t
30264 s,@ECHO_C@,$ECHO_C,;t t
30265 s,@ECHO_N@,$ECHO_N,;t t
30266 s,@ECHO_T@,$ECHO_T,;t t
30267 s,@LIBS@,$LIBS,;t t
30268 s,@LLVM_COPYRIGHT@,$LLVM_COPYRIGHT,;t t
30269 s,@subdirs@,$subdirs,;t t
30270 s,@build@,$build,;t t
30271 s,@build_cpu@,$build_cpu,;t t
30272 s,@build_vendor@,$build_vendor,;t t
30273 s,@build_os@,$build_os,;t t
30274 s,@host@,$host,;t t
30275 s,@host_cpu@,$host_cpu,;t t
30276 s,@host_vendor@,$host_vendor,;t t
30277 s,@host_os@,$host_os,;t t
30278 s,@target@,$target,;t t
30279 s,@target_cpu@,$target_cpu,;t t
30280 s,@target_vendor@,$target_vendor,;t t
30281 s,@target_os@,$target_os,;t t
30283 s,@ARCH@,$ARCH,;t t
30284 s,@ENDIAN@,$ENDIAN,;t t
30286 s,@CFLAGS@,$CFLAGS,;t t
30287 s,@LDFLAGS@,$LDFLAGS,;t t
30288 s,@CPPFLAGS@,$CPPFLAGS,;t t
30289 s,@ac_ct_CC@,$ac_ct_CC,;t t
30290 s,@EXEEXT@,$EXEEXT,;t t
30291 s,@OBJEXT@,$OBJEXT,;t t
30292 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
30294 s,@ENABLE_DOXYGEN@,$ENABLE_DOXYGEN,;t t
30295 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
30298 s,@CXXFLAGS@,$CXXFLAGS,;t t
30299 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30301 s,@LEXLIB@,$LEXLIB,;t t
30302 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
30303 s,@FLEX@,$FLEX,;t t
30304 s,@YACC@,$YACC,;t t
30305 s,@BISON@,$BISON,;t t
30306 s,@ifGNUmake@,$ifGNUmake,;t t
30307 s,@LN_S@,$LN_S,;t t
30308 s,@DATE@,$DATE,;t t
30309 s,@FIND@,$FIND,;t t
30310 s,@GREP@,$GREP,;t t
30311 s,@MKDIR@,$MKDIR,;t t
30314 s,@RANLIB@,$RANLIB,;t t
30315 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
30319 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30320 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30321 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30322 s,@BZIP2@,$BZIP2,;t t
30324 s,@DOXYGEN@,$DOXYGEN,;t t
30325 s,@ETAGS@,$ETAGS,;t t
30326 s,@GROFF@,$GROFF,;t t
30327 s,@GZIP@,$GZIP,;t t
30328 s,@POD2HTML@,$POD2HTML,;t t
30329 s,@POD2MAN@,$POD2MAN,;t t
30330 s,@PYTHON@,$PYTHON,;t t
30331 s,@QMTEST@,$QMTEST,;t t
30332 s,@RUNTEST@,$RUNTEST,;t t
30333 s,@TCLSH@,$TCLSH,;t t
30335 s,@EGREP@,$EGREP,;t t
30336 s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
30337 s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
30338 s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
30339 s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
30340 s,@LIBADD_DL@,$LIBADD_DL,;t t
30341 s,@ECHO@,$ECHO,;t t
30343 s,@ac_ct_AR@,$ac_ct_AR,;t t
30344 s,@STRIP@,$STRIP,;t t
30345 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
30346 s,@CXXCPP@,$CXXCPP,;t t
30348 s,@FFLAGS@,$FFLAGS,;t t
30349 s,@ac_ct_F77@,$ac_ct_F77,;t t
30350 s,@LIBTOOL@,$LIBTOOL,;t t
30351 s,@ETAGSFLAGS@,$ETAGSFLAGS,;t t
30352 s,@ALLOCA@,$ALLOCA,;t t
30353 s,@MMAP_FILE@,$MMAP_FILE,;t t
30354 s,@LLVMGCC@,$LLVMGCC,;t t
30355 s,@LLVMCC1@,$LLVMCC1,;t t
30356 s,@LLVMCC1PLUS@,$LLVMCC1PLUS,;t t
30357 s,@SHLIBEXT@,$SHLIBEXT,;t t
30358 s,@LLVM_PREFIX@,$LLVM_PREFIX,;t t
30359 s,@LLVM_BINDIR@,$LLVM_BINDIR,;t t
30360 s,@LLVM_LIBDIR@,$LLVM_LIBDIR,;t t
30361 s,@LLVM_DATADIR@,$LLVM_DATADIR,;t t
30362 s,@LLVM_DOCSDIR@,$LLVM_DOCSDIR,;t t
30363 s,@LLVM_ETCDIR@,$LLVM_ETCDIR,;t t
30364 s,@LLVM_INCLUDEDIR@,$LLVM_INCLUDEDIR,;t t
30365 s,@LLVM_INFODIR@,$LLVM_INFODIR,;t t
30366 s,@LLVM_MANDIR@,$LLVM_MANDIR,;t t
30367 s,@LLVM_CONFIGTIME@,$LLVM_CONFIGTIME,;t t
30368 s,@LIBOBJS@,$LIBOBJS,;t t
30369 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
30374 cat >>$CONFIG_STATUS <<\_ACEOF
30375 # Split the substitutions into bite-sized pieces for seds with
30376 # small command number limits, like on Digital OSF/1 and HP-UX.
30377 ac_max_sed_lines
=48
30378 ac_sed_frag
=1 # Number of current file.
30379 ac_beg
=1 # First line for current file.
30380 ac_end
=$ac_max_sed_lines # Line after last line for current file.
30383 while $ac_more_lines; do
30384 if test $ac_beg -gt 1; then
30385 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
30387 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
30389 if test ! -s $tmp/subs.frag
; then
30390 ac_more_lines
=false
30392 # The purpose of the label and of the branching condition is to
30393 # speed up the sed processing (if there are no `@' at all, there
30394 # is no need to browse any of the substitutions).
30395 # These are the two extra sed commands mentioned above.
30397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
30398 if test -z "$ac_sed_cmds"; then
30399 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
30401 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
30403 ac_sed_frag
=`expr $ac_sed_frag + 1`
30405 ac_end
=`expr $ac_end + $ac_max_sed_lines`
30408 if test -z "$ac_sed_cmds"; then
30411 fi # test -n "$CONFIG_FILES"
30414 cat >>$CONFIG_STATUS <<\_ACEOF
30415 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
30416 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30418 - |
*:- |
*:-:* ) # input from stdin
30420 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30421 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30422 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30423 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30424 * ) ac_file_in
=$ac_file.
in ;;
30427 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
30428 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30430 X"$ac_file" : 'X\(//\)[^/]' \| \
30431 X"$ac_file" : 'X\(//\)$' \| \
30432 X"$ac_file" : 'X\(/\)' \| \
30433 . : '\(.\)' 2>/dev/null ||
30435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30437 /^X\(\/\/\)$/{ s//\1/; q; }
30438 /^X\(\/\).*/{ s//\1/; q; }
30440 { if $as_mkdir_p; then
30445 while test ! -d "$as_dir"; do
30446 as_dirs
="$as_dir $as_dirs"
30447 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30449 X"$as_dir" : 'X\(//\)[^/]' \| \
30450 X"$as_dir" : 'X\(//\)$' \| \
30451 X"$as_dir" : 'X\(/\)' \| \
30452 . : '\(.\)' 2>/dev/null ||
30454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30456 /^X\(\/\/\)$/{ s//\1/; q; }
30457 /^X\(\/\).*/{ s//\1/; q; }
30460 test ! -n "$as_dirs" || mkdir
$as_dirs
30461 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30462 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30463 { (exit 1); exit 1; }; }; }
30467 if test "$ac_dir" != .
; then
30468 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30469 # A "../" for each directory in $ac_dir_suffix.
30470 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30472 ac_dir_suffix
= ac_top_builddir
=
30476 .
) # No --srcdir option. We are building in place.
30478 if test -z "$ac_top_builddir"; then
30481 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30483 [\\/]* | ?
:[\\/]* ) # Absolute path.
30484 ac_srcdir
=$srcdir$ac_dir_suffix;
30485 ac_top_srcdir
=$srcdir ;;
30486 *) # Relative path.
30487 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30488 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30491 # Do not use `cd foo && pwd` to compute absolute paths, because
30492 # the directories may not exist.
30494 .
) ac_abs_builddir
="$ac_dir";;
30497 .
) ac_abs_builddir
=`pwd`;;
30498 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30499 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30502 case $ac_abs_builddir in
30503 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30505 case ${ac_top_builddir}.
in
30506 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30507 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30508 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30511 case $ac_abs_builddir in
30512 .
) ac_abs_srcdir
=$ac_srcdir;;
30515 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30516 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30517 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30520 case $ac_abs_builddir in
30521 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30523 case $ac_top_srcdir in
30524 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30525 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30526 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30532 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
30533 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
30536 if test x
"$ac_file" != x-
; then
30537 { echo "$as_me:$LINENO: creating $ac_file" >&5
30538 echo "$as_me: creating $ac_file" >&6;}
30541 # Let's still pretend it is `configure' which instantiates (i.e., don't
30542 # use $as_me), people would be surprised to read:
30543 # /* config.h. Generated by config.status. */
30544 if test x
"$ac_file" = x-
; then
30547 configure_input
="$ac_file. "
30549 configure_input
=$configure_input"Generated from `echo $ac_file_in |
30550 sed 's,.*/,,'` by configure."
30552 # First look for the input files in the build tree, otherwise in the
30554 ac_file_inputs
=`IFS=:
30555 for f in $ac_file_in; do
30557 -) echo $tmp/stdin ;;
30559 # Absolute (can't be DOS-style, as IFS=:)
30560 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30561 echo "$as_me: error: cannot find input file: $f" >&2;}
30562 { (exit 1); exit 1; }; }
30565 if test -f "$f"; then
30568 elif test -f "$srcdir/$f"; then
30573 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30574 echo "$as_me: error: cannot find input file: $f" >&2;}
30575 { (exit 1); exit 1; }; }
30578 done` ||
{ (exit 1); exit 1; }
30580 cat >>$CONFIG_STATUS <<_ACEOF
30584 cat >>$CONFIG_STATUS <<\_ACEOF
30586 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
30587 s
,@configure_input@
,$configure_input,;t t
30588 s
,@srcdir@
,$ac_srcdir,;t t
30589 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
30590 s
,@top_srcdir@
,$ac_top_srcdir,;t t
30591 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
30592 s
,@builddir@
,$ac_builddir,;t t
30593 s
,@abs_builddir@
,$ac_abs_builddir,;t t
30594 s
,@top_builddir@
,$ac_top_builddir,;t t
30595 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
30596 s
,@INSTALL@
,$ac_INSTALL,;t t
30597 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30599 if test x"$ac_file" != x-; then
30600 mv $tmp/out $ac_file
30608 cat >>$CONFIG_STATUS <<\_ACEOF
30611 # CONFIG_HEADER section.
30614 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
30615 # NAME is the cpp macro being defined and VALUE is the value it is being given.
30617 # ac_d sets the value in "#define NAME VALUE" lines.
30618 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30619 ac_dB
='[ ].*$,\1#\2'
30622 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30623 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30624 ac_uB
='$,\1#\2define\3'
30628 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
30629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30631 - |
*:- |
*:-:* ) # input from stdin
30633 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30634 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30635 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30636 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30637 * ) ac_file_in
=$ac_file.
in ;;
30640 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
30641 echo "$as_me: creating $ac_file" >&6;}
30643 # First look for the input files in the build tree, otherwise in the
30645 ac_file_inputs
=`IFS=:
30646 for f in $ac_file_in; do
30648 -) echo $tmp/stdin ;;
30650 # Absolute (can't be DOS-style, as IFS=:)
30651 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30652 echo "$as_me: error: cannot find input file: $f" >&2;}
30653 { (exit 1); exit 1; }; }
30654 # Do quote $f, to prevent DOS paths from being IFS'd.
30657 if test -f "$f"; then
30660 elif test -f "$srcdir/$f"; then
30665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30666 echo "$as_me: error: cannot find input file: $f" >&2;}
30667 { (exit 1); exit 1; }; }
30670 done` ||
{ (exit 1); exit 1; }
30671 # Remove the trailing spaces.
30672 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30676 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30677 # `conftest.undefs', that substitutes the proper values into
30678 # config.h.in to produce config.h. The first handles `#define'
30679 # templates, and the second `#undef' templates.
30680 # And first: Protect against being on the right side of a sed subst in
30681 # config.status. Protect against being in an unquoted here document
30682 # in config.status.
30683 rm -f conftest.defines conftest.undefs
30684 # Using a here document instead of a string reduces the quoting nightmare.
30685 # Putting comments in sed scripts is not portable.
30687 # `end' is used to avoid that the second main sed command (meant for
30688 # 0-ary CPP macros) applies to n-ary macro definitions.
30689 # See the Autoconf documentation for `clear'.
30690 cat >confdef2sed.
sed <<\_ACEOF
30695 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30697 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30700 # If some macros were called several times there might be several times
30701 # the same #defines, which is useless. Nevertheless, we may not want to
30702 # sort them, since we want the *last* AC-DEFINE to be honored.
30703 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30704 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30705 rm -f confdef2sed.sed
30707 # This sed command replaces #undef with comments. This is necessary, for
30708 # example, in the case of _POSIX_SOURCE, which is predefined and required
30709 # on some systems where configure will not decide to define it.
30710 cat >>conftest.undefs <<\_ACEOF
30711 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30714 # Break up conftest.defines because some shells have a limit on the size
30715 # of here documents, and old seds have small limits too (100 cmds).
30716 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30717 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30718 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30719 echo ' :' >>$CONFIG_STATUS
30720 rm -f conftest.tail
30721 while grep . conftest.defines >/dev/null
30723 # Write a limited-size here document to $tmp/defines.sed.
30724 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30725 # Speed up: don't consider the non `#define' lines.
30726 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30727 # Work around the forget-to-reset-the-flag bug.
30728 echo 't clr' >>$CONFIG_STATUS
30729 echo ': clr' >>$CONFIG_STATUS
30730 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
30732 sed -f $tmp/defines.sed $tmp/in >$tmp/out
30734 mv $tmp/out $tmp/in
30736 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
30737 rm -f conftest.defines
30738 mv conftest.
tail conftest.defines
30740 rm -f conftest.defines
30741 echo ' fi # grep' >>$CONFIG_STATUS
30742 echo >>$CONFIG_STATUS
30744 # Break up conftest.undefs because some shells have a limit on the size
30745 # of here documents, and old seds have small limits too (100 cmds).
30746 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30747 rm -f conftest.
tail
30748 while grep . conftest.undefs
>/dev
/null
30750 # Write a limited-size here document to $tmp/undefs.sed.
30751 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30752 # Speed up: don't consider the non
`#undef'
30753 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30754 # Work around the forget-to-reset-the-flag bug.
30755 echo 't clr' >>$CONFIG_STATUS
30756 echo ': clr' >>$CONFIG_STATUS
30757 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30759 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30761 mv $tmp/out $tmp/in
30763 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30764 rm -f conftest.undefs
30765 mv conftest.tail conftest.undefs
30767 rm -f conftest.undefs
30769 cat >>$CONFIG_STATUS <<\_ACEOF
30770 # Let's still pretend it is `configure
' which instantiates (i.e., don't
30771 # use $as_me), people would be surprised to read:
30772 # /* config.h. Generated by config.status. */
30773 if test x
"$ac_file" = x-
; then
30774 echo "/* Generated by configure. */" >$tmp/config.h
30776 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30778 cat $tmp/in >>$tmp/config.h
30780 if test x
"$ac_file" != x-
; then
30781 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
30782 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30783 echo "$as_me: $ac_file is unchanged" >&6;}
30785 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30787 X"$ac_file" : 'X\(//\)[^/]' \| \
30788 X"$ac_file" : 'X\(//\)$' \| \
30789 X"$ac_file" : 'X\(/\)' \| \
30790 . : '\(.\)' 2>/dev/null ||
30792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30794 /^X\(\/\/\)$/{ s//\1/; q; }
30795 /^X\(\/\).*/{ s//\1/; q; }
30797 { if $as_mkdir_p; then
30802 while test ! -d "$as_dir"; do
30803 as_dirs
="$as_dir $as_dirs"
30804 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30806 X"$as_dir" : 'X\(//\)[^/]' \| \
30807 X"$as_dir" : 'X\(//\)$' \| \
30808 X"$as_dir" : 'X\(/\)' \| \
30809 . : '\(.\)' 2>/dev/null ||
30811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30813 /^X\(\/\/\)$/{ s//\1/; q; }
30814 /^X\(\/\).*/{ s//\1/; q; }
30817 test ! -n "$as_dirs" || mkdir
$as_dirs
30818 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30820 { (exit 1); exit 1; }; }; }
30823 mv $tmp/config.h
$ac_file
30827 rm -f $tmp/config.h
30831 cat >>$CONFIG_STATUS <<\_ACEOF
30834 # CONFIG_LINKS section.
30837 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
30838 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30839 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30841 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
30842 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
30844 if test ! -r $srcdir/$ac_source; then
30845 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
30846 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
30847 { (exit 1); exit 1; }; }
30851 # Make relative symlinks.
30852 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30853 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30854 X"$ac_dest" : 'X\(//\)[^/]' \| \
30855 X"$ac_dest" : 'X\(//\)$' \| \
30856 X"$ac_dest" : 'X\(/\)' \| \
30857 . : '\(.\)' 2>/dev/null ||
30859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30861 /^X\(\/\/\)$/{ s//\1/; q; }
30862 /^X\(\/\).*/{ s//\1/; q; }
30864 { if $as_mkdir_p; then
30865 mkdir
-p "$ac_dest_dir"
30867 as_dir
="$ac_dest_dir"
30869 while test ! -d "$as_dir"; do
30870 as_dirs
="$as_dir $as_dirs"
30871 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30873 X"$as_dir" : 'X\(//\)[^/]' \| \
30874 X"$as_dir" : 'X\(//\)$' \| \
30875 X"$as_dir" : 'X\(/\)' \| \
30876 . : '\(.\)' 2>/dev/null ||
30878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30880 /^X\(\/\/\)$/{ s//\1/; q; }
30881 /^X\(\/\).*/{ s//\1/; q; }
30884 test ! -n "$as_dirs" || mkdir
$as_dirs
30885 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
30886 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
30887 { (exit 1); exit 1; }; }; }
30891 if test "$ac_dest_dir" != .
; then
30892 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
30893 # A "../" for each directory in $ac_dir_suffix.
30894 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30896 ac_dir_suffix
= ac_top_builddir
=
30900 .
) # No --srcdir option. We are building in place.
30902 if test -z "$ac_top_builddir"; then
30905 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30907 [\\/]* | ?
:[\\/]* ) # Absolute path.
30908 ac_srcdir
=$srcdir$ac_dir_suffix;
30909 ac_top_srcdir
=$srcdir ;;
30910 *) # Relative path.
30911 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30912 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30915 # Do not use `cd foo && pwd` to compute absolute paths, because
30916 # the directories may not exist.
30918 .
) ac_abs_builddir
="$ac_dest_dir";;
30920 case "$ac_dest_dir" in
30921 .
) ac_abs_builddir
=`pwd`;;
30922 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
30923 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
30926 case $ac_abs_builddir in
30927 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30929 case ${ac_top_builddir}.
in
30930 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30931 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30932 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30935 case $ac_abs_builddir in
30936 .
) ac_abs_srcdir
=$ac_srcdir;;
30939 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30940 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30941 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30944 case $ac_abs_builddir in
30945 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30947 case $ac_top_srcdir in
30948 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30949 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30950 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30956 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
30957 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
30960 # Try a symlink, then a hard link, then a copy.
30961 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
30962 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
30963 cp -p $srcdir/$ac_source $ac_dest ||
30964 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
30965 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
30966 { (exit 1); exit 1; }; }
30969 cat >>$CONFIG_STATUS <<\_ACEOF
30972 # CONFIG_COMMANDS section.
30974 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30975 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30976 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30977 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30978 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30979 X"$ac_dest" : 'X\(//\)[^/]' \| \
30980 X"$ac_dest" : 'X\(//\)$' \| \
30981 X"$ac_dest" : 'X\(/\)' \| \
30982 . : '\(.\)' 2>/dev/null ||
30984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30985 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30986 /^X\(\/\/\)$/{ s//\1/; q; }
30987 /^X\(\/\).*/{ s//\1/; q; }
30989 { if $as_mkdir_p; then
30994 while test ! -d "$as_dir"; do
30995 as_dirs
="$as_dir $as_dirs"
30996 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30997 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30998 X"$as_dir" : 'X\(//\)[^/]' \| \
30999 X"$as_dir" : 'X\(//\)$' \| \
31000 X"$as_dir" : 'X\(/\)' \| \
31001 . : '\(.\)' 2>/dev/null ||
31003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31004 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31005 /^X\(\/\/\)$/{ s//\1/; q; }
31006 /^X\(\/\).*/{ s//\1/; q; }
31009 test ! -n "$as_dirs" || mkdir
$as_dirs
31010 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31011 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31012 { (exit 1); exit 1; }; }; }
31016 if test "$ac_dir" != .
; then
31017 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31018 # A "../" for each directory in $ac_dir_suffix.
31019 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31021 ac_dir_suffix
= ac_top_builddir
=
31025 .
) # No --srcdir option. We are building in place.
31027 if test -z "$ac_top_builddir"; then
31030 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31032 [\\/]* | ?
:[\\/]* ) # Absolute path.
31033 ac_srcdir
=$srcdir$ac_dir_suffix;
31034 ac_top_srcdir
=$srcdir ;;
31035 *) # Relative path.
31036 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31037 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31040 # Do not use `cd foo && pwd` to compute absolute paths, because
31041 # the directories may not exist.
31043 .
) ac_abs_builddir
="$ac_dir";;
31046 .
) ac_abs_builddir
=`pwd`;;
31047 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31048 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31051 case $ac_abs_builddir in
31052 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31054 case ${ac_top_builddir}.
in
31055 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31056 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31057 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31060 case $ac_abs_builddir in
31061 .
) ac_abs_srcdir
=$ac_srcdir;;
31064 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31065 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31066 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31069 case $ac_abs_builddir in
31070 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31072 case $ac_top_srcdir in
31073 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31074 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31075 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31080 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31081 echo "$as_me: executing $ac_dest commands" >&6;}
31083 Makefile
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
31084 Makefile.common
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
31085 examples
/Makefile
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
31086 lib
/Makefile
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
31087 runtime
/Makefile
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
31088 test
/Makefile
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
31089 test
/Makefile.tests
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
31090 test
/QMTest
/llvm.py
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test
/QMTest
/llvm.py test
/QMTest
/llvm.py
;;
31091 test
/QMTest
/llvmdb.py
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test
/QMTest
/llvmdb.py test
/QMTest
/llvmdb.py
;;
31092 tools
/Makefile
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
31093 utils
/Makefile
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
31094 projects
/Makefile
) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
31099 cat >>$CONFIG_STATUS <<\_ACEOF
31101 { (exit 0); exit 0; }
31103 chmod +x
$CONFIG_STATUS
31104 ac_clean_files
=$ac_clean_files_save
31107 # configure is writing to config.log, and then calls config.status.
31108 # config.status does its own redirection, appending to config.log.
31109 # Unfortunately, on DOS this fails, as config.log is still kept open
31110 # by configure, so config.status won't be able to write to it; its
31111 # output is simply discarded. So we exec the FD to /dev/null,
31112 # effectively closing config.log, so it can be properly (re)opened and
31113 # appended to by config.status. When coming back to configure, we
31114 # need to make the FD available again.
31115 if test "$no_create" != yes; then
31117 ac_config_status_args
=
31118 test "$silent" = yes &&
31119 ac_config_status_args
="$ac_config_status_args --quiet"
31121 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31123 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31124 # would make configure fail if this is the last instruction.
31125 $ac_cs_success ||
{ (exit 1); exit 1; }
31129 # CONFIG_SUBDIRS section.
31131 if test "$no_recursion" != yes; then
31133 # Remove --cache-file and --srcdir arguments so they do not pile up.
31134 ac_sub_configure_args
=
31136 for ac_arg
in $ac_configure_args; do
31137 if test -n "$ac_prev"; then
31142 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31143 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31144 ac_prev
=cache_file
;;
31145 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31146 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31149 --config-cache |
-C)
31151 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31153 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31155 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31157 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31159 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
31163 # Always prepend --prefix to ensure using the same prefix
31164 # in subdir configurations.
31165 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
31168 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31170 # Do not complain, so a configure script can configure whichever
31171 # parts of a large source tree are present.
31172 test -d $srcdir/$ac_dir ||
continue
31174 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31175 echo "$as_me: configuring in $ac_dir" >&6;}
31176 { if $as_mkdir_p; then
31181 while test ! -d "$as_dir"; do
31182 as_dirs
="$as_dir $as_dirs"
31183 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31184 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31185 X"$as_dir" : 'X\(//\)[^/]' \| \
31186 X"$as_dir" : 'X\(//\)$' \| \
31187 X"$as_dir" : 'X\(/\)' \| \
31188 . : '\(.\)' 2>/dev/null ||
31190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31192 /^X\(\/\/\)$/{ s//\1/; q; }
31193 /^X\(\/\).*/{ s//\1/; q; }
31196 test ! -n "$as_dirs" || mkdir
$as_dirs
31197 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31198 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31199 { (exit 1); exit 1; }; }; }
31203 if test "$ac_dir" != .
; then
31204 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31205 # A "../" for each directory in $ac_dir_suffix.
31206 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31208 ac_dir_suffix
= ac_top_builddir
=
31212 .
) # No --srcdir option. We are building in place.
31214 if test -z "$ac_top_builddir"; then
31217 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31219 [\\/]* | ?
:[\\/]* ) # Absolute path.
31220 ac_srcdir
=$srcdir$ac_dir_suffix;
31221 ac_top_srcdir
=$srcdir ;;
31222 *) # Relative path.
31223 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31224 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31227 # Do not use `cd foo && pwd` to compute absolute paths, because
31228 # the directories may not exist.
31230 .
) ac_abs_builddir
="$ac_dir";;
31233 .
) ac_abs_builddir
=`pwd`;;
31234 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31235 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31238 case $ac_abs_builddir in
31239 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31241 case ${ac_top_builddir}.
in
31242 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31243 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31244 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31247 case $ac_abs_builddir in
31248 .
) ac_abs_srcdir
=$ac_srcdir;;
31251 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31252 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31253 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31256 case $ac_abs_builddir in
31257 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31259 case $ac_top_srcdir in
31260 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31261 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31262 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31269 # Check for guested configure; otherwise get Cygnus style configure.
31270 if test -f $ac_srcdir/configure.gnu
; then
31271 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
31272 elif test -f $ac_srcdir/configure
; then
31273 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
31274 elif test -f $ac_srcdir/configure.
in; then
31275 ac_sub_configure
=$ac_configure
31277 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31278 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31282 # The recursion is here.
31283 if test -n "$ac_sub_configure"; then
31284 # Make the cache file name correct relative to the subdirectory.
31285 case $cache_file in
31286 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31287 *) # Relative path.
31288 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31291 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31292 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31293 # The eval makes quoting arguments work.
31294 eval $ac_sub_configure $ac_sub_configure_args \
31295 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
31296 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31297 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31298 { (exit 1); exit 1; }; }
31306 if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
31307 { echo "$as_me:$LINENO: WARNING: ***** llvm C/C++ front end was not found, or does not" >&5
31308 echo "$as_me: WARNING: ***** llvm C/C++ front end was not found, or does not" >&2;}
31309 { echo "$as_me:$LINENO: WARNING: ***** appear to be working." >&5
31310 echo "$as_me: WARNING: ***** appear to be working." >&2;}
31311 { echo "$as_me:$LINENO: WARNING: ***** " >&5
31312 echo "$as_me: WARNING: ***** " >&2;}
31313 { echo "$as_me:$LINENO: WARNING: ***** Please check configure's --with-llvmgccdir option." >&5
31314 echo "$as_me: WARNING: ***** Please check configure's --with-llvmgccdir option." >&2;}
31315 { echo "$as_me:$LINENO: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&5
31316 echo "$as_me: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&2;}
31317 { echo "$as_me:$LINENO: WARNING: ***** but you should be able to build the llvm tools." >&5
31318 echo "$as_me: WARNING: ***** but you should be able to build the llvm tools." >&2;}