2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for llvm 1.5cvs.
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.5cvs'
429 PACKAGE_STRING
='llvm 1.5cvs'
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/llvm-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/llvm-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 LLVM_ON_UNIX LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT ENABLE_OPTIMIZED JIT ENABLE_DOXYGEN TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN 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 LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 LLVMCC1PLUS LLVMGCCDIR 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.5cvs 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.5cvs:";;
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-target Build specific
host targets
:
1041 all
,host-only
,{target-name
} (default
=all
)
1042 --enable-ltdl-install install libltdl
1043 --enable-shared[=PKGS
]
1044 build shared libraries
[default
=yes]
1045 --enable-static[=PKGS
]
1046 build static libraries
[default
=yes]
1047 --enable-fast-install[=PKGS
]
1048 optimize
for fast installation
[default
=yes]
1049 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1052 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1053 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1054 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1056 --with-tclinclude directory where tcl headers are
1057 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1058 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1061 include additional configurations
[automatic
]
1063 Some influential environment variables
:
1064 CC C compiler
command
1065 CFLAGS C compiler flags
1066 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1067 nonstandard directory
<lib dir
>
1068 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1069 headers
in a nonstandard directory
<include dir
>
1071 CXX C
++ compiler
command
1072 CXXFLAGS C
++ compiler flags
1073 CXXCPP C
++ preprocessor
1074 F77 Fortran
77 compiler
command
1075 FFLAGS Fortran
77 compiler flags
1077 Use these variables to override the choices made by
`configure' or to help
1078 it to find libraries and programs with nonstandard names/locations.
1080 Report bugs to <llvmbugs@cs.uiuc.edu>.
1084 if test "$ac_init_help" = "recursive"; then
1085 # If there are subdirs, report their specific --help.
1087 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1088 test -d $ac_dir || continue
1091 if test "$ac_dir" != .; then
1092 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1093 # A "../" for each directory in $ac_dir_suffix.
1094 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1096 ac_dir_suffix= ac_top_builddir=
1100 .) # No --srcdir option. We are building in place.
1102 if test -z "$ac_top_builddir"; then
1105 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1107 [\\/]* | ?:[\\/]* ) # Absolute path.
1108 ac_srcdir=$srcdir$ac_dir_suffix;
1109 ac_top_srcdir=$srcdir ;;
1111 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1112 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1115 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1116 # the directories may not exist.
1118 .) ac_abs_builddir="$ac_dir";;
1121 .) ac_abs_builddir=`pwd`;;
1122 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1123 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1126 case $ac_abs_builddir in
1127 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1129 case ${ac_top_builddir}. in
1130 .) ac_abs_top_builddir=$ac_abs_builddir;;
1131 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1132 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1135 case $ac_abs_builddir in
1136 .) ac_abs_srcdir=$ac_srcdir;;
1139 .) ac_abs_srcdir=$ac_abs_builddir;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1141 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1144 case $ac_abs_builddir in
1145 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1147 case $ac_top_srcdir in
1148 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1150 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1155 # Check for guested configure; otherwise get Cygnus style configure.
1156 if test -f $ac_srcdir/configure.gnu; then
1158 $SHELL $ac_srcdir/configure.gnu --help=recursive
1159 elif test -f $ac_srcdir/configure; then
1161 $SHELL $ac_srcdir/configure --help=recursive
1162 elif test -f $ac_srcdir/configure.ac ||
1163 test -f $ac_srcdir/configure.in; then
1165 $ac_configure --help
1167 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1173 test -n "$ac_init_help" && exit 0
1174 if $ac_init_version; then
1176 llvm configure 1.5cvs
1177 generated by GNU Autoconf 2.59
1179 Copyright (C) 2003 Free Software Foundation, Inc.
1180 This configure script is free software; the Free Software Foundation
1181 gives unlimited permission to copy, distribute and modify it.
1189 This file contains any messages produced by compilers while
1190 running configure, to aid debugging if configure makes a mistake.
1192 It was created by llvm $as_me 1.5cvs, which was
1193 generated by GNU Autoconf 2.59. Invocation command line was
1204 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1205 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1206 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1207 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1208 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1210 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1211 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1213 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1214 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1215 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1216 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1217 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1218 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1219 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1227 test -z "$as_dir" && as_dir=.
1228 echo "PATH: $as_dir"
1243 # Keep a trace of the command line.
1244 # Strip out --no-create and --no-recursion so they do not pile up.
1245 # Strip out --silent because we don't want to record it for future runs.
1246 # Also quote any args containing shell meta-characters.
1247 # Make two passes to allow for proper duplicate-argument suppression.
1252 ac_must_keep_next=false
1258 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1260 | -silent | --silent | --silen | --sile | --sil)
1262 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1266 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1268 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1269 if test $ac_must_keep_next = true; then
1270 ac_must_keep_next=false # Got value, back to normal.
1273 *=* | --config-cache | -C | -disable-* | --disable-* \
1274 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1275 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1276 | -with-* | --with-* | -without-* | --without-* | --x)
1277 case "$ac_configure_args0 " in
1278 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1281 -* ) ac_must_keep_next=true ;;
1284 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1285 # Get rid of the leading space.
1291 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1292 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1294 # When interrupted or exit'd, cleanup temporary files, and complete
1295 # config.log. We remove comments because anyway the quotes in there
1296 # would cause problems or look ugly.
1297 # WARNING: Be sure not to use single quotes in there, as some shells,
1298 # such as our DU 5.0 friend, will then `close
' the trap.
1299 trap 'exit_status
=$?
1300 # Save into config.log some information that might help in debugging.
1305 ## ---------------- ##
1306 ## Cache variables. ##
1307 ## ---------------- ##
1310 # The following way of writing the cache mishandles newlines in values,
1313 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1316 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1317 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1321 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1328 ## ----------------- ##
1329 ## Output variables. ##
1330 ## ----------------- ##
1333 for ac_var
in $ac_subst_vars
1335 eval ac_val
=$
`echo $ac_var`
1336 echo "$ac_var='"'"'$ac_val'"'"'"
1340 if test -n "$ac_subst_files"; then
1347 for ac_var
in $ac_subst_files
1349 eval ac_val
=$
`echo $ac_var`
1350 echo "$ac_var='"'"'$ac_val'"'"'"
1355 if test -s confdefs.h
; then
1362 sed "/^$/d" confdefs.h |
sort
1365 test "$ac_signal" != 0 &&
1366 echo "$as_me: caught signal $ac_signal"
1367 echo "$as_me: exit $exit_status"
1369 rm -f core
*.core
&&
1370 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1373 for ac_signal in 1 2 13 15; do
1374 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1378 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1379 rm -rf conftest* confdefs.h
1380 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1383 # Predefined preprocessor variables.
1385 cat >>confdefs.h <<_ACEOF
1386 #define PACKAGE_NAME "$PACKAGE_NAME"
1390 cat >>confdefs.h <<_ACEOF
1391 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1395 cat >>confdefs.h <<_ACEOF
1396 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1400 cat >>confdefs.h <<_ACEOF
1401 #define PACKAGE_STRING "$PACKAGE_STRING"
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1410 # Let the site file select an alternate cache file if it wants to.
1411 # Prefer explicitly selected file to automatically selected ones.
1412 if test -z "$CONFIG_SITE"; then
1413 if test "x$prefix" != xNONE; then
1414 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1416 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1419 for ac_site_file in $CONFIG_SITE; do
1420 if test -r "$ac_site_file"; then
1421 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1422 echo "$as_me: loading site script $ac_site_file" >&6;}
1423 sed 's
/^
/|
/' "$ac_site_file" >&5
1428 if test -r "$cache_file"; then
1429 # Some versions of bash will fail to source /dev/null (special
1430 # files actually), so we avoid doing that.
1431 if test -f "$cache_file"; then
1432 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1433 echo "$as_me: loading cache $cache_file" >&6;}
1435 [\\/]* | ?:[\\/]* ) . $cache_file;;
1436 *) . ./$cache_file;;
1440 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1441 echo "$as_me: creating cache $cache_file" >&6;}
1445 # Check that the precious variables saved in the cache have kept the same
1447 ac_cache_corrupted=false
1448 for ac_var in `(set) 2>&1 |
1449 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1450 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1451 eval ac_new_set=\$ac_env_${ac_var}_set
1452 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1453 eval ac_new_val="\$ac_env_${ac_var}_value"
1454 case $ac_old_set,$ac_new_set in
1456 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1457 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1458 ac_cache_corrupted=: ;;
1460 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1461 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1462 ac_cache_corrupted=: ;;
1465 if test "x$ac_old_val" != "x$ac_new_val"; then
1466 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1467 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1468 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1469 echo "$as_me: former value: $ac_old_val" >&2;}
1470 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1471 echo "$as_me: current value: $ac_new_val" >&2;}
1472 ac_cache_corrupted=:
1475 # Pass precious variables to config.status.
1476 if test "$ac_new_set" = set; then
1478 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1479 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1480 *) ac_arg=$ac_var=$ac_new_val ;;
1482 case " $ac_configure_args " in
1483 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1484 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1488 if $ac_cache_corrupted; then
1489 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1490 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1491 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1492 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1493 { (exit 1); exit 1; }; }
1497 ac_cpp='$CPP $CPPFLAGS'
1498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1499 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1529 LLVM_COPYRIGHT="Copyright (c) 2003-2005 U University of Illinois at Urbana-Champaign."
1538 for ac_dir in autoconf $srcdir/autoconf; do
1539 if test -f $ac_dir/install-sh; then
1541 ac_install_sh="$ac_aux_dir/install-sh -c"
1543 elif test -f $ac_dir/install.sh; then
1545 ac_install_sh="$ac_aux_dir/install.sh -c"
1547 elif test -f $ac_dir/shtool; then
1549 ac_install_sh="$ac_aux_dir/shtool install -c"
1553 if test -z "$ac_aux_dir"; then
1554 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1555 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1556 { (exit 1); exit 1; }; }
1558 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1559 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1560 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 if test ${srcdir} != "." ; then
1564 if test -f ${srcdir}/include/llvm/Config/config.h ; then
1565 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1566 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1567 { (exit 1); exit 1; }; }
1571 for i in `ls ${srcdir}/projects`
1573 if test -d ${srcdir}/projects/${i} ; then
1578 subdirs="$subdirs projects/sample"
1582 subdirs="$subdirs projects/Stacker"
1586 subdirs="$subdirs projects/llvm-test"
1590 subdirs="$subdirs projects/llvm-reopt"
1594 subdirs="$subdirs projects/llvm-gcc"
1598 subdirs="$subdirs projects/llvm-java"
1602 subdirs="$subdirs projects/llvm-tv"
1606 subdirs="$subdirs projects/llvm-fefw"
1610 subdirs="$subdirs projects/llvm-poolalloc"
1613 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically
" >&5
1614 echo "$as_me: WARNING
: Unknown project
(${i}) won
't be configured automatically" >&2;}
1621 # Make sure we can run config.sub.
1622 $ac_config_sub sun4 >/dev/null 2>&1 ||
1623 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1624 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1625 { (exit 1); exit 1; }; }
1627 echo "$as_me:$LINENO: checking build system type" >&5
1628 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1629 if test "${ac_cv_build+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 ac_cv_build_alias=$build_alias
1633 test -z "$ac_cv_build_alias" &&
1634 ac_cv_build_alias=`$ac_config_guess`
1635 test -z "$ac_cv_build_alias" &&
1636 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1637 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1638 { (exit 1); exit 1; }; }
1639 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1640 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1641 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1642 { (exit 1); exit 1; }; }
1645 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1646 echo "${ECHO_T}$ac_cv_build" >&6
1648 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1649 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1650 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1653 echo "$as_me:$LINENO: checking host system type" >&5
1654 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1655 if test "${ac_cv_host+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 ac_cv_host_alias=$host_alias
1659 test -z "$ac_cv_host_alias" &&
1660 ac_cv_host_alias=$ac_cv_build_alias
1661 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1662 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1663 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1664 { (exit 1); exit 1; }; }
1667 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1668 echo "${ECHO_T}$ac_cv_host" >&6
1670 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1671 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1672 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1675 echo "$as_me:$LINENO: checking target system type" >&5
1676 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1677 if test "${ac_cv_target+set}" = set; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 ac_cv_target_alias=$target_alias
1681 test "x$ac_cv_target_alias" = "x" &&
1682 ac_cv_target_alias=$ac_cv_host_alias
1683 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1684 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1685 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1686 { (exit 1); exit 1; }; }
1689 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1690 echo "${ECHO_T}$ac_cv_target" >&6
1691 target=$ac_cv_target
1692 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1693 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1694 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1697 # The aliases save the names the user supplied, while $host etc.
1698 # will get canonicalized.
1699 test -n "$target_alias" &&
1700 test "$program_prefix$program_suffix$program_transform_name" = \
1702 program_prefix=${target_alias}-
1704 echo "$as_me:$LINENO: checking type of operating system we're on
" >&5
1705 echo $ECHO_N "checking
type of operating system we
're on... $ECHO_C" >&6
1706 if test "${llvm_cv_os_type+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 llvm_cv_os_type="AIX"
1712 llvm_cv_platform_type="Unix" ;;
1714 llvm_cv_os_type="Cygwin"
1715 llvm_cv_platform_type="Unix" ;;
1717 llvm_cv_os_type="Darwin"
1718 llvm_cv_platform_type="Unix" ;;
1720 llvm_cv_os_type="FreeBSD"
1721 llvm_cv_platform_type="Unix" ;;
1723 llvm_cv_os_type="Interix"
1724 llvm_cv_platform_type="Unix" ;;
1726 llvm_cv_os_type="Linux"
1727 llvm_cv_platform_type="Unix" ;;
1729 llvm_cv_os_type="SunOS"
1730 llvm_cv_platform_type="Unix" ;;
1732 llvm_cv_os_type="Win32"
1733 llvm_cv_platform_type="Win32" ;;
1735 llvm_cv_os_type="MingW"
1736 llvm_cv_platform_type="Win32" ;;
1738 llvm_cv_os_type="Unknown"
1739 llvm_cv_platform_type="Unknown" ;;
1742 echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
1743 echo "${ECHO_T}$llvm_cv_os_type" >&6
1745 if test "$llvm_cv_os_type" = "Unknown" ; then
1746 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't
continue" >&5
1747 echo "$as_me: error
: Operating system is unknown
, configure can
't continue" >&2;}
1748 { (exit 1); exit 1; }; }
1754 case $llvm_cv_platform_type in
1757 cat >>confdefs.h <<\_ACEOF
1758 #define LLVM_ON_UNIX 1
1768 cat >>confdefs.h <<\_ACEOF
1769 #define LLVM_ON_WIN32 1
1780 sparc*-*-solaris*) target=sparcv9-sun-solaris2.8
1785 echo "$as_me:$LINENO: checking target architecture" >&5
1786 echo $ECHO_N "checking target architecture... $ECHO_C" >&6
1787 if test "${llvm_cv_target_arch+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 i?86-*) llvm_cv_target_arch="x86" ;;
1792 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
1793 sparc*-*) llvm_cv_target_arch="Sparc" ;;
1794 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
1795 alpha*-*) llvm_cv_target_arch="Alpha" ;;
1796 ia64-*) llvm_cv_target_arch="IA64" ;;
1797 *) llvm_cv_target_arch="Unknown" ;;
1800 echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
1801 echo "${ECHO_T}$llvm_cv_target_arch" >&6
1803 if test "$llvm_cv_target_arch" = "Unknown" ; then
1804 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
1805 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
1808 ARCH=$llvm_cv_target_arch
1812 ac_cpp='$CPP $CPPFLAGS'
1813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1814 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1816 if test -n "$ac_tool_prefix"; then
1817 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1818 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1819 echo "$as_me:$LINENO: checking for $ac_word" >&5
1820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1821 if test "${ac_cv_prog_CC+set}" = set; then
1822 echo $ECHO_N "(cached) $ECHO_C" >&6
1824 if test -n "$CC"; then
1825 ac_cv_prog_CC="$CC" # Let the user override the test.
1827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1831 test -z "$as_dir" && as_dir=.
1832 for ac_exec_ext in '' $ac_executable_extensions; do
1833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1834 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1844 if test -n "$CC"; then
1845 echo "$as_me:$LINENO: result: $CC" >&5
1846 echo "${ECHO_T}$CC" >&6
1848 echo "$as_me:$LINENO: result: no" >&5
1849 echo "${ECHO_T}no" >&6
1853 if test -z "$ac_cv_prog_CC"; then
1855 # Extract the first word of "gcc", so it can be a program name with args.
1856 set dummy gcc; ac_word=$2
1857 echo "$as_me:$LINENO: checking for $ac_word" >&5
1858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1859 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1860 echo $ECHO_N "(cached) $ECHO_C" >&6
1862 if test -n "$ac_ct_CC"; then
1863 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869 test -z "$as_dir" && as_dir=.
1870 for ac_exec_ext in '' $ac_executable_extensions; do
1871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1872 ac_cv_prog_ac_ct_CC="gcc"
1873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1882 if test -n "$ac_ct_CC"; then
1883 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1884 echo "${ECHO_T}$ac_ct_CC" >&6
1886 echo "$as_me:$LINENO: result: no" >&5
1887 echo "${ECHO_T}no" >&6
1895 if test -z "$CC"; then
1896 if test -n "$ac_tool_prefix"; then
1897 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1898 set dummy ${ac_tool_prefix}cc; ac_word=$2
1899 echo "$as_me:$LINENO: checking for $ac_word" >&5
1900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1901 if test "${ac_cv_prog_CC+set}" = set; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 if test -n "$CC"; then
1905 ac_cv_prog_CC="$CC" # Let the user override the test.
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir=.
1912 for ac_exec_ext in '' $ac_executable_extensions; do
1913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914 ac_cv_prog_CC="${ac_tool_prefix}cc"
1915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 if test -n "$CC"; then
1925 echo "$as_me:$LINENO: result: $CC" >&5
1926 echo "${ECHO_T}$CC" >&6
1928 echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6
1933 if test -z "$ac_cv_prog_CC"; then
1935 # Extract the first word of "cc", so it can be a program name with args.
1936 set dummy cc; ac_word=$2
1937 echo "$as_me:$LINENO: checking for $ac_word" >&5
1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1939 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1942 if test -n "$ac_ct_CC"; then
1943 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 test -z "$as_dir" && as_dir=.
1950 for ac_exec_ext in '' $ac_executable_extensions; do
1951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1952 ac_cv_prog_ac_ct_CC="cc"
1953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1962 if test -n "$ac_ct_CC"; then
1963 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1964 echo "${ECHO_T}$ac_ct_CC" >&6
1966 echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6
1976 if test -z "$CC"; then
1977 # Extract the first word of "cc", so it can be a program name with args.
1978 set dummy cc; ac_word=$2
1979 echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1981 if test "${ac_cv_prog_CC+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 if test -n "$CC"; then
1985 ac_cv_prog_CC="$CC" # Let the user override the test.
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1992 test -z "$as_dir" && as_dir=.
1993 for ac_exec_ext in '' $ac_executable_extensions; do
1994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1995 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1996 ac_prog_rejected=yes
2000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006 if test $ac_prog_rejected = yes; then
2007 # We found a bogon in the path, so make sure we never use it.
2008 set dummy $ac_cv_prog_CC
2010 if test $# != 0; then
2011 # We chose a different compiler from the bogus one.
2012 # However, it has the same basename, so the bogon will be chosen
2013 # first if we set CC to just the basename; use the full file name.
2015 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2021 if test -n "$CC"; then
2022 echo "$as_me:$LINENO: result: $CC" >&5
2023 echo "${ECHO_T}$CC" >&6
2025 echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6
2030 if test -z "$CC"; then
2031 if test -n "$ac_tool_prefix"; then
2034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2036 echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038 if test "${ac_cv_prog_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC="$CC" # Let the user override the test.
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do
2050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 if test -n "$CC"; then
2062 echo "$as_me:$LINENO: result: $CC" >&5
2063 echo "${ECHO_T}$CC" >&6
2065 echo "$as_me:$LINENO: result: no" >&5
2066 echo "${ECHO_T}no" >&6
2069 test -n "$CC" && break
2072 if test -z "$CC"; then
2076 # Extract the first word of "$ac_prog", so it can be a program name with args.
2077 set dummy $ac_prog; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_CC="$ac_prog"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2111 test -n "$ac_ct_CC" && break
2120 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2121 See \`config.log' for more details.
" >&5
2122 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2123 See \
`config.log' for more details." >&2;}
2124 { (exit 1); exit 1; }; }
2126 # Provide some information about the compiler.
2127 echo "$as_me:$LINENO:" \
2128 "checking for C compiler version" >&5
2129 ac_compiler=`set X
$ac_compile; echo $2`
2130 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2131 (eval $ac_compiler --version </dev/null >&5) 2>&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }
2135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2136 (eval $ac_compiler -v </dev/null >&5) 2>&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }
2140 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2141 (eval $ac_compiler -V </dev/null >&5) 2>&5
2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144 (exit $ac_status); }
2146 cat >conftest.$ac_ext <<_ACEOF
2149 cat confdefs.h >>conftest.$ac_ext
2150 cat >>conftest.$ac_ext <<_ACEOF
2151 /* end confdefs.h. */
2161 ac_clean_files_save=$ac_clean_files
2162 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2163 # Try to create an executable without -o first, disregard a.out.
2164 # It will help us diagnose broken compilers, and finding out an intuition
2166 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2167 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2168 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2169 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2170 (eval $ac_link_default) 2>&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; then
2174 # Find the output, starting from the most likely. This scheme is
2175 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
2178 # Be careful to initialize this variable, since it used to be cached.
2179 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
2181 # b.out is created by i960 compilers.
2182 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2184 test -f "$ac_file" || continue
2186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2189 # This is the source file.
2192 # We found the default executable, but exeext='' is most
2196 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2197 # FIXME: I believe we export ac_cv_exeext for Libtool,
2198 # but it would be cool to find out if it's true. Does anybody
2199 # maintain Libtool? --akim.
2207 echo "$as_me: failed program was:" >&5
2208 sed 's/^/| /' conftest.$ac_ext >&5
2210 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2211 See \`config.log
' for more details." >&5
2212 echo "$as_me: error: C compiler cannot create executables
2213 See \`config.log' for more details.
" >&2;}
2214 { (exit 77); exit 77; }; }
2217 ac_exeext=$ac_cv_exeext
2218 echo "$as_me:$LINENO: result
: $ac_file" >&5
2219 echo "${ECHO_T}$ac_file" >&6
2221 # Check the compiler produces executables we can run. If not, either
2222 # the compiler is broken, or we cross compile.
2223 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2224 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
2225 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2226 # If not cross compiling, check that we can run a simple program.
2227 if test "$cross_compiling" != yes; then
2228 if { ac_try='./$ac_file'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2233 (exit $ac_status); }; }; then
2236 if test "$cross_compiling" = maybe; then
2239 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2240 If you meant to cross compile
, use \
`--host'.
2241 See \`config.log
' for more details." >&5
2242 echo "$as_me: error: cannot run C compiled programs.
2243 If you meant to cross compile, use \`--host'.
2244 See \
`config.log' for more details." >&2;}
2245 { (exit 1); exit 1; }; }
2249 echo "$as_me:$LINENO: result: yes" >&5
2250 echo "${ECHO_T}yes" >&6
2252 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2253 ac_clean_files=$ac_clean_files_save
2254 # Check the compiler produces executables we can run. If not, either
2255 # the compiler is broken, or we cross compile.
2256 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2257 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2258 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2259 echo "${ECHO_T}$cross_compiling" >&6
2261 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2262 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2264 (eval $ac_link) 2>&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; then
2268 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2269 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2270 # work properly (i.e., refer to `conftest.exe'), while it won't with
2272 for ac_file
in conftest.exe conftest conftest.
*; do
2273 test -f "$ac_file" ||
continue
2275 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2276 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2283 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2284 See \`config.log' for more details." >&5
2285 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2286 See \`config.log' for more details." >&2;}
2287 { (exit 1); exit 1; }; }
2290 rm -f conftest
$ac_cv_exeext
2291 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2292 echo "${ECHO_T}$ac_cv_exeext" >&6
2294 rm -f conftest.
$ac_ext
2295 EXEEXT
=$ac_cv_exeext
2297 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2298 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2299 if test "${ac_cv_objext+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 cat >conftest.
$ac_ext <<_ACEOF
2305 cat confdefs.h
>>conftest.
$ac_ext
2306 cat >>conftest.
$ac_ext <<_ACEOF
2307 /* end confdefs.h. */
2317 rm -f conftest.o conftest.obj
2318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2319 (eval $ac_compile) 2>&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; then
2323 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2325 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2326 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2331 echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.
$ac_ext >&5
2334 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2335 See \`config.log' for more details." >&5
2336 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2337 See \`config.log' for more details." >&2;}
2338 { (exit 1); exit 1; }; }
2341 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2343 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2344 echo "${ECHO_T}$ac_cv_objext" >&6
2345 OBJEXT
=$ac_cv_objext
2347 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2348 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2349 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 cat >conftest.
$ac_ext <<_ACEOF
2355 cat confdefs.h
>>conftest.
$ac_ext
2356 cat >>conftest.
$ac_ext <<_ACEOF
2357 /* end confdefs.h. */
2370 rm -f conftest.
$ac_objext
2371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372 (eval $ac_compile) 2>conftest.er1
2374 grep -v '^ *+' conftest.er1
>conftest.err
2376 cat conftest.err
>&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); } &&
2379 { ac_try
='test -z "$ac_c_werror_flag"
2380 || test ! -s conftest.err'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; } &&
2386 { ac_try
='test -s conftest.$ac_objext'
2387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; }; then
2394 echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.
$ac_ext >&5
2399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2400 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2403 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2404 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2405 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2406 ac_test_CFLAGS
=${CFLAGS+set}
2407 ac_save_CFLAGS
=$CFLAGS
2409 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2410 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2411 if test "${ac_cv_prog_cc_g+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 cat >conftest.
$ac_ext <<_ACEOF
2417 cat confdefs.h
>>conftest.
$ac_ext
2418 cat >>conftest.
$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2429 rm -f conftest.
$ac_objext
2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431 (eval $ac_compile) 2>conftest.er1
2433 grep -v '^ *+' conftest.er1
>conftest.err
2435 cat conftest.err
>&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); } &&
2438 { ac_try
='test -z "$ac_c_werror_flag"
2439 || test ! -s conftest.err'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; } &&
2445 { ac_try
='test -s conftest.$ac_objext'
2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; }; then
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.
$ac_ext >&5
2458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2460 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2461 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2462 if test "$ac_test_CFLAGS" = set; then
2463 CFLAGS
=$ac_save_CFLAGS
2464 elif test $ac_cv_prog_cc_g = yes; then
2465 if test "$GCC" = yes; then
2471 if test "$GCC" = yes; then
2477 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2478 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2479 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 ac_cv_prog_cc_stdc
=no
2484 cat >conftest.
$ac_ext <<_ACEOF
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2492 #include <sys/types.h>
2493 #include <sys/stat.h>
2494 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2495 struct buf { int x; };
2496 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2497 static char *e (p, i)
2503 static char *f (char * (*g) (char **, int), char **p, ...)
2508 s = g (p, va_arg (v,int));
2513 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2514 function prototypes and stuff, but not '\xHH' hex character constants.
2515 These don't provoke an error unfortunately, instead are silently treated
2516 as 'x'. The following induces an error, until -std1 is added to get
2517 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2518 array size at least. It's necessary to write '\x00'==0 to get something
2519 that's true only with -std1. */
2520 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2522 int test (int i, double x);
2523 struct s1 {int (*f) (int a);};
2524 struct s2 {int (*f) (double a);};
2525 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2531 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2536 # Don't try gcc -ansi; that turns off useful extensions and
2537 # breaks some systems' header files.
2538 # AIX -qlanglvl=ansi
2539 # Ultrix and OSF/1 -std1
2540 # HP-UX 10.20 and later -Ae
2541 # HP-UX older versions -Aa -D_HPUX_SOURCE
2542 # SVR4 -Xc -D__EXTENSIONS__
2543 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2545 CC
="$ac_save_CC $ac_arg"
2546 rm -f conftest.
$ac_objext
2547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2548 (eval $ac_compile) 2>conftest.er1
2550 grep -v '^ *+' conftest.er1
>conftest.err
2552 cat conftest.err
>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); } &&
2555 { ac_try
='test -z "$ac_c_werror_flag"
2556 || test ! -s conftest.err'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; } &&
2562 { ac_try
='test -s conftest.$ac_objext'
2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; }; then
2568 ac_cv_prog_cc_stdc
=$ac_arg
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.
$ac_ext >&5
2575 rm -f conftest.err conftest.
$ac_objext
2577 rm -f conftest.
$ac_ext conftest.
$ac_objext
2582 case "x$ac_cv_prog_cc_stdc" in
2584 echo "$as_me:$LINENO: result: none needed" >&5
2585 echo "${ECHO_T}none needed" >&6 ;;
2587 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2588 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2589 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2592 # Some people use a C++ compiler to compile C. Since we use `exit',
2593 # in C++ we need to declare it. In case someone uses the same compiler
2594 # for both compiling C and C++ we need to have the C++ compiler decide
2595 # the declaration of exit, since it's the most demanding environment.
2596 cat >conftest.
$ac_ext <<_ACEOF
2601 rm -f conftest.
$ac_objext
2602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2603 (eval $ac_compile) 2>conftest.er1
2605 grep -v '^ *+' conftest.er1
>conftest.err
2607 cat conftest.err
>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); } &&
2610 { ac_try
='test -z "$ac_c_werror_flag"
2611 || test ! -s conftest.err'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; } &&
2617 { ac_try
='test -s conftest.$ac_objext'
2618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; }; then
2623 for ac_declaration
in \
2625 'extern "C" void std::exit (int) throw (); using std::exit;' \
2626 'extern "C" void std::exit (int); using std::exit;' \
2627 'extern "C" void exit (int) throw ();' \
2628 'extern "C" void exit (int);' \
2631 cat >conftest.
$ac_ext <<_ACEOF
2634 cat confdefs.h
>>conftest.
$ac_ext
2635 cat >>conftest.
$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2647 rm -f conftest.
$ac_objext
2648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2649 (eval $ac_compile) 2>conftest.er1
2651 grep -v '^ *+' conftest.er1
>conftest.err
2653 cat conftest.err
>&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); } &&
2656 { ac_try
='test -z "$ac_c_werror_flag"
2657 || test ! -s conftest.err'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; } &&
2663 { ac_try
='test -s conftest.$ac_objext'
2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; }; then
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.
$ac_ext >&5
2676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2677 cat >conftest.
$ac_ext <<_ACEOF
2680 cat confdefs.h
>>conftest.
$ac_ext
2681 cat >>conftest.
$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2692 rm -f conftest.
$ac_objext
2693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2694 (eval $ac_compile) 2>conftest.er1
2696 grep -v '^ *+' conftest.er1
>conftest.err
2698 cat conftest.err
>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } &&
2701 { ac_try
='test -z "$ac_c_werror_flag"
2702 || test ! -s conftest.err'
2703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); }; } &&
2708 { ac_try
='test -s conftest.$ac_objext'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; }; then
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.
$ac_ext >&5
2720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2723 if test -n "$ac_declaration"; then
2724 echo '#ifdef __cplusplus' >>confdefs.h
2725 echo $ac_declaration >>confdefs.h
2726 echo '#endif' >>confdefs.h
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.
$ac_ext >&5
2734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2736 ac_cpp
='$CPP $CPPFLAGS'
2737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2742 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2743 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2744 if test "${ac_cv_c_bigendian+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 # See if sys/param.h defines the BYTE_ORDER macro.
2748 cat >conftest.
$ac_ext <<_ACEOF
2751 cat confdefs.h
>>conftest.
$ac_ext
2752 cat >>conftest.
$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2754 #include <sys/types.h>
2755 #include <sys/param.h>
2760 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2768 rm -f conftest.
$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>conftest.er1
2772 grep -v '^ *+' conftest.er1
>conftest.err
2774 cat conftest.err
>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } &&
2777 { ac_try
='test -z "$ac_c_werror_flag"
2778 || test ! -s conftest.err'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; } &&
2784 { ac_try
='test -s conftest.$ac_objext'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2790 # It does; now see whether it defined to BIG_ENDIAN or not.
2791 cat >conftest.
$ac_ext <<_ACEOF
2794 cat confdefs.h
>>conftest.
$ac_ext
2795 cat >>conftest.
$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2797 #include <sys/types.h>
2798 #include <sys/param.h>
2803 #if BYTE_ORDER != BIG_ENDIAN
2811 rm -f conftest.
$ac_objext
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813 (eval $ac_compile) 2>conftest.er1
2815 grep -v '^ *+' conftest.er1
>conftest.err
2817 cat conftest.err
>&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } &&
2820 { ac_try
='test -z "$ac_c_werror_flag"
2821 || test ! -s conftest.err'
2822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; } &&
2827 { ac_try
='test -s conftest.$ac_objext'
2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; }; then
2833 ac_cv_c_bigendian
=yes
2835 echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.
$ac_ext >&5
2838 ac_cv_c_bigendian
=no
2840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2845 # It does not; compile a test program.
2846 if test "$cross_compiling" = yes; then
2847 # try to guess the endianness by grepping values into an object file
2848 ac_cv_c_bigendian
=unknown
2849 cat >conftest.
$ac_ext <<_ACEOF
2852 cat confdefs.h
>>conftest.
$ac_ext
2853 cat >>conftest.
$ac_ext <<_ACEOF
2854 /* end confdefs.h. */
2855 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2856 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2857 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2858 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2859 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2860 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2864 _ascii (); _ebcdic ();
2869 rm -f conftest.
$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1
>conftest.err
2875 cat conftest.err
>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -z "$ac_c_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try
='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
2892 ac_cv_c_bigendian
=yes
2894 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
2895 if test "$ac_cv_c_bigendian" = unknown
; then
2896 ac_cv_c_bigendian
=no
2898 # finding both strings is unlikely to happen, but who knows?
2899 ac_cv_c_bigendian
=unknown
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.
$ac_ext >&5
2907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2909 cat >conftest.
$ac_ext <<_ACEOF
2912 cat confdefs.h
>>conftest.
$ac_ext
2913 cat >>conftest.
$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2918 /* Are we little or big endian? From Harbison&Steele. */
2922 char c[sizeof (long)];
2925 exit (u.c[sizeof (long) - 1] == 1);
2928 rm -f conftest
$ac_exeext
2929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2930 (eval $ac_link) 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2939 ac_cv_c_bigendian
=no
2941 echo "$as_me: program exited with status $ac_status" >&5
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.
$ac_ext >&5
2946 ac_cv_c_bigendian
=yes
2948 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2953 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2954 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2955 case $ac_cv_c_bigendian in
2963 { { echo "$as_me:$LINENO: error: unknown endianness
2964 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2965 echo "$as_me: error: unknown endianness
2966 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2967 { (exit 1); exit 1; }; } ;;
2972 # Check whether --enable-optimized or --disable-optimized was given.
2973 if test "${enable_optimized+set}" = set; then
2974 enableval
="$enable_optimized"
2979 if test ${enableval} = "no" ; then
2983 ENABLE_OPTIMIZED
=ENABLE_OPTIMIZED
=1
2987 # Check whether --enable-jit or --disable-jit was given.
2988 if test "${enable_jit+set}" = set; then
2989 enableval
="$enable_jit"
2994 if test ${enableval} = "no"
2999 case "$llvm_cv_target_arch" in
3000 x86
) JIT
=TARGET_HAS_JIT
=1
3002 Sparc
) JIT
=TARGET_HAS_JIT
=1
3004 PowerPC
) JIT
=TARGET_HAS_JIT
=1
3017 # Check whether --enable-doxygen or --disable-doxygen was given.
3018 if test "${enable_doxygen+set}" = set; then
3019 enableval
="$enable_doxygen"
3024 case "$enableval" in
3025 yes) ENABLE_DOXYGEN
=1
3027 no
) ENABLE_DOXYGEN
=0
3029 default
) ENABLE_DOXYGEN
=0
3031 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
3032 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
3033 { (exit 1); exit 1; }; } ;;
3037 # Check whether --enable-targets or --disable-targets was given.
3038 if test "${enable_targets+set}" = set; then
3039 enableval
="$enable_targets"
3044 case "$enableval" in
3045 all
) TARGETS_TO_BUILD
="X86 SparcV8 SparcV9 PowerPC Alpha IA64 Skeleton" ;;
3047 case "$llvm_cv_target_arch" in
3048 x86
) TARGETS_TO_BUILD
="X86" ;;
3049 x86_64
) TARGETS_TO_BUILD
="X86" ;;
3050 Sparc
) TARGETS_TO_BUILD
="SparcV8 SparcV9" ;;
3051 PowerPC
) TARGETS_TO_BUILD
="PowerPC" ;;
3052 Alpha
) TARGETS_TO_BUILD
="Alpha" ;;
3053 IA64
) TARGETS_TO_BUILD
="IA64" ;;
3054 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
3055 echo "$as_me: error: Can not set target to build" >&2;}
3056 { (exit 1); exit 1; }; } ;;
3059 *)for a_target
in `echo $enableval|sed -e 's/,/ /g' ` ; do
3061 x86
) TARGETS_TO_BUILD
="X86 $TARGETS_TO_BUILD" ;;
3062 x86_64
) TARGETS_TO_BUILD
="X86 $TARGETS_TO_BUILD" ;;
3063 sparc
) TARGETS_TO_BUILD
="SparcV8 SparcV9 $TARGETS_TO_BUILD" ;;
3064 powerpc
) TARGETS_TO_BUILD
="PowerPC $TARGETS_TO_BUILD" ;;
3065 alpha
) TARGETS_TO_BUILD
="Alpha $TARGETS_TO_BUILD" ;;
3066 ia64
) TARGETS_TO_BUILD
="IA64 $TARGETS_TO_BUILD" ;;
3067 skeleton
)TARGETS_TO_BUILD
="Skeleton $TARGETS_TO_BUILD";;
3068 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
3069 echo "$as_me: error: Unrecognized target $a_target" >&2;}
3070 { (exit 1); exit 1; }; } ;;
3075 TARGETS_TO_BUILD
="CBackend $TARGETS_TO_BUILD"
3076 TARGETS_TO_BUILD
=$TARGETS_TO_BUILD
3080 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
3081 if test "${with_llvmgccdir+set}" = set; then
3082 withval
="$with_llvmgccdir"
3088 default
) WITH_LLVMGCCDIR
=default
;;
3089 /*) WITH_LLVMGCCDIR
=$withval ;;
3090 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
3091 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
3092 { (exit 1); exit 1; }; } ;;
3098 ac_cpp
='$CPP $CPPFLAGS'
3099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3102 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3103 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3104 # On Suns, sometimes $CPP names a directory.
3105 if test -n "$CPP" && test -d "$CPP"; then
3108 if test -z "$CPP"; then
3109 if test "${ac_cv_prog_CPP+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 # Double quotes because CPP needs to be expanded
3113 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3116 for ac_c_preproc_warn_flag
in '' yes
3118 # Use a header file that comes with gcc, so configuring glibc
3119 # with a fresh cross-compiler works.
3120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3121 # <limits.h> exists even on freestanding compilers.
3122 # On the NeXT, cc -E runs the code through the compiler's parser,
3123 # not just through cpp. "Syntax error" is here to catch this case.
3124 cat >conftest.
$ac_ext <<_ACEOF
3127 cat confdefs.h
>>conftest.
$ac_ext
3128 cat >>conftest.
$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3131 # include <limits.h>
3133 # include <assert.h>
3137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3140 grep -v '^ *+' conftest.er1
>conftest.err
3142 cat conftest.err
>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } >/dev
/null
; then
3145 if test -s conftest.err
; then
3146 ac_cpp_err
=$ac_c_preproc_warn_flag
3147 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3154 if test -z "$ac_cpp_err"; then
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.
$ac_ext >&5
3160 # Broken: fails on valid input.
3163 rm -f conftest.err conftest.
$ac_ext
3165 # OK, works on sane cases. Now check whether non-existent headers
3166 # can be detected and how.
3167 cat >conftest.
$ac_ext <<_ACEOF
3170 cat confdefs.h
>>conftest.
$ac_ext
3171 cat >>conftest.
$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3173 #include <ac_nonexistent.h>
3175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3178 grep -v '^ *+' conftest.er1
>conftest.err
3180 cat conftest.err
>&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } >/dev
/null
; then
3183 if test -s conftest.err
; then
3184 ac_cpp_err
=$ac_c_preproc_warn_flag
3185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3192 if test -z "$ac_cpp_err"; then
3193 # Broken: success on invalid input.
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.
$ac_ext >&5
3199 # Passes both tests.
3203 rm -f conftest.err conftest.
$ac_ext
3206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3207 rm -f conftest.err conftest.
$ac_ext
3208 if $ac_preproc_ok; then
3220 echo "$as_me:$LINENO: result: $CPP" >&5
3221 echo "${ECHO_T}$CPP" >&6
3223 for ac_c_preproc_warn_flag
in '' yes
3225 # Use a header file that comes with gcc, so configuring glibc
3226 # with a fresh cross-compiler works.
3227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3228 # <limits.h> exists even on freestanding compilers.
3229 # On the NeXT, cc -E runs the code through the compiler's parser,
3230 # not just through cpp. "Syntax error" is here to catch this case.
3231 cat >conftest.
$ac_ext <<_ACEOF
3234 cat confdefs.h
>>conftest.
$ac_ext
3235 cat >>conftest.
$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3238 # include <limits.h>
3240 # include <assert.h>
3244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3247 grep -v '^ *+' conftest.er1
>conftest.err
3249 cat conftest.err
>&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } >/dev
/null
; then
3252 if test -s conftest.err
; then
3253 ac_cpp_err
=$ac_c_preproc_warn_flag
3254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3261 if test -z "$ac_cpp_err"; then
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.
$ac_ext >&5
3267 # Broken: fails on valid input.
3270 rm -f conftest.err conftest.
$ac_ext
3272 # OK, works on sane cases. Now check whether non-existent headers
3273 # can be detected and how.
3274 cat >conftest.
$ac_ext <<_ACEOF
3277 cat confdefs.h
>>conftest.
$ac_ext
3278 cat >>conftest.
$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3280 #include <ac_nonexistent.h>
3282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3285 grep -v '^ *+' conftest.er1
>conftest.err
3287 cat conftest.err
>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } >/dev
/null
; then
3290 if test -s conftest.err
; then
3291 ac_cpp_err
=$ac_c_preproc_warn_flag
3292 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3299 if test -z "$ac_cpp_err"; then
3300 # Broken: success on invalid input.
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.
$ac_ext >&5
3306 # Passes both tests.
3310 rm -f conftest.err conftest.
$ac_ext
3313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3314 rm -f conftest.err conftest.
$ac_ext
3315 if $ac_preproc_ok; then
3318 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3319 See \`config.log' for more details." >&5
3320 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3321 See \`config.log' for more details." >&2;}
3322 { (exit 1); exit 1; }; }
3326 ac_cpp
='$CPP $CPPFLAGS'
3327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3332 ac_cpp
='$CPP $CPPFLAGS'
3333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3336 if test -n "$ac_tool_prefix"; then
3339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3340 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3341 echo "$as_me:$LINENO: checking for $ac_word" >&5
3342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3343 if test "${ac_cv_prog_CC+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 if test -n "$CC"; then
3347 ac_cv_prog_CC
="$CC" # Let the user override the test.
3349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir
=.
3354 for ac_exec_ext
in '' $ac_executable_extensions; do
3355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3356 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 if test -n "$CC"; then
3367 echo "$as_me:$LINENO: result: $CC" >&5
3368 echo "${ECHO_T}$CC" >&6
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3374 test -n "$CC" && break
3377 if test -z "$CC"; then
3381 # Extract the first word of "$ac_prog", so it can be a program name with args.
3382 set dummy
$ac_prog; ac_word
=$2
3383 echo "$as_me:$LINENO: checking for $ac_word" >&5
3384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3385 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 if test -n "$ac_ct_CC"; then
3389 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3395 test -z "$as_dir" && as_dir
=.
3396 for ac_exec_ext
in '' $ac_executable_extensions; do
3397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3398 ac_cv_prog_ac_ct_CC
="$ac_prog"
3399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3407 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3408 if test -n "$ac_ct_CC"; then
3409 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3410 echo "${ECHO_T}$ac_ct_CC" >&6
3412 echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3416 test -n "$ac_ct_CC" && break
3423 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3424 See \`config.log' for more details." >&5
3425 echo "$as_me: error: no acceptable C compiler found in \$PATH
3426 See \`config.log' for more details." >&2;}
3427 { (exit 1); exit 1; }; }
3429 # Provide some information about the compiler.
3430 echo "$as_me:$LINENO:" \
3431 "checking for C compiler version" >&5
3432 ac_compiler
=`set X $ac_compile; echo $2`
3433 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3434 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }
3438 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3439 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }
3443 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3444 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }
3449 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3450 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3451 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 cat >conftest.
$ac_ext <<_ACEOF
3457 cat confdefs.h
>>conftest.
$ac_ext
3458 cat >>conftest.
$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3472 rm -f conftest.
$ac_objext
3473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3474 (eval $ac_compile) 2>conftest.er1
3476 grep -v '^ *+' conftest.er1
>conftest.err
3478 cat conftest.err
>&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } &&
3481 { ac_try
='test -z "$ac_c_werror_flag"
3482 || test ! -s conftest.err'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; } &&
3488 { ac_try
='test -s conftest.$ac_objext'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3496 echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.
$ac_ext >&5
3501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3502 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3505 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3506 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3507 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3508 ac_test_CFLAGS
=${CFLAGS+set}
3509 ac_save_CFLAGS
=$CFLAGS
3511 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3512 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3513 if test "${ac_cv_prog_cc_g+set}" = set; then
3514 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 cat >conftest.
$ac_ext <<_ACEOF
3519 cat confdefs.h
>>conftest.
$ac_ext
3520 cat >>conftest.
$ac_ext <<_ACEOF
3521 /* end confdefs.h. */
3531 rm -f conftest.
$ac_objext
3532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3533 (eval $ac_compile) 2>conftest.er1
3535 grep -v '^ *+' conftest.er1
>conftest.err
3537 cat conftest.err
>&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } &&
3540 { ac_try
='test -z "$ac_c_werror_flag"
3541 || test ! -s conftest.err'
3542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; } &&
3547 { ac_try
='test -s conftest.$ac_objext'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; }; then
3555 echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.
$ac_ext >&5
3560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3562 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3564 if test "$ac_test_CFLAGS" = set; then
3565 CFLAGS
=$ac_save_CFLAGS
3566 elif test $ac_cv_prog_cc_g = yes; then
3567 if test "$GCC" = yes; then
3573 if test "$GCC" = yes; then
3579 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3580 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3581 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 ac_cv_prog_cc_stdc
=no
3586 cat >conftest.
$ac_ext <<_ACEOF
3589 cat confdefs.h
>>conftest.
$ac_ext
3590 cat >>conftest.
$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3594 #include <sys/types.h>
3595 #include <sys/stat.h>
3596 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3597 struct buf { int x; };
3598 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3599 static char *e (p, i)
3605 static char *f (char * (*g) (char **, int), char **p, ...)
3610 s = g (p, va_arg (v,int));
3615 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3616 function prototypes and stuff, but not '\xHH' hex character constants.
3617 These don't provoke an error unfortunately, instead are silently treated
3618 as 'x'. The following induces an error, until -std1 is added to get
3619 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3620 array size at least. It's necessary to write '\x00'==0 to get something
3621 that's true only with -std1. */
3622 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3624 int test (int i, double x);
3625 struct s1 {int (*f) (int a);};
3626 struct s2 {int (*f) (double a);};
3627 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3633 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3638 # Don't try gcc -ansi; that turns off useful extensions and
3639 # breaks some systems' header files.
3640 # AIX -qlanglvl=ansi
3641 # Ultrix and OSF/1 -std1
3642 # HP-UX 10.20 and later -Ae
3643 # HP-UX older versions -Aa -D_HPUX_SOURCE
3644 # SVR4 -Xc -D__EXTENSIONS__
3645 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3647 CC
="$ac_save_CC $ac_arg"
3648 rm -f conftest.
$ac_objext
3649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3650 (eval $ac_compile) 2>conftest.er1
3652 grep -v '^ *+' conftest.er1
>conftest.err
3654 cat conftest.err
>&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } &&
3657 { ac_try
='test -z "$ac_c_werror_flag"
3658 || test ! -s conftest.err'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; } &&
3664 { ac_try
='test -s conftest.$ac_objext'
3665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); }; }; then
3670 ac_cv_prog_cc_stdc
=$ac_arg
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.
$ac_ext >&5
3677 rm -f conftest.err conftest.
$ac_objext
3679 rm -f conftest.
$ac_ext conftest.
$ac_objext
3684 case "x$ac_cv_prog_cc_stdc" in
3686 echo "$as_me:$LINENO: result: none needed" >&5
3687 echo "${ECHO_T}none needed" >&6 ;;
3689 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3690 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3691 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3694 # Some people use a C++ compiler to compile C. Since we use `exit',
3695 # in C++ we need to declare it. In case someone uses the same compiler
3696 # for both compiling C and C++ we need to have the C++ compiler decide
3697 # the declaration of exit, since it's the most demanding environment.
3698 cat >conftest.
$ac_ext <<_ACEOF
3703 rm -f conftest.
$ac_objext
3704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3705 (eval $ac_compile) 2>conftest.er1
3707 grep -v '^ *+' conftest.er1
>conftest.err
3709 cat conftest.err
>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } &&
3712 { ac_try
='test -z "$ac_c_werror_flag"
3713 || test ! -s conftest.err'
3714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }; } &&
3719 { ac_try
='test -s conftest.$ac_objext'
3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; }; then
3725 for ac_declaration
in \
3727 'extern "C" void std::exit (int) throw (); using std::exit;' \
3728 'extern "C" void std::exit (int); using std::exit;' \
3729 'extern "C" void exit (int) throw ();' \
3730 'extern "C" void exit (int);' \
3733 cat >conftest.
$ac_ext <<_ACEOF
3736 cat confdefs.h
>>conftest.
$ac_ext
3737 cat >>conftest.
$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3749 rm -f conftest.
$ac_objext
3750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3751 (eval $ac_compile) 2>conftest.er1
3753 grep -v '^ *+' conftest.er1
>conftest.err
3755 cat conftest.err
>&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } &&
3758 { ac_try
='test -z "$ac_c_werror_flag"
3759 || test ! -s conftest.err'
3760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }; } &&
3765 { ac_try
='test -s conftest.$ac_objext'
3766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }; }; then
3773 echo "$as_me: failed program was:" >&5
3774 sed 's/^/| /' conftest.
$ac_ext >&5
3778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3779 cat >conftest.
$ac_ext <<_ACEOF
3782 cat confdefs.h
>>conftest.
$ac_ext
3783 cat >>conftest.
$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3794 rm -f conftest.
$ac_objext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3796 (eval $ac_compile) 2>conftest.er1
3798 grep -v '^ *+' conftest.er1
>conftest.err
3800 cat conftest.err
>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } &&
3803 { ac_try
='test -z "$ac_c_werror_flag"
3804 || test ! -s conftest.err'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; } &&
3810 { ac_try
='test -s conftest.$ac_objext'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3818 echo "$as_me: failed program was:" >&5
3819 sed 's/^/| /' conftest.
$ac_ext >&5
3822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3825 if test -n "$ac_declaration"; then
3826 echo '#ifdef __cplusplus' >>confdefs.h
3827 echo $ac_declaration >>confdefs.h
3828 echo '#endif' >>confdefs.h
3832 echo "$as_me: failed program was:" >&5
3833 sed 's/^/| /' conftest.
$ac_ext >&5
3836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3838 ac_cpp
='$CPP $CPPFLAGS'
3839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3844 ac_cpp
='$CXXCPP $CPPFLAGS'
3845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3848 if test -n "$ac_tool_prefix"; then
3849 for ac_prog
in $CCC g
++
3851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3852 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3853 echo "$as_me:$LINENO: checking for $ac_word" >&5
3854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3855 if test "${ac_cv_prog_CXX+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 if test -n "$CXX"; then
3859 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir
=.
3866 for ac_exec_ext
in '' $ac_executable_extensions; do
3867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 if test -n "$CXX"; then
3879 echo "$as_me:$LINENO: result: $CXX" >&5
3880 echo "${ECHO_T}$CXX" >&6
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3886 test -n "$CXX" && break
3889 if test -z "$CXX"; then
3891 for ac_prog
in $CCC g
++
3893 # Extract the first word of "$ac_prog", so it can be a program name with args.
3894 set dummy
$ac_prog; ac_word
=$2
3895 echo "$as_me:$LINENO: checking for $ac_word" >&5
3896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3897 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3900 if test -n "$ac_ct_CXX"; then
3901 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 test -z "$as_dir" && as_dir
=.
3908 for ac_exec_ext
in '' $ac_executable_extensions; do
3909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3910 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3920 if test -n "$ac_ct_CXX"; then
3921 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3922 echo "${ECHO_T}$ac_ct_CXX" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3928 test -n "$ac_ct_CXX" && break
3930 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3936 # Provide some information about the compiler.
3937 echo "$as_me:$LINENO:" \
3938 "checking for C++ compiler version" >&5
3939 ac_compiler
=`set X $ac_compile; echo $2`
3940 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3941 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }
3945 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3946 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); }
3950 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3951 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); }
3956 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3957 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3958 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 cat >conftest.
$ac_ext <<_ACEOF
3964 cat confdefs.h
>>conftest.
$ac_ext
3965 cat >>conftest.
$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3979 rm -f conftest.
$ac_objext
3980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3981 (eval $ac_compile) 2>conftest.er1
3983 grep -v '^ *+' conftest.er1
>conftest.err
3985 cat conftest.err
>&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); } &&
3988 { ac_try
='test -z "$ac_cxx_werror_flag"
3989 || test ! -s conftest.err'
3990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); }; } &&
3995 { ac_try
='test -s conftest.$ac_objext'
3996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000 (exit $ac_status); }; }; then
4003 echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.
$ac_ext >&5
4008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4009 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4012 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4013 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4014 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4015 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4016 ac_save_CXXFLAGS
=$CXXFLAGS
4018 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4019 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4020 if test "${ac_cv_prog_cxx_g+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 cat >conftest.
$ac_ext <<_ACEOF
4026 cat confdefs.h
>>conftest.
$ac_ext
4027 cat >>conftest.
$ac_ext <<_ACEOF
4028 /* end confdefs.h. */
4038 rm -f conftest.
$ac_objext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4040 (eval $ac_compile) 2>conftest.er1
4042 grep -v '^ *+' conftest.er1
>conftest.err
4044 cat conftest.err
>&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try
='test -z "$ac_cxx_werror_flag"
4048 || test ! -s conftest.err'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; } &&
4054 { ac_try
='test -s conftest.$ac_objext'
4055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); }; }; then
4060 ac_cv_prog_cxx_g
=yes
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.
$ac_ext >&5
4067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4069 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4070 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4071 if test "$ac_test_CXXFLAGS" = set; then
4072 CXXFLAGS
=$ac_save_CXXFLAGS
4073 elif test $ac_cv_prog_cxx_g = yes; then
4074 if test "$GXX" = yes; then
4080 if test "$GXX" = yes; then
4086 for ac_declaration
in \
4088 'extern "C" void std::exit (int) throw (); using std::exit;' \
4089 'extern "C" void std::exit (int); using std::exit;' \
4090 'extern "C" void exit (int) throw ();' \
4091 'extern "C" void exit (int);' \
4094 cat >conftest.
$ac_ext <<_ACEOF
4097 cat confdefs.h
>>conftest.
$ac_ext
4098 cat >>conftest.
$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4110 rm -f conftest.
$ac_objext
4111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4112 (eval $ac_compile) 2>conftest.er1
4114 grep -v '^ *+' conftest.er1
>conftest.err
4116 cat conftest.err
>&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } &&
4119 { ac_try
='test -z "$ac_cxx_werror_flag"
4120 || test ! -s conftest.err'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; } &&
4126 { ac_try
='test -s conftest.$ac_objext'
4127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); }; }; then
4134 echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.
$ac_ext >&5
4139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4140 cat >conftest.
$ac_ext <<_ACEOF
4143 cat confdefs.h
>>conftest.
$ac_ext
4144 cat >>conftest.
$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4155 rm -f conftest.
$ac_objext
4156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4157 (eval $ac_compile) 2>conftest.er1
4159 grep -v '^ *+' conftest.er1
>conftest.err
4161 cat conftest.err
>&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } &&
4164 { ac_try
='test -z "$ac_cxx_werror_flag"
4165 || test ! -s conftest.err'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; } &&
4171 { ac_try
='test -s conftest.$ac_objext'
4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); }; }; then
4179 echo "$as_me: failed program was:" >&5
4180 sed 's/^/| /' conftest.
$ac_ext >&5
4183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4186 if test -n "$ac_declaration"; then
4187 echo '#ifdef __cplusplus' >>confdefs.h
4188 echo $ac_declaration >>confdefs.h
4189 echo '#endif' >>confdefs.h
4193 ac_cpp
='$CPP $CPPFLAGS'
4194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4198 echo "$as_me:$LINENO: checking " >&5
4199 echo $ECHO_N "checking ... $ECHO_C" >&6
4200 if test "${ac_cv_has_flex+set}" = set; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 for ac_prog
in flex
lex
4205 # Extract the first word of "$ac_prog", so it can be a program name with args.
4206 set dummy
$ac_prog; ac_word
=$2
4207 echo "$as_me:$LINENO: checking for $ac_word" >&5
4208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4209 if test "${ac_cv_prog_LEX+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 if test -n "$LEX"; then
4213 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir
=.
4220 for ac_exec_ext
in '' $ac_executable_extensions; do
4221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222 ac_cv_prog_LEX
="$ac_prog"
4223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 if test -n "$LEX"; then
4233 echo "$as_me:$LINENO: result: $LEX" >&5
4234 echo "${ECHO_T}$LEX" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4240 test -n "$LEX" && break
4242 test -n "$LEX" || LEX
=":"
4244 if test -z "$LEXLIB"
4246 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4247 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4248 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4249 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 ac_check_lib_save_LIBS
=$LIBS
4253 cat >conftest.
$ac_ext <<_ACEOF
4256 cat confdefs.h
>>conftest.
$ac_ext
4257 cat >>conftest.
$ac_ext <<_ACEOF
4258 /* end confdefs.h. */
4260 /* Override any gcc2 internal prototype to avoid an error. */
4264 /* We use char because int might match the return type of a gcc2
4265 builtin and then its argument prototype would still apply. */
4275 rm -f conftest.
$ac_objext conftest
$ac_exeext
4276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4277 (eval $ac_link) 2>conftest.er1
4279 grep -v '^ *+' conftest.er1
>conftest.err
4281 cat conftest.err
>&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } &&
4284 { ac_try
='test -z "$ac_c_werror_flag"
4285 || test ! -s conftest.err'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; } &&
4291 { ac_try
='test -s conftest$ac_exeext'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; }; then
4297 ac_cv_lib_fl_yywrap
=yes
4299 echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.
$ac_ext >&5
4302 ac_cv_lib_fl_yywrap
=no
4304 rm -f conftest.err conftest.
$ac_objext \
4305 conftest
$ac_exeext conftest.
$ac_ext
4306 LIBS
=$ac_check_lib_save_LIBS
4308 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4309 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4310 if test $ac_cv_lib_fl_yywrap = yes; then
4313 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4314 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4315 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 ac_check_lib_save_LIBS
=$LIBS
4320 cat >conftest.
$ac_ext <<_ACEOF
4323 cat confdefs.h
>>conftest.
$ac_ext
4324 cat >>conftest.
$ac_ext <<_ACEOF
4325 /* end confdefs.h. */
4327 /* Override any gcc2 internal prototype to avoid an error. */
4331 /* We use char because int might match the return type of a gcc2
4332 builtin and then its argument prototype would still apply. */
4342 rm -f conftest.
$ac_objext conftest
$ac_exeext
4343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4344 (eval $ac_link) 2>conftest.er1
4346 grep -v '^ *+' conftest.er1
>conftest.err
4348 cat conftest.err
>&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); } &&
4351 { ac_try
='test -z "$ac_c_werror_flag"
4352 || test ! -s conftest.err'
4353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); }; } &&
4358 { ac_try
='test -s conftest$ac_exeext'
4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); }; }; then
4364 ac_cv_lib_l_yywrap
=yes
4366 echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.
$ac_ext >&5
4369 ac_cv_lib_l_yywrap
=no
4371 rm -f conftest.err conftest.
$ac_objext \
4372 conftest
$ac_exeext conftest.
$ac_ext
4373 LIBS
=$ac_check_lib_save_LIBS
4375 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4376 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4377 if test $ac_cv_lib_l_yywrap = yes; then
4385 if test "x$LEX" != "x:"; then
4386 echo "$as_me:$LINENO: checking lex output file root" >&5
4387 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4388 if test "${ac_cv_prog_lex_root+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 # The minimal lex program is just a single line: %%. But some broken lexes
4392 # (Solaris, I think it was) want two %% lines, so accommodate them.
4393 cat >conftest.l
<<_ACEOF
4397 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4398 (eval $LEX conftest.l
) 2>&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }
4402 if test -f lex.yy.c
; then
4403 ac_cv_prog_lex_root
=lex.yy
4404 elif test -f lexyy.c
; then
4405 ac_cv_prog_lex_root
=lexyy
4407 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4408 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4409 { (exit 1); exit 1; }; }
4412 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4413 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4415 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4417 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4418 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4419 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4420 echo $ECHO_N "(cached) $ECHO_C" >&6
4422 # POSIX says lex can declare yytext either as a pointer or an array; the
4423 # default is implementation-dependent. Figure out which it is, since
4424 # not all implementations provide the %pointer and %array declarations.
4425 ac_cv_prog_lex_yytext_pointer
=no
4426 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4428 LIBS
="$LIBS $LEXLIB"
4429 cat >conftest.
$ac_ext <<_ACEOF
4430 `cat $LEX_OUTPUT_ROOT.c`
4432 rm -f conftest.
$ac_objext conftest
$ac_exeext
4433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4434 (eval $ac_link) 2>conftest.er1
4436 grep -v '^ *+' conftest.er1
>conftest.err
4438 cat conftest.err
>&5
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); } &&
4441 { ac_try
='test -z "$ac_c_werror_flag"
4442 || test ! -s conftest.err'
4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; } &&
4448 { ac_try
='test -s conftest$ac_exeext'
4449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }; }; then
4454 ac_cv_prog_lex_yytext_pointer
=yes
4456 echo "$as_me: failed program was:" >&5
4457 sed 's/^/| /' conftest.
$ac_ext >&5
4460 rm -f conftest.err conftest.
$ac_objext \
4461 conftest
$ac_exeext conftest.
$ac_ext
4463 rm -f "${LEX_OUTPUT_ROOT}.c"
4466 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4467 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4468 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4470 cat >>confdefs.h
<<\_ACEOF
4471 #define YYTEXT_POINTER 1
4479 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
4480 echo "${ECHO_T}$ac_cv_has_flex" >&6
4481 if test "$LEX" != "flex"; then
4482 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
4483 echo "$as_me: error: flex not found but required" >&2;}
4484 { (exit 1); exit 1; }; }
4490 echo "$as_me:$LINENO: checking " >&5
4491 echo $ECHO_N "checking ... $ECHO_C" >&6
4492 if test "${llvm_cv_has_bison+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 for ac_prog
in 'bison -y' byacc
4497 # Extract the first word of "$ac_prog", so it can be a program name with args.
4498 set dummy
$ac_prog; ac_word
=$2
4499 echo "$as_me:$LINENO: checking for $ac_word" >&5
4500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4501 if test "${ac_cv_prog_YACC+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 if test -n "$YACC"; then
4505 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4511 test -z "$as_dir" && as_dir
=.
4512 for ac_exec_ext
in '' $ac_executable_extensions; do
4513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4514 ac_cv_prog_YACC
="$ac_prog"
4515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 YACC
=$ac_cv_prog_YACC
4524 if test -n "$YACC"; then
4525 echo "$as_me:$LINENO: result: $YACC" >&5
4526 echo "${ECHO_T}$YACC" >&6
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4532 test -n "$YACC" && break
4534 test -n "$YACC" || YACC
="yacc"
4537 echo "$as_me:$LINENO: result: $llvm_cv_has_bison" >&5
4538 echo "${ECHO_T}$llvm_cv_has_bison" >&6
4539 if test "$YACC" != "bison -y"; then
4540 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
4541 echo "$as_me: error: bison not found but required" >&2;}
4542 { (exit 1); exit 1; }; }
4548 echo "$as_me:$LINENO: checking for GNU make" >&5
4549 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
4550 if test "${llvm_cv_gnu_make_command+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 llvm_cv_gnu_make_command
=''
4554 for a
in "$MAKE" make gmake gnumake
; do
4555 if test -z "$a" ; then continue ; fi ;
4556 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
4558 llvm_cv_gnu_make_command
=$a ;
4563 echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
4564 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6
4565 if test "x$llvm_cv_gnu_make_command" != "x" ; then
4569 echo "$as_me:$LINENO: result: \"Not found\"" >&5
4570 echo "${ECHO_T}\"Not found\"" >&6;
4574 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4575 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4577 if test "$LN_S" = "ln -s"; then
4578 echo "$as_me:$LINENO: result: yes" >&5
4579 echo "${ECHO_T}yes" >&6
4581 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4582 echo "${ECHO_T}no, using $LN_S" >&6
4585 # Extract the first word of "cmp", so it can be a program name with args.
4586 set dummy
cmp; ac_word
=$2
4587 echo "$as_me:$LINENO: checking for $ac_word" >&5
4588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4589 if test "${ac_cv_path_CMP+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
4597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4601 test -z "$as_dir" && as_dir
=.
4602 for ac_exec_ext
in '' $ac_executable_extensions; do
4603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
4605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
4617 if test -n "$CMP"; then
4618 echo "$as_me:$LINENO: result: $CMP" >&5
4619 echo "${ECHO_T}$CMP" >&6
4621 echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6
4625 # Extract the first word of "cp", so it can be a program name with args.
4626 set dummy
cp; ac_word
=$2
4627 echo "$as_me:$LINENO: checking for $ac_word" >&5
4628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4629 if test "${ac_cv_path_CP+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
4637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir
=.
4642 for ac_exec_ext
in '' $ac_executable_extensions; do
4643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4644 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
4645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
4657 if test -n "$CP"; then
4658 echo "$as_me:$LINENO: result: $CP" >&5
4659 echo "${ECHO_T}$CP" >&6
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4665 # Extract the first word of "date", so it can be a program name with args.
4666 set dummy
date; ac_word
=$2
4667 echo "$as_me:$LINENO: checking for $ac_word" >&5
4668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4669 if test "${ac_cv_path_DATE+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4674 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
4677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4681 test -z "$as_dir" && as_dir
=.
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
4685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
4695 DATE
=$ac_cv_path_DATE
4697 if test -n "$DATE"; then
4698 echo "$as_me:$LINENO: result: $DATE" >&5
4699 echo "${ECHO_T}$DATE" >&6
4701 echo "$as_me:$LINENO: result: no" >&5
4702 echo "${ECHO_T}no" >&6
4705 # Extract the first word of "find", so it can be a program name with args.
4706 set dummy
find; ac_word
=$2
4707 echo "$as_me:$LINENO: checking for $ac_word" >&5
4708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4709 if test "${ac_cv_path_FIND+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4714 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir
=.
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4724 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
4725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
4735 FIND
=$ac_cv_path_FIND
4737 if test -n "$FIND"; then
4738 echo "$as_me:$LINENO: result: $FIND" >&5
4739 echo "${ECHO_T}$FIND" >&6
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4745 # Extract the first word of "grep", so it can be a program name with args.
4746 set dummy
grep; ac_word
=$2
4747 echo "$as_me:$LINENO: checking for $ac_word" >&5
4748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4749 if test "${ac_cv_path_GREP+set}" = set; then
4750 echo $ECHO_N "(cached) $ECHO_C" >&6
4754 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
4757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4761 test -z "$as_dir" && as_dir
=.
4762 for ac_exec_ext
in '' $ac_executable_extensions; do
4763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4764 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
4765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
4775 GREP
=$ac_cv_path_GREP
4777 if test -n "$GREP"; then
4778 echo "$as_me:$LINENO: result: $GREP" >&5
4779 echo "${ECHO_T}$GREP" >&6
4781 echo "$as_me:$LINENO: result: no" >&5
4782 echo "${ECHO_T}no" >&6
4785 # Extract the first word of "mkdir", so it can be a program name with args.
4786 set dummy mkdir
; ac_word
=$2
4787 echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4789 if test "${ac_cv_path_MKDIR+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
4797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir
=.
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4804 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
4805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
4815 MKDIR
=$ac_cv_path_MKDIR
4817 if test -n "$MKDIR"; then
4818 echo "$as_me:$LINENO: result: $MKDIR" >&5
4819 echo "${ECHO_T}$MKDIR" >&6
4821 echo "$as_me:$LINENO: result: no" >&5
4822 echo "${ECHO_T}no" >&6
4825 # Extract the first word of "mv", so it can be a program name with args.
4826 set dummy
mv; ac_word
=$2
4827 echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4829 if test "${ac_cv_path_MV+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
4837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4841 test -z "$as_dir" && as_dir
=.
4842 for ac_exec_ext
in '' $ac_executable_extensions; do
4843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4844 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
4845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
4857 if test -n "$MV"; then
4858 echo "$as_me:$LINENO: result: $MV" >&5
4859 echo "${ECHO_T}$MV" >&6
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4865 if test -n "$ac_tool_prefix"; then
4866 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4867 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4868 echo "$as_me:$LINENO: checking for $ac_word" >&5
4869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4870 if test "${ac_cv_prog_RANLIB+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 if test -n "$RANLIB"; then
4874 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 test -z "$as_dir" && as_dir
=.
4881 for ac_exec_ext
in '' $ac_executable_extensions; do
4882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4883 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 RANLIB
=$ac_cv_prog_RANLIB
4893 if test -n "$RANLIB"; then
4894 echo "$as_me:$LINENO: result: $RANLIB" >&5
4895 echo "${ECHO_T}$RANLIB" >&6
4897 echo "$as_me:$LINENO: result: no" >&5
4898 echo "${ECHO_T}no" >&6
4902 if test -z "$ac_cv_prog_RANLIB"; then
4903 ac_ct_RANLIB
=$RANLIB
4904 # Extract the first word of "ranlib", so it can be a program name with args.
4905 set dummy ranlib
; ac_word
=$2
4906 echo "$as_me:$LINENO: checking for $ac_word" >&5
4907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4908 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 if test -n "$ac_ct_RANLIB"; then
4912 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir
=.
4919 for ac_exec_ext
in '' $ac_executable_extensions; do
4920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4921 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4928 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4931 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4932 if test -n "$ac_ct_RANLIB"; then
4933 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4934 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4940 RANLIB
=$ac_ct_RANLIB
4942 RANLIB
="$ac_cv_prog_RANLIB"
4945 # Extract the first word of "rm", so it can be a program name with args.
4946 set dummy
rm; ac_word
=$2
4947 echo "$as_me:$LINENO: checking for $ac_word" >&5
4948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4949 if test "${ac_cv_path_RM+set}" = set; then
4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
4965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
4977 if test -n "$RM"; then
4978 echo "$as_me:$LINENO: result: $RM" >&5
4979 echo "${ECHO_T}$RM" >&6
4981 echo "$as_me:$LINENO: result: no" >&5
4982 echo "${ECHO_T}no" >&6
4985 # Extract the first word of "sed", so it can be a program name with args.
4986 set dummy
sed; ac_word
=$2
4987 echo "$as_me:$LINENO: checking for $ac_word" >&5
4988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4989 if test "${ac_cv_path_SED+set}" = set; then
4990 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
4997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir
=.
5002 for ac_exec_ext
in '' $ac_executable_extensions; do
5003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5004 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
5005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
5017 if test -n "$SED"; then
5018 echo "$as_me:$LINENO: result: $SED" >&5
5019 echo "${ECHO_T}$SED" >&6
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5025 # Extract the first word of "tar", so it can be a program name with args.
5026 set dummy
tar; ac_word
=$2
5027 echo "$as_me:$LINENO: checking for $ac_word" >&5
5028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5029 if test "${ac_cv_path_TAR+set}" = set; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir
=.
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
5045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
5057 if test -n "$TAR"; then
5058 echo "$as_me:$LINENO: result: $TAR" >&5
5059 echo "${ECHO_T}$TAR" >&6
5061 echo "$as_me:$LINENO: result: no" >&5
5062 echo "${ECHO_T}no" >&6
5066 # Find a good install program. We prefer a C program (faster),
5067 # so one script is as good as another. But avoid the broken or
5068 # incompatible versions:
5069 # SysV /etc/install, /usr/sbin/install
5070 # SunOS /usr/etc/install
5071 # IRIX /sbin/install
5073 # AmigaOS /C/install, which installs bootblocks on floppy discs
5074 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5075 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5076 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5077 # OS/2's system install, which has a completely different semantic
5078 # ./install, which can be erroneously created by make from ./install.sh.
5079 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5080 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5081 if test -z "$INSTALL"; then
5082 if test "${ac_cv_path_install+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5089 test -z "$as_dir" && as_dir
=.
5090 # Account for people who put trailing slashes in PATH elements.
5092 .
/ | .
// |
/cC
/* | \
5093 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5094 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5097 # OSF1 and SCO ODT 3.0 have their own names for install.
5098 # Don't use installbsd from OSF since it installs stuff as root
5100 for ac_prog
in ginstall scoinst
install; do
5101 for ac_exec_ext
in '' $ac_executable_extensions; do
5102 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5103 if test $ac_prog = install &&
5104 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5105 # AIX install. It has an incompatible calling convention.
5107 elif test $ac_prog = install &&
5108 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5109 # program-specific install script used by HP pwplus--don't use.
5112 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5124 if test "${ac_cv_path_install+set}" = set; then
5125 INSTALL
=$ac_cv_path_install
5127 # As a last resort, use the slow shell script. We don't cache a
5128 # path for INSTALL within a source directory, because that will
5129 # break other packages using the cache if that directory is
5130 # removed, or if the path is relative.
5131 INSTALL
=$ac_install_sh
5134 echo "$as_me:$LINENO: result: $INSTALL" >&5
5135 echo "${ECHO_T}$INSTALL" >&6
5137 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5138 # It thinks the first close brace ends the variable substitution.
5139 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5141 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5143 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5146 # Extract the first word of "bzip2", so it can be a program name with args.
5147 set dummy
bzip2; ac_word
=$2
5148 echo "$as_me:$LINENO: checking for $ac_word" >&5
5149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5150 if test "${ac_cv_path_BZIP2+set}" = set; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
5166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="true bzip2"
5176 BZIP2
=$ac_cv_path_BZIP2
5178 if test -n "$BZIP2"; then
5179 echo "$as_me:$LINENO: result: $BZIP2" >&5
5180 echo "${ECHO_T}$BZIP2" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5186 # Extract the first word of "dot", so it can be a program name with args.
5187 set dummy dot
; ac_word
=$2
5188 echo "$as_me:$LINENO: checking for $ac_word" >&5
5189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5190 if test "${ac_cv_path_DOT+set}" = set; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
5198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir
=.
5203 for ac_exec_ext
in '' $ac_executable_extensions; do
5204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
5206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="true dot"
5218 if test -n "$DOT"; then
5219 echo "$as_me:$LINENO: result: $DOT" >&5
5220 echo "${ECHO_T}$DOT" >&6
5222 echo "$as_me:$LINENO: result: no" >&5
5223 echo "${ECHO_T}no" >&6
5226 # Extract the first word of "doxygen", so it can be a program name with args.
5227 set dummy doxygen
; ac_word
=$2
5228 echo "$as_me:$LINENO: checking for $ac_word" >&5
5229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5230 if test "${ac_cv_path_DOXYGEN+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5235 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
5238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir
=.
5243 for ac_exec_ext
in '' $ac_executable_extensions; do
5244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
5246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="true doxygen"
5256 DOXYGEN
=$ac_cv_path_DOXYGEN
5258 if test -n "$DOXYGEN"; then
5259 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
5260 echo "${ECHO_T}$DOXYGEN" >&6
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5266 # Extract the first word of "etags", so it can be a program name with args.
5267 set dummy etags
; ac_word
=$2
5268 echo "$as_me:$LINENO: checking for $ac_word" >&5
5269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5270 if test "${ac_cv_path_ETAGS+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 ac_cv_path_ETAGS
="$ETAGS" # Let the user override the test with a path.
5278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir
=.
5283 for ac_exec_ext
in '' $ac_executable_extensions; do
5284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_path_ETAGS
="$as_dir/$ac_word$ac_exec_ext"
5286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS
="true etags"
5296 ETAGS
=$ac_cv_path_ETAGS
5298 if test -n "$ETAGS"; then
5299 echo "$as_me:$LINENO: result: $ETAGS" >&5
5300 echo "${ECHO_T}$ETAGS" >&6
5302 echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6
5306 # Extract the first word of "groff", so it can be a program name with args.
5307 set dummy
groff; ac_word
=$2
5308 echo "$as_me:$LINENO: checking for $ac_word" >&5
5309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5310 if test "${ac_cv_path_GROFF+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF
="true groff"
5336 GROFF
=$ac_cv_path_GROFF
5338 if test -n "$GROFF"; then
5339 echo "$as_me:$LINENO: result: $GROFF" >&5
5340 echo "${ECHO_T}$GROFF" >&6
5342 echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6
5346 # Extract the first word of "gzip", so it can be a program name with args.
5347 set dummy
gzip; ac_word
=$2
5348 echo "$as_me:$LINENO: checking for $ac_word" >&5
5349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5350 if test "${ac_cv_path_GZIP+set}" = set; then
5351 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
5366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP
="true gzip"
5376 GZIP
=$ac_cv_path_GZIP
5378 if test -n "$GZIP"; then
5379 echo "$as_me:$LINENO: result: $GZIP" >&5
5380 echo "${ECHO_T}$GZIP" >&6
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5386 # Extract the first word of "pod2html", so it can be a program name with args.
5387 set dummy pod2html
; ac_word
=$2
5388 echo "$as_me:$LINENO: checking for $ac_word" >&5
5389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5390 if test "${ac_cv_path_POD2HTML+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
5398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir
=.
5403 for ac_exec_ext
in '' $ac_executable_extensions; do
5404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
5406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="true pod2html"
5416 POD2HTML
=$ac_cv_path_POD2HTML
5418 if test -n "$POD2HTML"; then
5419 echo "$as_me:$LINENO: result: $POD2HTML" >&5
5420 echo "${ECHO_T}$POD2HTML" >&6
5422 echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6
5426 # Extract the first word of "pod2man", so it can be a program name with args.
5427 set dummy pod2man
; ac_word
=$2
5428 echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5430 if test "${ac_cv_path_POD2MAN+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
5438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5442 test -z "$as_dir" && as_dir
=.
5443 for ac_exec_ext
in '' $ac_executable_extensions; do
5444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5445 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
5446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="true pod2man"
5456 POD2MAN
=$ac_cv_path_POD2MAN
5458 if test -n "$POD2MAN"; then
5459 echo "$as_me:$LINENO: result: $POD2MAN" >&5
5460 echo "${ECHO_T}$POD2MAN" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5466 # Extract the first word of "runtest", so it can be a program name with args.
5467 set dummy runtest
; ac_word
=$2
5468 echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5470 if test "${ac_cv_path_RUNTEST+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
5478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir
=.
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
5486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 test -z "$ac_cv_path_RUNTEST" && ac_cv_path_RUNTEST
="true runtest"
5496 RUNTEST
=$ac_cv_path_RUNTEST
5498 if test -n "$RUNTEST"; then
5499 echo "$as_me:$LINENO: result: $RUNTEST" >&5
5500 echo "${ECHO_T}$RUNTEST" >&6
5502 echo "$as_me:$LINENO: result: no" >&5
5503 echo "${ECHO_T}no" >&6
5508 echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
5509 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6
5511 # Check whether --with-tclinclude or --without-tclinclude was given.
5512 if test "${with_tclinclude+set}" = set; then
5513 withval
="$with_tclinclude"
5514 with_tclinclude
=${withval}
5518 if test "${ac_cv_path_tclsh+set}" = set; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 if test x
"${with_tclinclude}" != x
; then
5523 if test -f ${with_tclinclude}/tclsh
; then
5524 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
5525 elif test -f ${with_tclinclude}/src
/tclsh
; then
5526 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
5528 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
5529 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
5530 { (exit 1); exit 1; }; }
5534 if test x
"${ac_cv_path_tclsh}" = x
; then
5535 echo "$as_me:$LINENO: result: none" >&5
5536 echo "${ECHO_T}none" >&6
5537 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
5539 # Extract the first word of "$ac_prog", so it can be a program name with args.
5540 set dummy
$ac_prog; ac_word
=$2
5541 echo "$as_me:$LINENO: checking for $ac_word" >&5
5542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5543 if test "${ac_cv_path_TCLSH+set}" = set; then
5544 echo $ECHO_N "(cached) $ECHO_C" >&6
5548 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
5551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5555 test -z "$as_dir" && as_dir
=.
5556 for ac_exec_ext
in '' $ac_executable_extensions; do
5557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
5559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 TCLSH
=$ac_cv_path_TCLSH
5570 if test -n "$TCLSH"; then
5571 echo "$as_me:$LINENO: result: $TCLSH" >&5
5572 echo "${ECHO_T}$TCLSH" >&6
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5578 test -n "$TCLSH" && break
5581 if test x
"${TCLSH}" = x
; then
5582 ac_cv_path_tclsh
='';
5584 ac_cv_path_tclsh
="${TCLSH}";
5587 echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
5588 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6
5589 TCLSH
="${ac_cv_path_tclsh}"
5595 # Extract the first word of "zip", so it can be a program name with args.
5596 set dummy
zip; ac_word
=$2
5597 echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5599 if test "${ac_cv_path_ZIP+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5604 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5611 test -z "$as_dir" && as_dir
=.
5612 for ac_exec_ext
in '' $ac_executable_extensions; do
5613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="true zip"
5627 if test -n "$ZIP"; then
5628 echo "$as_me:$LINENO: result: $ZIP" >&5
5629 echo "${ECHO_T}$ZIP" >&6
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5636 echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
5637 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6
5638 if test "${llvm_cv_link_use_r+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 ac_cpp
='$CPP $CPPFLAGS'
5643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5648 CFLAGS
="$CFLAGS -Wl,-R."
5649 cat >conftest.
$ac_ext <<_ACEOF
5652 cat confdefs.h
>>conftest.
$ac_ext
5653 cat >>conftest.
$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5659 int main() { return 0; }
5664 rm -f conftest.
$ac_objext conftest
$ac_exeext
5665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5666 (eval $ac_link) 2>conftest.er1
5668 grep -v '^ *+' conftest.er1
>conftest.err
5670 cat conftest.err
>&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); } &&
5673 { ac_try
='test -z "$ac_c_werror_flag"
5674 || test ! -s conftest.err'
5675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); }; } &&
5680 { ac_try
='test -s conftest$ac_exeext'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; }; then
5686 llvm_cv_link_use_r
=yes
5688 echo "$as_me: failed program was:" >&5
5689 sed 's/^/| /' conftest.
$ac_ext >&5
5691 llvm_cv_link_use_r
=no
5693 rm -f conftest.err conftest.
$ac_objext \
5694 conftest
$ac_exeext conftest.
$ac_ext
5697 ac_cpp
='$CPP $CPPFLAGS'
5698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5704 echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
5705 echo "${ECHO_T}$llvm_cv_link_use_r" >&6
5706 if test "$llvm_cv_link_use_r" = yes ; then
5708 cat >>confdefs.h
<<\_ACEOF
5709 #define HAVE_LINK_R 1
5717 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5718 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5719 if test "${ac_cv_c_const+set}" = set; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 cat >conftest.
$ac_ext <<_ACEOF
5725 cat confdefs.h
>>conftest.
$ac_ext
5726 cat >>conftest.
$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5732 /* FIXME: Include the comments suggested by Paul. */
5734 /* Ultrix mips cc rejects this. */
5735 typedef int charset[2];
5737 /* SunOS 4.1.1 cc rejects this. */
5738 char const *const *ccp;
5740 /* NEC SVR4.0.2 mips cc rejects this. */
5741 struct point {int x, y;};
5742 static struct point const zero = {0,0};
5743 /* AIX XL C 1.02.0.0 rejects this.
5744 It does not let you subtract one const X* pointer from another in
5745 an arm of an if-expression whose if-part is not a constant
5747 const char *g = "string";
5748 ccp = &g + (g ? g-g : 0);
5749 /* HPUX 7.0 cc rejects these. */
5752 ccp = (char const *const *) p;
5753 { /* SCO 3.2v4 cc rejects this. */
5755 char const *s = 0 ? (char *) 0 : (char const *) 0;
5759 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5761 const int *foo = &x[0];
5764 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5765 typedef const int *iptr;
5769 { /* AIX XL C 1.02.0.0 rejects this saying
5770 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5771 struct s { int j; const int *ap[3]; };
5772 struct s *b; b->j = 5;
5774 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5783 rm -f conftest.
$ac_objext
5784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5785 (eval $ac_compile) 2>conftest.er1
5787 grep -v '^ *+' conftest.er1
>conftest.err
5789 cat conftest.err
>&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } &&
5792 { ac_try
='test -z "$ac_c_werror_flag"
5793 || test ! -s conftest.err'
5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; } &&
5799 { ac_try
='test -s conftest.$ac_objext'
5800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); }; }; then
5807 echo "$as_me: failed program was:" >&5
5808 sed 's/^/| /' conftest.
$ac_ext >&5
5812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5814 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5815 echo "${ECHO_T}$ac_cv_c_const" >&6
5816 if test $ac_cv_c_const = no
; then
5818 cat >>confdefs.h
<<\_ACEOF
5825 echo "$as_me:$LINENO: checking for egrep" >&5
5826 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5827 if test "${ac_cv_prog_egrep+set}" = set; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5830 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5831 then ac_cv_prog_egrep
='grep -E'
5832 else ac_cv_prog_egrep
='egrep'
5835 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5836 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5837 EGREP
=$ac_cv_prog_egrep
5840 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5841 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5842 if test "${ac_cv_header_stdc+set}" = set; then
5843 echo $ECHO_N "(cached) $ECHO_C" >&6
5845 cat >conftest.
$ac_ext <<_ACEOF
5848 cat confdefs.h
>>conftest.
$ac_ext
5849 cat >>conftest.
$ac_ext <<_ACEOF
5850 /* end confdefs.h. */
5864 rm -f conftest.
$ac_objext
5865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5866 (eval $ac_compile) 2>conftest.er1
5868 grep -v '^ *+' conftest.er1
>conftest.err
5870 cat conftest.err
>&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); } &&
5873 { ac_try
='test -z "$ac_c_werror_flag"
5874 || test ! -s conftest.err'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; } &&
5880 { ac_try
='test -s conftest.$ac_objext'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; }; then
5886 ac_cv_header_stdc
=yes
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.
$ac_ext >&5
5891 ac_cv_header_stdc
=no
5893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5895 if test $ac_cv_header_stdc = yes; then
5896 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5897 cat >conftest.
$ac_ext <<_ACEOF
5900 cat confdefs.h
>>conftest.
$ac_ext
5901 cat >>conftest.
$ac_ext <<_ACEOF
5902 /* end confdefs.h. */
5906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5907 $EGREP "memchr" >/dev
/null
2>&1; then
5910 ac_cv_header_stdc
=no
5916 if test $ac_cv_header_stdc = yes; then
5917 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5918 cat >conftest.
$ac_ext <<_ACEOF
5921 cat confdefs.h
>>conftest.
$ac_ext
5922 cat >>conftest.
$ac_ext <<_ACEOF
5923 /* end confdefs.h. */
5927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5928 $EGREP "free" >/dev
/null
2>&1; then
5931 ac_cv_header_stdc
=no
5937 if test $ac_cv_header_stdc = yes; then
5938 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5939 if test "$cross_compiling" = yes; then
5942 cat >conftest.
$ac_ext <<_ACEOF
5945 cat confdefs.h
>>conftest.
$ac_ext
5946 cat >>conftest.
$ac_ext <<_ACEOF
5947 /* end confdefs.h. */
5949 #if ((' ' & 0x0FF) == 0x020)
5950 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5951 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5953 # define ISLOWER(c) \
5954 (('a' <= (c) && (c) <= 'i') \
5955 || ('j' <= (c) && (c) <= 'r') \
5956 || ('s' <= (c) && (c) <= 'z'))
5957 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5960 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5965 for (i = 0; i < 256; i++)
5966 if (XOR (islower (i), ISLOWER (i))
5967 || toupper (i) != TOUPPER (i))
5972 rm -f conftest
$ac_exeext
5973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5974 (eval $ac_link) 2>&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; }; then
5985 echo "$as_me: program exited with status $ac_status" >&5
5986 echo "$as_me: failed program was:" >&5
5987 sed 's/^/| /' conftest.
$ac_ext >&5
5990 ac_cv_header_stdc
=no
5992 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5996 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5997 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5998 if test $ac_cv_header_stdc = yes; then
6000 cat >>confdefs.h
<<\_ACEOF
6001 #define STDC_HEADERS 1
6012 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6013 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6014 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6015 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 cat >conftest.
$ac_ext <<_ACEOF
6022 cat confdefs.h
>>conftest.
$ac_ext
6023 cat >>conftest.
$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6025 #include <sys/types.h>
6037 rm -f conftest.
$ac_objext
6038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6039 (eval $ac_compile) 2>conftest.er1
6041 grep -v '^ *+' conftest.er1
>conftest.err
6043 cat conftest.err
>&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } &&
6046 { ac_try
='test -z "$ac_c_werror_flag"
6047 || test ! -s conftest.err'
6048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); }; } &&
6053 { ac_try
='test -s conftest.$ac_objext'
6054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); }; }; then
6059 eval "$as_ac_Header=yes"
6061 echo "$as_me: failed program was:" >&5
6062 sed 's/^/| /' conftest.
$ac_ext >&5
6064 eval "$as_ac_Header=no"
6066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6071 cat >>confdefs.h
<<_ACEOF
6072 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6075 ac_header_dirent
=$ac_hdr; break
6079 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6080 if test $ac_header_dirent = dirent.h
; then
6081 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6082 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6083 if test "${ac_cv_search_opendir+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 ac_func_search_save_LIBS
=$LIBS
6087 ac_cv_search_opendir
=no
6088 cat >conftest.
$ac_ext <<_ACEOF
6091 cat confdefs.h
>>conftest.
$ac_ext
6092 cat >>conftest.
$ac_ext <<_ACEOF
6093 /* end confdefs.h. */
6095 /* Override any gcc2 internal prototype to avoid an error. */
6099 /* We use char because int might match the return type of a gcc2
6100 builtin and then its argument prototype would still apply. */
6110 rm -f conftest.
$ac_objext conftest
$ac_exeext
6111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6112 (eval $ac_link) 2>conftest.er1
6114 grep -v '^ *+' conftest.er1
>conftest.err
6116 cat conftest.err
>&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); } &&
6119 { ac_try
='test -z "$ac_c_werror_flag"
6120 || test ! -s conftest.err'
6121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); }; } &&
6126 { ac_try
='test -s conftest$ac_exeext'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; }; then
6132 ac_cv_search_opendir
="none required"
6134 echo "$as_me: failed program was:" >&5
6135 sed 's/^/| /' conftest.
$ac_ext >&5
6138 rm -f conftest.err conftest.
$ac_objext \
6139 conftest
$ac_exeext conftest.
$ac_ext
6140 if test "$ac_cv_search_opendir" = no
; then
6141 for ac_lib
in dir
; do
6142 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6143 cat >conftest.
$ac_ext <<_ACEOF
6146 cat confdefs.h
>>conftest.
$ac_ext
6147 cat >>conftest.
$ac_ext <<_ACEOF
6148 /* end confdefs.h. */
6150 /* Override any gcc2 internal prototype to avoid an error. */
6154 /* We use char because int might match the return type of a gcc2
6155 builtin and then its argument prototype would still apply. */
6165 rm -f conftest.
$ac_objext conftest
$ac_exeext
6166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6167 (eval $ac_link) 2>conftest.er1
6169 grep -v '^ *+' conftest.er1
>conftest.err
6171 cat conftest.err
>&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); } &&
6174 { ac_try
='test -z "$ac_c_werror_flag"
6175 || test ! -s conftest.err'
6176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); }; } &&
6181 { ac_try
='test -s conftest$ac_exeext'
6182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; }; then
6187 ac_cv_search_opendir
="-l$ac_lib"
6190 echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.
$ac_ext >&5
6194 rm -f conftest.err conftest.
$ac_objext \
6195 conftest
$ac_exeext conftest.
$ac_ext
6198 LIBS
=$ac_func_search_save_LIBS
6200 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6201 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6202 if test "$ac_cv_search_opendir" != no
; then
6203 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6208 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6209 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6210 if test "${ac_cv_search_opendir+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 ac_func_search_save_LIBS
=$LIBS
6214 ac_cv_search_opendir
=no
6215 cat >conftest.
$ac_ext <<_ACEOF
6218 cat confdefs.h
>>conftest.
$ac_ext
6219 cat >>conftest.
$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6222 /* Override any gcc2 internal prototype to avoid an error. */
6226 /* We use char because int might match the return type of a gcc2
6227 builtin and then its argument prototype would still apply. */
6237 rm -f conftest.
$ac_objext conftest
$ac_exeext
6238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6239 (eval $ac_link) 2>conftest.er1
6241 grep -v '^ *+' conftest.er1
>conftest.err
6243 cat conftest.err
>&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } &&
6246 { ac_try
='test -z "$ac_c_werror_flag"
6247 || test ! -s conftest.err'
6248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; } &&
6253 { ac_try
='test -s conftest$ac_exeext'
6254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); }; }; then
6259 ac_cv_search_opendir
="none required"
6261 echo "$as_me: failed program was:" >&5
6262 sed 's/^/| /' conftest.
$ac_ext >&5
6265 rm -f conftest.err conftest.
$ac_objext \
6266 conftest
$ac_exeext conftest.
$ac_ext
6267 if test "$ac_cv_search_opendir" = no
; then
6269 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6270 cat >conftest.
$ac_ext <<_ACEOF
6273 cat confdefs.h
>>conftest.
$ac_ext
6274 cat >>conftest.
$ac_ext <<_ACEOF
6275 /* end confdefs.h. */
6277 /* Override any gcc2 internal prototype to avoid an error. */
6281 /* We use char because int might match the return type of a gcc2
6282 builtin and then its argument prototype would still apply. */
6292 rm -f conftest.
$ac_objext conftest
$ac_exeext
6293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6294 (eval $ac_link) 2>conftest.er1
6296 grep -v '^ *+' conftest.er1
>conftest.err
6298 cat conftest.err
>&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } &&
6301 { ac_try
='test -z "$ac_c_werror_flag"
6302 || test ! -s conftest.err'
6303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); }; } &&
6308 { ac_try
='test -s conftest$ac_exeext'
6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; }; then
6314 ac_cv_search_opendir
="-l$ac_lib"
6317 echo "$as_me: failed program was:" >&5
6318 sed 's/^/| /' conftest.
$ac_ext >&5
6321 rm -f conftest.err conftest.
$ac_objext \
6322 conftest
$ac_exeext conftest.
$ac_ext
6325 LIBS
=$ac_func_search_save_LIBS
6327 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6328 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6329 if test "$ac_cv_search_opendir" != no
; then
6330 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6336 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6346 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6347 inttypes.h stdint.h unistd.h
6349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6350 echo "$as_me:$LINENO: checking for $ac_header" >&5
6351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6353 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 cat >conftest.
$ac_ext <<_ACEOF
6358 cat confdefs.h
>>conftest.
$ac_ext
6359 cat >>conftest.
$ac_ext <<_ACEOF
6360 /* end confdefs.h. */
6361 $ac_includes_default
6363 #include <$ac_header>
6365 rm -f conftest.
$ac_objext
6366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6367 (eval $ac_compile) 2>conftest.er1
6369 grep -v '^ *+' conftest.er1
>conftest.err
6371 cat conftest.err
>&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); } &&
6374 { ac_try
='test -z "$ac_c_werror_flag"
6375 || test ! -s conftest.err'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; } &&
6381 { ac_try
='test -s conftest.$ac_objext'
6382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); }; }; then
6387 eval "$as_ac_Header=yes"
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6392 eval "$as_ac_Header=no"
6394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6399 cat >>confdefs.h
<<_ACEOF
6400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6409 for ac_header
in dlfcn.h
6411 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6413 echo "$as_me:$LINENO: checking for $ac_header" >&5
6414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6416 echo $ECHO_N "(cached) $ECHO_C" >&6
6418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6421 # Is the header compilable?
6422 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6424 cat >conftest.
$ac_ext <<_ACEOF
6427 cat confdefs.h
>>conftest.
$ac_ext
6428 cat >>conftest.
$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6430 $ac_includes_default
6431 #include <$ac_header>
6433 rm -f conftest.
$ac_objext
6434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6435 (eval $ac_compile) 2>conftest.er1
6437 grep -v '^ *+' conftest.er1
>conftest.err
6439 cat conftest.err
>&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); } &&
6442 { ac_try
='test -z "$ac_c_werror_flag"
6443 || test ! -s conftest.err'
6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }; } &&
6449 { ac_try
='test -s conftest.$ac_objext'
6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); }; }; then
6455 ac_header_compiler
=yes
6457 echo "$as_me: failed program was:" >&5
6458 sed 's/^/| /' conftest.
$ac_ext >&5
6460 ac_header_compiler
=no
6462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6463 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6464 echo "${ECHO_T}$ac_header_compiler" >&6
6466 # Is the header present?
6467 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6468 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6469 cat >conftest.
$ac_ext <<_ACEOF
6472 cat confdefs.h
>>conftest.
$ac_ext
6473 cat >>conftest.
$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 #include <$ac_header>
6477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6480 grep -v '^ *+' conftest.er1
>conftest.err
6482 cat conftest.err
>&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); } >/dev
/null
; then
6485 if test -s conftest.err
; then
6486 ac_cpp_err
=$ac_c_preproc_warn_flag
6487 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6494 if test -z "$ac_cpp_err"; then
6495 ac_header_preproc
=yes
6497 echo "$as_me: failed program was:" >&5
6498 sed 's/^/| /' conftest.
$ac_ext >&5
6500 ac_header_preproc
=no
6502 rm -f conftest.err conftest.
$ac_ext
6503 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6504 echo "${ECHO_T}$ac_header_preproc" >&6
6506 # So? What about this header?
6507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6513 ac_header_preproc
=yes
6516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6530 ## ----------------------------------- ##
6531 ## Report this to llvmbugs@cs.uiuc.edu ##
6532 ## ----------------------------------- ##
6535 sed "s/^/$as_me: WARNING: /" >&2
6538 echo "$as_me:$LINENO: checking for $ac_header" >&5
6539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 eval "$as_ac_Header=\$ac_header_preproc"
6545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6550 cat >>confdefs.h
<<_ACEOF
6551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6558 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
6559 if test "${enable_ltdl_install+set}" = set; then
6560 enableval
="$enable_ltdl_install"
6566 if test x
"${enable_ltdl_install-no}" != xno
; then
6568 INSTALL_LTDL_FALSE
='#'
6570 INSTALL_LTDL_TRUE
='#'
6576 if test x
"${enable_ltdl_convenience-no}" != xno
; then
6577 CONVENIENCE_LTDL_TRUE
=
6578 CONVENIENCE_LTDL_FALSE
='#'
6580 CONVENIENCE_LTDL_TRUE
='#'
6581 CONVENIENCE_LTDL_FALSE
=
6585 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6586 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6588 libname_spec
='lib$name'
6596 shlibpath_overrides_runpath
=unknown
6598 dynamic_linker
="$host_os ld.so"
6599 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
6600 if test "$GCC" = yes; then
6601 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6602 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
6603 # if the path contains ";" then we assume it to be the separator
6604 # otherwise default to the standard path separator (i.e. ":") - it is
6605 # assumed that no part of a normal pathname contains ";" but that should
6606 # okay in the real world where ";" in dirpaths is itself problematic.
6607 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6609 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6612 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
6614 need_lib_prefix
=unknown
6615 hardcode_into_libs
=no
6617 # when you set need_version to no, make sure it does not cause -set_version
6618 # flags to be left without arguments
6619 need_version
=unknown
6624 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6625 shlibpath_var
=LIBPATH
6627 # AIX 3 has no versioning support, so we append a major version to the name.
6628 soname_spec
='${libname}${release}${shared_ext}$major'
6635 hardcode_into_libs
=yes
6636 if test "$host_cpu" = ia64
; then
6637 # AIX 5 supports IA64
6638 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6639 shlibpath_var
=LD_LIBRARY_PATH
6641 # With GCC up to 2.95.x, collect2 would create an import file
6642 # for dependence libraries. The import file would start with
6643 # the line `#! .'. This would cause the generated library to
6644 # depend on `.', always an invalid library. This was fixed in
6645 # development snapshots of GCC prior to 3.0.
6647 aix4 | aix4.
[01] | aix4.
[01].
*)
6648 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6650 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6657 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6658 # soname into executable. Probably we can add versioning support to
6659 # collect2, so additional links can be useful in future.
6660 if test "$aix_use_runtimelinking" = yes; then
6661 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6662 # instead of lib<name>.a to let people know that these are not
6663 # typical AIX shared libraries.
6664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6666 # We preserve .a as extension for shared libraries through AIX4.2
6667 # and later when we are not doing run time linking.
6668 library_names_spec
='${libname}${release}.a $libname.a'
6669 soname_spec
='${libname}${release}${shared_ext}$major'
6671 shlibpath_var
=LIBPATH
6676 library_names_spec
='$libname.ixlibrary $libname.a'
6677 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6678 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'
6682 library_names_spec
='${libname}${shared_ext}'
6683 dynamic_linker
="$host_os ld.so"
6684 shlibpath_var
=LIBRARY_PATH
6690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6691 soname_spec
='${libname}${release}${shared_ext}$major'
6692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6693 shlibpath_var
=LD_LIBRARY_PATH
6694 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6695 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6696 # the default ld.so.conf also contains /usr/contrib/lib and
6697 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6698 # libtool to hard-code these into programs
6701 cygwin
* | mingw
* | pw32
*)
6702 version_type
=windows
6707 case $GCC,$host_os in
6708 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6709 library_names_spec
='$libname.dll.a'
6710 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6711 postinstall_cmds
='base_file=`basename \${file}`~
6712 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6713 dldir=$destdir/`dirname \$dlpath`~
6714 test -d \$dldir || mkdir -p \$dldir~
6715 $install_prog $dir/$dlname \$dldir/$dlname'
6716 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6717 dlpath=$dir/\$dldll~
6719 shlibpath_overrides_runpath
=yes
6723 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6724 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6725 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
6728 # MinGW DLLs use traditional 'lib' prefix
6729 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6730 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6731 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6732 # It is most probably a Windows format PATH printed by
6733 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6734 # path with ; separators, and with drive letters. We can handle the
6735 # drive letters (cygwin fileutils understands them), so leave them,
6736 # especially as we might pass files found there to a mingw objdump,
6737 # which wouldn't understand a cygwinified path. Ahh.
6738 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6740 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6744 # pw32 DLLs use 'pw' prefix rather than 'lib'
6745 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
6751 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6754 dynamic_linker
='Win32 ld.exe'
6755 # FIXME: first we should search . and the directory the executable is in
6759 darwin
* | rhapsody
*)
6760 dynamic_linker
="$host_os dyld"
6764 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6765 soname_spec
='${libname}${release}${major}$shared_ext'
6766 shlibpath_overrides_runpath
=yes
6767 shlibpath_var
=DYLD_LIBRARY_PATH
6768 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
6769 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6770 if test "$GCC" = yes; then
6771 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"`
6773 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
6775 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6783 soname_spec
='${libname}${release}${shared_ext}$major'
6784 shlibpath_var
=LD_LIBRARY_PATH
6795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6796 soname_spec
='${libname}${release}${shared_ext}$major'
6797 shlibpath_var
=LD_LIBRARY_PATH
6798 shlibpath_overrides_runpath
=no
6799 hardcode_into_libs
=yes
6800 dynamic_linker
='GNU ld.so'
6804 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6805 version_type
=freebsd-
$objformat
6806 case $version_type in
6808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6813 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6817 shlibpath_var
=LD_LIBRARY_PATH
6820 shlibpath_overrides_runpath
=yes
6822 freebsd3.01
* | freebsdelf3.01
*)
6823 shlibpath_overrides_runpath
=yes
6824 hardcode_into_libs
=yes
6827 shlibpath_overrides_runpath
=no
6828 hardcode_into_libs
=yes
6837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6838 soname_spec
='${libname}${release}${shared_ext}$major'
6839 shlibpath_var
=LD_LIBRARY_PATH
6840 hardcode_into_libs
=yes
6843 hpux9
* | hpux10
* | hpux11
*)
6844 # Give a soname corresponding to the major version so that dld.sl refuses to
6845 # link against other versions.
6852 hardcode_into_libs
=yes
6853 dynamic_linker
="$host_os dld.so"
6854 shlibpath_var
=LD_LIBRARY_PATH
6855 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6857 soname_spec
='${libname}${release}${shared_ext}$major'
6858 if test "X$HPUX_IA64_MODE" = X32
; then
6859 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6861 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
6863 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6867 hardcode_into_libs
=yes
6868 dynamic_linker
="$host_os dld.sl"
6869 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
6870 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6872 soname_spec
='${libname}${release}${shared_ext}$major'
6873 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6874 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6878 dynamic_linker
="$host_os dld.sl"
6879 shlibpath_var
=SHLIB_PATH
6880 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
6881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6882 soname_spec
='${libname}${release}${shared_ext}$major'
6885 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6886 postinstall_cmds
='chmod 555 $lib'
6889 irix5
* | irix6
* | nonstopux
*)
6891 nonstopux
*) version_type
=nonstopux
;;
6893 if test "$lt_cv_prog_gnu_ld" = yes; then
6901 soname_spec
='${libname}${release}${shared_ext}$major'
6902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6904 irix5
* | nonstopux
*)
6908 case $LD in # libtool.m4 will add one of these switches to LD
6909 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
6910 libsuff
= shlibsuff
= libmagic
=32-bit;;
6911 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
6912 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
6913 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
6914 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
6915 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
6919 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
6920 shlibpath_overrides_runpath
=no
6921 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6922 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
6923 hardcode_into_libs
=yes
6926 # No shared lib support for Linux oldld, aout, or coff.
6927 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
6931 # This must be Linux ELF.
6936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6937 soname_spec
='${libname}${release}${shared_ext}$major'
6938 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6939 shlibpath_var
=LD_LIBRARY_PATH
6940 shlibpath_overrides_runpath
=no
6941 # This implies no fast_install, which is unacceptable.
6942 # Some rework will be needed to allow for fast_install
6943 # before this can be enabled.
6944 hardcode_into_libs
=yes
6946 # Append ld.so.conf contents to the search path
6947 if test -f /etc
/ld.so.conf
; then
6948 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
6949 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
6952 # We used to test for /lib/ld.so.1 and disable shared libraries on
6953 # powerpc, because MkLinux only supported shared libraries with the
6954 # GNU dynamic linker. Since this was broken with cross compilers,
6955 # most powerpc-linux boxes support dynamic linking these days and
6956 # people can always --disable-shared, the test was removed, and we
6957 # assume the GNU/Linux dynamic linker is in use.
6958 dynamic_linker
='GNU/Linux ld.so'
6965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6966 soname_spec
='${libname}${release}${shared_ext}$major'
6967 shlibpath_var
=LD_LIBRARY_PATH
6968 shlibpath_overrides_runpath
=no
6969 hardcode_into_libs
=yes
6970 dynamic_linker
='GNU ld.so'
6977 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6979 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6980 dynamic_linker
='NetBSD (a.out) ld.so'
6982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6983 soname_spec
='${libname}${release}${shared_ext}$major'
6984 dynamic_linker
='NetBSD ld.elf_so'
6986 shlibpath_var
=LD_LIBRARY_PATH
6987 shlibpath_overrides_runpath
=yes
6988 hardcode_into_libs
=yes
6993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6994 shlibpath_var
=LD_LIBRARY_PATH
6995 shlibpath_overrides_runpath
=yes
7002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7003 soname_spec
='${libname}${release}${shared_ext}$major'
7004 shlibpath_var
=LD_LIBRARY_PATH
7005 shlibpath_overrides_runpath
=yes
7012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7013 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7014 shlibpath_var
=LD_LIBRARY_PATH
7015 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7017 openbsd2.
[89] | openbsd2.
[89].
*)
7018 shlibpath_overrides_runpath
=no
7021 shlibpath_overrides_runpath
=yes
7025 shlibpath_overrides_runpath
=yes
7030 libname_spec
='$name'
7033 library_names_spec
='$libname${shared_ext} $libname.a'
7034 dynamic_linker
='OS/2 ld.exe'
7035 shlibpath_var
=LIBPATH
7038 osf3
* | osf4
* | osf5
*)
7042 soname_spec
='${libname}${release}${shared_ext}$major'
7043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7044 shlibpath_var
=LD_LIBRARY_PATH
7045 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7046 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
7051 soname_spec
='${libname}${release}${shared_ext}$major'
7052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7053 shlibpath_var
=LD_LIBRARY_PATH
7060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7061 soname_spec
='${libname}${release}${shared_ext}$major'
7062 shlibpath_var
=LD_LIBRARY_PATH
7063 shlibpath_overrides_runpath
=yes
7064 hardcode_into_libs
=yes
7065 # ldd complains unless libraries are executable
7066 postinstall_cmds
='chmod +x $lib'
7071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7072 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7073 shlibpath_var
=LD_LIBRARY_PATH
7074 shlibpath_overrides_runpath
=yes
7075 if test "$with_gnu_ld" = yes; then
7081 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7084 soname_spec
='${libname}${release}${shared_ext}$major'
7085 shlibpath_var
=LD_LIBRARY_PATH
7086 case $host_vendor in
7088 shlibpath_overrides_runpath
=no
7090 export_dynamic_flag_spec
='${wl}-Blargedynsym'
7091 runpath_var
=LD_RUN_PATH
7099 shlibpath_overrides_runpath
=no
7100 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
7106 if test -d /usr
/nec
;then
7108 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7109 soname_spec
='$libname${shared_ext}.$major'
7110 shlibpath_var
=LD_LIBRARY_PATH
7116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7117 soname_spec
='${libname}${release}${shared_ext}$major'
7118 shlibpath_var
=LD_LIBRARY_PATH
7125 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7126 echo "${ECHO_T}$dynamic_linker" >&6
7127 test "$dynamic_linker" = no
&& can_build_shared
=no
7130 echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
7131 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
7132 if test "${libltdl_cv_shlibext+set}" = set; then
7133 echo $ECHO_N "(cached) $ECHO_C" >&6
7137 eval libltdl_cv_shlibext
=$shrext_cmds
7140 echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
7141 echo "${ECHO_T}$libltdl_cv_shlibext" >&6
7142 if test -n "$libltdl_cv_shlibext"; then
7144 cat >>confdefs.h
<<_ACEOF
7145 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
7151 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
7152 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
7153 if test "${libltdl_cv_shlibpath_var+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 libltdl_cv_shlibpath_var
="$shlibpath_var"
7158 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
7159 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
7160 if test -n "$libltdl_cv_shlibpath_var"; then
7162 cat >>confdefs.h
<<_ACEOF
7163 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
7169 echo "$as_me:$LINENO: checking for the default library search path" >&5
7170 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
7171 if test "${libltdl_cv_sys_search_path+set}" = set; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7174 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
7176 echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
7177 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
7178 if test -n "$libltdl_cv_sys_search_path"; then
7180 for dir
in $libltdl_cv_sys_search_path; do
7181 if test -z "$sys_search_path"; then
7182 sys_search_path
="$dir"
7184 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
7188 cat >>confdefs.h
<<_ACEOF
7189 #define LTDL_SYSSEARCHPATH "$sys_search_path"
7194 echo "$as_me:$LINENO: checking for objdir" >&5
7195 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7196 if test "${libltdl_cv_objdir+set}" = set; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7199 libltdl_cv_objdir
="$objdir"
7200 if test -n "$objdir"; then
7203 rm -f .libs
2>/dev
/null
7204 mkdir .libs
2>/dev
/null
7205 if test -d .libs
; then
7206 libltdl_cv_objdir
=.libs
7208 # MS-DOS does not allow filenames that begin with a dot.
7209 libltdl_cv_objdir
=_libs
7211 rmdir .libs
2>/dev
/null
7215 echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
7216 echo "${ECHO_T}$libltdl_cv_objdir" >&6
7218 cat >>confdefs.h
<<_ACEOF
7219 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
7223 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7224 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
7225 if test "${lt_cv_path_NM+set}" = set; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 if test -n "$NM"; then
7229 # Let the user override the test.
7232 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7233 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
7235 test -z "$ac_dir" && ac_dir
=.
7236 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
7237 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7238 # Check to see if the nm accepts a BSD-compat flag.
7239 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7240 # nm: unknown option "B" ignored
7241 # Tru64's nm complains that /dev/null is an invalid object file
7242 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7243 */dev
/null
* |
*'Invalid file or object type'*)
7244 lt_cv_path_NM
="$tmp_nm -B"
7248 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7250 lt_cv_path_NM
="$tmp_nm -p"
7254 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7255 continue # so that we can try to find one that supports BSD flags
7262 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
7265 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7266 echo "${ECHO_T}$lt_cv_path_NM" >&6
7273 # Check for command to grab the raw symbol name followed by C symbol from nm.
7274 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7275 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7276 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7280 # These are sane defaults that work on at least a few old systems.
7281 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7283 # Character class describing NM global symbol codes.
7284 symcode
='[BCDEGRST]'
7286 # Regexp to match symbols that can be accessed directly from C.
7287 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7289 # Transform the above into a raw symbol and a C symbol.
7290 symxfrm
='\1 \2\3 \3'
7292 # Transform an extracted symbol line into a proper C declaration
7293 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7295 # Transform an extracted symbol line into symbol name and symbol address
7296 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'"
7298 # Define system-specific variables.
7303 cygwin
* | mingw
* | pw32
*)
7304 symcode
='[ABCDGISTW]'
7306 hpux
*) # Its linker distinguishes data from code symbols
7307 if test "$host_cpu" = ia64
; then
7308 symcode
='[ABCDEGRST]'
7310 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7311 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'"
7314 if test "$host_cpu" = ia64
; then
7315 symcode
='[ABCDGIRSTW]'
7316 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7317 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'"
7321 symcode
='[BCDEGRST]'
7324 symcode
='[BCDEGQRST]'
7334 # Handle CRLF in mingw tool chain
7338 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7342 # If we're using GNU nm, then use its standard symbol codes.
7343 case `$NM -V 2>&1` in
7344 *GNU
* |
*'with BFD'*)
7345 symcode
='[ABCDGIRSTW]' ;;
7348 # Try without a prefix undercore, then with it.
7349 for ac_symprfx
in "" "_"; do
7351 # Write the raw and C identifiers.
7352 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
7354 # Check to see that the pipe works correctly.
7358 cat > conftest.
$ac_ext <<EOF
7363 void nm_test_func(){}
7367 int main(){nm_test_var='a';nm_test_func();return(0);}
7370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7371 (eval $ac_compile) 2>&5
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); }; then
7375 # Now try to grab the symbols.
7377 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7378 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); } && test -s "$nlist"; then
7382 # Try sorting and uniquifying the output.
7383 if sort "$nlist" |
uniq > "$nlist"T
; then
7384 mv -f "$nlist"T
"$nlist"
7389 # Make sure that we snagged all the symbols we need.
7390 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7391 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7392 cat <<EOF > conftest.$ac_ext
7398 # Now generate the symbol file.
7399 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7401 cat <<EOF >> conftest.$ac_ext
7402 #if defined (__STDC__) && __STDC__
7403 # define lt_ptr_t void *
7405 # define lt_ptr_t char *
7409 /* The mapping between symbol names and symbols. */
7414 lt_preloaded_symbols[] =
7417 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
7418 cat <<\EOF
>> conftest.
$ac_ext
7426 # Now try linking the two files.
7427 mv conftest.
$ac_objext conftstm.
$ac_objext
7428 lt_save_LIBS
="$LIBS"
7429 lt_save_CFLAGS
="$CFLAGS"
7430 LIBS
="conftstm.$ac_objext"
7431 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7433 (eval $ac_link) 2>&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7439 LIBS
="$lt_save_LIBS"
7440 CFLAGS
="$lt_save_CFLAGS"
7442 echo "cannot find nm_test_func in $nlist" >&5
7445 echo "cannot find nm_test_var in $nlist" >&5
7448 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7451 echo "$progname: failed program was:" >&5
7452 cat conftest.
$ac_ext >&5
7454 rm -f conftest
* conftst
*
7456 # Do not use the global_symbol_pipe unless it works.
7457 if test "$pipe_works" = yes; then
7460 lt_cv_sys_global_symbol_pipe
=
7466 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7467 lt_cv_sys_global_symbol_to_cdecl
=
7469 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7470 echo "$as_me:$LINENO: result: failed" >&5
7471 echo "${ECHO_T}failed" >&6
7473 echo "$as_me:$LINENO: result: ok" >&5
7474 echo "${ECHO_T}ok" >&6
7478 echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
7479 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
7480 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 if test -n "$lt_cv_sys_global_symbol_pipe"; then
7484 libltdl_cv_preloaded_symbols
=yes
7486 libltdl_cv_preloaded_symbols
=no
7490 echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
7491 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
7492 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
7494 cat >>confdefs.h
<<\_ACEOF
7495 #define HAVE_PRELOADED_SYMBOLS 1
7503 ac_cpp
='$CPP $CPPFLAGS'
7504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7509 echo "$as_me:$LINENO: checking for shl_load" >&5
7510 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7511 if test "${ac_cv_func_shl_load+set}" = set; then
7512 echo $ECHO_N "(cached) $ECHO_C" >&6
7514 cat >conftest.
$ac_ext <<_ACEOF
7517 cat confdefs.h
>>conftest.
$ac_ext
7518 cat >>conftest.
$ac_ext <<_ACEOF
7519 /* end confdefs.h. */
7520 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7522 #define shl_load innocuous_shl_load
7524 /* System header to define __stub macros and hopefully few prototypes,
7525 which can conflict with char shl_load (); below.
7526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7527 <limits.h> exists even on freestanding compilers. */
7530 # include <limits.h>
7532 # include <assert.h>
7537 /* Override any gcc2 internal prototype to avoid an error. */
7542 /* We use char because int might match the return type of a gcc2
7543 builtin and then its argument prototype would still apply. */
7545 /* The GNU C library defines this for functions which it implements
7546 to always fail with ENOSYS. Some functions are actually named
7547 something starting with __ and the normal name is an alias. */
7548 #if defined (__stub_shl_load) || defined (__stub___shl_load)
7551 char (*f) () = shl_load;
7560 return f != shl_load;
7565 rm -f conftest.
$ac_objext conftest
$ac_exeext
7566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7567 (eval $ac_link) 2>conftest.er1
7569 grep -v '^ *+' conftest.er1
>conftest.err
7571 cat conftest.err
>&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } &&
7574 { ac_try
='test -z "$ac_c_werror_flag"
7575 || test ! -s conftest.err'
7576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); }; } &&
7581 { ac_try
='test -s conftest$ac_exeext'
7582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); }; }; then
7587 ac_cv_func_shl_load
=yes
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.
$ac_ext >&5
7592 ac_cv_func_shl_load
=no
7594 rm -f conftest.err conftest.
$ac_objext \
7595 conftest
$ac_exeext conftest.
$ac_ext
7597 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7598 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7599 if test $ac_cv_func_shl_load = yes; then
7601 cat >>confdefs.h
<<\_ACEOF
7602 #define HAVE_SHL_LOAD 1
7606 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7607 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7608 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7609 echo $ECHO_N "(cached) $ECHO_C" >&6
7611 ac_check_lib_save_LIBS
=$LIBS
7613 cat >conftest.
$ac_ext <<_ACEOF
7616 cat confdefs.h
>>conftest.
$ac_ext
7617 cat >>conftest.
$ac_ext <<_ACEOF
7618 /* end confdefs.h. */
7620 /* Override any gcc2 internal prototype to avoid an error. */
7624 /* We use char because int might match the return type of a gcc2
7625 builtin and then its argument prototype would still apply. */
7635 rm -f conftest.
$ac_objext conftest
$ac_exeext
7636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7637 (eval $ac_link) 2>conftest.er1
7639 grep -v '^ *+' conftest.er1
>conftest.err
7641 cat conftest.err
>&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } &&
7644 { ac_try
='test -z "$ac_c_werror_flag"
7645 || test ! -s conftest.err'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; } &&
7651 { ac_try
='test -s conftest$ac_exeext'
7652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); }; }; then
7657 ac_cv_lib_dld_shl_load
=yes
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.
$ac_ext >&5
7662 ac_cv_lib_dld_shl_load
=no
7664 rm -f conftest.err conftest.
$ac_objext \
7665 conftest
$ac_exeext conftest.
$ac_ext
7666 LIBS
=$ac_check_lib_save_LIBS
7668 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7669 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7670 if test $ac_cv_lib_dld_shl_load = yes; then
7672 cat >>confdefs.h
<<\_ACEOF
7673 #define HAVE_SHL_LOAD 1
7676 LIBADD_DL
="$LIBADD_DL -ldld"
7678 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7679 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7680 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6
7683 ac_check_lib_save_LIBS
=$LIBS
7685 cat >conftest.
$ac_ext <<_ACEOF
7688 cat confdefs.h
>>conftest.
$ac_ext
7689 cat >>conftest.
$ac_ext <<_ACEOF
7690 /* end confdefs.h. */
7692 /* Override any gcc2 internal prototype to avoid an error. */
7696 /* We use char because int might match the return type of a gcc2
7697 builtin and then its argument prototype would still apply. */
7707 rm -f conftest.
$ac_objext conftest
$ac_exeext
7708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7709 (eval $ac_link) 2>conftest.er1
7711 grep -v '^ *+' conftest.er1
>conftest.err
7713 cat conftest.err
>&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } &&
7716 { ac_try
='test -z "$ac_c_werror_flag"
7717 || test ! -s conftest.err'
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; } &&
7723 { ac_try
='test -s conftest$ac_exeext'
7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); }; }; then
7729 ac_cv_lib_dl_dlopen
=yes
7731 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.
$ac_ext >&5
7734 ac_cv_lib_dl_dlopen
=no
7736 rm -f conftest.err conftest.
$ac_objext \
7737 conftest
$ac_exeext conftest.
$ac_ext
7738 LIBS
=$ac_check_lib_save_LIBS
7740 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7741 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7742 if test $ac_cv_lib_dl_dlopen = yes; then
7744 cat >>confdefs.h
<<\_ACEOF
7745 #define HAVE_LIBDL 1
7748 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
7750 cat >conftest.
$ac_ext <<_ACEOF
7753 cat confdefs.h
>>conftest.
$ac_ext
7754 cat >>conftest.
$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7768 rm -f conftest.
$ac_objext conftest
$ac_exeext
7769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7770 (eval $ac_link) 2>conftest.er1
7772 grep -v '^ *+' conftest.er1
>conftest.err
7774 cat conftest.err
>&5
7775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776 (exit $ac_status); } &&
7777 { ac_try
='test -z "$ac_c_werror_flag"
7778 || test ! -s conftest.err'
7779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); }; } &&
7784 { ac_try
='test -s conftest$ac_exeext'
7785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); }; }; then
7791 cat >>confdefs.h
<<\_ACEOF
7792 #define HAVE_LIBDL 1
7794 libltdl_cv_func_dlopen
="yes"
7796 echo "$as_me: failed program was:" >&5
7797 sed 's/^/| /' conftest.
$ac_ext >&5
7799 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7800 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7801 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7802 echo $ECHO_N "(cached) $ECHO_C" >&6
7804 ac_check_lib_save_LIBS
=$LIBS
7806 cat >conftest.
$ac_ext <<_ACEOF
7809 cat confdefs.h
>>conftest.
$ac_ext
7810 cat >>conftest.
$ac_ext <<_ACEOF
7811 /* end confdefs.h. */
7813 /* Override any gcc2 internal prototype to avoid an error. */
7817 /* We use char because int might match the return type of a gcc2
7818 builtin and then its argument prototype would still apply. */
7828 rm -f conftest.
$ac_objext conftest
$ac_exeext
7829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7830 (eval $ac_link) 2>conftest.er1
7832 grep -v '^ *+' conftest.er1
>conftest.err
7834 cat conftest.err
>&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } &&
7837 { ac_try
='test -z "$ac_c_werror_flag"
7838 || test ! -s conftest.err'
7839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; } &&
7844 { ac_try
='test -s conftest$ac_exeext'
7845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); }; }; then
7850 ac_cv_lib_svld_dlopen
=yes
7852 echo "$as_me: failed program was:" >&5
7853 sed 's/^/| /' conftest.
$ac_ext >&5
7855 ac_cv_lib_svld_dlopen
=no
7857 rm -f conftest.err conftest.
$ac_objext \
7858 conftest
$ac_exeext conftest.
$ac_ext
7859 LIBS
=$ac_check_lib_save_LIBS
7861 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7862 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7863 if test $ac_cv_lib_svld_dlopen = yes; then
7865 cat >>confdefs.h
<<\_ACEOF
7866 #define HAVE_LIBDL 1
7869 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
7871 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7872 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7873 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7874 echo $ECHO_N "(cached) $ECHO_C" >&6
7876 ac_check_lib_save_LIBS
=$LIBS
7878 cat >conftest.
$ac_ext <<_ACEOF
7881 cat confdefs.h
>>conftest.
$ac_ext
7882 cat >>conftest.
$ac_ext <<_ACEOF
7883 /* end confdefs.h. */
7885 /* Override any gcc2 internal prototype to avoid an error. */
7889 /* We use char because int might match the return type of a gcc2
7890 builtin and then its argument prototype would still apply. */
7900 rm -f conftest.
$ac_objext conftest
$ac_exeext
7901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7902 (eval $ac_link) 2>conftest.er1
7904 grep -v '^ *+' conftest.er1
>conftest.err
7906 cat conftest.err
>&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); } &&
7909 { ac_try
='test -z "$ac_c_werror_flag"
7910 || test ! -s conftest.err'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try
='test -s conftest$ac_exeext'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; }; then
7922 ac_cv_lib_dld_dld_link
=yes
7924 echo "$as_me: failed program was:" >&5
7925 sed 's/^/| /' conftest.
$ac_ext >&5
7927 ac_cv_lib_dld_dld_link
=no
7929 rm -f conftest.err conftest.
$ac_objext \
7930 conftest
$ac_exeext conftest.
$ac_ext
7931 LIBS
=$ac_check_lib_save_LIBS
7933 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7934 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7935 if test $ac_cv_lib_dld_dld_link = yes; then
7937 cat >>confdefs.h
<<\_ACEOF
7941 LIBADD_DL
="$LIBADD_DL -ldld"
7943 echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
7944 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
7945 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 cat >conftest.
$ac_ext <<_ACEOF
7951 cat confdefs.h
>>conftest.
$ac_ext
7952 cat >>conftest.
$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7954 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
7955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7956 #define _dyld_func_lookup innocuous__dyld_func_lookup
7958 /* System header to define __stub macros and hopefully few prototypes,
7959 which can conflict with char _dyld_func_lookup (); below.
7960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7961 <limits.h> exists even on freestanding compilers. */
7964 # include <limits.h>
7966 # include <assert.h>
7969 #undef _dyld_func_lookup
7971 /* Override any gcc2 internal prototype to avoid an error. */
7976 /* We use char because int might match the return type of a gcc2
7977 builtin and then its argument prototype would still apply. */
7978 char _dyld_func_lookup ();
7979 /* The GNU C library defines this for functions which it implements
7980 to always fail with ENOSYS. Some functions are actually named
7981 something starting with __ and the normal name is an alias. */
7982 #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
7985 char (*f) () = _dyld_func_lookup;
7994 return f != _dyld_func_lookup;
7999 rm -f conftest.
$ac_objext conftest
$ac_exeext
8000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8001 (eval $ac_link) 2>conftest.er1
8003 grep -v '^ *+' conftest.er1
>conftest.err
8005 cat conftest.err
>&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); } &&
8008 { ac_try
='test -z "$ac_c_werror_flag"
8009 || test ! -s conftest.err'
8010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); }; } &&
8015 { ac_try
='test -s conftest$ac_exeext'
8016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }; }; then
8021 ac_cv_func__dyld_func_lookup
=yes
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.
$ac_ext >&5
8026 ac_cv_func__dyld_func_lookup
=no
8028 rm -f conftest.err conftest.
$ac_objext \
8029 conftest
$ac_exeext conftest.
$ac_ext
8031 echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
8032 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
8033 if test $ac_cv_func__dyld_func_lookup = yes; then
8035 cat >>confdefs.h
<<\_ACEOF
8049 rm -f conftest.err conftest.
$ac_objext \
8050 conftest
$ac_exeext conftest.
$ac_ext
8061 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
8063 lt_save_LIBS
="$LIBS"
8064 LIBS
="$LIBS $LIBADD_DL"
8066 for ac_func
in dlerror
8068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8069 echo "$as_me:$LINENO: checking for $ac_func" >&5
8070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8071 if eval "test \"\${$as_ac_var+set}\" = set"; then
8072 echo $ECHO_N "(cached) $ECHO_C" >&6
8074 cat >conftest.
$ac_ext <<_ACEOF
8077 cat confdefs.h
>>conftest.
$ac_ext
8078 cat >>conftest.
$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8082 #define $ac_func innocuous_$ac_func
8084 /* System header to define __stub macros and hopefully few prototypes,
8085 which can conflict with char $ac_func (); below.
8086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8087 <limits.h> exists even on freestanding compilers. */
8090 # include <limits.h>
8092 # include <assert.h>
8097 /* Override any gcc2 internal prototype to avoid an error. */
8102 /* We use char because int might match the return type of a gcc2
8103 builtin and then its argument prototype would still apply. */
8105 /* The GNU C library defines this for functions which it implements
8106 to always fail with ENOSYS. Some functions are actually named
8107 something starting with __ and the normal name is an alias. */
8108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8111 char (*f) () = $ac_func;
8120 return f != $ac_func;
8125 rm -f conftest.
$ac_objext conftest
$ac_exeext
8126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8127 (eval $ac_link) 2>conftest.er1
8129 grep -v '^ *+' conftest.er1
>conftest.err
8131 cat conftest.err
>&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); } &&
8134 { ac_try
='test -z "$ac_c_werror_flag"
8135 || test ! -s conftest.err'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; } &&
8141 { ac_try
='test -s conftest$ac_exeext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 eval "$as_ac_var=yes"
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.
$ac_ext >&5
8152 eval "$as_ac_var=no"
8154 rm -f conftest.err conftest.
$ac_objext \
8155 conftest
$ac_exeext conftest.
$ac_ext
8157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8159 if test `eval echo '${'$as_ac_var'}'` = yes; then
8160 cat >>confdefs.h
<<_ACEOF
8161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8167 LIBS
="$lt_save_LIBS"
8170 ac_cpp
='$CPP $CPPFLAGS'
8171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8177 echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
8178 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
8179 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
8180 echo $ECHO_N "(cached) $ECHO_C" >&6
8182 ac_cv_sys_symbol_underscore
=no
8183 cat > conftest.
$ac_ext <<EOF
8184 void nm_test_func(){}
8185 int main(){nm_test_func;return 0;}
8187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8188 (eval $ac_compile) 2>&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); }; then
8192 # Now try to grab the symbols.
8193 ac_nlist
=conftest.nm
8194 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
8195 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); } && test -s "$ac_nlist"; then
8199 # See whether the symbols have a leading underscore.
8200 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
8201 ac_cv_sys_symbol_underscore
=yes
8203 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
8206 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
8210 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
8213 echo "configure: failed program was:" >&5
8219 echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
8220 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
8223 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
8224 if test x
"$libltdl_cv_func_dlopen" = xyes ||
8225 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
8226 echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
8227 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
8228 if test "${libltdl_cv_need_uscore+set}" = set; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8231 libltdl_cv_need_uscore
=unknown
8233 LIBS
="$LIBS $LIBADD_DL"
8234 if test "$cross_compiling" = yes; then :
8235 libltdl_cv_need_uscore
=cross
8237 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8238 lt_status
=$lt_dlunknown
8239 cat > conftest.
$ac_ext <<EOF
8240 #line 8240 "configure"
8241 #include "confdefs.h"
8250 # define LT_DLGLOBAL RTLD_GLOBAL
8253 # define LT_DLGLOBAL DL_GLOBAL
8255 # define LT_DLGLOBAL 0
8259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8260 find out it does not work in some platform. */
8261 #ifndef LT_DLLAZY_OR_NOW
8263 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8266 # define LT_DLLAZY_OR_NOW DL_LAZY
8269 # define LT_DLLAZY_OR_NOW RTLD_NOW
8272 # define LT_DLLAZY_OR_NOW DL_NOW
8274 # define LT_DLLAZY_OR_NOW 0
8282 extern "C" void exit (int);
8285 void fnord() { int i=42;}
8288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8289 int status = $lt_dlunknown;
8293 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8294 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8295 /* dlclose (self); */
8301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8302 (eval $ac_link) 2>&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8306 (.
/conftest
; exit; ) 2>/dev
/null
8309 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
8310 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
8314 # compilation failed
8323 echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
8324 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
8328 if test x
"$libltdl_cv_need_uscore" = xyes
; then
8330 cat >>confdefs.h
<<\_ACEOF
8331 #define NEED_USCORE 1
8337 echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
8338 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
8339 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 # PORTME does your system automatically load deplibs for dlopen?
8343 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
8344 # For now, we just catch OSes we know something about -- in the
8345 # future, we'll try test this programmatically.
8346 libltdl_cv_sys_dlopen_deplibs
=unknown
8348 aix3
*|aix4.1.
*|aix4.2.
*)
8349 # Unknown whether this is true for these versions of AIX, but
8350 # we want this `case' here to explicitly catch those versions.
8351 libltdl_cv_sys_dlopen_deplibs
=unknown
8354 libltdl_cv_sys_dlopen_deplibs
=yes
8357 # Assuming the user has installed a libdl from somewhere, this is true
8358 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
8359 libltdl_cv_sys_dlopen_deplibs
=yes
8361 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
8362 # GNU and its variants, using gnu ld.so (Glibc)
8363 libltdl_cv_sys_dlopen_deplibs
=yes
8366 libltdl_cv_sys_dlopen_deplibs
=yes
8368 irix
[12345]*|irix6.
[01]*)
8369 # Catch all versions of IRIX before 6.2, and indicate that we don't
8370 # know how it worked for any of those versions.
8371 libltdl_cv_sys_dlopen_deplibs
=unknown
8374 # The case above catches anything before 6.2, and it's known that
8375 # at 6.2 and later dlopen does load deplibs.
8376 libltdl_cv_sys_dlopen_deplibs
=yes
8379 libltdl_cv_sys_dlopen_deplibs
=yes
8382 libltdl_cv_sys_dlopen_deplibs
=yes
8385 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
8386 # it did *not* use an RPATH in a shared library to find objects the
8387 # library depends on, so we explictly say `no'.
8388 libltdl_cv_sys_dlopen_deplibs
=no
8390 osf5.0|osf5.0a|osf5.1
)
8391 # dlopen *does* load deplibs and with the right loader patch applied
8392 # it even uses RPATH in a shared library to search for shared objects
8393 # that the library depends on, but there's no easy way to know if that
8394 # patch is installed. Since this is the case, all we can really
8395 # say is unknown -- it depends on the patch being installed. If
8396 # it is, this changes to `yes'. Without it, it would be `no'.
8397 libltdl_cv_sys_dlopen_deplibs
=unknown
8400 # the two cases above should catch all versions of osf <= 5.1. Read
8401 # the comments above for what we know about them.
8402 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
8403 # is used to find them so we can finally say `yes'.
8404 libltdl_cv_sys_dlopen_deplibs
=yes
8407 libltdl_cv_sys_dlopen_deplibs
=yes
8412 echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
8413 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
8414 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
8416 cat >>confdefs.h
<<\_ACEOF
8417 #define LTDL_DLOPEN_DEPLIBS 1
8423 for ac_header
in argz.h
8425 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8427 echo "$as_me:$LINENO: checking for $ac_header" >&5
8428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6
8432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8435 # Is the header compilable?
8436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8438 cat >conftest.
$ac_ext <<_ACEOF
8441 cat confdefs.h
>>conftest.
$ac_ext
8442 cat >>conftest.
$ac_ext <<_ACEOF
8443 /* end confdefs.h. */
8444 $ac_includes_default
8445 #include <$ac_header>
8447 rm -f conftest.
$ac_objext
8448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8449 (eval $ac_compile) 2>conftest.er1
8451 grep -v '^ *+' conftest.er1
>conftest.err
8453 cat conftest.err
>&5
8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455 (exit $ac_status); } &&
8456 { ac_try
='test -z "$ac_c_werror_flag"
8457 || test ! -s conftest.err'
8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); }; } &&
8463 { ac_try
='test -s conftest.$ac_objext'
8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); }; }; then
8469 ac_header_compiler
=yes
8471 echo "$as_me: failed program was:" >&5
8472 sed 's/^/| /' conftest.
$ac_ext >&5
8474 ac_header_compiler
=no
8476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8478 echo "${ECHO_T}$ac_header_compiler" >&6
8480 # Is the header present?
8481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8483 cat >conftest.
$ac_ext <<_ACEOF
8486 cat confdefs.h
>>conftest.
$ac_ext
8487 cat >>conftest.
$ac_ext <<_ACEOF
8488 /* end confdefs.h. */
8489 #include <$ac_header>
8491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8492 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8494 grep -v '^ *+' conftest.er1
>conftest.err
8496 cat conftest.err
>&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } >/dev
/null
; then
8499 if test -s conftest.err
; then
8500 ac_cpp_err
=$ac_c_preproc_warn_flag
8501 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8508 if test -z "$ac_cpp_err"; then
8509 ac_header_preproc
=yes
8511 echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.
$ac_ext >&5
8514 ac_header_preproc
=no
8516 rm -f conftest.err conftest.
$ac_ext
8517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8518 echo "${ECHO_T}$ac_header_preproc" >&6
8520 # So? What about this header?
8521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8527 ac_header_preproc
=yes
8530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8544 ## ----------------------------------- ##
8545 ## Report this to llvmbugs@cs.uiuc.edu ##
8546 ## ----------------------------------- ##
8549 sed "s/^/$as_me: WARNING: /" >&2
8552 echo "$as_me:$LINENO: checking for $ac_header" >&5
8553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8555 echo $ECHO_N "(cached) $ECHO_C" >&6
8557 eval "$as_ac_Header=\$ac_header_preproc"
8559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8564 cat >>confdefs.h
<<_ACEOF
8565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8573 echo "$as_me:$LINENO: checking for error_t" >&5
8574 echo $ECHO_N "checking for error_t... $ECHO_C" >&6
8575 if test "${ac_cv_type_error_t+set}" = set; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 cat >conftest.
$ac_ext <<_ACEOF
8581 cat confdefs.h
>>conftest.
$ac_ext
8582 cat >>conftest.
$ac_ext <<_ACEOF
8583 /* end confdefs.h. */
8593 if (sizeof (error_t))
8599 rm -f conftest.
$ac_objext
8600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8601 (eval $ac_compile) 2>conftest.er1
8603 grep -v '^ *+' conftest.er1
>conftest.err
8605 cat conftest.err
>&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } &&
8608 { ac_try
='test -z "$ac_c_werror_flag"
8609 || test ! -s conftest.err'
8610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); }; } &&
8615 { ac_try
='test -s conftest.$ac_objext'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; }; then
8621 ac_cv_type_error_t
=yes
8623 echo "$as_me: failed program was:" >&5
8624 sed 's/^/| /' conftest.
$ac_ext >&5
8626 ac_cv_type_error_t
=no
8628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8630 echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
8631 echo "${ECHO_T}$ac_cv_type_error_t" >&6
8632 if test $ac_cv_type_error_t = yes; then
8634 cat >>confdefs.h
<<_ACEOF
8635 #define HAVE_ERROR_T 1
8641 cat >>confdefs.h
<<\_ACEOF
8653 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
8655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8656 echo "$as_me:$LINENO: checking for $ac_func" >&5
8657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8658 if eval "test \"\${$as_ac_var+set}\" = set"; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 cat >conftest.
$ac_ext <<_ACEOF
8664 cat confdefs.h
>>conftest.
$ac_ext
8665 cat >>conftest.
$ac_ext <<_ACEOF
8666 /* end confdefs.h. */
8667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8669 #define $ac_func innocuous_$ac_func
8671 /* System header to define __stub macros and hopefully few prototypes,
8672 which can conflict with char $ac_func (); below.
8673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8674 <limits.h> exists even on freestanding compilers. */
8677 # include <limits.h>
8679 # include <assert.h>
8684 /* Override any gcc2 internal prototype to avoid an error. */
8689 /* We use char because int might match the return type of a gcc2
8690 builtin and then its argument prototype would still apply. */
8692 /* The GNU C library defines this for functions which it implements
8693 to always fail with ENOSYS. Some functions are actually named
8694 something starting with __ and the normal name is an alias. */
8695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8698 char (*f) () = $ac_func;
8707 return f != $ac_func;
8712 rm -f conftest.
$ac_objext conftest
$ac_exeext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8714 (eval $ac_link) 2>conftest.er1
8716 grep -v '^ *+' conftest.er1
>conftest.err
8718 cat conftest.err
>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try
='test -z "$ac_c_werror_flag"
8722 || test ! -s conftest.err'
8723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }; } &&
8728 { ac_try
='test -s conftest$ac_exeext'
8729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; }; then
8734 eval "$as_ac_var=yes"
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.
$ac_ext >&5
8739 eval "$as_ac_var=no"
8741 rm -f conftest.err conftest.
$ac_objext \
8742 conftest
$ac_exeext conftest.
$ac_ext
8744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8746 if test `eval echo '${'$as_ac_var'}'` = yes; then
8747 cat >>confdefs.h
<<_ACEOF
8748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8781 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
8784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8786 echo "$as_me:$LINENO: checking for $ac_header" >&5
8787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8794 # Is the header compilable?
8795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8797 cat >conftest.
$ac_ext <<_ACEOF
8800 cat confdefs.h
>>conftest.
$ac_ext
8801 cat >>conftest.
$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 $ac_includes_default
8804 #include <$ac_header>
8806 rm -f conftest.
$ac_objext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>conftest.er1
8810 grep -v '^ *+' conftest.er1
>conftest.err
8812 cat conftest.err
>&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } &&
8815 { ac_try
='test -z "$ac_c_werror_flag"
8816 || test ! -s conftest.err'
8817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; } &&
8822 { ac_try
='test -s conftest.$ac_objext'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; }; then
8828 ac_header_compiler
=yes
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.
$ac_ext >&5
8833 ac_header_compiler
=no
8835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8837 echo "${ECHO_T}$ac_header_compiler" >&6
8839 # Is the header present?
8840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8842 cat >conftest.
$ac_ext <<_ACEOF
8845 cat confdefs.h
>>conftest.
$ac_ext
8846 cat >>conftest.
$ac_ext <<_ACEOF
8847 /* end confdefs.h. */
8848 #include <$ac_header>
8850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8853 grep -v '^ *+' conftest.er1
>conftest.err
8855 cat conftest.err
>&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } >/dev
/null
; then
8858 if test -s conftest.err
; then
8859 ac_cpp_err
=$ac_c_preproc_warn_flag
8860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8867 if test -z "$ac_cpp_err"; then
8868 ac_header_preproc
=yes
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.
$ac_ext >&5
8873 ac_header_preproc
=no
8875 rm -f conftest.err conftest.
$ac_ext
8876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8877 echo "${ECHO_T}$ac_header_preproc" >&6
8879 # So? What about this header?
8880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8886 ac_header_preproc
=yes
8889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8903 ## ----------------------------------- ##
8904 ## Report this to llvmbugs@cs.uiuc.edu ##
8905 ## ----------------------------------- ##
8908 sed "s/^/$as_me: WARNING: /" >&2
8911 echo "$as_me:$LINENO: checking for $ac_header" >&5
8912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8914 echo $ECHO_N "(cached) $ECHO_C" >&6
8916 eval "$as_ac_Header=\$ac_header_preproc"
8918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8923 cat >>confdefs.h
<<_ACEOF
8924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8935 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
8937 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8939 echo "$as_me:$LINENO: checking for $ac_header" >&5
8940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8947 # Is the header compilable?
8948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8950 cat >conftest.
$ac_ext <<_ACEOF
8953 cat confdefs.h
>>conftest.
$ac_ext
8954 cat >>conftest.
$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8956 $ac_includes_default
8957 #include <$ac_header>
8959 rm -f conftest.
$ac_objext
8960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8961 (eval $ac_compile) 2>conftest.er1
8963 grep -v '^ *+' conftest.er1
>conftest.err
8965 cat conftest.err
>&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } &&
8968 { ac_try
='test -z "$ac_c_werror_flag"
8969 || test ! -s conftest.err'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; } &&
8975 { ac_try
='test -s conftest.$ac_objext'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; }; then
8981 ac_header_compiler
=yes
8983 echo "$as_me: failed program was:" >&5
8984 sed 's/^/| /' conftest.
$ac_ext >&5
8986 ac_header_compiler
=no
8988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8990 echo "${ECHO_T}$ac_header_compiler" >&6
8992 # Is the header present?
8993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8995 cat >conftest.
$ac_ext <<_ACEOF
8998 cat confdefs.h
>>conftest.
$ac_ext
8999 cat >>conftest.
$ac_ext <<_ACEOF
9000 /* end confdefs.h. */
9001 #include <$ac_header>
9003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9006 grep -v '^ *+' conftest.er1
>conftest.err
9008 cat conftest.err
>&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } >/dev
/null
; then
9011 if test -s conftest.err
; then
9012 ac_cpp_err
=$ac_c_preproc_warn_flag
9013 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9020 if test -z "$ac_cpp_err"; then
9021 ac_header_preproc
=yes
9023 echo "$as_me: failed program was:" >&5
9024 sed 's/^/| /' conftest.
$ac_ext >&5
9026 ac_header_preproc
=no
9028 rm -f conftest.err conftest.
$ac_ext
9029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9030 echo "${ECHO_T}$ac_header_preproc" >&6
9032 # So? What about this header?
9033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9039 ac_header_preproc
=yes
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9056 ## ----------------------------------- ##
9057 ## Report this to llvmbugs@cs.uiuc.edu ##
9058 ## ----------------------------------- ##
9061 sed "s/^/$as_me: WARNING: /" >&2
9064 echo "$as_me:$LINENO: checking for $ac_header" >&5
9065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 eval "$as_ac_Header=\$ac_header_preproc"
9071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9076 cat >>confdefs.h
<<_ACEOF
9077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9086 for ac_header
in string.h
strings.h
9088 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9090 echo "$as_me:$LINENO: checking for $ac_header" >&5
9091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9098 # Is the header compilable?
9099 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9101 cat >conftest.
$ac_ext <<_ACEOF
9104 cat confdefs.h
>>conftest.
$ac_ext
9105 cat >>conftest.
$ac_ext <<_ACEOF
9106 /* end confdefs.h. */
9107 $ac_includes_default
9108 #include <$ac_header>
9110 rm -f conftest.
$ac_objext
9111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9112 (eval $ac_compile) 2>conftest.er1
9114 grep -v '^ *+' conftest.er1
>conftest.err
9116 cat conftest.err
>&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); } &&
9119 { ac_try
='test -z "$ac_c_werror_flag"
9120 || test ! -s conftest.err'
9121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; } &&
9126 { ac_try
='test -s conftest.$ac_objext'
9127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); }; }; then
9132 ac_header_compiler
=yes
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.
$ac_ext >&5
9137 ac_header_compiler
=no
9139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9141 echo "${ECHO_T}$ac_header_compiler" >&6
9143 # Is the header present?
9144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9146 cat >conftest.
$ac_ext <<_ACEOF
9149 cat confdefs.h
>>conftest.
$ac_ext
9150 cat >>conftest.
$ac_ext <<_ACEOF
9151 /* end confdefs.h. */
9152 #include <$ac_header>
9154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9157 grep -v '^ *+' conftest.er1
>conftest.err
9159 cat conftest.err
>&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); } >/dev
/null
; then
9162 if test -s conftest.err
; then
9163 ac_cpp_err
=$ac_c_preproc_warn_flag
9164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9171 if test -z "$ac_cpp_err"; then
9172 ac_header_preproc
=yes
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.
$ac_ext >&5
9177 ac_header_preproc
=no
9179 rm -f conftest.err conftest.
$ac_ext
9180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9181 echo "${ECHO_T}$ac_header_preproc" >&6
9183 # So? What about this header?
9184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9190 ac_header_preproc
=yes
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9207 ## ----------------------------------- ##
9208 ## Report this to llvmbugs@cs.uiuc.edu ##
9209 ## ----------------------------------- ##
9212 sed "s/^/$as_me: WARNING: /" >&2
9215 echo "$as_me:$LINENO: checking for $ac_header" >&5
9216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9218 echo $ECHO_N "(cached) $ECHO_C" >&6
9220 eval "$as_ac_Header=\$ac_header_preproc"
9222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9227 cat >>confdefs.h
<<_ACEOF
9228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9238 for ac_func
in strchr index
9240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9241 echo "$as_me:$LINENO: checking for $ac_func" >&5
9242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9243 if eval "test \"\${$as_ac_var+set}\" = set"; then
9244 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 cat >conftest.
$ac_ext <<_ACEOF
9249 cat confdefs.h
>>conftest.
$ac_ext
9250 cat >>conftest.
$ac_ext <<_ACEOF
9251 /* end confdefs.h. */
9252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9254 #define $ac_func innocuous_$ac_func
9256 /* System header to define __stub macros and hopefully few prototypes,
9257 which can conflict with char $ac_func (); below.
9258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9259 <limits.h> exists even on freestanding compilers. */
9262 # include <limits.h>
9264 # include <assert.h>
9269 /* Override any gcc2 internal prototype to avoid an error. */
9274 /* We use char because int might match the return type of a gcc2
9275 builtin and then its argument prototype would still apply. */
9277 /* The GNU C library defines this for functions which it implements
9278 to always fail with ENOSYS. Some functions are actually named
9279 something starting with __ and the normal name is an alias. */
9280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9283 char (*f) () = $ac_func;
9292 return f != $ac_func;
9297 rm -f conftest.
$ac_objext conftest
$ac_exeext
9298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9299 (eval $ac_link) 2>conftest.er1
9301 grep -v '^ *+' conftest.er1
>conftest.err
9303 cat conftest.err
>&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); } &&
9306 { ac_try
='test -z "$ac_c_werror_flag"
9307 || test ! -s conftest.err'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; } &&
9313 { ac_try
='test -s conftest$ac_exeext'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; }; then
9319 eval "$as_ac_var=yes"
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.
$ac_ext >&5
9324 eval "$as_ac_var=no"
9326 rm -f conftest.err conftest.
$ac_objext \
9327 conftest
$ac_exeext conftest.
$ac_ext
9329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9331 if test `eval echo '${'$as_ac_var'}'` = yes; then
9332 cat >>confdefs.h
<<_ACEOF
9333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9341 for ac_func
in strrchr rindex
9343 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9344 echo "$as_me:$LINENO: checking for $ac_func" >&5
9345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9346 if eval "test \"\${$as_ac_var+set}\" = set"; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9349 cat >conftest.
$ac_ext <<_ACEOF
9352 cat confdefs.h
>>conftest.
$ac_ext
9353 cat >>conftest.
$ac_ext <<_ACEOF
9354 /* end confdefs.h. */
9355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9357 #define $ac_func innocuous_$ac_func
9359 /* System header to define __stub macros and hopefully few prototypes,
9360 which can conflict with char $ac_func (); below.
9361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9362 <limits.h> exists even on freestanding compilers. */
9365 # include <limits.h>
9367 # include <assert.h>
9372 /* Override any gcc2 internal prototype to avoid an error. */
9377 /* We use char because int might match the return type of a gcc2
9378 builtin and then its argument prototype would still apply. */
9380 /* The GNU C library defines this for functions which it implements
9381 to always fail with ENOSYS. Some functions are actually named
9382 something starting with __ and the normal name is an alias. */
9383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9386 char (*f) () = $ac_func;
9395 return f != $ac_func;
9400 rm -f conftest.
$ac_objext conftest
$ac_exeext
9401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9402 (eval $ac_link) 2>conftest.er1
9404 grep -v '^ *+' conftest.er1
>conftest.err
9406 cat conftest.err
>&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); } &&
9409 { ac_try
='test -z "$ac_c_werror_flag"
9410 || test ! -s conftest.err'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; } &&
9416 { ac_try
='test -s conftest$ac_exeext'
9417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9422 eval "$as_ac_var=yes"
9424 echo "$as_me: failed program was:" >&5
9425 sed 's/^/| /' conftest.
$ac_ext >&5
9427 eval "$as_ac_var=no"
9429 rm -f conftest.err conftest.
$ac_objext \
9430 conftest
$ac_exeext conftest.
$ac_ext
9432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9434 if test `eval echo '${'$as_ac_var'}'` = yes; then
9435 cat >>confdefs.h
<<_ACEOF
9436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9444 for ac_func
in memcpy bcopy
9446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9447 echo "$as_me:$LINENO: checking for $ac_func" >&5
9448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9449 if eval "test \"\${$as_ac_var+set}\" = set"; then
9450 echo $ECHO_N "(cached) $ECHO_C" >&6
9452 cat >conftest.
$ac_ext <<_ACEOF
9455 cat confdefs.h
>>conftest.
$ac_ext
9456 cat >>conftest.
$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9460 #define $ac_func innocuous_$ac_func
9462 /* System header to define __stub macros and hopefully few prototypes,
9463 which can conflict with char $ac_func (); below.
9464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9465 <limits.h> exists even on freestanding compilers. */
9468 # include <limits.h>
9470 # include <assert.h>
9475 /* Override any gcc2 internal prototype to avoid an error. */
9480 /* We use char because int might match the return type of a gcc2
9481 builtin and then its argument prototype would still apply. */
9483 /* The GNU C library defines this for functions which it implements
9484 to always fail with ENOSYS. Some functions are actually named
9485 something starting with __ and the normal name is an alias. */
9486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9489 char (*f) () = $ac_func;
9498 return f != $ac_func;
9503 rm -f conftest.
$ac_objext conftest
$ac_exeext
9504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9505 (eval $ac_link) 2>conftest.er1
9507 grep -v '^ *+' conftest.er1
>conftest.err
9509 cat conftest.err
>&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); } &&
9512 { ac_try
='test -z "$ac_c_werror_flag"
9513 || test ! -s conftest.err'
9514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518 (exit $ac_status); }; } &&
9519 { ac_try
='test -s conftest$ac_exeext'
9520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); }; }; then
9525 eval "$as_ac_var=yes"
9527 echo "$as_me: failed program was:" >&5
9528 sed 's/^/| /' conftest.
$ac_ext >&5
9530 eval "$as_ac_var=no"
9532 rm -f conftest.err conftest.
$ac_objext \
9533 conftest
$ac_exeext conftest.
$ac_ext
9535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9537 if test `eval echo '${'$as_ac_var'}'` = yes; then
9538 cat >>confdefs.h
<<_ACEOF
9539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9547 for ac_func
in memmove strcmp
9549 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9550 echo "$as_me:$LINENO: checking for $ac_func" >&5
9551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9552 if eval "test \"\${$as_ac_var+set}\" = set"; then
9553 echo $ECHO_N "(cached) $ECHO_C" >&6
9555 cat >conftest.
$ac_ext <<_ACEOF
9558 cat confdefs.h
>>conftest.
$ac_ext
9559 cat >>conftest.
$ac_ext <<_ACEOF
9560 /* end confdefs.h. */
9561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9563 #define $ac_func innocuous_$ac_func
9565 /* System header to define __stub macros and hopefully few prototypes,
9566 which can conflict with char $ac_func (); below.
9567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9568 <limits.h> exists even on freestanding compilers. */
9571 # include <limits.h>
9573 # include <assert.h>
9578 /* Override any gcc2 internal prototype to avoid an error. */
9583 /* We use char because int might match the return type of a gcc2
9584 builtin and then its argument prototype would still apply. */
9586 /* The GNU C library defines this for functions which it implements
9587 to always fail with ENOSYS. Some functions are actually named
9588 something starting with __ and the normal name is an alias. */
9589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9592 char (*f) () = $ac_func;
9601 return f != $ac_func;
9606 rm -f conftest.
$ac_objext conftest
$ac_exeext
9607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9608 (eval $ac_link) 2>conftest.er1
9610 grep -v '^ *+' conftest.er1
>conftest.err
9612 cat conftest.err
>&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } &&
9615 { ac_try
='test -z "$ac_c_werror_flag"
9616 || test ! -s conftest.err'
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; } &&
9622 { ac_try
='test -s conftest$ac_exeext'
9623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); }; }; then
9628 eval "$as_ac_var=yes"
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9633 eval "$as_ac_var=no"
9635 rm -f conftest.err conftest.
$ac_objext \
9636 conftest
$ac_exeext conftest.
$ac_ext
9638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9640 if test `eval echo '${'$as_ac_var'}'` = yes; then
9641 cat >>confdefs.h
<<_ACEOF
9642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9651 for ac_func
in closedir opendir readdir
9653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9654 echo "$as_me:$LINENO: checking for $ac_func" >&5
9655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9656 if eval "test \"\${$as_ac_var+set}\" = set"; then
9657 echo $ECHO_N "(cached) $ECHO_C" >&6
9659 cat >conftest.
$ac_ext <<_ACEOF
9662 cat confdefs.h
>>conftest.
$ac_ext
9663 cat >>conftest.
$ac_ext <<_ACEOF
9664 /* end confdefs.h. */
9665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9667 #define $ac_func innocuous_$ac_func
9669 /* System header to define __stub macros and hopefully few prototypes,
9670 which can conflict with char $ac_func (); below.
9671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9672 <limits.h> exists even on freestanding compilers. */
9675 # include <limits.h>
9677 # include <assert.h>
9682 /* Override any gcc2 internal prototype to avoid an error. */
9687 /* We use char because int might match the return type of a gcc2
9688 builtin and then its argument prototype would still apply. */
9690 /* The GNU C library defines this for functions which it implements
9691 to always fail with ENOSYS. Some functions are actually named
9692 something starting with __ and the normal name is an alias. */
9693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9696 char (*f) () = $ac_func;
9705 return f != $ac_func;
9710 rm -f conftest.
$ac_objext conftest
$ac_exeext
9711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9712 (eval $ac_link) 2>conftest.er1
9714 grep -v '^ *+' conftest.er1
>conftest.err
9716 cat conftest.err
>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } &&
9719 { ac_try
='test -z "$ac_c_werror_flag"
9720 || test ! -s conftest.err'
9721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); }; } &&
9726 { ac_try
='test -s conftest$ac_exeext'
9727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); }; }; then
9732 eval "$as_ac_var=yes"
9734 echo "$as_me: failed program was:" >&5
9735 sed 's/^/| /' conftest.
$ac_ext >&5
9737 eval "$as_ac_var=no"
9739 rm -f conftest.err conftest.
$ac_objext \
9740 conftest
$ac_exeext conftest.
$ac_ext
9742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9744 if test `eval echo '${'$as_ac_var'}'` = yes; then
9745 cat >>confdefs.h
<<_ACEOF
9746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9753 # Check whether --enable-shared or --disable-shared was given.
9754 if test "${enable_shared+set}" = set; then
9755 enableval
="$enable_shared"
9756 p
=${PACKAGE-default}
9758 yes) enable_shared
=yes ;;
9759 no
) enable_shared
=no
;;
9762 # Look at the argument we got. We use all the common list separators.
9763 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9764 for pkg
in $enableval; do
9766 if test "X$pkg" = "X$p"; then
9777 # Check whether --enable-static or --disable-static was given.
9778 if test "${enable_static+set}" = set; then
9779 enableval
="$enable_static"
9780 p
=${PACKAGE-default}
9782 yes) enable_static
=yes ;;
9783 no
) enable_static
=no
;;
9786 # Look at the argument we got. We use all the common list separators.
9787 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9788 for pkg
in $enableval; do
9790 if test "X$pkg" = "X$p"; then
9801 # Check whether --enable-fast-install or --disable-fast-install was given.
9802 if test "${enable_fast_install+set}" = set; then
9803 enableval
="$enable_fast_install"
9804 p
=${PACKAGE-default}
9806 yes) enable_fast_install
=yes ;;
9807 no
) enable_fast_install
=no
;;
9809 enable_fast_install
=no
9810 # Look at the argument we got. We use all the common list separators.
9811 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9812 for pkg
in $enableval; do
9814 if test "X$pkg" = "X$p"; then
9815 enable_fast_install
=yes
9822 enable_fast_install
=yes
9825 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9826 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
9827 if test "${lt_cv_path_SED+set}" = set; then
9828 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 # Loop through the user's path and test for sed and gsed.
9831 # Then use that list of sed's as ones to test for truncation.
9832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9836 test -z "$as_dir" && as_dir
=.
9837 for lt_ac_prog
in sed gsed
; do
9838 for ac_exec_ext
in '' $ac_executable_extensions; do
9839 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
9840 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
9847 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
9848 # along with /bin/sed that truncates output.
9849 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
9850 test ! -f $lt_ac_sed && break
9851 cat /dev
/null
> conftest.
in
9853 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
9854 # Check for GNU sed and select it if it is found.
9855 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
9856 lt_cv_path_SED
=$lt_ac_sed
9860 cat conftest.
in conftest.
in >conftest.tmp
9861 mv conftest.tmp conftest.
in
9862 cp conftest.
in conftest.
nl
9864 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
9865 cmp -s conftest.out conftest.
nl ||
break
9866 # 10000 chars as input seems more than enough
9867 test $lt_ac_count -gt 10 && break
9868 lt_ac_count
=`expr $lt_ac_count + 1`
9869 if test $lt_ac_count -gt $lt_ac_max; then
9870 lt_ac_max
=$lt_ac_count
9871 lt_cv_path_SED
=$lt_ac_sed
9879 echo "$as_me:$LINENO: result: $SED" >&5
9880 echo "${ECHO_T}$SED" >&6
9883 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9884 if test "${with_gnu_ld+set}" = set; then
9885 withval
="$with_gnu_ld"
9886 test "$withval" = no || with_gnu_ld
=yes
9891 if test "$GCC" = yes; then
9892 # Check if gcc -print-prog-name=ld gives a path.
9893 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9894 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9897 # gcc leaves a trailing carriage return which upsets mingw
9898 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9900 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9903 # Accept absolute paths.
9905 re_direlt
='/[^/][^/]*/\.\./'
9906 # Canonicalize the pathname of ld
9907 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9908 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9909 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9911 test -z "$LD" && LD
="$ac_prog"
9914 # If it fails, then pretend we aren't using GCC.
9918 # If it is relative, then search for the first ld in PATH.
9922 elif test "$with_gnu_ld" = yes; then
9923 echo "$as_me:$LINENO: checking for GNU ld" >&5
9924 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9926 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9927 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9929 if test "${lt_cv_path_LD+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 if test -z "$LD"; then
9933 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9934 for ac_dir
in $PATH; do
9936 test -z "$ac_dir" && ac_dir
=.
9937 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9938 lt_cv_path_LD
="$ac_dir/$ac_prog"
9939 # Check to see if the program is GNU ld. I'd rather use --version,
9940 # but apparently some GNU ld's only accept -v.
9941 # Break only if it was the GNU/non-GNU ld that we prefer.
9942 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9943 *GNU
* |
*'with BFD'*)
9944 test "$with_gnu_ld" != no
&& break
9947 test "$with_gnu_ld" != yes && break
9954 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9959 if test -n "$LD"; then
9960 echo "$as_me:$LINENO: result: $LD" >&5
9961 echo "${ECHO_T}$LD" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9966 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9967 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9968 { (exit 1); exit 1; }; }
9969 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9970 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9971 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9975 case `$LD -v 2>&1 </dev/null` in
9976 *GNU
* |
*'with BFD'*)
9977 lt_cv_prog_gnu_ld
=yes
9980 lt_cv_prog_gnu_ld
=no
9984 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9985 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9986 with_gnu_ld
=$lt_cv_prog_gnu_ld
9989 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9990 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
9991 if test "${lt_cv_ld_reload_flag+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 lt_cv_ld_reload_flag
='-r'
9996 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9997 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
9998 reload_flag
=$lt_cv_ld_reload_flag
9999 case $reload_flag in
10001 *) reload_flag
=" $reload_flag" ;;
10003 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
10006 if test "$GCC" = yes; then
10007 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
10009 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
10014 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10015 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10016 if test "${lt_cv_deplibs_check_method+set}" = set; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6
10019 lt_cv_file_magic_cmd
='$MAGIC_CMD'
10020 lt_cv_file_magic_test_file
=
10021 lt_cv_deplibs_check_method
='unknown'
10022 # Need to set the preceding variable on all platforms that support
10023 # interlibrary dependencies.
10024 # 'none' -- dependencies not supported.
10025 # `unknown' -- same as none, but documents that we really don't know.
10026 # 'pass_all' -- all dependencies passed with no checks.
10027 # 'test_compile' -- check by making test program.
10028 # 'file_magic [[regex]]' -- check by looking for files in library path
10029 # which responds to the $file_magic_cmd with a given extended regex.
10030 # If you have `file' or equivalent on your system and you're not sure
10031 # whether `pass_all' will *always* work, you probably want this one.
10035 lt_cv_deplibs_check_method
=pass_all
10039 lt_cv_deplibs_check_method
=pass_all
10043 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10044 lt_cv_file_magic_cmd
='/usr/bin/file -L'
10045 lt_cv_file_magic_test_file
=/shlib
/libc.so
10049 # func_win32_libid is a shell function defined in ltmain.sh
10050 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
10051 lt_cv_file_magic_cmd
='func_win32_libid'
10055 # Base MSYS/MinGW do not provide the 'file' command needed by
10056 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10057 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
10058 lt_cv_file_magic_cmd
='$OBJDUMP -f'
10061 darwin
* | rhapsody
*)
10062 lt_cv_deplibs_check_method
=pass_all
10065 freebsd
* | kfreebsd
*-gnu)
10066 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
10069 # Not sure whether the presence of OpenBSD here was a mistake.
10070 # Let's accept both of them until this is cleared up.
10071 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10072 lt_cv_file_magic_cmd
=/usr
/bin
/file
10073 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
10077 lt_cv_deplibs_check_method
=pass_all
10082 lt_cv_deplibs_check_method
=pass_all
10085 hpux10.20
* | hpux11
*)
10086 lt_cv_file_magic_cmd
=/usr
/bin
/file
10087 case "$host_cpu" in
10089 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10090 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
10093 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]'
10094 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
10097 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10098 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
10103 irix5
* | irix6
* | nonstopux
*)
10105 *-32|
*"-32 ") libmagic
=32-bit;;
10106 *-n32|
*"-n32 ") libmagic
=N32
;;
10107 *-64|
*"-64 ") libmagic
=64-bit;;
10108 *) libmagic
=never-match
;;
10110 lt_cv_deplibs_check_method
=pass_all
10113 # This must be Linux ELF.
10115 lt_cv_deplibs_check_method
=pass_all
10119 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
10120 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10122 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10127 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10128 lt_cv_file_magic_cmd
=/usr
/bin
/file
10129 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
10133 lt_cv_deplibs_check_method
=unknown
10137 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10138 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10140 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10144 osf3
* | osf4
* | osf5
*)
10145 lt_cv_deplibs_check_method
=pass_all
10149 lt_cv_deplibs_check_method
=pass_all
10153 lt_cv_deplibs_check_method
=pass_all
10156 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10157 case $host_vendor in
10159 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]'
10160 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
10163 lt_cv_deplibs_check_method
=pass_all
10166 lt_cv_file_magic_cmd
='/bin/file'
10167 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10170 lt_cv_file_magic_cmd
='/bin/file'
10171 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10172 lt_cv_file_magic_test_file
=/lib
/libc.so
10175 lt_cv_deplibs_check_method
=pass_all
10180 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
10181 lt_cv_deplibs_check_method
=pass_all
10186 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10187 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10188 file_magic_cmd
=$lt_cv_file_magic_cmd
10189 deplibs_check_method
=$lt_cv_deplibs_check_method
10190 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
10194 # If no C compiler was specified, use CC.
10197 # Allow CC to be a program name with arguments.
10200 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10201 if test "${enable_libtool_lock+set}" = set; then
10202 enableval
="$enable_libtool_lock"
10205 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
10207 # Some flags need to be propagated to the compiler or linker for good
10211 # Find out which ABI we are using.
10212 echo 'int i;' > conftest.
$ac_ext
10213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10214 (eval $ac_compile) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; then
10218 case `/usr/bin/file conftest.$ac_objext` in
10220 HPUX_IA64_MODE
="32"
10223 HPUX_IA64_MODE
="64"
10230 # Find out which ABI we are using.
10231 echo '#line 10231 "configure"' > conftest.
$ac_ext
10232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10233 (eval $ac_compile) 2>&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); }; then
10237 if test "$lt_cv_prog_gnu_ld" = yes; then
10238 case `/usr/bin/file conftest.$ac_objext` in
10240 LD
="${LD-ld} -melf32bsmip"
10243 LD
="${LD-ld} -melf32bmipn32"
10246 LD
="${LD-ld} -melf64bmip"
10250 case `/usr/bin/file conftest.$ac_objext` in
10266 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
10267 # Find out which ABI we are using.
10268 echo 'int i;' > conftest.
$ac_ext
10269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10270 (eval $ac_compile) 2>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; then
10274 case "`/usr/bin/file conftest.o`" in
10278 LD
="${LD-ld} -m elf_i386"
10280 ppc64-
*linux
*|powerpc64-
*linux
*)
10281 LD
="${LD-ld} -m elf32ppclinux"
10284 LD
="${LD-ld} -m elf_s390"
10287 LD
="${LD-ld} -m elf32_sparc"
10294 LD
="${LD-ld} -m elf_x86_64"
10296 ppc
*-*linux
*|powerpc
*-*linux
*)
10297 LD
="${LD-ld} -m elf64ppc"
10300 LD
="${LD-ld} -m elf64_s390"
10303 LD
="${LD-ld} -m elf64_sparc"
10313 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10314 SAVE_CFLAGS
="$CFLAGS"
10315 CFLAGS
="$CFLAGS -belf"
10316 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10317 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
10318 if test "${lt_cv_cc_needs_belf+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10322 ac_cpp
='$CPP $CPPFLAGS'
10323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10327 cat >conftest.
$ac_ext <<_ACEOF
10330 cat confdefs.h
>>conftest.
$ac_ext
10331 cat >>conftest.
$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10335 rm -f conftest.
$ac_objext conftest
$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10339 grep -v '^ *+' conftest.er1
>conftest.err
10341 cat conftest.err
>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try
='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try
='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 lt_cv_cc_needs_belf
=yes
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.
$ac_ext >&5
10362 lt_cv_cc_needs_belf
=no
10364 rm -f conftest.err conftest.
$ac_objext \
10365 conftest
$ac_exeext conftest.
$ac_ext
10367 ac_cpp
='$CPP $CPPFLAGS'
10368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10373 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10374 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
10375 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
10376 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10377 CFLAGS
="$SAVE_CFLAGS"
10383 need_locks
="$enable_libtool_lock"
10388 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10389 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10390 (test "X$CXX" != "Xg++"))) ; then
10392 ac_cpp
='$CXXCPP $CPPFLAGS'
10393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10396 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10397 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
10398 if test -z "$CXXCPP"; then
10399 if test "${ac_cv_prog_CXXCPP+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 # Double quotes because CXXCPP needs to be expanded
10403 for CXXCPP
in "$CXX -E" "/lib/cpp"
10405 ac_preproc_ok
=false
10406 for ac_cxx_preproc_warn_flag
in '' yes
10408 # Use a header file that comes with gcc, so configuring glibc
10409 # with a fresh cross-compiler works.
10410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10411 # <limits.h> exists even on freestanding compilers.
10412 # On the NeXT, cc -E runs the code through the compiler's parser,
10413 # not just through cpp. "Syntax error" is here to catch this case.
10414 cat >conftest.
$ac_ext <<_ACEOF
10417 cat confdefs.h
>>conftest.
$ac_ext
10418 cat >>conftest.
$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10421 # include <limits.h>
10423 # include <assert.h>
10427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10430 grep -v '^ *+' conftest.er1
>conftest.err
10432 cat conftest.err
>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); } >/dev
/null
; then
10435 if test -s conftest.err
; then
10436 ac_cpp_err
=$ac_cxx_preproc_warn_flag
10437 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
10444 if test -z "$ac_cpp_err"; then
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.
$ac_ext >&5
10450 # Broken: fails on valid input.
10453 rm -f conftest.err conftest.
$ac_ext
10455 # OK, works on sane cases. Now check whether non-existent headers
10456 # can be detected and how.
10457 cat >conftest.
$ac_ext <<_ACEOF
10460 cat confdefs.h
>>conftest.
$ac_ext
10461 cat >>conftest.
$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 #include <ac_nonexistent.h>
10465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10468 grep -v '^ *+' conftest.er1
>conftest.err
10470 cat conftest.err
>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } >/dev
/null
; then
10473 if test -s conftest.err
; then
10474 ac_cpp_err
=$ac_cxx_preproc_warn_flag
10475 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
10482 if test -z "$ac_cpp_err"; then
10483 # Broken: success on invalid input.
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.
$ac_ext >&5
10489 # Passes both tests.
10493 rm -f conftest.err conftest.
$ac_ext
10496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10497 rm -f conftest.err conftest.
$ac_ext
10498 if $ac_preproc_ok; then
10503 ac_cv_prog_CXXCPP
=$CXXCPP
10506 CXXCPP
=$ac_cv_prog_CXXCPP
10508 ac_cv_prog_CXXCPP
=$CXXCPP
10510 echo "$as_me:$LINENO: result: $CXXCPP" >&5
10511 echo "${ECHO_T}$CXXCPP" >&6
10512 ac_preproc_ok
=false
10513 for ac_cxx_preproc_warn_flag
in '' yes
10515 # Use a header file that comes with gcc, so configuring glibc
10516 # with a fresh cross-compiler works.
10517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10518 # <limits.h> exists even on freestanding compilers.
10519 # On the NeXT, cc -E runs the code through the compiler's parser,
10520 # not just through cpp. "Syntax error" is here to catch this case.
10521 cat >conftest.
$ac_ext <<_ACEOF
10524 cat confdefs.h
>>conftest.
$ac_ext
10525 cat >>conftest.
$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10528 # include <limits.h>
10530 # include <assert.h>
10534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10537 grep -v '^ *+' conftest.er1
>conftest.err
10539 cat conftest.err
>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } >/dev
/null
; then
10542 if test -s conftest.err
; then
10543 ac_cpp_err
=$ac_cxx_preproc_warn_flag
10544 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
10551 if test -z "$ac_cpp_err"; then
10554 echo "$as_me: failed program was:" >&5
10555 sed 's/^/| /' conftest.
$ac_ext >&5
10557 # Broken: fails on valid input.
10560 rm -f conftest.err conftest.
$ac_ext
10562 # OK, works on sane cases. Now check whether non-existent headers
10563 # can be detected and how.
10564 cat >conftest.
$ac_ext <<_ACEOF
10567 cat confdefs.h
>>conftest.
$ac_ext
10568 cat >>conftest.
$ac_ext <<_ACEOF
10569 /* end confdefs.h. */
10570 #include <ac_nonexistent.h>
10572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10575 grep -v '^ *+' conftest.er1
>conftest.err
10577 cat conftest.err
>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } >/dev
/null
; then
10580 if test -s conftest.err
; then
10581 ac_cpp_err
=$ac_cxx_preproc_warn_flag
10582 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
10589 if test -z "$ac_cpp_err"; then
10590 # Broken: success on invalid input.
10593 echo "$as_me: failed program was:" >&5
10594 sed 's/^/| /' conftest.
$ac_ext >&5
10596 # Passes both tests.
10600 rm -f conftest.err conftest.
$ac_ext
10603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10604 rm -f conftest.err conftest.
$ac_ext
10605 if $ac_preproc_ok; then
10608 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10609 See \`config.log' for more details." >&5
10610 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10611 See \`config.log' for more details." >&2;}
10612 { (exit 1); exit 1; }; }
10616 ac_cpp
='$CXXCPP $CPPFLAGS'
10617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10625 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
10626 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10627 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
10628 if test -n "$ac_tool_prefix"; then
10629 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
10631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10632 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10633 echo "$as_me:$LINENO: checking for $ac_word" >&5
10634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10635 if test "${ac_cv_prog_F77+set}" = set; then
10636 echo $ECHO_N "(cached) $ECHO_C" >&6
10638 if test -n "$F77"; then
10639 ac_cv_prog_F77
="$F77" # Let the user override the test.
10641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10642 for as_dir
in $PATH
10645 test -z "$as_dir" && as_dir
=.
10646 for ac_exec_ext
in '' $ac_executable_extensions; do
10647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10648 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
10649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10657 F77
=$ac_cv_prog_F77
10658 if test -n "$F77"; then
10659 echo "$as_me:$LINENO: result: $F77" >&5
10660 echo "${ECHO_T}$F77" >&6
10662 echo "$as_me:$LINENO: result: no" >&5
10663 echo "${ECHO_T}no" >&6
10666 test -n "$F77" && break
10669 if test -z "$F77"; then
10671 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
10673 # Extract the first word of "$ac_prog", so it can be a program name with args.
10674 set dummy
$ac_prog; ac_word
=$2
10675 echo "$as_me:$LINENO: checking for $ac_word" >&5
10676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10677 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
10678 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 if test -n "$ac_ct_F77"; then
10681 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
10683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10684 for as_dir
in $PATH
10687 test -z "$as_dir" && as_dir
=.
10688 for ac_exec_ext
in '' $ac_executable_extensions; do
10689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10690 ac_cv_prog_ac_ct_F77
="$ac_prog"
10691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10699 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
10700 if test -n "$ac_ct_F77"; then
10701 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
10702 echo "${ECHO_T}$ac_ct_F77" >&6
10704 echo "$as_me:$LINENO: result: no" >&5
10705 echo "${ECHO_T}no" >&6
10708 test -n "$ac_ct_F77" && break
10715 # Provide some information about the compiler.
10716 echo "$as_me:10716:" \
10717 "checking for Fortran 77 compiler version" >&5
10718 ac_compiler
=`set X $ac_compile; echo $2`
10719 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10720 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); }
10724 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10725 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }
10729 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10730 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); }
10736 # If we don't use `.F' as extension, the preprocessor is not run on the
10737 # input file. (Note that this only needs to work for GNU compilers.)
10738 ac_save_ext
=$ac_ext
10740 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
10741 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
10742 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 cat >conftest.
$ac_ext <<_ACEOF
10753 rm -f conftest.
$ac_objext
10754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10755 (eval $ac_compile) 2>conftest.er1
10757 grep -v '^ *+' conftest.er1
>conftest.err
10759 cat conftest.err
>&5
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); } &&
10762 { ac_try
='test -z "$ac_f77_werror_flag"
10763 || test ! -s conftest.err'
10764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10765 (eval $ac_try) 2>&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }; } &&
10769 { ac_try
='test -s conftest.$ac_objext'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; }; then
10775 ac_compiler_gnu
=yes
10777 echo "$as_me: failed program was:" >&5
10778 sed 's/^/| /' conftest.
$ac_ext >&5
10782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10783 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
10786 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
10787 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
10788 ac_ext
=$ac_save_ext
10789 ac_test_FFLAGS
=${FFLAGS+set}
10790 ac_save_FFLAGS
=$FFLAGS
10792 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
10793 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
10794 if test "${ac_cv_prog_f77_g+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 cat >conftest.
$ac_ext <<_ACEOF
10803 rm -f conftest.
$ac_objext
10804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10805 (eval $ac_compile) 2>conftest.er1
10807 grep -v '^ *+' conftest.er1
>conftest.err
10809 cat conftest.err
>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } &&
10812 { ac_try
='test -z "$ac_f77_werror_flag"
10813 || test ! -s conftest.err'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; } &&
10819 { ac_try
='test -s conftest.$ac_objext'
10820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821 (eval $ac_try) 2>&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; }; then
10825 ac_cv_prog_f77_g
=yes
10827 echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.
$ac_ext >&5
10830 ac_cv_prog_f77_g
=no
10832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10835 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
10836 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
10837 if test "$ac_test_FFLAGS" = set; then
10838 FFLAGS
=$ac_save_FFLAGS
10839 elif test $ac_cv_prog_f77_g = yes; then
10840 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
10846 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
10853 G77
=`test $ac_compiler_gnu = yes && echo yes`
10855 ac_cpp
='$CPP $CPPFLAGS'
10856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10862 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
10864 # find the maximum length of command line arguments
10865 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
10866 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
10867 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 # On DJGPP, this test can blow up pretty badly due to problems in libc
10876 # (any single argument exceeding 2000 bytes causes a buffer overrun
10877 # during glob expansion). Even if it were fixed, the result of this
10878 # check would be larger than it should be.
10879 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
10883 # Under GNU Hurd, this test is not required because there is
10884 # no limit to the length of command line arguments.
10885 # Libtool will interpret -1 as no limit whatsoever
10886 lt_cv_sys_max_cmd_len
=-1;
10890 # On Win9x/ME, this test blows up -- it succeeds, but takes
10891 # about 5 minutes as the teststring grows exponentially.
10892 # Worse, since 9x/ME are not pre-emptively multitasking,
10893 # you end up with a "frozen" computer, even though with patience
10894 # the test eventually succeeds (with a max line length of 256k).
10895 # Instead, let's just punt: use the minimum linelength reported by
10896 # all of the supported platforms: 8192 (on NT/2K/XP).
10897 lt_cv_sys_max_cmd_len
=8192;
10901 # On AmigaOS with pdksh, this test takes hours, literally.
10902 # So we just punt and use a minimum line length of 8192.
10903 lt_cv_sys_max_cmd_len
=8192;
10906 netbsd
* | freebsd
* | openbsd
* | darwin
* )
10907 # This has been around since 386BSD, at least. Likely further.
10908 if test -x /sbin
/sysctl
; then
10909 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
10910 elif test -x /usr
/sbin
/sysctl
; then
10911 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
10913 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
10915 # And add a safety zone
10916 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
10920 # If test is not a shell built-in, we'll probably end up computing a
10921 # maximum length that is only half of the actual maximum length, but
10923 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
10924 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
10925 = "XX$teststring") >/dev
/null
2>&1 &&
10926 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
10927 lt_cv_sys_max_cmd_len
=$new_result &&
10928 test $i != 17 # 1/2 MB should be enough
10931 teststring
=$teststring$teststring
10934 # Add a significant safety factor because C++ compilers can tack on massive
10935 # amounts of additional arguments before passing them to the linker.
10936 # It appears as though 1/2 is a usable value.
10937 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
10943 if test -n $lt_cv_sys_max_cmd_len ; then
10944 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
10945 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
10947 echo "$as_me:$LINENO: result: none" >&5
10948 echo "${ECHO_T}none" >&6
10954 # Check for command to grab the raw symbol name followed by C symbol from nm.
10955 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
10956 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
10957 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10958 echo $ECHO_N "(cached) $ECHO_C" >&6
10961 # These are sane defaults that work on at least a few old systems.
10962 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
10964 # Character class describing NM global symbol codes.
10965 symcode
='[BCDEGRST]'
10967 # Regexp to match symbols that can be accessed directly from C.
10968 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
10970 # Transform the above into a raw symbol and a C symbol.
10971 symxfrm
='\1 \2\3 \3'
10973 # Transform an extracted symbol line into a proper C declaration
10974 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
10976 # Transform an extracted symbol line into symbol name and symbol address
10977 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'"
10979 # Define system-specific variables.
10984 cygwin
* | mingw
* | pw32
*)
10985 symcode
='[ABCDGISTW]'
10987 hpux
*) # Its linker distinguishes data from code symbols
10988 if test "$host_cpu" = ia64
; then
10989 symcode
='[ABCDEGRST]'
10991 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10992 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'"
10995 if test "$host_cpu" = ia64
; then
10996 symcode
='[ABCDGIRSTW]'
10997 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10998 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'"
11001 irix
* | nonstopux
*)
11002 symcode
='[BCDEGRST]'
11005 symcode
='[BCDEGQRST]'
11015 # Handle CRLF in mingw tool chain
11019 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11023 # If we're using GNU nm, then use its standard symbol codes.
11024 case `$NM -V 2>&1` in
11025 *GNU
* |
*'with BFD'*)
11026 symcode
='[ABCDGIRSTW]' ;;
11029 # Try without a prefix undercore, then with it.
11030 for ac_symprfx
in "" "_"; do
11032 # Write the raw and C identifiers.
11033 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
11035 # Check to see that the pipe works correctly.
11039 cat > conftest.
$ac_ext <<EOF
11044 void nm_test_func(){}
11048 int main(){nm_test_var='a';nm_test_func();return(0);}
11051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11052 (eval $ac_compile) 2>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; then
11056 # Now try to grab the symbols.
11058 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
11059 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } && test -s "$nlist"; then
11063 # Try sorting and uniquifying the output.
11064 if sort "$nlist" |
uniq > "$nlist"T
; then
11065 mv -f "$nlist"T
"$nlist"
11070 # Make sure that we snagged all the symbols we need.
11071 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
11072 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
11073 cat <<EOF > conftest.$ac_ext
11079 # Now generate the symbol file.
11080 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
11082 cat <<EOF >> conftest.$ac_ext
11083 #if defined (__STDC__) && __STDC__
11084 # define lt_ptr_t void *
11086 # define lt_ptr_t char *
11090 /* The mapping between symbol names and symbols. */
11095 lt_preloaded_symbols[] =
11098 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
11099 cat <<\EOF
>> conftest.
$ac_ext
11107 # Now try linking the two files.
11108 mv conftest.
$ac_objext conftstm.
$ac_objext
11109 lt_save_LIBS
="$LIBS"
11110 lt_save_CFLAGS
="$CFLAGS"
11111 LIBS
="conftstm.$ac_objext"
11112 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11114 (eval $ac_link) 2>&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
11120 LIBS
="$lt_save_LIBS"
11121 CFLAGS
="$lt_save_CFLAGS"
11123 echo "cannot find nm_test_func in $nlist" >&5
11126 echo "cannot find nm_test_var in $nlist" >&5
11129 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
11132 echo "$progname: failed program was:" >&5
11133 cat conftest.
$ac_ext >&5
11135 rm -f conftest
* conftst
*
11137 # Do not use the global_symbol_pipe unless it works.
11138 if test "$pipe_works" = yes; then
11141 lt_cv_sys_global_symbol_pipe
=
11147 if test -z "$lt_cv_sys_global_symbol_pipe"; then
11148 lt_cv_sys_global_symbol_to_cdecl
=
11150 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
11151 echo "$as_me:$LINENO: result: failed" >&5
11152 echo "${ECHO_T}failed" >&6
11154 echo "$as_me:$LINENO: result: ok" >&5
11155 echo "${ECHO_T}ok" >&6
11158 echo "$as_me:$LINENO: checking for objdir" >&5
11159 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
11160 if test "${lt_cv_objdir+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11163 rm -f .libs
2>/dev
/null
11164 mkdir .libs
2>/dev
/null
11165 if test -d .libs
; then
11168 # MS-DOS does not allow filenames that begin with a dot.
11171 rmdir .libs
2>/dev
/null
11173 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
11174 echo "${ECHO_T}$lt_cv_objdir" >&6
11175 objdir
=$lt_cv_objdir
11183 # AIX sometimes has problems with the GCC collect2 program. For some
11184 # reason, if we set the COLLECT_NAMES environment variable, the problems
11185 # vanish in a puff of smoke.
11186 if test "X${COLLECT_NAMES+set}" != Xset
; then
11188 export COLLECT_NAMES
11193 # Sed substitution that helps us do robust quoting. It backslashifies
11194 # metacharacters that are still active within double-quoted strings.
11195 Xsed
='sed -e s/^X//'
11196 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
11198 # Same as above, but do not quote variable references.
11199 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
11201 # Sed substitution to delay expansion of an escaped shell variable in a
11202 # double_quote_subst'ed string.
11203 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
11205 # Sed substitution to avoid accidental globbing in evaled expressions
11206 no_glob_subst
='s/\*/\\\*/g'
11211 # Global variables:
11212 default_ofile
=mklib
11213 can_build_shared
=yes
11215 # All known linkers require a `.a' archive for static linking (except M$VC,
11216 # which needs '.lib').
11218 ltmain
="$ac_aux_dir/ltmain.sh"
11219 ofile
="$default_ofile"
11220 with_gnu_ld
="$lt_cv_prog_gnu_ld"
11222 if test -n "$ac_tool_prefix"; then
11223 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11224 set dummy
${ac_tool_prefix}ar; ac_word
=$2
11225 echo "$as_me:$LINENO: checking for $ac_word" >&5
11226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11227 if test "${ac_cv_prog_AR+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6
11230 if test -n "$AR"; then
11231 ac_cv_prog_AR
="$AR" # Let the user override the test.
11233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11234 for as_dir
in $PATH
11237 test -z "$as_dir" && as_dir
=.
11238 for ac_exec_ext
in '' $ac_executable_extensions; do
11239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11240 ac_cv_prog_AR
="${ac_tool_prefix}ar"
11241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11250 if test -n "$AR"; then
11251 echo "$as_me:$LINENO: result: $AR" >&5
11252 echo "${ECHO_T}$AR" >&6
11254 echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6
11259 if test -z "$ac_cv_prog_AR"; then
11261 # Extract the first word of "ar", so it can be a program name with args.
11262 set dummy
ar; ac_word
=$2
11263 echo "$as_me:$LINENO: checking for $ac_word" >&5
11264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11265 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11266 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 if test -n "$ac_ct_AR"; then
11269 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
11271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11272 for as_dir
in $PATH
11275 test -z "$as_dir" && as_dir
=.
11276 for ac_exec_ext
in '' $ac_executable_extensions; do
11277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11278 ac_cv_prog_ac_ct_AR
="ar"
11279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11285 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
11288 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
11289 if test -n "$ac_ct_AR"; then
11290 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11291 echo "${ECHO_T}$ac_ct_AR" >&6
11293 echo "$as_me:$LINENO: result: no" >&5
11294 echo "${ECHO_T}no" >&6
11299 AR
="$ac_cv_prog_AR"
11302 if test -n "$ac_tool_prefix"; then
11303 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11304 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11305 echo "$as_me:$LINENO: checking for $ac_word" >&5
11306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11307 if test "${ac_cv_prog_RANLIB+set}" = set; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 if test -n "$RANLIB"; then
11311 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11314 for as_dir
in $PATH
11317 test -z "$as_dir" && as_dir
=.
11318 for ac_exec_ext
in '' $ac_executable_extensions; do
11319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11320 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11329 RANLIB
=$ac_cv_prog_RANLIB
11330 if test -n "$RANLIB"; then
11331 echo "$as_me:$LINENO: result: $RANLIB" >&5
11332 echo "${ECHO_T}$RANLIB" >&6
11334 echo "$as_me:$LINENO: result: no" >&5
11335 echo "${ECHO_T}no" >&6
11339 if test -z "$ac_cv_prog_RANLIB"; then
11340 ac_ct_RANLIB
=$RANLIB
11341 # Extract the first word of "ranlib", so it can be a program name with args.
11342 set dummy ranlib
; ac_word
=$2
11343 echo "$as_me:$LINENO: checking for $ac_word" >&5
11344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11345 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 if test -n "$ac_ct_RANLIB"; then
11349 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11352 for as_dir
in $PATH
11355 test -z "$as_dir" && as_dir
=.
11356 for ac_exec_ext
in '' $ac_executable_extensions; do
11357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11358 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11365 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11368 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11369 if test -n "$ac_ct_RANLIB"; then
11370 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11371 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11373 echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6
11377 RANLIB
=$ac_ct_RANLIB
11379 RANLIB
="$ac_cv_prog_RANLIB"
11382 if test -n "$ac_tool_prefix"; then
11383 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11384 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
11385 echo "$as_me:$LINENO: checking for $ac_word" >&5
11386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11387 if test "${ac_cv_prog_STRIP+set}" = set; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 if test -n "$STRIP"; then
11391 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11394 for as_dir
in $PATH
11397 test -z "$as_dir" && as_dir
=.
11398 for ac_exec_ext
in '' $ac_executable_extensions; do
11399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11400 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
11401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11409 STRIP
=$ac_cv_prog_STRIP
11410 if test -n "$STRIP"; then
11411 echo "$as_me:$LINENO: result: $STRIP" >&5
11412 echo "${ECHO_T}$STRIP" >&6
11414 echo "$as_me:$LINENO: result: no" >&5
11415 echo "${ECHO_T}no" >&6
11419 if test -z "$ac_cv_prog_STRIP"; then
11421 # Extract the first word of "strip", so it can be a program name with args.
11422 set dummy strip
; ac_word
=$2
11423 echo "$as_me:$LINENO: checking for $ac_word" >&5
11424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11425 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 if test -n "$ac_ct_STRIP"; then
11429 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
11431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11432 for as_dir
in $PATH
11435 test -z "$as_dir" && as_dir
=.
11436 for ac_exec_ext
in '' $ac_executable_extensions; do
11437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11438 ac_cv_prog_ac_ct_STRIP
="strip"
11439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11445 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
11448 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
11449 if test -n "$ac_ct_STRIP"; then
11450 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11451 echo "${ECHO_T}$ac_ct_STRIP" >&6
11453 echo "$as_me:$LINENO: result: no" >&5
11454 echo "${ECHO_T}no" >&6
11459 STRIP
="$ac_cv_prog_STRIP"
11464 old_CFLAGS
="$CFLAGS"
11466 # Set sane defaults for various variables
11467 test -z "$AR" && AR
=ar
11468 test -z "$AR_FLAGS" && AR_FLAGS
=cru
11469 test -z "$AS" && AS
=as
11470 test -z "$CC" && CC
=cc
11471 test -z "$LTCC" && LTCC
=$CC
11472 test -z "$DLLTOOL" && DLLTOOL
=dlltool
11473 test -z "$LD" && LD
=ld
11474 test -z "$LN_S" && LN_S
="ln -s"
11475 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
11476 test -z "$NM" && NM
=nm
11477 test -z "$SED" && SED
=sed
11478 test -z "$OBJDUMP" && OBJDUMP
=objdump
11479 test -z "$RANLIB" && RANLIB
=:
11480 test -z "$STRIP" && STRIP
=:
11481 test -z "$ac_objext" && ac_objext
=o
11483 # Determine commands to create old-style static archives.
11484 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
11485 old_postinstall_cmds
='chmod 644 $oldlib'
11486 old_postuninstall_cmds
=
11488 if test -n "$RANLIB"; then
11491 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
11494 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
11497 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
11500 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
11502 # Only perform the check for file, if the check method requires it
11503 case $deplibs_check_method in
11505 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11506 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11507 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
11508 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11509 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
11516 lt_save_MAGIC_CMD
="$MAGIC_CMD"
11517 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11518 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
11519 for ac_dir
in $ac_dummy; do
11521 test -z "$ac_dir" && ac_dir
=.
11522 if test -f $ac_dir/${ac_tool_prefix}file; then
11523 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
11524 if test -n "$file_magic_test_file"; then
11525 case $deplibs_check_method in
11527 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11528 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11529 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
11530 $EGREP "$file_magic_regex" > /dev
/null
; then
11535 *** Warning: the command libtool uses to detect shared libraries,
11536 *** $file_magic_cmd, produces output that libtool cannot recognize.
11537 *** The result is that libtool may fail to recognize shared libraries
11538 *** as such. This will affect the creation of libtool libraries that
11539 *** depend on shared libraries, but programs linked with such libtool
11540 *** libraries will work regardless of this problem. Nevertheless, you
11541 *** may want to report the problem to your system manager and/or to
11542 *** bug-libtool@gnu.org
11552 MAGIC_CMD
="$lt_save_MAGIC_CMD"
11557 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11558 if test -n "$MAGIC_CMD"; then
11559 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11560 echo "${ECHO_T}$MAGIC_CMD" >&6
11562 echo "$as_me:$LINENO: result: no" >&5
11563 echo "${ECHO_T}no" >&6
11566 if test -z "$lt_cv_path_MAGIC_CMD"; then
11567 if test -n "$ac_tool_prefix"; then
11568 echo "$as_me:$LINENO: checking for file" >&5
11569 echo $ECHO_N "checking for file... $ECHO_C" >&6
11570 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
11578 lt_save_MAGIC_CMD
="$MAGIC_CMD"
11579 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11580 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
11581 for ac_dir
in $ac_dummy; do
11583 test -z "$ac_dir" && ac_dir
=.
11584 if test -f $ac_dir/file; then
11585 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
11586 if test -n "$file_magic_test_file"; then
11587 case $deplibs_check_method in
11589 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11590 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11591 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
11592 $EGREP "$file_magic_regex" > /dev
/null
; then
11597 *** Warning: the command libtool uses to detect shared libraries,
11598 *** $file_magic_cmd, produces output that libtool cannot recognize.
11599 *** The result is that libtool may fail to recognize shared libraries
11600 *** as such. This will affect the creation of libtool libraries that
11601 *** depend on shared libraries, but programs linked with such libtool
11602 *** libraries will work regardless of this problem. Nevertheless, you
11603 *** may want to report the problem to your system manager and/or to
11604 *** bug-libtool@gnu.org
11614 MAGIC_CMD
="$lt_save_MAGIC_CMD"
11619 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11620 if test -n "$MAGIC_CMD"; then
11621 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11622 echo "${ECHO_T}$MAGIC_CMD" >&6
11624 echo "$as_me:$LINENO: result: no" >&5
11625 echo "${ECHO_T}no" >&6
11638 enable_win32_dll
=no
11640 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11641 if test "${enable_libtool_lock+set}" = set; then
11642 enableval
="$enable_libtool_lock"
11645 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
11648 # Check whether --with-pic or --without-pic was given.
11649 if test "${with_pic+set}" = set; then
11650 withval
="$with_pic"
11651 pic_mode
="$withval"
11655 test -z "$pic_mode" && pic_mode
=default
11657 # Use C for the default configuration in the libtool script
11661 ac_cpp
='$CPP $CPPFLAGS'
11662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11667 # Source file extension for C test sources.
11670 # Object file extension for compiled C test sources.
11674 # Code to be used in simple compile tests
11675 lt_simple_compile_test_code
="int some_variable = 0;\n"
11677 # Code to be used in simple link tests
11678 lt_simple_link_test_code
='int main(){return(0);}\n'
11681 # If no C compiler was specified, use CC.
11684 # Allow CC to be a program name with arguments.
11689 # Check for any special shared library compilation flags.
11692 if test "$GCC" = no
; then
11695 lt_prog_cc_shlib
='-belf'
11699 if test -n "$lt_prog_cc_shlib"; then
11700 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
11701 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
11702 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
11704 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
11705 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
11706 lt_cv_prog_cc_can_build_shared
=no
11712 # Check to make sure the static flag actually works.
11714 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
11715 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
11716 if test "${lt_prog_compiler_static_works+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 lt_prog_compiler_static_works
=no
11720 save_LDFLAGS
="$LDFLAGS"
11721 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
11722 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11723 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11724 # The compiler can only warn and ignore the option if not recognized
11725 # So say no if there are warnings
11726 if test -s conftest.err
; then
11727 # Append any errors to the config.log.
11728 cat conftest.err
1>&5
11730 lt_prog_compiler_static_works
=yes
11734 LDFLAGS
="$save_LDFLAGS"
11737 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
11738 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
11740 if test x
"$lt_prog_compiler_static_works" = xyes
; then
11743 lt_prog_compiler_static
=
11749 lt_prog_compiler_no_builtin_flag
=
11751 if test "$GCC" = yes; then
11752 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
11755 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11756 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
11757 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 lt_cv_prog_compiler_rtti_exceptions
=no
11761 ac_outfile
=conftest.
$ac_objext
11762 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11763 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11764 # Insert the option either (1) after the last *FLAGS variable, or
11765 # (2) before a word containing "conftest.", or (3) at the end.
11766 # Note that $ac_compile itself does not contain backslashes and begins
11767 # with a dollar sign (not a hyphen), so the echo should work correctly.
11768 # The option is referenced via a variable to avoid confusing sed.
11769 lt_compile
=`echo "$ac_compile" | $SED \
11770 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11772 -e 's:$: $lt_compiler_flag:'`
11773 (eval echo "\"\$as_me:11773: $lt_compile\"" >&5)
11774 (eval "$lt_compile" 2>conftest.err
)
11776 cat conftest.err
>&5
11777 echo "$as_me:11777: \$? = $ac_status" >&5
11778 if (exit $ac_status) && test -s "$ac_outfile"; then
11779 # The compiler can only warn and ignore the option if not recognized
11780 # So say no if there are warnings
11781 if test ! -s conftest.err
; then
11782 lt_cv_prog_compiler_rtti_exceptions
=yes
11788 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11789 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
11791 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11792 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11799 lt_prog_compiler_wl
=
11800 lt_prog_compiler_pic
=
11801 lt_prog_compiler_static
=
11803 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11804 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11806 if test "$GCC" = yes; then
11807 lt_prog_compiler_wl
='-Wl,'
11808 lt_prog_compiler_static
='-static'
11812 # All AIX code is PIC.
11813 if test "$host_cpu" = ia64
; then
11814 # AIX 5 now supports IA64 processor
11815 lt_prog_compiler_static
='-Bstatic'
11820 # FIXME: we need at least 68020 code to build shared libraries, but
11821 # adding the `-m68020' flag to GCC prevents building anything better,
11823 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11826 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11827 # PIC is the default for these OSes.
11830 mingw
* | pw32
* | os2
*)
11831 # This hack is so that the source file can tell whether it is being
11832 # built for inclusion in a dll (and should export symbols for example).
11833 lt_prog_compiler_pic
='-DDLL_EXPORT'
11836 darwin
* | rhapsody
*)
11837 # PIC is the default on this platform
11838 # Common symbols not allowed in MH_DYLIB files
11839 lt_prog_compiler_pic
='-fno-common'
11843 # Just because we use GCC doesn't mean we suddenly get shared libraries
11844 # on systems that don't support them.
11845 lt_prog_compiler_can_build_shared
=no
11850 if test -d /usr
/nec
; then
11851 lt_prog_compiler_pic
=-Kconform_pic
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
='-fPIC'
11869 lt_prog_compiler_pic
='-fPIC'
11873 # PORTME Check for flag to pass linker flags through the system compiler.
11876 lt_prog_compiler_wl
='-Wl,'
11877 if test "$host_cpu" = ia64
; then
11878 # AIX 5 now supports IA64 processor
11879 lt_prog_compiler_static
='-Bstatic'
11881 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11885 # PIC is the default on this platform
11886 # Common symbols not allowed in MH_DYLIB files
11887 case "$cc_basename" in
11889 lt_prog_compiler_pic
='-qnocommon'
11890 lt_prog_compiler_wl
='-Wl,'
11895 mingw
* | pw32
* | os2
*)
11896 # This hack is so that the source file can tell whether it is being
11897 # built for inclusion in a dll (and should export symbols for example).
11898 lt_prog_compiler_pic
='-DDLL_EXPORT'
11901 hpux9
* | hpux10
* | hpux11
*)
11902 lt_prog_compiler_wl
='-Wl,'
11903 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11904 # not for PA HP-UX.
11905 case "$host_cpu" in
11910 lt_prog_compiler_pic
='+Z'
11913 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11914 lt_prog_compiler_static
='${wl}-a ${wl}archive'
11917 irix5
* | irix6
* | nonstopux
*)
11918 lt_prog_compiler_wl
='-Wl,'
11919 # PIC (with -KPIC) is the default.
11920 lt_prog_compiler_static
='-non_shared'
11924 lt_prog_compiler_pic
='-KPIC'
11925 lt_prog_compiler_static
='-Bstatic'
11931 lt_prog_compiler_wl
='-Wl,'
11932 lt_prog_compiler_pic
='-KPIC'
11933 lt_prog_compiler_static
='-static'
11936 lt_prog_compiler_wl
='-Wl,'
11937 # All Alpha code is PIC.
11938 lt_prog_compiler_static
='-non_shared'
11943 osf3
* | osf4
* | osf5
*)
11944 lt_prog_compiler_wl
='-Wl,'
11945 # All OSF/1 code is PIC.
11946 lt_prog_compiler_static
='-non_shared'
11950 lt_prog_compiler_pic
='-Kpic'
11951 lt_prog_compiler_static
='-dn'
11955 lt_prog_compiler_wl
='-Wl,'
11956 lt_prog_compiler_pic
='-KPIC'
11957 lt_prog_compiler_static
='-Bstatic'
11961 lt_prog_compiler_wl
='-Qoption ld '
11962 lt_prog_compiler_pic
='-PIC'
11963 lt_prog_compiler_static
='-Bstatic'
11966 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11967 lt_prog_compiler_wl
='-Wl,'
11968 lt_prog_compiler_pic
='-KPIC'
11969 lt_prog_compiler_static
='-Bstatic'
11973 if test -d /usr
/nec
;then
11974 lt_prog_compiler_pic
='-Kconform_pic'
11975 lt_prog_compiler_static
='-Bstatic'
11980 lt_prog_compiler_pic
='-pic'
11981 lt_prog_compiler_static
='-Bstatic'
11985 lt_prog_compiler_can_build_shared
=no
11990 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11991 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
11994 # Check to make sure the PIC flag actually works.
11996 if test -n "$lt_prog_compiler_pic"; then
11998 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11999 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
12000 if test "${lt_prog_compiler_pic_works+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 lt_prog_compiler_pic_works
=no
12004 ac_outfile
=conftest.
$ac_objext
12005 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12006 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
12007 # Insert the option either (1) after the last *FLAGS variable, or
12008 # (2) before a word containing "conftest.", or (3) at the end.
12009 # Note that $ac_compile itself does not contain backslashes and begins
12010 # with a dollar sign (not a hyphen), so the echo should work correctly.
12011 # The option is referenced via a variable to avoid confusing sed.
12012 lt_compile
=`echo "$ac_compile" | $SED \
12013 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12014 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12015 -e 's:$: $lt_compiler_flag:'`
12016 (eval echo "\"\$as_me:12016: $lt_compile\"" >&5)
12017 (eval "$lt_compile" 2>conftest.err
)
12019 cat conftest.err
>&5
12020 echo "$as_me:12020: \$? = $ac_status" >&5
12021 if (exit $ac_status) && test -s "$ac_outfile"; then
12022 # The compiler can only warn and ignore the option if not recognized
12023 # So say no if there are warnings
12024 if test ! -s conftest.err
; then
12025 lt_prog_compiler_pic_works
=yes
12031 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
12032 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
12034 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
12035 case $lt_prog_compiler_pic in
12037 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
12040 lt_prog_compiler_pic
=
12041 lt_prog_compiler_can_build_shared
=no
12046 # For platforms which do not support PIC, -DPIC is meaningless:
12048 lt_prog_compiler_pic
=
12051 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
12055 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12056 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12057 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12060 lt_cv_prog_compiler_c_o
=no
12061 $rm -r conftest
2>/dev
/null
12065 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12067 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12068 # Insert the option either (1) after the last *FLAGS variable, or
12069 # (2) before a word containing "conftest.", or (3) at the end.
12070 # Note that $ac_compile itself does not contain backslashes and begins
12071 # with a dollar sign (not a hyphen), so the echo should work correctly.
12072 lt_compile
=`echo "$ac_compile" | $SED \
12073 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12075 -e 's:$: $lt_compiler_flag:'`
12076 (eval echo "\"\$as_me:12076: $lt_compile\"" >&5)
12077 (eval "$lt_compile" 2>out
/conftest.err
)
12079 cat out
/conftest.err
>&5
12080 echo "$as_me:12080: \$? = $ac_status" >&5
12081 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12083 # The compiler can only warn and ignore the option if not recognized
12084 # So say no if there are warnings
12085 if test ! -s out
/conftest.err
; then
12086 lt_cv_prog_compiler_c_o
=yes
12091 # SGI C++ compiler will create directory out/ii_files/ for
12092 # template instantiation
12093 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12094 $rm out
/* && rmdir out
12100 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12101 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
12104 hard_links
="nottested"
12105 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
12106 # do not overwrite the value of need_locks provided by the user
12107 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12108 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12111 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12113 ln conftest.a conftest.b
2>&5 || hard_links
=no
12114 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12115 echo "$as_me:$LINENO: result: $hard_links" >&5
12116 echo "${ECHO_T}$hard_links" >&6
12117 if test "$hard_links" = no
; then
12118 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12119 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12126 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12127 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12130 allow_undefined_flag
=
12131 enable_shared_with_static_runtimes
=no
12133 archive_expsym_cmds
=
12134 old_archive_From_new_cmds
=
12135 old_archive_from_expsyms_cmds
=
12136 export_dynamic_flag_spec
=
12137 whole_archive_flag_spec
=
12138 thread_safe_flag_spec
=
12139 hardcode_libdir_flag_spec
=
12140 hardcode_libdir_flag_spec_ld
=
12141 hardcode_libdir_separator
=
12143 hardcode_minus_L
=no
12144 hardcode_shlibpath_var
=unsupported
12145 link_all_deplibs
=unknown
12146 hardcode_automatic
=no
12148 module_expsym_cmds
=
12149 always_export_symbols
=no
12150 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12151 # include_expsyms should be a list of space-separated symbols to be *always*
12152 # included in the symbol list
12154 # exclude_expsyms can be an extended regexp of symbols to exclude
12155 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12156 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12157 # as well as any symbol that contains `d'.
12158 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
12159 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12160 # platforms (ab)use it in PIC code, but their linkers get confused if
12161 # the symbol is explicitly referenced. Since portable code cannot
12162 # rely on this symbol name, it's probably fine to never include it in
12163 # preloaded symbol tables.
12164 extract_expsyms_cmds
=
12167 cygwin
* | mingw
* | pw32
*)
12168 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12169 # When not using gcc, we currently assume that we are using
12170 # Microsoft Visual C++.
12171 if test "$GCC" != yes; then
12181 if test "$with_gnu_ld" = yes; then
12182 # If archive_cmds runs LD, not CC, wlarc should be empty
12185 # See if GNU ld supports shared libraries.
12187 aix3
* | aix4
* | aix5
*)
12188 # On AIX/PPC, the GNU linker is very broken
12189 if test "$host_cpu" != ia64
; then
12193 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12194 *** to be unable to reliably create shared libraries on AIX.
12195 *** Therefore, libtool is disabling shared libraries support. If you
12196 *** really care for shared libraries, you may want to modify your PATH
12197 *** so that a non-GNU linker is found, and then restart.
12204 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)'
12205 hardcode_libdir_flag_spec
='-L$libdir'
12206 hardcode_minus_L
=yes
12208 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12209 # that the semantics of dynamic libraries on AmigaOS, at least up
12210 # to version 4, is to share data among multiple programs linked
12211 # with the same dynamic library. Since this doesn't match the
12212 # behavior of shared libraries on other platforms, we can't use
12218 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
12219 allow_undefined_flag
=unsupported
12220 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12221 # support --undefined. This deserves some investigation. FIXME
12222 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12228 cygwin
* | mingw
* | pw32
*)
12229 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12230 # as there is no search path for DLLs.
12231 hardcode_libdir_flag_spec
='-L$libdir'
12232 allow_undefined_flag
=unsupported
12233 always_export_symbols
=no
12234 enable_shared_with_static_runtimes
=yes
12235 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12237 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
12238 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12239 # If the export-symbols file already is a .def file (1st line
12240 # is EXPORTS), use it as is; otherwise, prepend...
12241 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12242 cp $export_symbols $output_objdir/$soname.def;
12244 echo EXPORTS > $output_objdir/$soname.def;
12245 cat $export_symbols >> $output_objdir/$soname.def;
12247 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12254 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12255 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12258 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12259 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12264 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
12268 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12269 *** create shared libraries on Solaris systems. Therefore, libtool
12270 *** is disabling shared libraries support. We urge you to upgrade GNU
12271 *** binutils to release 2.9.1 or newer. Another option is to modify
12272 *** your PATH or compiler configuration so that the native linker is
12273 *** used, and then restart.
12276 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
12277 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12278 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12285 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12287 hardcode_direct
=yes
12288 hardcode_shlibpath_var
=no
12292 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
12293 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12294 archive_cmds
="$tmp_archive_cmds"
12295 supports_anon_versioning
=no
12296 case `$LD -v 2>/dev/null` in
12297 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12298 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12299 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12300 *\
2.11.
*) ;; # other 2.11 versions
12301 *) supports_anon_versioning
=yes ;;
12303 if test $supports_anon_versioning = yes; then
12304 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
12305 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12306 $echo "local: *; };" >> $output_objdir/$libname.ver~
12307 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12309 archive_expsym_cmds
="$tmp_archive_cmds"
12317 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
12318 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12319 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12326 if test "$ld_shlibs" = yes; then
12327 runpath_var
=LD_RUN_PATH
12328 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
12329 export_dynamic_flag_spec
='${wl}--export-dynamic'
12330 # ancient GNU ld didn't support --whole-archive et. al.
12331 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
12332 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12334 whole_archive_flag_spec
=
12338 # PORTME fill in a description of your system's linker (not GNU ld)
12341 allow_undefined_flag
=unsupported
12342 always_export_symbols
=yes
12343 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'
12344 # Note: this linker hardcodes the directories in LIBPATH if there
12345 # are no directories specified by -L.
12346 hardcode_minus_L
=yes
12347 if test "$GCC" = yes && test -z "$link_static_flag"; then
12348 # Neither direct hardcoding nor static linking is supported with a
12350 hardcode_direct
=unsupported
12355 if test "$host_cpu" = ia64
; then
12356 # On IA64, the linker does run time linking by default, so we don't
12357 # have to do anything special.
12358 aix_use_runtimelinking
=no
12359 exp_sym_flag
='-Bexport'
12362 # If we're using GNU nm, then we don't want the "-C" option.
12363 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12364 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12365 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'
12367 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'
12369 aix_use_runtimelinking
=no
12371 # Test if we are trying to use run time linking or normal
12372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12373 # need to do runtime linking.
12374 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
12375 for ld_flag
in $LDFLAGS; do
12376 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12377 aix_use_runtimelinking
=yes
12383 exp_sym_flag
='-bexport'
12384 no_entry_flag
='-bnoentry'
12387 # When large executables or shared objects are built, AIX ld can
12388 # have problems creating the table of contents. If linking a library
12389 # or program results in "error TOC overflow" add -mminimal-toc to
12390 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12391 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12394 hardcode_direct
=yes
12395 hardcode_libdir_separator
=':'
12396 link_all_deplibs
=yes
12398 if test "$GCC" = yes; then
12399 case $host_os in aix4.012|aix4.012.
*)
12400 # We only want to do this on AIX 4.2 and lower, the check
12401 # below for broken collect2 doesn't work under 4.3+
12402 collect2name
=`${CC} -print-prog-name=collect2`
12403 if test -f "$collect2name" && \
12404 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
12406 # We have reworked collect2
12407 hardcode_direct
=yes
12409 # We have old collect2
12410 hardcode_direct
=unsupported
12411 # It fails to find uninstalled libraries when the uninstalled
12412 # path is not listed in the libpath. Setting hardcode_minus_L
12413 # to unsupported forces relinking
12414 hardcode_minus_L
=yes
12415 hardcode_libdir_flag_spec
='-L$libdir'
12416 hardcode_libdir_separator
=
12419 shared_flag
='-shared'
12422 if test "$host_cpu" = ia64
; then
12423 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12424 # chokes on -Wl,-G. The following line is correct:
12427 if test "$aix_use_runtimelinking" = yes; then
12428 shared_flag
='${wl}-G'
12430 shared_flag
='${wl}-bM:SRE'
12435 # It seems that -bexpall does not export symbols beginning with
12436 # underscore (_), so it is better to generate a list of symbols to export.
12437 always_export_symbols
=yes
12438 if test "$aix_use_runtimelinking" = yes; then
12439 # Warning - without using the other runtime loading flags (-brtl),
12440 # -berok will link without error, but may produce a broken library.
12441 allow_undefined_flag
='-berok'
12442 # Determine the default libpath from the value encoded in an empty executable.
12443 cat >conftest.
$ac_ext <<_ACEOF
12446 cat confdefs.h
>>conftest.
$ac_ext
12447 cat >>conftest.
$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12458 rm -f conftest.
$ac_objext conftest
$ac_exeext
12459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12460 (eval $ac_link) 2>conftest.er1
12462 grep -v '^ *+' conftest.er1
>conftest.err
12464 cat conftest.err
>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try
='test -z "$ac_c_werror_flag"
12468 || test ! -s conftest.err'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; } &&
12474 { ac_try
='test -s conftest$ac_exeext'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12481 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12483 # Check for a 64-bit object if we didn't find anything.
12484 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; }
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.
$ac_ext >&5
12491 rm -f conftest.err conftest.
$ac_objext \
12492 conftest
$ac_exeext conftest.
$ac_ext
12493 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12495 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12496 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"
12498 if test "$host_cpu" = ia64; then
12499 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
12500 allow_undefined_flag="-z nodefs"
12501 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"
12503 # Determine the default libpath from the value encoded in an empty executable.
12504 cat >conftest.$ac_ext <<_ACEOF
12507 cat confdefs.h >>conftest.$ac_ext
12508 cat >>conftest.$ac_ext <<_ACEOF
12509 /* end confdefs.h. */
12519 rm -f conftest.$ac_objext conftest$ac_exeext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12521 (eval $ac_link) 2>conftest.er1
12523 grep -v '^ *+' conftest.er1 >conftest.err
12525 cat conftest.err >&5
12526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try='test -z "$ac_c_werror_flag"
12529 || test ! -s conftest.err'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12534 (exit $ac_status); }; } &&
12535 { ac_try='test -s conftest$ac_exeext'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12540 (exit $ac_status); }; }; then
12542 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12544 # Check for a 64-bit object if we didn't find anything.
12545 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; }
12548 echo "$as_me: failed program was
:" >&5
12549 sed 's/^/| /' conftest.$ac_ext >&5
12552 rm -f conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
12556 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12557 # Warning - without using the other run time loading flags,
12558 # -berok will link without error, but may produce a broken library.
12559 no_undefined_flag=' ${wl}-bernotok'
12560 allow_undefined_flag=' ${wl}-berok'
12561 # -bexpall does not export symbols beginning with underscore (_)
12562 always_export_symbols=yes
12563 # Exported symbols can be pulled into shared objects from archives
12564 whole_archive_flag_spec=' '
12565 archive_cmds_need_lc=yes
12566 # This is similar to how AIX traditionally builds it's shared libraries.
12567 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'
12573 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)'
12574 hardcode_libdir_flag_spec
='-L$libdir'
12575 hardcode_minus_L
=yes
12576 # see comment about different semantics on the GNU ld section
12581 export_dynamic_flag_spec
=-rdynamic
12584 cygwin
* | mingw
* | pw32
*)
12585 # When not using gcc, we currently assume that we are using
12586 # Microsoft Visual C++.
12587 # hardcode_libdir_flag_spec is actually meaningless, as there is
12588 # no search path for DLLs.
12589 hardcode_libdir_flag_spec
=' '
12590 allow_undefined_flag
=unsupported
12591 # Tell ltmain to make .lib files, not .a files.
12593 # Tell ltmain to make .dll files, not .so files.
12595 # FIXME: Setting linknames here is a bad hack.
12596 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
12597 # The linker will automatically build a .lib file if we build a DLL.
12598 old_archive_From_new_cmds
='true'
12599 # FIXME: Should let the user specify the lib program.
12600 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
12601 fix_srcfile_path
='`cygpath -w "$srcfile"`'
12602 enable_shared_with_static_runtimes
=yes
12605 darwin
* | rhapsody
*)
12607 rhapsody
* | darwin1.
[012])
12608 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
12611 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12612 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12614 case ${MACOSX_DEPLOYMENT_TARGET} in
12616 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12619 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
12625 archive_cmds_need_lc
=no
12627 hardcode_automatic
=yes
12628 hardcode_shlibpath_var
=unsupported
12629 whole_archive_flag_spec
=''
12630 link_all_deplibs
=yes
12631 if test "$GCC" = yes ; then
12632 output_verbose_link_cmd
='echo'
12633 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12634 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12635 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12636 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}'
12637 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}'
12639 case "$cc_basename" in
12641 output_verbose_link_cmd
='echo'
12642 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
12643 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12644 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12645 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}'
12646 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}'
12656 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12657 hardcode_libdir_flag_spec
='-L$libdir'
12658 hardcode_shlibpath_var
=no
12665 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12666 # support. Future versions do this automatically, but an explicit c++rt0.o
12667 # does not break anything, and helps significantly (at the cost of a little
12670 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12671 hardcode_libdir_flag_spec
='-R$libdir'
12672 hardcode_direct
=yes
12673 hardcode_shlibpath_var
=no
12676 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12678 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12679 hardcode_direct
=yes
12680 hardcode_minus_L
=yes
12681 hardcode_shlibpath_var
=no
12684 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12685 freebsd
* | kfreebsd
*-gnu)
12686 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12687 hardcode_libdir_flag_spec
='-R$libdir'
12688 hardcode_direct
=yes
12689 hardcode_shlibpath_var
=no
12693 if test "$GCC" = yes; then
12694 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'
12696 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'
12698 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12699 hardcode_libdir_separator
=:
12700 hardcode_direct
=yes
12702 # hardcode_minus_L: Not really in the search PATH,
12703 # but as the default location of the library.
12704 hardcode_minus_L
=yes
12705 export_dynamic_flag_spec
='${wl}-E'
12709 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12710 case "$host_cpu" in
12712 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12715 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12719 case "$host_cpu" in
12721 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
12724 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12728 if test "$with_gnu_ld" = no
; then
12729 case "$host_cpu" in
12731 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12732 hardcode_libdir_flag_spec_ld
='+b $libdir'
12733 hardcode_libdir_separator
=:
12735 hardcode_shlibpath_var
=no
12738 hardcode_libdir_flag_spec
='-L$libdir'
12740 hardcode_shlibpath_var
=no
12742 # hardcode_minus_L: Not really in the search PATH,
12743 # but as the default location of the library.
12744 hardcode_minus_L
=yes
12747 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12748 hardcode_libdir_separator
=:
12749 hardcode_direct
=yes
12750 export_dynamic_flag_spec
='${wl}-E'
12752 # hardcode_minus_L: Not really in the search PATH,
12753 # but as the default location of the library.
12754 hardcode_minus_L
=yes
12760 irix5
* | irix6
* | nonstopux
*)
12761 if test "$GCC" = yes; then
12762 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'
12764 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'
12765 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
12767 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12768 hardcode_libdir_separator
=:
12769 link_all_deplibs
=yes
12773 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12774 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12776 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12778 hardcode_libdir_flag_spec
='-R$libdir'
12779 hardcode_direct
=yes
12780 hardcode_shlibpath_var
=no
12784 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12785 hardcode_direct
=yes
12786 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12787 hardcode_libdir_separator
=:
12788 hardcode_shlibpath_var
=no
12792 hardcode_direct
=yes
12793 hardcode_shlibpath_var
=no
12794 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12795 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12796 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12797 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12798 export_dynamic_flag_spec
='${wl}-E'
12801 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12802 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12803 hardcode_libdir_flag_spec
='-R$libdir'
12806 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12807 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12814 hardcode_libdir_flag_spec
='-L$libdir'
12815 hardcode_minus_L
=yes
12816 allow_undefined_flag
=unsupported
12817 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'
12818 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12822 if test "$GCC" = yes; then
12823 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12824 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'
12826 allow_undefined_flag
=' -expect_unresolved \*'
12827 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'
12829 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12830 hardcode_libdir_separator
=:
12833 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12834 if test "$GCC" = yes; then
12835 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12836 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'
12837 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12839 allow_undefined_flag
=' -expect_unresolved \*'
12840 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'
12841 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
12842 $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'
12844 # Both c and cxx compiler support -rpath directly
12845 hardcode_libdir_flag_spec
='-rpath $libdir'
12847 hardcode_libdir_separator
=:
12851 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12852 hardcode_shlibpath_var
=no
12853 export_dynamic_flag_spec
='${wl}-Bexport'
12854 runpath_var
=LD_RUN_PATH
12855 hardcode_runpath_var
=yes
12859 no_undefined_flag
=' -z text'
12860 if test "$GCC" = yes; then
12861 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12862 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12863 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
12865 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12866 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12867 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12869 hardcode_libdir_flag_spec
='-R$libdir'
12870 hardcode_shlibpath_var
=no
12872 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12873 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
12874 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
12876 link_all_deplibs
=yes
12880 if test "x$host_vendor" = xsequent
; then
12881 # Use $CC to link under sequent, because it throws in some extra .o
12882 # files that make .init and .fini sections work.
12883 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12885 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12887 hardcode_libdir_flag_spec
='-L$libdir'
12888 hardcode_direct
=yes
12889 hardcode_minus_L
=yes
12890 hardcode_shlibpath_var
=no
12894 case $host_vendor in
12896 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12897 hardcode_direct
=yes # is this really true???
12900 ## LD is ld it makes a PLAMLIB
12901 ## CC just makes a GrossModule.
12902 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12903 reload_cmds
='$CC -r -o $output$reload_objs'
12907 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12908 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12911 runpath_var
='LD_RUN_PATH'
12912 hardcode_shlibpath_var
=no
12916 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12917 hardcode_shlibpath_var
=no
12918 export_dynamic_flag_spec
='-Bexport'
12922 if test -d /usr
/nec
; then
12923 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12924 hardcode_shlibpath_var
=no
12925 runpath_var
=LD_RUN_PATH
12926 hardcode_runpath_var
=yes
12932 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12933 hardcode_direct
=yes
12934 hardcode_minus_L
=no
12935 hardcode_shlibpath_var
=no
12936 hardcode_runpath_var
=yes
12937 runpath_var
=LD_RUN_PATH
12940 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
12941 no_undefined_flag
='${wl}-z ${wl}text'
12942 if test "$GCC" = yes; then
12943 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12945 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12947 runpath_var
='LD_RUN_PATH'
12948 hardcode_shlibpath_var
=no
12952 no_undefined_flag
=' -z text'
12953 # $CC -shared without GNU ld will not create a library from C++
12954 # object files and a static libstdc++, better avoid it by now
12955 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12956 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12957 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12958 hardcode_libdir_flag_spec
=
12959 hardcode_shlibpath_var
=no
12960 runpath_var
='LD_RUN_PATH'
12964 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12965 hardcode_libdir_flag_spec
='-L$libdir'
12966 hardcode_shlibpath_var
=no
12975 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12976 echo "${ECHO_T}$ld_shlibs" >&6
12977 test "$ld_shlibs" = no
&& can_build_shared
=no
12979 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12980 if test "$GCC" = yes; then
12981 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12985 # Do we need to explicitly link libc?
12987 case "x$archive_cmds_need_lc" in
12989 # Assume -lc should be added
12990 archive_cmds_need_lc
=yes
12992 if test "$enable_shared" = yes && test "$GCC" = yes; then
12993 case $archive_cmds in
12995 # FIXME: we may have to deal with multi-command sequences.
12998 # Test whether the compiler implicitly links with -lc since on some
12999 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13000 # to ld, don't add -lc before -lgcc.
13001 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13002 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13004 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13007 (eval $ac_compile) 2>&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); } 2>conftest.err
; then
13013 libobjs
=conftest.
$ac_objext
13015 wl
=$lt_prog_compiler_wl
13021 lt_save_allow_undefined_flag
=$allow_undefined_flag
13022 allow_undefined_flag
=
13023 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13024 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); }
13029 archive_cmds_need_lc
=no
13031 archive_cmds_need_lc
=yes
13033 allow_undefined_flag
=$lt_save_allow_undefined_flag
13035 cat conftest.err
1>&5
13038 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
13039 echo "${ECHO_T}$archive_cmds_need_lc" >&6
13046 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13047 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13048 library_names_spec
=
13049 libname_spec
='lib$name'
13053 postuninstall_cmds
=
13057 shlibpath_overrides_runpath
=unknown
13059 dynamic_linker
="$host_os ld.so"
13060 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13061 if test "$GCC" = yes; then
13062 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13063 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
13064 # if the path contains ";" then we assume it to be the separator
13065 # otherwise default to the standard path separator (i.e. ":") - it is
13066 # assumed that no part of a normal pathname contains ";" but that should
13067 # okay in the real world where ";" in dirpaths is itself problematic.
13068 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13070 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13073 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13075 need_lib_prefix
=unknown
13076 hardcode_into_libs
=no
13078 # when you set need_version to no, make sure it does not cause -set_version
13079 # flags to be left without arguments
13080 need_version
=unknown
13085 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13086 shlibpath_var
=LIBPATH
13088 # AIX 3 has no versioning support, so we append a major version to the name.
13089 soname_spec
='${libname}${release}${shared_ext}$major'
13096 hardcode_into_libs
=yes
13097 if test "$host_cpu" = ia64
; then
13098 # AIX 5 supports IA64
13099 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13100 shlibpath_var
=LD_LIBRARY_PATH
13102 # With GCC up to 2.95.x, collect2 would create an import file
13103 # for dependence libraries. The import file would start with
13104 # the line `#! .'. This would cause the generated library to
13105 # depend on `.', always an invalid library. This was fixed in
13106 # development snapshots of GCC prior to 3.0.
13108 aix4 | aix4.
[01] | aix4.
[01].
*)
13109 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13111 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13114 can_build_shared
=no
13118 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13119 # soname into executable. Probably we can add versioning support to
13120 # collect2, so additional links can be useful in future.
13121 if test "$aix_use_runtimelinking" = yes; then
13122 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13123 # instead of lib<name>.a to let people know that these are not
13124 # typical AIX shared libraries.
13125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13127 # We preserve .a as extension for shared libraries through AIX4.2
13128 # and later when we are not doing run time linking.
13129 library_names_spec
='${libname}${release}.a $libname.a'
13130 soname_spec
='${libname}${release}${shared_ext}$major'
13132 shlibpath_var
=LIBPATH
13137 library_names_spec
='$libname.ixlibrary $libname.a'
13138 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13139 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'
13143 library_names_spec
='${libname}${shared_ext}'
13144 dynamic_linker
="$host_os ld.so"
13145 shlibpath_var
=LIBRARY_PATH
13151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13152 soname_spec
='${libname}${release}${shared_ext}$major'
13153 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13154 shlibpath_var
=LD_LIBRARY_PATH
13155 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13156 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13157 # the default ld.so.conf also contains /usr/contrib/lib and
13158 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13159 # libtool to hard-code these into programs
13162 cygwin
* | mingw
* | pw32
*)
13163 version_type
=windows
13168 case $GCC,$host_os in
13169 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13170 library_names_spec
='$libname.dll.a'
13171 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13172 postinstall_cmds
='base_file=`basename \${file}`~
13173 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13174 dldir=$destdir/`dirname \$dlpath`~
13175 test -d \$dldir || mkdir -p \$dldir~
13176 $install_prog $dir/$dlname \$dldir/$dlname'
13177 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13178 dlpath=$dir/\$dldll~
13180 shlibpath_overrides_runpath
=yes
13184 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13185 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13186 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13189 # MinGW DLLs use traditional 'lib' prefix
13190 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13191 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13192 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13193 # It is most probably a Windows format PATH printed by
13194 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13195 # path with ; separators, and with drive letters. We can handle the
13196 # drive letters (cygwin fileutils understands them), so leave them,
13197 # especially as we might pass files found there to a mingw objdump,
13198 # which wouldn't understand a cygwinified path. Ahh.
13199 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13201 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13205 # pw32 DLLs use 'pw' prefix rather than 'lib'
13206 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
13212 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13215 dynamic_linker
='Win32 ld.exe'
13216 # FIXME: first we should search . and the directory the executable is in
13220 darwin
* | rhapsody
*)
13221 dynamic_linker
="$host_os dyld"
13222 version_type
=darwin
13225 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13226 soname_spec
='${libname}${release}${major}$shared_ext'
13227 shlibpath_overrides_runpath
=yes
13228 shlibpath_var
=DYLD_LIBRARY_PATH
13229 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
13230 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13231 if test "$GCC" = yes; then
13232 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"`
13234 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13236 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13244 soname_spec
='${libname}${release}${shared_ext}$major'
13245 shlibpath_var
=LD_LIBRARY_PATH
13256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13257 soname_spec
='${libname}${release}${shared_ext}$major'
13258 shlibpath_var
=LD_LIBRARY_PATH
13259 shlibpath_overrides_runpath
=no
13260 hardcode_into_libs
=yes
13261 dynamic_linker
='GNU ld.so'
13265 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
13266 version_type
=freebsd-
$objformat
13267 case $version_type in
13269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13274 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13278 shlibpath_var
=LD_LIBRARY_PATH
13281 shlibpath_overrides_runpath
=yes
13283 freebsd3.01
* | freebsdelf3.01
*)
13284 shlibpath_overrides_runpath
=yes
13285 hardcode_into_libs
=yes
13288 shlibpath_overrides_runpath
=no
13289 hardcode_into_libs
=yes
13298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13299 soname_spec
='${libname}${release}${shared_ext}$major'
13300 shlibpath_var
=LD_LIBRARY_PATH
13301 hardcode_into_libs
=yes
13304 hpux9
* | hpux10
* | hpux11
*)
13305 # Give a soname corresponding to the major version so that dld.sl refuses to
13306 # link against other versions.
13310 case "$host_cpu" in
13313 hardcode_into_libs
=yes
13314 dynamic_linker
="$host_os dld.so"
13315 shlibpath_var
=LD_LIBRARY_PATH
13316 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13318 soname_spec
='${libname}${release}${shared_ext}$major'
13319 if test "X$HPUX_IA64_MODE" = X32
; then
13320 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13322 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13324 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13328 hardcode_into_libs
=yes
13329 dynamic_linker
="$host_os dld.sl"
13330 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13331 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13333 soname_spec
='${libname}${release}${shared_ext}$major'
13334 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13335 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13339 dynamic_linker
="$host_os dld.sl"
13340 shlibpath_var
=SHLIB_PATH
13341 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13343 soname_spec
='${libname}${release}${shared_ext}$major'
13346 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13347 postinstall_cmds
='chmod 555 $lib'
13350 irix5
* | irix6
* | nonstopux
*)
13352 nonstopux
*) version_type
=nonstopux
;;
13354 if test "$lt_cv_prog_gnu_ld" = yes; then
13362 soname_spec
='${libname}${release}${shared_ext}$major'
13363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13365 irix5
* | nonstopux
*)
13366 libsuff
= shlibsuff
=
13369 case $LD in # libtool.m4 will add one of these switches to LD
13370 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13371 libsuff
= shlibsuff
= libmagic
=32-bit;;
13372 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13373 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13374 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13375 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13376 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13380 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13381 shlibpath_overrides_runpath
=no
13382 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13383 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13384 hardcode_into_libs
=yes
13387 # No shared lib support for Linux oldld, aout, or coff.
13388 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13392 # This must be Linux ELF.
13397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13398 soname_spec
='${libname}${release}${shared_ext}$major'
13399 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13400 shlibpath_var
=LD_LIBRARY_PATH
13401 shlibpath_overrides_runpath
=no
13402 # This implies no fast_install, which is unacceptable.
13403 # Some rework will be needed to allow for fast_install
13404 # before this can be enabled.
13405 hardcode_into_libs
=yes
13407 # Append ld.so.conf contents to the search path
13408 if test -f /etc
/ld.so.conf
; then
13409 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
13410 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13413 # We used to test for /lib/ld.so.1 and disable shared libraries on
13414 # powerpc, because MkLinux only supported shared libraries with the
13415 # GNU dynamic linker. Since this was broken with cross compilers,
13416 # most powerpc-linux boxes support dynamic linking these days and
13417 # people can always --disable-shared, the test was removed, and we
13418 # assume the GNU/Linux dynamic linker is in use.
13419 dynamic_linker
='GNU/Linux ld.so'
13426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13427 soname_spec
='${libname}${release}${shared_ext}$major'
13428 shlibpath_var
=LD_LIBRARY_PATH
13429 shlibpath_overrides_runpath
=no
13430 hardcode_into_libs
=yes
13431 dynamic_linker
='GNU ld.so'
13438 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13440 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13441 dynamic_linker
='NetBSD (a.out) ld.so'
13443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13444 soname_spec
='${libname}${release}${shared_ext}$major'
13445 dynamic_linker
='NetBSD ld.elf_so'
13447 shlibpath_var
=LD_LIBRARY_PATH
13448 shlibpath_overrides_runpath
=yes
13449 hardcode_into_libs
=yes
13454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13455 shlibpath_var
=LD_LIBRARY_PATH
13456 shlibpath_overrides_runpath
=yes
13463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13464 soname_spec
='${libname}${release}${shared_ext}$major'
13465 shlibpath_var
=LD_LIBRARY_PATH
13466 shlibpath_overrides_runpath
=yes
13473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13474 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13475 shlibpath_var
=LD_LIBRARY_PATH
13476 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13478 openbsd2.
[89] | openbsd2.
[89].
*)
13479 shlibpath_overrides_runpath
=no
13482 shlibpath_overrides_runpath
=yes
13486 shlibpath_overrides_runpath
=yes
13491 libname_spec
='$name'
13494 library_names_spec
='$libname${shared_ext} $libname.a'
13495 dynamic_linker
='OS/2 ld.exe'
13496 shlibpath_var
=LIBPATH
13499 osf3
* | osf4
* | osf5
*)
13503 soname_spec
='${libname}${release}${shared_ext}$major'
13504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13505 shlibpath_var
=LD_LIBRARY_PATH
13506 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13507 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13512 soname_spec
='${libname}${release}${shared_ext}$major'
13513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13514 shlibpath_var
=LD_LIBRARY_PATH
13521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13522 soname_spec
='${libname}${release}${shared_ext}$major'
13523 shlibpath_var
=LD_LIBRARY_PATH
13524 shlibpath_overrides_runpath
=yes
13525 hardcode_into_libs
=yes
13526 # ldd complains unless libraries are executable
13527 postinstall_cmds
='chmod +x $lib'
13532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13533 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13534 shlibpath_var
=LD_LIBRARY_PATH
13535 shlibpath_overrides_runpath
=yes
13536 if test "$with_gnu_ld" = yes; then
13542 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13545 soname_spec
='${libname}${release}${shared_ext}$major'
13546 shlibpath_var
=LD_LIBRARY_PATH
13547 case $host_vendor in
13549 shlibpath_overrides_runpath
=no
13551 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13552 runpath_var
=LD_RUN_PATH
13560 shlibpath_overrides_runpath
=no
13561 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13567 if test -d /usr
/nec
;then
13569 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13570 soname_spec
='$libname${shared_ext}.$major'
13571 shlibpath_var
=LD_LIBRARY_PATH
13577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13578 soname_spec
='${libname}${release}${shared_ext}$major'
13579 shlibpath_var
=LD_LIBRARY_PATH
13586 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13587 echo "${ECHO_T}$dynamic_linker" >&6
13588 test "$dynamic_linker" = no
&& can_build_shared
=no
13590 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13591 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13593 if test -n "$hardcode_libdir_flag_spec" || \
13594 test -n "$runpath_var" || \
13595 test "X$hardcode_automatic" = "Xyes" ; then
13597 # We can hardcode non-existant directories.
13598 if test "$hardcode_direct" != no
&&
13599 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13600 # have to relink, otherwise we might link with an installed library
13601 # when we should be linking with a yet-to-be-installed one
13602 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
13603 test "$hardcode_minus_L" != no
; then
13604 # Linking always hardcodes the temporary library directory.
13605 hardcode_action
=relink
13607 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13608 hardcode_action
=immediate
13611 # We cannot hardcode anything, or else we can only hardcode existing
13613 hardcode_action
=unsupported
13615 echo "$as_me:$LINENO: result: $hardcode_action" >&5
13616 echo "${ECHO_T}$hardcode_action" >&6
13618 if test "$hardcode_action" = relink
; then
13619 # Fast installation is not supported
13620 enable_fast_install
=no
13621 elif test "$shlibpath_overrides_runpath" = yes ||
13622 test "$enable_shared" = no
; then
13623 # Fast installation is not necessary
13624 enable_fast_install
=needless
13629 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13630 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13631 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
13632 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13633 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13634 echo "$as_me:$LINENO: result: yes" >&5
13635 echo "${ECHO_T}yes" >&6
13637 # FIXME - insert some real tests, host_os isn't really good enough
13640 if test -n "$STRIP" ; then
13641 striplib
="$STRIP -x"
13642 echo "$as_me:$LINENO: result: yes" >&5
13643 echo "${ECHO_T}yes" >&6
13645 echo "$as_me:$LINENO: result: no" >&5
13646 echo "${ECHO_T}no" >&6
13650 echo "$as_me:$LINENO: result: no" >&5
13651 echo "${ECHO_T}no" >&6
13656 if test "x$enable_dlopen" != xyes
; then
13657 enable_dlopen
=unknown
13658 enable_dlopen_self
=unknown
13659 enable_dlopen_self_static
=unknown
13666 lt_cv_dlopen
="load_add_on"
13668 lt_cv_dlopen_self
=yes
13672 lt_cv_dlopen
="LoadLibrary"
13677 lt_cv_dlopen
="dlopen"
13682 # if libdl is installed we need to link against it
13683 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13684 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13685 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 ac_check_lib_save_LIBS
=$LIBS
13690 cat >conftest.
$ac_ext <<_ACEOF
13693 cat confdefs.h
>>conftest.
$ac_ext
13694 cat >>conftest.
$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13697 /* Override any gcc2 internal prototype to avoid an error. */
13701 /* We use char because int might match the return type of a gcc2
13702 builtin and then its argument prototype would still apply. */
13712 rm -f conftest.
$ac_objext conftest
$ac_exeext
13713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13714 (eval $ac_link) 2>conftest.er1
13716 grep -v '^ *+' conftest.er1
>conftest.err
13718 cat conftest.err
>&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); } &&
13721 { ac_try
='test -z "$ac_c_werror_flag"
13722 || test ! -s conftest.err'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; } &&
13728 { ac_try
='test -s conftest$ac_exeext'
13729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730 (eval $ac_try) 2>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; }; then
13734 ac_cv_lib_dl_dlopen
=yes
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.
$ac_ext >&5
13739 ac_cv_lib_dl_dlopen
=no
13741 rm -f conftest.err conftest.
$ac_objext \
13742 conftest
$ac_exeext conftest.
$ac_ext
13743 LIBS
=$ac_check_lib_save_LIBS
13745 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13746 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13747 if test $ac_cv_lib_dl_dlopen = yes; then
13748 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13751 lt_cv_dlopen
="dyld"
13753 lt_cv_dlopen_self
=yes
13760 echo "$as_me:$LINENO: checking for shl_load" >&5
13761 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13762 if test "${ac_cv_func_shl_load+set}" = set; then
13763 echo $ECHO_N "(cached) $ECHO_C" >&6
13765 cat >conftest.
$ac_ext <<_ACEOF
13768 cat confdefs.h
>>conftest.
$ac_ext
13769 cat >>conftest.
$ac_ext <<_ACEOF
13770 /* end confdefs.h. */
13771 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13773 #define shl_load innocuous_shl_load
13775 /* System header to define __stub macros and hopefully few prototypes,
13776 which can conflict with char shl_load (); below.
13777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13778 <limits.h> exists even on freestanding compilers. */
13781 # include <limits.h>
13783 # include <assert.h>
13788 /* Override any gcc2 internal prototype to avoid an error. */
13793 /* We use char because int might match the return type of a gcc2
13794 builtin and then its argument prototype would still apply. */
13796 /* The GNU C library defines this for functions which it implements
13797 to always fail with ENOSYS. Some functions are actually named
13798 something starting with __ and the normal name is an alias. */
13799 #if defined (__stub_shl_load) || defined (__stub___shl_load)
13802 char (*f) () = shl_load;
13811 return f != shl_load;
13816 rm -f conftest.
$ac_objext conftest
$ac_exeext
13817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13818 (eval $ac_link) 2>conftest.er1
13820 grep -v '^ *+' conftest.er1
>conftest.err
13822 cat conftest.err
>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } &&
13825 { ac_try
='test -z "$ac_c_werror_flag"
13826 || test ! -s conftest.err'
13827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 (eval $ac_try) 2>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); }; } &&
13832 { ac_try
='test -s conftest$ac_exeext'
13833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13834 (eval $ac_try) 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); }; }; then
13838 ac_cv_func_shl_load
=yes
13840 echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.
$ac_ext >&5
13843 ac_cv_func_shl_load
=no
13845 rm -f conftest.err conftest.
$ac_objext \
13846 conftest
$ac_exeext conftest.
$ac_ext
13848 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13849 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13850 if test $ac_cv_func_shl_load = yes; then
13851 lt_cv_dlopen
="shl_load"
13853 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13854 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13855 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13858 ac_check_lib_save_LIBS
=$LIBS
13860 cat >conftest.
$ac_ext <<_ACEOF
13863 cat confdefs.h
>>conftest.
$ac_ext
13864 cat >>conftest.
$ac_ext <<_ACEOF
13865 /* end confdefs.h. */
13867 /* Override any gcc2 internal prototype to avoid an error. */
13871 /* We use char because int might match the return type of a gcc2
13872 builtin and then its argument prototype would still apply. */
13882 rm -f conftest.
$ac_objext conftest
$ac_exeext
13883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13884 (eval $ac_link) 2>conftest.er1
13886 grep -v '^ *+' conftest.er1
>conftest.err
13888 cat conftest.err
>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } &&
13891 { ac_try
='test -z "$ac_c_werror_flag"
13892 || test ! -s conftest.err'
13893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13894 (eval $ac_try) 2>&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); }; } &&
13898 { ac_try
='test -s conftest$ac_exeext'
13899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13900 (eval $ac_try) 2>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); }; }; then
13904 ac_cv_lib_dld_shl_load
=yes
13906 echo "$as_me: failed program was:" >&5
13907 sed 's/^/| /' conftest.
$ac_ext >&5
13909 ac_cv_lib_dld_shl_load
=no
13911 rm -f conftest.err conftest.
$ac_objext \
13912 conftest
$ac_exeext conftest.
$ac_ext
13913 LIBS
=$ac_check_lib_save_LIBS
13915 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13916 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13917 if test $ac_cv_lib_dld_shl_load = yes; then
13918 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
13920 echo "$as_me:$LINENO: checking for dlopen" >&5
13921 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13922 if test "${ac_cv_func_dlopen+set}" = set; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13925 cat >conftest.
$ac_ext <<_ACEOF
13928 cat confdefs.h
>>conftest.
$ac_ext
13929 cat >>conftest.
$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13933 #define dlopen innocuous_dlopen
13935 /* System header to define __stub macros and hopefully few prototypes,
13936 which can conflict with char dlopen (); below.
13937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13938 <limits.h> exists even on freestanding compilers. */
13941 # include <limits.h>
13943 # include <assert.h>
13948 /* Override any gcc2 internal prototype to avoid an error. */
13953 /* We use char because int might match the return type of a gcc2
13954 builtin and then its argument prototype would still apply. */
13956 /* The GNU C library defines this for functions which it implements
13957 to always fail with ENOSYS. Some functions are actually named
13958 something starting with __ and the normal name is an alias. */
13959 #if defined (__stub_dlopen) || defined (__stub___dlopen)
13962 char (*f) () = dlopen;
13971 return f != dlopen;
13976 rm -f conftest.
$ac_objext conftest
$ac_exeext
13977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13978 (eval $ac_link) 2>conftest.er1
13980 grep -v '^ *+' conftest.er1
>conftest.err
13982 cat conftest.err
>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } &&
13985 { ac_try
='test -z "$ac_c_werror_flag"
13986 || test ! -s conftest.err'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; } &&
13992 { ac_try
='test -s conftest$ac_exeext'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; }; then
13998 ac_cv_func_dlopen
=yes
14000 echo "$as_me: failed program was:" >&5
14001 sed 's/^/| /' conftest.
$ac_ext >&5
14003 ac_cv_func_dlopen
=no
14005 rm -f conftest.err conftest.
$ac_objext \
14006 conftest
$ac_exeext conftest.
$ac_ext
14008 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14009 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
14010 if test $ac_cv_func_dlopen = yes; then
14011 lt_cv_dlopen
="dlopen"
14013 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14014 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14015 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 ac_check_lib_save_LIBS
=$LIBS
14020 cat >conftest.
$ac_ext <<_ACEOF
14023 cat confdefs.h
>>conftest.
$ac_ext
14024 cat >>conftest.
$ac_ext <<_ACEOF
14025 /* end confdefs.h. */
14027 /* Override any gcc2 internal prototype to avoid an error. */
14031 /* We use char because int might match the return type of a gcc2
14032 builtin and then its argument prototype would still apply. */
14042 rm -f conftest.
$ac_objext conftest
$ac_exeext
14043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14044 (eval $ac_link) 2>conftest.er1
14046 grep -v '^ *+' conftest.er1
>conftest.err
14048 cat conftest.err
>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } &&
14051 { ac_try
='test -z "$ac_c_werror_flag"
14052 || test ! -s conftest.err'
14053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14054 (eval $ac_try) 2>&5
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 (exit $ac_status); }; } &&
14058 { ac_try
='test -s conftest$ac_exeext'
14059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14060 (eval $ac_try) 2>&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); }; }; then
14064 ac_cv_lib_dl_dlopen
=yes
14066 echo "$as_me: failed program was:" >&5
14067 sed 's/^/| /' conftest.
$ac_ext >&5
14069 ac_cv_lib_dl_dlopen
=no
14071 rm -f conftest.err conftest.
$ac_objext \
14072 conftest
$ac_exeext conftest.
$ac_ext
14073 LIBS
=$ac_check_lib_save_LIBS
14075 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14076 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14077 if test $ac_cv_lib_dl_dlopen = yes; then
14078 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14080 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14081 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14082 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 ac_check_lib_save_LIBS
=$LIBS
14086 LIBS
="-lsvld $LIBS"
14087 cat >conftest.
$ac_ext <<_ACEOF
14090 cat confdefs.h
>>conftest.
$ac_ext
14091 cat >>conftest.
$ac_ext <<_ACEOF
14092 /* end confdefs.h. */
14094 /* Override any gcc2 internal prototype to avoid an error. */
14098 /* We use char because int might match the return type of a gcc2
14099 builtin and then its argument prototype would still apply. */
14109 rm -f conftest.
$ac_objext conftest
$ac_exeext
14110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14111 (eval $ac_link) 2>conftest.er1
14113 grep -v '^ *+' conftest.er1
>conftest.err
14115 cat conftest.err
>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } &&
14118 { ac_try
='test -z "$ac_c_werror_flag"
14119 || test ! -s conftest.err'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; } &&
14125 { ac_try
='test -s conftest$ac_exeext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 ac_cv_lib_svld_dlopen
=yes
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14136 ac_cv_lib_svld_dlopen
=no
14138 rm -f conftest.err conftest.
$ac_objext \
14139 conftest
$ac_exeext conftest.
$ac_ext
14140 LIBS
=$ac_check_lib_save_LIBS
14142 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14143 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14144 if test $ac_cv_lib_svld_dlopen = yes; then
14145 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
14147 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14148 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14149 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 ac_check_lib_save_LIBS
=$LIBS
14154 cat >conftest.
$ac_ext <<_ACEOF
14157 cat confdefs.h
>>conftest.
$ac_ext
14158 cat >>conftest.
$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14161 /* Override any gcc2 internal prototype to avoid an error. */
14165 /* We use char because int might match the return type of a gcc2
14166 builtin and then its argument prototype would still apply. */
14176 rm -f conftest.
$ac_objext conftest
$ac_exeext
14177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14178 (eval $ac_link) 2>conftest.er1
14180 grep -v '^ *+' conftest.er1
>conftest.err
14182 cat conftest.err
>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); } &&
14185 { ac_try
='test -z "$ac_c_werror_flag"
14186 || test ! -s conftest.err'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; } &&
14192 { ac_try
='test -s conftest$ac_exeext'
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; }; then
14198 ac_cv_lib_dld_dld_link
=yes
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.
$ac_ext >&5
14203 ac_cv_lib_dld_dld_link
=no
14205 rm -f conftest.err conftest.
$ac_objext \
14206 conftest
$ac_exeext conftest.
$ac_ext
14207 LIBS
=$ac_check_lib_save_LIBS
14209 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14210 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14211 if test $ac_cv_lib_dld_dld_link = yes; then
14212 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
14233 if test "x$lt_cv_dlopen" != xno
; then
14239 case $lt_cv_dlopen in
14241 save_CPPFLAGS
="$CPPFLAGS"
14242 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14244 save_LDFLAGS
="$LDFLAGS"
14245 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14248 LIBS
="$lt_cv_dlopen_libs $LIBS"
14250 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14251 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14252 if test "${lt_cv_dlopen_self+set}" = set; then
14253 echo $ECHO_N "(cached) $ECHO_C" >&6
14255 if test "$cross_compiling" = yes; then :
14256 lt_cv_dlopen_self
=cross
14258 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14259 lt_status
=$lt_dlunknown
14260 cat > conftest.
$ac_ext <<EOF
14261 #line 14261 "configure"
14262 #include "confdefs.h"
14271 # define LT_DLGLOBAL RTLD_GLOBAL
14274 # define LT_DLGLOBAL DL_GLOBAL
14276 # define LT_DLGLOBAL 0
14280 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14281 find out it does not work in some platform. */
14282 #ifndef LT_DLLAZY_OR_NOW
14284 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14287 # define LT_DLLAZY_OR_NOW DL_LAZY
14290 # define LT_DLLAZY_OR_NOW RTLD_NOW
14293 # define LT_DLLAZY_OR_NOW DL_NOW
14295 # define LT_DLLAZY_OR_NOW 0
14303 extern "C" void exit (int);
14306 void fnord() { int i=42;}
14309 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14310 int status = $lt_dlunknown;
14314 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14315 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14316 /* dlclose (self); */
14322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14323 (eval $ac_link) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14327 (.
/conftest
; exit; ) 2>/dev
/null
14329 case x
$lt_status in
14330 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14331 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14332 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
14335 # compilation failed
14336 lt_cv_dlopen_self
=no
14343 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14344 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14346 if test "x$lt_cv_dlopen_self" = xyes
; then
14347 LDFLAGS
="$LDFLAGS $link_static_flag"
14348 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14349 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14350 if test "${lt_cv_dlopen_self_static+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 if test "$cross_compiling" = yes; then :
14354 lt_cv_dlopen_self_static
=cross
14356 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14357 lt_status
=$lt_dlunknown
14358 cat > conftest.
$ac_ext <<EOF
14359 #line 14359 "configure"
14360 #include "confdefs.h"
14369 # define LT_DLGLOBAL RTLD_GLOBAL
14372 # define LT_DLGLOBAL DL_GLOBAL
14374 # define LT_DLGLOBAL 0
14378 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14379 find out it does not work in some platform. */
14380 #ifndef LT_DLLAZY_OR_NOW
14382 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14385 # define LT_DLLAZY_OR_NOW DL_LAZY
14388 # define LT_DLLAZY_OR_NOW RTLD_NOW
14391 # define LT_DLLAZY_OR_NOW DL_NOW
14393 # define LT_DLLAZY_OR_NOW 0
14401 extern "C" void exit (int);
14404 void fnord() { int i=42;}
14407 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14408 int status = $lt_dlunknown;
14412 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14413 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14414 /* dlclose (self); */
14420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14421 (eval $ac_link) 2>&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14425 (.
/conftest
; exit; ) 2>/dev
/null
14427 case x
$lt_status in
14428 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14429 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14430 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
14433 # compilation failed
14434 lt_cv_dlopen_self_static
=no
14441 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14442 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
14445 CPPFLAGS
="$save_CPPFLAGS"
14446 LDFLAGS
="$save_LDFLAGS"
14451 case $lt_cv_dlopen_self in
14452 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14453 *) enable_dlopen_self
=unknown
;;
14456 case $lt_cv_dlopen_self_static in
14457 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14458 *) enable_dlopen_self_static
=unknown
;;
14463 # Report which librarie types wil actually be built
14464 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14465 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14466 echo "$as_me:$LINENO: result: $can_build_shared" >&5
14467 echo "${ECHO_T}$can_build_shared" >&6
14469 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14470 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14471 test "$can_build_shared" = "no" && enable_shared
=no
14473 # On AIX, shared libraries and static libraries use the same namespace, and
14474 # are all built from PIC.
14477 test "$enable_shared" = yes && enable_static
=no
14478 if test -n "$RANLIB"; then
14479 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14480 postinstall_cmds
='$RANLIB $lib'
14485 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14486 test "$enable_shared" = yes && enable_static
=no
14490 echo "$as_me:$LINENO: result: $enable_shared" >&5
14491 echo "${ECHO_T}$enable_shared" >&6
14493 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14494 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14495 # Make sure either enable_shared or enable_static is yes.
14496 test "$enable_shared" = yes || enable_static
=yes
14497 echo "$as_me:$LINENO: result: $enable_static" >&5
14498 echo "${ECHO_T}$enable_static" >&6
14500 # The else clause should only fire when bootstrapping the
14501 # libtool distribution, otherwise you forgot to ship ltmain.sh
14502 # with your package, and you will get complaints that there are
14503 # no rules to generate ltmain.sh.
14504 if test -f "$ltmain"; then
14505 # See if we are running on zsh, and set the options which allow our commands through
14506 # without removal of \ escapes.
14507 if test -n "${ZSH_VERSION+set}" ; then
14508 setopt NO_GLOB_SUBST
14510 # Now quote all the things that may contain metacharacters while being
14511 # careful not to overquote the AC_SUBSTed values. We take copies of the
14512 # variables and quote the copies for generation of the libtool script.
14513 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14515 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14516 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14517 deplibs_check_method reload_flag reload_cmds need_locks \
14518 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14519 lt_cv_sys_global_symbol_to_c_name_address \
14520 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14521 old_postinstall_cmds old_postuninstall_cmds \
14525 lt_prog_compiler_wl \
14526 lt_prog_compiler_pic \
14527 lt_prog_compiler_static \
14528 lt_prog_compiler_no_builtin_flag \
14529 export_dynamic_flag_spec \
14530 thread_safe_flag_spec \
14531 whole_archive_flag_spec \
14532 enable_shared_with_static_runtimes \
14534 old_archive_from_new_cmds \
14539 compiler_lib_search_path \
14541 archive_expsym_cmds \
14543 postuninstall_cmds \
14544 old_archive_from_expsyms_cmds \
14545 allow_undefined_flag \
14546 no_undefined_flag \
14547 export_symbols_cmds \
14548 hardcode_libdir_flag_spec \
14549 hardcode_libdir_flag_spec_ld \
14550 hardcode_libdir_separator \
14551 hardcode_automatic \
14553 module_expsym_cmds \
14554 lt_cv_prog_compiler_c_o \
14556 include_expsyms
; do
14559 old_archive_cmds | \
14560 old_archive_from_new_cmds | \
14562 archive_expsym_cmds | \
14564 module_expsym_cmds | \
14565 old_archive_from_expsyms_cmds | \
14566 export_symbols_cmds | \
14567 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14568 postinstall_cmds | postuninstall_cmds | \
14569 old_postinstall_cmds | old_postuninstall_cmds | \
14570 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14571 # Double-quote double-evaled strings.
14572 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14575 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14581 *'\$0 --fallback-echo"')
14582 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14586 cfgfile
="${ofile}T"
14587 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
14589 { echo "$as_me:$LINENO: creating $ofile" >&5
14590 echo "$as_me: creating $ofile" >&6;}
14592 cat <<__EOF__ >> "$cfgfile"
14595 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14596 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
14597 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14599 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
14600 # Free Software Foundation, Inc.
14602 # This file is part of GNU Libtool:
14603 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14605 # This program is free software; you can redistribute it and/or modify
14606 # it under the terms of the GNU General Public License as published by
14607 # the Free Software Foundation; either version 2 of the License, or
14608 # (at your option) any later version.
14610 # This program is distributed in the hope that it will be useful, but
14611 # WITHOUT ANY WARRANTY; without even the implied warranty of
14612 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14613 # General Public License for more details.
14615 # You should have received a copy of the GNU General Public License
14616 # along with this program; if not, write to the Free Software
14617 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
14619 # As a special exception to the GNU General Public License, if you
14620 # distribute this file as part of a program that contains a
14621 # configuration script generated by Autoconf, you may include it under
14622 # the same distribution terms that you use for the rest of that program.
14624 # A sed program that does not truncate output.
14627 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14628 Xsed="$SED -e s/^X//"
14630 # The HP-UX ksh and POSIX shell print the target directory to stdout
14631 # if CDPATH is set.
14632 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14634 # The names of the tagged configurations supported by this script.
14637 # ### BEGIN LIBTOOL CONFIG
14639 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14641 # Shell to use when invoking shell scripts.
14644 # Whether or not to build shared libraries.
14645 build_libtool_libs=$enable_shared
14647 # Whether or not to build static libraries.
14648 build_old_libs=$enable_static
14650 # Whether or not to add -lc for building shared libraries.
14651 build_libtool_need_lc=$archive_cmds_need_lc
14653 # Whether or not to disallow shared libs when runtime libs are static
14654 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14656 # Whether or not to optimize for fast installation.
14657 fast_install=$enable_fast_install
14660 host_alias=$host_alias
14663 # An echo program that does not interpret backslashes.
14668 AR_FLAGS=$lt_AR_FLAGS
14673 # A language-specific compiler.
14676 # Is the compiler the GNU C compiler?
14682 # The linker used to build libraries.
14685 # Whether we need hard or soft links.
14688 # A BSD-compatible nm program.
14691 # A symbol stripping program
14694 # Used to examine libraries when file_magic_cmd begins "file"
14695 MAGIC_CMD=$MAGIC_CMD
14697 # Used on cygwin: DLL creation program.
14700 # Used on cygwin: object dumper.
14703 # Used on cygwin: assembler.
14706 # The name of the directory that contains temporary libtool files.
14709 # How to create reloadable object files.
14710 reload_flag=$lt_reload_flag
14711 reload_cmds=$lt_reload_cmds
14713 # How to pass a linker flag through the compiler.
14714 wl=$lt_lt_prog_compiler_wl
14716 # Object file suffix (normally "o").
14717 objext="$ac_objext"
14719 # Old archive suffix (normally "a").
14722 # Shared library suffix (normally ".so").
14723 shrext_cmds='$shrext_cmds'
14725 # Executable file suffix (normally "").
14728 # Additional compiler flags for building library objects.
14729 pic_flag=$lt_lt_prog_compiler_pic
14732 # What is the maximum length of a command?
14733 max_cmd_len=$lt_cv_sys_max_cmd_len
14735 # Does compiler simultaneously support -c and -o options?
14736 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14738 # Must we lock files when doing compilation ?
14739 need_locks=$lt_need_locks
14741 # Do we need the lib prefix for modules?
14742 need_lib_prefix=$need_lib_prefix
14744 # Do we need a version for libraries?
14745 need_version=$need_version
14747 # Whether dlopen is supported.
14748 dlopen_support=$enable_dlopen
14750 # Whether dlopen of programs is supported.
14751 dlopen_self=$enable_dlopen_self
14753 # Whether dlopen of statically linked programs is supported.
14754 dlopen_self_static=$enable_dlopen_self_static
14756 # Compiler flag to prevent dynamic linking.
14757 link_static_flag=$lt_lt_prog_compiler_static
14759 # Compiler flag to turn off builtin functions.
14760 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14762 # Compiler flag to allow reflexive dlopens.
14763 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14765 # Compiler flag to generate shared objects directly from archives.
14766 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14768 # Compiler flag to generate thread-safe objects.
14769 thread_safe_flag_spec=$lt_thread_safe_flag_spec
14771 # Library versioning type.
14772 version_type=$version_type
14774 # Format of library name prefix.
14775 libname_spec=$lt_libname_spec
14777 # List of archive names. First name is the real one, the rest are links.
14778 # The last name is the one that the linker finds with -lNAME.
14779 library_names_spec=$lt_library_names_spec
14781 # The coded name of the library, if different from the real name.
14782 soname_spec=$lt_soname_spec
14784 # Commands used to build and install an old-style archive.
14786 old_archive_cmds=$lt_old_archive_cmds
14787 old_postinstall_cmds=$lt_old_postinstall_cmds
14788 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14790 # Create an old-style archive from a shared archive.
14791 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14793 # Create a temporary old-style archive to link instead of a shared archive.
14794 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14796 # Commands used to build and install a shared archive.
14797 archive_cmds=$lt_archive_cmds
14798 archive_expsym_cmds=$lt_archive_expsym_cmds
14799 postinstall_cmds=$lt_postinstall_cmds
14800 postuninstall_cmds=$lt_postuninstall_cmds
14802 # Commands used to build a loadable module (assumed same as above if empty)
14803 module_cmds=$lt_module_cmds
14804 module_expsym_cmds=$lt_module_expsym_cmds
14806 # Commands to strip libraries.
14807 old_striplib=$lt_old_striplib
14808 striplib=$lt_striplib
14810 # Dependencies to place before the objects being linked to create a
14812 predep_objects=$lt_predep_objects
14814 # Dependencies to place after the objects being linked to create a
14816 postdep_objects=$lt_postdep_objects
14818 # Dependencies to place before the objects being linked to create a
14820 predeps=$lt_predeps
14822 # Dependencies to place after the objects being linked to create a
14824 postdeps=$lt_postdeps
14826 # The library search path used internally by the compiler when linking
14827 # a shared library.
14828 compiler_lib_search_path=$lt_compiler_lib_search_path
14830 # Method to check whether dependent libraries are shared objects.
14831 deplibs_check_method=$lt_deplibs_check_method
14833 # Command to use when deplibs_check_method == file_magic.
14834 file_magic_cmd=$lt_file_magic_cmd
14836 # Flag that allows shared libraries with undefined symbols to be built.
14837 allow_undefined_flag=$lt_allow_undefined_flag
14839 # Flag that forces no undefined symbols.
14840 no_undefined_flag=$lt_no_undefined_flag
14842 # Commands used to finish a libtool library installation in a directory.
14843 finish_cmds=$lt_finish_cmds
14845 # Same as above, but a single script fragment to be evaled but not shown.
14846 finish_eval=$lt_finish_eval
14848 # Take the output of nm and produce a listing of raw symbols and C names.
14849 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14851 # Transform the output of nm in a proper C declaration
14852 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14854 # Transform the output of nm in a C name address pair
14855 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14857 # This is the shared library runtime path variable.
14858 runpath_var=$runpath_var
14860 # This is the shared library path variable.
14861 shlibpath_var=$shlibpath_var
14863 # Is shlibpath searched before the hard-coded library search path?
14864 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14866 # How to hardcode a shared library path into an executable.
14867 hardcode_action=$hardcode_action
14869 # Whether we should hardcode library paths into libraries.
14870 hardcode_into_libs=$hardcode_into_libs
14872 # Flag to hardcode \$libdir into a binary during linking.
14873 # This must work even if \$libdir does not exist.
14874 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14876 # If ld is used when linking, flag to hardcode \$libdir into
14877 # a binary during linking. This must work even if \$libdir does
14879 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14881 # Whether we need a single -rpath flag with a separated argument.
14882 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14884 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14885 # resulting binary.
14886 hardcode_direct=$hardcode_direct
14888 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14889 # resulting binary.
14890 hardcode_minus_L=$hardcode_minus_L
14892 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14893 # the resulting binary.
14894 hardcode_shlibpath_var=$hardcode_shlibpath_var
14896 # Set to yes if building a shared library automatically hardcodes DIR into the library
14897 # and all subsequent libraries and executables linked against it.
14898 hardcode_automatic=$hardcode_automatic
14900 # Variables whose values should be saved in libtool wrapper scripts and
14901 # restored at relink time.
14902 variables_saved_for_relink="$variables_saved_for_relink"
14904 # Whether libtool must link a program against all its dependency libraries.
14905 link_all_deplibs=$link_all_deplibs
14907 # Compile-time system search path for libraries
14908 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14910 # Run-time system search path for libraries
14911 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14913 # Fix the shell variable \$srcfile for the compiler.
14914 fix_srcfile_path="$fix_srcfile_path"
14916 # Set to yes if exported symbols are required.
14917 always_export_symbols=$always_export_symbols
14919 # The commands to list exported symbols.
14920 export_symbols_cmds=$lt_export_symbols_cmds
14922 # The commands to extract the exported symbol list from a shared archive.
14923 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14925 # Symbols that should not be listed in the preloaded symbols.
14926 exclude_expsyms=$lt_exclude_expsyms
14928 # Symbols that must always be exported.
14929 include_expsyms=$lt_include_expsyms
14931 # ### END LIBTOOL CONFIG
14938 cat <<\EOF
>> "$cfgfile"
14940 # AIX sometimes has problems with the GCC collect2 program. For some
14941 # reason, if we set the COLLECT_NAMES environment variable, the problems
14942 # vanish in a puff of smoke.
14943 if test "X${COLLECT_NAMES+set}" != Xset
; then
14945 export COLLECT_NAMES
14951 # We use sed instead of cat because bash on DJGPP gets confused if
14952 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14953 # text mode, it properly converts lines to CR/LF. This bash problem
14954 # is reportedly fixed, but why not run on old versions too?
14955 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
14957 mv -f "$cfgfile" "$ofile" || \
14958 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14962 # If there is no Makefile yet, we rely on a make rule to execute
14963 # `config.status --recheck' to rerun these tests and create the
14964 # libtool script then.
14965 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14966 if test -f "$ltmain_in"; then
14967 test -f Makefile
&& make "$ltmain"
14973 ac_cpp
='$CPP $CPPFLAGS'
14974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14981 # Check whether --with-tags or --without-tags was given.
14982 if test "${with_tags+set}" = set; then
14983 withval
="$with_tags"
14984 tagnames
="$withval"
14987 if test -f "$ltmain" && test -n "$tagnames"; then
14988 if test ! -f "${ofile}"; then
14989 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
14990 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
14993 if test -z "$LTCC"; then
14994 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
14995 if test -z "$LTCC"; then
14996 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
14997 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
14999 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
15000 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
15004 # Extract list of available tagged configurations in $ofile.
15005 # Note that this assumes the entire list is on one line.
15006 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
15008 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
15009 for tagname
in $tagnames; do
15011 # Check whether tagname contains only valid characters
15012 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
15014 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
15015 echo "$as_me: error: invalid tag name: $tagname" >&2;}
15016 { (exit 1); exit 1; }; }
15020 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
15022 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
15023 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
15024 { (exit 1); exit 1; }; }
15027 # Update the list of available tags.
15028 if test -n "$tagname"; then
15029 echo appending configuration tag
"$tagname" to
$ofile
15033 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15034 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15035 (test "X$CXX" != "Xg++"))) ; then
15037 ac_cpp
='$CXXCPP $CPPFLAGS'
15038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15045 archive_cmds_need_lc_CXX
=no
15046 allow_undefined_flag_CXX
=
15047 always_export_symbols_CXX
=no
15048 archive_expsym_cmds_CXX
=
15049 export_dynamic_flag_spec_CXX
=
15050 hardcode_direct_CXX
=no
15051 hardcode_libdir_flag_spec_CXX
=
15052 hardcode_libdir_flag_spec_ld_CXX
=
15053 hardcode_libdir_separator_CXX
=
15054 hardcode_minus_L_CXX
=no
15055 hardcode_automatic_CXX
=no
15057 module_expsym_cmds_CXX
=
15058 link_all_deplibs_CXX
=unknown
15059 old_archive_cmds_CXX
=$old_archive_cmds
15060 no_undefined_flag_CXX
=
15061 whole_archive_flag_spec_CXX
=
15062 enable_shared_with_static_runtimes_CXX
=no
15064 # Dependencies to place before and after the object being linked:
15065 predep_objects_CXX
=
15066 postdep_objects_CXX
=
15069 compiler_lib_search_path_CXX
=
15071 # Source file extension for C++ test sources.
15074 # Object file extension for compiled C++ test sources.
15078 # Code to be used in simple compile tests
15079 lt_simple_compile_test_code
="int some_variable = 0;\n"
15081 # Code to be used in simple link tests
15082 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
15084 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15086 # If no C compiler was specified, use CC.
15089 # Allow CC to be a program name with arguments.
15093 # Allow CC to be a program name with arguments.
15098 lt_save_with_gnu_ld
=$with_gnu_ld
15099 lt_save_path_LD
=$lt_cv_path_LD
15100 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15101 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15103 unset lt_cv_prog_gnu_ld
15105 if test -n "${lt_cv_path_LDCXX+set}"; then
15106 lt_cv_path_LD
=$lt_cv_path_LDCXX
15108 unset lt_cv_path_LD
15110 test -z "${LDCXX+set}" || LD
=$LDCXX
15114 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15116 # We don't want -fno-exception wen compiling C++ code, so set the
15117 # no_builtin_flag separately
15118 if test "$GXX" = yes; then
15119 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15121 lt_prog_compiler_no_builtin_flag_CXX
=
15124 if test "$GXX" = yes; then
15125 # Set up default GNU C++ configuration
15128 # Check whether --with-gnu-ld or --without-gnu-ld was given.
15129 if test "${with_gnu_ld+set}" = set; then
15130 withval
="$with_gnu_ld"
15131 test "$withval" = no || with_gnu_ld
=yes
15136 if test "$GCC" = yes; then
15137 # Check if gcc -print-prog-name=ld gives a path.
15138 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
15139 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
15142 # gcc leaves a trailing carriage return which upsets mingw
15143 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15145 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15148 # Accept absolute paths.
15150 re_direlt
='/[^/][^/]*/\.\./'
15151 # Canonicalize the pathname of ld
15152 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
15153 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
15154 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
15156 test -z "$LD" && LD
="$ac_prog"
15159 # If it fails, then pretend we aren't using GCC.
15163 # If it is relative, then search for the first ld in PATH.
15164 with_gnu_ld
=unknown
15167 elif test "$with_gnu_ld" = yes; then
15168 echo "$as_me:$LINENO: checking for GNU ld" >&5
15169 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
15171 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15172 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
15174 if test "${lt_cv_path_LD+set}" = set; then
15175 echo $ECHO_N "(cached) $ECHO_C" >&6
15177 if test -z "$LD"; then
15178 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15179 for ac_dir
in $PATH; do
15181 test -z "$ac_dir" && ac_dir
=.
15182 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15183 lt_cv_path_LD
="$ac_dir/$ac_prog"
15184 # Check to see if the program is GNU ld. I'd rather use --version,
15185 # but apparently some GNU ld's only accept -v.
15186 # Break only if it was the GNU/non-GNU ld that we prefer.
15187 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15188 *GNU
* |
*'with BFD'*)
15189 test "$with_gnu_ld" != no
&& break
15192 test "$with_gnu_ld" != yes && break
15199 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15203 LD
="$lt_cv_path_LD"
15204 if test -n "$LD"; then
15205 echo "$as_me:$LINENO: result: $LD" >&5
15206 echo "${ECHO_T}$LD" >&6
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15211 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15212 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15213 { (exit 1); exit 1; }; }
15214 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15215 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
15216 if test "${lt_cv_prog_gnu_ld+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15219 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15220 case `$LD -v 2>&1 </dev/null` in
15221 *GNU
* |
*'with BFD'*)
15222 lt_cv_prog_gnu_ld
=yes
15225 lt_cv_prog_gnu_ld
=no
15229 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
15230 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
15231 with_gnu_ld
=$lt_cv_prog_gnu_ld
15235 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15236 # archiving commands below assume that GNU ld is being used.
15237 if test "$with_gnu_ld" = yes; then
15238 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15239 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'
15241 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15242 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15244 # If archive_cmds runs LD, not CC, wlarc should be empty
15245 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15246 # investigate it a little bit more. (MM)
15249 # ancient GNU ld didn't support --whole-archive et. al.
15250 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
15251 grep 'no-whole-archive' > /dev
/null
; then
15252 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15254 whole_archive_flag_spec_CXX
=
15260 # A generic and very simple default shared library creation
15261 # command for GNU C++ for the case where it uses the native
15262 # linker, instead of GNU ld. If possible, this setting should
15263 # overridden to take advantage of the native linker features on
15264 # the platform it is being used on.
15265 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15268 # Commands to make compiler produce verbose output that lists
15269 # what "hidden" libraries, object files and flags are used when
15270 # linking a shared library.
15271 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15279 # PORTME: fill in a description of your system's C++ link characteristics
15280 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15281 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15285 # FIXME: insert proper C++ library support
15289 if test "$host_cpu" = ia64
; then
15290 # On IA64, the linker does run time linking by default, so we don't
15291 # have to do anything special.
15292 aix_use_runtimelinking
=no
15293 exp_sym_flag
='-Bexport'
15296 aix_use_runtimelinking
=no
15298 # Test if we are trying to use run time linking or normal
15299 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15300 # need to do runtime linking.
15301 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15302 for ld_flag
in $LDFLAGS; do
15305 aix_use_runtimelinking
=yes
15312 exp_sym_flag
='-bexport'
15313 no_entry_flag
='-bnoentry'
15316 # When large executables or shared objects are built, AIX ld can
15317 # have problems creating the table of contents. If linking a library
15318 # or program results in "error TOC overflow" add -mminimal-toc to
15319 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15320 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15322 archive_cmds_CXX
=''
15323 hardcode_direct_CXX
=yes
15324 hardcode_libdir_separator_CXX
=':'
15325 link_all_deplibs_CXX
=yes
15327 if test "$GXX" = yes; then
15328 case $host_os in aix4.012|aix4.012.
*)
15329 # We only want to do this on AIX 4.2 and lower, the check
15330 # below for broken collect2 doesn't work under 4.3+
15331 collect2name
=`${CC} -print-prog-name=collect2`
15332 if test -f "$collect2name" && \
15333 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15335 # We have reworked collect2
15336 hardcode_direct_CXX
=yes
15338 # We have old collect2
15339 hardcode_direct_CXX
=unsupported
15340 # It fails to find uninstalled libraries when the uninstalled
15341 # path is not listed in the libpath. Setting hardcode_minus_L
15342 # to unsupported forces relinking
15343 hardcode_minus_L_CXX
=yes
15344 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15345 hardcode_libdir_separator_CXX
=
15348 shared_flag
='-shared'
15351 if test "$host_cpu" = ia64
; then
15352 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15353 # chokes on -Wl,-G. The following line is correct:
15356 if test "$aix_use_runtimelinking" = yes; then
15357 shared_flag
='${wl}-G'
15359 shared_flag
='${wl}-bM:SRE'
15364 # It seems that -bexpall does not export symbols beginning with
15365 # underscore (_), so it is better to generate a list of symbols to export.
15366 always_export_symbols_CXX
=yes
15367 if test "$aix_use_runtimelinking" = yes; then
15368 # Warning - without using the other runtime loading flags (-brtl),
15369 # -berok will link without error, but may produce a broken library.
15370 allow_undefined_flag_CXX
='-berok'
15371 # Determine the default libpath from the value encoded in an empty executable.
15372 cat >conftest.
$ac_ext <<_ACEOF
15375 cat confdefs.h
>>conftest.
$ac_ext
15376 cat >>conftest.
$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15387 rm -f conftest.
$ac_objext conftest
$ac_exeext
15388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15389 (eval $ac_link) 2>conftest.er1
15391 grep -v '^ *+' conftest.er1
>conftest.err
15393 cat conftest.err
>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); } &&
15396 { ac_try
='test -z "$ac_cxx_werror_flag"
15397 || test ! -s conftest.err'
15398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 (eval $ac_try) 2>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; } &&
15403 { ac_try
='test -s conftest$ac_exeext'
15404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15405 (eval $ac_try) 2>&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }; }; then
15410 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15412 # Check for a 64-bit object if we didn't find anything.
15413 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; }
15416 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.
$ac_ext >&5
15420 rm -f conftest.err conftest.
$ac_objext \
15421 conftest
$ac_exeext conftest.
$ac_ext
15422 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15424 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15426 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"
15428 if test "$host_cpu" = ia64; then
15429 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
15430 allow_undefined_flag_CXX="-z nodefs"
15431 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"
15433 # Determine the default libpath from the value encoded in an empty executable.
15434 cat >conftest.$ac_ext <<_ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15449 rm -f conftest.$ac_objext conftest$ac_exeext
15450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15451 (eval $ac_link) 2>conftest.er1
15453 grep -v '^ *+' conftest.er1 >conftest.err
15455 cat conftest.err >&5
15456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15457 (exit $ac_status); } &&
15458 { ac_try='test -z "$ac_cxx_werror_flag"
15459 || test ! -s conftest.err'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15464 (exit $ac_status); }; } &&
15465 { ac_try='test -s conftest$ac_exeext'
15466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15467 (eval $ac_try) 2>&5
15469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15470 (exit $ac_status); }; }; then
15472 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15474 # Check for a 64-bit object if we didn't find anything.
15475 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; }
15478 echo "$as_me: failed program was
:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15482 rm -f conftest.err conftest.$ac_objext \
15483 conftest$ac_exeext conftest.$ac_ext
15484 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
15486 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15487 # Warning - without using the other run time loading flags,
15488 # -berok will link without error, but may produce a broken library.
15489 no_undefined_flag_CXX=' ${wl}-bernotok'
15490 allow_undefined_flag_CXX=' ${wl}-berok'
15491 # -bexpall does not export symbols beginning with underscore (_)
15492 always_export_symbols_CXX=yes
15493 # Exported symbols can be pulled into shared objects from archives
15494 whole_archive_flag_spec_CXX=' '
15495 archive_cmds_need_lc_CXX=yes
15496 # This is similar to how AIX traditionally builds it's shared libraries.
15497 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'
15502 case $cc_basename in
15504 # FIXME: insert proper C++ library support
15511 cygwin* | mingw* | pw32*)
15512 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15513 # as there is no search path for DLLs.
15514 hardcode_libdir_flag_spec_CXX='-L$libdir'
15515 allow_undefined_flag_CXX=unsupported
15516 always_export_symbols_CXX=no
15517 enable_shared_with_static_runtimes_CXX=yes
15519 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15520 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'
15521 # If the export-symbols file already is a .def file (1st line
15522 # is EXPORTS), use it as is; otherwise, prepend...
15523 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
15524 cp $export_symbols $output_objdir/$soname.def;
15526 echo EXPORTS > $output_objdir/$soname.def;
15527 cat $export_symbols >> $output_objdir/$soname.def;
15529 $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'
15534 darwin* | rhapsody*)
15536 rhapsody* | darwin1.[012])
15537 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
15540 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15541 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15543 case ${MACOSX_DEPLOYMENT_TARGET} in
15545 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15548 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
15554 archive_cmds_need_lc_CXX=no
15555 hardcode_direct_CXX=no
15556 hardcode_automatic_CXX=yes
15557 hardcode_shlibpath_var_CXX=unsupported
15558 whole_archive_flag_spec_CXX=''
15559 link_all_deplibs_CXX=yes
15561 if test "$GXX" = yes ; then
15562 lt_int_apple_cc_single_mod=no
15563 output_verbose_link_cmd='echo'
15564 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
15565 lt_int_apple_cc_single_mod=yes
15567 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
15568 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15570 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'
15572 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15573 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15574 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
15575 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}'
15577 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}'
15579 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}'
15581 case "$cc_basename" in
15583 output_verbose_link_cmd
='echo'
15584 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'
15585 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15586 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15587 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}'
15588 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}'
15598 case $cc_basename in
15600 # FIXME: insert proper C++ library support
15604 # Green Hills C++ Compiler
15605 # FIXME: insert proper C++ library support
15609 # FIXME: insert proper C++ library support
15615 # C++ shared libraries reported to be fairly broken before switch to ELF
15619 archive_cmds_need_lc_CXX
=no
15621 freebsd
* | kfreebsd
*-gnu)
15622 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15629 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15630 hardcode_libdir_separator_CXX
=:
15631 export_dynamic_flag_spec_CXX
='${wl}-E'
15632 hardcode_direct_CXX
=yes
15633 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15634 # but as the default
15635 # location of the library.
15637 case $cc_basename in
15639 # FIXME: insert proper C++ library support
15643 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'
15644 # Commands to make compiler produce verbose output that lists
15645 # what "hidden" libraries, object files and flags are used when
15646 # linking a shared library.
15648 # There doesn't appear to be a way to prevent this compiler from
15649 # explicitly linking system object files so we need to strip them
15650 # from the output so that they don't get included in the library
15652 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'
15655 if test "$GXX" = yes; then
15656 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'
15658 # FIXME: insert proper C++ library support
15665 if test $with_gnu_ld = no
; then
15666 case "$host_cpu" in
15668 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15669 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
15670 hardcode_libdir_separator_CXX
=:
15673 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15676 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15677 hardcode_libdir_separator_CXX
=:
15678 export_dynamic_flag_spec_CXX
='${wl}-E'
15682 case "$host_cpu" in
15684 hardcode_direct_CXX
=no
15685 hardcode_shlibpath_var_CXX
=no
15688 hardcode_direct_CXX
=no
15689 hardcode_shlibpath_var_CXX
=no
15690 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15691 # but as the default
15692 # location of the library.
15695 hardcode_direct_CXX
=yes
15696 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15697 # but as the default
15698 # location of the library.
15702 case $cc_basename in
15704 # FIXME: insert proper C++ library support
15708 case "$host_cpu" in
15710 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
15713 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15716 # Commands to make compiler produce verbose output that lists
15717 # what "hidden" libraries, object files and flags are used when
15718 # linking a shared library.
15720 # There doesn't appear to be a way to prevent this compiler from
15721 # explicitly linking system object files so we need to strip them
15722 # from the output so that they don't get included in the library
15724 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'
15727 if test "$GXX" = yes; then
15728 if test $with_gnu_ld = no
; then
15729 case "$host_cpu" in
15731 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
15734 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'
15739 # FIXME: insert proper C++ library support
15746 case $cc_basename in
15749 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'
15751 # Archives containing C++ object files must be created using
15752 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15753 # necessary to make sure instantiated templates are included
15755 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15758 if test "$GXX" = yes; then
15759 if test "$with_gnu_ld" = no
; then
15760 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'
15762 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'
15765 link_all_deplibs_CXX
=yes
15768 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15769 hardcode_libdir_separator_CXX
=:
15772 case $cc_basename in
15774 # Kuck and Associates, Inc. (KAI) C++ Compiler
15776 # KCC will only create a shared library if the output file
15777 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15778 # to its proper name (with version) after linking.
15779 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'
15780 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'
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 $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'
15791 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
15792 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15794 # Archives containing C++ object files must be created using
15795 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15796 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15801 # version 8.0 and above of icpc choke on multiply defined symbols
15802 # if we add $predep_objects and $postdep_objects, however 7.1 and
15803 # earlier do not add the objects themselves.
15804 case `$CC -V 2>&1` in
15806 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15807 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'
15809 *) # Version 8.0 or newer
15810 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15811 archive_expsym_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15814 archive_cmds_need_lc_CXX
=no
15815 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15816 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15817 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15821 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15822 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'
15824 runpath_var
=LD_RUN_PATH
15825 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15826 hardcode_libdir_separator_CXX
=:
15828 # Commands to make compiler produce verbose output that lists
15829 # what "hidden" libraries, object files and flags are used when
15830 # linking a shared library.
15832 # There doesn't appear to be a way to prevent this compiler from
15833 # explicitly linking system object files so we need to strip them
15834 # from the output so that they don't get included in the library
15836 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'
15841 # FIXME: insert proper C++ library support
15845 # FIXME: insert proper C++ library support
15849 case $cc_basename in
15851 # FIXME: insert proper C++ library support
15855 # FIXME: insert proper C++ library support
15861 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15862 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15864 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15865 hardcode_direct_CXX
=yes
15866 hardcode_shlibpath_var_CXX
=no
15868 # Workaround some broken pre-1.5 toolchains
15869 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15872 # C++ shared libraries are fairly broken
15876 hardcode_direct_CXX
=yes
15877 hardcode_shlibpath_var_CXX
=no
15878 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15879 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15880 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15881 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15882 export_dynamic_flag_spec_CXX
='${wl}-E'
15883 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15885 output_verbose_link_cmd
='echo'
15888 case $cc_basename in
15890 # Kuck and Associates, Inc. (KAI) C++ Compiler
15892 # KCC will only create a shared library if the output file
15893 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15894 # to its proper name (with version) after linking.
15895 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'
15897 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15898 hardcode_libdir_separator_CXX
=:
15900 # Archives containing C++ object files must be created using
15901 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15902 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15906 # Rational C++ 2.4.1
15907 # FIXME: insert proper C++ library support
15911 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15912 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'
15914 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15915 hardcode_libdir_separator_CXX
=:
15917 # Commands to make compiler produce verbose output that lists
15918 # what "hidden" libraries, object files and flags are used when
15919 # linking a shared library.
15921 # There doesn't appear to be a way to prevent this compiler from
15922 # explicitly linking system object files so we need to strip them
15923 # from the output so that they don't get included in the library
15925 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'
15928 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15929 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15930 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'
15932 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15933 hardcode_libdir_separator_CXX
=:
15935 # Commands to make compiler produce verbose output that lists
15936 # what "hidden" libraries, object files and flags are used when
15937 # linking a shared library.
15938 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15941 # FIXME: insert proper C++ library support
15948 case $cc_basename in
15950 # Kuck and Associates, Inc. (KAI) C++ Compiler
15952 # KCC will only create a shared library if the output file
15953 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15954 # to its proper name (with version) after linking.
15955 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'
15957 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15958 hardcode_libdir_separator_CXX
=:
15960 # Archives containing C++ object files must be created using
15961 # the KAI C++ compiler.
15962 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
15965 # Rational C++ 2.4.1
15966 # FIXME: insert proper C++ library support
15970 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15971 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'
15972 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15973 echo "-hidden">> $lib.exp~
15974 $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~
15977 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15978 hardcode_libdir_separator_CXX
=:
15980 # Commands to make compiler produce verbose output that lists
15981 # what "hidden" libraries, object files and flags are used when
15982 # linking a shared library.
15984 # There doesn't appear to be a way to prevent this compiler from
15985 # explicitly linking system object files so we need to strip them
15986 # from the output so that they don't get included in the library
15988 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'
15991 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15992 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15993 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'
15995 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15996 hardcode_libdir_separator_CXX
=:
15998 # Commands to make compiler produce verbose output that lists
15999 # what "hidden" libraries, object files and flags are used when
16000 # linking a shared library.
16001 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16004 # FIXME: insert proper C++ library support
16011 # FIXME: insert proper C++ library support
16015 archive_cmds_need_lc_CXX
=no
16016 case $cc_basename in
16018 # FIXME: insert proper C++ library support
16022 # FIXME: insert proper C++ library support
16028 case $cc_basename in
16031 # FIXME: insert proper C++ library support
16036 # FIXME: insert proper C++ library support
16040 # FIXME: insert proper C++ library support
16046 case $cc_basename in
16048 # Sun C++ 4.2, 5.x and Centerline C++
16049 no_undefined_flag_CXX
=' -zdefs'
16050 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16051 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16052 $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'
16054 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16055 hardcode_shlibpath_var_CXX
=no
16057 solaris2.0
-5 | solaris2.0
-5.
*) ;;
16059 # The C++ compiler is used as linker so we must use $wl
16060 # flag to pass the commands to the underlying system
16062 # Supported since Solaris 2.6 (maybe 2.5.1?)
16063 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16066 link_all_deplibs_CXX
=yes
16068 # Commands to make compiler produce verbose output that lists
16069 # what "hidden" libraries, object files and flags are used when
16070 # linking a shared library.
16072 # There doesn't appear to be a way to prevent this compiler from
16073 # explicitly linking system object files so we need to strip them
16074 # from the output so that they don't get included in the library
16076 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'
16078 # Archives containing C++ object files must be created using
16079 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16080 # necessary to make sure instantiated templates are included
16082 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16085 # Green Hills C++ Compiler
16086 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16088 # The C++ compiler must be used to create the archive.
16089 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16092 # GNU C++ compiler with Solaris linker
16093 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16094 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
16095 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
16096 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16097 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16098 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16100 # Commands to make compiler produce verbose output that lists
16101 # what "hidden" libraries, object files and flags are used when
16102 # linking a shared library.
16103 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16105 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16107 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16108 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16109 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16111 # Commands to make compiler produce verbose output that lists
16112 # what "hidden" libraries, object files and flags are used when
16113 # linking a shared library.
16114 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16117 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
16122 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16123 archive_cmds_need_lc_CXX
=no
16126 case $cc_basename in
16128 # NonStop-UX NCC 3.20
16129 # FIXME: insert proper C++ library support
16133 # FIXME: insert proper C++ library support
16139 # FIXME: insert proper C++ library support
16143 # FIXME: insert proper C++ library support
16147 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16148 echo "${ECHO_T}$ld_shlibs_CXX" >&6
16149 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16155 cat > conftest.
$ac_ext <<EOF
16159 Foo (void) { a = 0; }
16165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16166 (eval $ac_compile) 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; then
16170 # Parse the compiler output and extract the necessary
16171 # objects, libraries and library flags.
16173 # Sentinel used to keep track of whether or not we are before
16174 # the conftest object file.
16175 pre_test_object_deps_done
=no
16177 # The `*' in the case matches for architectures that use `case' in
16178 # $output_verbose_cmd can trigger glob expansion during the loop
16179 # eval without this substitution.
16180 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
16182 for p
in `eval $output_verbose_link_cmd`; do
16186 # Some compilers place space between "-{L,R}" and the path.
16187 # Remove the space.
16188 if test $p = "-L" \
16189 ||
test $p = "-R"; then
16196 if test "$pre_test_object_deps_done" = no
; then
16199 # Internal compiler library paths should come after those
16200 # provided the user. The postdeps already come after the
16201 # user supplied libs so there is no need to process them.
16202 if test -z "$compiler_lib_search_path_CXX"; then
16203 compiler_lib_search_path_CXX
="${prev}${p}"
16205 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
16208 # The "-l" case would never come before the object being
16209 # linked, so don't bother handling this case.
16212 if test -z "$postdeps_CXX"; then
16213 postdeps_CXX
="${prev}${p}"
16215 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
16221 # This assumes that the test object file only shows up
16222 # once in the compiler output.
16223 if test "$p" = "conftest.$objext"; then
16224 pre_test_object_deps_done
=yes
16228 if test "$pre_test_object_deps_done" = no
; then
16229 if test -z "$predep_objects_CXX"; then
16230 predep_objects_CXX
="$p"
16232 predep_objects_CXX
="$predep_objects_CXX $p"
16235 if test -z "$postdep_objects_CXX"; then
16236 postdep_objects_CXX
="$p"
16238 postdep_objects_CXX
="$postdep_objects_CXX $p"
16243 *) ;; # Ignore the rest.
16251 echo "libtool.m4: error: problem compiling CXX test program"
16254 $rm -f confest.
$objext
16256 case " $postdeps_CXX " in
16257 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16260 lt_prog_compiler_wl_CXX
=
16261 lt_prog_compiler_pic_CXX
=
16262 lt_prog_compiler_static_CXX
=
16264 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16265 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16267 # C++ specific cases for pic, static, wl, etc.
16268 if test "$GXX" = yes; then
16269 lt_prog_compiler_wl_CXX
='-Wl,'
16270 lt_prog_compiler_static_CXX
='-static'
16274 # All AIX code is PIC.
16275 if test "$host_cpu" = ia64
; then
16276 # AIX 5 now supports IA64 processor
16277 lt_prog_compiler_static_CXX
='-Bstatic'
16281 # FIXME: we need at least 68020 code to build shared libraries, but
16282 # adding the `-m68020' flag to GCC prevents building anything better,
16284 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16286 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16287 # PIC is the default for these OSes.
16289 mingw
* | os2
* | pw32
*)
16290 # This hack is so that the source file can tell whether it is being
16291 # built for inclusion in a dll (and should export symbols for example).
16292 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16294 darwin
* | rhapsody
*)
16295 # PIC is the default on this platform
16296 # Common symbols not allowed in MH_DYLIB files
16297 lt_prog_compiler_pic_CXX
='-fno-common'
16300 # DJGPP does not support shared libraries at all
16301 lt_prog_compiler_pic_CXX
=
16304 if test -d /usr
/nec
; then
16305 lt_prog_compiler_pic_CXX
=-Kconform_pic
16309 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16310 # not for PA HP-UX.
16311 case "$host_cpu" in
16315 lt_prog_compiler_pic_CXX
='-fPIC'
16320 lt_prog_compiler_pic_CXX
='-fPIC'
16326 # All AIX code is PIC.
16327 if test "$host_cpu" = ia64
; then
16328 # AIX 5 now supports IA64 processor
16329 lt_prog_compiler_static_CXX
='-Bstatic'
16331 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16335 case $cc_basename in
16337 # Green Hills C++ Compiler
16338 # _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"
16343 # PIC is the default on this platform
16344 # Common symbols not allowed in MH_DYLIB files
16345 case "$cc_basename" in
16347 lt_prog_compiler_pic_CXX
='-qnocommon'
16348 lt_prog_compiler_wl_CXX
='-Wl,'
16353 case $cc_basename in
16355 lt_prog_compiler_pic_CXX
='-KPIC'
16358 # Green Hills C++ Compiler
16359 lt_prog_compiler_pic_CXX
='-pic'
16365 freebsd
* | kfreebsd
*-gnu)
16366 # FreeBSD uses GNU C++
16368 hpux9
* | hpux10
* | hpux11
*)
16369 case $cc_basename in
16371 lt_prog_compiler_wl_CXX
='-Wl,'
16372 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
16373 if test "$host_cpu" != ia64
; then
16374 lt_prog_compiler_pic_CXX
='+Z'
16378 lt_prog_compiler_wl_CXX
='-Wl,'
16379 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
16380 case "$host_cpu" in
16385 lt_prog_compiler_pic_CXX
='+Z'
16393 irix5
* | irix6
* | nonstopux
*)
16394 case $cc_basename in
16396 lt_prog_compiler_wl_CXX
='-Wl,'
16397 lt_prog_compiler_static_CXX
='-non_shared'
16398 # CC pic flag -KPIC is the default.
16405 case $cc_basename in
16408 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16409 lt_prog_compiler_pic_CXX
='-fPIC'
16413 lt_prog_compiler_wl_CXX
='-Wl,'
16414 lt_prog_compiler_pic_CXX
='-KPIC'
16415 lt_prog_compiler_static_CXX
='-static'
16419 # Make sure the PIC flag is empty. It appears that all Alpha
16420 # Linux and Compaq Tru64 Unix objects are PIC.
16421 lt_prog_compiler_pic_CXX
=
16422 lt_prog_compiler_static_CXX
='-non_shared'
16433 case $cc_basename in
16435 lt_prog_compiler_pic_CXX
='-W c,exportall'
16443 osf3
* | osf4
* | osf5
*)
16444 case $cc_basename in
16446 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16449 # Rational C++ 2.4.1
16450 lt_prog_compiler_pic_CXX
='-pic'
16453 # Digital/Compaq C++
16454 lt_prog_compiler_wl_CXX
='-Wl,'
16455 # Make sure the PIC flag is empty. It appears that all Alpha
16456 # Linux and Compaq Tru64 Unix objects are PIC.
16457 lt_prog_compiler_pic_CXX
=
16458 lt_prog_compiler_static_CXX
='-non_shared'
16467 case $cc_basename in
16469 lt_prog_compiler_pic_CXX
='-fPIC'
16476 case $cc_basename in
16478 # Sun C++ 4.2, 5.x and Centerline C++
16479 lt_prog_compiler_pic_CXX
='-KPIC'
16480 lt_prog_compiler_static_CXX
='-Bstatic'
16481 lt_prog_compiler_wl_CXX
='-Qoption ld '
16484 # Green Hills C++ Compiler
16485 lt_prog_compiler_pic_CXX
='-PIC'
16492 case $cc_basename in
16495 lt_prog_compiler_pic_CXX
='-pic'
16496 lt_prog_compiler_static_CXX
='-Bstatic'
16500 lt_prog_compiler_pic_CXX
='-pic'
16507 case $cc_basename in
16509 # NonStop-UX NCC 3.20
16510 lt_prog_compiler_pic_CXX
='-KPIC'
16521 lt_prog_compiler_can_build_shared_CXX
=no
16526 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
16527 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
16530 # Check to make sure the PIC flag actually works.
16532 if test -n "$lt_prog_compiler_pic_CXX"; then
16534 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16535 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
16536 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 lt_prog_compiler_pic_works_CXX
=no
16540 ac_outfile
=conftest.
$ac_objext
16541 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16542 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
16543 # Insert the option either (1) after the last *FLAGS variable, or
16544 # (2) before a word containing "conftest.", or (3) at the end.
16545 # Note that $ac_compile itself does not contain backslashes and begins
16546 # with a dollar sign (not a hyphen), so the echo should work correctly.
16547 # The option is referenced via a variable to avoid confusing sed.
16548 lt_compile
=`echo "$ac_compile" | $SED \
16549 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16550 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16551 -e 's:$: $lt_compiler_flag:'`
16552 (eval echo "\"\$as_me:16552: $lt_compile\"" >&5)
16553 (eval "$lt_compile" 2>conftest.err
)
16555 cat conftest.err
>&5
16556 echo "$as_me:16556: \$? = $ac_status" >&5
16557 if (exit $ac_status) && test -s "$ac_outfile"; then
16558 # The compiler can only warn and ignore the option if not recognized
16559 # So say no if there are warnings
16560 if test ! -s conftest.err
; then
16561 lt_prog_compiler_pic_works_CXX
=yes
16567 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
16568 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
16570 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
16571 case $lt_prog_compiler_pic_CXX in
16573 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16576 lt_prog_compiler_pic_CXX
=
16577 lt_prog_compiler_can_build_shared_CXX
=no
16582 # For platforms which do not support PIC, -DPIC is meaningless:
16584 lt_prog_compiler_pic_CXX
=
16587 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16591 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16592 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16593 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 lt_cv_prog_compiler_c_o_CXX
=no
16597 $rm -r conftest
2>/dev
/null
16601 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16603 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16604 # Insert the option either (1) after the last *FLAGS variable, or
16605 # (2) before a word containing "conftest.", or (3) at the end.
16606 # Note that $ac_compile itself does not contain backslashes and begins
16607 # with a dollar sign (not a hyphen), so the echo should work correctly.
16608 lt_compile
=`echo "$ac_compile" | $SED \
16609 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16610 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16611 -e 's:$: $lt_compiler_flag:'`
16612 (eval echo "\"\$as_me:16612: $lt_compile\"" >&5)
16613 (eval "$lt_compile" 2>out
/conftest.err
)
16615 cat out
/conftest.err
>&5
16616 echo "$as_me:16616: \$? = $ac_status" >&5
16617 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16619 # The compiler can only warn and ignore the option if not recognized
16620 # So say no if there are warnings
16621 if test ! -s out
/conftest.err
; then
16622 lt_cv_prog_compiler_c_o_CXX
=yes
16627 # SGI C++ compiler will create directory out/ii_files/ for
16628 # template instantiation
16629 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16630 $rm out
/* && rmdir out
16636 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16637 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
16640 hard_links
="nottested"
16641 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
16642 # do not overwrite the value of need_locks provided by the user
16643 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16644 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16647 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16649 ln conftest.a conftest.b
2>&5 || hard_links
=no
16650 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16651 echo "$as_me:$LINENO: result: $hard_links" >&5
16652 echo "${ECHO_T}$hard_links" >&6
16653 if test "$hard_links" = no
; then
16654 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16655 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16662 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16663 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16665 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16668 # If we're using GNU nm, then we don't want the "-C" option.
16669 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16670 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16671 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'
16673 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'
16677 export_symbols_cmds_CXX
="$ltdll_cmds"
16680 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16683 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16687 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16688 echo "${ECHO_T}$ld_shlibs_CXX" >&6
16689 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16691 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16692 if test "$GCC" = yes; then
16693 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16697 # Do we need to explicitly link libc?
16699 case "x$archive_cmds_need_lc_CXX" in
16701 # Assume -lc should be added
16702 archive_cmds_need_lc_CXX
=yes
16704 if test "$enable_shared" = yes && test "$GCC" = yes; then
16705 case $archive_cmds_CXX in
16707 # FIXME: we may have to deal with multi-command sequences.
16710 # Test whether the compiler implicitly links with -lc since on some
16711 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16712 # to ld, don't add -lc before -lgcc.
16713 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16714 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16716 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } 2>conftest.err
; then
16725 libobjs
=conftest.
$ac_objext
16727 wl
=$lt_prog_compiler_wl_CXX
16733 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
16734 allow_undefined_flag_CXX
=
16735 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16736 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }
16741 archive_cmds_need_lc_CXX
=no
16743 archive_cmds_need_lc_CXX
=yes
16745 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
16747 cat conftest.err
1>&5
16750 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
16751 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
16758 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16759 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16760 library_names_spec
=
16761 libname_spec
='lib$name'
16765 postuninstall_cmds
=
16769 shlibpath_overrides_runpath
=unknown
16771 dynamic_linker
="$host_os ld.so"
16772 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16773 if test "$GCC" = yes; then
16774 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16775 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16776 # if the path contains ";" then we assume it to be the separator
16777 # otherwise default to the standard path separator (i.e. ":") - it is
16778 # assumed that no part of a normal pathname contains ";" but that should
16779 # okay in the real world where ";" in dirpaths is itself problematic.
16780 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16782 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16785 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16787 need_lib_prefix
=unknown
16788 hardcode_into_libs
=no
16790 # when you set need_version to no, make sure it does not cause -set_version
16791 # flags to be left without arguments
16792 need_version
=unknown
16797 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16798 shlibpath_var
=LIBPATH
16800 # AIX 3 has no versioning support, so we append a major version to the name.
16801 soname_spec
='${libname}${release}${shared_ext}$major'
16808 hardcode_into_libs
=yes
16809 if test "$host_cpu" = ia64
; then
16810 # AIX 5 supports IA64
16811 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16812 shlibpath_var
=LD_LIBRARY_PATH
16814 # With GCC up to 2.95.x, collect2 would create an import file
16815 # for dependence libraries. The import file would start with
16816 # the line `#! .'. This would cause the generated library to
16817 # depend on `.', always an invalid library. This was fixed in
16818 # development snapshots of GCC prior to 3.0.
16820 aix4 | aix4.
[01] | aix4.
[01].
*)
16821 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16823 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16826 can_build_shared
=no
16830 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16831 # soname into executable. Probably we can add versioning support to
16832 # collect2, so additional links can be useful in future.
16833 if test "$aix_use_runtimelinking" = yes; then
16834 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16835 # instead of lib<name>.a to let people know that these are not
16836 # typical AIX shared libraries.
16837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16839 # We preserve .a as extension for shared libraries through AIX4.2
16840 # and later when we are not doing run time linking.
16841 library_names_spec
='${libname}${release}.a $libname.a'
16842 soname_spec
='${libname}${release}${shared_ext}$major'
16844 shlibpath_var
=LIBPATH
16849 library_names_spec
='$libname.ixlibrary $libname.a'
16850 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16851 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'
16855 library_names_spec
='${libname}${shared_ext}'
16856 dynamic_linker
="$host_os ld.so"
16857 shlibpath_var
=LIBRARY_PATH
16863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16864 soname_spec
='${libname}${release}${shared_ext}$major'
16865 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16866 shlibpath_var
=LD_LIBRARY_PATH
16867 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16868 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16869 # the default ld.so.conf also contains /usr/contrib/lib and
16870 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16871 # libtool to hard-code these into programs
16874 cygwin
* | mingw
* | pw32
*)
16875 version_type
=windows
16880 case $GCC,$host_os in
16881 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16882 library_names_spec
='$libname.dll.a'
16883 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16884 postinstall_cmds
='base_file=`basename \${file}`~
16885 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16886 dldir=$destdir/`dirname \$dlpath`~
16887 test -d \$dldir || mkdir -p \$dldir~
16888 $install_prog $dir/$dlname \$dldir/$dlname'
16889 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16890 dlpath=$dir/\$dldll~
16892 shlibpath_overrides_runpath
=yes
16896 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16897 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16898 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16901 # MinGW DLLs use traditional 'lib' prefix
16902 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16903 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16904 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16905 # It is most probably a Windows format PATH printed by
16906 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16907 # path with ; separators, and with drive letters. We can handle the
16908 # drive letters (cygwin fileutils understands them), so leave them,
16909 # especially as we might pass files found there to a mingw objdump,
16910 # which wouldn't understand a cygwinified path. Ahh.
16911 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16913 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16917 # pw32 DLLs use 'pw' prefix rather than 'lib'
16918 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16924 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16927 dynamic_linker
='Win32 ld.exe'
16928 # FIXME: first we should search . and the directory the executable is in
16932 darwin
* | rhapsody
*)
16933 dynamic_linker
="$host_os dyld"
16934 version_type
=darwin
16937 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16938 soname_spec
='${libname}${release}${major}$shared_ext'
16939 shlibpath_overrides_runpath
=yes
16940 shlibpath_var
=DYLD_LIBRARY_PATH
16941 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
16942 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16943 if test "$GCC" = yes; then
16944 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"`
16946 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16948 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16956 soname_spec
='${libname}${release}${shared_ext}$major'
16957 shlibpath_var
=LD_LIBRARY_PATH
16968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16969 soname_spec
='${libname}${release}${shared_ext}$major'
16970 shlibpath_var
=LD_LIBRARY_PATH
16971 shlibpath_overrides_runpath
=no
16972 hardcode_into_libs
=yes
16973 dynamic_linker
='GNU ld.so'
16977 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16978 version_type
=freebsd-
$objformat
16979 case $version_type in
16981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16986 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16990 shlibpath_var
=LD_LIBRARY_PATH
16993 shlibpath_overrides_runpath
=yes
16995 freebsd3.01
* | freebsdelf3.01
*)
16996 shlibpath_overrides_runpath
=yes
16997 hardcode_into_libs
=yes
17000 shlibpath_overrides_runpath
=no
17001 hardcode_into_libs
=yes
17010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17011 soname_spec
='${libname}${release}${shared_ext}$major'
17012 shlibpath_var
=LD_LIBRARY_PATH
17013 hardcode_into_libs
=yes
17016 hpux9
* | hpux10
* | hpux11
*)
17017 # Give a soname corresponding to the major version so that dld.sl refuses to
17018 # link against other versions.
17022 case "$host_cpu" in
17025 hardcode_into_libs
=yes
17026 dynamic_linker
="$host_os dld.so"
17027 shlibpath_var
=LD_LIBRARY_PATH
17028 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17030 soname_spec
='${libname}${release}${shared_ext}$major'
17031 if test "X$HPUX_IA64_MODE" = X32
; then
17032 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17034 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17036 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17040 hardcode_into_libs
=yes
17041 dynamic_linker
="$host_os dld.sl"
17042 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17043 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17045 soname_spec
='${libname}${release}${shared_ext}$major'
17046 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17047 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17051 dynamic_linker
="$host_os dld.sl"
17052 shlibpath_var
=SHLIB_PATH
17053 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17055 soname_spec
='${libname}${release}${shared_ext}$major'
17058 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17059 postinstall_cmds
='chmod 555 $lib'
17062 irix5
* | irix6
* | nonstopux
*)
17064 nonstopux
*) version_type
=nonstopux
;;
17066 if test "$lt_cv_prog_gnu_ld" = yes; then
17074 soname_spec
='${libname}${release}${shared_ext}$major'
17075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17077 irix5
* | nonstopux
*)
17078 libsuff
= shlibsuff
=
17081 case $LD in # libtool.m4 will add one of these switches to LD
17082 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17083 libsuff
= shlibsuff
= libmagic
=32-bit;;
17084 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17085 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17086 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17087 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17088 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17092 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17093 shlibpath_overrides_runpath
=no
17094 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17095 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17096 hardcode_into_libs
=yes
17099 # No shared lib support for Linux oldld, aout, or coff.
17100 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17104 # This must be Linux ELF.
17109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17110 soname_spec
='${libname}${release}${shared_ext}$major'
17111 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17112 shlibpath_var
=LD_LIBRARY_PATH
17113 shlibpath_overrides_runpath
=no
17114 # This implies no fast_install, which is unacceptable.
17115 # Some rework will be needed to allow for fast_install
17116 # before this can be enabled.
17117 hardcode_into_libs
=yes
17119 # Append ld.so.conf contents to the search path
17120 if test -f /etc
/ld.so.conf
; then
17121 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
17122 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17125 # We used to test for /lib/ld.so.1 and disable shared libraries on
17126 # powerpc, because MkLinux only supported shared libraries with the
17127 # GNU dynamic linker. Since this was broken with cross compilers,
17128 # most powerpc-linux boxes support dynamic linking these days and
17129 # people can always --disable-shared, the test was removed, and we
17130 # assume the GNU/Linux dynamic linker is in use.
17131 dynamic_linker
='GNU/Linux ld.so'
17138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17139 soname_spec
='${libname}${release}${shared_ext}$major'
17140 shlibpath_var
=LD_LIBRARY_PATH
17141 shlibpath_overrides_runpath
=no
17142 hardcode_into_libs
=yes
17143 dynamic_linker
='GNU ld.so'
17150 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17152 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17153 dynamic_linker
='NetBSD (a.out) ld.so'
17155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17156 soname_spec
='${libname}${release}${shared_ext}$major'
17157 dynamic_linker
='NetBSD ld.elf_so'
17159 shlibpath_var
=LD_LIBRARY_PATH
17160 shlibpath_overrides_runpath
=yes
17161 hardcode_into_libs
=yes
17166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17167 shlibpath_var
=LD_LIBRARY_PATH
17168 shlibpath_overrides_runpath
=yes
17175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17176 soname_spec
='${libname}${release}${shared_ext}$major'
17177 shlibpath_var
=LD_LIBRARY_PATH
17178 shlibpath_overrides_runpath
=yes
17185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17186 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17187 shlibpath_var
=LD_LIBRARY_PATH
17188 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17190 openbsd2.
[89] | openbsd2.
[89].
*)
17191 shlibpath_overrides_runpath
=no
17194 shlibpath_overrides_runpath
=yes
17198 shlibpath_overrides_runpath
=yes
17203 libname_spec
='$name'
17206 library_names_spec
='$libname${shared_ext} $libname.a'
17207 dynamic_linker
='OS/2 ld.exe'
17208 shlibpath_var
=LIBPATH
17211 osf3
* | osf4
* | osf5
*)
17215 soname_spec
='${libname}${release}${shared_ext}$major'
17216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17217 shlibpath_var
=LD_LIBRARY_PATH
17218 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17219 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17224 soname_spec
='${libname}${release}${shared_ext}$major'
17225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17226 shlibpath_var
=LD_LIBRARY_PATH
17233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17234 soname_spec
='${libname}${release}${shared_ext}$major'
17235 shlibpath_var
=LD_LIBRARY_PATH
17236 shlibpath_overrides_runpath
=yes
17237 hardcode_into_libs
=yes
17238 # ldd complains unless libraries are executable
17239 postinstall_cmds
='chmod +x $lib'
17244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17245 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17246 shlibpath_var
=LD_LIBRARY_PATH
17247 shlibpath_overrides_runpath
=yes
17248 if test "$with_gnu_ld" = yes; then
17254 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17257 soname_spec
='${libname}${release}${shared_ext}$major'
17258 shlibpath_var
=LD_LIBRARY_PATH
17259 case $host_vendor in
17261 shlibpath_overrides_runpath
=no
17263 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17264 runpath_var
=LD_RUN_PATH
17272 shlibpath_overrides_runpath
=no
17273 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17279 if test -d /usr
/nec
;then
17281 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17282 soname_spec
='$libname${shared_ext}.$major'
17283 shlibpath_var
=LD_LIBRARY_PATH
17289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17290 soname_spec
='${libname}${release}${shared_ext}$major'
17291 shlibpath_var
=LD_LIBRARY_PATH
17298 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17299 echo "${ECHO_T}$dynamic_linker" >&6
17300 test "$dynamic_linker" = no
&& can_build_shared
=no
17302 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17303 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17304 hardcode_action_CXX
=
17305 if test -n "$hardcode_libdir_flag_spec_CXX" || \
17306 test -n "$runpath_var_CXX" || \
17307 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17309 # We can hardcode non-existant directories.
17310 if test "$hardcode_direct_CXX" != no
&&
17311 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17312 # have to relink, otherwise we might link with an installed library
17313 # when we should be linking with a yet-to-be-installed one
17314 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17315 test "$hardcode_minus_L_CXX" != no
; then
17316 # Linking always hardcodes the temporary library directory.
17317 hardcode_action_CXX
=relink
17319 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17320 hardcode_action_CXX
=immediate
17323 # We cannot hardcode anything, or else we can only hardcode existing
17325 hardcode_action_CXX
=unsupported
17327 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17328 echo "${ECHO_T}$hardcode_action_CXX" >&6
17330 if test "$hardcode_action_CXX" = relink
; then
17331 # Fast installation is not supported
17332 enable_fast_install
=no
17333 elif test "$shlibpath_overrides_runpath" = yes ||
17334 test "$enable_shared" = no
; then
17335 # Fast installation is not necessary
17336 enable_fast_install
=needless
17341 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17342 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17343 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17344 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17345 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17346 echo "$as_me:$LINENO: result: yes" >&5
17347 echo "${ECHO_T}yes" >&6
17349 # FIXME - insert some real tests, host_os isn't really good enough
17352 if test -n "$STRIP" ; then
17353 striplib
="$STRIP -x"
17354 echo "$as_me:$LINENO: result: yes" >&5
17355 echo "${ECHO_T}yes" >&6
17357 echo "$as_me:$LINENO: result: no" >&5
17358 echo "${ECHO_T}no" >&6
17362 echo "$as_me:$LINENO: result: no" >&5
17363 echo "${ECHO_T}no" >&6
17368 if test "x$enable_dlopen" != xyes
; then
17369 enable_dlopen
=unknown
17370 enable_dlopen_self
=unknown
17371 enable_dlopen_self_static
=unknown
17378 lt_cv_dlopen
="load_add_on"
17380 lt_cv_dlopen_self
=yes
17384 lt_cv_dlopen
="LoadLibrary"
17389 lt_cv_dlopen
="dlopen"
17394 # if libdl is installed we need to link against it
17395 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17396 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17397 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 ac_check_lib_save_LIBS
=$LIBS
17402 cat >conftest.
$ac_ext <<_ACEOF
17405 cat confdefs.h
>>conftest.
$ac_ext
17406 cat >>conftest.
$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17409 /* Override any gcc2 internal prototype to avoid an error. */
17413 /* We use char because int might match the return type of a gcc2
17414 builtin and then its argument prototype would still apply. */
17424 rm -f conftest.
$ac_objext conftest
$ac_exeext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17426 (eval $ac_link) 2>conftest.er1
17428 grep -v '^ *+' conftest.er1
>conftest.err
17430 cat conftest.err
>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try
='test -z "$ac_cxx_werror_flag"
17434 || test ! -s conftest.err'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; } &&
17440 { ac_try
='test -s conftest$ac_exeext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_lib_dl_dlopen
=yes
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.
$ac_ext >&5
17451 ac_cv_lib_dl_dlopen
=no
17453 rm -f conftest.err conftest.
$ac_objext \
17454 conftest
$ac_exeext conftest.
$ac_ext
17455 LIBS
=$ac_check_lib_save_LIBS
17457 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17458 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17459 if test $ac_cv_lib_dl_dlopen = yes; then
17460 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17463 lt_cv_dlopen
="dyld"
17465 lt_cv_dlopen_self
=yes
17472 echo "$as_me:$LINENO: checking for shl_load" >&5
17473 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17474 if test "${ac_cv_func_shl_load+set}" = set; then
17475 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 cat >conftest.
$ac_ext <<_ACEOF
17480 cat confdefs.h
>>conftest.
$ac_ext
17481 cat >>conftest.
$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17485 #define shl_load innocuous_shl_load
17487 /* System header to define __stub macros and hopefully few prototypes,
17488 which can conflict with char shl_load (); below.
17489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17490 <limits.h> exists even on freestanding compilers. */
17493 # include <limits.h>
17495 # include <assert.h>
17500 /* Override any gcc2 internal prototype to avoid an error. */
17505 /* We use char because int might match the return type of a gcc2
17506 builtin and then its argument prototype would still apply. */
17508 /* The GNU C library defines this for functions which it implements
17509 to always fail with ENOSYS. Some functions are actually named
17510 something starting with __ and the normal name is an alias. */
17511 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17514 char (*f) () = shl_load;
17523 return f != shl_load;
17528 rm -f conftest.
$ac_objext conftest
$ac_exeext
17529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17530 (eval $ac_link) 2>conftest.er1
17532 grep -v '^ *+' conftest.er1
>conftest.err
17534 cat conftest.err
>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } &&
17537 { ac_try
='test -z "$ac_cxx_werror_flag"
17538 || test ! -s conftest.err'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; } &&
17544 { ac_try
='test -s conftest$ac_exeext'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; }; then
17550 ac_cv_func_shl_load
=yes
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.
$ac_ext >&5
17555 ac_cv_func_shl_load
=no
17557 rm -f conftest.err conftest.
$ac_objext \
17558 conftest
$ac_exeext conftest.
$ac_ext
17560 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17561 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17562 if test $ac_cv_func_shl_load = yes; then
17563 lt_cv_dlopen
="shl_load"
17565 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17566 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17567 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17568 echo $ECHO_N "(cached) $ECHO_C" >&6
17570 ac_check_lib_save_LIBS
=$LIBS
17572 cat >conftest.
$ac_ext <<_ACEOF
17575 cat confdefs.h
>>conftest.
$ac_ext
17576 cat >>conftest.
$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17579 /* Override any gcc2 internal prototype to avoid an error. */
17583 /* We use char because int might match the return type of a gcc2
17584 builtin and then its argument prototype would still apply. */
17594 rm -f conftest.
$ac_objext conftest
$ac_exeext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17596 (eval $ac_link) 2>conftest.er1
17598 grep -v '^ *+' conftest.er1
>conftest.err
17600 cat conftest.err
>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try
='test -z "$ac_cxx_werror_flag"
17604 || test ! -s conftest.err'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; } &&
17610 { ac_try
='test -s conftest$ac_exeext'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; }; then
17616 ac_cv_lib_dld_shl_load
=yes
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.
$ac_ext >&5
17621 ac_cv_lib_dld_shl_load
=no
17623 rm -f conftest.err conftest.
$ac_objext \
17624 conftest
$ac_exeext conftest.
$ac_ext
17625 LIBS
=$ac_check_lib_save_LIBS
17627 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17628 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17629 if test $ac_cv_lib_dld_shl_load = yes; then
17630 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17632 echo "$as_me:$LINENO: checking for dlopen" >&5
17633 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17634 if test "${ac_cv_func_dlopen+set}" = set; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 cat >conftest.
$ac_ext <<_ACEOF
17640 cat confdefs.h
>>conftest.
$ac_ext
17641 cat >>conftest.
$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17645 #define dlopen innocuous_dlopen
17647 /* System header to define __stub macros and hopefully few prototypes,
17648 which can conflict with char dlopen (); below.
17649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17650 <limits.h> exists even on freestanding compilers. */
17653 # include <limits.h>
17655 # include <assert.h>
17660 /* Override any gcc2 internal prototype to avoid an error. */
17665 /* We use char because int might match the return type of a gcc2
17666 builtin and then its argument prototype would still apply. */
17668 /* The GNU C library defines this for functions which it implements
17669 to always fail with ENOSYS. Some functions are actually named
17670 something starting with __ and the normal name is an alias. */
17671 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17674 char (*f) () = dlopen;
17683 return f != dlopen;
17688 rm -f conftest.
$ac_objext conftest
$ac_exeext
17689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17690 (eval $ac_link) 2>conftest.er1
17692 grep -v '^ *+' conftest.er1
>conftest.err
17694 cat conftest.err
>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } &&
17697 { ac_try
='test -z "$ac_cxx_werror_flag"
17698 || test ! -s conftest.err'
17699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17700 (eval $ac_try) 2>&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); }; } &&
17704 { ac_try
='test -s conftest$ac_exeext'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; }; then
17710 ac_cv_func_dlopen
=yes
17712 echo "$as_me: failed program was:" >&5
17713 sed 's/^/| /' conftest.
$ac_ext >&5
17715 ac_cv_func_dlopen
=no
17717 rm -f conftest.err conftest.
$ac_objext \
17718 conftest
$ac_exeext conftest.
$ac_ext
17720 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17721 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17722 if test $ac_cv_func_dlopen = yes; then
17723 lt_cv_dlopen
="dlopen"
17725 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17726 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17727 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 ac_check_lib_save_LIBS
=$LIBS
17732 cat >conftest.
$ac_ext <<_ACEOF
17735 cat confdefs.h
>>conftest.
$ac_ext
17736 cat >>conftest.
$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17739 /* Override any gcc2 internal prototype to avoid an error. */
17743 /* We use char because int might match the return type of a gcc2
17744 builtin and then its argument prototype would still apply. */
17754 rm -f conftest.
$ac_objext conftest
$ac_exeext
17755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17756 (eval $ac_link) 2>conftest.er1
17758 grep -v '^ *+' conftest.er1
>conftest.err
17760 cat conftest.err
>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try
='test -z "$ac_cxx_werror_flag"
17764 || test ! -s conftest.err'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; } &&
17770 { ac_try
='test -s conftest$ac_exeext'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
17776 ac_cv_lib_dl_dlopen
=yes
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 ac_cv_lib_dl_dlopen
=no
17783 rm -f conftest.err conftest.
$ac_objext \
17784 conftest
$ac_exeext conftest.
$ac_ext
17785 LIBS
=$ac_check_lib_save_LIBS
17787 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17788 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17789 if test $ac_cv_lib_dl_dlopen = yes; then
17790 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17792 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17793 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17794 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17795 echo $ECHO_N "(cached) $ECHO_C" >&6
17797 ac_check_lib_save_LIBS
=$LIBS
17798 LIBS
="-lsvld $LIBS"
17799 cat >conftest.
$ac_ext <<_ACEOF
17802 cat confdefs.h
>>conftest.
$ac_ext
17803 cat >>conftest.
$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17806 /* Override any gcc2 internal prototype to avoid an error. */
17810 /* We use char because int might match the return type of a gcc2
17811 builtin and then its argument prototype would still apply. */
17821 rm -f conftest.
$ac_objext conftest
$ac_exeext
17822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17823 (eval $ac_link) 2>conftest.er1
17825 grep -v '^ *+' conftest.er1
>conftest.err
17827 cat conftest.err
>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); } &&
17830 { ac_try
='test -z "$ac_cxx_werror_flag"
17831 || test ! -s conftest.err'
17832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17833 (eval $ac_try) 2>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; } &&
17837 { ac_try
='test -s conftest$ac_exeext'
17838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17839 (eval $ac_try) 2>&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); }; }; then
17843 ac_cv_lib_svld_dlopen
=yes
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.
$ac_ext >&5
17848 ac_cv_lib_svld_dlopen
=no
17850 rm -f conftest.err conftest.
$ac_objext \
17851 conftest
$ac_exeext conftest.
$ac_ext
17852 LIBS
=$ac_check_lib_save_LIBS
17854 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17855 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17856 if test $ac_cv_lib_svld_dlopen = yes; then
17857 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17859 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17860 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17861 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17862 echo $ECHO_N "(cached) $ECHO_C" >&6
17864 ac_check_lib_save_LIBS
=$LIBS
17866 cat >conftest.
$ac_ext <<_ACEOF
17869 cat confdefs.h
>>conftest.
$ac_ext
17870 cat >>conftest.
$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17873 /* Override any gcc2 internal prototype to avoid an error. */
17877 /* We use char because int might match the return type of a gcc2
17878 builtin and then its argument prototype would still apply. */
17888 rm -f conftest.
$ac_objext conftest
$ac_exeext
17889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17890 (eval $ac_link) 2>conftest.er1
17892 grep -v '^ *+' conftest.er1
>conftest.err
17894 cat conftest.err
>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } &&
17897 { ac_try
='test -z "$ac_cxx_werror_flag"
17898 || test ! -s conftest.err'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; } &&
17904 { ac_try
='test -s conftest$ac_exeext'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; }; then
17910 ac_cv_lib_dld_dld_link
=yes
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.
$ac_ext >&5
17915 ac_cv_lib_dld_dld_link
=no
17917 rm -f conftest.err conftest.
$ac_objext \
17918 conftest
$ac_exeext conftest.
$ac_ext
17919 LIBS
=$ac_check_lib_save_LIBS
17921 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17922 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17923 if test $ac_cv_lib_dld_dld_link = yes; then
17924 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
17945 if test "x$lt_cv_dlopen" != xno
; then
17951 case $lt_cv_dlopen in
17953 save_CPPFLAGS
="$CPPFLAGS"
17954 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
17956 save_LDFLAGS
="$LDFLAGS"
17957 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
17960 LIBS
="$lt_cv_dlopen_libs $LIBS"
17962 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17963 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17964 if test "${lt_cv_dlopen_self+set}" = set; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 if test "$cross_compiling" = yes; then :
17968 lt_cv_dlopen_self
=cross
17970 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
17971 lt_status
=$lt_dlunknown
17972 cat > conftest.
$ac_ext <<EOF
17973 #line 17973 "configure"
17974 #include "confdefs.h"
17983 # define LT_DLGLOBAL RTLD_GLOBAL
17986 # define LT_DLGLOBAL DL_GLOBAL
17988 # define LT_DLGLOBAL 0
17992 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17993 find out it does not work in some platform. */
17994 #ifndef LT_DLLAZY_OR_NOW
17996 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17999 # define LT_DLLAZY_OR_NOW DL_LAZY
18002 # define LT_DLLAZY_OR_NOW RTLD_NOW
18005 # define LT_DLLAZY_OR_NOW DL_NOW
18007 # define LT_DLLAZY_OR_NOW 0
18015 extern "C" void exit (int);
18018 void fnord() { int i=42;}
18021 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18022 int status = $lt_dlunknown;
18026 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18027 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18028 /* dlclose (self); */
18034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18035 (eval $ac_link) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18039 (.
/conftest
; exit; ) 2>/dev
/null
18041 case x
$lt_status in
18042 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18043 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18044 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18047 # compilation failed
18048 lt_cv_dlopen_self
=no
18055 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18056 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18058 if test "x$lt_cv_dlopen_self" = xyes
; then
18059 LDFLAGS
="$LDFLAGS $link_static_flag"
18060 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18061 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18062 if test "${lt_cv_dlopen_self_static+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 if test "$cross_compiling" = yes; then :
18066 lt_cv_dlopen_self_static
=cross
18068 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18069 lt_status
=$lt_dlunknown
18070 cat > conftest.
$ac_ext <<EOF
18071 #line 18071 "configure"
18072 #include "confdefs.h"
18081 # define LT_DLGLOBAL RTLD_GLOBAL
18084 # define LT_DLGLOBAL DL_GLOBAL
18086 # define LT_DLGLOBAL 0
18090 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18091 find out it does not work in some platform. */
18092 #ifndef LT_DLLAZY_OR_NOW
18094 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18097 # define LT_DLLAZY_OR_NOW DL_LAZY
18100 # define LT_DLLAZY_OR_NOW RTLD_NOW
18103 # define LT_DLLAZY_OR_NOW DL_NOW
18105 # define LT_DLLAZY_OR_NOW 0
18113 extern "C" void exit (int);
18116 void fnord() { int i=42;}
18119 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18120 int status = $lt_dlunknown;
18124 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18125 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18126 /* dlclose (self); */
18132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18133 (eval $ac_link) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18137 (.
/conftest
; exit; ) 2>/dev
/null
18139 case x
$lt_status in
18140 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18141 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18142 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18145 # compilation failed
18146 lt_cv_dlopen_self_static
=no
18153 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18154 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18157 CPPFLAGS
="$save_CPPFLAGS"
18158 LDFLAGS
="$save_LDFLAGS"
18163 case $lt_cv_dlopen_self in
18164 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18165 *) enable_dlopen_self
=unknown
;;
18168 case $lt_cv_dlopen_self_static in
18169 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18170 *) enable_dlopen_self_static
=unknown
;;
18175 # The else clause should only fire when bootstrapping the
18176 # libtool distribution, otherwise you forgot to ship ltmain.sh
18177 # with your package, and you will get complaints that there are
18178 # no rules to generate ltmain.sh.
18179 if test -f "$ltmain"; then
18180 # See if we are running on zsh, and set the options which allow our commands through
18181 # without removal of \ escapes.
18182 if test -n "${ZSH_VERSION+set}" ; then
18183 setopt NO_GLOB_SUBST
18185 # Now quote all the things that may contain metacharacters while being
18186 # careful not to overquote the AC_SUBSTed values. We take copies of the
18187 # variables and quote the copies for generation of the libtool script.
18188 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18190 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18191 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18192 deplibs_check_method reload_flag reload_cmds need_locks \
18193 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18194 lt_cv_sys_global_symbol_to_c_name_address \
18195 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18196 old_postinstall_cmds old_postuninstall_cmds \
18200 lt_prog_compiler_wl_CXX \
18201 lt_prog_compiler_pic_CXX \
18202 lt_prog_compiler_static_CXX \
18203 lt_prog_compiler_no_builtin_flag_CXX \
18204 export_dynamic_flag_spec_CXX \
18205 thread_safe_flag_spec_CXX \
18206 whole_archive_flag_spec_CXX \
18207 enable_shared_with_static_runtimes_CXX \
18208 old_archive_cmds_CXX \
18209 old_archive_from_new_cmds_CXX \
18210 predep_objects_CXX \
18211 postdep_objects_CXX \
18214 compiler_lib_search_path_CXX \
18216 archive_expsym_cmds_CXX \
18217 postinstall_cmds_CXX \
18218 postuninstall_cmds_CXX \
18219 old_archive_from_expsyms_cmds_CXX \
18220 allow_undefined_flag_CXX \
18221 no_undefined_flag_CXX \
18222 export_symbols_cmds_CXX \
18223 hardcode_libdir_flag_spec_CXX \
18224 hardcode_libdir_flag_spec_ld_CXX \
18225 hardcode_libdir_separator_CXX \
18226 hardcode_automatic_CXX \
18228 module_expsym_cmds_CXX \
18229 lt_cv_prog_compiler_c_o_CXX \
18230 exclude_expsyms_CXX \
18231 include_expsyms_CXX
; do
18234 old_archive_cmds_CXX | \
18235 old_archive_from_new_cmds_CXX | \
18236 archive_cmds_CXX | \
18237 archive_expsym_cmds_CXX | \
18238 module_cmds_CXX | \
18239 module_expsym_cmds_CXX | \
18240 old_archive_from_expsyms_cmds_CXX | \
18241 export_symbols_cmds_CXX | \
18242 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18243 postinstall_cmds | postuninstall_cmds | \
18244 old_postinstall_cmds | old_postuninstall_cmds | \
18245 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18246 # Double-quote double-evaled strings.
18247 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18250 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18256 *'\$0 --fallback-echo"')
18257 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18263 cat <<__EOF__ >> "$cfgfile"
18264 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18266 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18268 # Shell to use when invoking shell scripts.
18271 # Whether or not to build shared libraries.
18272 build_libtool_libs=$enable_shared
18274 # Whether or not to build static libraries.
18275 build_old_libs=$enable_static
18277 # Whether or not to add -lc for building shared libraries.
18278 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18280 # Whether or not to disallow shared libs when runtime libs are static
18281 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18283 # Whether or not to optimize for fast installation.
18284 fast_install=$enable_fast_install
18287 host_alias=$host_alias
18290 # An echo program that does not interpret backslashes.
18295 AR_FLAGS=$lt_AR_FLAGS
18300 # A language-specific compiler.
18301 CC=$lt_compiler_CXX
18303 # Is the compiler the GNU C compiler?
18309 # The linker used to build libraries.
18312 # Whether we need hard or soft links.
18315 # A BSD-compatible nm program.
18318 # A symbol stripping program
18321 # Used to examine libraries when file_magic_cmd begins "file"
18322 MAGIC_CMD=$MAGIC_CMD
18324 # Used on cygwin: DLL creation program.
18327 # Used on cygwin: object dumper.
18330 # Used on cygwin: assembler.
18333 # The name of the directory that contains temporary libtool files.
18336 # How to create reloadable object files.
18337 reload_flag=$lt_reload_flag
18338 reload_cmds=$lt_reload_cmds
18340 # How to pass a linker flag through the compiler.
18341 wl=$lt_lt_prog_compiler_wl_CXX
18343 # Object file suffix (normally "o").
18344 objext="$ac_objext"
18346 # Old archive suffix (normally "a").
18349 # Shared library suffix (normally ".so").
18350 shrext_cmds='$shrext_cmds'
18352 # Executable file suffix (normally "").
18355 # Additional compiler flags for building library objects.
18356 pic_flag=$lt_lt_prog_compiler_pic_CXX
18359 # What is the maximum length of a command?
18360 max_cmd_len=$lt_cv_sys_max_cmd_len
18362 # Does compiler simultaneously support -c and -o options?
18363 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18365 # Must we lock files when doing compilation ?
18366 need_locks=$lt_need_locks
18368 # Do we need the lib prefix for modules?
18369 need_lib_prefix=$need_lib_prefix
18371 # Do we need a version for libraries?
18372 need_version=$need_version
18374 # Whether dlopen is supported.
18375 dlopen_support=$enable_dlopen
18377 # Whether dlopen of programs is supported.
18378 dlopen_self=$enable_dlopen_self
18380 # Whether dlopen of statically linked programs is supported.
18381 dlopen_self_static=$enable_dlopen_self_static
18383 # Compiler flag to prevent dynamic linking.
18384 link_static_flag=$lt_lt_prog_compiler_static_CXX
18386 # Compiler flag to turn off builtin functions.
18387 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18389 # Compiler flag to allow reflexive dlopens.
18390 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18392 # Compiler flag to generate shared objects directly from archives.
18393 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18395 # Compiler flag to generate thread-safe objects.
18396 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
18398 # Library versioning type.
18399 version_type=$version_type
18401 # Format of library name prefix.
18402 libname_spec=$lt_libname_spec
18404 # List of archive names. First name is the real one, the rest are links.
18405 # The last name is the one that the linker finds with -lNAME.
18406 library_names_spec=$lt_library_names_spec
18408 # The coded name of the library, if different from the real name.
18409 soname_spec=$lt_soname_spec
18411 # Commands used to build and install an old-style archive.
18413 old_archive_cmds=$lt_old_archive_cmds_CXX
18414 old_postinstall_cmds=$lt_old_postinstall_cmds
18415 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18417 # Create an old-style archive from a shared archive.
18418 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18420 # Create a temporary old-style archive to link instead of a shared archive.
18421 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18423 # Commands used to build and install a shared archive.
18424 archive_cmds=$lt_archive_cmds_CXX
18425 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18426 postinstall_cmds=$lt_postinstall_cmds
18427 postuninstall_cmds=$lt_postuninstall_cmds
18429 # Commands used to build a loadable module (assumed same as above if empty)
18430 module_cmds=$lt_module_cmds_CXX
18431 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18433 # Commands to strip libraries.
18434 old_striplib=$lt_old_striplib
18435 striplib=$lt_striplib
18437 # Dependencies to place before the objects being linked to create a
18439 predep_objects=$lt_predep_objects_CXX
18441 # Dependencies to place after the objects being linked to create a
18443 postdep_objects=$lt_postdep_objects_CXX
18445 # Dependencies to place before the objects being linked to create a
18447 predeps=$lt_predeps_CXX
18449 # Dependencies to place after the objects being linked to create a
18451 postdeps=$lt_postdeps_CXX
18453 # The library search path used internally by the compiler when linking
18454 # a shared library.
18455 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18457 # Method to check whether dependent libraries are shared objects.
18458 deplibs_check_method=$lt_deplibs_check_method
18460 # Command to use when deplibs_check_method == file_magic.
18461 file_magic_cmd=$lt_file_magic_cmd
18463 # Flag that allows shared libraries with undefined symbols to be built.
18464 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18466 # Flag that forces no undefined symbols.
18467 no_undefined_flag=$lt_no_undefined_flag_CXX
18469 # Commands used to finish a libtool library installation in a directory.
18470 finish_cmds=$lt_finish_cmds
18472 # Same as above, but a single script fragment to be evaled but not shown.
18473 finish_eval=$lt_finish_eval
18475 # Take the output of nm and produce a listing of raw symbols and C names.
18476 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18478 # Transform the output of nm in a proper C declaration
18479 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18481 # Transform the output of nm in a C name address pair
18482 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18484 # This is the shared library runtime path variable.
18485 runpath_var=$runpath_var
18487 # This is the shared library path variable.
18488 shlibpath_var=$shlibpath_var
18490 # Is shlibpath searched before the hard-coded library search path?
18491 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18493 # How to hardcode a shared library path into an executable.
18494 hardcode_action=$hardcode_action_CXX
18496 # Whether we should hardcode library paths into libraries.
18497 hardcode_into_libs=$hardcode_into_libs
18499 # Flag to hardcode \$libdir into a binary during linking.
18500 # This must work even if \$libdir does not exist.
18501 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18503 # If ld is used when linking, flag to hardcode \$libdir into
18504 # a binary during linking. This must work even if \$libdir does
18506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18508 # Whether we need a single -rpath flag with a separated argument.
18509 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18511 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18512 # resulting binary.
18513 hardcode_direct=$hardcode_direct_CXX
18515 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18516 # resulting binary.
18517 hardcode_minus_L=$hardcode_minus_L_CXX
18519 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18520 # the resulting binary.
18521 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18523 # Set to yes if building a shared library automatically hardcodes DIR into the library
18524 # and all subsequent libraries and executables linked against it.
18525 hardcode_automatic=$hardcode_automatic_CXX
18527 # Variables whose values should be saved in libtool wrapper scripts and
18528 # restored at relink time.
18529 variables_saved_for_relink="$variables_saved_for_relink"
18531 # Whether libtool must link a program against all its dependency libraries.
18532 link_all_deplibs=$link_all_deplibs_CXX
18534 # Compile-time system search path for libraries
18535 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18537 # Run-time system search path for libraries
18538 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18540 # Fix the shell variable \$srcfile for the compiler.
18541 fix_srcfile_path="$fix_srcfile_path_CXX"
18543 # Set to yes if exported symbols are required.
18544 always_export_symbols=$always_export_symbols_CXX
18546 # The commands to list exported symbols.
18547 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18549 # The commands to extract the exported symbol list from a shared archive.
18550 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18552 # Symbols that should not be listed in the preloaded symbols.
18553 exclude_expsyms=$lt_exclude_expsyms_CXX
18555 # Symbols that must always be exported.
18556 include_expsyms=$lt_include_expsyms_CXX
18558 # ### END LIBTOOL TAG CONFIG: $tagname
18564 # If there is no Makefile yet, we rely on a make rule to execute
18565 # `config.status --recheck' to rerun these tests and create the
18566 # libtool script then.
18567 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18568 if test -f "$ltmain_in"; then
18569 test -f Makefile
&& make "$ltmain"
18575 ac_cpp
='$CPP $CPPFLAGS'
18576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18584 with_gnu_ldcxx
=$with_gnu_ld
18585 with_gnu_ld
=$lt_save_with_gnu_ld
18586 lt_cv_path_LDCXX
=$lt_cv_path_LD
18587 lt_cv_path_LD
=$lt_save_path_LD
18588 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18589 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18597 if test -n "$F77" && test "X$F77" != "Xno"; then
18600 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18601 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18602 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
18605 archive_cmds_need_lc_F77
=no
18606 allow_undefined_flag_F77
=
18607 always_export_symbols_F77
=no
18608 archive_expsym_cmds_F77
=
18609 export_dynamic_flag_spec_F77
=
18610 hardcode_direct_F77
=no
18611 hardcode_libdir_flag_spec_F77
=
18612 hardcode_libdir_flag_spec_ld_F77
=
18613 hardcode_libdir_separator_F77
=
18614 hardcode_minus_L_F77
=no
18615 hardcode_automatic_F77
=no
18617 module_expsym_cmds_F77
=
18618 link_all_deplibs_F77
=unknown
18619 old_archive_cmds_F77
=$old_archive_cmds
18620 no_undefined_flag_F77
=
18621 whole_archive_flag_spec_F77
=
18622 enable_shared_with_static_runtimes_F77
=no
18624 # Source file extension for f77 test sources.
18627 # Object file extension for compiled f77 test sources.
18631 # Code to be used in simple compile tests
18632 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
18634 # Code to be used in simple link tests
18635 lt_simple_link_test_code
=" program t\n end\n"
18637 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18639 # If no C compiler was specified, use CC.
18642 # Allow CC to be a program name with arguments.
18646 # Allow CC to be a program name with arguments.
18651 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
18653 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
18654 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
18655 echo "$as_me:$LINENO: result: $can_build_shared" >&5
18656 echo "${ECHO_T}$can_build_shared" >&6
18658 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
18659 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
18660 test "$can_build_shared" = "no" && enable_shared
=no
18662 # On AIX, shared libraries and static libraries use the same namespace, and
18663 # are all built from PIC.
18666 test "$enable_shared" = yes && enable_static
=no
18667 if test -n "$RANLIB"; then
18668 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
18669 postinstall_cmds
='$RANLIB $lib'
18673 test "$enable_shared" = yes && enable_static
=no
18676 echo "$as_me:$LINENO: result: $enable_shared" >&5
18677 echo "${ECHO_T}$enable_shared" >&6
18679 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
18680 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
18681 # Make sure either enable_shared or enable_static is yes.
18682 test "$enable_shared" = yes || enable_static
=yes
18683 echo "$as_me:$LINENO: result: $enable_static" >&5
18684 echo "${ECHO_T}$enable_static" >&6
18686 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
18691 lt_prog_compiler_wl_F77
=
18692 lt_prog_compiler_pic_F77
=
18693 lt_prog_compiler_static_F77
=
18695 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18696 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18698 if test "$GCC" = yes; then
18699 lt_prog_compiler_wl_F77
='-Wl,'
18700 lt_prog_compiler_static_F77
='-static'
18704 # All AIX code is PIC.
18705 if test "$host_cpu" = ia64
; then
18706 # AIX 5 now supports IA64 processor
18707 lt_prog_compiler_static_F77
='-Bstatic'
18712 # FIXME: we need at least 68020 code to build shared libraries, but
18713 # adding the `-m68020' flag to GCC prevents building anything better,
18715 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
18718 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18719 # PIC is the default for these OSes.
18722 mingw
* | pw32
* | os2
*)
18723 # This hack is so that the source file can tell whether it is being
18724 # built for inclusion in a dll (and should export symbols for example).
18725 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
18728 darwin
* | rhapsody
*)
18729 # PIC is the default on this platform
18730 # Common symbols not allowed in MH_DYLIB files
18731 lt_prog_compiler_pic_F77
='-fno-common'
18735 # Just because we use GCC doesn't mean we suddenly get shared libraries
18736 # on systems that don't support them.
18737 lt_prog_compiler_can_build_shared_F77
=no
18742 if test -d /usr
/nec
; then
18743 lt_prog_compiler_pic_F77
=-Kconform_pic
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
='-fPIC'
18761 lt_prog_compiler_pic_F77
='-fPIC'
18765 # PORTME Check for flag to pass linker flags through the system compiler.
18768 lt_prog_compiler_wl_F77
='-Wl,'
18769 if test "$host_cpu" = ia64
; then
18770 # AIX 5 now supports IA64 processor
18771 lt_prog_compiler_static_F77
='-Bstatic'
18773 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
18777 # PIC is the default on this platform
18778 # Common symbols not allowed in MH_DYLIB files
18779 case "$cc_basename" in
18781 lt_prog_compiler_pic_F77
='-qnocommon'
18782 lt_prog_compiler_wl_F77
='-Wl,'
18787 mingw
* | pw32
* | os2
*)
18788 # This hack is so that the source file can tell whether it is being
18789 # built for inclusion in a dll (and should export symbols for example).
18790 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
18793 hpux9
* | hpux10
* | hpux11
*)
18794 lt_prog_compiler_wl_F77
='-Wl,'
18795 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18796 # not for PA HP-UX.
18797 case "$host_cpu" in
18802 lt_prog_compiler_pic_F77
='+Z'
18805 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18806 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
18809 irix5
* | irix6
* | nonstopux
*)
18810 lt_prog_compiler_wl_F77
='-Wl,'
18811 # PIC (with -KPIC) is the default.
18812 lt_prog_compiler_static_F77
='-non_shared'
18816 lt_prog_compiler_pic_F77
='-KPIC'
18817 lt_prog_compiler_static_F77
='-Bstatic'
18823 lt_prog_compiler_wl_F77
='-Wl,'
18824 lt_prog_compiler_pic_F77
='-KPIC'
18825 lt_prog_compiler_static_F77
='-static'
18828 lt_prog_compiler_wl_F77
='-Wl,'
18829 # All Alpha code is PIC.
18830 lt_prog_compiler_static_F77
='-non_shared'
18835 osf3
* | osf4
* | osf5
*)
18836 lt_prog_compiler_wl_F77
='-Wl,'
18837 # All OSF/1 code is PIC.
18838 lt_prog_compiler_static_F77
='-non_shared'
18842 lt_prog_compiler_pic_F77
='-Kpic'
18843 lt_prog_compiler_static_F77
='-dn'
18847 lt_prog_compiler_wl_F77
='-Wl,'
18848 lt_prog_compiler_pic_F77
='-KPIC'
18849 lt_prog_compiler_static_F77
='-Bstatic'
18853 lt_prog_compiler_wl_F77
='-Qoption ld '
18854 lt_prog_compiler_pic_F77
='-PIC'
18855 lt_prog_compiler_static_F77
='-Bstatic'
18858 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18859 lt_prog_compiler_wl_F77
='-Wl,'
18860 lt_prog_compiler_pic_F77
='-KPIC'
18861 lt_prog_compiler_static_F77
='-Bstatic'
18865 if test -d /usr
/nec
;then
18866 lt_prog_compiler_pic_F77
='-Kconform_pic'
18867 lt_prog_compiler_static_F77
='-Bstatic'
18872 lt_prog_compiler_pic_F77
='-pic'
18873 lt_prog_compiler_static_F77
='-Bstatic'
18877 lt_prog_compiler_can_build_shared_F77
=no
18882 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
18883 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
18886 # Check to make sure the PIC flag actually works.
18888 if test -n "$lt_prog_compiler_pic_F77"; then
18890 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
18891 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
18892 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 lt_prog_compiler_pic_works_F77
=no
18896 ac_outfile
=conftest.
$ac_objext
18897 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18898 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
18899 # Insert the option either (1) after the last *FLAGS variable, or
18900 # (2) before a word containing "conftest.", or (3) at the end.
18901 # Note that $ac_compile itself does not contain backslashes and begins
18902 # with a dollar sign (not a hyphen), so the echo should work correctly.
18903 # The option is referenced via a variable to avoid confusing sed.
18904 lt_compile
=`echo "$ac_compile" | $SED \
18905 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18906 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18907 -e 's:$: $lt_compiler_flag:'`
18908 (eval echo "\"\$as_me:18908: $lt_compile\"" >&5)
18909 (eval "$lt_compile" 2>conftest.err
)
18911 cat conftest.err
>&5
18912 echo "$as_me:18912: \$? = $ac_status" >&5
18913 if (exit $ac_status) && test -s "$ac_outfile"; then
18914 # The compiler can only warn and ignore the option if not recognized
18915 # So say no if there are warnings
18916 if test ! -s conftest.err
; then
18917 lt_prog_compiler_pic_works_F77
=yes
18923 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
18924 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
18926 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
18927 case $lt_prog_compiler_pic_F77 in
18929 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
18932 lt_prog_compiler_pic_F77
=
18933 lt_prog_compiler_can_build_shared_F77
=no
18938 # For platforms which do not support PIC, -DPIC is meaningless:
18940 lt_prog_compiler_pic_F77
=
18943 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
18947 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18948 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18949 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
18950 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 lt_cv_prog_compiler_c_o_F77
=no
18953 $rm -r conftest
2>/dev
/null
18957 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18959 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18960 # Insert the option either (1) after the last *FLAGS variable, or
18961 # (2) before a word containing "conftest.", or (3) at the end.
18962 # Note that $ac_compile itself does not contain backslashes and begins
18963 # with a dollar sign (not a hyphen), so the echo should work correctly.
18964 lt_compile
=`echo "$ac_compile" | $SED \
18965 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18966 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18967 -e 's:$: $lt_compiler_flag:'`
18968 (eval echo "\"\$as_me:18968: $lt_compile\"" >&5)
18969 (eval "$lt_compile" 2>out
/conftest.err
)
18971 cat out
/conftest.err
>&5
18972 echo "$as_me:18972: \$? = $ac_status" >&5
18973 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18975 # The compiler can only warn and ignore the option if not recognized
18976 # So say no if there are warnings
18977 if test ! -s out
/conftest.err
; then
18978 lt_cv_prog_compiler_c_o_F77
=yes
18983 # SGI C++ compiler will create directory out/ii_files/ for
18984 # template instantiation
18985 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18986 $rm out
/* && rmdir out
18992 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
18993 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
18996 hard_links
="nottested"
18997 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
18998 # do not overwrite the value of need_locks provided by the user
18999 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19000 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
19003 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19005 ln conftest.a conftest.b
2>&5 || hard_links
=no
19006 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19007 echo "$as_me:$LINENO: result: $hard_links" >&5
19008 echo "${ECHO_T}$hard_links" >&6
19009 if test "$hard_links" = no
; then
19010 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19011 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19018 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19019 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
19022 allow_undefined_flag_F77
=
19023 enable_shared_with_static_runtimes_F77
=no
19025 archive_expsym_cmds_F77
=
19026 old_archive_From_new_cmds_F77
=
19027 old_archive_from_expsyms_cmds_F77
=
19028 export_dynamic_flag_spec_F77
=
19029 whole_archive_flag_spec_F77
=
19030 thread_safe_flag_spec_F77
=
19031 hardcode_libdir_flag_spec_F77
=
19032 hardcode_libdir_flag_spec_ld_F77
=
19033 hardcode_libdir_separator_F77
=
19034 hardcode_direct_F77
=no
19035 hardcode_minus_L_F77
=no
19036 hardcode_shlibpath_var_F77
=unsupported
19037 link_all_deplibs_F77
=unknown
19038 hardcode_automatic_F77
=no
19040 module_expsym_cmds_F77
=
19041 always_export_symbols_F77
=no
19042 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19043 # include_expsyms should be a list of space-separated symbols to be *always*
19044 # included in the symbol list
19045 include_expsyms_F77
=
19046 # exclude_expsyms can be an extended regexp of symbols to exclude
19047 # it will be wrapped by ` (' and `)$', so one must not match beginning or
19048 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19049 # as well as any symbol that contains `d'.
19050 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
19051 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19052 # platforms (ab)use it in PIC code, but their linkers get confused if
19053 # the symbol is explicitly referenced. Since portable code cannot
19054 # rely on this symbol name, it's probably fine to never include it in
19055 # preloaded symbol tables.
19056 extract_expsyms_cmds
=
19059 cygwin
* | mingw
* | pw32
*)
19060 # FIXME: the MSVC++ port hasn't been tested in a loooong time
19061 # When not using gcc, we currently assume that we are using
19062 # Microsoft Visual C++.
19063 if test "$GCC" != yes; then
19073 if test "$with_gnu_ld" = yes; then
19074 # If archive_cmds runs LD, not CC, wlarc should be empty
19077 # See if GNU ld supports shared libraries.
19079 aix3
* | aix4
* | aix5
*)
19080 # On AIX/PPC, the GNU linker is very broken
19081 if test "$host_cpu" != ia64
; then
19085 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
19086 *** to be unable to reliably create shared libraries on AIX.
19087 *** Therefore, libtool is disabling shared libraries support. If you
19088 *** really care for shared libraries, you may want to modify your PATH
19089 *** so that a non-GNU linker is found, and then restart.
19096 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)'
19097 hardcode_libdir_flag_spec_F77
='-L$libdir'
19098 hardcode_minus_L_F77
=yes
19100 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19101 # that the semantics of dynamic libraries on AmigaOS, at least up
19102 # to version 4, is to share data among multiple programs linked
19103 # with the same dynamic library. Since this doesn't match the
19104 # behavior of shared libraries on other platforms, we can't use
19110 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19111 allow_undefined_flag_F77
=unsupported
19112 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19113 # support --undefined. This deserves some investigation. FIXME
19114 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19120 cygwin
* | mingw
* | pw32
*)
19121 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
19122 # as there is no search path for DLLs.
19123 hardcode_libdir_flag_spec_F77
='-L$libdir'
19124 allow_undefined_flag_F77
=unsupported
19125 always_export_symbols_F77
=no
19126 enable_shared_with_static_runtimes_F77
=yes
19127 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19129 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
19130 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19131 # If the export-symbols file already is a .def file (1st line
19132 # is EXPORTS), use it as is; otherwise, prepend...
19133 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19134 cp $export_symbols $output_objdir/$soname.def;
19136 echo EXPORTS > $output_objdir/$soname.def;
19137 cat $export_symbols >> $output_objdir/$soname.def;
19139 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19146 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19147 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19150 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19151 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19156 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
19160 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19161 *** create shared libraries on Solaris systems. Therefore, libtool
19162 *** is disabling shared libraries support. We urge you to upgrade GNU
19163 *** binutils to release 2.9.1 or newer. Another option is to modify
19164 *** your PATH or compiler configuration so that the native linker is
19165 *** used, and then restart.
19168 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19169 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19170 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19177 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19179 hardcode_direct_F77
=yes
19180 hardcode_shlibpath_var_F77
=no
19184 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19185 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19186 archive_cmds_F77
="$tmp_archive_cmds"
19187 supports_anon_versioning
=no
19188 case `$LD -v 2>/dev/null` in
19189 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
19190 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
19191 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
19192 *\
2.11.
*) ;; # other 2.11 versions
19193 *) supports_anon_versioning
=yes ;;
19195 if test $supports_anon_versioning = yes; then
19196 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
19197 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19198 $echo "local: *; };" >> $output_objdir/$libname.ver~
19199 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19201 archive_expsym_cmds_F77
="$tmp_archive_cmds"
19209 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19210 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19211 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19218 if test "$ld_shlibs_F77" = yes; then
19219 runpath_var
=LD_RUN_PATH
19220 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
19221 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
19222 # ancient GNU ld didn't support --whole-archive et. al.
19223 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
19224 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19226 whole_archive_flag_spec_F77
=
19230 # PORTME fill in a description of your system's linker (not GNU ld)
19233 allow_undefined_flag_F77
=unsupported
19234 always_export_symbols_F77
=yes
19235 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'
19236 # Note: this linker hardcodes the directories in LIBPATH if there
19237 # are no directories specified by -L.
19238 hardcode_minus_L_F77
=yes
19239 if test "$GCC" = yes && test -z "$link_static_flag"; then
19240 # Neither direct hardcoding nor static linking is supported with a
19242 hardcode_direct_F77
=unsupported
19247 if test "$host_cpu" = ia64
; then
19248 # On IA64, the linker does run time linking by default, so we don't
19249 # have to do anything special.
19250 aix_use_runtimelinking
=no
19251 exp_sym_flag
='-Bexport'
19254 # If we're using GNU nm, then we don't want the "-C" option.
19255 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19256 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19257 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'
19259 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'
19261 aix_use_runtimelinking
=no
19263 # Test if we are trying to use run time linking or normal
19264 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19265 # need to do runtime linking.
19266 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
19267 for ld_flag
in $LDFLAGS; do
19268 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
19269 aix_use_runtimelinking
=yes
19275 exp_sym_flag
='-bexport'
19276 no_entry_flag
='-bnoentry'
19279 # When large executables or shared objects are built, AIX ld can
19280 # have problems creating the table of contents. If linking a library
19281 # or program results in "error TOC overflow" add -mminimal-toc to
19282 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19283 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19285 archive_cmds_F77
=''
19286 hardcode_direct_F77
=yes
19287 hardcode_libdir_separator_F77
=':'
19288 link_all_deplibs_F77
=yes
19290 if test "$GCC" = yes; then
19291 case $host_os in aix4.012|aix4.012.
*)
19292 # We only want to do this on AIX 4.2 and lower, the check
19293 # below for broken collect2 doesn't work under 4.3+
19294 collect2name
=`${CC} -print-prog-name=collect2`
19295 if test -f "$collect2name" && \
19296 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
19298 # We have reworked collect2
19299 hardcode_direct_F77
=yes
19301 # We have old collect2
19302 hardcode_direct_F77
=unsupported
19303 # It fails to find uninstalled libraries when the uninstalled
19304 # path is not listed in the libpath. Setting hardcode_minus_L
19305 # to unsupported forces relinking
19306 hardcode_minus_L_F77
=yes
19307 hardcode_libdir_flag_spec_F77
='-L$libdir'
19308 hardcode_libdir_separator_F77
=
19311 shared_flag
='-shared'
19314 if test "$host_cpu" = ia64
; then
19315 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19316 # chokes on -Wl,-G. The following line is correct:
19319 if test "$aix_use_runtimelinking" = yes; then
19320 shared_flag
='${wl}-G'
19322 shared_flag
='${wl}-bM:SRE'
19327 # It seems that -bexpall does not export symbols beginning with
19328 # underscore (_), so it is better to generate a list of symbols to export.
19329 always_export_symbols_F77
=yes
19330 if test "$aix_use_runtimelinking" = yes; then
19331 # Warning - without using the other runtime loading flags (-brtl),
19332 # -berok will link without error, but may produce a broken library.
19333 allow_undefined_flag_F77
='-berok'
19334 # Determine the default libpath from the value encoded in an empty executable.
19335 cat >conftest.
$ac_ext <<_ACEOF
19340 rm -f conftest.
$ac_objext conftest
$ac_exeext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19342 (eval $ac_link) 2>conftest.er1
19344 grep -v '^ *+' conftest.er1
>conftest.err
19346 cat conftest.err
>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try
='test -z "$ac_f77_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try
='test -s conftest$ac_exeext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19363 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19365 # Check for a 64-bit object if we didn't find anything.
19366 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; }
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.
$ac_ext >&5
19373 rm -f conftest.err conftest.
$ac_objext \
19374 conftest
$ac_exeext conftest.
$ac_ext
19375 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
19377 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
19378 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"
19380 if test "$host_cpu" = ia64; then
19381 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
19382 allow_undefined_flag_F77="-z nodefs"
19383 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"
19385 # Determine the default libpath from the value encoded in an empty executable.
19386 cat >conftest.$ac_ext <<_ACEOF
19391 rm -f conftest.$ac_objext conftest$ac_exeext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19393 (eval $ac_link) 2>conftest.er1
19395 grep -v '^ *+' conftest.er1 >conftest.err
19397 cat conftest.err >&5
19398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try='test -z "$ac_f77_werror_flag"
19401 || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try='test -s conftest$ac_exeext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19412 (exit $ac_status); }; }; then
19414 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19416 # Check for a 64-bit object if we didn't find anything.
19417 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; }
19420 echo "$as_me: failed program was
:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19424 rm -f conftest.err conftest.$ac_objext \
19425 conftest$ac_exeext conftest.$ac_ext
19426 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
19428 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
19429 # Warning - without using the other run time loading flags,
19430 # -berok will link without error, but may produce a broken library.
19431 no_undefined_flag_F77=' ${wl}-bernotok'
19432 allow_undefined_flag_F77=' ${wl}-berok'
19433 # -bexpall does not export symbols beginning with underscore (_)
19434 always_export_symbols_F77=yes
19435 # Exported symbols can be pulled into shared objects from archives
19436 whole_archive_flag_spec_F77=' '
19437 archive_cmds_need_lc_F77=yes
19438 # This is similar to how AIX traditionally builds it's shared libraries.
19439 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'
19445 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)'
19446 hardcode_libdir_flag_spec_F77
='-L$libdir'
19447 hardcode_minus_L_F77
=yes
19448 # see comment about different semantics on the GNU ld section
19453 export_dynamic_flag_spec_F77
=-rdynamic
19456 cygwin
* | mingw
* | pw32
*)
19457 # When not using gcc, we currently assume that we are using
19458 # Microsoft Visual C++.
19459 # hardcode_libdir_flag_spec is actually meaningless, as there is
19460 # no search path for DLLs.
19461 hardcode_libdir_flag_spec_F77
=' '
19462 allow_undefined_flag_F77
=unsupported
19463 # Tell ltmain to make .lib files, not .a files.
19465 # Tell ltmain to make .dll files, not .so files.
19467 # FIXME: Setting linknames here is a bad hack.
19468 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19469 # The linker will automatically build a .lib file if we build a DLL.
19470 old_archive_From_new_cmds_F77
='true'
19471 # FIXME: Should let the user specify the lib program.
19472 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
19473 fix_srcfile_path
='`cygpath -w "$srcfile"`'
19474 enable_shared_with_static_runtimes_F77
=yes
19477 darwin
* | rhapsody
*)
19479 rhapsody
* | darwin1.
[012])
19480 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
19483 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19484 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19486 case ${MACOSX_DEPLOYMENT_TARGET} in
19488 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19491 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
19497 archive_cmds_need_lc_F77
=no
19498 hardcode_direct_F77
=no
19499 hardcode_automatic_F77
=yes
19500 hardcode_shlibpath_var_F77
=unsupported
19501 whole_archive_flag_spec_F77
=''
19502 link_all_deplibs_F77
=yes
19503 if test "$GCC" = yes ; then
19504 output_verbose_link_cmd
='echo'
19505 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19506 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19507 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19508 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}'
19509 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}'
19511 case "$cc_basename" in
19513 output_verbose_link_cmd
='echo'
19514 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
19515 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19516 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19517 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}'
19518 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}'
19528 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19529 hardcode_libdir_flag_spec_F77
='-L$libdir'
19530 hardcode_shlibpath_var_F77
=no
19537 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19538 # support. Future versions do this automatically, but an explicit c++rt0.o
19539 # does not break anything, and helps significantly (at the cost of a little
19542 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19543 hardcode_libdir_flag_spec_F77
='-R$libdir'
19544 hardcode_direct_F77
=yes
19545 hardcode_shlibpath_var_F77
=no
19548 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19550 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19551 hardcode_direct_F77
=yes
19552 hardcode_minus_L_F77
=yes
19553 hardcode_shlibpath_var_F77
=no
19556 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19557 freebsd
* | kfreebsd
*-gnu)
19558 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19559 hardcode_libdir_flag_spec_F77
='-R$libdir'
19560 hardcode_direct_F77
=yes
19561 hardcode_shlibpath_var_F77
=no
19565 if test "$GCC" = yes; then
19566 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'
19568 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'
19570 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
19571 hardcode_libdir_separator_F77
=:
19572 hardcode_direct_F77
=yes
19574 # hardcode_minus_L: Not really in the search PATH,
19575 # but as the default location of the library.
19576 hardcode_minus_L_F77
=yes
19577 export_dynamic_flag_spec_F77
='${wl}-E'
19581 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19582 case "$host_cpu" in
19584 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19587 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19591 case "$host_cpu" in
19593 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19596 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19600 if test "$with_gnu_ld" = no
; then
19601 case "$host_cpu" in
19603 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
19604 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
19605 hardcode_libdir_separator_F77
=:
19606 hardcode_direct_F77
=no
19607 hardcode_shlibpath_var_F77
=no
19610 hardcode_libdir_flag_spec_F77
='-L$libdir'
19611 hardcode_direct_F77
=no
19612 hardcode_shlibpath_var_F77
=no
19614 # hardcode_minus_L: Not really in the search PATH,
19615 # but as the default location of the library.
19616 hardcode_minus_L_F77
=yes
19619 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
19620 hardcode_libdir_separator_F77
=:
19621 hardcode_direct_F77
=yes
19622 export_dynamic_flag_spec_F77
='${wl}-E'
19624 # hardcode_minus_L: Not really in the search PATH,
19625 # but as the default location of the library.
19626 hardcode_minus_L_F77
=yes
19632 irix5
* | irix6
* | nonstopux
*)
19633 if test "$GCC" = yes; then
19634 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'
19636 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'
19637 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
19639 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
19640 hardcode_libdir_separator_F77
=:
19641 link_all_deplibs_F77
=yes
19645 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19646 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19648 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19650 hardcode_libdir_flag_spec_F77
='-R$libdir'
19651 hardcode_direct_F77
=yes
19652 hardcode_shlibpath_var_F77
=no
19656 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19657 hardcode_direct_F77
=yes
19658 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
19659 hardcode_libdir_separator_F77
=:
19660 hardcode_shlibpath_var_F77
=no
19664 hardcode_direct_F77
=yes
19665 hardcode_shlibpath_var_F77
=no
19666 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19667 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19668 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19669 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
19670 export_dynamic_flag_spec_F77
='${wl}-E'
19673 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19674 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19675 hardcode_libdir_flag_spec_F77
='-R$libdir'
19678 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19679 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
19686 hardcode_libdir_flag_spec_F77
='-L$libdir'
19687 hardcode_minus_L_F77
=yes
19688 allow_undefined_flag_F77
=unsupported
19689 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'
19690 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19694 if test "$GCC" = yes; then
19695 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
19696 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'
19698 allow_undefined_flag_F77
=' -expect_unresolved \*'
19699 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'
19701 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
19702 hardcode_libdir_separator_F77
=:
19705 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19706 if test "$GCC" = yes; then
19707 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
19708 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'
19709 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
19711 allow_undefined_flag_F77
=' -expect_unresolved \*'
19712 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'
19713 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~
19714 $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'
19716 # Both c and cxx compiler support -rpath directly
19717 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
19719 hardcode_libdir_separator_F77
=:
19723 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19724 hardcode_shlibpath_var_F77
=no
19725 export_dynamic_flag_spec_F77
='${wl}-Bexport'
19726 runpath_var
=LD_RUN_PATH
19727 hardcode_runpath_var
=yes
19731 no_undefined_flag_F77
=' -z text'
19732 if test "$GCC" = yes; then
19733 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19734 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19735 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19737 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19738 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19739 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19741 hardcode_libdir_flag_spec_F77
='-R$libdir'
19742 hardcode_shlibpath_var_F77
=no
19744 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19745 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
19746 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
19748 link_all_deplibs_F77
=yes
19752 if test "x$host_vendor" = xsequent
; then
19753 # Use $CC to link under sequent, because it throws in some extra .o
19754 # files that make .init and .fini sections work.
19755 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19757 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19759 hardcode_libdir_flag_spec_F77
='-L$libdir'
19760 hardcode_direct_F77
=yes
19761 hardcode_minus_L_F77
=yes
19762 hardcode_shlibpath_var_F77
=no
19766 case $host_vendor in
19768 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19769 hardcode_direct_F77
=yes # is this really true???
19772 ## LD is ld it makes a PLAMLIB
19773 ## CC just makes a GrossModule.
19774 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19775 reload_cmds_F77
='$CC -r -o $output$reload_objs'
19776 hardcode_direct_F77
=no
19779 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19780 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
19783 runpath_var
='LD_RUN_PATH'
19784 hardcode_shlibpath_var_F77
=no
19788 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19789 hardcode_shlibpath_var_F77
=no
19790 export_dynamic_flag_spec_F77
='-Bexport'
19794 if test -d /usr
/nec
; then
19795 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19796 hardcode_shlibpath_var_F77
=no
19797 runpath_var
=LD_RUN_PATH
19798 hardcode_runpath_var
=yes
19804 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19805 hardcode_direct_F77
=yes
19806 hardcode_minus_L_F77
=no
19807 hardcode_shlibpath_var_F77
=no
19808 hardcode_runpath_var
=yes
19809 runpath_var
=LD_RUN_PATH
19812 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
19813 no_undefined_flag_F77
='${wl}-z ${wl}text'
19814 if test "$GCC" = yes; then
19815 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19817 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19819 runpath_var
='LD_RUN_PATH'
19820 hardcode_shlibpath_var_F77
=no
19824 no_undefined_flag_F77
=' -z text'
19825 # $CC -shared without GNU ld will not create a library from C++
19826 # object files and a static libstdc++, better avoid it by now
19827 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19828 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19829 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19830 hardcode_libdir_flag_spec_F77
=
19831 hardcode_shlibpath_var_F77
=no
19832 runpath_var
='LD_RUN_PATH'
19836 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19837 hardcode_libdir_flag_spec_F77
='-L$libdir'
19838 hardcode_shlibpath_var_F77
=no
19847 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
19848 echo "${ECHO_T}$ld_shlibs_F77" >&6
19849 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
19851 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19852 if test "$GCC" = yes; then
19853 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19857 # Do we need to explicitly link libc?
19859 case "x$archive_cmds_need_lc_F77" in
19861 # Assume -lc should be added
19862 archive_cmds_need_lc_F77
=yes
19864 if test "$enable_shared" = yes && test "$GCC" = yes; then
19865 case $archive_cmds_F77 in
19867 # FIXME: we may have to deal with multi-command sequences.
19870 # Test whether the compiler implicitly links with -lc since on some
19871 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19872 # to ld, don't add -lc before -lgcc.
19873 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19874 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
19876 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19879 (eval $ac_compile) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } 2>conftest.err
; then
19885 libobjs
=conftest.
$ac_objext
19887 wl
=$lt_prog_compiler_wl_F77
19893 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
19894 allow_undefined_flag_F77
=
19895 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19896 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }
19901 archive_cmds_need_lc_F77
=no
19903 archive_cmds_need_lc_F77
=yes
19905 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
19907 cat conftest.err
1>&5
19910 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
19911 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
19918 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19919 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19920 library_names_spec
=
19921 libname_spec
='lib$name'
19925 postuninstall_cmds
=
19929 shlibpath_overrides_runpath
=unknown
19931 dynamic_linker
="$host_os ld.so"
19932 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19933 if test "$GCC" = yes; then
19934 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19935 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19936 # if the path contains ";" then we assume it to be the separator
19937 # otherwise default to the standard path separator (i.e. ":") - it is
19938 # assumed that no part of a normal pathname contains ";" but that should
19939 # okay in the real world where ";" in dirpaths is itself problematic.
19940 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19942 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19945 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19947 need_lib_prefix
=unknown
19948 hardcode_into_libs
=no
19950 # when you set need_version to no, make sure it does not cause -set_version
19951 # flags to be left without arguments
19952 need_version
=unknown
19957 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19958 shlibpath_var
=LIBPATH
19960 # AIX 3 has no versioning support, so we append a major version to the name.
19961 soname_spec
='${libname}${release}${shared_ext}$major'
19968 hardcode_into_libs
=yes
19969 if test "$host_cpu" = ia64
; then
19970 # AIX 5 supports IA64
19971 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19972 shlibpath_var
=LD_LIBRARY_PATH
19974 # With GCC up to 2.95.x, collect2 would create an import file
19975 # for dependence libraries. The import file would start with
19976 # the line `#! .'. This would cause the generated library to
19977 # depend on `.', always an invalid library. This was fixed in
19978 # development snapshots of GCC prior to 3.0.
19980 aix4 | aix4.
[01] | aix4.
[01].
*)
19981 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19983 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19986 can_build_shared
=no
19990 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19991 # soname into executable. Probably we can add versioning support to
19992 # collect2, so additional links can be useful in future.
19993 if test "$aix_use_runtimelinking" = yes; then
19994 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19995 # instead of lib<name>.a to let people know that these are not
19996 # typical AIX shared libraries.
19997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19999 # We preserve .a as extension for shared libraries through AIX4.2
20000 # and later when we are not doing run time linking.
20001 library_names_spec
='${libname}${release}.a $libname.a'
20002 soname_spec
='${libname}${release}${shared_ext}$major'
20004 shlibpath_var
=LIBPATH
20009 library_names_spec
='$libname.ixlibrary $libname.a'
20010 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20011 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'
20015 library_names_spec
='${libname}${shared_ext}'
20016 dynamic_linker
="$host_os ld.so"
20017 shlibpath_var
=LIBRARY_PATH
20023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20024 soname_spec
='${libname}${release}${shared_ext}$major'
20025 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20026 shlibpath_var
=LD_LIBRARY_PATH
20027 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20028 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20029 # the default ld.so.conf also contains /usr/contrib/lib and
20030 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20031 # libtool to hard-code these into programs
20034 cygwin
* | mingw
* | pw32
*)
20035 version_type
=windows
20040 case $GCC,$host_os in
20041 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20042 library_names_spec
='$libname.dll.a'
20043 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20044 postinstall_cmds
='base_file=`basename \${file}`~
20045 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20046 dldir=$destdir/`dirname \$dlpath`~
20047 test -d \$dldir || mkdir -p \$dldir~
20048 $install_prog $dir/$dlname \$dldir/$dlname'
20049 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20050 dlpath=$dir/\$dldll~
20052 shlibpath_overrides_runpath
=yes
20056 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20057 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20058 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20061 # MinGW DLLs use traditional 'lib' prefix
20062 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20063 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20064 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20065 # It is most probably a Windows format PATH printed by
20066 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20067 # path with ; separators, and with drive letters. We can handle the
20068 # drive letters (cygwin fileutils understands them), so leave them,
20069 # especially as we might pass files found there to a mingw objdump,
20070 # which wouldn't understand a cygwinified path. Ahh.
20071 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20073 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20077 # pw32 DLLs use 'pw' prefix rather than 'lib'
20078 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20084 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20087 dynamic_linker
='Win32 ld.exe'
20088 # FIXME: first we should search . and the directory the executable is in
20092 darwin
* | rhapsody
*)
20093 dynamic_linker
="$host_os dyld"
20094 version_type
=darwin
20097 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20098 soname_spec
='${libname}${release}${major}$shared_ext'
20099 shlibpath_overrides_runpath
=yes
20100 shlibpath_var
=DYLD_LIBRARY_PATH
20101 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
20102 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20103 if test "$GCC" = yes; then
20104 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"`
20106 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20108 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20116 soname_spec
='${libname}${release}${shared_ext}$major'
20117 shlibpath_var
=LD_LIBRARY_PATH
20128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20129 soname_spec
='${libname}${release}${shared_ext}$major'
20130 shlibpath_var
=LD_LIBRARY_PATH
20131 shlibpath_overrides_runpath
=no
20132 hardcode_into_libs
=yes
20133 dynamic_linker
='GNU ld.so'
20137 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20138 version_type
=freebsd-
$objformat
20139 case $version_type in
20141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20146 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20150 shlibpath_var
=LD_LIBRARY_PATH
20153 shlibpath_overrides_runpath
=yes
20155 freebsd3.01
* | freebsdelf3.01
*)
20156 shlibpath_overrides_runpath
=yes
20157 hardcode_into_libs
=yes
20160 shlibpath_overrides_runpath
=no
20161 hardcode_into_libs
=yes
20170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20171 soname_spec
='${libname}${release}${shared_ext}$major'
20172 shlibpath_var
=LD_LIBRARY_PATH
20173 hardcode_into_libs
=yes
20176 hpux9
* | hpux10
* | hpux11
*)
20177 # Give a soname corresponding to the major version so that dld.sl refuses to
20178 # link against other versions.
20182 case "$host_cpu" in
20185 hardcode_into_libs
=yes
20186 dynamic_linker
="$host_os dld.so"
20187 shlibpath_var
=LD_LIBRARY_PATH
20188 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20190 soname_spec
='${libname}${release}${shared_ext}$major'
20191 if test "X$HPUX_IA64_MODE" = X32
; then
20192 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20194 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20196 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20200 hardcode_into_libs
=yes
20201 dynamic_linker
="$host_os dld.sl"
20202 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20203 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20205 soname_spec
='${libname}${release}${shared_ext}$major'
20206 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20207 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20211 dynamic_linker
="$host_os dld.sl"
20212 shlibpath_var
=SHLIB_PATH
20213 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20215 soname_spec
='${libname}${release}${shared_ext}$major'
20218 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20219 postinstall_cmds
='chmod 555 $lib'
20222 irix5
* | irix6
* | nonstopux
*)
20224 nonstopux
*) version_type
=nonstopux
;;
20226 if test "$lt_cv_prog_gnu_ld" = yes; then
20234 soname_spec
='${libname}${release}${shared_ext}$major'
20235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20237 irix5
* | nonstopux
*)
20238 libsuff
= shlibsuff
=
20241 case $LD in # libtool.m4 will add one of these switches to LD
20242 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20243 libsuff
= shlibsuff
= libmagic
=32-bit;;
20244 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20245 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20246 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20247 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20248 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20252 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20253 shlibpath_overrides_runpath
=no
20254 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20255 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20256 hardcode_into_libs
=yes
20259 # No shared lib support for Linux oldld, aout, or coff.
20260 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20264 # This must be Linux ELF.
20269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20270 soname_spec
='${libname}${release}${shared_ext}$major'
20271 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20272 shlibpath_var
=LD_LIBRARY_PATH
20273 shlibpath_overrides_runpath
=no
20274 # This implies no fast_install, which is unacceptable.
20275 # Some rework will be needed to allow for fast_install
20276 # before this can be enabled.
20277 hardcode_into_libs
=yes
20279 # Append ld.so.conf contents to the search path
20280 if test -f /etc
/ld.so.conf
; then
20281 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
20282 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20285 # We used to test for /lib/ld.so.1 and disable shared libraries on
20286 # powerpc, because MkLinux only supported shared libraries with the
20287 # GNU dynamic linker. Since this was broken with cross compilers,
20288 # most powerpc-linux boxes support dynamic linking these days and
20289 # people can always --disable-shared, the test was removed, and we
20290 # assume the GNU/Linux dynamic linker is in use.
20291 dynamic_linker
='GNU/Linux ld.so'
20298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20299 soname_spec
='${libname}${release}${shared_ext}$major'
20300 shlibpath_var
=LD_LIBRARY_PATH
20301 shlibpath_overrides_runpath
=no
20302 hardcode_into_libs
=yes
20303 dynamic_linker
='GNU ld.so'
20310 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20312 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20313 dynamic_linker
='NetBSD (a.out) ld.so'
20315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20316 soname_spec
='${libname}${release}${shared_ext}$major'
20317 dynamic_linker
='NetBSD ld.elf_so'
20319 shlibpath_var
=LD_LIBRARY_PATH
20320 shlibpath_overrides_runpath
=yes
20321 hardcode_into_libs
=yes
20326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20327 shlibpath_var
=LD_LIBRARY_PATH
20328 shlibpath_overrides_runpath
=yes
20335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20336 soname_spec
='${libname}${release}${shared_ext}$major'
20337 shlibpath_var
=LD_LIBRARY_PATH
20338 shlibpath_overrides_runpath
=yes
20345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20346 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20347 shlibpath_var
=LD_LIBRARY_PATH
20348 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20350 openbsd2.
[89] | openbsd2.
[89].
*)
20351 shlibpath_overrides_runpath
=no
20354 shlibpath_overrides_runpath
=yes
20358 shlibpath_overrides_runpath
=yes
20363 libname_spec
='$name'
20366 library_names_spec
='$libname${shared_ext} $libname.a'
20367 dynamic_linker
='OS/2 ld.exe'
20368 shlibpath_var
=LIBPATH
20371 osf3
* | osf4
* | osf5
*)
20375 soname_spec
='${libname}${release}${shared_ext}$major'
20376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20377 shlibpath_var
=LD_LIBRARY_PATH
20378 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20379 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20384 soname_spec
='${libname}${release}${shared_ext}$major'
20385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20386 shlibpath_var
=LD_LIBRARY_PATH
20393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20394 soname_spec
='${libname}${release}${shared_ext}$major'
20395 shlibpath_var
=LD_LIBRARY_PATH
20396 shlibpath_overrides_runpath
=yes
20397 hardcode_into_libs
=yes
20398 # ldd complains unless libraries are executable
20399 postinstall_cmds
='chmod +x $lib'
20404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20405 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20406 shlibpath_var
=LD_LIBRARY_PATH
20407 shlibpath_overrides_runpath
=yes
20408 if test "$with_gnu_ld" = yes; then
20414 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
20416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20417 soname_spec
='${libname}${release}${shared_ext}$major'
20418 shlibpath_var
=LD_LIBRARY_PATH
20419 case $host_vendor in
20421 shlibpath_overrides_runpath
=no
20423 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20424 runpath_var
=LD_RUN_PATH
20432 shlibpath_overrides_runpath
=no
20433 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20439 if test -d /usr
/nec
;then
20441 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20442 soname_spec
='$libname${shared_ext}.$major'
20443 shlibpath_var
=LD_LIBRARY_PATH
20449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20450 soname_spec
='${libname}${release}${shared_ext}$major'
20451 shlibpath_var
=LD_LIBRARY_PATH
20458 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20459 echo "${ECHO_T}$dynamic_linker" >&6
20460 test "$dynamic_linker" = no
&& can_build_shared
=no
20462 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20463 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
20464 hardcode_action_F77
=
20465 if test -n "$hardcode_libdir_flag_spec_F77" || \
20466 test -n "$runpath_var_F77" || \
20467 test "X$hardcode_automatic_F77" = "Xyes" ; then
20469 # We can hardcode non-existant directories.
20470 if test "$hardcode_direct_F77" != no
&&
20471 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20472 # have to relink, otherwise we might link with an installed library
20473 # when we should be linking with a yet-to-be-installed one
20474 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
20475 test "$hardcode_minus_L_F77" != no
; then
20476 # Linking always hardcodes the temporary library directory.
20477 hardcode_action_F77
=relink
20479 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20480 hardcode_action_F77
=immediate
20483 # We cannot hardcode anything, or else we can only hardcode existing
20485 hardcode_action_F77
=unsupported
20487 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
20488 echo "${ECHO_T}$hardcode_action_F77" >&6
20490 if test "$hardcode_action_F77" = relink
; then
20491 # Fast installation is not supported
20492 enable_fast_install
=no
20493 elif test "$shlibpath_overrides_runpath" = yes ||
20494 test "$enable_shared" = no
; then
20495 # Fast installation is not necessary
20496 enable_fast_install
=needless
20501 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20502 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
20503 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
20504 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
20505 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
20506 echo "$as_me:$LINENO: result: yes" >&5
20507 echo "${ECHO_T}yes" >&6
20509 # FIXME - insert some real tests, host_os isn't really good enough
20512 if test -n "$STRIP" ; then
20513 striplib
="$STRIP -x"
20514 echo "$as_me:$LINENO: result: yes" >&5
20515 echo "${ECHO_T}yes" >&6
20517 echo "$as_me:$LINENO: result: no" >&5
20518 echo "${ECHO_T}no" >&6
20522 echo "$as_me:$LINENO: result: no" >&5
20523 echo "${ECHO_T}no" >&6
20530 # The else clause should only fire when bootstrapping the
20531 # libtool distribution, otherwise you forgot to ship ltmain.sh
20532 # with your package, and you will get complaints that there are
20533 # no rules to generate ltmain.sh.
20534 if test -f "$ltmain"; then
20535 # See if we are running on zsh, and set the options which allow our commands through
20536 # without removal of \ escapes.
20537 if test -n "${ZSH_VERSION+set}" ; then
20538 setopt NO_GLOB_SUBST
20540 # Now quote all the things that may contain metacharacters while being
20541 # careful not to overquote the AC_SUBSTed values. We take copies of the
20542 # variables and quote the copies for generation of the libtool script.
20543 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20545 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20546 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20547 deplibs_check_method reload_flag reload_cmds need_locks \
20548 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20549 lt_cv_sys_global_symbol_to_c_name_address \
20550 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20551 old_postinstall_cmds old_postuninstall_cmds \
20555 lt_prog_compiler_wl_F77 \
20556 lt_prog_compiler_pic_F77 \
20557 lt_prog_compiler_static_F77 \
20558 lt_prog_compiler_no_builtin_flag_F77 \
20559 export_dynamic_flag_spec_F77 \
20560 thread_safe_flag_spec_F77 \
20561 whole_archive_flag_spec_F77 \
20562 enable_shared_with_static_runtimes_F77 \
20563 old_archive_cmds_F77 \
20564 old_archive_from_new_cmds_F77 \
20565 predep_objects_F77 \
20566 postdep_objects_F77 \
20569 compiler_lib_search_path_F77 \
20571 archive_expsym_cmds_F77 \
20572 postinstall_cmds_F77 \
20573 postuninstall_cmds_F77 \
20574 old_archive_from_expsyms_cmds_F77 \
20575 allow_undefined_flag_F77 \
20576 no_undefined_flag_F77 \
20577 export_symbols_cmds_F77 \
20578 hardcode_libdir_flag_spec_F77 \
20579 hardcode_libdir_flag_spec_ld_F77 \
20580 hardcode_libdir_separator_F77 \
20581 hardcode_automatic_F77 \
20583 module_expsym_cmds_F77 \
20584 lt_cv_prog_compiler_c_o_F77 \
20585 exclude_expsyms_F77 \
20586 include_expsyms_F77
; do
20589 old_archive_cmds_F77 | \
20590 old_archive_from_new_cmds_F77 | \
20591 archive_cmds_F77 | \
20592 archive_expsym_cmds_F77 | \
20593 module_cmds_F77 | \
20594 module_expsym_cmds_F77 | \
20595 old_archive_from_expsyms_cmds_F77 | \
20596 export_symbols_cmds_F77 | \
20597 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20598 postinstall_cmds | postuninstall_cmds | \
20599 old_postinstall_cmds | old_postuninstall_cmds | \
20600 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20601 # Double-quote double-evaled strings.
20602 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20605 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20611 *'\$0 --fallback-echo"')
20612 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20618 cat <<__EOF__ >> "$cfgfile"
20619 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20621 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20623 # Shell to use when invoking shell scripts.
20626 # Whether or not to build shared libraries.
20627 build_libtool_libs=$enable_shared
20629 # Whether or not to build static libraries.
20630 build_old_libs=$enable_static
20632 # Whether or not to add -lc for building shared libraries.
20633 build_libtool_need_lc=$archive_cmds_need_lc_F77
20635 # Whether or not to disallow shared libs when runtime libs are static
20636 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
20638 # Whether or not to optimize for fast installation.
20639 fast_install=$enable_fast_install
20642 host_alias=$host_alias
20645 # An echo program that does not interpret backslashes.
20650 AR_FLAGS=$lt_AR_FLAGS
20655 # A language-specific compiler.
20656 CC=$lt_compiler_F77
20658 # Is the compiler the GNU C compiler?
20664 # The linker used to build libraries.
20667 # Whether we need hard or soft links.
20670 # A BSD-compatible nm program.
20673 # A symbol stripping program
20676 # Used to examine libraries when file_magic_cmd begins "file"
20677 MAGIC_CMD=$MAGIC_CMD
20679 # Used on cygwin: DLL creation program.
20682 # Used on cygwin: object dumper.
20685 # Used on cygwin: assembler.
20688 # The name of the directory that contains temporary libtool files.
20691 # How to create reloadable object files.
20692 reload_flag=$lt_reload_flag
20693 reload_cmds=$lt_reload_cmds
20695 # How to pass a linker flag through the compiler.
20696 wl=$lt_lt_prog_compiler_wl_F77
20698 # Object file suffix (normally "o").
20699 objext="$ac_objext"
20701 # Old archive suffix (normally "a").
20704 # Shared library suffix (normally ".so").
20705 shrext_cmds='$shrext_cmds'
20707 # Executable file suffix (normally "").
20710 # Additional compiler flags for building library objects.
20711 pic_flag=$lt_lt_prog_compiler_pic_F77
20714 # What is the maximum length of a command?
20715 max_cmd_len=$lt_cv_sys_max_cmd_len
20717 # Does compiler simultaneously support -c and -o options?
20718 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
20720 # Must we lock files when doing compilation ?
20721 need_locks=$lt_need_locks
20723 # Do we need the lib prefix for modules?
20724 need_lib_prefix=$need_lib_prefix
20726 # Do we need a version for libraries?
20727 need_version=$need_version
20729 # Whether dlopen is supported.
20730 dlopen_support=$enable_dlopen
20732 # Whether dlopen of programs is supported.
20733 dlopen_self=$enable_dlopen_self
20735 # Whether dlopen of statically linked programs is supported.
20736 dlopen_self_static=$enable_dlopen_self_static
20738 # Compiler flag to prevent dynamic linking.
20739 link_static_flag=$lt_lt_prog_compiler_static_F77
20741 # Compiler flag to turn off builtin functions.
20742 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
20744 # Compiler flag to allow reflexive dlopens.
20745 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
20747 # Compiler flag to generate shared objects directly from archives.
20748 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
20750 # Compiler flag to generate thread-safe objects.
20751 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
20753 # Library versioning type.
20754 version_type=$version_type
20756 # Format of library name prefix.
20757 libname_spec=$lt_libname_spec
20759 # List of archive names. First name is the real one, the rest are links.
20760 # The last name is the one that the linker finds with -lNAME.
20761 library_names_spec=$lt_library_names_spec
20763 # The coded name of the library, if different from the real name.
20764 soname_spec=$lt_soname_spec
20766 # Commands used to build and install an old-style archive.
20768 old_archive_cmds=$lt_old_archive_cmds_F77
20769 old_postinstall_cmds=$lt_old_postinstall_cmds
20770 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20772 # Create an old-style archive from a shared archive.
20773 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
20775 # Create a temporary old-style archive to link instead of a shared archive.
20776 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
20778 # Commands used to build and install a shared archive.
20779 archive_cmds=$lt_archive_cmds_F77
20780 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
20781 postinstall_cmds=$lt_postinstall_cmds
20782 postuninstall_cmds=$lt_postuninstall_cmds
20784 # Commands used to build a loadable module (assumed same as above if empty)
20785 module_cmds=$lt_module_cmds_F77
20786 module_expsym_cmds=$lt_module_expsym_cmds_F77
20788 # Commands to strip libraries.
20789 old_striplib=$lt_old_striplib
20790 striplib=$lt_striplib
20792 # Dependencies to place before the objects being linked to create a
20794 predep_objects=$lt_predep_objects_F77
20796 # Dependencies to place after the objects being linked to create a
20798 postdep_objects=$lt_postdep_objects_F77
20800 # Dependencies to place before the objects being linked to create a
20802 predeps=$lt_predeps_F77
20804 # Dependencies to place after the objects being linked to create a
20806 postdeps=$lt_postdeps_F77
20808 # The library search path used internally by the compiler when linking
20809 # a shared library.
20810 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
20812 # Method to check whether dependent libraries are shared objects.
20813 deplibs_check_method=$lt_deplibs_check_method
20815 # Command to use when deplibs_check_method == file_magic.
20816 file_magic_cmd=$lt_file_magic_cmd
20818 # Flag that allows shared libraries with undefined symbols to be built.
20819 allow_undefined_flag=$lt_allow_undefined_flag_F77
20821 # Flag that forces no undefined symbols.
20822 no_undefined_flag=$lt_no_undefined_flag_F77
20824 # Commands used to finish a libtool library installation in a directory.
20825 finish_cmds=$lt_finish_cmds
20827 # Same as above, but a single script fragment to be evaled but not shown.
20828 finish_eval=$lt_finish_eval
20830 # Take the output of nm and produce a listing of raw symbols and C names.
20831 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20833 # Transform the output of nm in a proper C declaration
20834 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20836 # Transform the output of nm in a C name address pair
20837 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20839 # This is the shared library runtime path variable.
20840 runpath_var=$runpath_var
20842 # This is the shared library path variable.
20843 shlibpath_var=$shlibpath_var
20845 # Is shlibpath searched before the hard-coded library search path?
20846 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20848 # How to hardcode a shared library path into an executable.
20849 hardcode_action=$hardcode_action_F77
20851 # Whether we should hardcode library paths into libraries.
20852 hardcode_into_libs=$hardcode_into_libs
20854 # Flag to hardcode \$libdir into a binary during linking.
20855 # This must work even if \$libdir does not exist.
20856 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
20858 # If ld is used when linking, flag to hardcode \$libdir into
20859 # a binary during linking. This must work even if \$libdir does
20861 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
20863 # Whether we need a single -rpath flag with a separated argument.
20864 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
20866 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20867 # resulting binary.
20868 hardcode_direct=$hardcode_direct_F77
20870 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20871 # resulting binary.
20872 hardcode_minus_L=$hardcode_minus_L_F77
20874 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20875 # the resulting binary.
20876 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
20878 # Set to yes if building a shared library automatically hardcodes DIR into the library
20879 # and all subsequent libraries and executables linked against it.
20880 hardcode_automatic=$hardcode_automatic_F77
20882 # Variables whose values should be saved in libtool wrapper scripts and
20883 # restored at relink time.
20884 variables_saved_for_relink="$variables_saved_for_relink"
20886 # Whether libtool must link a program against all its dependency libraries.
20887 link_all_deplibs=$link_all_deplibs_F77
20889 # Compile-time system search path for libraries
20890 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20892 # Run-time system search path for libraries
20893 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20895 # Fix the shell variable \$srcfile for the compiler.
20896 fix_srcfile_path="$fix_srcfile_path_F77"
20898 # Set to yes if exported symbols are required.
20899 always_export_symbols=$always_export_symbols_F77
20901 # The commands to list exported symbols.
20902 export_symbols_cmds=$lt_export_symbols_cmds_F77
20904 # The commands to extract the exported symbol list from a shared archive.
20905 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20907 # Symbols that should not be listed in the preloaded symbols.
20908 exclude_expsyms=$lt_exclude_expsyms_F77
20910 # Symbols that must always be exported.
20911 include_expsyms=$lt_include_expsyms_F77
20913 # ### END LIBTOOL TAG CONFIG: $tagname
20919 # If there is no Makefile yet, we rely on a make rule to execute
20920 # `config.status --recheck' to rerun these tests and create the
20921 # libtool script then.
20922 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20923 if test -f "$ltmain_in"; then
20924 test -f Makefile
&& make "$ltmain"
20930 ac_cpp
='$CPP $CPPFLAGS'
20931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20943 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
20945 ac_cpp
='$CPP $CPPFLAGS'
20946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20951 # Source file extension for Java test sources.
20954 # Object file extension for compiled Java test sources.
20958 # Code to be used in simple compile tests
20959 lt_simple_compile_test_code
="class foo {}\n"
20961 # Code to be used in simple link tests
20962 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
20964 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20966 # If no C compiler was specified, use CC.
20969 # Allow CC to be a program name with arguments.
20973 # Allow CC to be a program name with arguments.
20979 # GCJ did not exist at the time GCC didn't implicitly link libc in.
20980 archive_cmds_need_lc_GCJ
=no
20983 lt_prog_compiler_no_builtin_flag_GCJ
=
20985 if test "$GCC" = yes; then
20986 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
20989 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
20990 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
20991 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
20992 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 lt_cv_prog_compiler_rtti_exceptions
=no
20995 ac_outfile
=conftest.
$ac_objext
20996 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
20997 lt_compiler_flag
="-fno-rtti -fno-exceptions"
20998 # Insert the option either (1) after the last *FLAGS variable, or
20999 # (2) before a word containing "conftest.", or (3) at the end.
21000 # Note that $ac_compile itself does not contain backslashes and begins
21001 # with a dollar sign (not a hyphen), so the echo should work correctly.
21002 # The option is referenced via a variable to avoid confusing sed.
21003 lt_compile
=`echo "$ac_compile" | $SED \
21004 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21006 -e 's:$: $lt_compiler_flag:'`
21007 (eval echo "\"\$as_me:21007: $lt_compile\"" >&5)
21008 (eval "$lt_compile" 2>conftest.err
)
21010 cat conftest.err
>&5
21011 echo "$as_me:21011: \$? = $ac_status" >&5
21012 if (exit $ac_status) && test -s "$ac_outfile"; then
21013 # The compiler can only warn and ignore the option if not recognized
21014 # So say no if there are warnings
21015 if test ! -s conftest.err
; then
21016 lt_cv_prog_compiler_rtti_exceptions
=yes
21022 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
21023 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
21025 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
21026 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
21033 lt_prog_compiler_wl_GCJ
=
21034 lt_prog_compiler_pic_GCJ
=
21035 lt_prog_compiler_static_GCJ
=
21037 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21038 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21040 if test "$GCC" = yes; then
21041 lt_prog_compiler_wl_GCJ
='-Wl,'
21042 lt_prog_compiler_static_GCJ
='-static'
21046 # All AIX code is PIC.
21047 if test "$host_cpu" = ia64
; then
21048 # AIX 5 now supports IA64 processor
21049 lt_prog_compiler_static_GCJ
='-Bstatic'
21054 # FIXME: we need at least 68020 code to build shared libraries, but
21055 # adding the `-m68020' flag to GCC prevents building anything better,
21057 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
21060 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21061 # PIC is the default for these OSes.
21064 mingw
* | pw32
* | os2
*)
21065 # This hack is so that the source file can tell whether it is being
21066 # built for inclusion in a dll (and should export symbols for example).
21067 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
21070 darwin
* | rhapsody
*)
21071 # PIC is the default on this platform
21072 # Common symbols not allowed in MH_DYLIB files
21073 lt_prog_compiler_pic_GCJ
='-fno-common'
21077 # Just because we use GCC doesn't mean we suddenly get shared libraries
21078 # on systems that don't support them.
21079 lt_prog_compiler_can_build_shared_GCJ
=no
21084 if test -d /usr
/nec
; then
21085 lt_prog_compiler_pic_GCJ
=-Kconform_pic
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
='-fPIC'
21103 lt_prog_compiler_pic_GCJ
='-fPIC'
21107 # PORTME Check for flag to pass linker flags through the system compiler.
21110 lt_prog_compiler_wl_GCJ
='-Wl,'
21111 if test "$host_cpu" = ia64
; then
21112 # AIX 5 now supports IA64 processor
21113 lt_prog_compiler_static_GCJ
='-Bstatic'
21115 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
21119 # PIC is the default on this platform
21120 # Common symbols not allowed in MH_DYLIB files
21121 case "$cc_basename" in
21123 lt_prog_compiler_pic_GCJ
='-qnocommon'
21124 lt_prog_compiler_wl_GCJ
='-Wl,'
21129 mingw
* | pw32
* | os2
*)
21130 # This hack is so that the source file can tell whether it is being
21131 # built for inclusion in a dll (and should export symbols for example).
21132 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
21135 hpux9
* | hpux10
* | hpux11
*)
21136 lt_prog_compiler_wl_GCJ
='-Wl,'
21137 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21138 # not for PA HP-UX.
21139 case "$host_cpu" in
21144 lt_prog_compiler_pic_GCJ
='+Z'
21147 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21148 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
21151 irix5
* | irix6
* | nonstopux
*)
21152 lt_prog_compiler_wl_GCJ
='-Wl,'
21153 # PIC (with -KPIC) is the default.
21154 lt_prog_compiler_static_GCJ
='-non_shared'
21158 lt_prog_compiler_pic_GCJ
='-KPIC'
21159 lt_prog_compiler_static_GCJ
='-Bstatic'
21165 lt_prog_compiler_wl_GCJ
='-Wl,'
21166 lt_prog_compiler_pic_GCJ
='-KPIC'
21167 lt_prog_compiler_static_GCJ
='-static'
21170 lt_prog_compiler_wl_GCJ
='-Wl,'
21171 # All Alpha code is PIC.
21172 lt_prog_compiler_static_GCJ
='-non_shared'
21177 osf3
* | osf4
* | osf5
*)
21178 lt_prog_compiler_wl_GCJ
='-Wl,'
21179 # All OSF/1 code is PIC.
21180 lt_prog_compiler_static_GCJ
='-non_shared'
21184 lt_prog_compiler_pic_GCJ
='-Kpic'
21185 lt_prog_compiler_static_GCJ
='-dn'
21189 lt_prog_compiler_wl_GCJ
='-Wl,'
21190 lt_prog_compiler_pic_GCJ
='-KPIC'
21191 lt_prog_compiler_static_GCJ
='-Bstatic'
21195 lt_prog_compiler_wl_GCJ
='-Qoption ld '
21196 lt_prog_compiler_pic_GCJ
='-PIC'
21197 lt_prog_compiler_static_GCJ
='-Bstatic'
21200 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
21201 lt_prog_compiler_wl_GCJ
='-Wl,'
21202 lt_prog_compiler_pic_GCJ
='-KPIC'
21203 lt_prog_compiler_static_GCJ
='-Bstatic'
21207 if test -d /usr
/nec
;then
21208 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
21209 lt_prog_compiler_static_GCJ
='-Bstatic'
21214 lt_prog_compiler_pic_GCJ
='-pic'
21215 lt_prog_compiler_static_GCJ
='-Bstatic'
21219 lt_prog_compiler_can_build_shared_GCJ
=no
21224 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
21225 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
21228 # Check to make sure the PIC flag actually works.
21230 if test -n "$lt_prog_compiler_pic_GCJ"; then
21232 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
21233 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
21234 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21237 lt_prog_compiler_pic_works_GCJ
=no
21238 ac_outfile
=conftest.
$ac_objext
21239 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21240 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
21241 # Insert the option either (1) after the last *FLAGS variable, or
21242 # (2) before a word containing "conftest.", or (3) at the end.
21243 # Note that $ac_compile itself does not contain backslashes and begins
21244 # with a dollar sign (not a hyphen), so the echo should work correctly.
21245 # The option is referenced via a variable to avoid confusing sed.
21246 lt_compile
=`echo "$ac_compile" | $SED \
21247 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21249 -e 's:$: $lt_compiler_flag:'`
21250 (eval echo "\"\$as_me:21250: $lt_compile\"" >&5)
21251 (eval "$lt_compile" 2>conftest.err
)
21253 cat conftest.err
>&5
21254 echo "$as_me:21254: \$? = $ac_status" >&5
21255 if (exit $ac_status) && test -s "$ac_outfile"; then
21256 # The compiler can only warn and ignore the option if not recognized
21257 # So say no if there are warnings
21258 if test ! -s conftest.err
; then
21259 lt_prog_compiler_pic_works_GCJ
=yes
21265 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
21266 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
21268 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
21269 case $lt_prog_compiler_pic_GCJ in
21271 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
21274 lt_prog_compiler_pic_GCJ
=
21275 lt_prog_compiler_can_build_shared_GCJ
=no
21280 # For platforms which do not support PIC, -DPIC is meaningless:
21282 lt_prog_compiler_pic_GCJ
=
21285 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
21289 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21290 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
21291 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 lt_cv_prog_compiler_c_o_GCJ
=no
21295 $rm -r conftest
2>/dev
/null
21299 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21301 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21302 # Insert the option either (1) after the last *FLAGS variable, or
21303 # (2) before a word containing "conftest.", or (3) at the end.
21304 # Note that $ac_compile itself does not contain backslashes and begins
21305 # with a dollar sign (not a hyphen), so the echo should work correctly.
21306 lt_compile
=`echo "$ac_compile" | $SED \
21307 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21308 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21309 -e 's:$: $lt_compiler_flag:'`
21310 (eval echo "\"\$as_me:21310: $lt_compile\"" >&5)
21311 (eval "$lt_compile" 2>out
/conftest.err
)
21313 cat out
/conftest.err
>&5
21314 echo "$as_me:21314: \$? = $ac_status" >&5
21315 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21317 # The compiler can only warn and ignore the option if not recognized
21318 # So say no if there are warnings
21319 if test ! -s out
/conftest.err
; then
21320 lt_cv_prog_compiler_c_o_GCJ
=yes
21325 # SGI C++ compiler will create directory out/ii_files/ for
21326 # template instantiation
21327 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21328 $rm out
/* && rmdir out
21334 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
21335 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
21338 hard_links
="nottested"
21339 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
21340 # do not overwrite the value of need_locks provided by the user
21341 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21342 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
21345 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21347 ln conftest.a conftest.b
2>&5 || hard_links
=no
21348 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21349 echo "$as_me:$LINENO: result: $hard_links" >&5
21350 echo "${ECHO_T}$hard_links" >&6
21351 if test "$hard_links" = no
; then
21352 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21353 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21360 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21361 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
21364 allow_undefined_flag_GCJ
=
21365 enable_shared_with_static_runtimes_GCJ
=no
21367 archive_expsym_cmds_GCJ
=
21368 old_archive_From_new_cmds_GCJ
=
21369 old_archive_from_expsyms_cmds_GCJ
=
21370 export_dynamic_flag_spec_GCJ
=
21371 whole_archive_flag_spec_GCJ
=
21372 thread_safe_flag_spec_GCJ
=
21373 hardcode_libdir_flag_spec_GCJ
=
21374 hardcode_libdir_flag_spec_ld_GCJ
=
21375 hardcode_libdir_separator_GCJ
=
21376 hardcode_direct_GCJ
=no
21377 hardcode_minus_L_GCJ
=no
21378 hardcode_shlibpath_var_GCJ
=unsupported
21379 link_all_deplibs_GCJ
=unknown
21380 hardcode_automatic_GCJ
=no
21382 module_expsym_cmds_GCJ
=
21383 always_export_symbols_GCJ
=no
21384 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21385 # include_expsyms should be a list of space-separated symbols to be *always*
21386 # included in the symbol list
21387 include_expsyms_GCJ
=
21388 # exclude_expsyms can be an extended regexp of symbols to exclude
21389 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21390 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21391 # as well as any symbol that contains `d'.
21392 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
21393 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21394 # platforms (ab)use it in PIC code, but their linkers get confused if
21395 # the symbol is explicitly referenced. Since portable code cannot
21396 # rely on this symbol name, it's probably fine to never include it in
21397 # preloaded symbol tables.
21398 extract_expsyms_cmds
=
21401 cygwin
* | mingw
* | pw32
*)
21402 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21403 # When not using gcc, we currently assume that we are using
21404 # Microsoft Visual C++.
21405 if test "$GCC" != yes; then
21415 if test "$with_gnu_ld" = yes; then
21416 # If archive_cmds runs LD, not CC, wlarc should be empty
21419 # See if GNU ld supports shared libraries.
21421 aix3
* | aix4
* | aix5
*)
21422 # On AIX/PPC, the GNU linker is very broken
21423 if test "$host_cpu" != ia64
; then
21427 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21428 *** to be unable to reliably create shared libraries on AIX.
21429 *** Therefore, libtool is disabling shared libraries support. If you
21430 *** really care for shared libraries, you may want to modify your PATH
21431 *** so that a non-GNU linker is found, and then restart.
21438 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)'
21439 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21440 hardcode_minus_L_GCJ
=yes
21442 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21443 # that the semantics of dynamic libraries on AmigaOS, at least up
21444 # to version 4, is to share data among multiple programs linked
21445 # with the same dynamic library. Since this doesn't match the
21446 # behavior of shared libraries on other platforms, we can't use
21452 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21453 allow_undefined_flag_GCJ
=unsupported
21454 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21455 # support --undefined. This deserves some investigation. FIXME
21456 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21462 cygwin
* | mingw
* | pw32
*)
21463 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
21464 # as there is no search path for DLLs.
21465 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21466 allow_undefined_flag_GCJ
=unsupported
21467 always_export_symbols_GCJ
=no
21468 enable_shared_with_static_runtimes_GCJ
=yes
21469 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21471 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21472 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
21473 # If the export-symbols file already is a .def file (1st line
21474 # is EXPORTS), use it as is; otherwise, prepend...
21475 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21476 cp $export_symbols $output_objdir/$soname.def;
21478 echo EXPORTS > $output_objdir/$soname.def;
21479 cat $export_symbols >> $output_objdir/$soname.def;
21481 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
21488 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21489 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21492 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21493 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21498 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21502 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21503 *** create shared libraries on Solaris systems. Therefore, libtool
21504 *** is disabling shared libraries support. We urge you to upgrade GNU
21505 *** binutils to release 2.9.1 or newer. Another option is to modify
21506 *** your PATH or compiler configuration so that the native linker is
21507 *** used, and then restart.
21510 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21511 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21512 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21519 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21521 hardcode_direct_GCJ
=yes
21522 hardcode_shlibpath_var_GCJ
=no
21526 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21527 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21528 archive_cmds_GCJ
="$tmp_archive_cmds"
21529 supports_anon_versioning
=no
21530 case `$LD -v 2>/dev/null` in
21531 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21532 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21533 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21534 *\
2.11.
*) ;; # other 2.11 versions
21535 *) supports_anon_versioning
=yes ;;
21537 if test $supports_anon_versioning = yes; then
21538 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
21539 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21540 $echo "local: *; };" >> $output_objdir/$libname.ver~
21541 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21543 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
21551 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21552 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21553 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21560 if test "$ld_shlibs_GCJ" = yes; then
21561 runpath_var
=LD_RUN_PATH
21562 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
21563 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
21564 # ancient GNU ld didn't support --whole-archive et. al.
21565 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21566 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21568 whole_archive_flag_spec_GCJ
=
21572 # PORTME fill in a description of your system's linker (not GNU ld)
21575 allow_undefined_flag_GCJ
=unsupported
21576 always_export_symbols_GCJ
=yes
21577 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'
21578 # Note: this linker hardcodes the directories in LIBPATH if there
21579 # are no directories specified by -L.
21580 hardcode_minus_L_GCJ
=yes
21581 if test "$GCC" = yes && test -z "$link_static_flag"; then
21582 # Neither direct hardcoding nor static linking is supported with a
21584 hardcode_direct_GCJ
=unsupported
21589 if test "$host_cpu" = ia64
; then
21590 # On IA64, the linker does run time linking by default, so we don't
21591 # have to do anything special.
21592 aix_use_runtimelinking
=no
21593 exp_sym_flag
='-Bexport'
21596 # If we're using GNU nm, then we don't want the "-C" option.
21597 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21598 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21599 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'
21601 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'
21603 aix_use_runtimelinking
=no
21605 # Test if we are trying to use run time linking or normal
21606 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21607 # need to do runtime linking.
21608 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21609 for ld_flag
in $LDFLAGS; do
21610 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21611 aix_use_runtimelinking
=yes
21617 exp_sym_flag
='-bexport'
21618 no_entry_flag
='-bnoentry'
21621 # When large executables or shared objects are built, AIX ld can
21622 # have problems creating the table of contents. If linking a library
21623 # or program results in "error TOC overflow" add -mminimal-toc to
21624 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21625 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21627 archive_cmds_GCJ
=''
21628 hardcode_direct_GCJ
=yes
21629 hardcode_libdir_separator_GCJ
=':'
21630 link_all_deplibs_GCJ
=yes
21632 if test "$GCC" = yes; then
21633 case $host_os in aix4.012|aix4.012.
*)
21634 # We only want to do this on AIX 4.2 and lower, the check
21635 # below for broken collect2 doesn't work under 4.3+
21636 collect2name
=`${CC} -print-prog-name=collect2`
21637 if test -f "$collect2name" && \
21638 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21640 # We have reworked collect2
21641 hardcode_direct_GCJ
=yes
21643 # We have old collect2
21644 hardcode_direct_GCJ
=unsupported
21645 # It fails to find uninstalled libraries when the uninstalled
21646 # path is not listed in the libpath. Setting hardcode_minus_L
21647 # to unsupported forces relinking
21648 hardcode_minus_L_GCJ
=yes
21649 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21650 hardcode_libdir_separator_GCJ
=
21653 shared_flag
='-shared'
21656 if test "$host_cpu" = ia64
; then
21657 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21658 # chokes on -Wl,-G. The following line is correct:
21661 if test "$aix_use_runtimelinking" = yes; then
21662 shared_flag
='${wl}-G'
21664 shared_flag
='${wl}-bM:SRE'
21669 # It seems that -bexpall does not export symbols beginning with
21670 # underscore (_), so it is better to generate a list of symbols to export.
21671 always_export_symbols_GCJ
=yes
21672 if test "$aix_use_runtimelinking" = yes; then
21673 # Warning - without using the other runtime loading flags (-brtl),
21674 # -berok will link without error, but may produce a broken library.
21675 allow_undefined_flag_GCJ
='-berok'
21676 # Determine the default libpath from the value encoded in an empty executable.
21677 cat >conftest.
$ac_ext <<_ACEOF
21680 cat confdefs.h
>>conftest.
$ac_ext
21681 cat >>conftest.
$ac_ext <<_ACEOF
21682 /* end confdefs.h. */
21692 rm -f conftest.
$ac_objext conftest
$ac_exeext
21693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21694 (eval $ac_link) 2>conftest.er1
21696 grep -v '^ *+' conftest.er1
>conftest.err
21698 cat conftest.err
>&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } &&
21701 { ac_try
='test -z "$ac_c_werror_flag"
21702 || test ! -s conftest.err'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; } &&
21708 { ac_try
='test -s conftest$ac_exeext'
21709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21715 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21717 # Check for a 64-bit object if we didn't find anything.
21718 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; }
21721 echo "$as_me: failed program was:" >&5
21722 sed 's/^/| /' conftest.
$ac_ext >&5
21725 rm -f conftest.err conftest.
$ac_objext \
21726 conftest
$ac_exeext conftest.
$ac_ext
21727 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
21729 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
21730 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"
21732 if test "$host_cpu" = ia64; then
21733 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
21734 allow_undefined_flag_GCJ="-z nodefs"
21735 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"
21737 # Determine the default libpath from the value encoded in an empty executable.
21738 cat >conftest.$ac_ext <<_ACEOF
21741 cat confdefs.h >>conftest.$ac_ext
21742 cat >>conftest.$ac_ext <<_ACEOF
21743 /* end confdefs.h. */
21753 rm -f conftest.$ac_objext conftest$ac_exeext
21754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21755 (eval $ac_link) 2>conftest.er1
21757 grep -v '^ *+' conftest.er1 >conftest.err
21759 cat conftest.err >&5
21760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21761 (exit $ac_status); } &&
21762 { ac_try='test -z "$ac_c_werror_flag"
21763 || test ! -s conftest.err'
21764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 (eval $ac_try) 2>&5
21767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21768 (exit $ac_status); }; } &&
21769 { ac_try='test -s conftest$ac_exeext'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21774 (exit $ac_status); }; }; then
21776 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21778 # Check for a 64-bit object if we didn't find anything.
21779 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; }
21782 echo "$as_me: failed program was
:" >&5
21783 sed 's/^/| /' conftest.$ac_ext >&5
21786 rm -f conftest.err conftest.$ac_objext \
21787 conftest$ac_exeext conftest.$ac_ext
21788 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
21790 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
21791 # Warning - without using the other run time loading flags,
21792 # -berok will link without error, but may produce a broken library.
21793 no_undefined_flag_GCJ=' ${wl}-bernotok'
21794 allow_undefined_flag_GCJ=' ${wl}-berok'
21795 # -bexpall does not export symbols beginning with underscore (_)
21796 always_export_symbols_GCJ=yes
21797 # Exported symbols can be pulled into shared objects from archives
21798 whole_archive_flag_spec_GCJ=' '
21799 archive_cmds_need_lc_GCJ=yes
21800 # This is similar to how AIX traditionally builds it's shared libraries.
21801 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'
21807 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)'
21808 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21809 hardcode_minus_L_GCJ
=yes
21810 # see comment about different semantics on the GNU ld section
21815 export_dynamic_flag_spec_GCJ
=-rdynamic
21818 cygwin
* | mingw
* | pw32
*)
21819 # When not using gcc, we currently assume that we are using
21820 # Microsoft Visual C++.
21821 # hardcode_libdir_flag_spec is actually meaningless, as there is
21822 # no search path for DLLs.
21823 hardcode_libdir_flag_spec_GCJ
=' '
21824 allow_undefined_flag_GCJ
=unsupported
21825 # Tell ltmain to make .lib files, not .a files.
21827 # Tell ltmain to make .dll files, not .so files.
21829 # FIXME: Setting linknames here is a bad hack.
21830 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21831 # The linker will automatically build a .lib file if we build a DLL.
21832 old_archive_From_new_cmds_GCJ
='true'
21833 # FIXME: Should let the user specify the lib program.
21834 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
21835 fix_srcfile_path
='`cygpath -w "$srcfile"`'
21836 enable_shared_with_static_runtimes_GCJ
=yes
21839 darwin
* | rhapsody
*)
21841 rhapsody
* | darwin1.
[012])
21842 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
21845 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21846 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21848 case ${MACOSX_DEPLOYMENT_TARGET} in
21850 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21853 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
21859 archive_cmds_need_lc_GCJ
=no
21860 hardcode_direct_GCJ
=no
21861 hardcode_automatic_GCJ
=yes
21862 hardcode_shlibpath_var_GCJ
=unsupported
21863 whole_archive_flag_spec_GCJ
=''
21864 link_all_deplibs_GCJ
=yes
21865 if test "$GCC" = yes ; then
21866 output_verbose_link_cmd
='echo'
21867 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21868 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21869 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
21870 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}'
21871 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}'
21873 case "$cc_basename" in
21875 output_verbose_link_cmd
='echo'
21876 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
21877 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21878 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
21879 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}'
21880 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}'
21890 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21891 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21892 hardcode_shlibpath_var_GCJ
=no
21899 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21900 # support. Future versions do this automatically, but an explicit c++rt0.o
21901 # does not break anything, and helps significantly (at the cost of a little
21904 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21905 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21906 hardcode_direct_GCJ
=yes
21907 hardcode_shlibpath_var_GCJ
=no
21910 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21912 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21913 hardcode_direct_GCJ
=yes
21914 hardcode_minus_L_GCJ
=yes
21915 hardcode_shlibpath_var_GCJ
=no
21918 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21919 freebsd
* | kfreebsd
*-gnu)
21920 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21921 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21922 hardcode_direct_GCJ
=yes
21923 hardcode_shlibpath_var_GCJ
=no
21927 if test "$GCC" = yes; then
21928 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'
21930 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'
21932 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21933 hardcode_libdir_separator_GCJ
=:
21934 hardcode_direct_GCJ
=yes
21936 # hardcode_minus_L: Not really in the search PATH,
21937 # but as the default location of the library.
21938 hardcode_minus_L_GCJ
=yes
21939 export_dynamic_flag_spec_GCJ
='${wl}-E'
21943 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
21944 case "$host_cpu" in
21946 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21949 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21953 case "$host_cpu" in
21955 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
21958 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21962 if test "$with_gnu_ld" = no
; then
21963 case "$host_cpu" in
21965 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21966 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
21967 hardcode_libdir_separator_GCJ
=:
21968 hardcode_direct_GCJ
=no
21969 hardcode_shlibpath_var_GCJ
=no
21972 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21973 hardcode_direct_GCJ
=no
21974 hardcode_shlibpath_var_GCJ
=no
21976 # hardcode_minus_L: Not really in the search PATH,
21977 # but as the default location of the library.
21978 hardcode_minus_L_GCJ
=yes
21981 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21982 hardcode_libdir_separator_GCJ
=:
21983 hardcode_direct_GCJ
=yes
21984 export_dynamic_flag_spec_GCJ
='${wl}-E'
21986 # hardcode_minus_L: Not really in the search PATH,
21987 # but as the default location of the library.
21988 hardcode_minus_L_GCJ
=yes
21994 irix5
* | irix6
* | nonstopux
*)
21995 if test "$GCC" = yes; then
21996 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'
21998 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'
21999 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
22001 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
22002 hardcode_libdir_separator_GCJ
=:
22003 link_all_deplibs_GCJ
=yes
22007 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22008 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22010 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22012 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
22013 hardcode_direct_GCJ
=yes
22014 hardcode_shlibpath_var_GCJ
=no
22018 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22019 hardcode_direct_GCJ
=yes
22020 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
22021 hardcode_libdir_separator_GCJ
=:
22022 hardcode_shlibpath_var_GCJ
=no
22026 hardcode_direct_GCJ
=yes
22027 hardcode_shlibpath_var_GCJ
=no
22028 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22029 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22030 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22031 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
22032 export_dynamic_flag_spec_GCJ
='${wl}-E'
22035 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22036 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22037 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
22040 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22041 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
22048 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
22049 hardcode_minus_L_GCJ
=yes
22050 allow_undefined_flag_GCJ
=unsupported
22051 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'
22052 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22056 if test "$GCC" = yes; then
22057 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
22058 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'
22060 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
22061 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'
22063 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
22064 hardcode_libdir_separator_GCJ
=:
22067 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22068 if test "$GCC" = yes; then
22069 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
22070 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'
22071 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
22073 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
22074 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'
22075 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~
22076 $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'
22078 # Both c and cxx compiler support -rpath directly
22079 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
22081 hardcode_libdir_separator_GCJ
=:
22085 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22086 hardcode_shlibpath_var_GCJ
=no
22087 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
22088 runpath_var
=LD_RUN_PATH
22089 hardcode_runpath_var
=yes
22093 no_undefined_flag_GCJ
=' -z text'
22094 if test "$GCC" = yes; then
22095 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22096 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22097 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22099 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22100 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22101 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22103 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
22104 hardcode_shlibpath_var_GCJ
=no
22106 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22107 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
22108 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
22110 link_all_deplibs_GCJ
=yes
22114 if test "x$host_vendor" = xsequent
; then
22115 # Use $CC to link under sequent, because it throws in some extra .o
22116 # files that make .init and .fini sections work.
22117 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22119 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22121 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
22122 hardcode_direct_GCJ
=yes
22123 hardcode_minus_L_GCJ
=yes
22124 hardcode_shlibpath_var_GCJ
=no
22128 case $host_vendor in
22130 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22131 hardcode_direct_GCJ
=yes # is this really true???
22134 ## LD is ld it makes a PLAMLIB
22135 ## CC just makes a GrossModule.
22136 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22137 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
22138 hardcode_direct_GCJ
=no
22141 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22142 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
22145 runpath_var
='LD_RUN_PATH'
22146 hardcode_shlibpath_var_GCJ
=no
22150 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22151 hardcode_shlibpath_var_GCJ
=no
22152 export_dynamic_flag_spec_GCJ
='-Bexport'
22156 if test -d /usr
/nec
; then
22157 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22158 hardcode_shlibpath_var_GCJ
=no
22159 runpath_var
=LD_RUN_PATH
22160 hardcode_runpath_var
=yes
22166 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22167 hardcode_direct_GCJ
=yes
22168 hardcode_minus_L_GCJ
=no
22169 hardcode_shlibpath_var_GCJ
=no
22170 hardcode_runpath_var
=yes
22171 runpath_var
=LD_RUN_PATH
22174 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
22175 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
22176 if test "$GCC" = yes; then
22177 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22179 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22181 runpath_var
='LD_RUN_PATH'
22182 hardcode_shlibpath_var_GCJ
=no
22186 no_undefined_flag_GCJ
=' -z text'
22187 # $CC -shared without GNU ld will not create a library from C++
22188 # object files and a static libstdc++, better avoid it by now
22189 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22190 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22191 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22192 hardcode_libdir_flag_spec_GCJ
=
22193 hardcode_shlibpath_var_GCJ
=no
22194 runpath_var
='LD_RUN_PATH'
22198 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22199 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
22200 hardcode_shlibpath_var_GCJ
=no
22209 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
22210 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
22211 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
22213 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
22214 if test "$GCC" = yes; then
22215 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22219 # Do we need to explicitly link libc?
22221 case "x$archive_cmds_need_lc_GCJ" in
22223 # Assume -lc should be added
22224 archive_cmds_need_lc_GCJ
=yes
22226 if test "$enable_shared" = yes && test "$GCC" = yes; then
22227 case $archive_cmds_GCJ in
22229 # FIXME: we may have to deal with multi-command sequences.
22232 # Test whether the compiler implicitly links with -lc since on some
22233 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22234 # to ld, don't add -lc before -lgcc.
22235 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22236 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
22238 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22241 (eval $ac_compile) 2>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } 2>conftest.err
; then
22247 libobjs
=conftest.
$ac_objext
22249 wl
=$lt_prog_compiler_wl_GCJ
22255 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
22256 allow_undefined_flag_GCJ
=
22257 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22258 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }
22263 archive_cmds_need_lc_GCJ
=no
22265 archive_cmds_need_lc_GCJ
=yes
22267 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
22269 cat conftest.err
1>&5
22272 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
22273 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
22280 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22281 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
22282 library_names_spec
=
22283 libname_spec
='lib$name'
22287 postuninstall_cmds
=
22291 shlibpath_overrides_runpath
=unknown
22293 dynamic_linker
="$host_os ld.so"
22294 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22295 if test "$GCC" = yes; then
22296 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22297 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22298 # if the path contains ";" then we assume it to be the separator
22299 # otherwise default to the standard path separator (i.e. ":") - it is
22300 # assumed that no part of a normal pathname contains ";" but that should
22301 # okay in the real world where ";" in dirpaths is itself problematic.
22302 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22304 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22307 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22309 need_lib_prefix
=unknown
22310 hardcode_into_libs
=no
22312 # when you set need_version to no, make sure it does not cause -set_version
22313 # flags to be left without arguments
22314 need_version
=unknown
22319 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22320 shlibpath_var
=LIBPATH
22322 # AIX 3 has no versioning support, so we append a major version to the name.
22323 soname_spec
='${libname}${release}${shared_ext}$major'
22330 hardcode_into_libs
=yes
22331 if test "$host_cpu" = ia64
; then
22332 # AIX 5 supports IA64
22333 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22334 shlibpath_var
=LD_LIBRARY_PATH
22336 # With GCC up to 2.95.x, collect2 would create an import file
22337 # for dependence libraries. The import file would start with
22338 # the line `#! .'. This would cause the generated library to
22339 # depend on `.', always an invalid library. This was fixed in
22340 # development snapshots of GCC prior to 3.0.
22342 aix4 | aix4.
[01] | aix4.
[01].
*)
22343 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22345 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22348 can_build_shared
=no
22352 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22353 # soname into executable. Probably we can add versioning support to
22354 # collect2, so additional links can be useful in future.
22355 if test "$aix_use_runtimelinking" = yes; then
22356 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22357 # instead of lib<name>.a to let people know that these are not
22358 # typical AIX shared libraries.
22359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22361 # We preserve .a as extension for shared libraries through AIX4.2
22362 # and later when we are not doing run time linking.
22363 library_names_spec
='${libname}${release}.a $libname.a'
22364 soname_spec
='${libname}${release}${shared_ext}$major'
22366 shlibpath_var
=LIBPATH
22371 library_names_spec
='$libname.ixlibrary $libname.a'
22372 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22373 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'
22377 library_names_spec
='${libname}${shared_ext}'
22378 dynamic_linker
="$host_os ld.so"
22379 shlibpath_var
=LIBRARY_PATH
22385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22386 soname_spec
='${libname}${release}${shared_ext}$major'
22387 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22388 shlibpath_var
=LD_LIBRARY_PATH
22389 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22390 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22391 # the default ld.so.conf also contains /usr/contrib/lib and
22392 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22393 # libtool to hard-code these into programs
22396 cygwin
* | mingw
* | pw32
*)
22397 version_type
=windows
22402 case $GCC,$host_os in
22403 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22404 library_names_spec
='$libname.dll.a'
22405 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22406 postinstall_cmds
='base_file=`basename \${file}`~
22407 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22408 dldir=$destdir/`dirname \$dlpath`~
22409 test -d \$dldir || mkdir -p \$dldir~
22410 $install_prog $dir/$dlname \$dldir/$dlname'
22411 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22412 dlpath=$dir/\$dldll~
22414 shlibpath_overrides_runpath
=yes
22418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22419 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22420 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22423 # MinGW DLLs use traditional 'lib' prefix
22424 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22425 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22426 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22427 # It is most probably a Windows format PATH printed by
22428 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22429 # path with ; separators, and with drive letters. We can handle the
22430 # drive letters (cygwin fileutils understands them), so leave them,
22431 # especially as we might pass files found there to a mingw objdump,
22432 # which wouldn't understand a cygwinified path. Ahh.
22433 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22435 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22439 # pw32 DLLs use 'pw' prefix rather than 'lib'
22440 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
22446 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22449 dynamic_linker
='Win32 ld.exe'
22450 # FIXME: first we should search . and the directory the executable is in
22454 darwin
* | rhapsody
*)
22455 dynamic_linker
="$host_os dyld"
22456 version_type
=darwin
22459 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22460 soname_spec
='${libname}${release}${major}$shared_ext'
22461 shlibpath_overrides_runpath
=yes
22462 shlibpath_var
=DYLD_LIBRARY_PATH
22463 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
22464 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22465 if test "$GCC" = yes; then
22466 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"`
22468 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22470 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22478 soname_spec
='${libname}${release}${shared_ext}$major'
22479 shlibpath_var
=LD_LIBRARY_PATH
22490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22491 soname_spec
='${libname}${release}${shared_ext}$major'
22492 shlibpath_var
=LD_LIBRARY_PATH
22493 shlibpath_overrides_runpath
=no
22494 hardcode_into_libs
=yes
22495 dynamic_linker
='GNU ld.so'
22499 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
22500 version_type
=freebsd-
$objformat
22501 case $version_type in
22503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22508 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22512 shlibpath_var
=LD_LIBRARY_PATH
22515 shlibpath_overrides_runpath
=yes
22517 freebsd3.01
* | freebsdelf3.01
*)
22518 shlibpath_overrides_runpath
=yes
22519 hardcode_into_libs
=yes
22522 shlibpath_overrides_runpath
=no
22523 hardcode_into_libs
=yes
22532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22533 soname_spec
='${libname}${release}${shared_ext}$major'
22534 shlibpath_var
=LD_LIBRARY_PATH
22535 hardcode_into_libs
=yes
22538 hpux9
* | hpux10
* | hpux11
*)
22539 # Give a soname corresponding to the major version so that dld.sl refuses to
22540 # link against other versions.
22544 case "$host_cpu" in
22547 hardcode_into_libs
=yes
22548 dynamic_linker
="$host_os dld.so"
22549 shlibpath_var
=LD_LIBRARY_PATH
22550 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22552 soname_spec
='${libname}${release}${shared_ext}$major'
22553 if test "X$HPUX_IA64_MODE" = X32
; then
22554 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22556 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22558 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22562 hardcode_into_libs
=yes
22563 dynamic_linker
="$host_os dld.sl"
22564 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22565 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22567 soname_spec
='${libname}${release}${shared_ext}$major'
22568 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22569 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22573 dynamic_linker
="$host_os dld.sl"
22574 shlibpath_var
=SHLIB_PATH
22575 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22577 soname_spec
='${libname}${release}${shared_ext}$major'
22580 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22581 postinstall_cmds
='chmod 555 $lib'
22584 irix5
* | irix6
* | nonstopux
*)
22586 nonstopux
*) version_type
=nonstopux
;;
22588 if test "$lt_cv_prog_gnu_ld" = yes; then
22596 soname_spec
='${libname}${release}${shared_ext}$major'
22597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22599 irix5
* | nonstopux
*)
22600 libsuff
= shlibsuff
=
22603 case $LD in # libtool.m4 will add one of these switches to LD
22604 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22605 libsuff
= shlibsuff
= libmagic
=32-bit;;
22606 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22607 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22608 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22609 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22610 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22614 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22615 shlibpath_overrides_runpath
=no
22616 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22617 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22618 hardcode_into_libs
=yes
22621 # No shared lib support for Linux oldld, aout, or coff.
22622 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22626 # This must be Linux ELF.
22631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22632 soname_spec
='${libname}${release}${shared_ext}$major'
22633 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22634 shlibpath_var
=LD_LIBRARY_PATH
22635 shlibpath_overrides_runpath
=no
22636 # This implies no fast_install, which is unacceptable.
22637 # Some rework will be needed to allow for fast_install
22638 # before this can be enabled.
22639 hardcode_into_libs
=yes
22641 # Append ld.so.conf contents to the search path
22642 if test -f /etc
/ld.so.conf
; then
22643 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
22644 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22647 # We used to test for /lib/ld.so.1 and disable shared libraries on
22648 # powerpc, because MkLinux only supported shared libraries with the
22649 # GNU dynamic linker. Since this was broken with cross compilers,
22650 # most powerpc-linux boxes support dynamic linking these days and
22651 # people can always --disable-shared, the test was removed, and we
22652 # assume the GNU/Linux dynamic linker is in use.
22653 dynamic_linker
='GNU/Linux ld.so'
22660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22661 soname_spec
='${libname}${release}${shared_ext}$major'
22662 shlibpath_var
=LD_LIBRARY_PATH
22663 shlibpath_overrides_runpath
=no
22664 hardcode_into_libs
=yes
22665 dynamic_linker
='GNU ld.so'
22672 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22674 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22675 dynamic_linker
='NetBSD (a.out) ld.so'
22677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22678 soname_spec
='${libname}${release}${shared_ext}$major'
22679 dynamic_linker
='NetBSD ld.elf_so'
22681 shlibpath_var
=LD_LIBRARY_PATH
22682 shlibpath_overrides_runpath
=yes
22683 hardcode_into_libs
=yes
22688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22689 shlibpath_var
=LD_LIBRARY_PATH
22690 shlibpath_overrides_runpath
=yes
22697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22698 soname_spec
='${libname}${release}${shared_ext}$major'
22699 shlibpath_var
=LD_LIBRARY_PATH
22700 shlibpath_overrides_runpath
=yes
22707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22708 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22709 shlibpath_var
=LD_LIBRARY_PATH
22710 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22712 openbsd2.
[89] | openbsd2.
[89].
*)
22713 shlibpath_overrides_runpath
=no
22716 shlibpath_overrides_runpath
=yes
22720 shlibpath_overrides_runpath
=yes
22725 libname_spec
='$name'
22728 library_names_spec
='$libname${shared_ext} $libname.a'
22729 dynamic_linker
='OS/2 ld.exe'
22730 shlibpath_var
=LIBPATH
22733 osf3
* | osf4
* | osf5
*)
22737 soname_spec
='${libname}${release}${shared_ext}$major'
22738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22739 shlibpath_var
=LD_LIBRARY_PATH
22740 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22741 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
22746 soname_spec
='${libname}${release}${shared_ext}$major'
22747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22748 shlibpath_var
=LD_LIBRARY_PATH
22755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22756 soname_spec
='${libname}${release}${shared_ext}$major'
22757 shlibpath_var
=LD_LIBRARY_PATH
22758 shlibpath_overrides_runpath
=yes
22759 hardcode_into_libs
=yes
22760 # ldd complains unless libraries are executable
22761 postinstall_cmds
='chmod +x $lib'
22766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22767 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22768 shlibpath_var
=LD_LIBRARY_PATH
22769 shlibpath_overrides_runpath
=yes
22770 if test "$with_gnu_ld" = yes; then
22776 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
22778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22779 soname_spec
='${libname}${release}${shared_ext}$major'
22780 shlibpath_var
=LD_LIBRARY_PATH
22781 case $host_vendor in
22783 shlibpath_overrides_runpath
=no
22785 export_dynamic_flag_spec
='${wl}-Blargedynsym'
22786 runpath_var
=LD_RUN_PATH
22794 shlibpath_overrides_runpath
=no
22795 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
22801 if test -d /usr
/nec
;then
22803 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22804 soname_spec
='$libname${shared_ext}.$major'
22805 shlibpath_var
=LD_LIBRARY_PATH
22811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22812 soname_spec
='${libname}${release}${shared_ext}$major'
22813 shlibpath_var
=LD_LIBRARY_PATH
22820 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22821 echo "${ECHO_T}$dynamic_linker" >&6
22822 test "$dynamic_linker" = no
&& can_build_shared
=no
22824 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22825 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
22826 hardcode_action_GCJ
=
22827 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
22828 test -n "$runpath_var_GCJ" || \
22829 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
22831 # We can hardcode non-existant directories.
22832 if test "$hardcode_direct_GCJ" != no
&&
22833 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22834 # have to relink, otherwise we might link with an installed library
22835 # when we should be linking with a yet-to-be-installed one
22836 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
22837 test "$hardcode_minus_L_GCJ" != no
; then
22838 # Linking always hardcodes the temporary library directory.
22839 hardcode_action_GCJ
=relink
22841 # We can link without hardcoding, and we can hardcode nonexisting dirs.
22842 hardcode_action_GCJ
=immediate
22845 # We cannot hardcode anything, or else we can only hardcode existing
22847 hardcode_action_GCJ
=unsupported
22849 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
22850 echo "${ECHO_T}$hardcode_action_GCJ" >&6
22852 if test "$hardcode_action_GCJ" = relink
; then
22853 # Fast installation is not supported
22854 enable_fast_install
=no
22855 elif test "$shlibpath_overrides_runpath" = yes ||
22856 test "$enable_shared" = no
; then
22857 # Fast installation is not necessary
22858 enable_fast_install
=needless
22863 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
22864 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
22865 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
22866 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
22867 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
22868 echo "$as_me:$LINENO: result: yes" >&5
22869 echo "${ECHO_T}yes" >&6
22871 # FIXME - insert some real tests, host_os isn't really good enough
22874 if test -n "$STRIP" ; then
22875 striplib
="$STRIP -x"
22876 echo "$as_me:$LINENO: result: yes" >&5
22877 echo "${ECHO_T}yes" >&6
22879 echo "$as_me:$LINENO: result: no" >&5
22880 echo "${ECHO_T}no" >&6
22884 echo "$as_me:$LINENO: result: no" >&5
22885 echo "${ECHO_T}no" >&6
22890 if test "x$enable_dlopen" != xyes
; then
22891 enable_dlopen
=unknown
22892 enable_dlopen_self
=unknown
22893 enable_dlopen_self_static
=unknown
22900 lt_cv_dlopen
="load_add_on"
22902 lt_cv_dlopen_self
=yes
22906 lt_cv_dlopen
="LoadLibrary"
22911 lt_cv_dlopen
="dlopen"
22916 # if libdl is installed we need to link against it
22917 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22918 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22919 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 ac_check_lib_save_LIBS
=$LIBS
22924 cat >conftest.
$ac_ext <<_ACEOF
22927 cat confdefs.h
>>conftest.
$ac_ext
22928 cat >>conftest.
$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22931 /* Override any gcc2 internal prototype to avoid an error. */
22935 /* We use char because int might match the return type of a gcc2
22936 builtin and then its argument prototype would still apply. */
22946 rm -f conftest.
$ac_objext conftest
$ac_exeext
22947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22948 (eval $ac_link) 2>conftest.er1
22950 grep -v '^ *+' conftest.er1
>conftest.err
22952 cat conftest.err
>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } &&
22955 { ac_try
='test -z "$ac_c_werror_flag"
22956 || test ! -s conftest.err'
22957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22958 (eval $ac_try) 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); }; } &&
22962 { ac_try
='test -s conftest$ac_exeext'
22963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22964 (eval $ac_try) 2>&5
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); }; }; then
22968 ac_cv_lib_dl_dlopen
=yes
22970 echo "$as_me: failed program was:" >&5
22971 sed 's/^/| /' conftest.
$ac_ext >&5
22973 ac_cv_lib_dl_dlopen
=no
22975 rm -f conftest.err conftest.
$ac_objext \
22976 conftest
$ac_exeext conftest.
$ac_ext
22977 LIBS
=$ac_check_lib_save_LIBS
22979 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22980 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22981 if test $ac_cv_lib_dl_dlopen = yes; then
22982 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
22985 lt_cv_dlopen
="dyld"
22987 lt_cv_dlopen_self
=yes
22994 echo "$as_me:$LINENO: checking for shl_load" >&5
22995 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
22996 if test "${ac_cv_func_shl_load+set}" = set; then
22997 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 cat >conftest.
$ac_ext <<_ACEOF
23002 cat confdefs.h
>>conftest.
$ac_ext
23003 cat >>conftest.
$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23005 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
23006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23007 #define shl_load innocuous_shl_load
23009 /* System header to define __stub macros and hopefully few prototypes,
23010 which can conflict with char shl_load (); below.
23011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23012 <limits.h> exists even on freestanding compilers. */
23015 # include <limits.h>
23017 # include <assert.h>
23022 /* Override any gcc2 internal prototype to avoid an error. */
23027 /* We use char because int might match the return type of a gcc2
23028 builtin and then its argument prototype would still apply. */
23030 /* The GNU C library defines this for functions which it implements
23031 to always fail with ENOSYS. Some functions are actually named
23032 something starting with __ and the normal name is an alias. */
23033 #if defined (__stub_shl_load) || defined (__stub___shl_load)
23036 char (*f) () = shl_load;
23045 return f != shl_load;
23050 rm -f conftest.
$ac_objext conftest
$ac_exeext
23051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23052 (eval $ac_link) 2>conftest.er1
23054 grep -v '^ *+' conftest.er1
>conftest.err
23056 cat conftest.err
>&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } &&
23059 { ac_try
='test -z "$ac_c_werror_flag"
23060 || test ! -s conftest.err'
23061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23062 (eval $ac_try) 2>&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; } &&
23066 { ac_try
='test -s conftest$ac_exeext'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; }; then
23072 ac_cv_func_shl_load
=yes
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.
$ac_ext >&5
23077 ac_cv_func_shl_load
=no
23079 rm -f conftest.err conftest.
$ac_objext \
23080 conftest
$ac_exeext conftest.
$ac_ext
23082 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
23083 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
23084 if test $ac_cv_func_shl_load = yes; then
23085 lt_cv_dlopen
="shl_load"
23087 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
23088 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
23089 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
23090 echo $ECHO_N "(cached) $ECHO_C" >&6
23092 ac_check_lib_save_LIBS
=$LIBS
23094 cat >conftest.
$ac_ext <<_ACEOF
23097 cat confdefs.h
>>conftest.
$ac_ext
23098 cat >>conftest.
$ac_ext <<_ACEOF
23099 /* end confdefs.h. */
23101 /* Override any gcc2 internal prototype to avoid an error. */
23105 /* We use char because int might match the return type of a gcc2
23106 builtin and then its argument prototype would still apply. */
23116 rm -f conftest.
$ac_objext conftest
$ac_exeext
23117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23118 (eval $ac_link) 2>conftest.er1
23120 grep -v '^ *+' conftest.er1
>conftest.err
23122 cat conftest.err
>&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } &&
23125 { ac_try
='test -z "$ac_c_werror_flag"
23126 || test ! -s conftest.err'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; } &&
23132 { ac_try
='test -s conftest$ac_exeext'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; }; then
23138 ac_cv_lib_dld_shl_load
=yes
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.
$ac_ext >&5
23143 ac_cv_lib_dld_shl_load
=no
23145 rm -f conftest.err conftest.
$ac_objext \
23146 conftest
$ac_exeext conftest.
$ac_ext
23147 LIBS
=$ac_check_lib_save_LIBS
23149 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
23150 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
23151 if test $ac_cv_lib_dld_shl_load = yes; then
23152 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
23154 echo "$as_me:$LINENO: checking for dlopen" >&5
23155 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
23156 if test "${ac_cv_func_dlopen+set}" = set; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 cat >conftest.
$ac_ext <<_ACEOF
23162 cat confdefs.h
>>conftest.
$ac_ext
23163 cat >>conftest.
$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23165 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
23166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23167 #define dlopen innocuous_dlopen
23169 /* System header to define __stub macros and hopefully few prototypes,
23170 which can conflict with char dlopen (); below.
23171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23172 <limits.h> exists even on freestanding compilers. */
23175 # include <limits.h>
23177 # include <assert.h>
23182 /* Override any gcc2 internal prototype to avoid an error. */
23187 /* We use char because int might match the return type of a gcc2
23188 builtin and then its argument prototype would still apply. */
23190 /* The GNU C library defines this for functions which it implements
23191 to always fail with ENOSYS. Some functions are actually named
23192 something starting with __ and the normal name is an alias. */
23193 #if defined (__stub_dlopen) || defined (__stub___dlopen)
23196 char (*f) () = dlopen;
23205 return f != dlopen;
23210 rm -f conftest.
$ac_objext conftest
$ac_exeext
23211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23212 (eval $ac_link) 2>conftest.er1
23214 grep -v '^ *+' conftest.er1
>conftest.err
23216 cat conftest.err
>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); } &&
23219 { ac_try
='test -z "$ac_c_werror_flag"
23220 || test ! -s conftest.err'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; } &&
23226 { ac_try
='test -s conftest$ac_exeext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_cv_func_dlopen
=yes
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 ac_cv_func_dlopen
=no
23239 rm -f conftest.err conftest.
$ac_objext \
23240 conftest
$ac_exeext conftest.
$ac_ext
23242 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
23243 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
23244 if test $ac_cv_func_dlopen = yes; then
23245 lt_cv_dlopen
="dlopen"
23247 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23248 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23249 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 ac_check_lib_save_LIBS
=$LIBS
23254 cat >conftest.
$ac_ext <<_ACEOF
23257 cat confdefs.h
>>conftest.
$ac_ext
23258 cat >>conftest.
$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23261 /* Override any gcc2 internal prototype to avoid an error. */
23265 /* We use char because int might match the return type of a gcc2
23266 builtin and then its argument prototype would still apply. */
23276 rm -f conftest.
$ac_objext conftest
$ac_exeext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23278 (eval $ac_link) 2>conftest.er1
23280 grep -v '^ *+' conftest.er1
>conftest.err
23282 cat conftest.err
>&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try
='test -z "$ac_c_werror_flag"
23286 || test ! -s conftest.err'
23287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288 (eval $ac_try) 2>&5
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); }; } &&
23292 { ac_try
='test -s conftest$ac_exeext'
23293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23294 (eval $ac_try) 2>&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; }; then
23298 ac_cv_lib_dl_dlopen
=yes
23300 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.
$ac_ext >&5
23303 ac_cv_lib_dl_dlopen
=no
23305 rm -f conftest.err conftest.
$ac_objext \
23306 conftest
$ac_exeext conftest.
$ac_ext
23307 LIBS
=$ac_check_lib_save_LIBS
23309 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23310 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23311 if test $ac_cv_lib_dl_dlopen = yes; then
23312 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
23314 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
23315 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
23316 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 ac_check_lib_save_LIBS
=$LIBS
23320 LIBS
="-lsvld $LIBS"
23321 cat >conftest.
$ac_ext <<_ACEOF
23324 cat confdefs.h
>>conftest.
$ac_ext
23325 cat >>conftest.
$ac_ext <<_ACEOF
23326 /* end confdefs.h. */
23328 /* Override any gcc2 internal prototype to avoid an error. */
23332 /* We use char because int might match the return type of a gcc2
23333 builtin and then its argument prototype would still apply. */
23343 rm -f conftest.
$ac_objext conftest
$ac_exeext
23344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23345 (eval $ac_link) 2>conftest.er1
23347 grep -v '^ *+' conftest.er1
>conftest.err
23349 cat conftest.err
>&5
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); } &&
23352 { ac_try
='test -z "$ac_c_werror_flag"
23353 || test ! -s conftest.err'
23354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355 (eval $ac_try) 2>&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); }; } &&
23359 { ac_try
='test -s conftest$ac_exeext'
23360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23361 (eval $ac_try) 2>&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); }; }; then
23365 ac_cv_lib_svld_dlopen
=yes
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.
$ac_ext >&5
23370 ac_cv_lib_svld_dlopen
=no
23372 rm -f conftest.err conftest.
$ac_objext \
23373 conftest
$ac_exeext conftest.
$ac_ext
23374 LIBS
=$ac_check_lib_save_LIBS
23376 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
23377 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
23378 if test $ac_cv_lib_svld_dlopen = yes; then
23379 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
23381 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
23382 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
23383 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
23384 echo $ECHO_N "(cached) $ECHO_C" >&6
23386 ac_check_lib_save_LIBS
=$LIBS
23388 cat >conftest.
$ac_ext <<_ACEOF
23391 cat confdefs.h
>>conftest.
$ac_ext
23392 cat >>conftest.
$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23395 /* Override any gcc2 internal prototype to avoid an error. */
23399 /* We use char because int might match the return type of a gcc2
23400 builtin and then its argument prototype would still apply. */
23410 rm -f conftest.
$ac_objext conftest
$ac_exeext
23411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23412 (eval $ac_link) 2>conftest.er1
23414 grep -v '^ *+' conftest.er1
>conftest.err
23416 cat conftest.err
>&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } &&
23419 { ac_try
='test -z "$ac_c_werror_flag"
23420 || test ! -s conftest.err'
23421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422 (eval $ac_try) 2>&5
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; } &&
23426 { ac_try
='test -s conftest$ac_exeext'
23427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23428 (eval $ac_try) 2>&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); }; }; then
23432 ac_cv_lib_dld_dld_link
=yes
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.
$ac_ext >&5
23437 ac_cv_lib_dld_dld_link
=no
23439 rm -f conftest.err conftest.
$ac_objext \
23440 conftest
$ac_exeext conftest.
$ac_ext
23441 LIBS
=$ac_check_lib_save_LIBS
23443 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
23444 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
23445 if test $ac_cv_lib_dld_dld_link = yes; then
23446 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
23467 if test "x$lt_cv_dlopen" != xno
; then
23473 case $lt_cv_dlopen in
23475 save_CPPFLAGS
="$CPPFLAGS"
23476 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
23478 save_LDFLAGS
="$LDFLAGS"
23479 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
23482 LIBS
="$lt_cv_dlopen_libs $LIBS"
23484 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
23485 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
23486 if test "${lt_cv_dlopen_self+set}" = set; then
23487 echo $ECHO_N "(cached) $ECHO_C" >&6
23489 if test "$cross_compiling" = yes; then :
23490 lt_cv_dlopen_self
=cross
23492 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
23493 lt_status
=$lt_dlunknown
23494 cat > conftest.
$ac_ext <<EOF
23495 #line 23495 "configure"
23496 #include "confdefs.h"
23505 # define LT_DLGLOBAL RTLD_GLOBAL
23508 # define LT_DLGLOBAL DL_GLOBAL
23510 # define LT_DLGLOBAL 0
23514 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23515 find out it does not work in some platform. */
23516 #ifndef LT_DLLAZY_OR_NOW
23518 # define LT_DLLAZY_OR_NOW RTLD_LAZY
23521 # define LT_DLLAZY_OR_NOW DL_LAZY
23524 # define LT_DLLAZY_OR_NOW RTLD_NOW
23527 # define LT_DLLAZY_OR_NOW DL_NOW
23529 # define LT_DLLAZY_OR_NOW 0
23537 extern "C" void exit (int);
23540 void fnord() { int i=42;}
23543 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23544 int status = $lt_dlunknown;
23548 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23549 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23550 /* dlclose (self); */
23556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23557 (eval $ac_link) 2>&5
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
23561 (.
/conftest
; exit; ) 2>/dev
/null
23563 case x
$lt_status in
23564 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
23565 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
23566 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
23569 # compilation failed
23570 lt_cv_dlopen_self
=no
23577 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
23578 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
23580 if test "x$lt_cv_dlopen_self" = xyes
; then
23581 LDFLAGS
="$LDFLAGS $link_static_flag"
23582 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
23583 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
23584 if test "${lt_cv_dlopen_self_static+set}" = set; then
23585 echo $ECHO_N "(cached) $ECHO_C" >&6
23587 if test "$cross_compiling" = yes; then :
23588 lt_cv_dlopen_self_static
=cross
23590 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
23591 lt_status
=$lt_dlunknown
23592 cat > conftest.
$ac_ext <<EOF
23593 #line 23593 "configure"
23594 #include "confdefs.h"
23603 # define LT_DLGLOBAL RTLD_GLOBAL
23606 # define LT_DLGLOBAL DL_GLOBAL
23608 # define LT_DLGLOBAL 0
23612 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23613 find out it does not work in some platform. */
23614 #ifndef LT_DLLAZY_OR_NOW
23616 # define LT_DLLAZY_OR_NOW RTLD_LAZY
23619 # define LT_DLLAZY_OR_NOW DL_LAZY
23622 # define LT_DLLAZY_OR_NOW RTLD_NOW
23625 # define LT_DLLAZY_OR_NOW DL_NOW
23627 # define LT_DLLAZY_OR_NOW 0
23635 extern "C" void exit (int);
23638 void fnord() { int i=42;}
23641 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23642 int status = $lt_dlunknown;
23646 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23647 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23648 /* dlclose (self); */
23654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23655 (eval $ac_link) 2>&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
23659 (.
/conftest
; exit; ) 2>/dev
/null
23661 case x
$lt_status in
23662 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
23663 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
23664 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
23667 # compilation failed
23668 lt_cv_dlopen_self_static
=no
23675 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
23676 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
23679 CPPFLAGS
="$save_CPPFLAGS"
23680 LDFLAGS
="$save_LDFLAGS"
23685 case $lt_cv_dlopen_self in
23686 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
23687 *) enable_dlopen_self
=unknown
;;
23690 case $lt_cv_dlopen_self_static in
23691 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
23692 *) enable_dlopen_self_static
=unknown
;;
23697 # The else clause should only fire when bootstrapping the
23698 # libtool distribution, otherwise you forgot to ship ltmain.sh
23699 # with your package, and you will get complaints that there are
23700 # no rules to generate ltmain.sh.
23701 if test -f "$ltmain"; then
23702 # See if we are running on zsh, and set the options which allow our commands through
23703 # without removal of \ escapes.
23704 if test -n "${ZSH_VERSION+set}" ; then
23705 setopt NO_GLOB_SUBST
23707 # Now quote all the things that may contain metacharacters while being
23708 # careful not to overquote the AC_SUBSTed values. We take copies of the
23709 # variables and quote the copies for generation of the libtool script.
23710 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
23712 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23713 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23714 deplibs_check_method reload_flag reload_cmds need_locks \
23715 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23716 lt_cv_sys_global_symbol_to_c_name_address \
23717 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23718 old_postinstall_cmds old_postuninstall_cmds \
23722 lt_prog_compiler_wl_GCJ \
23723 lt_prog_compiler_pic_GCJ \
23724 lt_prog_compiler_static_GCJ \
23725 lt_prog_compiler_no_builtin_flag_GCJ \
23726 export_dynamic_flag_spec_GCJ \
23727 thread_safe_flag_spec_GCJ \
23728 whole_archive_flag_spec_GCJ \
23729 enable_shared_with_static_runtimes_GCJ \
23730 old_archive_cmds_GCJ \
23731 old_archive_from_new_cmds_GCJ \
23732 predep_objects_GCJ \
23733 postdep_objects_GCJ \
23736 compiler_lib_search_path_GCJ \
23738 archive_expsym_cmds_GCJ \
23739 postinstall_cmds_GCJ \
23740 postuninstall_cmds_GCJ \
23741 old_archive_from_expsyms_cmds_GCJ \
23742 allow_undefined_flag_GCJ \
23743 no_undefined_flag_GCJ \
23744 export_symbols_cmds_GCJ \
23745 hardcode_libdir_flag_spec_GCJ \
23746 hardcode_libdir_flag_spec_ld_GCJ \
23747 hardcode_libdir_separator_GCJ \
23748 hardcode_automatic_GCJ \
23750 module_expsym_cmds_GCJ \
23751 lt_cv_prog_compiler_c_o_GCJ \
23752 exclude_expsyms_GCJ \
23753 include_expsyms_GCJ
; do
23756 old_archive_cmds_GCJ | \
23757 old_archive_from_new_cmds_GCJ | \
23758 archive_cmds_GCJ | \
23759 archive_expsym_cmds_GCJ | \
23760 module_cmds_GCJ | \
23761 module_expsym_cmds_GCJ | \
23762 old_archive_from_expsyms_cmds_GCJ | \
23763 export_symbols_cmds_GCJ | \
23764 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23765 postinstall_cmds | postuninstall_cmds | \
23766 old_postinstall_cmds | old_postuninstall_cmds | \
23767 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23768 # Double-quote double-evaled strings.
23769 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23772 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23778 *'\$0 --fallback-echo"')
23779 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23785 cat <<__EOF__ >> "$cfgfile"
23786 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23788 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23790 # Shell to use when invoking shell scripts.
23793 # Whether or not to build shared libraries.
23794 build_libtool_libs=$enable_shared
23796 # Whether or not to build static libraries.
23797 build_old_libs=$enable_static
23799 # Whether or not to add -lc for building shared libraries.
23800 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
23802 # Whether or not to disallow shared libs when runtime libs are static
23803 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
23805 # Whether or not to optimize for fast installation.
23806 fast_install=$enable_fast_install
23809 host_alias=$host_alias
23812 # An echo program that does not interpret backslashes.
23817 AR_FLAGS=$lt_AR_FLAGS
23822 # A language-specific compiler.
23823 CC=$lt_compiler_GCJ
23825 # Is the compiler the GNU C compiler?
23831 # The linker used to build libraries.
23834 # Whether we need hard or soft links.
23837 # A BSD-compatible nm program.
23840 # A symbol stripping program
23843 # Used to examine libraries when file_magic_cmd begins "file"
23844 MAGIC_CMD=$MAGIC_CMD
23846 # Used on cygwin: DLL creation program.
23849 # Used on cygwin: object dumper.
23852 # Used on cygwin: assembler.
23855 # The name of the directory that contains temporary libtool files.
23858 # How to create reloadable object files.
23859 reload_flag=$lt_reload_flag
23860 reload_cmds=$lt_reload_cmds
23862 # How to pass a linker flag through the compiler.
23863 wl=$lt_lt_prog_compiler_wl_GCJ
23865 # Object file suffix (normally "o").
23866 objext="$ac_objext"
23868 # Old archive suffix (normally "a").
23871 # Shared library suffix (normally ".so").
23872 shrext_cmds='$shrext_cmds'
23874 # Executable file suffix (normally "").
23877 # Additional compiler flags for building library objects.
23878 pic_flag=$lt_lt_prog_compiler_pic_GCJ
23881 # What is the maximum length of a command?
23882 max_cmd_len=$lt_cv_sys_max_cmd_len
23884 # Does compiler simultaneously support -c and -o options?
23885 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
23887 # Must we lock files when doing compilation ?
23888 need_locks=$lt_need_locks
23890 # Do we need the lib prefix for modules?
23891 need_lib_prefix=$need_lib_prefix
23893 # Do we need a version for libraries?
23894 need_version=$need_version
23896 # Whether dlopen is supported.
23897 dlopen_support=$enable_dlopen
23899 # Whether dlopen of programs is supported.
23900 dlopen_self=$enable_dlopen_self
23902 # Whether dlopen of statically linked programs is supported.
23903 dlopen_self_static=$enable_dlopen_self_static
23905 # Compiler flag to prevent dynamic linking.
23906 link_static_flag=$lt_lt_prog_compiler_static_GCJ
23908 # Compiler flag to turn off builtin functions.
23909 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
23911 # Compiler flag to allow reflexive dlopens.
23912 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
23914 # Compiler flag to generate shared objects directly from archives.
23915 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
23917 # Compiler flag to generate thread-safe objects.
23918 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
23920 # Library versioning type.
23921 version_type=$version_type
23923 # Format of library name prefix.
23924 libname_spec=$lt_libname_spec
23926 # List of archive names. First name is the real one, the rest are links.
23927 # The last name is the one that the linker finds with -lNAME.
23928 library_names_spec=$lt_library_names_spec
23930 # The coded name of the library, if different from the real name.
23931 soname_spec=$lt_soname_spec
23933 # Commands used to build and install an old-style archive.
23935 old_archive_cmds=$lt_old_archive_cmds_GCJ
23936 old_postinstall_cmds=$lt_old_postinstall_cmds
23937 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23939 # Create an old-style archive from a shared archive.
23940 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
23942 # Create a temporary old-style archive to link instead of a shared archive.
23943 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
23945 # Commands used to build and install a shared archive.
23946 archive_cmds=$lt_archive_cmds_GCJ
23947 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
23948 postinstall_cmds=$lt_postinstall_cmds
23949 postuninstall_cmds=$lt_postuninstall_cmds
23951 # Commands used to build a loadable module (assumed same as above if empty)
23952 module_cmds=$lt_module_cmds_GCJ
23953 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
23955 # Commands to strip libraries.
23956 old_striplib=$lt_old_striplib
23957 striplib=$lt_striplib
23959 # Dependencies to place before the objects being linked to create a
23961 predep_objects=$lt_predep_objects_GCJ
23963 # Dependencies to place after the objects being linked to create a
23965 postdep_objects=$lt_postdep_objects_GCJ
23967 # Dependencies to place before the objects being linked to create a
23969 predeps=$lt_predeps_GCJ
23971 # Dependencies to place after the objects being linked to create a
23973 postdeps=$lt_postdeps_GCJ
23975 # The library search path used internally by the compiler when linking
23976 # a shared library.
23977 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
23979 # Method to check whether dependent libraries are shared objects.
23980 deplibs_check_method=$lt_deplibs_check_method
23982 # Command to use when deplibs_check_method == file_magic.
23983 file_magic_cmd=$lt_file_magic_cmd
23985 # Flag that allows shared libraries with undefined symbols to be built.
23986 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
23988 # Flag that forces no undefined symbols.
23989 no_undefined_flag=$lt_no_undefined_flag_GCJ
23991 # Commands used to finish a libtool library installation in a directory.
23992 finish_cmds=$lt_finish_cmds
23994 # Same as above, but a single script fragment to be evaled but not shown.
23995 finish_eval=$lt_finish_eval
23997 # Take the output of nm and produce a listing of raw symbols and C names.
23998 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24000 # Transform the output of nm in a proper C declaration
24001 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24003 # Transform the output of nm in a C name address pair
24004 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24006 # This is the shared library runtime path variable.
24007 runpath_var=$runpath_var
24009 # This is the shared library path variable.
24010 shlibpath_var=$shlibpath_var
24012 # Is shlibpath searched before the hard-coded library search path?
24013 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24015 # How to hardcode a shared library path into an executable.
24016 hardcode_action=$hardcode_action_GCJ
24018 # Whether we should hardcode library paths into libraries.
24019 hardcode_into_libs=$hardcode_into_libs
24021 # Flag to hardcode \$libdir into a binary during linking.
24022 # This must work even if \$libdir does not exist.
24023 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
24025 # If ld is used when linking, flag to hardcode \$libdir into
24026 # a binary during linking. This must work even if \$libdir does
24028 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
24030 # Whether we need a single -rpath flag with a separated argument.
24031 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
24033 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24034 # resulting binary.
24035 hardcode_direct=$hardcode_direct_GCJ
24037 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24038 # resulting binary.
24039 hardcode_minus_L=$hardcode_minus_L_GCJ
24041 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24042 # the resulting binary.
24043 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
24045 # Set to yes if building a shared library automatically hardcodes DIR into the library
24046 # and all subsequent libraries and executables linked against it.
24047 hardcode_automatic=$hardcode_automatic_GCJ
24049 # Variables whose values should be saved in libtool wrapper scripts and
24050 # restored at relink time.
24051 variables_saved_for_relink="$variables_saved_for_relink"
24053 # Whether libtool must link a program against all its dependency libraries.
24054 link_all_deplibs=$link_all_deplibs_GCJ
24056 # Compile-time system search path for libraries
24057 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24059 # Run-time system search path for libraries
24060 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24062 # Fix the shell variable \$srcfile for the compiler.
24063 fix_srcfile_path="$fix_srcfile_path_GCJ"
24065 # Set to yes if exported symbols are required.
24066 always_export_symbols=$always_export_symbols_GCJ
24068 # The commands to list exported symbols.
24069 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
24071 # The commands to extract the exported symbol list from a shared archive.
24072 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24074 # Symbols that should not be listed in the preloaded symbols.
24075 exclude_expsyms=$lt_exclude_expsyms_GCJ
24077 # Symbols that must always be exported.
24078 include_expsyms=$lt_include_expsyms_GCJ
24080 # ### END LIBTOOL TAG CONFIG: $tagname
24086 # If there is no Makefile yet, we rely on a make rule to execute
24087 # `config.status --recheck' to rerun these tests and create the
24088 # libtool script then.
24089 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24090 if test -f "$ltmain_in"; then
24091 test -f Makefile
&& make "$ltmain"
24097 ac_cpp
='$CPP $CPPFLAGS'
24098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24111 ac_cpp
='$CPP $CPPFLAGS'
24112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24117 # Source file extension for RC test sources.
24120 # Object file extension for compiled RC test sources.
24124 # Code to be used in simple compile tests
24125 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
24127 # Code to be used in simple link tests
24128 lt_simple_link_test_code
="$lt_simple_compile_test_code"
24130 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24132 # If no C compiler was specified, use CC.
24135 # Allow CC to be a program name with arguments.
24139 # Allow CC to be a program name with arguments.
24144 lt_cv_prog_compiler_c_o_RC
=yes
24146 # The else clause should only fire when bootstrapping the
24147 # libtool distribution, otherwise you forgot to ship ltmain.sh
24148 # with your package, and you will get complaints that there are
24149 # no rules to generate ltmain.sh.
24150 if test -f "$ltmain"; then
24151 # See if we are running on zsh, and set the options which allow our commands through
24152 # without removal of \ escapes.
24153 if test -n "${ZSH_VERSION+set}" ; then
24154 setopt NO_GLOB_SUBST
24156 # Now quote all the things that may contain metacharacters while being
24157 # careful not to overquote the AC_SUBSTed values. We take copies of the
24158 # variables and quote the copies for generation of the libtool script.
24159 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
24161 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24162 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24163 deplibs_check_method reload_flag reload_cmds need_locks \
24164 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24165 lt_cv_sys_global_symbol_to_c_name_address \
24166 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24167 old_postinstall_cmds old_postuninstall_cmds \
24171 lt_prog_compiler_wl_RC \
24172 lt_prog_compiler_pic_RC \
24173 lt_prog_compiler_static_RC \
24174 lt_prog_compiler_no_builtin_flag_RC \
24175 export_dynamic_flag_spec_RC \
24176 thread_safe_flag_spec_RC \
24177 whole_archive_flag_spec_RC \
24178 enable_shared_with_static_runtimes_RC \
24179 old_archive_cmds_RC \
24180 old_archive_from_new_cmds_RC \
24181 predep_objects_RC \
24182 postdep_objects_RC \
24185 compiler_lib_search_path_RC \
24187 archive_expsym_cmds_RC \
24188 postinstall_cmds_RC \
24189 postuninstall_cmds_RC \
24190 old_archive_from_expsyms_cmds_RC \
24191 allow_undefined_flag_RC \
24192 no_undefined_flag_RC \
24193 export_symbols_cmds_RC \
24194 hardcode_libdir_flag_spec_RC \
24195 hardcode_libdir_flag_spec_ld_RC \
24196 hardcode_libdir_separator_RC \
24197 hardcode_automatic_RC \
24199 module_expsym_cmds_RC \
24200 lt_cv_prog_compiler_c_o_RC \
24201 exclude_expsyms_RC \
24202 include_expsyms_RC
; do
24205 old_archive_cmds_RC | \
24206 old_archive_from_new_cmds_RC | \
24207 archive_cmds_RC | \
24208 archive_expsym_cmds_RC | \
24210 module_expsym_cmds_RC | \
24211 old_archive_from_expsyms_cmds_RC | \
24212 export_symbols_cmds_RC | \
24213 extract_expsyms_cmds | reload_cmds | finish_cmds | \
24214 postinstall_cmds | postuninstall_cmds | \
24215 old_postinstall_cmds | old_postuninstall_cmds | \
24216 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
24217 # Double-quote double-evaled strings.
24218 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
24221 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
24227 *'\$0 --fallback-echo"')
24228 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
24234 cat <<__EOF__ >> "$cfgfile"
24235 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
24237 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24239 # Shell to use when invoking shell scripts.
24242 # Whether or not to build shared libraries.
24243 build_libtool_libs=$enable_shared
24245 # Whether or not to build static libraries.
24246 build_old_libs=$enable_static
24248 # Whether or not to add -lc for building shared libraries.
24249 build_libtool_need_lc=$archive_cmds_need_lc_RC
24251 # Whether or not to disallow shared libs when runtime libs are static
24252 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
24254 # Whether or not to optimize for fast installation.
24255 fast_install=$enable_fast_install
24258 host_alias=$host_alias
24261 # An echo program that does not interpret backslashes.
24266 AR_FLAGS=$lt_AR_FLAGS
24271 # A language-specific compiler.
24274 # Is the compiler the GNU C compiler?
24280 # The linker used to build libraries.
24283 # Whether we need hard or soft links.
24286 # A BSD-compatible nm program.
24289 # A symbol stripping program
24292 # Used to examine libraries when file_magic_cmd begins "file"
24293 MAGIC_CMD=$MAGIC_CMD
24295 # Used on cygwin: DLL creation program.
24298 # Used on cygwin: object dumper.
24301 # Used on cygwin: assembler.
24304 # The name of the directory that contains temporary libtool files.
24307 # How to create reloadable object files.
24308 reload_flag=$lt_reload_flag
24309 reload_cmds=$lt_reload_cmds
24311 # How to pass a linker flag through the compiler.
24312 wl=$lt_lt_prog_compiler_wl_RC
24314 # Object file suffix (normally "o").
24315 objext="$ac_objext"
24317 # Old archive suffix (normally "a").
24320 # Shared library suffix (normally ".so").
24321 shrext_cmds='$shrext_cmds'
24323 # Executable file suffix (normally "").
24326 # Additional compiler flags for building library objects.
24327 pic_flag=$lt_lt_prog_compiler_pic_RC
24330 # What is the maximum length of a command?
24331 max_cmd_len=$lt_cv_sys_max_cmd_len
24333 # Does compiler simultaneously support -c and -o options?
24334 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
24336 # Must we lock files when doing compilation ?
24337 need_locks=$lt_need_locks
24339 # Do we need the lib prefix for modules?
24340 need_lib_prefix=$need_lib_prefix
24342 # Do we need a version for libraries?
24343 need_version=$need_version
24345 # Whether dlopen is supported.
24346 dlopen_support=$enable_dlopen
24348 # Whether dlopen of programs is supported.
24349 dlopen_self=$enable_dlopen_self
24351 # Whether dlopen of statically linked programs is supported.
24352 dlopen_self_static=$enable_dlopen_self_static
24354 # Compiler flag to prevent dynamic linking.
24355 link_static_flag=$lt_lt_prog_compiler_static_RC
24357 # Compiler flag to turn off builtin functions.
24358 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
24360 # Compiler flag to allow reflexive dlopens.
24361 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
24363 # Compiler flag to generate shared objects directly from archives.
24364 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
24366 # Compiler flag to generate thread-safe objects.
24367 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
24369 # Library versioning type.
24370 version_type=$version_type
24372 # Format of library name prefix.
24373 libname_spec=$lt_libname_spec
24375 # List of archive names. First name is the real one, the rest are links.
24376 # The last name is the one that the linker finds with -lNAME.
24377 library_names_spec=$lt_library_names_spec
24379 # The coded name of the library, if different from the real name.
24380 soname_spec=$lt_soname_spec
24382 # Commands used to build and install an old-style archive.
24384 old_archive_cmds=$lt_old_archive_cmds_RC
24385 old_postinstall_cmds=$lt_old_postinstall_cmds
24386 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24388 # Create an old-style archive from a shared archive.
24389 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
24391 # Create a temporary old-style archive to link instead of a shared archive.
24392 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
24394 # Commands used to build and install a shared archive.
24395 archive_cmds=$lt_archive_cmds_RC
24396 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
24397 postinstall_cmds=$lt_postinstall_cmds
24398 postuninstall_cmds=$lt_postuninstall_cmds
24400 # Commands used to build a loadable module (assumed same as above if empty)
24401 module_cmds=$lt_module_cmds_RC
24402 module_expsym_cmds=$lt_module_expsym_cmds_RC
24404 # Commands to strip libraries.
24405 old_striplib=$lt_old_striplib
24406 striplib=$lt_striplib
24408 # Dependencies to place before the objects being linked to create a
24410 predep_objects=$lt_predep_objects_RC
24412 # Dependencies to place after the objects being linked to create a
24414 postdep_objects=$lt_postdep_objects_RC
24416 # Dependencies to place before the objects being linked to create a
24418 predeps=$lt_predeps_RC
24420 # Dependencies to place after the objects being linked to create a
24422 postdeps=$lt_postdeps_RC
24424 # The library search path used internally by the compiler when linking
24425 # a shared library.
24426 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
24428 # Method to check whether dependent libraries are shared objects.
24429 deplibs_check_method=$lt_deplibs_check_method
24431 # Command to use when deplibs_check_method == file_magic.
24432 file_magic_cmd=$lt_file_magic_cmd
24434 # Flag that allows shared libraries with undefined symbols to be built.
24435 allow_undefined_flag=$lt_allow_undefined_flag_RC
24437 # Flag that forces no undefined symbols.
24438 no_undefined_flag=$lt_no_undefined_flag_RC
24440 # Commands used to finish a libtool library installation in a directory.
24441 finish_cmds=$lt_finish_cmds
24443 # Same as above, but a single script fragment to be evaled but not shown.
24444 finish_eval=$lt_finish_eval
24446 # Take the output of nm and produce a listing of raw symbols and C names.
24447 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24449 # Transform the output of nm in a proper C declaration
24450 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24452 # Transform the output of nm in a C name address pair
24453 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24455 # This is the shared library runtime path variable.
24456 runpath_var=$runpath_var
24458 # This is the shared library path variable.
24459 shlibpath_var=$shlibpath_var
24461 # Is shlibpath searched before the hard-coded library search path?
24462 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24464 # How to hardcode a shared library path into an executable.
24465 hardcode_action=$hardcode_action_RC
24467 # Whether we should hardcode library paths into libraries.
24468 hardcode_into_libs=$hardcode_into_libs
24470 # Flag to hardcode \$libdir into a binary during linking.
24471 # This must work even if \$libdir does not exist.
24472 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
24474 # If ld is used when linking, flag to hardcode \$libdir into
24475 # a binary during linking. This must work even if \$libdir does
24477 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
24479 # Whether we need a single -rpath flag with a separated argument.
24480 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
24482 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24483 # resulting binary.
24484 hardcode_direct=$hardcode_direct_RC
24486 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24487 # resulting binary.
24488 hardcode_minus_L=$hardcode_minus_L_RC
24490 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24491 # the resulting binary.
24492 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
24494 # Set to yes if building a shared library automatically hardcodes DIR into the library
24495 # and all subsequent libraries and executables linked against it.
24496 hardcode_automatic=$hardcode_automatic_RC
24498 # Variables whose values should be saved in libtool wrapper scripts and
24499 # restored at relink time.
24500 variables_saved_for_relink="$variables_saved_for_relink"
24502 # Whether libtool must link a program against all its dependency libraries.
24503 link_all_deplibs=$link_all_deplibs_RC
24505 # Compile-time system search path for libraries
24506 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24508 # Run-time system search path for libraries
24509 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24511 # Fix the shell variable \$srcfile for the compiler.
24512 fix_srcfile_path="$fix_srcfile_path_RC"
24514 # Set to yes if exported symbols are required.
24515 always_export_symbols=$always_export_symbols_RC
24517 # The commands to list exported symbols.
24518 export_symbols_cmds=$lt_export_symbols_cmds_RC
24520 # The commands to extract the exported symbol list from a shared archive.
24521 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24523 # Symbols that should not be listed in the preloaded symbols.
24524 exclude_expsyms=$lt_exclude_expsyms_RC
24526 # Symbols that must always be exported.
24527 include_expsyms=$lt_include_expsyms_RC
24529 # ### END LIBTOOL TAG CONFIG: $tagname
24535 # If there is no Makefile yet, we rely on a make rule to execute
24536 # `config.status --recheck' to rerun these tests and create the
24537 # libtool script then.
24538 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24539 if test -f "$ltmain_in"; then
24540 test -f Makefile
&& make "$ltmain"
24546 ac_cpp
='$CPP $CPPFLAGS'
24547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24556 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
24557 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
24558 { (exit 1); exit 1; }; }
24562 # Append the new tag name to the list of available tags.
24563 if test -n "$tagname" ; then
24564 available_tags
="$available_tags $tagname"
24570 # Now substitute the updated list of available tags.
24571 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
24572 mv "${ofile}T" "$ofile"
24576 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
24577 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
24578 { (exit 1); exit 1; }; }
24584 # This can be used to rebuild libtool when needed
24585 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
24587 # Always use our own libtool.
24588 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
24590 # Prevent multiple expansion
24612 if test "$lt_cv_dlopen_self" = "yes" ; then
24614 cat >>confdefs.h
<<\_ACEOF
24615 #define CAN_DLOPEN_SELF 1
24620 etags_version
=`$ETAGS --version 2>&1`
24621 case "$etags_version" in
24622 *Eexuberant
*) ETAGSFLAGS
="--language-force=c++" ;;
24623 *GNU\ Emacs
*) ETAGSFLAGS
="-l c++" ;;
24624 *) ETAGSFLAGS
="" ;;
24626 ETAGSFLAGS
=$ETAGSFLAGS
24629 if test "$WITH_LLVMGCCDIR" = "default" ; then
24630 # Extract the first word of "llvm-gcc", so it can be a program name with args.
24631 set dummy llvm-gcc
; ac_word
=$2
24632 echo "$as_me:$LINENO: checking for $ac_word" >&5
24633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24634 if test "${ac_cv_path_LLVMGCC+set}" = set; then
24635 echo $ECHO_N "(cached) $ECHO_C" >&6
24639 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
24642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24643 for as_dir
in $PATH
24646 test -z "$as_dir" && as_dir
=.
24647 for ac_exec_ext
in '' $ac_executable_extensions; do
24648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24649 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
24650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24656 test -z "$ac_cv_path_LLVMGCC" && ac_cv_path_LLVMGCC
="llvm-gcc"
24660 LLVMGCC
=$ac_cv_path_LLVMGCC
24662 if test -n "$LLVMGCC"; then
24663 echo "$as_me:$LINENO: result: $LLVMGCC" >&5
24664 echo "${ECHO_T}$LLVMGCC" >&6
24666 echo "$as_me:$LINENO: result: no" >&5
24667 echo "${ECHO_T}no" >&6
24670 # Extract the first word of "llvm-g++", so it can be a program name with args.
24671 set dummy llvm-g
++; ac_word
=$2
24672 echo "$as_me:$LINENO: checking for $ac_word" >&5
24673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24674 if test "${ac_cv_path_LLVMGXX+set}" = set; then
24675 echo $ECHO_N "(cached) $ECHO_C" >&6
24679 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
24682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24683 for as_dir
in $PATH
24686 test -z "$as_dir" && as_dir
=.
24687 for ac_exec_ext
in '' $ac_executable_extensions; do
24688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24689 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
24690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24696 test -z "$ac_cv_path_LLVMGXX" && ac_cv_path_LLVMGXX
="llvm-g++"
24700 LLVMGXX
=$ac_cv_path_LLVMGXX
24702 if test -n "$LLVMGXX"; then
24703 echo "$as_me:$LINENO: result: $LLVMGXX" >&5
24704 echo "${ECHO_T}$LLVMGXX" >&6
24706 echo "$as_me:$LINENO: result: no" >&5
24707 echo "${ECHO_T}no" >&6
24711 LLVMGCC
=$WITH_LLVMGCCDIR/bin
/llvm-gcc
24712 LLVMGXX
=$WITH_LLVMGCCDIR/bin
/llvm-g
++
24719 echo "$as_me:$LINENO: checking tool compatibility" >&5
24720 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6
24733 if test "$GCC" != "yes" && test "$ICC" != "yes"
24735 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
24736 echo "$as_me: error: gcc|icc required but not found" >&2;}
24737 { (exit 1); exit 1; }; }
24740 if test "$GXX" != "yes" && test "$IXX" != "yes"
24742 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
24743 echo "$as_me: error: g++|icc required but not found" >&2;}
24744 { (exit 1); exit 1; }; }
24747 if test "$GCC" = "yes"
24749 gccmajor
=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
24750 if test "$gccmajor" -lt "3"
24752 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
24753 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
24754 { (exit 1); exit 1; }; }
24758 if test -z "$llvm_cv_gnu_make_command"
24760 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
24761 echo "$as_me: error: GNU Make required but not found" >&2;}
24762 { (exit 1); exit 1; }; }
24765 echo "$as_me:$LINENO: result: ok" >&5
24766 echo "${ECHO_T}ok" >&6
24770 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
24771 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
24772 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
24773 echo $ECHO_N "(cached) $ECHO_C" >&6
24775 ac_check_lib_save_LIBS
=$LIBS
24777 cat >conftest.
$ac_ext <<_ACEOF
24780 cat confdefs.h
>>conftest.
$ac_ext
24781 cat >>conftest.
$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24784 /* Override any gcc2 internal prototype to avoid an error. */
24788 /* We use char because int might match the return type of a gcc2
24789 builtin and then its argument prototype would still apply. */
24799 rm -f conftest.
$ac_objext conftest
$ac_exeext
24800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24801 (eval $ac_link) 2>conftest.er1
24803 grep -v '^ *+' conftest.er1
>conftest.err
24805 cat conftest.err
>&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } &&
24808 { ac_try
='test -z "$ac_c_werror_flag"
24809 || test ! -s conftest.err'
24810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24811 (eval $ac_try) 2>&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; } &&
24815 { ac_try
='test -s conftest$ac_exeext'
24816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24817 (eval $ac_try) 2>&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); }; }; then
24821 ac_cv_lib_elf_elf_begin
=yes
24823 echo "$as_me: failed program was:" >&5
24824 sed 's/^/| /' conftest.
$ac_ext >&5
24826 ac_cv_lib_elf_elf_begin
=no
24828 rm -f conftest.err conftest.
$ac_objext \
24829 conftest
$ac_exeext conftest.
$ac_ext
24830 LIBS
=$ac_check_lib_save_LIBS
24832 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
24833 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
24834 if test $ac_cv_lib_elf_elf_begin = yes; then
24835 cat >>confdefs.h
<<_ACEOF
24836 #define HAVE_LIBELF 1
24844 echo "$as_me:$LINENO: checking for library containing lt_dlopen" >&5
24845 echo $ECHO_N "checking for library containing lt_dlopen... $ECHO_C" >&6
24846 if test "${ac_cv_search_lt_dlopen+set}" = set; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24849 ac_func_search_save_LIBS
=$LIBS
24850 ac_cv_search_lt_dlopen
=no
24851 cat >conftest.
$ac_ext <<_ACEOF
24854 cat confdefs.h
>>conftest.
$ac_ext
24855 cat >>conftest.
$ac_ext <<_ACEOF
24856 /* end confdefs.h. */
24858 /* Override any gcc2 internal prototype to avoid an error. */
24862 /* We use char because int might match the return type of a gcc2
24863 builtin and then its argument prototype would still apply. */
24873 rm -f conftest.
$ac_objext conftest
$ac_exeext
24874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24875 (eval $ac_link) 2>conftest.er1
24877 grep -v '^ *+' conftest.er1
>conftest.err
24879 cat conftest.err
>&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); } &&
24882 { ac_try
='test -z "$ac_c_werror_flag"
24883 || test ! -s conftest.err'
24884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24885 (eval $ac_try) 2>&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); }; } &&
24889 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
24895 ac_cv_search_lt_dlopen
="none required"
24897 echo "$as_me: failed program was:" >&5
24898 sed 's/^/| /' conftest.
$ac_ext >&5
24901 rm -f conftest.err conftest.
$ac_objext \
24902 conftest
$ac_exeext conftest.
$ac_ext
24903 if test "$ac_cv_search_lt_dlopen" = no
; then
24904 for ac_lib
in ltdl
; do
24905 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24906 cat >conftest.
$ac_ext <<_ACEOF
24909 cat confdefs.h
>>conftest.
$ac_ext
24910 cat >>conftest.
$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24913 /* Override any gcc2 internal prototype to avoid an error. */
24917 /* We use char because int might match the return type of a gcc2
24918 builtin and then its argument prototype would still apply. */
24928 rm -f conftest.
$ac_objext conftest
$ac_exeext
24929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24930 (eval $ac_link) 2>conftest.er1
24932 grep -v '^ *+' conftest.er1
>conftest.err
24934 cat conftest.err
>&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); } &&
24937 { ac_try
='test -z "$ac_c_werror_flag"
24938 || test ! -s conftest.err'
24939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24940 (eval $ac_try) 2>&5
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); }; } &&
24944 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
24950 ac_cv_search_lt_dlopen
="-l$ac_lib"
24953 echo "$as_me: failed program was:" >&5
24954 sed 's/^/| /' conftest.
$ac_ext >&5
24957 rm -f conftest.err conftest.
$ac_objext \
24958 conftest
$ac_exeext conftest.
$ac_ext
24961 LIBS
=$ac_func_search_save_LIBS
24963 echo "$as_me:$LINENO: result: $ac_cv_search_lt_dlopen" >&5
24964 echo "${ECHO_T}$ac_cv_search_lt_dlopen" >&6
24965 if test "$ac_cv_search_lt_dlopen" != no
; then
24966 test "$ac_cv_search_lt_dlopen" = "none required" || LIBS
="$ac_cv_search_lt_dlopen $LIBS"
24968 cat >>confdefs.h
<<\_ACEOF
24969 #define HAVE_LT_DLOPEN 1
24973 { echo "$as_me:$LINENO: WARNING: lt_dlopen() not found - plugin support might
24974 not be available" >&5
24975 echo "$as_me: WARNING: lt_dlopen() not found - plugin support might
24976 not be available" >&2;}
24980 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
24981 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
24982 if test "${ac_cv_search_dlopen+set}" = set; then
24983 echo $ECHO_N "(cached) $ECHO_C" >&6
24985 ac_func_search_save_LIBS
=$LIBS
24986 ac_cv_search_dlopen
=no
24987 cat >conftest.
$ac_ext <<_ACEOF
24990 cat confdefs.h
>>conftest.
$ac_ext
24991 cat >>conftest.
$ac_ext <<_ACEOF
24992 /* end confdefs.h. */
24994 /* Override any gcc2 internal prototype to avoid an error. */
24998 /* We use char because int might match the return type of a gcc2
24999 builtin and then its argument prototype would still apply. */
25009 rm -f conftest.
$ac_objext conftest
$ac_exeext
25010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25011 (eval $ac_link) 2>conftest.er1
25013 grep -v '^ *+' conftest.er1
>conftest.err
25015 cat conftest.err
>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } &&
25018 { ac_try
='test -z "$ac_c_werror_flag"
25019 || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try
='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 ac_cv_search_dlopen
="none required"
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.
$ac_ext >&5
25037 rm -f conftest.err conftest.
$ac_objext \
25038 conftest
$ac_exeext conftest.
$ac_ext
25039 if test "$ac_cv_search_dlopen" = no
; then
25040 for ac_lib
in dl
; do
25041 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
25042 cat >conftest.
$ac_ext <<_ACEOF
25045 cat confdefs.h
>>conftest.
$ac_ext
25046 cat >>conftest.
$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25049 /* Override any gcc2 internal prototype to avoid an error. */
25053 /* We use char because int might match the return type of a gcc2
25054 builtin and then its argument prototype would still apply. */
25064 rm -f conftest.
$ac_objext conftest
$ac_exeext
25065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25066 (eval $ac_link) 2>conftest.er1
25068 grep -v '^ *+' conftest.er1
>conftest.err
25070 cat conftest.err
>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } &&
25073 { ac_try
='test -z "$ac_c_werror_flag"
25074 || test ! -s conftest.err'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; } &&
25080 { ac_try
='test -s conftest$ac_exeext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25086 ac_cv_search_dlopen
="-l$ac_lib"
25089 echo "$as_me: failed program was:" >&5
25090 sed 's/^/| /' conftest.
$ac_ext >&5
25093 rm -f conftest.err conftest.
$ac_objext \
25094 conftest
$ac_exeext conftest.
$ac_ext
25097 LIBS
=$ac_func_search_save_LIBS
25099 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
25100 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
25101 if test "$ac_cv_search_dlopen" != no
; then
25102 test "$ac_cv_search_dlopen" = "none required" || LIBS
="$ac_cv_search_dlopen $LIBS"
25104 cat >>confdefs.h
<<\_ACEOF
25105 #define HAVE_DLOPEN 1
25109 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
25110 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
25114 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
25115 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
25116 if test "${ac_cv_search_mallinfo+set}" = set; then
25117 echo $ECHO_N "(cached) $ECHO_C" >&6
25119 ac_func_search_save_LIBS
=$LIBS
25120 ac_cv_search_mallinfo
=no
25121 cat >conftest.
$ac_ext <<_ACEOF
25124 cat confdefs.h
>>conftest.
$ac_ext
25125 cat >>conftest.
$ac_ext <<_ACEOF
25126 /* end confdefs.h. */
25128 /* Override any gcc2 internal prototype to avoid an error. */
25132 /* We use char because int might match the return type of a gcc2
25133 builtin and then its argument prototype would still apply. */
25143 rm -f conftest.
$ac_objext conftest
$ac_exeext
25144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25145 (eval $ac_link) 2>conftest.er1
25147 grep -v '^ *+' conftest.er1
>conftest.err
25149 cat conftest.err
>&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } &&
25152 { ac_try
='test -z "$ac_c_werror_flag"
25153 || test ! -s conftest.err'
25154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25155 (eval $ac_try) 2>&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); }; } &&
25159 { ac_try
='test -s conftest$ac_exeext'
25160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161 (eval $ac_try) 2>&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); }; }; then
25165 ac_cv_search_mallinfo
="none required"
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.
$ac_ext >&5
25171 rm -f conftest.err conftest.
$ac_objext \
25172 conftest
$ac_exeext conftest.
$ac_ext
25173 if test "$ac_cv_search_mallinfo" = no
; then
25174 for ac_lib
in malloc
; do
25175 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
25176 cat >conftest.
$ac_ext <<_ACEOF
25179 cat confdefs.h
>>conftest.
$ac_ext
25180 cat >>conftest.
$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25183 /* Override any gcc2 internal prototype to avoid an error. */
25187 /* We use char because int might match the return type of a gcc2
25188 builtin and then its argument prototype would still apply. */
25198 rm -f conftest.
$ac_objext conftest
$ac_exeext
25199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25200 (eval $ac_link) 2>conftest.er1
25202 grep -v '^ *+' conftest.er1
>conftest.err
25204 cat conftest.err
>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } &&
25207 { ac_try
='test -z "$ac_c_werror_flag"
25208 || test ! -s conftest.err'
25209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210 (eval $ac_try) 2>&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); }; } &&
25214 { ac_try
='test -s conftest$ac_exeext'
25215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216 (eval $ac_try) 2>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); }; }; then
25220 ac_cv_search_mallinfo
="-l$ac_lib"
25223 echo "$as_me: failed program was:" >&5
25224 sed 's/^/| /' conftest.
$ac_ext >&5
25227 rm -f conftest.err conftest.
$ac_objext \
25228 conftest
$ac_exeext conftest.
$ac_ext
25231 LIBS
=$ac_func_search_save_LIBS
25233 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
25234 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
25235 if test "$ac_cv_search_mallinfo" != no
; then
25236 test "$ac_cv_search_mallinfo" = "none required" || LIBS
="$ac_cv_search_mallinfo $LIBS"
25238 cat >>confdefs.h
<<\_ACEOF
25239 #define HAVE_MALLINFO 1
25245 echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
25246 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6
25247 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25250 ac_func_search_save_LIBS
=$LIBS
25251 ac_cv_search_pthread_mutex_lock
=no
25252 cat >conftest.
$ac_ext <<_ACEOF
25255 cat confdefs.h
>>conftest.
$ac_ext
25256 cat >>conftest.
$ac_ext <<_ACEOF
25257 /* end confdefs.h. */
25259 /* Override any gcc2 internal prototype to avoid an error. */
25263 /* We use char because int might match the return type of a gcc2
25264 builtin and then its argument prototype would still apply. */
25265 char pthread_mutex_lock ();
25269 pthread_mutex_lock ();
25274 rm -f conftest.
$ac_objext conftest
$ac_exeext
25275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25276 (eval $ac_link) 2>conftest.er1
25278 grep -v '^ *+' conftest.er1
>conftest.err
25280 cat conftest.err
>&5
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); } &&
25283 { ac_try
='test -z "$ac_c_werror_flag"
25284 || test ! -s conftest.err'
25285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25286 (eval $ac_try) 2>&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); }; } &&
25290 { ac_try
='test -s conftest$ac_exeext'
25291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25292 (eval $ac_try) 2>&5
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); }; }; then
25296 ac_cv_search_pthread_mutex_lock
="none required"
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.
$ac_ext >&5
25302 rm -f conftest.err conftest.
$ac_objext \
25303 conftest
$ac_exeext conftest.
$ac_ext
25304 if test "$ac_cv_search_pthread_mutex_lock" = no
; then
25305 for ac_lib
in pthread
; do
25306 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
25307 cat >conftest.
$ac_ext <<_ACEOF
25310 cat confdefs.h
>>conftest.
$ac_ext
25311 cat >>conftest.
$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25314 /* Override any gcc2 internal prototype to avoid an error. */
25318 /* We use char because int might match the return type of a gcc2
25319 builtin and then its argument prototype would still apply. */
25320 char pthread_mutex_lock ();
25324 pthread_mutex_lock ();
25329 rm -f conftest.
$ac_objext conftest
$ac_exeext
25330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25331 (eval $ac_link) 2>conftest.er1
25333 grep -v '^ *+' conftest.er1
>conftest.err
25335 cat conftest.err
>&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } &&
25338 { ac_try
='test -z "$ac_c_werror_flag"
25339 || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try
='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 ac_cv_search_pthread_mutex_lock
="-l$ac_lib"
25354 echo "$as_me: failed program was:" >&5
25355 sed 's/^/| /' conftest.
$ac_ext >&5
25358 rm -f conftest.err conftest.
$ac_objext \
25359 conftest
$ac_exeext conftest.
$ac_ext
25362 LIBS
=$ac_func_search_save_LIBS
25364 echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
25365 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6
25366 if test "$ac_cv_search_pthread_mutex_lock" != no
; then
25367 test "$ac_cv_search_pthread_mutex_lock" = "none required" || LIBS
="$ac_cv_search_pthread_mutex_lock $LIBS"
25369 cat >>confdefs.h
<<\_ACEOF
25370 #define HAVE_PTHREAD_MUTEX_LOCK 1
25382 ac_header_dirent
=no
25383 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
25384 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
25385 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
25386 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
25387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 cat >conftest.
$ac_ext <<_ACEOF
25393 cat confdefs.h
>>conftest.
$ac_ext
25394 cat >>conftest.
$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25396 #include <sys/types.h>
25408 rm -f conftest.
$ac_objext
25409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25410 (eval $ac_compile) 2>conftest.er1
25412 grep -v '^ *+' conftest.er1
>conftest.err
25414 cat conftest.err
>&5
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); } &&
25417 { ac_try
='test -z "$ac_c_werror_flag"
25418 || test ! -s conftest.err'
25419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25420 (eval $ac_try) 2>&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); }; } &&
25424 { ac_try
='test -s conftest.$ac_objext'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; }; then
25430 eval "$as_ac_Header=yes"
25432 echo "$as_me: failed program was:" >&5
25433 sed 's/^/| /' conftest.
$ac_ext >&5
25435 eval "$as_ac_Header=no"
25437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25442 cat >>confdefs.h
<<_ACEOF
25443 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
25446 ac_header_dirent
=$ac_hdr; break
25450 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
25451 if test $ac_header_dirent = dirent.h
; then
25452 echo "$as_me:$LINENO: checking for library containing opendir" >&5
25453 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
25454 if test "${ac_cv_search_opendir+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 ac_func_search_save_LIBS
=$LIBS
25458 ac_cv_search_opendir
=no
25459 cat >conftest.
$ac_ext <<_ACEOF
25462 cat confdefs.h
>>conftest.
$ac_ext
25463 cat >>conftest.
$ac_ext <<_ACEOF
25464 /* end confdefs.h. */
25466 /* Override any gcc2 internal prototype to avoid an error. */
25470 /* We use char because int might match the return type of a gcc2
25471 builtin and then its argument prototype would still apply. */
25481 rm -f conftest.
$ac_objext conftest
$ac_exeext
25482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25483 (eval $ac_link) 2>conftest.er1
25485 grep -v '^ *+' conftest.er1
>conftest.err
25487 cat conftest.err
>&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } &&
25490 { ac_try
='test -z "$ac_c_werror_flag"
25491 || test ! -s conftest.err'
25492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25493 (eval $ac_try) 2>&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); }; } &&
25497 { ac_try
='test -s conftest$ac_exeext'
25498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25499 (eval $ac_try) 2>&5
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); }; }; then
25503 ac_cv_search_opendir
="none required"
25505 echo "$as_me: failed program was:" >&5
25506 sed 's/^/| /' conftest.
$ac_ext >&5
25509 rm -f conftest.err conftest.
$ac_objext \
25510 conftest
$ac_exeext conftest.
$ac_ext
25511 if test "$ac_cv_search_opendir" = no
; then
25512 for ac_lib
in dir
; do
25513 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
25514 cat >conftest.
$ac_ext <<_ACEOF
25517 cat confdefs.h
>>conftest.
$ac_ext
25518 cat >>conftest.
$ac_ext <<_ACEOF
25519 /* end confdefs.h. */
25521 /* Override any gcc2 internal prototype to avoid an error. */
25525 /* We use char because int might match the return type of a gcc2
25526 builtin and then its argument prototype would still apply. */
25536 rm -f conftest.
$ac_objext conftest
$ac_exeext
25537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25538 (eval $ac_link) 2>conftest.er1
25540 grep -v '^ *+' conftest.er1
>conftest.err
25542 cat conftest.err
>&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } &&
25545 { ac_try
='test -z "$ac_c_werror_flag"
25546 || test ! -s conftest.err'
25547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25548 (eval $ac_try) 2>&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); }; } &&
25552 { ac_try
='test -s conftest$ac_exeext'
25553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25554 (eval $ac_try) 2>&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); }; }; then
25558 ac_cv_search_opendir
="-l$ac_lib"
25561 echo "$as_me: failed program was:" >&5
25562 sed 's/^/| /' conftest.
$ac_ext >&5
25565 rm -f conftest.err conftest.
$ac_objext \
25566 conftest
$ac_exeext conftest.
$ac_ext
25569 LIBS
=$ac_func_search_save_LIBS
25571 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
25572 echo "${ECHO_T}$ac_cv_search_opendir" >&6
25573 if test "$ac_cv_search_opendir" != no
; then
25574 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
25579 echo "$as_me:$LINENO: checking for library containing opendir" >&5
25580 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
25581 if test "${ac_cv_search_opendir+set}" = set; then
25582 echo $ECHO_N "(cached) $ECHO_C" >&6
25584 ac_func_search_save_LIBS
=$LIBS
25585 ac_cv_search_opendir
=no
25586 cat >conftest.
$ac_ext <<_ACEOF
25589 cat confdefs.h
>>conftest.
$ac_ext
25590 cat >>conftest.
$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25593 /* Override any gcc2 internal prototype to avoid an error. */
25597 /* We use char because int might match the return type of a gcc2
25598 builtin and then its argument prototype would still apply. */
25608 rm -f conftest.
$ac_objext conftest
$ac_exeext
25609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25610 (eval $ac_link) 2>conftest.er1
25612 grep -v '^ *+' conftest.er1
>conftest.err
25614 cat conftest.err
>&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); } &&
25617 { ac_try
='test -z "$ac_c_werror_flag"
25618 || test ! -s conftest.err'
25619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25620 (eval $ac_try) 2>&5
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); }; } &&
25624 { ac_try
='test -s conftest$ac_exeext'
25625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25626 (eval $ac_try) 2>&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); }; }; then
25630 ac_cv_search_opendir
="none required"
25632 echo "$as_me: failed program was:" >&5
25633 sed 's/^/| /' conftest.
$ac_ext >&5
25636 rm -f conftest.err conftest.
$ac_objext \
25637 conftest
$ac_exeext conftest.
$ac_ext
25638 if test "$ac_cv_search_opendir" = no
; then
25639 for ac_lib
in x
; do
25640 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
25641 cat >conftest.
$ac_ext <<_ACEOF
25644 cat confdefs.h
>>conftest.
$ac_ext
25645 cat >>conftest.
$ac_ext <<_ACEOF
25646 /* end confdefs.h. */
25648 /* Override any gcc2 internal prototype to avoid an error. */
25652 /* We use char because int might match the return type of a gcc2
25653 builtin and then its argument prototype would still apply. */
25663 rm -f conftest.
$ac_objext conftest
$ac_exeext
25664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25665 (eval $ac_link) 2>conftest.er1
25667 grep -v '^ *+' conftest.er1
>conftest.err
25669 cat conftest.err
>&5
25670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25671 (exit $ac_status); } &&
25672 { ac_try
='test -z "$ac_c_werror_flag"
25673 || test ! -s conftest.err'
25674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25675 (eval $ac_try) 2>&5
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); }; } &&
25679 { ac_try
='test -s conftest$ac_exeext'
25680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25681 (eval $ac_try) 2>&5
25683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684 (exit $ac_status); }; }; then
25685 ac_cv_search_opendir
="-l$ac_lib"
25688 echo "$as_me: failed program was:" >&5
25689 sed 's/^/| /' conftest.
$ac_ext >&5
25692 rm -f conftest.err conftest.
$ac_objext \
25693 conftest
$ac_exeext conftest.
$ac_ext
25696 LIBS
=$ac_func_search_save_LIBS
25698 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
25699 echo "${ECHO_T}$ac_cv_search_opendir" >&6
25700 if test "$ac_cv_search_opendir" != no
; then
25701 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
25707 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
25708 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
25709 if test "${ac_cv_header_mmap_anon+set}" = set; then
25710 echo $ECHO_N "(cached) $ECHO_C" >&6
25713 ac_cpp
='$CPP $CPPFLAGS'
25714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25718 cat >conftest.
$ac_ext <<_ACEOF
25721 cat confdefs.h
>>conftest.
$ac_ext
25722 cat >>conftest.
$ac_ext <<_ACEOF
25723 /* end confdefs.h. */
25724 #include <sys/mman.h>
25725 #include <unistd.h>
25730 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
25735 rm -f conftest.
$ac_objext
25736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25737 (eval $ac_compile) 2>conftest.er1
25739 grep -v '^ *+' conftest.er1
>conftest.err
25741 cat conftest.err
>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try
='test -z "$ac_c_werror_flag"
25745 || test ! -s conftest.err'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; } &&
25751 { ac_try
='test -s conftest.$ac_objext'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; }; then
25757 ac_cv_header_mmap_anon
=yes
25759 echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.
$ac_ext >&5
25762 ac_cv_header_mmap_anon
=no
25764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25766 ac_cpp
='$CPP $CPPFLAGS'
25767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25773 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
25774 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
25775 if test "$ac_cv_header_mmap_anon" = yes; then
25777 cat >>confdefs.h
<<\_ACEOF
25778 #define HAVE_MMAP_ANONYMOUS 1
25783 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
25784 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
25785 if test "${ac_cv_header_stat_broken+set}" = set; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 cat >conftest.
$ac_ext <<_ACEOF
25791 cat confdefs.h
>>conftest.
$ac_ext
25792 cat >>conftest.
$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25794 #include <sys/types.h>
25795 #include <sys/stat.h>
25797 #if defined(S_ISBLK) && defined(S_IFDIR)
25798 # if S_ISBLK (S_IFDIR)
25803 #if defined(S_ISBLK) && defined(S_IFCHR)
25804 # if S_ISBLK (S_IFCHR)
25809 #if defined(S_ISLNK) && defined(S_IFREG)
25810 # if S_ISLNK (S_IFREG)
25815 #if defined(S_ISSOCK) && defined(S_IFREG)
25816 # if S_ISSOCK (S_IFREG)
25822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25823 $EGREP "You lose" >/dev
/null
2>&1; then
25824 ac_cv_header_stat_broken
=yes
25826 ac_cv_header_stat_broken
=no
25831 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
25832 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
25833 if test $ac_cv_header_stat_broken = yes; then
25835 cat >>confdefs.h
<<\_ACEOF
25836 #define STAT_MACROS_BROKEN 1
25841 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
25842 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
25843 if test "${ac_cv_header_stdc+set}" = set; then
25844 echo $ECHO_N "(cached) $ECHO_C" >&6
25846 cat >conftest.
$ac_ext <<_ACEOF
25849 cat confdefs.h
>>conftest.
$ac_ext
25850 cat >>conftest.
$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25852 #include <stdlib.h>
25853 #include <stdarg.h>
25854 #include <string.h>
25865 rm -f conftest.
$ac_objext
25866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25867 (eval $ac_compile) 2>conftest.er1
25869 grep -v '^ *+' conftest.er1
>conftest.err
25871 cat conftest.err
>&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } &&
25874 { ac_try
='test -z "$ac_c_werror_flag"
25875 || test ! -s conftest.err'
25876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25877 (eval $ac_try) 2>&5
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); }; } &&
25881 { ac_try
='test -s conftest.$ac_objext'
25882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883 (eval $ac_try) 2>&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); }; }; then
25887 ac_cv_header_stdc
=yes
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.
$ac_ext >&5
25892 ac_cv_header_stdc
=no
25894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25896 if test $ac_cv_header_stdc = yes; then
25897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
25898 cat >conftest.
$ac_ext <<_ACEOF
25901 cat confdefs.h
>>conftest.
$ac_ext
25902 cat >>conftest.
$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25904 #include <string.h>
25907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25908 $EGREP "memchr" >/dev
/null
2>&1; then
25911 ac_cv_header_stdc
=no
25917 if test $ac_cv_header_stdc = yes; then
25918 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
25919 cat >conftest.
$ac_ext <<_ACEOF
25922 cat confdefs.h
>>conftest.
$ac_ext
25923 cat >>conftest.
$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925 #include <stdlib.h>
25928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25929 $EGREP "free" >/dev
/null
2>&1; then
25932 ac_cv_header_stdc
=no
25938 if test $ac_cv_header_stdc = yes; then
25939 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
25940 if test "$cross_compiling" = yes; then
25943 cat >conftest.
$ac_ext <<_ACEOF
25946 cat confdefs.h
>>conftest.
$ac_ext
25947 cat >>conftest.
$ac_ext <<_ACEOF
25948 /* end confdefs.h. */
25950 #if ((' ' & 0x0FF) == 0x020)
25951 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
25952 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
25954 # define ISLOWER(c) \
25955 (('a' <= (c) && (c) <= 'i') \
25956 || ('j' <= (c) && (c) <= 'r') \
25957 || ('s' <= (c) && (c) <= 'z'))
25958 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
25961 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
25966 for (i = 0; i < 256; i++)
25967 if (XOR (islower (i), ISLOWER (i))
25968 || toupper (i) != TOUPPER (i))
25973 rm -f conftest
$ac_exeext
25974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25975 (eval $ac_link) 2>&5
25977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25978 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980 (eval $ac_try) 2>&5
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); }; }; then
25986 echo "$as_me: program exited with status $ac_status" >&5
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.
$ac_ext >&5
25990 ( exit $ac_status )
25991 ac_cv_header_stdc
=no
25993 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25997 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
25998 echo "${ECHO_T}$ac_cv_header_stdc" >&6
25999 if test $ac_cv_header_stdc = yes; then
26001 cat >>confdefs.h
<<\_ACEOF
26002 #define STDC_HEADERS 1
26007 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
26008 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
26009 if test "${ac_cv_header_sys_wait_h+set}" = set; then
26010 echo $ECHO_N "(cached) $ECHO_C" >&6
26012 cat >conftest.
$ac_ext <<_ACEOF
26015 cat confdefs.h
>>conftest.
$ac_ext
26016 cat >>conftest.
$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 #include <sys/types.h>
26019 #include <sys/wait.h>
26020 #ifndef WEXITSTATUS
26021 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
26024 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
26032 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
26037 rm -f conftest.
$ac_objext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26039 (eval $ac_compile) 2>conftest.er1
26041 grep -v '^ *+' conftest.er1
>conftest.err
26043 cat conftest.err
>&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); } &&
26046 { ac_try
='test -z "$ac_c_werror_flag"
26047 || test ! -s conftest.err'
26048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26049 (eval $ac_try) 2>&5
26051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); }; } &&
26053 { ac_try
='test -s conftest.$ac_objext'
26054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055 (eval $ac_try) 2>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26059 ac_cv_header_sys_wait_h
=yes
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.
$ac_ext >&5
26064 ac_cv_header_sys_wait_h
=no
26066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26068 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
26069 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
26070 if test $ac_cv_header_sys_wait_h = yes; then
26072 cat >>confdefs.h
<<\_ACEOF
26073 #define HAVE_SYS_WAIT_H 1
26078 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
26079 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
26080 if test "${ac_cv_header_time+set}" = set; then
26081 echo $ECHO_N "(cached) $ECHO_C" >&6
26083 cat >conftest.
$ac_ext <<_ACEOF
26086 cat confdefs.h
>>conftest.
$ac_ext
26087 cat >>conftest.
$ac_ext <<_ACEOF
26088 /* end confdefs.h. */
26089 #include <sys/types.h>
26090 #include <sys/time.h>
26096 if ((struct tm *) 0)
26102 rm -f conftest.
$ac_objext
26103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26104 (eval $ac_compile) 2>conftest.er1
26106 grep -v '^ *+' conftest.er1
>conftest.err
26108 cat conftest.err
>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); } &&
26111 { ac_try
='test -z "$ac_c_werror_flag"
26112 || test ! -s conftest.err'
26113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26114 (eval $ac_try) 2>&5
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); }; } &&
26118 { ac_try
='test -s conftest.$ac_objext'
26119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26120 (eval $ac_try) 2>&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); }; }; then
26124 ac_cv_header_time
=yes
26126 echo "$as_me: failed program was:" >&5
26127 sed 's/^/| /' conftest.
$ac_ext >&5
26129 ac_cv_header_time
=no
26131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26133 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
26134 echo "${ECHO_T}$ac_cv_header_time" >&6
26135 if test $ac_cv_header_time = yes; then
26137 cat >>confdefs.h
<<\_ACEOF
26138 #define TIME_WITH_SYS_TIME 1
26150 for ac_header
in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
26152 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26154 echo "$as_me:$LINENO: checking for $ac_header" >&5
26155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26157 echo $ECHO_N "(cached) $ECHO_C" >&6
26159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26162 # Is the header compilable?
26163 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26165 cat >conftest.
$ac_ext <<_ACEOF
26168 cat confdefs.h
>>conftest.
$ac_ext
26169 cat >>conftest.
$ac_ext <<_ACEOF
26170 /* end confdefs.h. */
26171 $ac_includes_default
26172 #include <$ac_header>
26174 rm -f conftest.
$ac_objext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26176 (eval $ac_compile) 2>conftest.er1
26178 grep -v '^ *+' conftest.er1
>conftest.err
26180 cat conftest.err
>&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try
='test -z "$ac_c_werror_flag"
26184 || test ! -s conftest.err'
26185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26186 (eval $ac_try) 2>&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); }; } &&
26190 { ac_try
='test -s conftest.$ac_objext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 ac_header_compiler
=yes
26198 echo "$as_me: failed program was:" >&5
26199 sed 's/^/| /' conftest.
$ac_ext >&5
26201 ac_header_compiler
=no
26203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26205 echo "${ECHO_T}$ac_header_compiler" >&6
26207 # Is the header present?
26208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26210 cat >conftest.
$ac_ext <<_ACEOF
26213 cat confdefs.h
>>conftest.
$ac_ext
26214 cat >>conftest.
$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216 #include <$ac_header>
26218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26221 grep -v '^ *+' conftest.er1
>conftest.err
26223 cat conftest.err
>&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); } >/dev
/null
; then
26226 if test -s conftest.err
; then
26227 ac_cpp_err
=$ac_c_preproc_warn_flag
26228 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26235 if test -z "$ac_cpp_err"; then
26236 ac_header_preproc
=yes
26238 echo "$as_me: failed program was:" >&5
26239 sed 's/^/| /' conftest.
$ac_ext >&5
26241 ac_header_preproc
=no
26243 rm -f conftest.err conftest.
$ac_ext
26244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26245 echo "${ECHO_T}$ac_header_preproc" >&6
26247 # So? What about this header?
26248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26254 ac_header_preproc
=yes
26257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26271 ## ----------------------------------- ##
26272 ## Report this to llvmbugs@cs.uiuc.edu ##
26273 ## ----------------------------------- ##
26276 sed "s/^/$as_me: WARNING: /" >&2
26279 echo "$as_me:$LINENO: checking for $ac_header" >&5
26280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26282 echo $ECHO_N "(cached) $ECHO_C" >&6
26284 eval "$as_ac_Header=\$ac_header_preproc"
26286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26291 cat >>confdefs.h
<<_ACEOF
26292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26305 for ac_header
in malloc.h signal.h stdint.h unistd.h utime.h windows.h
26307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26309 echo "$as_me:$LINENO: checking for $ac_header" >&5
26310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26312 echo $ECHO_N "(cached) $ECHO_C" >&6
26314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26317 # Is the header compilable?
26318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26320 cat >conftest.
$ac_ext <<_ACEOF
26323 cat confdefs.h
>>conftest.
$ac_ext
26324 cat >>conftest.
$ac_ext <<_ACEOF
26325 /* end confdefs.h. */
26326 $ac_includes_default
26327 #include <$ac_header>
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_header_compiler
=yes
26353 echo "$as_me: failed program was:" >&5
26354 sed 's/^/| /' conftest.
$ac_ext >&5
26356 ac_header_compiler
=no
26358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26360 echo "${ECHO_T}$ac_header_compiler" >&6
26362 # Is the header present?
26363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26365 cat >conftest.
$ac_ext <<_ACEOF
26368 cat confdefs.h
>>conftest.
$ac_ext
26369 cat >>conftest.
$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26371 #include <$ac_header>
26373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26374 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26376 grep -v '^ *+' conftest.er1
>conftest.err
26378 cat conftest.err
>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } >/dev
/null
; then
26381 if test -s conftest.err
; then
26382 ac_cpp_err
=$ac_c_preproc_warn_flag
26383 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26390 if test -z "$ac_cpp_err"; then
26391 ac_header_preproc
=yes
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.
$ac_ext >&5
26396 ac_header_preproc
=no
26398 rm -f conftest.err conftest.
$ac_ext
26399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26400 echo "${ECHO_T}$ac_header_preproc" >&6
26402 # So? What about this header?
26403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26409 ac_header_preproc
=yes
26412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26426 ## ----------------------------------- ##
26427 ## Report this to llvmbugs@cs.uiuc.edu ##
26428 ## ----------------------------------- ##
26431 sed "s/^/$as_me: WARNING: /" >&2
26434 echo "$as_me:$LINENO: checking for $ac_header" >&5
26435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26437 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 eval "$as_ac_Header=\$ac_header_preproc"
26441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26446 cat >>confdefs.h
<<_ACEOF
26447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26459 for ac_header
in sys
/mman.h sys
/param.h sys
/resource.h sys
/time.h sys
/types.h
26461 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26463 echo "$as_me:$LINENO: checking for $ac_header" >&5
26464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26471 # Is the header compilable?
26472 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26473 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26474 cat >conftest.
$ac_ext <<_ACEOF
26477 cat confdefs.h
>>conftest.
$ac_ext
26478 cat >>conftest.
$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26480 $ac_includes_default
26481 #include <$ac_header>
26483 rm -f conftest.
$ac_objext
26484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26485 (eval $ac_compile) 2>conftest.er1
26487 grep -v '^ *+' conftest.er1
>conftest.err
26489 cat conftest.err
>&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); } &&
26492 { ac_try
='test -z "$ac_c_werror_flag"
26493 || test ! -s conftest.err'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; } &&
26499 { ac_try
='test -s conftest.$ac_objext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ac_header_compiler
=yes
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.
$ac_ext >&5
26510 ac_header_compiler
=no
26512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26514 echo "${ECHO_T}$ac_header_compiler" >&6
26516 # Is the header present?
26517 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26519 cat >conftest.
$ac_ext <<_ACEOF
26522 cat confdefs.h
>>conftest.
$ac_ext
26523 cat >>conftest.
$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525 #include <$ac_header>
26527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26530 grep -v '^ *+' conftest.er1
>conftest.err
26532 cat conftest.err
>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); } >/dev
/null
; then
26535 if test -s conftest.err
; then
26536 ac_cpp_err
=$ac_c_preproc_warn_flag
26537 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26544 if test -z "$ac_cpp_err"; then
26545 ac_header_preproc
=yes
26547 echo "$as_me: failed program was:" >&5
26548 sed 's/^/| /' conftest.
$ac_ext >&5
26550 ac_header_preproc
=no
26552 rm -f conftest.err conftest.
$ac_ext
26553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26554 echo "${ECHO_T}$ac_header_preproc" >&6
26556 # So? What about this header?
26557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26563 ac_header_preproc
=yes
26566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26580 ## ----------------------------------- ##
26581 ## Report this to llvmbugs@cs.uiuc.edu ##
26582 ## ----------------------------------- ##
26585 sed "s/^/$as_me: WARNING: /" >&2
26588 echo "$as_me:$LINENO: checking for $ac_header" >&5
26589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26591 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 eval "$as_ac_Header=\$ac_header_preproc"
26595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26600 cat >>confdefs.h
<<_ACEOF
26601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26610 for ac_header
in rw
/stdex
/hash_map.h rw
/stdex
/hash_set.h
26612 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26614 echo "$as_me:$LINENO: checking for $ac_header" >&5
26615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26617 echo $ECHO_N "(cached) $ECHO_C" >&6
26619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26622 # Is the header compilable?
26623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26625 cat >conftest.
$ac_ext <<_ACEOF
26628 cat confdefs.h
>>conftest.
$ac_ext
26629 cat >>conftest.
$ac_ext <<_ACEOF
26630 /* end confdefs.h. */
26631 $ac_includes_default
26632 #include <$ac_header>
26634 rm -f conftest.
$ac_objext
26635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26636 (eval $ac_compile) 2>conftest.er1
26638 grep -v '^ *+' conftest.er1
>conftest.err
26640 cat conftest.err
>&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); } &&
26643 { ac_try
='test -z "$ac_c_werror_flag"
26644 || test ! -s conftest.err'
26645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26646 (eval $ac_try) 2>&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); }; } &&
26650 { ac_try
='test -s conftest.$ac_objext'
26651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26652 (eval $ac_try) 2>&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); }; }; then
26656 ac_header_compiler
=yes
26658 echo "$as_me: failed program was:" >&5
26659 sed 's/^/| /' conftest.
$ac_ext >&5
26661 ac_header_compiler
=no
26663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26665 echo "${ECHO_T}$ac_header_compiler" >&6
26667 # Is the header present?
26668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26670 cat >conftest.
$ac_ext <<_ACEOF
26673 cat confdefs.h
>>conftest.
$ac_ext
26674 cat >>conftest.
$ac_ext <<_ACEOF
26675 /* end confdefs.h. */
26676 #include <$ac_header>
26678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26681 grep -v '^ *+' conftest.er1
>conftest.err
26683 cat conftest.err
>&5
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); } >/dev
/null
; then
26686 if test -s conftest.err
; then
26687 ac_cpp_err
=$ac_c_preproc_warn_flag
26688 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26695 if test -z "$ac_cpp_err"; then
26696 ac_header_preproc
=yes
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.
$ac_ext >&5
26701 ac_header_preproc
=no
26703 rm -f conftest.err conftest.
$ac_ext
26704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26705 echo "${ECHO_T}$ac_header_preproc" >&6
26707 # So? What about this header?
26708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26714 ac_header_preproc
=yes
26717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26721 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26723 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26724 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26731 ## ----------------------------------- ##
26732 ## Report this to llvmbugs@cs.uiuc.edu ##
26733 ## ----------------------------------- ##
26736 sed "s/^/$as_me: WARNING: /" >&2
26739 echo "$as_me:$LINENO: checking for $ac_header" >&5
26740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26744 eval "$as_ac_Header=\$ac_header_preproc"
26746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26751 cat >>confdefs.h
<<_ACEOF
26752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26761 echo "$as_me:$LINENO: checking for pid_t" >&5
26762 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26763 if test "${ac_cv_type_pid_t+set}" = set; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26766 cat >conftest.
$ac_ext <<_ACEOF
26769 cat confdefs.h
>>conftest.
$ac_ext
26770 cat >>conftest.
$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772 $ac_includes_default
26778 if (sizeof (pid_t))
26784 rm -f conftest.
$ac_objext
26785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26786 (eval $ac_compile) 2>conftest.er1
26788 grep -v '^ *+' conftest.er1
>conftest.err
26790 cat conftest.err
>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } &&
26793 { ac_try
='test -z "$ac_c_werror_flag"
26794 || test ! -s conftest.err'
26795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26796 (eval $ac_try) 2>&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); }; } &&
26800 { ac_try
='test -s conftest.$ac_objext'
26801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26802 (eval $ac_try) 2>&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); }; }; then
26806 ac_cv_type_pid_t
=yes
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.
$ac_ext >&5
26811 ac_cv_type_pid_t
=no
26813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26815 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26816 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26817 if test $ac_cv_type_pid_t = yes; then
26821 cat >>confdefs.h
<<_ACEOF
26827 echo "$as_me:$LINENO: checking for size_t" >&5
26828 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26829 if test "${ac_cv_type_size_t+set}" = set; then
26830 echo $ECHO_N "(cached) $ECHO_C" >&6
26832 cat >conftest.
$ac_ext <<_ACEOF
26835 cat confdefs.h
>>conftest.
$ac_ext
26836 cat >>conftest.
$ac_ext <<_ACEOF
26837 /* end confdefs.h. */
26838 $ac_includes_default
26844 if (sizeof (size_t))
26850 rm -f conftest.
$ac_objext
26851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26852 (eval $ac_compile) 2>conftest.er1
26854 grep -v '^ *+' conftest.er1
>conftest.err
26856 cat conftest.err
>&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } &&
26859 { ac_try
='test -z "$ac_c_werror_flag"
26860 || test ! -s conftest.err'
26861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26862 (eval $ac_try) 2>&5
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); }; } &&
26866 { ac_try
='test -s conftest.$ac_objext'
26867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26868 (eval $ac_try) 2>&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); }; }; then
26872 ac_cv_type_size_t
=yes
26874 echo "$as_me: failed program was:" >&5
26875 sed 's/^/| /' conftest.
$ac_ext >&5
26877 ac_cv_type_size_t
=no
26879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26881 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26882 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26883 if test $ac_cv_type_size_t = yes; then
26887 cat >>confdefs.h
<<_ACEOF
26888 #define size_t unsigned
26893 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
26894 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
26895 if test "${ac_cv_type_signal+set}" = set; then
26896 echo $ECHO_N "(cached) $ECHO_C" >&6
26898 cat >conftest.
$ac_ext <<_ACEOF
26901 cat confdefs.h
>>conftest.
$ac_ext
26902 cat >>conftest.
$ac_ext <<_ACEOF
26903 /* end confdefs.h. */
26904 #include <sys/types.h>
26905 #include <signal.h>
26910 extern "C" void (*signal (int, void (*)(int)))(int);
26912 void (*signal ()) ();
26923 rm -f conftest.
$ac_objext
26924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26925 (eval $ac_compile) 2>conftest.er1
26927 grep -v '^ *+' conftest.er1
>conftest.err
26929 cat conftest.err
>&5
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); } &&
26932 { ac_try
='test -z "$ac_c_werror_flag"
26933 || test ! -s conftest.err'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; } &&
26939 { ac_try
='test -s conftest.$ac_objext'
26940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26941 (eval $ac_try) 2>&5
26943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944 (exit $ac_status); }; }; then
26945 ac_cv_type_signal
=void
26947 echo "$as_me: failed program was:" >&5
26948 sed 's/^/| /' conftest.
$ac_ext >&5
26950 ac_cv_type_signal
=int
26952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26954 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
26955 echo "${ECHO_T}$ac_cv_type_signal" >&6
26957 cat >>confdefs.h
<<_ACEOF
26958 #define RETSIGTYPE $ac_cv_type_signal
26962 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
26963 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
26964 if test "${ac_cv_struct_tm+set}" = set; then
26965 echo $ECHO_N "(cached) $ECHO_C" >&6
26967 cat >conftest.
$ac_ext <<_ACEOF
26970 cat confdefs.h
>>conftest.
$ac_ext
26971 cat >>conftest.
$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973 #include <sys/types.h>
26979 struct tm *tp; tp->tm_sec;
26984 rm -f conftest.
$ac_objext
26985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26986 (eval $ac_compile) 2>conftest.er1
26988 grep -v '^ *+' conftest.er1
>conftest.err
26990 cat conftest.err
>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); } &&
26993 { ac_try
='test -z "$ac_c_werror_flag"
26994 || test ! -s conftest.err'
26995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996 (eval $ac_try) 2>&5
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); }; } &&
27000 { ac_try
='test -s conftest.$ac_objext'
27001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27002 (eval $ac_try) 2>&5
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); }; }; then
27006 ac_cv_struct_tm
=time.h
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.
$ac_ext >&5
27011 ac_cv_struct_tm
=sys
/time.h
27013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27015 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
27016 echo "${ECHO_T}$ac_cv_struct_tm" >&6
27017 if test $ac_cv_struct_tm = sys
/time.h
; then
27019 cat >>confdefs.h
<<\_ACEOF
27020 #define TM_IN_SYS_TIME 1
27025 echo "$as_me:$LINENO: checking for int64_t" >&5
27026 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
27027 if test "${ac_cv_type_int64_t+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 cat >conftest.
$ac_ext <<_ACEOF
27033 cat confdefs.h
>>conftest.
$ac_ext
27034 cat >>conftest.
$ac_ext <<_ACEOF
27035 /* end confdefs.h. */
27036 $ac_includes_default
27042 if (sizeof (int64_t))
27048 rm -f conftest.
$ac_objext
27049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27050 (eval $ac_compile) 2>conftest.er1
27052 grep -v '^ *+' conftest.er1
>conftest.err
27054 cat conftest.err
>&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } &&
27057 { ac_try
='test -z "$ac_c_werror_flag"
27058 || test ! -s conftest.err'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; } &&
27064 { ac_try
='test -s conftest.$ac_objext'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; }; then
27070 ac_cv_type_int64_t
=yes
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.
$ac_ext >&5
27075 ac_cv_type_int64_t
=no
27077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27079 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
27080 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
27081 if test $ac_cv_type_int64_t = yes; then
27083 cat >>confdefs.h
<<_ACEOF
27084 #define HAVE_INT64_T 1
27089 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
27090 echo "$as_me: error: Type int64_t required but not found" >&2;}
27091 { (exit 1); exit 1; }; }
27094 echo "$as_me:$LINENO: checking for uint64_t" >&5
27095 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
27096 if test "${ac_cv_type_uint64_t+set}" = set; then
27097 echo $ECHO_N "(cached) $ECHO_C" >&6
27099 cat >conftest.
$ac_ext <<_ACEOF
27102 cat confdefs.h
>>conftest.
$ac_ext
27103 cat >>conftest.
$ac_ext <<_ACEOF
27104 /* end confdefs.h. */
27105 $ac_includes_default
27109 if ((uint64_t *) 0)
27111 if (sizeof (uint64_t))
27117 rm -f conftest.
$ac_objext
27118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27119 (eval $ac_compile) 2>conftest.er1
27121 grep -v '^ *+' conftest.er1
>conftest.err
27123 cat conftest.err
>&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); } &&
27126 { ac_try
='test -z "$ac_c_werror_flag"
27127 || test ! -s conftest.err'
27128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27129 (eval $ac_try) 2>&5
27131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 (exit $ac_status); }; } &&
27133 { ac_try
='test -s conftest.$ac_objext'
27134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27135 (eval $ac_try) 2>&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); }; }; then
27139 ac_cv_type_uint64_t
=yes
27141 echo "$as_me: failed program was:" >&5
27142 sed 's/^/| /' conftest.
$ac_ext >&5
27144 ac_cv_type_uint64_t
=no
27146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27148 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
27149 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
27150 if test $ac_cv_type_uint64_t = yes; then
27152 cat >>confdefs.h
<<_ACEOF
27153 #define HAVE_UINT64_T 1
27158 echo "$as_me:$LINENO: checking for u_int64_t" >&5
27159 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
27160 if test "${ac_cv_type_u_int64_t+set}" = set; then
27161 echo $ECHO_N "(cached) $ECHO_C" >&6
27163 cat >conftest.
$ac_ext <<_ACEOF
27166 cat confdefs.h
>>conftest.
$ac_ext
27167 cat >>conftest.
$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27169 $ac_includes_default
27173 if ((u_int64_t *) 0)
27175 if (sizeof (u_int64_t))
27181 rm -f conftest.
$ac_objext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27183 (eval $ac_compile) 2>conftest.er1
27185 grep -v '^ *+' conftest.er1
>conftest.err
27187 cat conftest.err
>&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try
='test -z "$ac_c_werror_flag"
27191 || test ! -s conftest.err'
27192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27193 (eval $ac_try) 2>&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); }; } &&
27197 { ac_try
='test -s conftest.$ac_objext'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; }; then
27203 ac_cv_type_u_int64_t
=yes
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.
$ac_ext >&5
27208 ac_cv_type_u_int64_t
=no
27210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27212 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
27213 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
27214 if test $ac_cv_type_u_int64_t = yes; then
27216 cat >>confdefs.h
<<_ACEOF
27217 #define HAVE_U_INT64_T 1
27222 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
27223 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
27224 { (exit 1); exit 1; }; }
27237 for ac_func
in backtrace getcwd getpagesize getrusage gettimeofday isatty
27239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27240 echo "$as_me:$LINENO: checking for $ac_func" >&5
27241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27242 if eval "test \"\${$as_ac_var+set}\" = set"; then
27243 echo $ECHO_N "(cached) $ECHO_C" >&6
27245 cat >conftest.
$ac_ext <<_ACEOF
27248 cat confdefs.h
>>conftest.
$ac_ext
27249 cat >>conftest.
$ac_ext <<_ACEOF
27250 /* end confdefs.h. */
27251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27253 #define $ac_func innocuous_$ac_func
27255 /* System header to define __stub macros and hopefully few prototypes,
27256 which can conflict with char $ac_func (); below.
27257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27258 <limits.h> exists even on freestanding compilers. */
27261 # include <limits.h>
27263 # include <assert.h>
27268 /* Override any gcc2 internal prototype to avoid an error. */
27273 /* We use char because int might match the return type of a gcc2
27274 builtin and then its argument prototype would still apply. */
27276 /* The GNU C library defines this for functions which it implements
27277 to always fail with ENOSYS. Some functions are actually named
27278 something starting with __ and the normal name is an alias. */
27279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27282 char (*f) () = $ac_func;
27291 return f != $ac_func;
27296 rm -f conftest.
$ac_objext conftest
$ac_exeext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27298 (eval $ac_link) 2>conftest.er1
27300 grep -v '^ *+' conftest.er1
>conftest.err
27302 cat conftest.err
>&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } &&
27305 { ac_try
='test -z "$ac_c_werror_flag"
27306 || test ! -s conftest.err'
27307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27308 (eval $ac_try) 2>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); }; } &&
27312 { ac_try
='test -s conftest$ac_exeext'
27313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27314 (eval $ac_try) 2>&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); }; }; then
27318 eval "$as_ac_var=yes"
27320 echo "$as_me: failed program was:" >&5
27321 sed 's/^/| /' conftest.
$ac_ext >&5
27323 eval "$as_ac_var=no"
27325 rm -f conftest.err conftest.
$ac_objext \
27326 conftest
$ac_exeext conftest.
$ac_ext
27328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27330 if test `eval echo '${'$as_ac_var'}'` = yes; then
27331 cat >>confdefs.h
<<_ACEOF
27332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27341 for ac_func
in mkdtemp mkstemp mktemp
27343 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27344 echo "$as_me:$LINENO: checking for $ac_func" >&5
27345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27346 if eval "test \"\${$as_ac_var+set}\" = set"; then
27347 echo $ECHO_N "(cached) $ECHO_C" >&6
27349 cat >conftest.
$ac_ext <<_ACEOF
27352 cat confdefs.h
>>conftest.
$ac_ext
27353 cat >>conftest.
$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27357 #define $ac_func innocuous_$ac_func
27359 /* System header to define __stub macros and hopefully few prototypes,
27360 which can conflict with char $ac_func (); below.
27361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27362 <limits.h> exists even on freestanding compilers. */
27365 # include <limits.h>
27367 # include <assert.h>
27372 /* Override any gcc2 internal prototype to avoid an error. */
27377 /* We use char because int might match the return type of a gcc2
27378 builtin and then its argument prototype would still apply. */
27380 /* The GNU C library defines this for functions which it implements
27381 to always fail with ENOSYS. Some functions are actually named
27382 something starting with __ and the normal name is an alias. */
27383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27386 char (*f) () = $ac_func;
27395 return f != $ac_func;
27400 rm -f conftest.
$ac_objext conftest
$ac_exeext
27401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27402 (eval $ac_link) 2>conftest.er1
27404 grep -v '^ *+' conftest.er1
>conftest.err
27406 cat conftest.err
>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); } &&
27409 { ac_try
='test -z "$ac_c_werror_flag"
27410 || test ! -s conftest.err'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; } &&
27416 { ac_try
='test -s conftest$ac_exeext'
27417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418 (eval $ac_try) 2>&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; }; then
27422 eval "$as_ac_var=yes"
27424 echo "$as_me: failed program was:" >&5
27425 sed 's/^/| /' conftest.
$ac_ext >&5
27427 eval "$as_ac_var=no"
27429 rm -f conftest.err conftest.
$ac_objext \
27430 conftest
$ac_exeext conftest.
$ac_ext
27432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27434 if test `eval echo '${'$as_ac_var'}'` = yes; then
27435 cat >>confdefs.h
<<_ACEOF
27436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27448 for ac_func
in realpath sbrk setrlimit strdup strerror strerror_r
27450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27451 echo "$as_me:$LINENO: checking for $ac_func" >&5
27452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27453 if eval "test \"\${$as_ac_var+set}\" = set"; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 cat >conftest.
$ac_ext <<_ACEOF
27459 cat confdefs.h
>>conftest.
$ac_ext
27460 cat >>conftest.
$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27464 #define $ac_func innocuous_$ac_func
27466 /* System header to define __stub macros and hopefully few prototypes,
27467 which can conflict with char $ac_func (); below.
27468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27469 <limits.h> exists even on freestanding compilers. */
27472 # include <limits.h>
27474 # include <assert.h>
27479 /* Override any gcc2 internal prototype to avoid an error. */
27484 /* We use char because int might match the return type of a gcc2
27485 builtin and then its argument prototype would still apply. */
27487 /* The GNU C library defines this for functions which it implements
27488 to always fail with ENOSYS. Some functions are actually named
27489 something starting with __ and the normal name is an alias. */
27490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27493 char (*f) () = $ac_func;
27502 return f != $ac_func;
27507 rm -f conftest.
$ac_objext conftest
$ac_exeext
27508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27509 (eval $ac_link) 2>conftest.er1
27511 grep -v '^ *+' conftest.er1
>conftest.err
27513 cat conftest.err
>&5
27514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27515 (exit $ac_status); } &&
27516 { ac_try
='test -z "$ac_c_werror_flag"
27517 || test ! -s conftest.err'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; } &&
27523 { ac_try
='test -s conftest$ac_exeext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27529 eval "$as_ac_var=yes"
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.
$ac_ext >&5
27534 eval "$as_ac_var=no"
27536 rm -f conftest.err conftest.
$ac_objext \
27537 conftest
$ac_exeext conftest.
$ac_ext
27539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27541 if test `eval echo '${'$as_ac_var'}'` = yes; then
27542 cat >>confdefs.h
<<_ACEOF
27543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27552 for ac_func
in strtoll strtoq sysconf
27554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27555 echo "$as_me:$LINENO: checking for $ac_func" >&5
27556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27557 if eval "test \"\${$as_ac_var+set}\" = set"; then
27558 echo $ECHO_N "(cached) $ECHO_C" >&6
27560 cat >conftest.
$ac_ext <<_ACEOF
27563 cat confdefs.h
>>conftest.
$ac_ext
27564 cat >>conftest.
$ac_ext <<_ACEOF
27565 /* end confdefs.h. */
27566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27568 #define $ac_func innocuous_$ac_func
27570 /* System header to define __stub macros and hopefully few prototypes,
27571 which can conflict with char $ac_func (); below.
27572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27573 <limits.h> exists even on freestanding compilers. */
27576 # include <limits.h>
27578 # include <assert.h>
27583 /* Override any gcc2 internal prototype to avoid an error. */
27588 /* We use char because int might match the return type of a gcc2
27589 builtin and then its argument prototype would still apply. */
27591 /* The GNU C library defines this for functions which it implements
27592 to always fail with ENOSYS. Some functions are actually named
27593 something starting with __ and the normal name is an alias. */
27594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27597 char (*f) () = $ac_func;
27606 return f != $ac_func;
27611 rm -f conftest.
$ac_objext conftest
$ac_exeext
27612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27613 (eval $ac_link) 2>conftest.er1
27615 grep -v '^ *+' conftest.er1
>conftest.err
27617 cat conftest.err
>&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); } &&
27620 { ac_try
='test -z "$ac_c_werror_flag"
27621 || test ! -s conftest.err'
27622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623 (eval $ac_try) 2>&5
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); }; } &&
27627 { ac_try
='test -s conftest$ac_exeext'
27628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27629 (eval $ac_try) 2>&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); }; }; then
27633 eval "$as_ac_var=yes"
27635 echo "$as_me: failed program was:" >&5
27636 sed 's/^/| /' conftest.
$ac_ext >&5
27638 eval "$as_ac_var=no"
27640 rm -f conftest.err conftest.
$ac_objext \
27641 conftest
$ac_exeext conftest.
$ac_ext
27643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27645 if test `eval echo '${'$as_ac_var'}'` = yes; then
27646 cat >>confdefs.h
<<_ACEOF
27647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27653 echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
27654 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6
27655 if test "${llvm_cv_c_printf_a+set}" = set; then
27656 echo $ECHO_N "(cached) $ECHO_C" >&6
27659 ac_cpp
='$CPP $CPPFLAGS'
27660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27664 if test "$cross_compiling" = yes; then
27665 llvmac_cv_c_printf_a
=no
27667 cat >conftest.
$ac_ext <<_ACEOF
27671 cat confdefs.h
>>conftest.
$ac_ext
27672 cat >>conftest.
$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27676 #include <stdlib.h>
27682 volatile double A, B;
27686 sprintf(Buffer, "%a", A);
27690 if (A != 0x1.999999999999ap-4)
27697 rm -f conftest
$ac_exeext
27698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27699 (eval $ac_link) 2>&5
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27704 (eval $ac_try) 2>&5
27706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27707 (exit $ac_status); }; }; then
27708 llvm_cv_c_printf_a
=yes
27710 echo "$as_me: program exited with status $ac_status" >&5
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.
$ac_ext >&5
27714 ( exit $ac_status )
27715 llvmac_cv_c_printf_a
=no
27717 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27720 ac_cpp
='$CPP $CPPFLAGS'
27721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27726 echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
27727 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6
27728 if test "$llvm_cv_c_printf_a" = "yes"; then
27730 cat >>confdefs.h
<<\_ACEOF
27731 #define HAVE_PRINTF_A 1
27736 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
27737 # for constant arguments. Useless!
27738 echo "$as_me:$LINENO: checking for working alloca.h" >&5
27739 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
27740 if test "${ac_cv_working_alloca_h+set}" = set; then
27741 echo $ECHO_N "(cached) $ECHO_C" >&6
27743 cat >conftest.
$ac_ext <<_ACEOF
27746 cat confdefs.h
>>conftest.
$ac_ext
27747 cat >>conftest.
$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27749 #include <alloca.h>
27753 char *p = (char *) alloca (2 * sizeof (int));
27758 rm -f conftest.
$ac_objext conftest
$ac_exeext
27759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27760 (eval $ac_link) 2>conftest.er1
27762 grep -v '^ *+' conftest.er1
>conftest.err
27764 cat conftest.err
>&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } &&
27767 { ac_try
='test -z "$ac_c_werror_flag"
27768 || test ! -s conftest.err'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; } &&
27774 { ac_try
='test -s conftest$ac_exeext'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; }; then
27780 ac_cv_working_alloca_h
=yes
27782 echo "$as_me: failed program was:" >&5
27783 sed 's/^/| /' conftest.
$ac_ext >&5
27785 ac_cv_working_alloca_h
=no
27787 rm -f conftest.err conftest.
$ac_objext \
27788 conftest
$ac_exeext conftest.
$ac_ext
27790 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
27791 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
27792 if test $ac_cv_working_alloca_h = yes; then
27794 cat >>confdefs.h
<<\_ACEOF
27795 #define HAVE_ALLOCA_H 1
27800 echo "$as_me:$LINENO: checking for alloca" >&5
27801 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
27802 if test "${ac_cv_func_alloca_works+set}" = set; then
27803 echo $ECHO_N "(cached) $ECHO_C" >&6
27805 cat >conftest.
$ac_ext <<_ACEOF
27808 cat confdefs.h
>>conftest.
$ac_ext
27809 cat >>conftest.
$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27812 # define alloca __builtin_alloca
27815 # include <malloc.h>
27816 # define alloca _alloca
27819 # include <alloca.h>
27824 # ifndef alloca /* predefined by HP cc +Olibcalls */
27835 char *p = (char *) alloca (1);
27840 rm -f conftest.
$ac_objext conftest
$ac_exeext
27841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27842 (eval $ac_link) 2>conftest.er1
27844 grep -v '^ *+' conftest.er1
>conftest.err
27846 cat conftest.err
>&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } &&
27849 { ac_try
='test -z "$ac_c_werror_flag"
27850 || test ! -s conftest.err'
27851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27852 (eval $ac_try) 2>&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); }; } &&
27856 { ac_try
='test -s conftest$ac_exeext'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; }; then
27862 ac_cv_func_alloca_works
=yes
27864 echo "$as_me: failed program was:" >&5
27865 sed 's/^/| /' conftest.
$ac_ext >&5
27867 ac_cv_func_alloca_works
=no
27869 rm -f conftest.err conftest.
$ac_objext \
27870 conftest
$ac_exeext conftest.
$ac_ext
27872 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
27873 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
27875 if test $ac_cv_func_alloca_works = yes; then
27877 cat >>confdefs.h
<<\_ACEOF
27878 #define HAVE_ALLOCA 1
27882 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
27883 # that cause trouble. Some versions do not even contain alloca or
27884 # contain a buggy version. If you still want to use their alloca,
27885 # use ar to extract alloca.o from them instead of compiling alloca.c.
27887 ALLOCA
=alloca.
$ac_objext
27889 cat >>confdefs.h
<<\_ACEOF
27894 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
27895 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
27896 if test "${ac_cv_os_cray+set}" = set; then
27897 echo $ECHO_N "(cached) $ECHO_C" >&6
27899 cat >conftest.
$ac_ext <<_ACEOF
27902 cat confdefs.h
>>conftest.
$ac_ext
27903 cat >>conftest.
$ac_ext <<_ACEOF
27904 /* end confdefs.h. */
27905 #if defined(CRAY) && ! defined(CRAY2)
27912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27913 $EGREP "webecray" >/dev
/null
2>&1; then
27921 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
27922 echo "${ECHO_T}$ac_cv_os_cray" >&6
27923 if test $ac_cv_os_cray = yes; then
27924 for ac_func
in _getb67 GETB67 getb67
; do
27925 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27926 echo "$as_me:$LINENO: checking for $ac_func" >&5
27927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27928 if eval "test \"\${$as_ac_var+set}\" = set"; then
27929 echo $ECHO_N "(cached) $ECHO_C" >&6
27931 cat >conftest.
$ac_ext <<_ACEOF
27934 cat confdefs.h
>>conftest.
$ac_ext
27935 cat >>conftest.
$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27939 #define $ac_func innocuous_$ac_func
27941 /* System header to define __stub macros and hopefully few prototypes,
27942 which can conflict with char $ac_func (); below.
27943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27944 <limits.h> exists even on freestanding compilers. */
27947 # include <limits.h>
27949 # include <assert.h>
27954 /* Override any gcc2 internal prototype to avoid an error. */
27959 /* We use char because int might match the return type of a gcc2
27960 builtin and then its argument prototype would still apply. */
27962 /* The GNU C library defines this for functions which it implements
27963 to always fail with ENOSYS. Some functions are actually named
27964 something starting with __ and the normal name is an alias. */
27965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27968 char (*f) () = $ac_func;
27977 return f != $ac_func;
27982 rm -f conftest.
$ac_objext conftest
$ac_exeext
27983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27984 (eval $ac_link) 2>conftest.er1
27986 grep -v '^ *+' conftest.er1
>conftest.err
27988 cat conftest.err
>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } &&
27991 { ac_try
='test -z "$ac_c_werror_flag"
27992 || test ! -s conftest.err'
27993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27994 (eval $ac_try) 2>&5
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); }; } &&
27998 { ac_try
='test -s conftest$ac_exeext'
27999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28000 (eval $ac_try) 2>&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); }; }; then
28004 eval "$as_ac_var=yes"
28006 echo "$as_me: failed program was:" >&5
28007 sed 's/^/| /' conftest.
$ac_ext >&5
28009 eval "$as_ac_var=no"
28011 rm -f conftest.err conftest.
$ac_objext \
28012 conftest
$ac_exeext conftest.
$ac_ext
28014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28016 if test `eval echo '${'$as_ac_var'}'` = yes; then
28018 cat >>confdefs.h
<<_ACEOF
28019 #define CRAY_STACKSEG_END $ac_func
28028 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
28029 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
28030 if test "${ac_cv_c_stack_direction+set}" = set; then
28031 echo $ECHO_N "(cached) $ECHO_C" >&6
28033 if test "$cross_compiling" = yes; then
28034 ac_cv_c_stack_direction
=0
28036 cat >conftest.
$ac_ext <<_ACEOF
28039 cat confdefs.h
>>conftest.
$ac_ext
28040 cat >>conftest.
$ac_ext <<_ACEOF
28041 /* end confdefs.h. */
28043 find_stack_direction ()
28045 static char *addr = 0;
28050 return find_stack_direction ();
28053 return (&dummy > addr) ? 1 : -1;
28059 exit (find_stack_direction () < 0);
28062 rm -f conftest
$ac_exeext
28063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28064 (eval $ac_link) 2>&5
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28069 (eval $ac_try) 2>&5
28071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28072 (exit $ac_status); }; }; then
28073 ac_cv_c_stack_direction
=1
28075 echo "$as_me: program exited with status $ac_status" >&5
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.
$ac_ext >&5
28079 ( exit $ac_status )
28080 ac_cv_c_stack_direction
=-1
28082 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28085 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
28086 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
28088 cat >>confdefs.h
<<_ACEOF
28089 #define STACK_DIRECTION $ac_cv_c_stack_direction
28096 echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
28097 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6
28098 if test "${ac_cv_func_rand48+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 ac_cpp
='$CXXCPP $CPPFLAGS'
28103 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28104 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28105 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28107 cat >conftest.
$ac_ext <<_ACEOF
28110 cat confdefs.h
>>conftest.
$ac_ext
28111 cat >>conftest.
$ac_ext <<_ACEOF
28112 /* end confdefs.h. */
28113 #include <stdlib.h>
28117 srand48(0);lrand48();drand48();
28122 rm -f conftest.
$ac_objext
28123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28124 (eval $ac_compile) 2>conftest.er1
28126 grep -v '^ *+' conftest.er1
>conftest.err
28128 cat conftest.err
>&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); } &&
28131 { ac_try
='test -z "$ac_cxx_werror_flag"
28132 || test ! -s conftest.err'
28133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28134 (eval $ac_try) 2>&5
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); }; } &&
28138 { ac_try
='test -s conftest.$ac_objext'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; }; then
28144 ac_cv_func_rand48
=yes
28146 echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.
$ac_ext >&5
28149 ac_cv_func_rand48
=no
28151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28153 ac_cpp
='$CPP $CPPFLAGS'
28154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28159 echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
28160 echo "${ECHO_T}$ac_cv_func_rand48" >&6
28162 if test "$ac_cv_func_rand48" = "yes" ; then
28164 cat >>confdefs.h
<<\_ACEOF
28165 #define HAVE_RAND48 1
28171 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
28172 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
28173 if test "${ac_cv_cxx_namespaces+set}" = set; then
28174 echo $ECHO_N "(cached) $ECHO_C" >&6
28177 ac_cpp
='$CXXCPP $CPPFLAGS'
28178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28182 cat >conftest.
$ac_ext <<_ACEOF
28185 cat confdefs.h
>>conftest.
$ac_ext
28186 cat >>conftest.
$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28188 namespace Outer { namespace Inner { int i = 0; }}
28192 using namespace Outer::Inner; return i;
28197 rm -f conftest.
$ac_objext
28198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28199 (eval $ac_compile) 2>conftest.er1
28201 grep -v '^ *+' conftest.er1
>conftest.err
28203 cat conftest.err
>&5
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); } &&
28206 { ac_try
='test -z "$ac_cxx_werror_flag"
28207 || test ! -s conftest.err'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; } &&
28213 { ac_try
='test -s conftest.$ac_objext'
28214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28215 (eval $ac_try) 2>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); }; }; then
28219 ac_cv_cxx_namespaces
=yes
28221 echo "$as_me: failed program was:" >&5
28222 sed 's/^/| /' conftest.
$ac_ext >&5
28224 ac_cv_cxx_namespaces
=no
28226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28228 ac_cpp
='$CPP $CPPFLAGS'
28229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28235 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
28236 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
28237 if test "$ac_cv_cxx_namespaces" = yes; then
28239 cat >>confdefs.h
<<\_ACEOF
28240 #define HAVE_NAMESPACES
28245 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
28246 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6
28247 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
28248 echo $ECHO_N "(cached) $ECHO_C" >&6
28252 ac_cpp
='$CXXCPP $CPPFLAGS'
28253 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28257 cat >conftest.
$ac_ext <<_ACEOF
28260 cat confdefs.h
>>conftest.
$ac_ext
28261 cat >>conftest.
$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263 #include <ext/hash_map>
28264 #ifdef HAVE_NAMESPACES
28265 using namespace std;
28270 hash_map<int, int> t;
28275 rm -f conftest.
$ac_objext
28276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28277 (eval $ac_compile) 2>conftest.er1
28279 grep -v '^ *+' conftest.er1
>conftest.err
28281 cat conftest.err
>&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } &&
28284 { ac_try
='test -z "$ac_cxx_werror_flag"
28285 || test ! -s conftest.err'
28286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28287 (eval $ac_try) 2>&5
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); }; } &&
28291 { ac_try
='test -s conftest.$ac_objext'
28292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28293 (eval $ac_try) 2>&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); }; }; then
28297 ac_cv_cxx_have_std_ext_hash_map
=yes
28299 echo "$as_me: failed program was:" >&5
28300 sed 's/^/| /' conftest.
$ac_ext >&5
28302 ac_cv_cxx_have_std_ext_hash_map
=no
28304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28306 ac_cpp
='$CPP $CPPFLAGS'
28307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28312 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
28313 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6
28314 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes
28317 cat >>confdefs.h
<<\_ACEOF
28318 #define HAVE_STD_EXT_HASH_MAP 1
28323 cat >>confdefs.h
<<\_ACEOF
28324 #define HAVE_STD_EXT_HASH_MAP 0
28329 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
28330 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6
28331 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28336 ac_cpp
='$CXXCPP $CPPFLAGS'
28337 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28338 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28339 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28341 cat >conftest.
$ac_ext <<_ACEOF
28344 cat confdefs.h
>>conftest.
$ac_ext
28345 cat >>conftest.
$ac_ext <<_ACEOF
28346 /* end confdefs.h. */
28347 #include <ext/hash_map>
28348 #ifdef HAVE_NAMESPACES
28349 using namespace __gnu_cxx;
28354 hash_map<int,int> t;
28359 rm -f conftest.
$ac_objext
28360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28361 (eval $ac_compile) 2>conftest.er1
28363 grep -v '^ *+' conftest.er1
>conftest.err
28365 cat conftest.err
>&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } &&
28368 { ac_try
='test -z "$ac_cxx_werror_flag"
28369 || test ! -s conftest.err'
28370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28371 (eval $ac_try) 2>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); }; } &&
28375 { ac_try
='test -s conftest.$ac_objext'
28376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28377 (eval $ac_try) 2>&5
28379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380 (exit $ac_status); }; }; then
28381 ac_cv_cxx_have_gnu_ext_hash_map
=yes
28383 echo "$as_me: failed program was:" >&5
28384 sed 's/^/| /' conftest.
$ac_ext >&5
28386 ac_cv_cxx_have_gnu_ext_hash_map
=no
28388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28390 ac_cpp
='$CPP $CPPFLAGS'
28391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28396 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
28397 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6
28398 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes
28401 cat >>confdefs.h
<<\_ACEOF
28402 #define HAVE_GNU_EXT_HASH_MAP 1
28407 cat >>confdefs.h
<<\_ACEOF
28408 #define HAVE_GNU_EXT_HASH_MAP 0
28413 echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
28414 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6
28415 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 ac_cpp
='$CXXCPP $CPPFLAGS'
28421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28425 cat >conftest.
$ac_ext <<_ACEOF
28428 cat confdefs.h
>>conftest.
$ac_ext
28429 cat >>conftest.
$ac_ext <<_ACEOF
28430 /* end confdefs.h. */
28431 #include <hash_map>
28435 hash_map<int,int> t;
28440 rm -f conftest.
$ac_objext
28441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28442 (eval $ac_compile) 2>conftest.er1
28444 grep -v '^ *+' conftest.er1
>conftest.err
28446 cat conftest.err
>&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } &&
28449 { ac_try
='test -z "$ac_cxx_werror_flag"
28450 || test ! -s conftest.err'
28451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28452 (eval $ac_try) 2>&5
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); }; } &&
28456 { ac_try
='test -s conftest.$ac_objext'
28457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28458 (eval $ac_try) 2>&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); }; }; then
28462 ac_cv_cxx_have_global_hash_map
=yes
28464 echo "$as_me: failed program was:" >&5
28465 sed 's/^/| /' conftest.
$ac_ext >&5
28467 ac_cv_cxx_have_global_hash_map
=no
28469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28471 ac_cpp
='$CPP $CPPFLAGS'
28472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28477 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
28478 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6
28479 if test "$ac_cv_cxx_have_global_hash_map" = yes
28482 cat >>confdefs.h
<<\_ACEOF
28483 #define HAVE_GLOBAL_HASH_MAP 1
28488 cat >>confdefs.h
<<\_ACEOF
28489 #define HAVE_GLOBAL_HASH_MAP 0
28494 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
28495 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6
28496 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
28497 echo $ECHO_N "(cached) $ECHO_C" >&6
28501 ac_cpp
='$CXXCPP $CPPFLAGS'
28502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28506 cat >conftest.
$ac_ext <<_ACEOF
28509 cat confdefs.h
>>conftest.
$ac_ext
28510 cat >>conftest.
$ac_ext <<_ACEOF
28511 /* end confdefs.h. */
28512 #include <ext/hash_set>
28513 #ifdef HAVE_NAMESPACES
28514 using namespace std;
28524 rm -f conftest.
$ac_objext
28525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28526 (eval $ac_compile) 2>conftest.er1
28528 grep -v '^ *+' conftest.er1
>conftest.err
28530 cat conftest.err
>&5
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); } &&
28533 { ac_try
='test -z "$ac_cxx_werror_flag"
28534 || test ! -s conftest.err'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; } &&
28540 { ac_try
='test -s conftest.$ac_objext'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; }; then
28546 ac_cv_cxx_have_std_ext_hash_set
=yes
28548 echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.
$ac_ext >&5
28551 ac_cv_cxx_have_std_ext_hash_set
=no
28553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28555 ac_cpp
='$CPP $CPPFLAGS'
28556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28561 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
28562 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6
28563 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes
28566 cat >>confdefs.h
<<\_ACEOF
28567 #define HAVE_STD_EXT_HASH_SET 1
28572 cat >>confdefs.h
<<\_ACEOF
28573 #define HAVE_STD_EXT_HASH_SET 0
28578 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
28579 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6
28580 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
28581 echo $ECHO_N "(cached) $ECHO_C" >&6
28585 ac_cpp
='$CXXCPP $CPPFLAGS'
28586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28590 cat >conftest.
$ac_ext <<_ACEOF
28593 cat confdefs.h
>>conftest.
$ac_ext
28594 cat >>conftest.
$ac_ext <<_ACEOF
28595 /* end confdefs.h. */
28596 #include <ext/hash_set>
28597 #ifdef HAVE_NAMESPACES
28598 using namespace __gnu_cxx;
28608 rm -f conftest.
$ac_objext
28609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28610 (eval $ac_compile) 2>conftest.er1
28612 grep -v '^ *+' conftest.er1
>conftest.err
28614 cat conftest.err
>&5
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); } &&
28617 { ac_try
='test -z "$ac_cxx_werror_flag"
28618 || test ! -s conftest.err'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; } &&
28624 { ac_try
='test -s conftest.$ac_objext'
28625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28626 (eval $ac_try) 2>&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); }; }; then
28630 ac_cv_cxx_have_gnu_ext_hash_set
=yes
28632 echo "$as_me: failed program was:" >&5
28633 sed 's/^/| /' conftest.
$ac_ext >&5
28635 ac_cv_cxx_have_gnu_ext_hash_set
=no
28637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28639 ac_cpp
='$CPP $CPPFLAGS'
28640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28645 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
28646 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6
28647 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes
28650 cat >>confdefs.h
<<\_ACEOF
28651 #define HAVE_GNU_EXT_HASH_SET 1
28656 cat >>confdefs.h
<<\_ACEOF
28657 #define HAVE_GNU_EXT_HASH_SET 0
28662 echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
28663 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6
28664 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
28665 echo $ECHO_N "(cached) $ECHO_C" >&6
28669 ac_cpp
='$CXXCPP $CPPFLAGS'
28670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28674 cat >conftest.
$ac_ext <<_ACEOF
28677 cat confdefs.h
>>conftest.
$ac_ext
28678 cat >>conftest.
$ac_ext <<_ACEOF
28679 /* end confdefs.h. */
28680 #include <hash_set>
28684 hash_set<int> t; return 0;
28689 rm -f conftest.
$ac_objext
28690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28691 (eval $ac_compile) 2>conftest.er1
28693 grep -v '^ *+' conftest.er1
>conftest.err
28695 cat conftest.err
>&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); } &&
28698 { ac_try
='test -z "$ac_cxx_werror_flag"
28699 || test ! -s conftest.err'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; } &&
28705 { ac_try
='test -s conftest.$ac_objext'
28706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28707 (eval $ac_try) 2>&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); }; }; then
28711 ac_cv_cxx_have_global_hash_set
=yes
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.
$ac_ext >&5
28716 ac_cv_cxx_have_global_hash_set
=no
28718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28720 ac_cpp
='$CPP $CPPFLAGS'
28721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28726 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
28727 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6
28728 if test "$ac_cv_cxx_have_global_hash_set" = yes
28731 cat >>confdefs.h
<<\_ACEOF
28732 #define HAVE_GLOBAL_HASH_SET 1
28737 cat >>confdefs.h
<<\_ACEOF
28738 #define HAVE_GLOBAL_HASH_SET 0
28743 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
28744 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
28745 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
28746 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 ac_cpp
='$CXXCPP $CPPFLAGS'
28751 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28752 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28753 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28755 cat >conftest.
$ac_ext <<_ACEOF
28758 cat confdefs.h
>>conftest.
$ac_ext
28759 cat >>conftest.
$ac_ext <<_ACEOF
28760 /* end confdefs.h. */
28761 #include <iterator>
28762 #ifdef HAVE_NAMESPACES
28763 using namespace std;
28768 iterator<int,int,int> t; return 0;
28773 rm -f conftest.
$ac_objext
28774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28775 (eval $ac_compile) 2>conftest.er1
28777 grep -v '^ *+' conftest.er1
>conftest.err
28779 cat conftest.err
>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } &&
28782 { ac_try
='test -z "$ac_cxx_werror_flag"
28783 || test ! -s conftest.err'
28784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785 (eval $ac_try) 2>&5
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); }; } &&
28789 { ac_try
='test -s conftest.$ac_objext'
28790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28791 (eval $ac_try) 2>&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); }; }; then
28795 ac_cv_cxx_have_std_iterator
=yes
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.
$ac_ext >&5
28800 ac_cv_cxx_have_std_iterator
=no
28802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28804 ac_cpp
='$CPP $CPPFLAGS'
28805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28811 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
28812 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
28813 if test "$ac_cv_cxx_have_std_iterator" = yes
28816 cat >>confdefs.h
<<\_ACEOF
28817 #define HAVE_STD_ITERATOR 1
28822 cat >>confdefs.h
<<\_ACEOF
28823 #define HAVE_STD_ITERATOR 0
28828 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
28829 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
28830 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28835 ac_cpp
='$CXXCPP $CPPFLAGS'
28836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28840 cat >conftest.
$ac_ext <<_ACEOF
28843 cat confdefs.h
>>conftest.
$ac_ext
28844 cat >>conftest.
$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846 #include <iterator>
28847 #ifdef HAVE_NAMESPACES
28848 using namespace std;
28853 bidirectional_iterator<int,int> t; return 0;
28858 rm -f conftest.
$ac_objext
28859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28860 (eval $ac_compile) 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); } &&
28867 { ac_try
='test -z "$ac_cxx_werror_flag"
28868 || test ! -s conftest.err'
28869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28870 (eval $ac_try) 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; } &&
28874 { ac_try
='test -s conftest.$ac_objext'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28880 ac_cv_cxx_have_bi_iterator
=yes
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.
$ac_ext >&5
28885 ac_cv_cxx_have_bi_iterator
=no
28887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28889 ac_cpp
='$CPP $CPPFLAGS'
28890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28896 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
28897 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
28898 if test "$ac_cv_cxx_have_bi_iterator" = yes
28901 cat >>confdefs.h
<<\_ACEOF
28902 #define HAVE_BI_ITERATOR 1
28907 cat >>confdefs.h
<<\_ACEOF
28908 #define HAVE_BI_ITERATOR 0
28913 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
28914 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
28915 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
28916 echo $ECHO_N "(cached) $ECHO_C" >&6
28920 ac_cpp
='$CXXCPP $CPPFLAGS'
28921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28925 cat >conftest.
$ac_ext <<_ACEOF
28928 cat confdefs.h
>>conftest.
$ac_ext
28929 cat >>conftest.
$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28931 #include <iterator>
28932 #ifdef HAVE_NAMESPACES
28933 using namespace std;
28938 forward_iterator<int,int> t; return 0;
28943 rm -f conftest.
$ac_objext
28944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28945 (eval $ac_compile) 2>conftest.er1
28947 grep -v '^ *+' conftest.er1
>conftest.err
28949 cat conftest.err
>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); } &&
28952 { ac_try
='test -z "$ac_cxx_werror_flag"
28953 || test ! -s conftest.err'
28954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 (eval $ac_try) 2>&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); }; } &&
28959 { ac_try
='test -s conftest.$ac_objext'
28960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961 (eval $ac_try) 2>&5
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); }; }; then
28965 ac_cv_cxx_have_fwd_iterator
=yes
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.
$ac_ext >&5
28970 ac_cv_cxx_have_fwd_iterator
=no
28972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28974 ac_cpp
='$CPP $CPPFLAGS'
28975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28981 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
28982 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
28983 if test "$ac_cv_cxx_have_fwd_iterator" = yes
28986 cat >>confdefs.h
<<\_ACEOF
28987 #define HAVE_FWD_ITERATOR 1
28992 cat >>confdefs.h
<<\_ACEOF
28993 #define HAVE_FWD_ITERATOR 0
28999 echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
29000 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6
29001 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
29002 echo $ECHO_N "(cached) $ECHO_C" >&6
29005 ac_cpp
='$CXXCPP $CPPFLAGS'
29006 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29010 cat >conftest.
$ac_ext <<_ACEOF
29013 cat confdefs.h
>>conftest.
$ac_ext
29014 cat >>conftest.
$ac_ext <<_ACEOF
29015 /* end confdefs.h. */
29025 rm -f conftest.
$ac_objext
29026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29027 (eval $ac_compile) 2>conftest.er1
29029 grep -v '^ *+' conftest.er1
>conftest.err
29031 cat conftest.err
>&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); } &&
29034 { ac_try
='test -z "$ac_cxx_werror_flag"
29035 || test ! -s conftest.err'
29036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29037 (eval $ac_try) 2>&5
29039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 (exit $ac_status); }; } &&
29041 { ac_try
='test -s conftest.$ac_objext'
29042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29043 (eval $ac_try) 2>&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); }; }; then
29047 ac_cv_func_isnan_in_math_h
=yes
29049 echo "$as_me: failed program was:" >&5
29050 sed 's/^/| /' conftest.
$ac_ext >&5
29052 ac_cv_func_isnan_in_math_h
=no
29054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29056 ac_cpp
='$CPP $CPPFLAGS'
29057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29062 echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
29063 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6
29066 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
29068 cat >>confdefs.h
<<\_ACEOF
29069 #define HAVE_ISNAN_IN_MATH_H 1
29074 echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
29075 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6
29076 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
29077 echo $ECHO_N "(cached) $ECHO_C" >&6
29080 ac_cpp
='$CXXCPP $CPPFLAGS'
29081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29085 cat >conftest.
$ac_ext <<_ACEOF
29088 cat confdefs.h
>>conftest.
$ac_ext
29089 cat >>conftest.
$ac_ext <<_ACEOF
29090 /* end confdefs.h. */
29100 rm -f conftest.
$ac_objext
29101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29102 (eval $ac_compile) 2>conftest.er1
29104 grep -v '^ *+' conftest.er1
>conftest.err
29106 cat conftest.err
>&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); } &&
29109 { ac_try
='test -z "$ac_cxx_werror_flag"
29110 || test ! -s conftest.err'
29111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29112 (eval $ac_try) 2>&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); }; } &&
29116 { ac_try
='test -s conftest.$ac_objext'
29117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29118 (eval $ac_try) 2>&5
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); }; }; then
29122 ac_cv_func_isnan_in_cmath
=yes
29124 echo "$as_me: failed program was:" >&5
29125 sed 's/^/| /' conftest.
$ac_ext >&5
29127 ac_cv_func_isnan_in_cmath
=no
29129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29131 ac_cpp
='$CPP $CPPFLAGS'
29132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29137 echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
29138 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6
29140 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
29142 cat >>confdefs.h
<<\_ACEOF
29143 #define HAVE_ISNAN_IN_CMATH 1
29148 echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
29149 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6
29150 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
29151 echo $ECHO_N "(cached) $ECHO_C" >&6
29154 ac_cpp
='$CXXCPP $CPPFLAGS'
29155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29159 cat >conftest.
$ac_ext <<_ACEOF
29162 cat confdefs.h
>>conftest.
$ac_ext
29163 cat >>conftest.
$ac_ext <<_ACEOF
29164 /* end confdefs.h. */
29169 float f; std::isnan(f);
29174 rm -f conftest.
$ac_objext
29175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29176 (eval $ac_compile) 2>conftest.er1
29178 grep -v '^ *+' conftest.er1
>conftest.err
29180 cat conftest.err
>&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } &&
29183 { ac_try
='test -z "$ac_cxx_werror_flag"
29184 || test ! -s conftest.err'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; } &&
29190 { ac_try
='test -s conftest.$ac_objext'
29191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192 (eval $ac_try) 2>&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); }; }; then
29196 ac_cv_func_std_isnan_in_cmath
=yes
29198 echo "$as_me: failed program was:" >&5
29199 sed 's/^/| /' conftest.
$ac_ext >&5
29201 ac_cv_func_std_isnan_in_cmath
=no
29203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29205 ac_cpp
='$CPP $CPPFLAGS'
29206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29211 echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
29212 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6
29214 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
29216 cat >>confdefs.h
<<\_ACEOF
29217 #define HAVE_STD_ISNAN_IN_CMATH 1
29223 echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
29224 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6
29225 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29229 ac_cpp
='$CXXCPP $CPPFLAGS'
29230 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29231 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29232 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29234 cat >conftest.
$ac_ext <<_ACEOF
29237 cat confdefs.h
>>conftest.
$ac_ext
29238 cat >>conftest.
$ac_ext <<_ACEOF
29239 /* end confdefs.h. */
29249 rm -f conftest.
$ac_objext
29250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29251 (eval $ac_compile) 2>conftest.er1
29253 grep -v '^ *+' conftest.er1
>conftest.err
29255 cat conftest.err
>&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); } &&
29258 { ac_try
='test -z "$ac_cxx_werror_flag"
29259 || test ! -s conftest.err'
29260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29261 (eval $ac_try) 2>&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); }; } &&
29265 { ac_try
='test -s conftest.$ac_objext'
29266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29267 (eval $ac_try) 2>&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); }; }; then
29271 ac_cv_func_isinf_in_math_h
=yes
29273 echo "$as_me: failed program was:" >&5
29274 sed 's/^/| /' conftest.
$ac_ext >&5
29276 ac_cv_func_isinf_in_math_h
=no
29278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29280 ac_cpp
='$CPP $CPPFLAGS'
29281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29286 echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
29287 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6
29289 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
29291 cat >>confdefs.h
<<\_ACEOF
29292 #define HAVE_ISINF_IN_MATH_H 1
29297 echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
29298 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6
29299 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
29300 echo $ECHO_N "(cached) $ECHO_C" >&6
29303 ac_cpp
='$CXXCPP $CPPFLAGS'
29304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29308 cat >conftest.
$ac_ext <<_ACEOF
29311 cat confdefs.h
>>conftest.
$ac_ext
29312 cat >>conftest.
$ac_ext <<_ACEOF
29313 /* end confdefs.h. */
29323 rm -f conftest.
$ac_objext
29324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29325 (eval $ac_compile) 2>conftest.er1
29327 grep -v '^ *+' conftest.er1
>conftest.err
29329 cat conftest.err
>&5
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); } &&
29332 { ac_try
='test -z "$ac_cxx_werror_flag"
29333 || test ! -s conftest.err'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; } &&
29339 { ac_try
='test -s conftest.$ac_objext'
29340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29341 (eval $ac_try) 2>&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); }; }; then
29345 ac_cv_func_isinf_in_cmath
=yes
29347 echo "$as_me: failed program was:" >&5
29348 sed 's/^/| /' conftest.
$ac_ext >&5
29350 ac_cv_func_isinf_in_cmath
=no
29352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29354 ac_cpp
='$CPP $CPPFLAGS'
29355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29360 echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
29361 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6
29363 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
29365 cat >>confdefs.h
<<\_ACEOF
29366 #define HAVE_ISINF_IN_CMATH 1
29371 echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
29372 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6
29373 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29377 ac_cpp
='$CXXCPP $CPPFLAGS'
29378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29382 cat >conftest.
$ac_ext <<_ACEOF
29385 cat confdefs.h
>>conftest.
$ac_ext
29386 cat >>conftest.
$ac_ext <<_ACEOF
29387 /* end confdefs.h. */
29392 float f; std::isinf(f)}
29397 rm -f conftest.
$ac_objext
29398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29399 (eval $ac_compile) 2>conftest.er1
29401 grep -v '^ *+' conftest.er1
>conftest.err
29403 cat conftest.err
>&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); } &&
29406 { ac_try
='test -z "$ac_cxx_werror_flag"
29407 || test ! -s conftest.err'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; } &&
29413 { ac_try
='test -s conftest.$ac_objext'
29414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415 (eval $ac_try) 2>&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); }; }; then
29419 ac_cv_func_std_isinf_in_cmath
=yes
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.
$ac_ext >&5
29424 ac_cv_func_std_isinf_in_cmath
=no
29426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29428 ac_cpp
='$CPP $CPPFLAGS'
29429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29434 echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
29435 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6
29437 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
29439 cat >>confdefs.h
<<\_ACEOF
29440 #define HAVE_STD_ISINF_IN_CMATH 1
29445 echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
29446 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6
29447 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29451 ac_cpp
='$CXXCPP $CPPFLAGS'
29452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29456 cat >conftest.
$ac_ext <<_ACEOF
29459 cat confdefs.h
>>conftest.
$ac_ext
29460 cat >>conftest.
$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 #include <ieeefp.h>
29466 float f; finite(f);
29471 rm -f conftest.
$ac_objext
29472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29473 (eval $ac_compile) 2>conftest.er1
29475 grep -v '^ *+' conftest.er1
>conftest.err
29477 cat conftest.err
>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try
='test -z "$ac_cxx_werror_flag"
29481 || test ! -s conftest.err'
29482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483 (eval $ac_try) 2>&5
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); }; } &&
29487 { ac_try
='test -s conftest.$ac_objext'
29488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29489 (eval $ac_try) 2>&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); }; }; then
29493 ac_cv_func_finite_in_ieeefp_h
=yes
29495 echo "$as_me: failed program was:" >&5
29496 sed 's/^/| /' conftest.
$ac_ext >&5
29498 ac_cv_func_finite_in_ieeefp_h
=no
29500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29502 ac_cpp
='$CPP $CPPFLAGS'
29503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29508 echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
29509 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6
29511 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
29513 cat >>confdefs.h
<<\_ACEOF
29514 #define HAVE_FINITE_IN_IEEEFP_H 1
29523 for ac_header
in stdlib.h unistd.h
29525 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29527 echo "$as_me:$LINENO: checking for $ac_header" >&5
29528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29530 echo $ECHO_N "(cached) $ECHO_C" >&6
29532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29535 # Is the header compilable?
29536 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29538 cat >conftest.
$ac_ext <<_ACEOF
29541 cat confdefs.h
>>conftest.
$ac_ext
29542 cat >>conftest.
$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29544 $ac_includes_default
29545 #include <$ac_header>
29547 rm -f conftest.
$ac_objext
29548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29549 (eval $ac_compile) 2>conftest.er1
29551 grep -v '^ *+' conftest.er1
>conftest.err
29553 cat conftest.err
>&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); } &&
29556 { ac_try
='test -z "$ac_c_werror_flag"
29557 || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try
='test -s conftest.$ac_objext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 ac_header_compiler
=yes
29571 echo "$as_me: failed program was:" >&5
29572 sed 's/^/| /' conftest.
$ac_ext >&5
29574 ac_header_compiler
=no
29576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29578 echo "${ECHO_T}$ac_header_compiler" >&6
29580 # Is the header present?
29581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29583 cat >conftest.
$ac_ext <<_ACEOF
29586 cat confdefs.h
>>conftest.
$ac_ext
29587 cat >>conftest.
$ac_ext <<_ACEOF
29588 /* end confdefs.h. */
29589 #include <$ac_header>
29591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29594 grep -v '^ *+' conftest.er1
>conftest.err
29596 cat conftest.err
>&5
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); } >/dev
/null
; then
29599 if test -s conftest.err
; then
29600 ac_cpp_err
=$ac_c_preproc_warn_flag
29601 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29608 if test -z "$ac_cpp_err"; then
29609 ac_header_preproc
=yes
29611 echo "$as_me: failed program was:" >&5
29612 sed 's/^/| /' conftest.
$ac_ext >&5
29614 ac_header_preproc
=no
29616 rm -f conftest.err conftest.
$ac_ext
29617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29618 echo "${ECHO_T}$ac_header_preproc" >&6
29620 # So? What about this header?
29621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29627 ac_header_preproc
=yes
29630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29633 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29637 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29644 ## ----------------------------------- ##
29645 ## Report this to llvmbugs@cs.uiuc.edu ##
29646 ## ----------------------------------- ##
29649 sed "s/^/$as_me: WARNING: /" >&2
29652 echo "$as_me:$LINENO: checking for $ac_header" >&5
29653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29655 echo $ECHO_N "(cached) $ECHO_C" >&6
29657 eval "$as_ac_Header=\$ac_header_preproc"
29659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29664 cat >>confdefs.h
<<_ACEOF
29665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29673 for ac_func
in getpagesize
29675 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29676 echo "$as_me:$LINENO: checking for $ac_func" >&5
29677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29678 if eval "test \"\${$as_ac_var+set}\" = set"; then
29679 echo $ECHO_N "(cached) $ECHO_C" >&6
29681 cat >conftest.
$ac_ext <<_ACEOF
29684 cat confdefs.h
>>conftest.
$ac_ext
29685 cat >>conftest.
$ac_ext <<_ACEOF
29686 /* end confdefs.h. */
29687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29689 #define $ac_func innocuous_$ac_func
29691 /* System header to define __stub macros and hopefully few prototypes,
29692 which can conflict with char $ac_func (); below.
29693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29694 <limits.h> exists even on freestanding compilers. */
29697 # include <limits.h>
29699 # include <assert.h>
29704 /* Override any gcc2 internal prototype to avoid an error. */
29709 /* We use char because int might match the return type of a gcc2
29710 builtin and then its argument prototype would still apply. */
29712 /* The GNU C library defines this for functions which it implements
29713 to always fail with ENOSYS. Some functions are actually named
29714 something starting with __ and the normal name is an alias. */
29715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29718 char (*f) () = $ac_func;
29727 return f != $ac_func;
29732 rm -f conftest.
$ac_objext conftest
$ac_exeext
29733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29734 (eval $ac_link) 2>conftest.er1
29736 grep -v '^ *+' conftest.er1
>conftest.err
29738 cat conftest.err
>&5
29739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29740 (exit $ac_status); } &&
29741 { ac_try
='test -z "$ac_c_werror_flag"
29742 || test ! -s conftest.err'
29743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29744 (eval $ac_try) 2>&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); }; } &&
29748 { ac_try
='test -s conftest$ac_exeext'
29749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29750 (eval $ac_try) 2>&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); }; }; then
29754 eval "$as_ac_var=yes"
29756 echo "$as_me: failed program was:" >&5
29757 sed 's/^/| /' conftest.
$ac_ext >&5
29759 eval "$as_ac_var=no"
29761 rm -f conftest.err conftest.
$ac_objext \
29762 conftest
$ac_exeext conftest.
$ac_ext
29764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29766 if test `eval echo '${'$as_ac_var'}'` = yes; then
29767 cat >>confdefs.h
<<_ACEOF
29768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29774 echo "$as_me:$LINENO: checking for working mmap" >&5
29775 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
29776 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
29777 echo $ECHO_N "(cached) $ECHO_C" >&6
29779 if test "$cross_compiling" = yes; then
29780 ac_cv_func_mmap_fixed_mapped
=no
29782 cat >conftest.
$ac_ext <<_ACEOF
29785 cat confdefs.h
>>conftest.
$ac_ext
29786 cat >>conftest.
$ac_ext <<_ACEOF
29787 /* end confdefs.h. */
29788 $ac_includes_default
29789 /* malloc might have been renamed as rpl_malloc. */
29792 /* Thanks to Mike Haertel and Jim Avera for this test.
29793 Here is a matrix of mmap possibilities:
29794 mmap private not fixed
29795 mmap private fixed at somewhere currently unmapped
29796 mmap private fixed at somewhere already mapped
29797 mmap shared not fixed
29798 mmap shared fixed at somewhere currently unmapped
29799 mmap shared fixed at somewhere already mapped
29800 For private mappings, we should verify that changes cannot be read()
29801 back from the file, nor mmap's back from the file at a different
29802 address. (There have been systems where private was not correctly
29803 implemented like the infamous i386 svr4.0, and systems where the
29804 VM page cache was not coherent with the file system buffer cache
29805 like early versions of FreeBSD and possibly contemporary NetBSD.)
29806 For shared mappings, we should conversely verify that changes get
29807 propagated back to all the places they're supposed to be.
29809 Grep wants private fixed already mapped.
29810 The main things grep needs to know about mmap are:
29811 * does it exist and is it safe to write into the mmap'd area
29812 * how to use it (BSD variants) */
29815 #include <sys/mman.h>
29817 #if !STDC_HEADERS && !HAVE_STDLIB_H
29821 /* This mess was copied from the GNU getpagesize.h. */
29822 #if !HAVE_GETPAGESIZE
29823 /* Assume that all systems that can run configure have sys/param.h. */
29824 # if !HAVE_SYS_PARAM_H
29825 # define HAVE_SYS_PARAM_H 1
29828 # ifdef _SC_PAGESIZE
29829 # define getpagesize() sysconf(_SC_PAGESIZE)
29830 # else /* no _SC_PAGESIZE */
29831 # if HAVE_SYS_PARAM_H
29832 # include <sys/param.h>
29833 # ifdef EXEC_PAGESIZE
29834 # define getpagesize() EXEC_PAGESIZE
29835 # else /* no EXEC_PAGESIZE */
29837 # define getpagesize() NBPG * CLSIZE
29840 # endif /* no CLSIZE */
29841 # else /* no NBPG */
29843 # define getpagesize() NBPC
29844 # else /* no NBPC */
29846 # define getpagesize() PAGESIZE
29847 # endif /* PAGESIZE */
29848 # endif /* no NBPC */
29849 # endif /* no NBPG */
29850 # endif /* no EXEC_PAGESIZE */
29851 # else /* no HAVE_SYS_PARAM_H */
29852 # define getpagesize() 8192 /* punt totally */
29853 # endif /* no HAVE_SYS_PARAM_H */
29854 # endif /* no _SC_PAGESIZE */
29856 #endif /* no HAVE_GETPAGESIZE */
29861 char *data, *data2, *data3;
29865 pagesize = getpagesize ();
29867 /* First, make a file with some known garbage in it. */
29868 data = (char *) malloc (pagesize);
29871 for (i = 0; i < pagesize; ++i)
29872 *(data + i) = rand ();
29874 fd = creat ("conftest.mmap", 0600);
29877 if (write (fd, data, pagesize) != pagesize)
29881 /* Next, try to mmap the file at a fixed address which already has
29882 something else allocated at it. If we can, also make sure that
29883 we see the same garbage. */
29884 fd = open ("conftest.mmap", O_RDWR);
29887 data2 = (char *) malloc (2 * pagesize);
29890 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
29891 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
29892 MAP_PRIVATE | MAP_FIXED, fd, 0L))
29894 for (i = 0; i < pagesize; ++i)
29895 if (*(data + i) != *(data2 + i))
29898 /* Finally, make sure that changes to the mapped area do not
29899 percolate back to the file as seen by read(). (This is a bug on
29900 some variants of i386 svr4.0.) */
29901 for (i = 0; i < pagesize; ++i)
29902 *(data2 + i) = *(data2 + i) + 1;
29903 data3 = (char *) malloc (pagesize);
29906 if (read (fd, data3, pagesize) != pagesize)
29908 for (i = 0; i < pagesize; ++i)
29909 if (*(data + i) != *(data3 + i))
29915 rm -f conftest
$ac_exeext
29916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29917 (eval $ac_link) 2>&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29922 (eval $ac_try) 2>&5
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); }; }; then
29926 ac_cv_func_mmap_fixed_mapped
=yes
29928 echo "$as_me: program exited with status $ac_status" >&5
29929 echo "$as_me: failed program was:" >&5
29930 sed 's/^/| /' conftest.
$ac_ext >&5
29932 ( exit $ac_status )
29933 ac_cv_func_mmap_fixed_mapped
=no
29935 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29938 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29939 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
29940 if test $ac_cv_func_mmap_fixed_mapped = yes; then
29942 cat >>confdefs.h
<<\_ACEOF
29943 #define HAVE_MMAP 1
29947 rm -f conftest.mmap
29949 echo "$as_me:$LINENO: checking for mmap of files" >&5
29950 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
29951 if test "${ac_cv_func_mmap_file+set}" = set; then
29952 echo $ECHO_N "(cached) $ECHO_C" >&6
29955 ac_cpp
='$CPP $CPPFLAGS'
29956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29960 if test "$cross_compiling" = yes; then
29961 ac_cv_func_mmap_file
=no
29963 cat >conftest.
$ac_ext <<_ACEOF
29967 cat confdefs.h
>>conftest.
$ac_ext
29968 cat >>conftest.
$ac_ext <<_ACEOF
29969 /* end confdefs.h. */
29971 #include <sys/types.h>
29972 #include <sys/mman.h>
29980 fd = creat ("foo",0777);
29981 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
29983 return (fd != (int) MAP_FAILED);
29988 rm -f conftest
$ac_exeext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29990 (eval $ac_link) 2>&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29995 (eval $ac_try) 2>&5
29997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998 (exit $ac_status); }; }; then
29999 ac_cv_func_mmap_file
=yes
30001 echo "$as_me: program exited with status $ac_status" >&5
30002 echo "$as_me: failed program was:" >&5
30003 sed 's/^/| /' conftest.
$ac_ext >&5
30005 ( exit $ac_status )
30006 ac_cv_func_mmap_file
=no
30008 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30011 ac_cpp
='$CPP $CPPFLAGS'
30012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30018 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
30019 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
30020 if test "$ac_cv_func_mmap_file" = yes; then
30022 cat >>confdefs.h
<<\_ACEOF
30023 #define HAVE_MMAP_FILE
30030 echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
30031 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6
30032 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
30033 echo $ECHO_N "(cached) $ECHO_C" >&6
30035 if test "$llvm_cv_os_type" = "Interix" ; then
30036 ac_cv_need_dev_zero_for_mmap
=yes
30038 ac_cv_need_dev_zero_for_mmap
=no
30042 echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
30043 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6
30044 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
30046 cat >>confdefs.h
<<\_ACEOF
30047 #define NEED_DEV_ZERO_FOR_MMAP 1
30051 echo "$as_me:$LINENO: checking for mprotect" >&5
30052 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
30053 if test "${ac_cv_func_mprotect+set}" = set; then
30054 echo $ECHO_N "(cached) $ECHO_C" >&6
30056 cat >conftest.
$ac_ext <<_ACEOF
30059 cat confdefs.h
>>conftest.
$ac_ext
30060 cat >>conftest.
$ac_ext <<_ACEOF
30061 /* end confdefs.h. */
30062 /* Define mprotect to an innocuous variant, in case <limits.h> declares mprotect.
30063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30064 #define mprotect innocuous_mprotect
30066 /* System header to define __stub macros and hopefully few prototypes,
30067 which can conflict with char mprotect (); below.
30068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30069 <limits.h> exists even on freestanding compilers. */
30072 # include <limits.h>
30074 # include <assert.h>
30079 /* Override any gcc2 internal prototype to avoid an error. */
30084 /* We use char because int might match the return type of a gcc2
30085 builtin and then its argument prototype would still apply. */
30087 /* The GNU C library defines this for functions which it implements
30088 to always fail with ENOSYS. Some functions are actually named
30089 something starting with __ and the normal name is an alias. */
30090 #if defined (__stub_mprotect) || defined (__stub___mprotect)
30093 char (*f) () = mprotect;
30102 return f != mprotect;
30107 rm -f conftest.
$ac_objext conftest
$ac_exeext
30108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30109 (eval $ac_link) 2>conftest.er1
30111 grep -v '^ *+' conftest.er1
>conftest.err
30113 cat conftest.err
>&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); } &&
30116 { ac_try
='test -z "$ac_c_werror_flag"
30117 || test ! -s conftest.err'
30118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30119 (eval $ac_try) 2>&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); }; } &&
30123 { ac_try
='test -s conftest$ac_exeext'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; }; then
30129 ac_cv_func_mprotect
=yes
30131 echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.
$ac_ext >&5
30134 ac_cv_func_mprotect
=no
30136 rm -f conftest.err conftest.
$ac_objext \
30137 conftest
$ac_exeext conftest.
$ac_ext
30139 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
30140 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
30141 if test $ac_cv_func_mprotect = yes; then
30144 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
30145 echo "$as_me: error: Function mprotect() required but not found" >&2;}
30146 { (exit 1); exit 1; }; }
30150 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
30152 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
30153 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
30155 if test "$ac_cv_func_mmap_file" = "no"
30157 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
30158 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
30162 echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
30163 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6
30164 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
30165 echo $ECHO_N "(cached) $ECHO_C" >&6
30167 llvm_cv_llvmgcc_sanity
="no"
30168 if test -x "$LLVMGCC" ; then
30169 cp /dev
/null conftest.c
30170 "$LLVMGCC" -S -o - conftest.c |
grep implementation
> /dev
/null
2>&1
30171 if test $?
-eq 0 ; then
30172 llvm_cv_llvmgcc_sanity
="yes"
30177 echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
30178 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6
30180 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
30181 llvmcc1path
=`"$LLVMGCC" --print-prog-name=cc1`
30182 LLVMCC1
=$llvmcc1path
30184 llvmcc1pluspath
=`"$LLVMGCC" --print-prog-name=cc1plus`
30185 LLVMCC1PLUS
=$llvmcc1pluspath
30187 llvmgccdir
=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
30188 LLVMGCCDIR
=$llvmgccdir
30192 SHLIBEXT
=$libltdl_cv_shlibext
30195 # Translate the various configuration directories and other basic
30196 # information into substitutions that will end up in Makefile.config.in
30197 # that these configured values can be used by the makefiles
30198 eval LLVM_PREFIX
="${prefix}";
30199 eval LLVM_BINDIR
="${prefix}/bin";
30200 eval LLVM_LIBDIR
="${prefix}/lib";
30201 eval LLVM_DATADIR
="${prefix}/share/llvm";
30202 eval LLVM_DOCSDIR
="${prefix}/docs/llvm";
30203 eval LLVM_ETCDIR
="${prefix}/etc/llvm";
30204 eval LLVM_INCLUDEDIR
="${prefix}/include";
30205 eval LLVM_INFODIR
="${prefix}/info";
30206 eval LLVM_MANDIR
="${prefix}/man";
30207 LLVM_CONFIGTIME
=`date`
30219 # Place the various directores into the config.h file as #defines so that we
30220 # can know about the installation paths within LLVM.
30222 cat >>confdefs.h
<<_ACEOF
30223 #define LLVM_PREFIX "$LLVM_PREFIX"
30227 cat >>confdefs.h
<<_ACEOF
30228 #define LLVM_BINDIR "$LLVM_BINDIR"
30232 cat >>confdefs.h
<<_ACEOF
30233 #define LLVM_LIBDIR "$LLVM_LIBDIR"
30237 cat >>confdefs.h
<<_ACEOF
30238 #define LLVM_DATADIR "$LLVM_DATADIR"
30242 cat >>confdefs.h
<<_ACEOF
30243 #define LLVM_DATADIR "$LLVM_DOCSDIR"
30247 cat >>confdefs.h
<<_ACEOF
30248 #define LLVM_ETCDIR "$LLVM_ETCDIR"
30252 cat >>confdefs.h
<<_ACEOF
30253 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
30257 cat >>confdefs.h
<<_ACEOF
30258 #define LLVM_INFODIR "$LLVM_INFODIR"
30262 cat >>confdefs.h
<<_ACEOF
30263 #define LLVM_MANDIR "$LLVM_MANDIR"
30267 cat >>confdefs.h
<<_ACEOF
30268 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
30273 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
30276 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
30278 ac_config_headers
="$ac_config_headers include/llvm/ADT/hash_map"
30280 ac_config_headers
="$ac_config_headers include/llvm/ADT/hash_set"
30282 ac_config_headers
="$ac_config_headers include/llvm/Support/ThreadSupport.h"
30284 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator"
30287 ac_config_files
="$ac_config_files Makefile.config"
30290 ac_config_files
="$ac_config_files tools/llvmc/st tools/llvmc/cpp tools/llvmc/ll tools/llvmc/c"
30293 ac_config_files
="$ac_config_files docs/doxygen.cfg"
30296 ac_config_commands
="$ac_config_commands setup"
30298 ac_config_commands
="$ac_config_commands Makefile"
30301 ac_config_commands
="$ac_config_commands Makefile.common"
30304 ac_config_commands
="$ac_config_commands examples/Makefile"
30307 ac_config_commands
="$ac_config_commands lib/Makefile"
30310 ac_config_commands
="$ac_config_commands runtime/Makefile"
30313 ac_config_commands
="$ac_config_commands test/Makefile"
30316 ac_config_commands
="$ac_config_commands test/Makefile.tests"
30319 ac_config_commands
="$ac_config_commands tools/Makefile"
30322 ac_config_commands
="$ac_config_commands utils/Makefile"
30325 ac_config_commands
="$ac_config_commands projects/Makefile"
30329 cat >confcache
<<\_ACEOF
30330 # This file is a shell script that caches the results of configure
30331 # tests run on this system so they can be shared between configure
30332 # scripts and configure runs, see configure's option --config-cache.
30333 # It is not useful on other systems. If it contains results you don't
30334 # want to keep, you may remove or edit it.
30336 # config.status only pays attention to the cache file if you give it
30337 # the --recheck option to rerun configure.
30339 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30340 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30341 # following values.
30345 # The following way of writing the cache mishandles newlines in values,
30346 # but we know of no workaround that is simple, portable, and efficient.
30347 # So, don't put newlines in cache variables' values.
30348 # Ultrix sh set writes to stderr and can't be redirected directly,
30349 # and sets the high bit in the cache file unless we assign to the vars.
30352 case `(ac_space=' '; set | grep ac_space) 2>&1` in
30354 # `set' does not quote correctly, so add quotes (double-quote
30355 # substitution turns \\\\ into \\, and sed turns \\ into \).
30358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30361 # `set' quotes correctly as required by POSIX, so do not add quotes.
30363 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
30370 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30372 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30374 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
30375 if test -w $cache_file; then
30376 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
30377 cat confcache
>$cache_file
30379 echo "not updating unwritable cache $cache_file"
30384 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
30385 # Let make expand exec_prefix.
30386 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
30388 # VPATH may cause trouble with some makes, so we remove $(srcdir),
30389 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30390 # trailing colons and then remove the whole line if VPATH becomes empty
30391 # (actually we leave an empty line to preserve line numbers).
30392 if test "x$srcdir" = x.
; then
30393 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
30394 s/:*\$(srcdir):*/:/;
30395 s/:*\${srcdir}:*/:/;
30397 s/^\([^=]*=[ ]*\):*/\1/;
30403 DEFS
=-DHAVE_CONFIG_H
30407 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
30408 # 1. Remove the extension, and $U if already installed.
30409 ac_i
=`echo "$ac_i" |
30410 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
30412 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
30413 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
30415 LIBOBJS
=$ac_libobjs
30417 LTLIBOBJS
=$ac_ltlibobjs
30420 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
30421 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
30422 Usually this means the macro was only invoked conditionally." >&5
30423 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
30424 Usually this means the macro was only invoked conditionally." >&2;}
30425 { (exit 1); exit 1; }; }
30427 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
30428 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
30429 Usually this means the macro was only invoked conditionally." >&5
30430 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
30431 Usually this means the macro was only invoked conditionally." >&2;}
30432 { (exit 1); exit 1; }; }
30435 : ${CONFIG_STATUS=./config.status}
30436 ac_clean_files_save
=$ac_clean_files
30437 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
30438 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30439 echo "$as_me: creating $CONFIG_STATUS" >&6;}
30440 cat >$CONFIG_STATUS <<_ACEOF
30442 # Generated by $as_me.
30443 # Run this file to recreate the current configuration.
30444 # Compiler output produced by configure, useful for debugging
30445 # configure, is in config.log if it exists.
30448 ac_cs_recheck=false
30450 SHELL=\${CONFIG_SHELL-$SHELL}
30453 cat >>$CONFIG_STATUS <<\_ACEOF
30454 ## --------------------- ##
30455 ## M4sh Initialization. ##
30456 ## --------------------- ##
30458 # Be Bourne compatible
30459 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
30462 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30463 # is contrary to our usage. Disable this feature.
30464 alias -g '${1+"$@"}'='"$@"'
30465 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30468 DUALCASE
=1; export DUALCASE
# for MKS sh
30470 # Support unset when possible.
30471 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
30478 # Work around bugs in pre-3.0 UWIN ksh.
30479 $as_unset ENV MAIL MAILPATH
30486 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30487 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30488 LC_TELEPHONE LC_TIME
30490 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30491 eval $as_var=C
; export $as_var
30497 # Required to use basename.
30498 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30504 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
30505 as_basename
=basename
30511 # Name of the executable.
30512 as_me
=`$as_basename "$0" ||
30513 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30514 X"$0" : 'X\(//\)$' \| \
30515 X"$0" : 'X\(/\)$' \| \
30516 . : '\(.\)' 2>/dev/null ||
30518 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30519 /^X\/\(\/\/\)$/{ s//\1/; q; }
30520 /^X\/\(\/\).*/{ s//\1/; q; }
30524 # PATH needs CR, and LINENO needs CR and PATH.
30525 # Avoid depending upon Character Ranges.
30526 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
30527 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30528 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
30529 as_cr_digits
='0123456789'
30530 as_cr_alnum
=$as_cr_Letters$as_cr_digits
30532 # The user is always right.
30533 if test "${PATH_SEPARATOR+set}" != set; then
30534 echo "#! /bin/sh" >conf$$.sh
30535 echo "exit 0" >>conf$$.sh
30537 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
30546 as_lineno_1
=$LINENO
30547 as_lineno_2
=$LINENO
30548 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
30549 test "x$as_lineno_1" != "x$as_lineno_2" &&
30550 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
30551 # Find who we are. Look in the path if we contain no path at all
30554 *[\\/]* ) as_myself
=$0 ;;
30555 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30556 for as_dir
in $PATH
30559 test -z "$as_dir" && as_dir
=.
30560 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
30565 # We did not find ourselves, most probably we were run as `sh COMMAND'
30566 # in which case we are not to be found in the path.
30567 if test "x$as_myself" = x
; then
30570 if test ! -f "$as_myself"; then
30571 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30572 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30573 { (exit 1); exit 1; }; }
30575 case $CONFIG_SHELL in
30577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30578 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
30581 test -z "$as_dir" && as_dir
=.
30582 for as_base
in sh bash ksh sh5
; do
30585 if ("$as_dir/$as_base" -c '
30586 as_lineno_1=$LINENO
30587 as_lineno_2=$LINENO
30588 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30589 test "x$as_lineno_1" != "x$as_lineno_2" &&
30590 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
30591 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
30592 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
30593 CONFIG_SHELL
=$as_dir/$as_base
30594 export CONFIG_SHELL
30595 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30603 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30604 # uniformly replaced by the line number. The first 'sed' inserts a
30605 # line-number line before each line; the second 'sed' does the real
30606 # work. The second script uses 'N' to pair each line-number line
30607 # with the numbered line, and appends trailing '-' during
30608 # substitution so that $LINENO is not a special case at line end.
30609 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30610 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30611 sed '=' <$as_myself |
30616 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30619 s,^['$as_cr_digits']*\n,,
30620 ' >$as_me.lineno
&&
30621 chmod +x
$as_me.lineno ||
30622 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30623 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30624 { (exit 1); exit 1; }; }
30626 # Don't try to exec as it changes $[0], causing all sort of problems
30627 # (the dirname of $[0] is not the place where we might find the
30628 # original and so on. Autoconf is especially sensible to this).
30630 # Exit status is that of the last command.
30635 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30636 *c
*,-n*) ECHO_N
= ECHO_C
='
30638 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
30639 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
30642 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30648 rm -f conf$$ conf$$.exe conf$$.
file
30650 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30651 # We could just check for DJGPP; but this test a) works b) is more generic
30652 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30653 if test -f conf$$.exe
; then
30654 # Don't use ln at all; we don't have any links
30659 elif ln conf$$.
file conf$$
2>/dev
/null
; then
30664 rm -f conf$$ conf$$.exe conf$$.
file
30666 if mkdir
-p .
2>/dev
/null
; then
30669 test -d .
/-p && rmdir .
/-p
30673 as_executable_p
="test -f"
30675 # Sed expression to map a string onto a valid CPP name.
30676 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30678 # Sed expression to map a string onto a valid variable name.
30679 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30683 # We need space, tab and new line, in precisely that order.
30693 # Open the log real soon, to keep \$[0] and so on meaningful, and to
30694 # report actual input values of CONFIG_FILES etc. instead of their
30695 # values after options handling. Logging --version etc. is OK.
30699 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30700 ## Running $as_me. ##
30705 This file was extended by llvm $as_me 1.5cvs, which was
30706 generated by GNU Autoconf 2.59. Invocation command line was
30708 CONFIG_FILES = $CONFIG_FILES
30709 CONFIG_HEADERS = $CONFIG_HEADERS
30710 CONFIG_LINKS = $CONFIG_LINKS
30711 CONFIG_COMMANDS = $CONFIG_COMMANDS
30715 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30719 # Files that config.status was made for.
30720 if test -n "$ac_config_files"; then
30721 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30724 if test -n "$ac_config_headers"; then
30725 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30728 if test -n "$ac_config_links"; then
30729 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30732 if test -n "$ac_config_commands"; then
30733 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30736 cat >>$CONFIG_STATUS <<\_ACEOF
30739 \`$as_me' instantiates files from templates according to the
30740 current configuration.
30742 Usage: $0 [OPTIONS] [FILE]...
30744 -h, --help print this help, then exit
30745 -V, --version print version number, then exit
30746 -q, --quiet do not print progress messages
30747 -d, --debug don't remove temporary files
30748 --recheck update $as_me by reconfiguring in the same conditions
30749 --file=FILE[:TEMPLATE]
30750 instantiate the configuration file FILE
30751 --header=FILE[:TEMPLATE]
30752 instantiate the configuration header FILE
30754 Configuration files:
30757 Configuration headers:
30760 Configuration commands:
30763 Report bugs to <bug-autoconf@gnu.org>."
30766 cat >>$CONFIG_STATUS <<_ACEOF
30768 llvm config.status 1.5cvs
30769 configured by $0, generated by GNU Autoconf 2.59,
30770 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30772 Copyright (C) 2003 Free Software Foundation, Inc.
30773 This config.status script is free software; the Free Software Foundation
30774 gives unlimited permission to copy, distribute and modify it."
30779 cat >>$CONFIG_STATUS <<\_ACEOF
30780 # If no file are specified by the user, then we need to provide default
30781 # value. By we need to know if files were specified by the user.
30787 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
30788 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
30796 *) # This is not an option, so the user has probably given explicit
30799 ac_need_defaults
=false
;;
30803 # Handling of the options.
30805 cat >>$CONFIG_STATUS <<\_ACEOF
30806 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
30808 --version |
--vers* |
-V )
30809 echo "$ac_cs_version"; exit 0 ;;
30811 # Conflict between --help and --header
30812 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30813 Try \`$0 --help' for more information." >&5
30814 echo "$as_me: error: ambiguous option: $1
30815 Try \`$0 --help' for more information." >&2;}
30816 { (exit 1); exit 1; }; };;
30817 --help |
--hel |
-h )
30818 echo "$ac_cs_usage"; exit 0 ;;
30819 --debug |
--d* |
-d )
30821 --file |
--fil |
--fi |
--f )
30823 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
30824 ac_need_defaults
=false
;;
30825 --header |
--heade |
--head |
--hea )
30827 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
30828 ac_need_defaults
=false
;;
30829 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
30830 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
30833 # This is an error.
30834 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30835 Try \`$0 --help' for more information." >&5
30836 echo "$as_me: error: unrecognized option: $1
30837 Try \`$0 --help' for more information." >&2;}
30838 { (exit 1); exit 1; }; } ;;
30840 *) ac_config_targets
="$ac_config_targets $1" ;;
30846 ac_configure_extra_args
=
30848 if $ac_cs_silent; then
30850 ac_configure_extra_args
="$ac_configure_extra_args --silent"
30854 cat >>$CONFIG_STATUS <<_ACEOF
30855 if \$ac_cs_recheck; then
30856 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30857 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30862 cat >>$CONFIG_STATUS <<_ACEOF
30864 # INIT-COMMANDS section.
30867 llvm_src="${srcdir}"
30873 cat >>$CONFIG_STATUS <<\_ACEOF
30874 for ac_config_target
in $ac_config_targets
30876 case "$ac_config_target" in
30877 # Handling of arguments.
30878 "Makefile.config" ) CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
30879 "tools/llvmc/st" ) CONFIG_FILES
="$CONFIG_FILES tools/llvmc/st" ;;
30880 "tools/llvmc/cpp" ) CONFIG_FILES
="$CONFIG_FILES tools/llvmc/cpp" ;;
30881 "tools/llvmc/ll" ) CONFIG_FILES
="$CONFIG_FILES tools/llvmc/ll" ;;
30882 "tools/llvmc/c" ) CONFIG_FILES
="$CONFIG_FILES tools/llvmc/c" ;;
30883 "docs/doxygen.cfg" ) CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
30884 "setup" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
30885 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
30886 "Makefile.common" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
30887 "examples/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
30888 "lib/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
30889 "runtime/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
30890 "test/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
30891 "test/Makefile.tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
30892 "tools/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
30893 "utils/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
30894 "projects/Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
30895 "include/llvm/Config/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
30896 "include/llvm/Support/DataTypes.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
30897 "include/llvm/ADT/hash_map" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_map" ;;
30898 "include/llvm/ADT/hash_set" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_set" ;;
30899 "include/llvm/Support/ThreadSupport.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/ThreadSupport.h" ;;
30900 "include/llvm/ADT/iterator" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator" ;;
30901 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30902 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30903 { (exit 1); exit 1; }; };;
30907 # If the user did not use the arguments to specify the items to instantiate,
30908 # then the envvar interface is used. Set only those that are not.
30909 # We use the long form for the default assignment because of an extremely
30910 # bizarre bug on SunOS 4.1.3.
30911 if $ac_need_defaults; then
30912 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30913 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
30914 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
30917 # Have a temporary directory for convenience. Make it in the build tree
30918 # simply because there is no reason to put it here, and in addition,
30919 # creating and moving files from /tmp can sometimes cause problems.
30920 # Create a temporary directory, and hook for its removal unless debugging.
30923 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30924 trap '{ (exit 1); exit 1; }' 1 2 13 15
30927 # Create a (secure) tmp directory for tmp files.
30930 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30931 test -n "$tmp" && test -d "$tmp"
30934 tmp
=.
/confstat$$
-$RANDOM
30935 (umask 077 && mkdir
$tmp)
30938 echo "$me: cannot create a temporary directory in ." >&2
30939 { (exit 1); exit 1; }
30944 cat >>$CONFIG_STATUS <<_ACEOF
30947 # CONFIG_FILES section.
30950 # No need to generate the scripts if there are no CONFIG_FILES.
30951 # This happens for instance when ./config.status config.h
30952 if test -n "\$CONFIG_FILES"; then
30953 # Protect against being on the right side of a sed subst in config.status.
30954 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30955 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30956 s,@SHELL@,$SHELL,;t t
30957 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30958 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30959 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30960 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30961 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30962 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30963 s,@exec_prefix@,$exec_prefix,;t t
30964 s,@prefix@,$prefix,;t t
30965 s,@program_transform_name@,$program_transform_name,;t t
30966 s,@bindir@,$bindir,;t t
30967 s,@sbindir@,$sbindir,;t t
30968 s,@libexecdir@,$libexecdir,;t t
30969 s,@datadir@,$datadir,;t t
30970 s,@sysconfdir@,$sysconfdir,;t t
30971 s,@sharedstatedir@,$sharedstatedir,;t t
30972 s,@localstatedir@,$localstatedir,;t t
30973 s,@libdir@,$libdir,;t t
30974 s,@includedir@,$includedir,;t t
30975 s,@oldincludedir@,$oldincludedir,;t t
30976 s,@infodir@,$infodir,;t t
30977 s,@mandir@,$mandir,;t t
30978 s,@build_alias@,$build_alias,;t t
30979 s,@host_alias@,$host_alias,;t t
30980 s,@target_alias@,$target_alias,;t t
30981 s,@DEFS@,$DEFS,;t t
30982 s,@ECHO_C@,$ECHO_C,;t t
30983 s,@ECHO_N@,$ECHO_N,;t t
30984 s,@ECHO_T@,$ECHO_T,;t t
30985 s,@LIBS@,$LIBS,;t t
30986 s,@LLVM_COPYRIGHT@,$LLVM_COPYRIGHT,;t t
30987 s,@subdirs@,$subdirs,;t t
30988 s,@build@,$build,;t t
30989 s,@build_cpu@,$build_cpu,;t t
30990 s,@build_vendor@,$build_vendor,;t t
30991 s,@build_os@,$build_os,;t t
30992 s,@host@,$host,;t t
30993 s,@host_cpu@,$host_cpu,;t t
30994 s,@host_vendor@,$host_vendor,;t t
30995 s,@host_os@,$host_os,;t t
30996 s,@target@,$target,;t t
30997 s,@target_cpu@,$target_cpu,;t t
30998 s,@target_vendor@,$target_vendor,;t t
30999 s,@target_os@,$target_os,;t t
31001 s,@LLVM_ON_UNIX@,$LLVM_ON_UNIX,;t t
31002 s,@LLVM_ON_WIN32@,$LLVM_ON_WIN32,;t t
31003 s,@ARCH@,$ARCH,;t t
31004 s,@ENDIAN@,$ENDIAN,;t t
31006 s,@CFLAGS@,$CFLAGS,;t t
31007 s,@LDFLAGS@,$LDFLAGS,;t t
31008 s,@CPPFLAGS@,$CPPFLAGS,;t t
31009 s,@ac_ct_CC@,$ac_ct_CC,;t t
31010 s,@EXEEXT@,$EXEEXT,;t t
31011 s,@OBJEXT@,$OBJEXT,;t t
31012 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
31014 s,@ENABLE_DOXYGEN@,$ENABLE_DOXYGEN,;t t
31015 s,@TARGETS_TO_BUILD@,$TARGETS_TO_BUILD,;t t
31018 s,@CXXFLAGS@,$CXXFLAGS,;t t
31019 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
31021 s,@LEXLIB@,$LEXLIB,;t t
31022 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
31023 s,@FLEX@,$FLEX,;t t
31024 s,@YACC@,$YACC,;t t
31025 s,@BISON@,$BISON,;t t
31026 s,@ifGNUmake@,$ifGNUmake,;t t
31027 s,@LN_S@,$LN_S,;t t
31030 s,@DATE@,$DATE,;t t
31031 s,@FIND@,$FIND,;t t
31032 s,@GREP@,$GREP,;t t
31033 s,@MKDIR@,$MKDIR,;t t
31035 s,@RANLIB@,$RANLIB,;t t
31036 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
31040 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
31041 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
31042 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
31043 s,@BZIP2@,$BZIP2,;t t
31045 s,@DOXYGEN@,$DOXYGEN,;t t
31046 s,@ETAGS@,$ETAGS,;t t
31047 s,@GROFF@,$GROFF,;t t
31048 s,@GZIP@,$GZIP,;t t
31049 s,@POD2HTML@,$POD2HTML,;t t
31050 s,@POD2MAN@,$POD2MAN,;t t
31051 s,@RUNTEST@,$RUNTEST,;t t
31052 s,@TCLSH@,$TCLSH,;t t
31054 s,@EGREP@,$EGREP,;t t
31055 s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
31056 s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
31057 s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
31058 s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
31059 s,@LIBADD_DL@,$LIBADD_DL,;t t
31060 s,@ECHO@,$ECHO,;t t
31062 s,@ac_ct_AR@,$ac_ct_AR,;t t
31063 s,@STRIP@,$STRIP,;t t
31064 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
31065 s,@CXXCPP@,$CXXCPP,;t t
31067 s,@FFLAGS@,$FFLAGS,;t t
31068 s,@ac_ct_F77@,$ac_ct_F77,;t t
31069 s,@LIBTOOL@,$LIBTOOL,;t t
31070 s,@ETAGSFLAGS@,$ETAGSFLAGS,;t t
31071 s,@LLVMGCC@,$LLVMGCC,;t t
31072 s,@LLVMGXX@,$LLVMGXX,;t t
31073 s,@ALLOCA@,$ALLOCA,;t t
31074 s,@MMAP_FILE@,$MMAP_FILE,;t t
31075 s,@LLVMCC1@,$LLVMCC1,;t t
31076 s,@LLVMCC1PLUS@,$LLVMCC1PLUS,;t t
31077 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
31078 s,@SHLIBEXT@,$SHLIBEXT,;t t
31079 s,@LLVM_PREFIX@,$LLVM_PREFIX,;t t
31080 s,@LLVM_BINDIR@,$LLVM_BINDIR,;t t
31081 s,@LLVM_LIBDIR@,$LLVM_LIBDIR,;t t
31082 s,@LLVM_DATADIR@,$LLVM_DATADIR,;t t
31083 s,@LLVM_DOCSDIR@,$LLVM_DOCSDIR,;t t
31084 s,@LLVM_ETCDIR@,$LLVM_ETCDIR,;t t
31085 s,@LLVM_INCLUDEDIR@,$LLVM_INCLUDEDIR,;t t
31086 s,@LLVM_INFODIR@,$LLVM_INFODIR,;t t
31087 s,@LLVM_MANDIR@,$LLVM_MANDIR,;t t
31088 s,@LLVM_CONFIGTIME@,$LLVM_CONFIGTIME,;t t
31089 s,@LIBOBJS@,$LIBOBJS,;t t
31090 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
31095 cat >>$CONFIG_STATUS <<\_ACEOF
31096 # Split the substitutions into bite-sized pieces for seds with
31097 # small command number limits, like on Digital OSF/1 and HP-UX.
31098 ac_max_sed_lines
=48
31099 ac_sed_frag
=1 # Number of current file.
31100 ac_beg
=1 # First line for current file.
31101 ac_end
=$ac_max_sed_lines # Line after last line for current file.
31104 while $ac_more_lines; do
31105 if test $ac_beg -gt 1; then
31106 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31108 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31110 if test ! -s $tmp/subs.frag
; then
31111 ac_more_lines
=false
31113 # The purpose of the label and of the branching condition is to
31114 # speed up the sed processing (if there are no `@' at all, there
31115 # is no need to browse any of the substitutions).
31116 # These are the two extra sed commands mentioned above.
31118 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
31119 if test -z "$ac_sed_cmds"; then
31120 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
31122 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
31124 ac_sed_frag
=`expr $ac_sed_frag + 1`
31126 ac_end
=`expr $ac_end + $ac_max_sed_lines`
31129 if test -z "$ac_sed_cmds"; then
31132 fi # test -n "$CONFIG_FILES"
31135 cat >>$CONFIG_STATUS <<\_ACEOF
31136 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
31137 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31139 - |
*:- |
*:-:* ) # input from stdin
31141 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31142 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31143 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31144 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31145 * ) ac_file_in
=$ac_file.
in ;;
31148 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31149 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31150 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31151 X"$ac_file" : 'X\(//\)[^/]' \| \
31152 X"$ac_file" : 'X\(//\)$' \| \
31153 X"$ac_file" : 'X\(/\)' \| \
31154 . : '\(.\)' 2>/dev/null ||
31156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31157 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31158 /^X\(\/\/\)$/{ s//\1/; q; }
31159 /^X\(\/\).*/{ s//\1/; q; }
31161 { if $as_mkdir_p; then
31166 while test ! -d "$as_dir"; do
31167 as_dirs
="$as_dir $as_dirs"
31168 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31169 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31170 X"$as_dir" : 'X\(//\)[^/]' \| \
31171 X"$as_dir" : 'X\(//\)$' \| \
31172 X"$as_dir" : 'X\(/\)' \| \
31173 . : '\(.\)' 2>/dev/null ||
31175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31176 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31177 /^X\(\/\/\)$/{ s//\1/; q; }
31178 /^X\(\/\).*/{ s//\1/; q; }
31181 test ! -n "$as_dirs" || mkdir
$as_dirs
31182 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31183 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31184 { (exit 1); exit 1; }; }; }
31188 if test "$ac_dir" != .
; then
31189 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31190 # A "../" for each directory in $ac_dir_suffix.
31191 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31193 ac_dir_suffix
= ac_top_builddir
=
31197 .
) # No --srcdir option. We are building in place.
31199 if test -z "$ac_top_builddir"; then
31202 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31204 [\\/]* | ?
:[\\/]* ) # Absolute path.
31205 ac_srcdir
=$srcdir$ac_dir_suffix;
31206 ac_top_srcdir
=$srcdir ;;
31207 *) # Relative path.
31208 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31209 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31212 # Do not use `cd foo && pwd` to compute absolute paths, because
31213 # the directories may not exist.
31215 .
) ac_abs_builddir
="$ac_dir";;
31218 .
) ac_abs_builddir
=`pwd`;;
31219 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31220 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31223 case $ac_abs_builddir in
31224 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31226 case ${ac_top_builddir}.
in
31227 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31228 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31229 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31232 case $ac_abs_builddir in
31233 .
) ac_abs_srcdir
=$ac_srcdir;;
31236 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31237 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31238 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31241 case $ac_abs_builddir in
31242 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31244 case $ac_top_srcdir in
31245 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31246 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31247 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31253 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
31254 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
31257 if test x
"$ac_file" != x-
; then
31258 { echo "$as_me:$LINENO: creating $ac_file" >&5
31259 echo "$as_me: creating $ac_file" >&6;}
31262 # Let's still pretend it is `configure' which instantiates (i.e., don't
31263 # use $as_me), people would be surprised to read:
31264 # /* config.h. Generated by config.status. */
31265 if test x
"$ac_file" = x-
; then
31268 configure_input
="$ac_file. "
31270 configure_input
=$configure_input"Generated from `echo $ac_file_in |
31271 sed 's,.*/,,'` by configure."
31273 # First look for the input files in the build tree, otherwise in the
31275 ac_file_inputs
=`IFS=:
31276 for f in $ac_file_in; do
31278 -) echo $tmp/stdin ;;
31280 # Absolute (can't be DOS-style, as IFS=:)
31281 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31282 echo "$as_me: error: cannot find input file: $f" >&2;}
31283 { (exit 1); exit 1; }; }
31286 if test -f "$f"; then
31289 elif test -f "$srcdir/$f"; then
31294 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31295 echo "$as_me: error: cannot find input file: $f" >&2;}
31296 { (exit 1); exit 1; }; }
31299 done` ||
{ (exit 1); exit 1; }
31301 cat >>$CONFIG_STATUS <<_ACEOF
31305 cat >>$CONFIG_STATUS <<\_ACEOF
31307 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
31308 s
,@configure_input@
,$configure_input,;t t
31309 s
,@srcdir@
,$ac_srcdir,;t t
31310 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
31311 s
,@top_srcdir@
,$ac_top_srcdir,;t t
31312 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
31313 s
,@builddir@
,$ac_builddir,;t t
31314 s
,@abs_builddir@
,$ac_abs_builddir,;t t
31315 s
,@top_builddir@
,$ac_top_builddir,;t t
31316 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
31317 s
,@INSTALL@
,$ac_INSTALL,;t t
31318 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31320 if test x"$ac_file" != x-; then
31321 mv $tmp/out $ac_file
31329 cat >>$CONFIG_STATUS <<\_ACEOF
31332 # CONFIG_HEADER section.
31335 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
31336 # NAME is the cpp macro being defined and VALUE is the value it is being given.
31338 # ac_d sets the value in "#define NAME VALUE" lines.
31339 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
31340 ac_dB
='[ ].*$,\1#\2'
31343 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
31344 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
31345 ac_uB
='$,\1#\2define\3'
31349 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
31350 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31352 - |
*:- |
*:-:* ) # input from stdin
31354 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31355 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31356 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31357 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31358 * ) ac_file_in
=$ac_file.
in ;;
31361 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
31362 echo "$as_me: creating $ac_file" >&6;}
31364 # First look for the input files in the build tree, otherwise in the
31366 ac_file_inputs
=`IFS=:
31367 for f in $ac_file_in; do
31369 -) echo $tmp/stdin ;;
31371 # Absolute (can't be DOS-style, as IFS=:)
31372 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31373 echo "$as_me: error: cannot find input file: $f" >&2;}
31374 { (exit 1); exit 1; }; }
31375 # Do quote $f, to prevent DOS paths from being IFS'd.
31378 if test -f "$f"; then
31381 elif test -f "$srcdir/$f"; then
31386 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31387 echo "$as_me: error: cannot find input file: $f" >&2;}
31388 { (exit 1); exit 1; }; }
31391 done` ||
{ (exit 1); exit 1; }
31392 # Remove the trailing spaces.
31393 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
31397 # Transform confdefs.h into two sed scripts, `conftest.defines' and
31398 # `conftest.undefs', that substitutes the proper values into
31399 # config.h.in to produce config.h. The first handles `#define'
31400 # templates, and the second `#undef' templates.
31401 # And first: Protect against being on the right side of a sed subst in
31402 # config.status. Protect against being in an unquoted here document
31403 # in config.status.
31404 rm -f conftest.defines conftest.undefs
31405 # Using a here document instead of a string reduces the quoting nightmare.
31406 # Putting comments in sed scripts is not portable.
31408 # `end' is used to avoid that the second main sed command (meant for
31409 # 0-ary CPP macros) applies to n-ary macro definitions.
31410 # See the Autoconf documentation for `clear'.
31411 cat >confdef2sed.
sed <<\_ACEOF
31416 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31418 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31421 # If some macros were called several times there might be several times
31422 # the same #defines, which is useless. Nevertheless, we may not want to
31423 # sort them, since we want the *last* AC-DEFINE to be honored.
31424 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31425 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31426 rm -f confdef2sed.sed
31428 # This sed command replaces #undef with comments. This is necessary, for
31429 # example, in the case of _POSIX_SOURCE, which is predefined and required
31430 # on some systems where configure will not decide to define it.
31431 cat >>conftest.undefs <<\_ACEOF
31432 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31435 # Break up conftest.defines because some shells have a limit on the size
31436 # of here documents, and old seds have small limits too (100 cmds).
31437 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31438 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31439 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31440 echo ' :' >>$CONFIG_STATUS
31441 rm -f conftest.tail
31442 while grep . conftest.defines >/dev/null
31444 # Write a limited-size here document to $tmp/defines.sed.
31445 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31446 # Speed up: don't consider the non `#define' lines.
31447 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31448 # Work around the forget-to-reset-the-flag bug.
31449 echo 't clr' >>$CONFIG_STATUS
31450 echo ': clr' >>$CONFIG_STATUS
31451 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
31453 sed -f $tmp/defines.sed $tmp/in >$tmp/out
31455 mv $tmp/out $tmp/in
31457 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
31458 rm -f conftest.defines
31459 mv conftest.
tail conftest.defines
31461 rm -f conftest.defines
31462 echo ' fi # grep' >>$CONFIG_STATUS
31463 echo >>$CONFIG_STATUS
31465 # Break up conftest.undefs because some shells have a limit on the size
31466 # of here documents, and old seds have small limits too (100 cmds).
31467 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31468 rm -f conftest.
tail
31469 while grep . conftest.undefs
>/dev
/null
31471 # Write a limited-size here document to $tmp/undefs.sed.
31472 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31473 # Speed up: don't consider the non
`#undef'
31474 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31475 # Work around the forget-to-reset-the-flag bug.
31476 echo 't clr' >>$CONFIG_STATUS
31477 echo ': clr' >>$CONFIG_STATUS
31478 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31480 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31482 mv $tmp/out $tmp/in
31484 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31485 rm -f conftest.undefs
31486 mv conftest.tail conftest.undefs
31488 rm -f conftest.undefs
31490 cat >>$CONFIG_STATUS <<\_ACEOF
31491 # Let's still pretend it is `configure
' which instantiates (i.e., don't
31492 # use $as_me), people would be surprised to read:
31493 # /* config.h. Generated by config.status. */
31494 if test x
"$ac_file" = x-
; then
31495 echo "/* Generated by configure. */" >$tmp/config.h
31497 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31499 cat $tmp/in >>$tmp/config.h
31501 if test x
"$ac_file" != x-
; then
31502 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
31503 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31504 echo "$as_me: $ac_file is unchanged" >&6;}
31506 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31507 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31508 X"$ac_file" : 'X\(//\)[^/]' \| \
31509 X"$ac_file" : 'X\(//\)$' \| \
31510 X"$ac_file" : 'X\(/\)' \| \
31511 . : '\(.\)' 2>/dev/null ||
31513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31515 /^X\(\/\/\)$/{ s//\1/; q; }
31516 /^X\(\/\).*/{ s//\1/; q; }
31518 { if $as_mkdir_p; then
31523 while test ! -d "$as_dir"; do
31524 as_dirs
="$as_dir $as_dirs"
31525 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31527 X"$as_dir" : 'X\(//\)[^/]' \| \
31528 X"$as_dir" : 'X\(//\)$' \| \
31529 X"$as_dir" : 'X\(/\)' \| \
31530 . : '\(.\)' 2>/dev/null ||
31532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31533 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31534 /^X\(\/\/\)$/{ s//\1/; q; }
31535 /^X\(\/\).*/{ s//\1/; q; }
31538 test ! -n "$as_dirs" || mkdir
$as_dirs
31539 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31540 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31541 { (exit 1); exit 1; }; }; }
31544 mv $tmp/config.h
$ac_file
31548 rm -f $tmp/config.h
31552 cat >>$CONFIG_STATUS <<\_ACEOF
31555 # CONFIG_COMMANDS section.
31557 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
31558 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
31559 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31560 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
31561 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31562 X"$ac_dest" : 'X\(//\)[^/]' \| \
31563 X"$ac_dest" : 'X\(//\)$' \| \
31564 X"$ac_dest" : 'X\(/\)' \| \
31565 . : '\(.\)' 2>/dev/null ||
31567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31568 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31569 /^X\(\/\/\)$/{ s//\1/; q; }
31570 /^X\(\/\).*/{ s//\1/; q; }
31572 { if $as_mkdir_p; then
31577 while test ! -d "$as_dir"; do
31578 as_dirs
="$as_dir $as_dirs"
31579 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31580 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31581 X"$as_dir" : 'X\(//\)[^/]' \| \
31582 X"$as_dir" : 'X\(//\)$' \| \
31583 X"$as_dir" : 'X\(/\)' \| \
31584 . : '\(.\)' 2>/dev/null ||
31586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31588 /^X\(\/\/\)$/{ s//\1/; q; }
31589 /^X\(\/\).*/{ s//\1/; q; }
31592 test ! -n "$as_dirs" || mkdir
$as_dirs
31593 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31594 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31595 { (exit 1); exit 1; }; }; }
31599 if test "$ac_dir" != .
; then
31600 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31601 # A "../" for each directory in $ac_dir_suffix.
31602 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31604 ac_dir_suffix
= ac_top_builddir
=
31608 .
) # No --srcdir option. We are building in place.
31610 if test -z "$ac_top_builddir"; then
31613 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31615 [\\/]* | ?
:[\\/]* ) # Absolute path.
31616 ac_srcdir
=$srcdir$ac_dir_suffix;
31617 ac_top_srcdir
=$srcdir ;;
31618 *) # Relative path.
31619 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31620 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31623 # Do not use `cd foo && pwd` to compute absolute paths, because
31624 # the directories may not exist.
31626 .
) ac_abs_builddir
="$ac_dir";;
31629 .
) ac_abs_builddir
=`pwd`;;
31630 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31631 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31634 case $ac_abs_builddir in
31635 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31637 case ${ac_top_builddir}.
in
31638 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31639 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31640 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31643 case $ac_abs_builddir in
31644 .
) ac_abs_srcdir
=$ac_srcdir;;
31647 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31648 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31649 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31652 case $ac_abs_builddir in
31653 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31655 case $ac_top_srcdir in
31656 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31657 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31658 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31663 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31664 echo "$as_me: executing $ac_dest commands" >&6;}
31666 Makefile
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
31667 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
31668 Makefile.common
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
31669 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
31670 examples
/Makefile
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
31671 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
31672 lib
/Makefile
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
31673 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
31674 runtime
/Makefile
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
31675 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
31676 test
/Makefile
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
31677 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
31678 test
/Makefile.tests
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
31679 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
31680 tools
/Makefile
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
31681 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
31682 utils
/Makefile
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
31683 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
31684 projects
/Makefile
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
31685 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
31690 cat >>$CONFIG_STATUS <<\_ACEOF
31692 { (exit 0); exit 0; }
31694 chmod +x
$CONFIG_STATUS
31695 ac_clean_files
=$ac_clean_files_save
31698 # configure is writing to config.log, and then calls config.status.
31699 # config.status does its own redirection, appending to config.log.
31700 # Unfortunately, on DOS this fails, as config.log is still kept open
31701 # by configure, so config.status won't be able to write to it; its
31702 # output is simply discarded. So we exec the FD to /dev/null,
31703 # effectively closing config.log, so it can be properly (re)opened and
31704 # appended to by config.status. When coming back to configure, we
31705 # need to make the FD available again.
31706 if test "$no_create" != yes; then
31708 ac_config_status_args
=
31709 test "$silent" = yes &&
31710 ac_config_status_args
="$ac_config_status_args --quiet"
31712 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31714 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31715 # would make configure fail if this is the last instruction.
31716 $ac_cs_success ||
{ (exit 1); exit 1; }
31720 # CONFIG_SUBDIRS section.
31722 if test "$no_recursion" != yes; then
31724 # Remove --cache-file and --srcdir arguments so they do not pile up.
31725 ac_sub_configure_args
=
31727 for ac_arg
in $ac_configure_args; do
31728 if test -n "$ac_prev"; then
31733 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31734 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31735 ac_prev
=cache_file
;;
31736 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31737 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31740 --config-cache |
-C)
31742 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31744 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31746 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31748 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31750 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
31754 # Always prepend --prefix to ensure using the same prefix
31755 # in subdir configurations.
31756 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
31759 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31761 # Do not complain, so a configure script can configure whichever
31762 # parts of a large source tree are present.
31763 test -d $srcdir/$ac_dir ||
continue
31765 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31766 echo "$as_me: configuring in $ac_dir" >&6;}
31767 { if $as_mkdir_p; then
31772 while test ! -d "$as_dir"; do
31773 as_dirs
="$as_dir $as_dirs"
31774 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31776 X"$as_dir" : 'X\(//\)[^/]' \| \
31777 X"$as_dir" : 'X\(//\)$' \| \
31778 X"$as_dir" : 'X\(/\)' \| \
31779 . : '\(.\)' 2>/dev/null ||
31781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31783 /^X\(\/\/\)$/{ s//\1/; q; }
31784 /^X\(\/\).*/{ s//\1/; q; }
31787 test ! -n "$as_dirs" || mkdir
$as_dirs
31788 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31789 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31790 { (exit 1); exit 1; }; }; }
31794 if test "$ac_dir" != .
; then
31795 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31796 # A "../" for each directory in $ac_dir_suffix.
31797 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31799 ac_dir_suffix
= ac_top_builddir
=
31803 .
) # No --srcdir option. We are building in place.
31805 if test -z "$ac_top_builddir"; then
31808 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31810 [\\/]* | ?
:[\\/]* ) # Absolute path.
31811 ac_srcdir
=$srcdir$ac_dir_suffix;
31812 ac_top_srcdir
=$srcdir ;;
31813 *) # Relative path.
31814 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31815 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31818 # Do not use `cd foo && pwd` to compute absolute paths, because
31819 # the directories may not exist.
31821 .
) ac_abs_builddir
="$ac_dir";;
31824 .
) ac_abs_builddir
=`pwd`;;
31825 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31826 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31829 case $ac_abs_builddir in
31830 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31832 case ${ac_top_builddir}.
in
31833 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31834 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31835 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31838 case $ac_abs_builddir in
31839 .
) ac_abs_srcdir
=$ac_srcdir;;
31842 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31843 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31844 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31847 case $ac_abs_builddir in
31848 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31850 case $ac_top_srcdir in
31851 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31852 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31853 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31860 # Check for guested configure; otherwise get Cygnus style configure.
31861 if test -f $ac_srcdir/configure.gnu
; then
31862 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
31863 elif test -f $ac_srcdir/configure
; then
31864 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
31865 elif test -f $ac_srcdir/configure.
in; then
31866 ac_sub_configure
=$ac_configure
31868 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31869 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31873 # The recursion is here.
31874 if test -n "$ac_sub_configure"; then
31875 # Make the cache file name correct relative to the subdirectory.
31876 case $cache_file in
31877 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31878 *) # Relative path.
31879 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31882 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31883 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31884 # The eval makes quoting arguments work.
31885 eval $ac_sub_configure $ac_sub_configure_args \
31886 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
31887 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31888 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31889 { (exit 1); exit 1; }; }
31897 if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
31898 { echo "$as_me:$LINENO: WARNING: ***** llvm-gcc/llvm-g++ was not found, or does not appear to be " >&5
31899 echo "$as_me: WARNING: ***** llvm-gcc/llvm-g++ was not found, or does not appear to be " >&2;}
31900 { echo "$as_me:$LINENO: WARNING: ***** working. Please make sure you have llvmgcc and llvmg++ in" >&5
31901 echo "$as_me: WARNING: ***** working. Please make sure you have llvmgcc and llvmg++ in" >&2;}
31902 { echo "$as_me:$LINENO: WARNING: ***** your path before configuring LLVM. The runtime libraries" >&5
31903 echo "$as_me: WARNING: ***** your path before configuring LLVM. The runtime libraries" >&2;}
31904 { echo "$as_me:$LINENO: WARNING: ***** (llvm/runtime) will not be built but you should be able to" >&5
31905 echo "$as_me: WARNING: ***** (llvm/runtime) will not be built but you should be able to" >&2;}
31906 { echo "$as_me:$LINENO: WARNING: ***** build the llvm tools." >&5
31907 echo "$as_me: WARNING: ***** build the llvm tools." >&2;}