2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 ac_subdirs_all="$ac_subdirs_all projects/sample"
430 ac_subdirs_all="$ac_subdirs_all projects/reopt"
431 ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
432 # Factoring default headers for most tests.
433 ac_includes_default="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
469 ac_unique_file=""Makefile.config.in""
470 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 subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED SPEC_ROOT USE_SPEC UPB DISABLE_LLC_DIFFS JIT BCR PAPIDIR PURIFY LTLIBOBJS'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CC_set=${CC+set}
929 ac_cv_env_CC_set=${CC+set}
930 ac_cv_env_CC_value=$CC
931 ac_env_CFLAGS_set=${CFLAGS+set}
932 ac_env_CFLAGS_value=$CFLAGS
933 ac_cv_env_CFLAGS_set=${CFLAGS+set}
934 ac_cv_env_CFLAGS_value=$CFLAGS
935 ac_env_CPP_set=${CPP+set}
936 ac_env_CPP_value=$CPP
937 ac_cv_env_CPP_set=${CPP+set}
938 ac_cv_env_CPP_value=$CPP
939 ac_env_CXXCPP_set=${CXXCPP+set}
940 ac_env_CXXCPP_value=$CXXCPP
941 ac_cv_env_CXXCPP_set=${CXXCPP+set}
942 ac_cv_env_CXXCPP_value=$CXXCPP
943 ac_env_F77_set=${F77+set}
944 ac_env_F77_value=$F77
945 ac_cv_env_F77_set=${F77+set}
946 ac_cv_env_F77_value=$F77
947 ac_env_FFLAGS_set=${FFLAGS+set}
948 ac_env_FFLAGS_value=$FFLAGS
949 ac_cv_env_FFLAGS_set=${FFLAGS+set}
950 ac_cv_env_FFLAGS_value=$FFLAGS
953 # Report the --help message.
955 if test "$ac_init_help" = "long"; then
956 # Omit some internal or obsolete options to make the list less imposing.
957 # This message is too long to be a string in the A/UX 3.1 sh.
959 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
961 Usage: $0 [OPTION]... [VAR=VALUE]...
963 To assign environment variables (e.g., CC, CFLAGS...), specify them as
964 VAR=VALUE. See below for descriptions of some of the useful variables.
966 Defaults for the options are specified in brackets.
969 -h, --help display this help and exit
970 --help=short display options specific to this package
971 --help=recursive display the short help of all the included packages
972 -V, --version display version information and exit
973 -q, --quiet, --silent do not print \`checking...' messages
974 --cache-file=FILE cache test results in FILE [disabled]
975 -C, --config-cache alias for \`--cache-file=config.cache'
976 -n, --no-create do not create output files
977 --srcdir=DIR find the sources in DIR [configure dir or \`..']
982 Installation directories:
983 --prefix=PREFIX install architecture-independent files in PREFIX
985 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
988 By default, \`make install' will install all the files in
989 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
990 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
991 for instance \`--prefix=\$HOME'.
993 For better control, use the options below.
995 Fine tuning of the installation directories:
996 --bindir=DIR user executables [EPREFIX/bin]
997 --sbindir=DIR system admin executables [EPREFIX/sbin]
998 --libexecdir=DIR program executables [EPREFIX/libexec]
999 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1000 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1001 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1002 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1003 --libdir=DIR object code libraries [EPREFIX/lib]
1004 --includedir=DIR C header files [PREFIX/include]
1005 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1006 --infodir=DIR info documentation [PREFIX/info]
1007 --mandir=DIR man documentation [PREFIX/man]
1013 --build=BUILD configure for building on BUILD [guessed]
1014 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1015 --target=TARGET configure for building compilers for TARGET [HOST]
1019 if test -n "$ac_init_help"; then
1020 case $ac_init_help in
1021 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1026 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1027 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1028 --enable-shared[=PKGS]
1029 build shared libraries [default=yes]
1030 --enable-static[=PKGS]
1031 build static libraries [default=yes]
1032 --enable-fast-install[=PKGS]
1033 optimize for fast installation [default=yes]
1034 --disable-libtool-lock avoid locking (might break parallel builds)
1035 --enable-purify Compile with purify (default is NO)
1036 --enable-optimized Compile with optimizations enabled (default is NO)
1037 --enable-spec Compile SPEC 2000 benchmarks (default is NO)
1038 --enable-precompiled_bytecode
1039 Use pre-compiled bytecode (default is NO)
1040 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1041 --enable-jit Enable Just In Time Compiling (default is YES)
1044 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1045 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1046 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1047 --with-pic try to use only PIC/non-PIC objects [default=use
1050 include additional configurations [automatic]
1051 --with-llvmgccdir Location of LLVM GCC front-end
1052 --with-bcrepos Location of Bytecode Repository
1053 --with-papi Location of PAPI
1054 --with-purify Location of purify program
1056 Some influential environment variables:
1057 CXX C++ compiler command
1058 CXXFLAGS C++ compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CC C compiler command
1064 CFLAGS C compiler flags
1066 CXXCPP C++ preprocessor
1067 F77 Fortran 77 compiler command
1068 FFLAGS Fortran 77 compiler flags
1070 Use these variables to override the choices made by `configure' or to help
1071 it to find libraries and programs with nonstandard names/locations.
1073 Report bugs to <llvmbugs@cs.uiuc.edu>.
1077 if test "$ac_init_help" = "recursive"; then
1078 # If there are subdirs, report their specific --help.
1080 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1081 test -d $ac_dir || continue
1084 if test "$ac_dir" != .; then
1085 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1086 # A "../" for each directory in $ac_dir_suffix.
1087 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1089 ac_dir_suffix= ac_top_builddir=
1093 .) # No --srcdir option. We are building in place.
1095 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1100 [\\/]* | ?:[\\/]* ) # Absolute path.
1101 ac_srcdir=$srcdir$ac_dir_suffix;
1102 ac_top_srcdir=$srcdir ;;
1104 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1105 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1107 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1109 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1110 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1111 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1112 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1125 $ac_configure --help
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1136 [LLVM] configure [1.0]
1137 generated by GNU Autoconf 2.57
1139 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1140 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by [LLVM] $as_me [1.0], which was
1152 generated by GNU Autoconf 2.57. Invocation command line was
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next=false
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next=true ;;
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h; then
1321 sed "/^$/d" confdefs.h | sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core core.* *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1426 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1427 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1428 echo "$as_me: former value: $ac_old_val" >&2;}
1429 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1430 echo "$as_me: current value: $ac_new_val" >&2;}
1431 ac_cache_corrupted=:
1434 # Pass precious variables to config.status.
1435 if test "$ac_new_set" = set; then
1437 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1438 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 *) ac_arg=$ac_var=$ac_new_val ;;
1441 case " $ac_configure_args " in
1442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1443 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 if $ac_cache_corrupted; then
1448 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1449 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1450 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1451 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1452 { (exit 1); exit 1; }; }
1456 ac_cpp='$CPP $CPPFLAGS'
1457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1489 for ac_dir in autoconf $srcdir/autoconf; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh; then
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool; then
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 if test ${srcdir} != "."
1516 if test -f ${srcdir}/include/Config/config.h
1518 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1519 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1520 { (exit 1); exit 1; }; }
1524 if test -d ${srcdir}/projects/sample
1528 subdirs="$subdirs projects/sample"
1532 if test -d ${srcdir}/projects/reopt
1536 subdirs="$subdirs projects/reopt"
1540 if test -d ${srcdir}/projects/poolalloc
1544 subdirs="$subdirs projects/poolalloc"
1548 ac_config_headers="$ac_config_headers include/Config/config.h"
1550 ac_config_commands="$ac_config_commands Makefile"
1553 ac_config_commands="$ac_config_commands Makefile.common"
1556 ac_config_commands="$ac_config_commands Makefile.rules"
1559 ac_config_commands="$ac_config_commands lib/Makefile"
1562 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1565 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1568 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1571 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1574 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1577 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1580 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1583 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1586 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1589 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1592 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1595 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1598 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1601 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1604 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1607 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1610 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1613 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1616 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1619 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1622 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1625 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1628 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1631 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1634 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1637 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1640 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1643 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1646 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1649 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1664 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1667 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1670 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1673 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1676 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1679 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1682 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1685 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1688 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1691 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1694 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1697 ac_config_commands="$ac_config_commands runtime/libprofile/Makefile"
1700 ac_config_commands="$ac_config_commands test/Makefile"
1703 ac_config_commands="$ac_config_commands test/Makefile.tests"
1706 ac_config_commands="$ac_config_commands test/QMTest/llvm.py"
1709 ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py"
1712 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1715 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1718 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1724 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1727 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1730 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1745 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1751 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1757 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/177.mesa/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/252.eon/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in"
1895 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1943 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1946 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1949 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1952 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1955 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1958 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1961 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1964 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1967 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1970 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1973 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1976 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1979 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1982 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1985 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1988 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1991 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1994 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1997 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
2000 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
2003 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
2006 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
2009 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
2012 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
2015 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
2018 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
2021 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
2024 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
2027 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
2030 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
2033 ac_config_commands="$ac_config_commands tools/Makefile"
2036 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
2039 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
2042 ac_config_commands="$ac_config_commands tools/extract/Makefile"
2045 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
2048 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
2051 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2054 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2057 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2060 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2063 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2066 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2069 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2072 ac_config_commands="$ac_config_commands tools/llvm-nm/Makefile"
2075 ac_config_commands="$ac_config_commands tools/llvm-prof/Makefile"
2078 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2081 ac_config_commands="$ac_config_commands utils/Makefile"
2084 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2087 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2090 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2093 ac_config_commands="$ac_config_commands projects/Makefile"
2096 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2099 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2102 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2105 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2110 # Find a good install program. We prefer a C program (faster),
2111 # so one script is as good as another. But avoid the broken or
2112 # incompatible versions:
2113 # SysV /etc/install, /usr/sbin/install
2114 # SunOS /usr/etc/install
2115 # IRIX /sbin/install
2117 # AmigaOS /C/install, which installs bootblocks on floppy discs
2118 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2119 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2120 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2121 # ./install, which can be erroneously created by make from ./install.sh.
2122 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2123 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2124 if test -z "$INSTALL"; then
2125 if test "${ac_cv_path_install+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir=.
2133 # Account for people who put trailing slashes in PATH elements.
2135 ./ | .// | /cC/* | \
2136 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2139 # OSF1 and SCO ODT 3.0 have their own names for install.
2140 # Don't use installbsd from OSF since it installs stuff as root
2142 for ac_prog in ginstall scoinst install; do
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2145 if test $ac_prog = install &&
2146 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2147 # AIX install. It has an incompatible calling convention.
2149 elif test $ac_prog = install &&
2150 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2151 # program-specific install script used by HP pwplus--don't use.
2154 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2166 if test "${ac_cv_path_install+set}" = set; then
2167 INSTALL=$ac_cv_path_install
2169 # As a last resort, use the slow shell script. We don't cache a
2170 # path for INSTALL within a source directory, because that will
2171 # break other packages using the cache if that directory is
2172 # removed, or if the path is relative.
2173 INSTALL=$ac_install_sh
2176 echo "$as_me:$LINENO: result: $INSTALL" >&5
2177 echo "${ECHO_T}$INSTALL" >&6
2179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2180 # It thinks the first close brace ends the variable substitution.
2181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2188 # Make sure we can run config.sub.
2189 $ac_config_sub sun4 >/dev/null 2>&1 ||
2190 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2191 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2192 { (exit 1); exit 1; }; }
2194 echo "$as_me:$LINENO: checking build system type" >&5
2195 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2196 if test "${ac_cv_build+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 ac_cv_build_alias=$build_alias
2200 test -z "$ac_cv_build_alias" &&
2201 ac_cv_build_alias=`$ac_config_guess`
2202 test -z "$ac_cv_build_alias" &&
2203 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2204 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2205 { (exit 1); exit 1; }; }
2206 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2207 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2208 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2209 { (exit 1); exit 1; }; }
2212 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2213 echo "${ECHO_T}$ac_cv_build" >&6
2215 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2216 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2217 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2220 echo "$as_me:$LINENO: checking host system type" >&5
2221 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2222 if test "${ac_cv_host+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 ac_cv_host_alias=$host_alias
2226 test -z "$ac_cv_host_alias" &&
2227 ac_cv_host_alias=$ac_cv_build_alias
2228 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2229 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2230 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2231 { (exit 1); exit 1; }; }
2234 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2235 echo "${ECHO_T}$ac_cv_host" >&6
2237 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2238 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2239 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2242 echo "$as_me:$LINENO: checking target system type" >&5
2243 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2244 if test "${ac_cv_target+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 ac_cv_target_alias=$target_alias
2248 test "x$ac_cv_target_alias" = "x" &&
2249 ac_cv_target_alias=$ac_cv_host_alias
2250 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2251 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2252 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2253 { (exit 1); exit 1; }; }
2256 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2257 echo "${ECHO_T}$ac_cv_target" >&6
2258 target=$ac_cv_target
2259 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2260 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2261 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2264 # The aliases save the names the user supplied, while $host etc.
2265 # will get canonicalized.
2266 test -n "$target_alias" &&
2267 test "$program_prefix$program_suffix$program_transform_name" = \
2269 program_prefix=${target_alias}-
2274 if test -d /home/vadve/lattner/local/x86/llvm-gcc
2276 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2283 if test -d /home/vadve/lattner/local/sparc/llvm-gcc
2285 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2296 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2305 *sparc*solaris*) ARCH=Sparc
2312 ac_cpp='$CXXCPP $CPPFLAGS'
2313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2316 if test -n "$ac_tool_prefix"; then
2317 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2320 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2321 echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2323 if test "${ac_cv_prog_CXX+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 if test -n "$CXX"; then
2327 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir=.
2334 for ac_exec_ext in '' $ac_executable_extensions; do
2335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test -n "$CXX"; then
2347 echo "$as_me:$LINENO: result: $CXX" >&5
2348 echo "${ECHO_T}$CXX" >&6
2350 echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2354 test -n "$CXX" && break
2357 if test -z "$CXX"; then
2359 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2361 # Extract the first word of "$ac_prog", so it can be a program name with args.
2362 set dummy $ac_prog; ac_word=$2
2363 echo "$as_me:$LINENO: checking for $ac_word" >&5
2364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2365 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 if test -n "$ac_ct_CXX"; then
2369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir=.
2376 for ac_exec_ext in '' $ac_executable_extensions; do
2377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2378 ac_cv_prog_ac_ct_CXX="$ac_prog"
2379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2388 if test -n "$ac_ct_CXX"; then
2389 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2390 echo "${ECHO_T}$ac_ct_CXX" >&6
2392 echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6
2396 test -n "$ac_ct_CXX" && break
2398 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2404 # Provide some information about the compiler.
2405 echo "$as_me:$LINENO:" \
2406 "checking for C++ compiler version" >&5
2407 ac_compiler=`set X $ac_compile; echo $2`
2408 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2409 (eval $ac_compiler --version </dev/null >&5) 2>&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }
2413 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2414 (eval $ac_compiler -v </dev/null >&5) 2>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }
2418 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2419 (eval $ac_compiler -V </dev/null >&5) 2>&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }
2424 cat >conftest.$ac_ext <<_ACEOF
2425 #line $LINENO "configure"
2428 cat confdefs.h >>conftest.$ac_ext
2429 cat >>conftest.$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2440 ac_clean_files_save=$ac_clean_files
2441 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2442 # Try to create an executable without -o first, disregard a.out.
2443 # It will help us diagnose broken compilers, and finding out an intuition
2445 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2446 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2447 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2448 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2449 (eval $ac_link_default) 2>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }; then
2453 # Find the output, starting from the most likely. This scheme is
2454 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2457 # Be careful to initialize this variable, since it used to be cached.
2458 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2460 # b.out is created by i960 compilers.
2461 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2463 test -f "$ac_file" || continue
2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2468 # This is the source file.
2471 # We found the default executable, but exeext='' is most
2475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2476 # FIXME: I believe we export ac_cv_exeext for Libtool,
2477 # but it would be cool to find out if it's true. Does anybody
2478 # maintain Libtool? --akim.
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2489 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2490 See \`config.log' for more details." >&5
2491 echo "$as_me: error: C++ compiler cannot create executables
2492 See \`config.log' for more details." >&2;}
2493 { (exit 77); exit 77; }; }
2496 ac_exeext=$ac_cv_exeext
2497 echo "$as_me:$LINENO: result: $ac_file" >&5
2498 echo "${ECHO_T}$ac_file" >&6
2500 # Check the compiler produces executables we can run. If not, either
2501 # the compiler is broken, or we cross compile.
2502 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2503 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2504 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2505 # If not cross compiling, check that we can run a simple program.
2506 if test "$cross_compiling" != yes; then
2507 if { ac_try='./$ac_file'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; }; then
2515 if test "$cross_compiling" = maybe; then
2518 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2519 If you meant to cross compile, use \`--host'.
2520 See \`config.log' for more details." >&5
2521 echo "$as_me: error: cannot run C++ compiled programs.
2522 If you meant to cross compile, use \`--host'.
2523 See \`config.log' for more details." >&2;}
2524 { (exit 1); exit 1; }; }
2528 echo "$as_me:$LINENO: result: yes" >&5
2529 echo "${ECHO_T}yes" >&6
2531 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2532 ac_clean_files=$ac_clean_files_save
2533 # Check the compiler produces executables we can run. If not, either
2534 # the compiler is broken, or we cross compile.
2535 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2536 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2537 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2538 echo "${ECHO_T}$cross_compiling" >&6
2540 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2541 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2543 (eval $ac_link) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2548 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2549 # work properly (i.e., refer to `conftest.exe'), while it won't with
2551 for ac_file in conftest.exe conftest conftest.*; do
2552 test -f "$ac_file" || continue
2554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2555 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2562 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&5
2564 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2565 See \`config.log' for more details." >&2;}
2566 { (exit 1); exit 1; }; }
2569 rm -f conftest$ac_cv_exeext
2570 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2571 echo "${ECHO_T}$ac_cv_exeext" >&6
2573 rm -f conftest.$ac_ext
2574 EXEEXT=$ac_cv_exeext
2576 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2577 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2578 if test "${ac_cv_objext+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 cat >conftest.$ac_ext <<_ACEOF
2582 #line $LINENO "configure"
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2597 rm -f conftest.o conftest.obj
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6
2625 OBJEXT=$ac_cv_objext
2627 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2629 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 cat >conftest.$ac_ext <<_ACEOF
2633 #line $LINENO "configure"
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2651 rm -f conftest.$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); } &&
2657 { ac_try='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2670 rm -f conftest.$ac_objext conftest.$ac_ext
2671 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2674 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2675 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2676 GXX=`test $ac_compiler_gnu = yes && echo yes`
2677 ac_test_CXXFLAGS=${CXXFLAGS+set}
2678 ac_save_CXXFLAGS=$CXXFLAGS
2680 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2681 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2682 if test "${ac_cv_prog_cxx_g+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 cat >conftest.$ac_ext <<_ACEOF
2686 #line $LINENO "configure"
2689 cat confdefs.h >>conftest.$ac_ext
2690 cat >>conftest.$ac_ext <<_ACEOF
2691 /* end confdefs.h. */
2701 rm -f conftest.$ac_objext
2702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703 (eval $ac_compile) 2>&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); } &&
2707 { ac_try='test -s conftest.$ac_objext'
2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; }; then
2713 ac_cv_prog_cxx_g=yes
2715 echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2720 rm -f conftest.$ac_objext conftest.$ac_ext
2722 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2723 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2724 if test "$ac_test_CXXFLAGS" = set; then
2725 CXXFLAGS=$ac_save_CXXFLAGS
2726 elif test $ac_cv_prog_cxx_g = yes; then
2727 if test "$GXX" = yes; then
2733 if test "$GXX" = yes; then
2739 for ac_declaration in \
2741 '#include <stdlib.h>' \
2742 'extern "C" void std::exit (int) throw (); using std::exit;' \
2743 'extern "C" void std::exit (int); using std::exit;' \
2744 'extern "C" void exit (int) throw ();' \
2745 'extern "C" void exit (int);' \
2748 cat >conftest.$ac_ext <<_ACEOF
2749 #line $LINENO "configure"
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2767 (eval $ac_compile) 2>&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); } &&
2771 { ac_try='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2784 rm -f conftest.$ac_objext conftest.$ac_ext
2785 cat >conftest.$ac_ext <<_ACEOF
2786 #line $LINENO "configure"
2789 cat confdefs.h >>conftest.$ac_ext
2790 cat >>conftest.$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2801 rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } &&
2807 { ac_try='test -s conftest.$ac_objext'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; }; then
2815 echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2819 rm -f conftest.$ac_objext conftest.$ac_ext
2822 if test -n "$ac_declaration"; then
2823 echo '#ifdef __cplusplus' >>confdefs.h
2824 echo $ac_declaration >>confdefs.h
2825 echo '#endif' >>confdefs.h
2829 ac_cpp='$CPP $CPPFLAGS'
2830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2835 ac_cpp='$CPP $CPPFLAGS'
2836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2839 if test -n "$ac_tool_prefix"; then
2842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2844 echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846 if test "${ac_cv_prog_CC+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 if test -n "$CC"; then
2850 ac_cv_prog_CC="$CC" # Let the user override the test.
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CC"; then
2870 echo "$as_me:$LINENO: result: $CC" >&5
2871 echo "${ECHO_T}$CC" >&6
2873 echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6
2877 test -n "$CC" && break
2880 if test -z "$CC"; then
2884 # Extract the first word of "$ac_prog", so it can be a program name with args.
2885 set dummy $ac_prog; ac_word=$2
2886 echo "$as_me:$LINENO: checking for $ac_word" >&5
2887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 if test -n "$ac_ct_CC"; then
2892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901 ac_cv_prog_ac_ct_CC="$ac_prog"
2902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2911 if test -n "$ac_ct_CC"; then
2912 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2913 echo "${ECHO_T}$ac_ct_CC" >&6
2915 echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6
2919 test -n "$ac_ct_CC" && break
2926 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2927 See \`config.log' for more details." >&5
2928 echo "$as_me: error: no acceptable C compiler found in \$PATH
2929 See \`config.log' for more details." >&2;}
2930 { (exit 1); exit 1; }; }
2932 # Provide some information about the compiler.
2933 echo "$as_me:$LINENO:" \
2934 "checking for C compiler version" >&5
2935 ac_compiler=`set X $ac_compile; echo $2`
2936 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2937 (eval $ac_compiler --version </dev/null >&5) 2>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }
2941 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2942 (eval $ac_compiler -v </dev/null >&5) 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }
2946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2947 (eval $ac_compiler -V </dev/null >&5) 2>&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }
2952 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2953 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2954 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 cat >conftest.$ac_ext <<_ACEOF
2958 #line $LINENO "configure"
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2976 rm -f conftest.$ac_objext
2977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2978 (eval $ac_compile) 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } &&
2982 { ac_try='test -s conftest.$ac_objext'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2995 rm -f conftest.$ac_objext conftest.$ac_ext
2996 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2999 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3000 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3001 GCC=`test $ac_compiler_gnu = yes && echo yes`
3002 ac_test_CFLAGS=${CFLAGS+set}
3003 ac_save_CFLAGS=$CFLAGS
3005 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3006 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3007 if test "${ac_cv_prog_cc_g+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 cat >conftest.$ac_ext <<_ACEOF
3011 #line $LINENO "configure"
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3026 rm -f conftest.$ac_objext
3027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3028 (eval $ac_compile) 2>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } &&
3032 { ac_try='test -s conftest.$ac_objext'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3045 rm -f conftest.$ac_objext conftest.$ac_ext
3047 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3048 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3049 if test "$ac_test_CFLAGS" = set; then
3050 CFLAGS=$ac_save_CFLAGS
3051 elif test $ac_cv_prog_cc_g = yes; then
3052 if test "$GCC" = yes; then
3058 if test "$GCC" = yes; then
3064 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3065 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3066 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 ac_cv_prog_cc_stdc=no
3071 cat >conftest.$ac_ext <<_ACEOF
3072 #line $LINENO "configure"
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3080 #include <sys/types.h>
3081 #include <sys/stat.h>
3082 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3083 struct buf { int x; };
3084 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3085 static char *e (p, i)
3091 static char *f (char * (*g) (char **, int), char **p, ...)
3096 s = g (p, va_arg (v,int));
3100 int test (int i, double x);
3101 struct s1 {int (*f) (int a);};
3102 struct s2 {int (*f) (double a);};
3103 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3109 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3114 # Don't try gcc -ansi; that turns off useful extensions and
3115 # breaks some systems' header files.
3116 # AIX -qlanglvl=ansi
3117 # Ultrix and OSF/1 -std1
3118 # HP-UX 10.20 and later -Ae
3119 # HP-UX older versions -Aa -D_HPUX_SOURCE
3120 # SVR4 -Xc -D__EXTENSIONS__
3121 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3123 CC="$ac_save_CC $ac_arg"
3124 rm -f conftest.$ac_objext
3125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3126 (eval $ac_compile) 2>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } &&
3130 { ac_try='test -s conftest.$ac_objext'
3131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }; }; then
3136 ac_cv_prog_cc_stdc=$ac_arg
3139 echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.$ac_ext >&5
3143 rm -f conftest.$ac_objext
3145 rm -f conftest.$ac_ext conftest.$ac_objext
3150 case "x$ac_cv_prog_cc_stdc" in
3152 echo "$as_me:$LINENO: result: none needed" >&5
3153 echo "${ECHO_T}none needed" >&6 ;;
3155 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3156 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3157 CC="$CC $ac_cv_prog_cc_stdc" ;;
3160 # Some people use a C++ compiler to compile C. Since we use `exit',
3161 # in C++ we need to declare it. In case someone uses the same compiler
3162 # for both compiling C and C++ we need to have the C++ compiler decide
3163 # the declaration of exit, since it's the most demanding environment.
3164 cat >conftest.$ac_ext <<_ACEOF
3169 rm -f conftest.$ac_objext
3170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3171 (eval $ac_compile) 2>&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); } &&
3175 { ac_try='test -s conftest.$ac_objext'
3176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); }; }; then
3181 for ac_declaration in \
3183 '#include <stdlib.h>' \
3184 'extern "C" void std::exit (int) throw (); using std::exit;' \
3185 'extern "C" void std::exit (int); using std::exit;' \
3186 'extern "C" void exit (int) throw ();' \
3187 'extern "C" void exit (int);' \
3190 cat >conftest.$ac_ext <<_ACEOF
3191 #line $LINENO "configure"
3194 cat confdefs.h >>conftest.$ac_ext
3195 cat >>conftest.$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3207 rm -f conftest.$ac_objext
3208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3209 (eval $ac_compile) 2>&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -s conftest.$ac_objext'
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; }; then
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3226 rm -f conftest.$ac_objext conftest.$ac_ext
3227 cat >conftest.$ac_ext <<_ACEOF
3228 #line $LINENO "configure"
3231 cat confdefs.h >>conftest.$ac_ext
3232 cat >>conftest.$ac_ext <<_ACEOF
3233 /* end confdefs.h. */
3243 rm -f conftest.$ac_objext
3244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245 (eval $ac_compile) 2>&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } &&
3249 { ac_try='test -s conftest.$ac_objext'
3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; }; then
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3261 rm -f conftest.$ac_objext conftest.$ac_ext
3264 if test -n "$ac_declaration"; then
3265 echo '#ifdef __cplusplus' >>confdefs.h
3266 echo $ac_declaration >>confdefs.h
3267 echo '#endif' >>confdefs.h
3271 echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.$ac_ext >&5
3275 rm -f conftest.$ac_objext conftest.$ac_ext
3277 ac_cpp='$CPP $CPPFLAGS'
3278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3283 ac_cpp='$CPP $CPPFLAGS'
3284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3287 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3288 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3289 # On Suns, sometimes $CPP names a directory.
3290 if test -n "$CPP" && test -d "$CPP"; then
3293 if test -z "$CPP"; then
3294 if test "${ac_cv_prog_CPP+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3297 # Double quotes because CPP needs to be expanded
3298 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3301 for ac_c_preproc_warn_flag in '' yes
3303 # Use a header file that comes with gcc, so configuring glibc
3304 # with a fresh cross-compiler works.
3305 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3306 # <limits.h> exists even on freestanding compilers.
3307 # On the NeXT, cc -E runs the code through the compiler's parser,
3308 # not just through cpp. "Syntax error" is here to catch this case.
3309 cat >conftest.$ac_ext <<_ACEOF
3310 #line $LINENO "configure"
3313 cat confdefs.h >>conftest.$ac_ext
3314 cat >>conftest.$ac_ext <<_ACEOF
3315 /* end confdefs.h. */
3317 # include <limits.h>
3319 # include <assert.h>
3323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } >/dev/null; then
3331 if test -s conftest.err; then
3332 ac_cpp_err=$ac_c_preproc_warn_flag
3339 if test -z "$ac_cpp_err"; then
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.$ac_ext >&5
3345 # Broken: fails on valid input.
3348 rm -f conftest.err conftest.$ac_ext
3350 # OK, works on sane cases. Now check whether non-existent headers
3351 # can be detected and how.
3352 cat >conftest.$ac_ext <<_ACEOF
3353 #line $LINENO "configure"
3356 cat confdefs.h >>conftest.$ac_ext
3357 cat >>conftest.$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3359 #include <ac_nonexistent.h>
3361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3364 grep -v '^ *+' conftest.er1 >conftest.err
3366 cat conftest.err >&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); } >/dev/null; then
3369 if test -s conftest.err; then
3370 ac_cpp_err=$ac_c_preproc_warn_flag
3377 if test -z "$ac_cpp_err"; then
3378 # Broken: success on invalid input.
3381 echo "$as_me: failed program was:" >&5
3382 sed 's/^/| /' conftest.$ac_ext >&5
3384 # Passes both tests.
3388 rm -f conftest.err conftest.$ac_ext
3391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3392 rm -f conftest.err conftest.$ac_ext
3393 if $ac_preproc_ok; then
3405 echo "$as_me:$LINENO: result: $CPP" >&5
3406 echo "${ECHO_T}$CPP" >&6
3408 for ac_c_preproc_warn_flag in '' yes
3410 # Use a header file that comes with gcc, so configuring glibc
3411 # with a fresh cross-compiler works.
3412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3413 # <limits.h> exists even on freestanding compilers.
3414 # On the NeXT, cc -E runs the code through the compiler's parser,
3415 # not just through cpp. "Syntax error" is here to catch this case.
3416 cat >conftest.$ac_ext <<_ACEOF
3417 #line $LINENO "configure"
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3424 # include <limits.h>
3426 # include <assert.h>
3430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3433 grep -v '^ *+' conftest.er1 >conftest.err
3435 cat conftest.err >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } >/dev/null; then
3438 if test -s conftest.err; then
3439 ac_cpp_err=$ac_c_preproc_warn_flag
3446 if test -z "$ac_cpp_err"; then
3449 echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3452 # Broken: fails on valid input.
3455 rm -f conftest.err conftest.$ac_ext
3457 # OK, works on sane cases. Now check whether non-existent headers
3458 # can be detected and how.
3459 cat >conftest.$ac_ext <<_ACEOF
3460 #line $LINENO "configure"
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3466 #include <ac_nonexistent.h>
3468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3471 grep -v '^ *+' conftest.er1 >conftest.err
3473 cat conftest.err >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } >/dev/null; then
3476 if test -s conftest.err; then
3477 ac_cpp_err=$ac_c_preproc_warn_flag
3484 if test -z "$ac_cpp_err"; then
3485 # Broken: success on invalid input.
3488 echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3491 # Passes both tests.
3495 rm -f conftest.err conftest.$ac_ext
3498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3499 rm -f conftest.err conftest.$ac_ext
3500 if $ac_preproc_ok; then
3503 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3504 See \`config.log' for more details." >&5
3505 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3506 See \`config.log' for more details." >&2;}
3507 { (exit 1); exit 1; }; }
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3517 if test "$GCC" != "yes"
3519 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3520 echo "$as_me: error: gcc required but not found" >&2;}
3521 { (exit 1); exit 1; }; }
3524 if test "$GXX" != "yes"
3526 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3527 echo "$as_me: error: g++ required but not found" >&2;}
3528 { (exit 1); exit 1; }; }
3531 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3532 if test "$gccmajor" -lt "3"
3534 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3535 echo "$as_me: error: gcc 3.x required" >&2;}
3536 { (exit 1); exit 1; }; }
3539 echo "$as_me:$LINENO: checking for GNU make" >&5
3540 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3541 if test "${_cv_gnu_make_command+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 _cv_gnu_make_command='' ;
3545 for a in "$MAKE" make gmake gnumake ; do
3546 if test -z "$a" ; then continue ; fi ;
3547 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3548 _cv_gnu_make_command=$a ;
3554 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3555 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3556 if test "x$_cv_gnu_make_command" != "x" ; then
3560 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3561 echo "${ECHO_T}\"Not found\"" >&6;
3565 if test -z "$_cv_gnu_make_command"
3567 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3568 echo "$as_me: error: GNU Make required but not found" >&2;}
3569 { (exit 1); exit 1; }; }
3573 echo "$as_me:$LINENO: checking " >&5
3574 echo $ECHO_N "checking ... $ECHO_C" >&6
3575 if test "${ac_cv_has_flex+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 for ac_prog in flex lex
3580 # Extract the first word of "$ac_prog", so it can be a program name with args.
3581 set dummy $ac_prog; ac_word=$2
3582 echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3584 if test "${ac_cv_prog_LEX+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 if test -n "$LEX"; then
3588 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_LEX="$ac_prog"
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 if test -n "$LEX"; then
3608 echo "$as_me:$LINENO: result: $LEX" >&5
3609 echo "${ECHO_T}$LEX" >&6
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3615 test -n "$LEX" && break
3617 test -n "$LEX" || LEX=":"
3619 if test -z "$LEXLIB"
3621 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3622 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3623 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 ac_check_lib_save_LIBS=$LIBS
3628 cat >conftest.$ac_ext <<_ACEOF
3629 #line $LINENO "configure"
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3636 /* Override any gcc2 internal prototype to avoid an error. */
3640 /* We use char because int might match the return type of a gcc2
3641 builtin and then its argument prototype would still apply. */
3651 rm -f conftest.$ac_objext conftest$ac_exeext
3652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3653 (eval $ac_link) 2>&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } &&
3657 { ac_try='test -s conftest$ac_exeext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_lib_fl_yywrap=yes
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3668 ac_cv_lib_fl_yywrap=no
3670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3671 LIBS=$ac_check_lib_save_LIBS
3673 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3674 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3675 if test $ac_cv_lib_fl_yywrap = yes; then
3678 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3679 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3680 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 ac_check_lib_save_LIBS=$LIBS
3685 cat >conftest.$ac_ext <<_ACEOF
3686 #line $LINENO "configure"
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3693 /* Override any gcc2 internal prototype to avoid an error. */
3697 /* We use char because int might match the return type of a gcc2
3698 builtin and then its argument prototype would still apply. */
3708 rm -f conftest.$ac_objext conftest$ac_exeext
3709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3710 (eval $ac_link) 2>&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } &&
3714 { ac_try='test -s conftest$ac_exeext'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3720 ac_cv_lib_l_yywrap=yes
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.$ac_ext >&5
3725 ac_cv_lib_l_yywrap=no
3727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3728 LIBS=$ac_check_lib_save_LIBS
3730 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3731 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3732 if test $ac_cv_lib_l_yywrap = yes; then
3740 if test "x$LEX" != "x:"; then
3741 echo "$as_me:$LINENO: checking lex output file root" >&5
3742 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3743 if test "${ac_cv_prog_lex_root+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 # The minimal lex program is just a single line: %%. But some broken lexes
3747 # (Solaris, I think it was) want two %% lines, so accommodate them.
3748 cat >conftest.l <<_ACEOF
3752 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3753 (eval $LEX conftest.l) 2>&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); }
3757 if test -f lex.yy.c; then
3758 ac_cv_prog_lex_root=lex.yy
3759 elif test -f lexyy.c; then
3760 ac_cv_prog_lex_root=lexyy
3762 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3763 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3764 { (exit 1); exit 1; }; }
3767 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3768 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3770 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3772 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3773 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3774 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 # POSIX says lex can declare yytext either as a pointer or an array; the
3778 # default is implementation-dependent. Figure out which it is, since
3779 # not all implementations provide the %pointer and %array declarations.
3780 ac_cv_prog_lex_yytext_pointer=no
3781 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3783 LIBS="$LIBS $LEXLIB"
3784 cat >conftest.$ac_ext <<_ACEOF
3785 `cat $LEX_OUTPUT_ROOT.c`
3787 rm -f conftest.$ac_objext conftest$ac_exeext
3788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3789 (eval $ac_link) 2>&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); } &&
3793 { ac_try='test -s conftest$ac_exeext'
3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); }; }; then
3799 ac_cv_prog_lex_yytext_pointer=yes
3801 echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3807 rm -f "${LEX_OUTPUT_ROOT}.c"
3810 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3811 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3812 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3814 cat >>confdefs.h <<\_ACEOF
3815 #define YYTEXT_POINTER 1
3823 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3824 echo "${ECHO_T}$ac_cv_has_flex" >&6
3825 if test "$LEX" != "flex"; then
3826 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3827 echo "$as_me: error: flex not found but required" >&2;}
3828 { (exit 1); exit 1; }; }
3831 echo "$as_me:$LINENO: checking " >&5
3832 echo $ECHO_N "checking ... $ECHO_C" >&6
3833 if test "${ac_cv_has_bison+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 for ac_prog in 'bison -y' byacc
3838 # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy $ac_prog; ac_word=$2
3840 echo "$as_me:$LINENO: checking for $ac_word" >&5
3841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3842 if test "${ac_cv_prog_YACC+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 if test -n "$YACC"; then
3846 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_YACC="$ac_prog"
3856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 YACC=$ac_cv_prog_YACC
3865 if test -n "$YACC"; then
3866 echo "$as_me:$LINENO: result: $YACC" >&5
3867 echo "${ECHO_T}$YACC" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3873 test -n "$YACC" && break
3875 test -n "$YACC" || YACC="yacc"
3879 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3880 echo "${ECHO_T}$ac_cv_has_bison" >&6
3881 if test "$YACC" != "bison -y"; then
3882 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3883 echo "$as_me: error: bison not found but required" >&2;}
3884 { (exit 1); exit 1; }; }
3891 # Check whether --enable-shared or --disable-shared was given.
3892 if test "${enable_shared+set}" = set; then
3893 enableval="$enable_shared"
3894 p=${PACKAGE-default}
3896 yes) enable_shared=yes ;;
3897 no) enable_shared=no ;;
3900 # Look at the argument we got. We use all the common list separators.
3901 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3902 for pkg in $enableval; do
3904 if test "X$pkg" = "X$p"; then
3915 # Check whether --enable-static or --disable-static was given.
3916 if test "${enable_static+set}" = set; then
3917 enableval="$enable_static"
3918 p=${PACKAGE-default}
3920 yes) enable_static=yes ;;
3921 no) enable_static=no ;;
3924 # Look at the argument we got. We use all the common list separators.
3925 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3926 for pkg in $enableval; do
3928 if test "X$pkg" = "X$p"; then
3939 # Check whether --enable-fast-install or --disable-fast-install was given.
3940 if test "${enable_fast_install+set}" = set; then
3941 enableval="$enable_fast_install"
3942 p=${PACKAGE-default}
3944 yes) enable_fast_install=yes ;;
3945 no) enable_fast_install=no ;;
3947 enable_fast_install=no
3948 # Look at the argument we got. We use all the common list separators.
3949 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3950 for pkg in $enableval; do
3952 if test "X$pkg" = "X$p"; then
3953 enable_fast_install=yes
3960 enable_fast_install=yes
3963 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3964 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3965 if test "${lt_cv_path_SED+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 # Loop through the user's path and test for sed and gsed.
3969 # Then use that list of sed's as ones to test for truncation.
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir=.
3975 for lt_ac_prog in sed gsed; do
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3978 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3985 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3986 # along with /bin/sed that truncates output.
3987 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3988 test ! -f $lt_ac_sed && break
3989 cat /dev/null > conftest.in
3991 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3992 # Check for GNU sed and select it if it is found.
3993 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3994 lt_cv_path_SED=$lt_ac_sed
3998 cat conftest.in conftest.in >conftest.tmp
3999 mv conftest.tmp conftest.in
4000 cp conftest.in conftest.nl
4002 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4003 cmp -s conftest.out conftest.nl || break
4004 # 10000 chars as input seems more than enough
4005 test $lt_ac_count -gt 10 && break
4006 lt_ac_count=`expr $lt_ac_count + 1`
4007 if test $lt_ac_count -gt $lt_ac_max; then
4008 lt_ac_max=$lt_ac_count
4009 lt_cv_path_SED=$lt_ac_sed
4017 echo "$as_me:$LINENO: result: $SED" >&5
4018 echo "${ECHO_T}$SED" >&6
4020 echo "$as_me:$LINENO: checking for egrep" >&5
4021 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4022 if test "${ac_cv_prog_egrep+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4026 then ac_cv_prog_egrep='grep -E'
4027 else ac_cv_prog_egrep='egrep'
4030 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4031 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4032 EGREP=$ac_cv_prog_egrep
4036 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4037 if test "${with_gnu_ld+set}" = set; then
4038 withval="$with_gnu_ld"
4039 test "$withval" = no || with_gnu_ld=yes
4044 if test "$GCC" = yes; then
4045 # Check if gcc -print-prog-name=ld gives a path.
4046 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4047 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4050 # gcc leaves a trailing carriage return which upsets mingw
4051 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4053 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4056 # Accept absolute paths.
4058 re_direlt='/[^/][^/]*/\.\./'
4059 # Canonicalize the path of ld
4060 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4061 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4062 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4064 test -z "$LD" && LD="$ac_prog"
4067 # If it fails, then pretend we aren't using GCC.
4071 # If it is relative, then search for the first ld in PATH.
4075 elif test "$with_gnu_ld" = yes; then
4076 echo "$as_me:$LINENO: checking for GNU ld" >&5
4077 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4079 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4080 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4082 if test "${lt_cv_path_LD+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 if test -z "$LD"; then
4086 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4087 for ac_dir in $PATH; do
4089 test -z "$ac_dir" && ac_dir=.
4090 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4091 lt_cv_path_LD="$ac_dir/$ac_prog"
4092 # Check to see if the program is GNU ld. I'd rather use --version,
4093 # but apparently some GNU ld's only accept -v.
4094 # Break only if it was the GNU/non-GNU ld that we prefer.
4095 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4096 *GNU* | *'with BFD'*)
4097 test "$with_gnu_ld" != no && break
4100 test "$with_gnu_ld" != yes && break
4107 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4112 if test -n "$LD"; then
4113 echo "$as_me:$LINENO: result: $LD" >&5
4114 echo "${ECHO_T}$LD" >&6
4116 echo "$as_me:$LINENO: result: no" >&5
4117 echo "${ECHO_T}no" >&6
4119 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4120 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4121 { (exit 1); exit 1; }; }
4122 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4123 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4124 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4128 case `"$LD" -v 2>&1 </dev/null` in
4129 *GNU* | *'with BFD'*)
4130 lt_cv_prog_gnu_ld=yes
4133 lt_cv_prog_gnu_ld=no
4137 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4138 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4139 with_gnu_ld=$lt_cv_prog_gnu_ld
4142 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4143 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4144 if test "${lt_cv_ld_reload_flag+set}" = set; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 lt_cv_ld_reload_flag='-r'
4149 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4150 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4151 reload_flag=$lt_cv_ld_reload_flag
4152 case $reload_flag in
4154 *) reload_flag=" $reload_flag" ;;
4156 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4158 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4159 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4160 if test "${lt_cv_path_NM+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 if test -n "$NM"; then
4164 # Let the user override the test.
4167 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4168 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4170 test -z "$ac_dir" && ac_dir=.
4171 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4172 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4173 # Check to see if the nm accepts a BSD-compat flag.
4174 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4175 # nm: unknown option "B" ignored
4176 # Tru64's nm complains that /dev/null is an invalid object file
4177 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4178 */dev/null* | *'Invalid file or object type'*)
4179 lt_cv_path_NM="$tmp_nm -B"
4183 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4185 lt_cv_path_NM="$tmp_nm -p"
4189 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4190 continue # so that we can try to find one that supports BSD flags
4197 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4200 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4201 echo "${ECHO_T}$lt_cv_path_NM" >&6
4204 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4205 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4207 if test "$LN_S" = "ln -s"; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4211 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4212 echo "${ECHO_T}no, using $LN_S" >&6
4215 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4216 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4217 if test "${lt_cv_deplibs_check_method+set}" = set; then
4218 echo $ECHO_N "(cached) $ECHO_C" >&6
4220 lt_cv_file_magic_cmd='$MAGIC_CMD'
4221 lt_cv_file_magic_test_file=
4222 lt_cv_deplibs_check_method='unknown'
4223 # Need to set the preceding variable on all platforms that support
4224 # interlibrary dependencies.
4225 # 'none' -- dependencies not supported.
4226 # `unknown' -- same as none, but documents that we really don't know.
4227 # 'pass_all' -- all dependencies passed with no checks.
4228 # 'test_compile' -- check by making test program.
4229 # 'file_magic [[regex]]' -- check by looking for files in library path
4230 # which responds to the $file_magic_cmd with a given extended regex.
4231 # If you have `file' or equivalent on your system and you're not sure
4232 # whether `pass_all' will *always* work, you probably want this one.
4236 lt_cv_deplibs_check_method=pass_all
4240 lt_cv_deplibs_check_method=pass_all
4244 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4245 lt_cv_file_magic_cmd='/usr/bin/file -L'
4246 lt_cv_file_magic_test_file=/shlib/libc.so
4249 cygwin* | mingw* | pw32*)
4250 # win32_libid is a shell function defined in ltmain.sh
4251 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4252 lt_cv_file_magic_cmd='win32_libid'
4255 darwin* | rhapsody*)
4256 # this will be overwritten by pass_all, but leave it in just in case
4257 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4258 lt_cv_file_magic_cmd='/usr/bin/file -L'
4260 rhapsody* | darwin1.[012])
4261 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4264 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4267 lt_cv_deplibs_check_method=pass_all
4271 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4274 # Not sure whether the presence of OpenBSD here was a mistake.
4275 # Let's accept both of them until this is cleared up.
4276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4277 lt_cv_file_magic_cmd=/usr/bin/file
4278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4282 lt_cv_deplibs_check_method=pass_all
4287 lt_cv_deplibs_check_method=pass_all
4290 hpux10.20* | hpux11*)
4291 lt_cv_file_magic_cmd=/usr/bin/file
4294 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4295 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4298 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]'
4299 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4302 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4303 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4308 irix5* | irix6* | nonstopux*)
4310 irix5* | nonstopux*)
4311 # this will be overridden with pass_all, but let us keep it just in case
4312 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4316 *-32|*"-32 ") libmagic=32-bit;;
4317 *-n32|*"-n32 ") libmagic=N32;;
4318 *-64|*"-64 ") libmagic=64-bit;;
4319 *) libmagic=never-match;;
4321 # this will be overridden with pass_all, but let us keep it just in case
4322 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4325 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4326 lt_cv_deplibs_check_method=pass_all
4329 # This must be Linux ELF.
4332 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4333 lt_cv_deplibs_check_method=pass_all ;;
4335 # glibc up to 2.1.1 does not perform some relocations on ARM
4336 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4338 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4342 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4345 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4350 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4351 lt_cv_file_magic_cmd=/usr/bin/file
4352 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4356 lt_cv_deplibs_check_method=unknown
4360 lt_cv_file_magic_cmd=/usr/bin/file
4361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4362 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4365 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4369 osf3* | osf4* | osf5*)
4370 # this will be overridden with pass_all, but let us keep it just in case
4371 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4372 lt_cv_file_magic_test_file=/shlib/libc.so
4373 lt_cv_deplibs_check_method=pass_all
4377 lt_cv_deplibs_check_method=pass_all
4381 lt_cv_deplibs_check_method=pass_all
4382 lt_cv_file_magic_test_file=/lib/libc.so
4385 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4386 case $host_vendor in
4388 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]'
4389 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4392 lt_cv_deplibs_check_method=pass_all
4395 lt_cv_file_magic_cmd='/bin/file'
4396 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4399 lt_cv_file_magic_cmd='/bin/file'
4400 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4401 lt_cv_file_magic_test_file=/lib/libc.so
4404 lt_cv_deplibs_check_method=pass_all
4409 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4410 lt_cv_deplibs_check_method=pass_all
4415 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4416 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4417 file_magic_cmd=$lt_cv_file_magic_cmd
4418 deplibs_check_method=$lt_cv_deplibs_check_method
4419 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4424 # If no C compiler was specified, use CC.
4427 # Allow CC to be a program name with arguments.
4430 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4431 if test "${enable_libtool_lock+set}" = set; then
4432 enableval="$enable_libtool_lock"
4435 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4437 # Some flags need to be propagated to the compiler or linker for good
4441 # Find out which ABI we are using.
4442 echo 'int i;' > conftest.$ac_ext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; then
4448 case `/usr/bin/file conftest.$ac_objext` in
4460 # Find out which ABI we are using.
4461 echo '#line 4461 "configure"' > conftest.$ac_ext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463 (eval $ac_compile) 2>&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; then
4467 if test "$lt_cv_prog_gnu_ld" = yes; then
4468 case `/usr/bin/file conftest.$ac_objext` in
4470 LD="${LD-ld} -melf32bsmip"
4473 LD="${LD-ld} -melf32bmipn32"
4476 LD="${LD-ld} -melf64bmip"
4480 case `/usr/bin/file conftest.$ac_objext` in
4496 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4497 # Find out which ABI we are using.
4498 echo 'int i;' > conftest.$ac_ext
4499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500 (eval $ac_compile) 2>&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; then
4504 case "`/usr/bin/file conftest.o`" in
4508 LD="${LD-ld} -m elf_i386"
4511 LD="${LD-ld} -m elf32ppclinux"
4514 LD="${LD-ld} -m elf_s390"
4517 LD="${LD-ld} -m elf32_sparc"
4524 LD="${LD-ld} -m elf_x86_64"
4526 ppc*-*linux*|powerpc*-*linux*)
4527 LD="${LD-ld} -m elf64ppc"
4530 LD="${LD-ld} -m elf64_s390"
4533 LD="${LD-ld} -m elf64_sparc"
4543 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4544 SAVE_CFLAGS="$CFLAGS"
4545 CFLAGS="$CFLAGS -belf"
4546 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4547 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4548 if test "${lt_cv_cc_needs_belf+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 ac_cpp='$CPP $CPPFLAGS'
4553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4557 cat >conftest.$ac_ext <<_ACEOF
4558 #line $LINENO "configure"
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
4563 /* end confdefs.h. */
4573 rm -f conftest.$ac_objext conftest$ac_exeext
4574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4575 (eval $ac_link) 2>&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } &&
4579 { ac_try='test -s conftest$ac_exeext'
4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; }; then
4585 lt_cv_cc_needs_belf=yes
4587 echo "$as_me: failed program was:" >&5
4588 sed 's/^/| /' conftest.$ac_ext >&5
4590 lt_cv_cc_needs_belf=no
4592 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4601 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4602 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4603 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4604 CFLAGS="$SAVE_CFLAGS"
4610 need_locks="$enable_libtool_lock"
4614 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4615 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4616 if test "${ac_cv_header_stdc+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 cat >conftest.$ac_ext <<_ACEOF
4620 #line $LINENO "configure"
4623 cat confdefs.h >>conftest.$ac_ext
4624 cat >>conftest.$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4639 rm -f conftest.$ac_objext
4640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4641 (eval $ac_compile) 2>&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } &&
4645 { ac_try='test -s conftest.$ac_objext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4651 ac_cv_header_stdc=yes
4653 echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.$ac_ext >&5
4656 ac_cv_header_stdc=no
4658 rm -f conftest.$ac_objext conftest.$ac_ext
4660 if test $ac_cv_header_stdc = yes; then
4661 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4662 cat >conftest.$ac_ext <<_ACEOF
4663 #line $LINENO "configure"
4666 cat confdefs.h >>conftest.$ac_ext
4667 cat >>conftest.$ac_ext <<_ACEOF
4668 /* end confdefs.h. */
4672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4673 $EGREP "memchr" >/dev/null 2>&1; then
4676 ac_cv_header_stdc=no
4682 if test $ac_cv_header_stdc = yes; then
4683 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4684 cat >conftest.$ac_ext <<_ACEOF
4685 #line $LINENO "configure"
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4695 $EGREP "free" >/dev/null 2>&1; then
4698 ac_cv_header_stdc=no
4704 if test $ac_cv_header_stdc = yes; then
4705 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4706 if test "$cross_compiling" = yes; then
4709 cat >conftest.$ac_ext <<_ACEOF
4710 #line $LINENO "configure"
4713 cat confdefs.h >>conftest.$ac_ext
4714 cat >>conftest.$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4717 #if ((' ' & 0x0FF) == 0x020)
4718 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4719 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4721 # define ISLOWER(c) \
4722 (('a' <= (c) && (c) <= 'i') \
4723 || ('j' <= (c) && (c) <= 'r') \
4724 || ('s' <= (c) && (c) <= 'z'))
4725 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4728 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4733 for (i = 0; i < 256; i++)
4734 if (XOR (islower (i), ISLOWER (i))
4735 || toupper (i) != TOUPPER (i))
4740 rm -f conftest$ac_exeext
4741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4742 (eval $ac_link) 2>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4753 echo "$as_me: program exited with status $ac_status" >&5
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4758 ac_cv_header_stdc=no
4760 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4764 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4765 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4766 if test $ac_cv_header_stdc = yes; then
4768 cat >>confdefs.h <<\_ACEOF
4769 #define STDC_HEADERS 1
4774 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4784 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4785 inttypes.h stdint.h unistd.h
4787 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4788 echo "$as_me:$LINENO: checking for $ac_header" >&5
4789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 cat >conftest.$ac_ext <<_ACEOF
4794 #line $LINENO "configure"
4797 cat confdefs.h >>conftest.$ac_ext
4798 cat >>conftest.$ac_ext <<_ACEOF
4799 /* end confdefs.h. */
4800 $ac_includes_default
4802 #include <$ac_header>
4804 rm -f conftest.$ac_objext
4805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4806 (eval $ac_compile) 2>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } &&
4810 { ac_try='test -s conftest.$ac_objext'
4811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); }; }; then
4816 eval "$as_ac_Header=yes"
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.$ac_ext >&5
4821 eval "$as_ac_Header=no"
4823 rm -f conftest.$ac_objext conftest.$ac_ext
4825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4828 cat >>confdefs.h <<_ACEOF
4829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4838 for ac_header in dlfcn.h
4840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4842 echo "$as_me:$LINENO: checking for $ac_header" >&5
4843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4850 # Is the header compilable?
4851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4853 cat >conftest.$ac_ext <<_ACEOF
4854 #line $LINENO "configure"
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4860 $ac_includes_default
4861 #include <$ac_header>
4863 rm -f conftest.$ac_objext
4864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4865 (eval $ac_compile) 2>&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } &&
4869 { ac_try='test -s conftest.$ac_objext'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; }; then
4875 ac_header_compiler=yes
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.$ac_ext >&5
4880 ac_header_compiler=no
4882 rm -f conftest.$ac_objext conftest.$ac_ext
4883 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4884 echo "${ECHO_T}$ac_header_compiler" >&6
4886 # Is the header present?
4887 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4888 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4889 cat >conftest.$ac_ext <<_ACEOF
4890 #line $LINENO "configure"
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4896 #include <$ac_header>
4898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4901 grep -v '^ *+' conftest.er1 >conftest.err
4903 cat conftest.err >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } >/dev/null; then
4906 if test -s conftest.err; then
4907 ac_cpp_err=$ac_c_preproc_warn_flag
4914 if test -z "$ac_cpp_err"; then
4915 ac_header_preproc=yes
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_header_preproc=no
4922 rm -f conftest.err conftest.$ac_ext
4923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4924 echo "${ECHO_T}$ac_header_preproc" >&6
4926 # So? What about this header?
4927 case $ac_header_compiler:$ac_header_preproc in
4929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4932 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4935 ## ------------------------------------ ##
4936 ## Report this to bug-autoconf@gnu.org. ##
4937 ## ------------------------------------ ##
4940 sed "s/^/$as_me: WARNING: /" >&2
4943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4951 ## ------------------------------------ ##
4952 ## Report this to bug-autoconf@gnu.org. ##
4953 ## ------------------------------------ ##
4956 sed "s/^/$as_me: WARNING: /" >&2
4959 echo "$as_me:$LINENO: checking for $ac_header" >&5
4960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4962 echo $ECHO_N "(cached) $ECHO_C" >&6
4964 eval "$as_ac_Header=$ac_header_preproc"
4966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4971 cat >>confdefs.h <<_ACEOF
4972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4980 ac_cpp='$CXXCPP $CPPFLAGS'
4981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4984 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4985 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4986 if test -z "$CXXCPP"; then
4987 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4988 echo $ECHO_N "(cached) $ECHO_C" >&6
4990 # Double quotes because CXXCPP needs to be expanded
4991 for CXXCPP in "$CXX -E" "/lib/cpp"
4994 for ac_cxx_preproc_warn_flag in '' yes
4996 # Use a header file that comes with gcc, so configuring glibc
4997 # with a fresh cross-compiler works.
4998 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4999 # <limits.h> exists even on freestanding compilers.
5000 # On the NeXT, cc -E runs the code through the compiler's parser,
5001 # not just through cpp. "Syntax error" is here to catch this case.
5002 cat >conftest.$ac_ext <<_ACEOF
5003 #line $LINENO "configure"
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5010 # include <limits.h>
5012 # include <assert.h>
5016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5019 grep -v '^ *+' conftest.er1 >conftest.err
5021 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } >/dev/null; then
5024 if test -s conftest.err; then
5025 ac_cpp_err=$ac_cxx_preproc_warn_flag
5032 if test -z "$ac_cpp_err"; then
5035 echo "$as_me: failed program was:" >&5
5036 sed 's/^/| /' conftest.$ac_ext >&5
5038 # Broken: fails on valid input.
5041 rm -f conftest.err conftest.$ac_ext
5043 # OK, works on sane cases. Now check whether non-existent headers
5044 # can be detected and how.
5045 cat >conftest.$ac_ext <<_ACEOF
5046 #line $LINENO "configure"
5049 cat confdefs.h >>conftest.$ac_ext
5050 cat >>conftest.$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5052 #include <ac_nonexistent.h>
5054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5057 grep -v '^ *+' conftest.er1 >conftest.err
5059 cat conftest.err >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } >/dev/null; then
5062 if test -s conftest.err; then
5063 ac_cpp_err=$ac_cxx_preproc_warn_flag
5070 if test -z "$ac_cpp_err"; then
5071 # Broken: success on invalid input.
5074 echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.$ac_ext >&5
5077 # Passes both tests.
5081 rm -f conftest.err conftest.$ac_ext
5084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5085 rm -f conftest.err conftest.$ac_ext
5086 if $ac_preproc_ok; then
5091 ac_cv_prog_CXXCPP=$CXXCPP
5094 CXXCPP=$ac_cv_prog_CXXCPP
5096 ac_cv_prog_CXXCPP=$CXXCPP
5098 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5099 echo "${ECHO_T}$CXXCPP" >&6
5101 for ac_cxx_preproc_warn_flag in '' yes
5103 # Use a header file that comes with gcc, so configuring glibc
5104 # with a fresh cross-compiler works.
5105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5106 # <limits.h> exists even on freestanding compilers.
5107 # On the NeXT, cc -E runs the code through the compiler's parser,
5108 # not just through cpp. "Syntax error" is here to catch this case.
5109 cat >conftest.$ac_ext <<_ACEOF
5110 #line $LINENO "configure"
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5117 # include <limits.h>
5119 # include <assert.h>
5123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5126 grep -v '^ *+' conftest.er1 >conftest.err
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } >/dev/null; then
5131 if test -s conftest.err; then
5132 ac_cpp_err=$ac_cxx_preproc_warn_flag
5139 if test -z "$ac_cpp_err"; then
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 # Broken: fails on valid input.
5148 rm -f conftest.err conftest.$ac_ext
5150 # OK, works on sane cases. Now check whether non-existent headers
5151 # can be detected and how.
5152 cat >conftest.$ac_ext <<_ACEOF
5153 #line $LINENO "configure"
5156 cat confdefs.h >>conftest.$ac_ext
5157 cat >>conftest.$ac_ext <<_ACEOF
5158 /* end confdefs.h. */
5159 #include <ac_nonexistent.h>
5161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5164 grep -v '^ *+' conftest.er1 >conftest.err
5166 cat conftest.err >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); } >/dev/null; then
5169 if test -s conftest.err; then
5170 ac_cpp_err=$ac_cxx_preproc_warn_flag
5177 if test -z "$ac_cpp_err"; then
5178 # Broken: success on invalid input.
5181 echo "$as_me: failed program was:" >&5
5182 sed 's/^/| /' conftest.$ac_ext >&5
5184 # Passes both tests.
5188 rm -f conftest.err conftest.$ac_ext
5191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5192 rm -f conftest.err conftest.$ac_ext
5193 if $ac_preproc_ok; then
5196 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5197 See \`config.log' for more details." >&5
5198 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5199 See \`config.log' for more details." >&2;}
5200 { (exit 1); exit 1; }; }
5204 ac_cpp='$CXXCPP $CPPFLAGS'
5205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5211 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5212 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5214 if test -n "$ac_tool_prefix"; then
5215 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5219 echo "$as_me:$LINENO: checking for $ac_word" >&5
5220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5221 if test "${ac_cv_prog_F77+set}" = set; then
5222 echo $ECHO_N "(cached) $ECHO_C" >&6
5224 if test -n "$F77"; then
5225 ac_cv_prog_F77="$F77" # Let the user override the test.
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 if test -n "$F77"; then
5245 echo "$as_me:$LINENO: result: $F77" >&5
5246 echo "${ECHO_T}$F77" >&6
5248 echo "$as_me:$LINENO: result: no" >&5
5249 echo "${ECHO_T}no" >&6
5252 test -n "$F77" && break
5255 if test -z "$F77"; then
5257 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5259 # Extract the first word of "$ac_prog", so it can be a program name with args.
5260 set dummy $ac_prog; ac_word=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 if test -n "$ac_ct_F77"; then
5267 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_ac_ct_F77="$ac_prog"
5277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5286 if test -n "$ac_ct_F77"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5288 echo "${ECHO_T}$ac_ct_F77" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5294 test -n "$ac_ct_F77" && break
5301 # Provide some information about the compiler.
5302 echo "$as_me:5302:" \
5303 "checking for Fortran 77 compiler version" >&5
5304 ac_compiler=`set X $ac_compile; echo $2`
5305 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5306 (eval $ac_compiler --version </dev/null >&5) 2>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }
5310 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5311 (eval $ac_compiler -v </dev/null >&5) 2>&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }
5315 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5316 (eval $ac_compiler -V </dev/null >&5) 2>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); }
5321 # If we don't use `.F' as extension, the preprocessor is not run on the
5325 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5326 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5327 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5328 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 cat >conftest.$ac_ext <<_ACEOF
5338 rm -f conftest.$ac_objext
5339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5340 (eval $ac_compile) 2>&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } &&
5344 { ac_try='test -s conftest.$ac_objext'
5345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; }; then
5352 echo "$as_me: failed program was:" >&5
5353 sed 's/^/| /' conftest.$ac_ext >&5
5357 rm -f conftest.$ac_objext conftest.$ac_ext
5358 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5361 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5362 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5364 G77=`test $ac_compiler_gnu = yes && echo yes`
5365 ac_test_FFLAGS=${FFLAGS+set}
5366 ac_save_FFLAGS=$FFLAGS
5368 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5369 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5370 if test "${ac_cv_prog_f77_g+set}" = set; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5374 cat >conftest.$ac_ext <<_ACEOF
5379 rm -f conftest.$ac_objext
5380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5381 (eval $ac_compile) 2>&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); } &&
5385 { ac_try='test -s conftest.$ac_objext'
5386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; }; then
5391 ac_cv_prog_f77_g=yes
5393 echo "$as_me: failed program was:" >&5
5394 sed 's/^/| /' conftest.$ac_ext >&5
5398 rm -f conftest.$ac_objext conftest.$ac_ext
5401 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5402 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5403 if test "$ac_test_FFLAGS" = set; then
5404 FFLAGS=$ac_save_FFLAGS
5405 elif test $ac_cv_prog_f77_g = yes; then
5406 if test "$G77" = yes; then
5412 if test "$G77" = yes; then
5419 ac_cpp='$CPP $CPPFLAGS'
5420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5426 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5428 # find the maximum length of command line arguments
5429 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5430 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5431 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 # On DJGPP, this test can blow up pretty badly due to problems in libc
5440 # (any single argument exceeding 2000 bytes causes a buffer overrun
5441 # during glob expansion). Even if it were fixed, the result of this
5442 # check would be larger than it should be.
5443 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5447 # Under GNU Hurd, this test is not required because there is
5448 # no limit to the length of command line arguments.
5449 # Libtool will interpret -1 as no limit whatsoever
5450 lt_cv_sys_max_cmd_len=-1;
5454 # On Win9x/ME, this test blows up -- it succeeds, but takes
5455 # about 5 minutes as the teststring grows exponentially.
5456 # Worse, since 9x/ME are not pre-emptively multitasking,
5457 # you end up with a "frozen" computer, even though with patience
5458 # the test eventually succeeds (with a max line length of 256k).
5459 # Instead, let's just punt: use the minimum linelength reported by
5460 # all of the supported platforms: 8192 (on NT/2K/XP).
5461 lt_cv_sys_max_cmd_len=8192;
5465 # If test is not a shell built-in, we'll probably end up computing a
5466 # maximum length that is only half of the actual maximum length, but
5468 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5469 = "XX$testring") >/dev/null 2>&1 &&
5470 new_result=`expr "X$testring" : ".*" 2>&1` &&
5471 lt_cv_sys_max_cmd_len=$new_result &&
5472 test $i != 17 # 1/2 MB should be enough
5475 testring=$testring$testring
5478 # Add a significant safety factor because C++ compilers can tack on massive
5479 # amounts of additional arguments before passing them to the linker.
5480 # It appears as though 1/2 is a usable value.
5481 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5487 if test -n $lt_cv_sys_max_cmd_len ; then
5488 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5489 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5491 echo "$as_me:$LINENO: result: none" >&5
5492 echo "${ECHO_T}none" >&6
5498 # Check for command to grab the raw symbol name followed by C symbol from nm.
5499 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5500 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5501 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5502 echo $ECHO_N "(cached) $ECHO_C" >&6
5505 # These are sane defaults that work on at least a few old systems.
5506 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5508 # Character class describing NM global symbol codes.
5509 symcode='[BCDEGRST]'
5511 # Regexp to match symbols that can be accessed directly from C.
5512 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5514 # Transform the above into a raw symbol and a C symbol.
5515 symxfrm='\1 \2\3 \3'
5517 # Transform an extracted symbol line into a proper C declaration
5518 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5520 # Transform an extracted symbol line into symbol name and symbol address
5521 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'"
5523 # Define system-specific variables.
5528 cygwin* | mingw* | pw32*)
5529 symcode='[ABCDGISTW]'
5531 hpux*) # Its linker distinguishes data from code symbols
5532 if test "$host_cpu" = ia64; then
5533 symcode='[ABCDEGRST]'
5535 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5536 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'"
5539 symcode='[BCDEGRST]'
5542 symcode='[BCDEGQRST]'
5552 # Handle CRLF in mingw tool chain
5556 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5560 # If we're using GNU nm, then use its standard symbol codes.
5561 case `$NM -V 2>&1` in
5562 *GNU* | *'with BFD'*)
5563 symcode='[ABCDGISTW]' ;;
5566 # Try without a prefix undercore, then with it.
5567 for ac_symprfx in "" "_"; do
5569 # Write the raw and C identifiers.
5570 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5572 # Check to see that the pipe works correctly.
5576 cat > conftest.$ac_ext <<EOF
5581 void nm_test_func(){}
5585 int main(){nm_test_var='a';nm_test_func();return(0);}
5588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5589 (eval $ac_compile) 2>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); }; then
5593 # Now try to grab the symbols.
5595 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5596 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); } && test -s "$nlist"; then
5600 # Try sorting and uniquifying the output.
5601 if sort "$nlist" | uniq > "$nlist"T; then
5602 mv -f "$nlist"T "$nlist"
5607 # Make sure that we snagged all the symbols we need.
5608 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5609 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5610 cat <<EOF > conftest.$ac_ext
5616 # Now generate the symbol file.
5617 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5619 cat <<EOF >> conftest.$ac_ext
5620 #if defined (__STDC__) && __STDC__
5621 # define lt_ptr_t void *
5623 # define lt_ptr_t char *
5627 /* The mapping between symbol names and symbols. */
5632 lt_preloaded_symbols[] =
5635 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5636 cat <<\EOF >> conftest.$ac_ext
5644 # Now try linking the two files.
5645 mv conftest.$ac_objext conftstm.$ac_objext
5646 lt_save_LIBS="$LIBS"
5647 lt_save_CFLAGS="$CFLAGS"
5648 LIBS="conftstm.$ac_objext"
5649 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5651 (eval $ac_link) 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5657 LIBS="$lt_save_LIBS"
5658 CFLAGS="$lt_save_CFLAGS"
5660 echo "cannot find nm_test_func in $nlist" >&5
5663 echo "cannot find nm_test_var in $nlist" >&5
5666 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5669 echo "$progname: failed program was:" >&5
5670 cat conftest.$ac_ext >&5
5672 rm -f conftest* conftst*
5674 # Do not use the global_symbol_pipe unless it works.
5675 if test "$pipe_works" = yes; then
5678 lt_cv_sys_global_symbol_pipe=
5684 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5685 lt_cv_sys_global_symbol_to_cdecl=
5687 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5688 echo "$as_me:$LINENO: result: failed" >&5
5689 echo "${ECHO_T}failed" >&6
5691 echo "$as_me:$LINENO: result: ok" >&5
5692 echo "${ECHO_T}ok" >&6
5695 echo "$as_me:$LINENO: checking for objdir" >&5
5696 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5697 if test "${lt_cv_objdir+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5700 rm -f .libs 2>/dev/null
5701 mkdir .libs 2>/dev/null
5702 if test -d .libs; then
5705 # MS-DOS does not allow filenames that begin with a dot.
5708 rmdir .libs 2>/dev/null
5710 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5711 echo "${ECHO_T}$lt_cv_objdir" >&6
5712 objdir=$lt_cv_objdir
5720 # AIX sometimes has problems with the GCC collect2 program. For some
5721 # reason, if we set the COLLECT_NAMES environment variable, the problems
5722 # vanish in a puff of smoke.
5723 if test "X${COLLECT_NAMES+set}" != Xset; then
5725 export COLLECT_NAMES
5730 # Sed substitution that helps us do robust quoting. It backslashifies
5731 # metacharacters that are still active within double-quoted strings.
5732 Xsed='sed -e s/^X//'
5733 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5735 # Same as above, but do not quote variable references.
5736 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5738 # Sed substitution to delay expansion of an escaped shell variable in a
5739 # double_quote_subst'ed string.
5740 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5742 # Sed substitution to avoid accidental globbing in evaled expressions
5743 no_glob_subst='s/\*/\\\*/g'
5750 can_build_shared=yes
5752 # All known linkers require a `.a' archive for static linking (except M$VC,
5753 # which needs '.lib').
5755 ltmain="$ac_aux_dir/ltmain.sh"
5756 ofile="$default_ofile"
5757 with_gnu_ld="$lt_cv_prog_gnu_ld"
5759 if test -n "$ac_tool_prefix"; then
5760 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5761 set dummy ${ac_tool_prefix}ar; ac_word=$2
5762 echo "$as_me:$LINENO: checking for $ac_word" >&5
5763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5764 if test "${ac_cv_prog_AR+set}" = set; then
5765 echo $ECHO_N "(cached) $ECHO_C" >&6
5767 if test -n "$AR"; then
5768 ac_cv_prog_AR="$AR" # Let the user override the test.
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_AR="${ac_tool_prefix}ar"
5778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 if test -n "$AR"; then
5788 echo "$as_me:$LINENO: result: $AR" >&5
5789 echo "${ECHO_T}$AR" >&6
5791 echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6
5796 if test -z "$ac_cv_prog_AR"; then
5798 # Extract the first word of "ar", so it can be a program name with args.
5799 set dummy ar; ac_word=$2
5800 echo "$as_me:$LINENO: checking for $ac_word" >&5
5801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5802 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 if test -n "$ac_ct_AR"; then
5806 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_prog_ac_ct_AR="ar"
5816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5825 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5826 if test -n "$ac_ct_AR"; then
5827 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5828 echo "${ECHO_T}$ac_ct_AR" >&6
5830 echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6
5839 if test -n "$ac_tool_prefix"; then
5840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5841 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5842 echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5844 if test "${ac_cv_prog_RANLIB+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5847 if test -n "$RANLIB"; then
5848 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 RANLIB=$ac_cv_prog_RANLIB
5867 if test -n "$RANLIB"; then
5868 echo "$as_me:$LINENO: result: $RANLIB" >&5
5869 echo "${ECHO_T}$RANLIB" >&6
5871 echo "$as_me:$LINENO: result: no" >&5
5872 echo "${ECHO_T}no" >&6
5876 if test -z "$ac_cv_prog_RANLIB"; then
5877 ac_ct_RANLIB=$RANLIB
5878 # Extract the first word of "ranlib", so it can be a program name with args.
5879 set dummy ranlib; ac_word=$2
5880 echo "$as_me:$LINENO: checking for $ac_word" >&5
5881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5882 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5883 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 if test -n "$ac_ct_RANLIB"; then
5886 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir=.
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895 ac_cv_prog_ac_ct_RANLIB="ranlib"
5896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5905 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5906 if test -n "$ac_ct_RANLIB"; then
5907 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5908 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5910 echo "$as_me:$LINENO: result: no" >&5
5911 echo "${ECHO_T}no" >&6
5914 RANLIB=$ac_ct_RANLIB
5916 RANLIB="$ac_cv_prog_RANLIB"
5919 if test -n "$ac_tool_prefix"; then
5920 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5921 set dummy ${ac_tool_prefix}strip; ac_word=$2
5922 echo "$as_me:$LINENO: checking for $ac_word" >&5
5923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5924 if test "${ac_cv_prog_STRIP+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 if test -n "$STRIP"; then
5928 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 STRIP=$ac_cv_prog_STRIP
5947 if test -n "$STRIP"; then
5948 echo "$as_me:$LINENO: result: $STRIP" >&5
5949 echo "${ECHO_T}$STRIP" >&6
5951 echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6
5956 if test -z "$ac_cv_prog_STRIP"; then
5958 # Extract the first word of "strip", so it can be a program name with args.
5959 set dummy strip; ac_word=$2
5960 echo "$as_me:$LINENO: checking for $ac_word" >&5
5961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5962 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5963 echo $ECHO_N "(cached) $ECHO_C" >&6
5965 if test -n "$ac_ct_STRIP"; then
5966 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_ac_ct_STRIP="strip"
5976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5985 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5986 if test -n "$ac_ct_STRIP"; then
5987 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5988 echo "${ECHO_T}$ac_ct_STRIP" >&6
5990 echo "$as_me:$LINENO: result: no" >&5
5991 echo "${ECHO_T}no" >&6
5996 STRIP="$ac_cv_prog_STRIP"
6001 old_CFLAGS="$CFLAGS"
6003 # Set sane defaults for various variables
6004 test -z "$AR" && AR=ar
6005 test -z "$AR_FLAGS" && AR_FLAGS=cru
6006 test -z "$AS" && AS=as
6007 test -z "$CC" && CC=cc
6008 test -z "$LTCC" && LTCC=$CC
6009 test -z "$DLLTOOL" && DLLTOOL=dlltool
6010 test -z "$LD" && LD=ld
6011 test -z "$LN_S" && LN_S="ln -s"
6012 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6013 test -z "$NM" && NM=nm
6014 test -z "$SED" && SED=sed
6015 test -z "$OBJDUMP" && OBJDUMP=objdump
6016 test -z "$RANLIB" && RANLIB=:
6017 test -z "$STRIP" && STRIP=:
6018 test -z "$ac_objext" && ac_objext=o
6020 # Determine commands to create old-style static archives.
6021 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6022 old_postinstall_cmds='chmod 644 $oldlib'
6023 old_postuninstall_cmds=
6025 if test -n "$RANLIB"; then
6028 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6031 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
6034 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6037 # Only perform the check for file, if the check method requires it
6038 case $deplibs_check_method in
6040 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6041 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6042 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6043 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6051 lt_save_MAGIC_CMD="$MAGIC_CMD"
6052 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6053 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6054 for ac_dir in $ac_dummy; do
6056 test -z "$ac_dir" && ac_dir=.
6057 if test -f $ac_dir/${ac_tool_prefix}file; then
6058 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6059 if test -n "$file_magic_test_file"; then
6060 case $deplibs_check_method in
6062 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6064 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6065 $EGREP "$file_magic_regex" > /dev/null; then
6070 *** Warning: the command libtool uses to detect shared libraries,
6071 *** $file_magic_cmd, produces output that libtool cannot recognize.
6072 *** The result is that libtool may fail to recognize shared libraries
6073 *** as such. This will affect the creation of libtool libraries that
6074 *** depend on shared libraries, but programs linked with such libtool
6075 *** libraries will work regardless of this problem. Nevertheless, you
6076 *** may want to report the problem to your system manager and/or to
6077 *** bug-libtool@gnu.org
6087 MAGIC_CMD="$lt_save_MAGIC_CMD"
6092 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6093 if test -n "$MAGIC_CMD"; then
6094 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6095 echo "${ECHO_T}$MAGIC_CMD" >&6
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6101 if test -z "$lt_cv_path_MAGIC_CMD"; then
6102 if test -n "$ac_tool_prefix"; then
6103 echo "$as_me:$LINENO: checking for file" >&5
6104 echo $ECHO_N "checking for file... $ECHO_C" >&6
6105 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6113 lt_save_MAGIC_CMD="$MAGIC_CMD"
6114 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6115 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6116 for ac_dir in $ac_dummy; do
6118 test -z "$ac_dir" && ac_dir=.
6119 if test -f $ac_dir/file; then
6120 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6121 if test -n "$file_magic_test_file"; then
6122 case $deplibs_check_method in
6124 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6125 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6126 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6127 $EGREP "$file_magic_regex" > /dev/null; then
6132 *** Warning: the command libtool uses to detect shared libraries,
6133 *** $file_magic_cmd, produces output that libtool cannot recognize.
6134 *** The result is that libtool may fail to recognize shared libraries
6135 *** as such. This will affect the creation of libtool libraries that
6136 *** depend on shared libraries, but programs linked with such libtool
6137 *** libraries will work regardless of this problem. Nevertheless, you
6138 *** may want to report the problem to your system manager and/or to
6139 *** bug-libtool@gnu.org
6149 MAGIC_CMD="$lt_save_MAGIC_CMD"
6154 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6155 if test -n "$MAGIC_CMD"; then
6156 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6157 echo "${ECHO_T}$MAGIC_CMD" >&6
6159 echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6
6175 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6176 if test "${enable_libtool_lock+set}" = set; then
6177 enableval="$enable_libtool_lock"
6180 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6183 # Check whether --with-pic or --without-pic was given.
6184 if test "${with_pic+set}" = set; then
6190 test -z "$pic_mode" && pic_mode=default
6192 # Use C for the default configuration in the libtool script
6196 ac_cpp='$CPP $CPPFLAGS'
6197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6202 # Source file extension for C test sources.
6205 # Object file extension for compiled C test sources.
6209 # Code to be used in simple compile tests
6210 lt_simple_compile_test_code="int some_variable = 0;\n"
6212 # Code to be used in simple link tests
6213 lt_simple_link_test_code='int main(){return(0);}\n'
6216 # If no C compiler was specified, use CC.
6219 # Allow CC to be a program name with arguments.
6224 # Check for any special shared library compilation flags.
6227 if test "$GCC" = no; then
6230 lt_prog_cc_shlib='-belf'
6234 if test -n "$lt_prog_cc_shlib"; then
6235 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6236 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6237 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6239 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6240 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6241 lt_cv_prog_cc_can_build_shared=no
6247 # Check to make sure the static flag actually works.
6249 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6250 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6251 if test "${lt_prog_compiler_static_works+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 lt_prog_compiler_static_works=no
6255 save_LDFLAGS="$LDFLAGS"
6256 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6257 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6258 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6259 # The compiler can only warn and ignore the option if not recognized
6260 # So say no if there are warnings
6261 if test -s conftest.err; then
6262 # Append any errors to the config.log.
6263 cat conftest.err 1>&5
6265 lt_prog_compiler_static_works=yes
6269 LDFLAGS="$save_LDFLAGS"
6272 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6273 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6275 if test x"$lt_prog_compiler_static_works" = xyes; then
6278 lt_prog_compiler_static=
6284 ## There is no encapsulation within the following macros, do not change
6285 ## the running order or otherwise move them around unless you know exactly
6286 ## what you are doing...
6288 lt_prog_compiler_no_builtin_flag=
6290 if test "$GCC" = yes; then
6291 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6293 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6294 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6295 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6296 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 lt_cv_prog_compiler_rtti_exceptions=no
6299 ac_outfile=conftest.$ac_objext
6300 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6301 lt_compiler_flag="-fno-rtti -fno-exceptions"
6302 # Insert the option either (1) after the last *FLAGS variable, or
6303 # (2) before a word containing "conftest.", or (3) at the end.
6304 # Note that $ac_compile itself does not contain backslashes and begins
6305 # with a dollar sign (not a hyphen), so the echo should work correctly.
6306 # The option is referenced via a variable to avoid confusing sed.
6307 lt_compile=`echo "$ac_compile" | $SED \
6308 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6309 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6310 -e 's:$: $lt_compiler_flag:'`
6311 (eval echo "\"\$as_me:6311: $lt_compile\"" >&5)
6312 (eval "$lt_compile" 2>conftest.err)
6314 cat conftest.err >&5
6315 echo "$as_me:6315: \$? = $ac_status" >&5
6316 if (exit $ac_status) && test -s "$ac_outfile"; then
6317 # The compiler can only warn and ignore the option if not recognized
6318 # So say no if there are warnings
6319 if test ! -s conftest.err; then
6320 lt_cv_prog_compiler_rtti_exceptions=yes
6326 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6327 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6329 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6330 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6337 lt_prog_compiler_wl=
6338 lt_prog_compiler_pic=
6339 lt_prog_compiler_static=
6341 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6342 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6344 if test "$GCC" = yes; then
6345 lt_prog_compiler_wl='-Wl,'
6346 lt_prog_compiler_static='-static'
6350 # All AIX code is PIC.
6351 if test "$host_cpu" = ia64; then
6352 # AIX 5 now supports IA64 processor
6353 lt_prog_compiler_static='-Bstatic'
6358 # FIXME: we need at least 68020 code to build shared libraries, but
6359 # adding the `-m68020' flag to GCC prevents building anything better,
6361 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6364 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6365 # PIC is the default for these OSes.
6368 mingw* | pw32* | os2*)
6369 # This hack is so that the source file can tell whether it is being
6370 # built for inclusion in a dll (and should export symbols for example).
6371 lt_prog_compiler_pic='-DDLL_EXPORT'
6374 darwin* | rhapsody*)
6375 # PIC is the default on this platform
6376 # Common symbols not allowed in MH_DYLIB files
6377 lt_prog_compiler_pic='-fno-common'
6381 # Just because we use GCC doesn't mean we suddenly get shared libraries
6382 # on systems that don't support them.
6383 lt_prog_compiler_can_build_shared=no
6388 if test -d /usr/nec; then
6389 lt_prog_compiler_pic=-Kconform_pic
6394 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6401 lt_prog_compiler_pic='-fPIC'
6407 lt_prog_compiler_pic='-fPIC'
6411 # PORTME Check for flag to pass linker flags through the system compiler.
6414 lt_prog_compiler_wl='-Wl,'
6415 if test "$host_cpu" = ia64; then
6416 # AIX 5 now supports IA64 processor
6417 lt_prog_compiler_static='-Bstatic'
6419 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6423 mingw* | pw32* | os2*)
6424 # This hack is so that the source file can tell whether it is being
6425 # built for inclusion in a dll (and should export symbols for example).
6426 lt_prog_compiler_pic='-DDLL_EXPORT'
6429 hpux9* | hpux10* | hpux11*)
6430 lt_prog_compiler_wl='-Wl,'
6431 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6438 lt_prog_compiler_pic='+Z'
6441 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6442 lt_prog_compiler_static='${wl}-a ${wl}archive'
6445 irix5* | irix6* | nonstopux*)
6446 lt_prog_compiler_wl='-Wl,'
6447 # PIC (with -KPIC) is the default.
6448 lt_prog_compiler_static='-non_shared'
6452 lt_prog_compiler_pic='-KPIC'
6453 lt_prog_compiler_static='-Bstatic'
6459 lt_prog_compiler_wl='-Wl,'
6460 lt_prog_compiler_pic='-KPIC'
6461 lt_prog_compiler_static='-static'
6464 lt_prog_compiler_wl='-Wl,'
6465 # All Alpha code is PIC.
6466 lt_prog_compiler_static='-non_shared'
6471 osf3* | osf4* | osf5*)
6472 lt_prog_compiler_wl='-Wl,'
6473 # All OSF/1 code is PIC.
6474 lt_prog_compiler_static='-non_shared'
6478 lt_prog_compiler_pic='-Kpic'
6479 lt_prog_compiler_static='-dn'
6483 lt_prog_compiler_wl='-Wl,'
6484 lt_prog_compiler_pic='-KPIC'
6485 lt_prog_compiler_static='-Bstatic'
6489 lt_prog_compiler_wl='-Qoption ld '
6490 lt_prog_compiler_pic='-PIC'
6491 lt_prog_compiler_static='-Bstatic'
6494 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6495 lt_prog_compiler_wl='-Wl,'
6496 lt_prog_compiler_pic='-KPIC'
6497 lt_prog_compiler_static='-Bstatic'
6501 if test -d /usr/nec ;then
6502 lt_prog_compiler_pic='-Kconform_pic'
6503 lt_prog_compiler_static='-Bstatic'
6508 lt_prog_compiler_pic='-pic'
6509 lt_prog_compiler_static='-Bstatic'
6513 lt_prog_compiler_can_build_shared=no
6518 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6519 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6522 # Check to make sure the PIC flag actually works.
6524 if test -n "$lt_prog_compiler_pic"; then
6525 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6526 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6527 if test "${lt_prog_compiler_pic_works+set}" = set; then
6528 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 lt_prog_compiler_pic_works=no
6531 ac_outfile=conftest.$ac_objext
6532 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6533 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6534 # Insert the option either (1) after the last *FLAGS variable, or
6535 # (2) before a word containing "conftest.", or (3) at the end.
6536 # Note that $ac_compile itself does not contain backslashes and begins
6537 # with a dollar sign (not a hyphen), so the echo should work correctly.
6538 # The option is referenced via a variable to avoid confusing sed.
6539 lt_compile=`echo "$ac_compile" | $SED \
6540 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6542 -e 's:$: $lt_compiler_flag:'`
6543 (eval echo "\"\$as_me:6543: $lt_compile\"" >&5)
6544 (eval "$lt_compile" 2>conftest.err)
6546 cat conftest.err >&5
6547 echo "$as_me:6547: \$? = $ac_status" >&5
6548 if (exit $ac_status) && test -s "$ac_outfile"; then
6549 # The compiler can only warn and ignore the option if not recognized
6550 # So say no if there are warnings
6551 if test ! -s conftest.err; then
6552 lt_prog_compiler_pic_works=yes
6558 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6559 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6561 if test x"$lt_prog_compiler_pic_works" = xyes; then
6562 case $lt_prog_compiler_pic in
6564 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6567 lt_prog_compiler_pic=
6568 lt_prog_compiler_can_build_shared=no
6573 # For platforms which do not support PIC, -DPIC is meaningless:
6575 lt_prog_compiler_pic=
6578 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6582 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6583 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6584 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 lt_cv_prog_compiler_c_o=no
6588 $rm -r conftest 2>/dev/null
6592 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6594 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6595 # that will create temporary files in the current directory regardless of
6596 # the output directory. Thus, making CWD read-only will cause this test
6597 # to fail, enabling locking or at least warning the user not to do parallel
6601 lt_compiler_flag="-o out/conftest2.$ac_objext"
6602 # Insert the option either (1) after the last *FLAGS variable, or
6603 # (2) before a word containing "conftest.", or (3) at the end.
6604 # Note that $ac_compile itself does not contain backslashes and begins
6605 # with a dollar sign (not a hyphen), so the echo should work correctly.
6606 lt_compile=`echo "$ac_compile" | $SED \
6607 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6608 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6609 -e 's:$: $lt_compiler_flag:'`
6610 (eval echo "\"\$as_me:6610: $lt_compile\"" >&5)
6611 (eval "$lt_compile" 2>out/conftest.err)
6613 cat out/conftest.err >&5
6614 echo "$as_me:6614: \$? = $ac_status" >&5
6615 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6617 # The compiler can only warn and ignore the option if not recognized
6618 # So say no if there are warnings
6619 if test ! -s out/conftest.err; then
6620 lt_cv_prog_compiler_c_o=yes
6631 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6632 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6635 hard_links="nottested"
6636 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6637 # do not overwrite the value of need_locks provided by the user
6638 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6639 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6642 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6644 ln conftest.a conftest.b 2>&5 || hard_links=no
6645 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6646 echo "$as_me:$LINENO: result: $hard_links" >&5
6647 echo "${ECHO_T}$hard_links" >&6
6648 if test "$hard_links" = no; then
6649 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6650 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6657 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6658 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6661 allow_undefined_flag=
6662 enable_shared_with_static_runtimes=no
6664 archive_expsym_cmds=
6665 old_archive_From_new_cmds=
6666 old_archive_from_expsyms_cmds=
6667 export_dynamic_flag_spec=
6668 whole_archive_flag_spec=
6669 thread_safe_flag_spec=
6670 hardcode_libdir_flag_spec=
6671 hardcode_libdir_flag_spec_ld=
6672 hardcode_libdir_separator=
6675 hardcode_shlibpath_var=unsupported
6676 link_all_deplibs=unknown
6677 hardcode_automatic=no
6680 always_export_symbols=no
6681 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6682 # include_expsyms should be a list of space-separated symbols to be *always*
6683 # included in the symbol list
6685 # exclude_expsyms can be an extended regexp of symbols to exclude
6686 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6687 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6688 # as well as any symbol that contains `d'.
6689 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6690 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6691 # platforms (ab)use it in PIC code, but their linkers get confused if
6692 # the symbol is explicitly referenced. Since portable code cannot
6693 # rely on this symbol name, it's probably fine to never include it in
6694 # preloaded symbol tables.
6695 extract_expsyms_cmds=
6698 cygwin* | mingw* | pw32*)
6699 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6700 # When not using gcc, we currently assume that we are using
6701 # Microsoft Visual C++.
6702 if test "$GCC" != yes; then
6712 if test "$with_gnu_ld" = yes; then
6713 # If archive_cmds runs LD, not CC, wlarc should be empty
6716 # See if GNU ld supports shared libraries.
6718 aix3* | aix4* | aix5*)
6719 # On AIX/PPC, the GNU linker is very broken
6720 if test "$host_cpu" != ia64; then
6724 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6725 *** to be unable to reliably create shared libraries on AIX.
6726 *** Therefore, libtool is disabling shared libraries support. If you
6727 *** really care for shared libraries, you may want to modify your PATH
6728 *** so that a non-GNU linker is found, and then restart.
6735 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)'
6736 hardcode_libdir_flag_spec='-L$libdir'
6737 hardcode_minus_L=yes
6739 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6740 # that the semantics of dynamic libraries on AmigaOS, at least up
6741 # to version 4, is to share data among multiple programs linked
6742 # with the same dynamic library. Since this doesn't match the
6743 # behavior of shared libraries on other platforms, we can't use
6749 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6750 allow_undefined_flag=unsupported
6751 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6752 # support --undefined. This deserves some investigation. FIXME
6753 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6759 cygwin* | mingw* | pw32*)
6760 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6761 # as there is no search path for DLLs.
6762 hardcode_libdir_flag_spec='-L$libdir'
6763 allow_undefined_flag=unsupported
6764 always_export_symbols=no
6765 enable_shared_with_static_runtimes=yes
6766 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6768 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6769 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6770 # If the export-symbols file already is a .def file (1st line
6771 # is EXPORTS), use it as is; otherwise, prepend...
6772 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6773 cp $export_symbols $output_objdir/$soname.def;
6775 echo EXPORTS > $output_objdir/$soname.def;
6776 cat $export_symbols >> $output_objdir/$soname.def;
6778 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6785 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6786 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6789 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6790 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6795 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6799 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6800 *** create shared libraries on Solaris systems. Therefore, libtool
6801 *** is disabling shared libraries support. We urge you to upgrade GNU
6802 *** binutils to release 2.9.1 or newer. Another option is to modify
6803 *** your PATH or compiler configuration so that the native linker is
6804 *** used, and then restart.
6807 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6808 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6809 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6816 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6819 hardcode_shlibpath_var=no
6823 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6824 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6825 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6832 if test "$ld_shlibs" = yes; then
6833 runpath_var=LD_RUN_PATH
6834 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6835 export_dynamic_flag_spec='${wl}--export-dynamic'
6836 # ancient GNU ld didn't support --whole-archive et. al.
6837 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6838 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6840 whole_archive_flag_spec=
6844 # PORTME fill in a description of your system's linker (not GNU ld)
6847 allow_undefined_flag=unsupported
6848 always_export_symbols=yes
6849 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'
6850 # Note: this linker hardcodes the directories in LIBPATH if there
6851 # are no directories specified by -L.
6852 hardcode_minus_L=yes
6853 if test "$GCC" = yes && test -z "$link_static_flag"; then
6854 # Neither direct hardcoding nor static linking is supported with a
6856 hardcode_direct=unsupported
6861 if test "$host_cpu" = ia64; then
6862 # On IA64, the linker does run time linking by default, so we don't
6863 # have to do anything special.
6864 aix_use_runtimelinking=no
6865 exp_sym_flag='-Bexport'
6868 # If we're using GNU nm, then we don't want the "-C" option.
6869 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6870 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6871 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'
6873 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'
6875 aix_use_runtimelinking=no
6877 # Test if we are trying to use run time linking or normal
6878 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6879 # need to do runtime linking.
6880 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6881 for ld_flag in $LDFLAGS; do
6882 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6883 aix_use_runtimelinking=yes
6889 exp_sym_flag='-bexport'
6890 no_entry_flag='-bnoentry'
6893 # When large executables or shared objects are built, AIX ld can
6894 # have problems creating the table of contents. If linking a library
6895 # or program results in "error TOC overflow" add -mminimal-toc to
6896 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6897 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6901 hardcode_libdir_separator=':'
6902 link_all_deplibs=yes
6904 if test "$GCC" = yes; then
6905 case $host_os in aix4.012|aix4.012.*)
6906 # We only want to do this on AIX 4.2 and lower, the check
6907 # below for broken collect2 doesn't work under 4.3+
6908 collect2name=`${CC} -print-prog-name=collect2`
6909 if test -f "$collect2name" && \
6910 strings "$collect2name" | grep resolve_lib_name >/dev/null
6912 # We have reworked collect2
6915 # We have old collect2
6916 hardcode_direct=unsupported
6917 # It fails to find uninstalled libraries when the uninstalled
6918 # path is not listed in the libpath. Setting hardcode_minus_L
6919 # to unsupported forces relinking
6920 hardcode_minus_L=yes
6921 hardcode_libdir_flag_spec='-L$libdir'
6922 hardcode_libdir_separator=
6925 shared_flag='-shared'
6928 if test "$host_cpu" = ia64; then
6929 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6930 # chokes on -Wl,-G. The following line is correct:
6933 if test "$aix_use_runtimelinking" = yes; then
6934 shared_flag='${wl}-G'
6936 shared_flag='${wl}-bM:SRE'
6941 # It seems that -bexpall does not export symbols beginning with
6942 # underscore (_), so it is better to generate a list of symbols to export.
6943 always_export_symbols=yes
6944 if test "$aix_use_runtimelinking" = yes; then
6945 # Warning - without using the other runtime loading flags (-brtl),
6946 # -berok will link without error, but may produce a broken library.
6947 allow_undefined_flag='-berok'
6948 # Determine the default libpath from the value encoded in an empty executable.
6949 cat >conftest.$ac_ext <<_ACEOF
6950 #line $LINENO "configure"
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6965 rm -f conftest.$ac_objext conftest$ac_exeext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6967 (eval $ac_link) 2>&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } &&
6971 { ac_try='test -s conftest$ac_exeext'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; }; then
6978 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6980 # Check for a 64-bit object if we didn't find anything.
6981 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; }
6984 echo "$as_me: failed program was:" >&5
6985 sed 's/^/| /' conftest.$ac_ext >&5
6988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6991 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6992 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"
6994 if test "$host_cpu" = ia64; then
6995 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6996 allow_undefined_flag="-z nodefs"
6997 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"
6999 # Determine the default libpath from the value encoded in an empty executable.
7000 cat >conftest.$ac_ext <<_ACEOF
7001 #line $LINENO "configure"
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7016 rm -f conftest.$ac_objext conftest$ac_exeext
7017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7018 (eval $ac_link) 2>&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } &&
7022 { ac_try='test -s conftest$ac_exeext'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }; }; then
7029 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7031 # Check for a 64-bit object if we didn't find anything.
7032 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; }
7035 echo "$as_me: failed program was:" >&5
7036 sed 's/^/| /' conftest.$ac_ext >&5
7039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7040 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7042 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7043 # Warning - without using the other run time loading flags,
7044 # -berok will link without error, but may produce a broken library.
7045 no_undefined_flag=' ${wl}-bernotok'
7046 allow_undefined_flag=' ${wl}-berok'
7047 # -bexpall does not export symbols beginning with underscore (_)
7048 always_export_symbols=yes
7049 # Exported symbols can be pulled into shared objects from archives
7050 whole_archive_flag_spec=' '
7051 archive_cmds_need_lc=yes
7052 # This is similar to how AIX traditionally builds it's shared libraries.
7053 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'
7059 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)'
7060 hardcode_libdir_flag_spec='-L$libdir'
7061 hardcode_minus_L=yes
7062 # see comment about different semantics on the GNU ld section
7067 export_dynamic_flag_spec=-rdynamic
7070 cygwin* | mingw* | pw32*)
7071 # When not using gcc, we currently assume that we are using
7072 # Microsoft Visual C++.
7073 # hardcode_libdir_flag_spec is actually meaningless, as there is
7074 # no search path for DLLs.
7075 hardcode_libdir_flag_spec=' '
7076 allow_undefined_flag=unsupported
7077 # Tell ltmain to make .lib files, not .a files.
7079 # Tell ltmain to make .dll files, not .so files.
7081 # FIXME: Setting linknames here is a bad hack.
7082 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7083 # The linker will automatically build a .lib file if we build a DLL.
7084 old_archive_From_new_cmds='true'
7085 # FIXME: Should let the user specify the lib program.
7086 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7087 fix_srcfile_path='`cygpath -w "$srcfile"`'
7088 enable_shared_with_static_runtimes=yes
7091 darwin* | rhapsody*)
7092 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7093 archive_cmds_need_lc=no
7095 rhapsody* | darwin1.[012])
7096 allow_undefined_flag='-undefined suppress'
7099 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7102 # FIXME: Relying on posixy $() will cause problems for
7103 # cross-compilation, but unfortunately the echo tests do not
7104 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7105 # `"' quotes if we put them in here... so don't!
7106 lt_int_apple_cc_single_mod=no
7107 output_verbose_link_cmd='echo'
7108 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7109 lt_int_apple_cc_single_mod=yes
7111 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7112 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7114 archive_cmds='$CC -r ${wl}-bind_at_load -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'
7116 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7117 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7118 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7119 archive_expsym_cmds='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}'
7121 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
7123 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7125 hardcode_automatic=yes
7126 hardcode_shlibpath_var=unsupported
7127 whole_archive_flag_spec='-all_load $convenience'
7128 link_all_deplibs=yes
7133 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7134 hardcode_libdir_flag_spec='-L$libdir'
7135 hardcode_shlibpath_var=no
7142 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7143 # support. Future versions do this automatically, but an explicit c++rt0.o
7144 # does not break anything, and helps significantly (at the cost of a little
7147 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7148 hardcode_libdir_flag_spec='-R$libdir'
7150 hardcode_shlibpath_var=no
7153 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7155 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7157 hardcode_minus_L=yes
7158 hardcode_shlibpath_var=no
7161 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7163 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7164 hardcode_libdir_flag_spec='-R$libdir'
7166 hardcode_shlibpath_var=no
7170 if test "$GCC" = yes; then
7171 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'
7173 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'
7175 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7176 hardcode_libdir_separator=:
7179 # hardcode_minus_L: Not really in the search PATH,
7180 # but as the default location of the library.
7181 hardcode_minus_L=yes
7182 export_dynamic_flag_spec='${wl}-E'
7186 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7189 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7192 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7198 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7201 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7205 if test "$with_gnu_ld" = no; then
7208 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7209 hardcode_libdir_flag_spec_ld='+b $libdir'
7210 hardcode_libdir_separator=:
7212 hardcode_shlibpath_var=no
7215 hardcode_libdir_flag_spec='-L$libdir'
7217 hardcode_shlibpath_var=no
7219 # hardcode_minus_L: Not really in the search PATH,
7220 # but as the default location of the library.
7221 hardcode_minus_L=yes
7224 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7225 hardcode_libdir_separator=:
7227 export_dynamic_flag_spec='${wl}-E'
7229 # hardcode_minus_L: Not really in the search PATH,
7230 # but as the default location of the library.
7231 hardcode_minus_L=yes
7237 irix5* | irix6* | nonstopux*)
7238 if test "$GCC" = yes; then
7239 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'
7241 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'
7242 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7244 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7245 hardcode_libdir_separator=:
7246 link_all_deplibs=yes
7250 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7251 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7253 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7255 hardcode_libdir_flag_spec='-R$libdir'
7257 hardcode_shlibpath_var=no
7261 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7263 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7264 hardcode_libdir_separator=:
7265 hardcode_shlibpath_var=no
7270 hardcode_shlibpath_var=no
7271 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7272 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7273 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7274 export_dynamic_flag_spec='${wl}-E'
7277 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7278 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7279 hardcode_libdir_flag_spec='-R$libdir'
7282 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7283 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7290 hardcode_libdir_flag_spec='-L$libdir'
7291 hardcode_minus_L=yes
7292 allow_undefined_flag=unsupported
7293 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'
7294 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7298 if test "$GCC" = yes; then
7299 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7300 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'
7302 allow_undefined_flag=' -expect_unresolved \*'
7303 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'
7305 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7306 hardcode_libdir_separator=:
7309 osf4* | osf5*) # as osf3* with the addition of -msym flag
7310 if test "$GCC" = yes; then
7311 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7312 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'
7313 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7315 allow_undefined_flag=' -expect_unresolved \*'
7316 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'
7317 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7318 $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'
7320 # Both c and cxx compiler support -rpath directly
7321 hardcode_libdir_flag_spec='-rpath $libdir'
7323 hardcode_libdir_separator=:
7327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7328 hardcode_shlibpath_var=no
7329 export_dynamic_flag_spec='${wl}-Bexport'
7330 runpath_var=LD_RUN_PATH
7331 hardcode_runpath_var=yes
7335 no_undefined_flag=' -z text'
7336 if test "$GCC" = yes; then
7337 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7338 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7339 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7341 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7342 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7343 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7345 hardcode_libdir_flag_spec='-R$libdir'
7346 hardcode_shlibpath_var=no
7348 solaris2.[0-5] | solaris2.[0-5].*) ;;
7349 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7350 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7352 link_all_deplibs=yes
7356 if test "x$host_vendor" = xsequent; then
7357 # Use $CC to link under sequent, because it throws in some extra .o
7358 # files that make .init and .fini sections work.
7359 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7361 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7363 hardcode_libdir_flag_spec='-L$libdir'
7365 hardcode_minus_L=yes
7366 hardcode_shlibpath_var=no
7370 case $host_vendor in
7372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7373 hardcode_direct=yes # is this really true???
7376 ## LD is ld it makes a PLAMLIB
7377 ## CC just makes a GrossModule.
7378 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7379 reload_cmds='$CC -r -o $output$reload_objs'
7383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7384 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7387 runpath_var='LD_RUN_PATH'
7388 hardcode_shlibpath_var=no
7392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7393 hardcode_shlibpath_var=no
7394 export_dynamic_flag_spec='-Bexport'
7398 if test -d /usr/nec; then
7399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7400 hardcode_shlibpath_var=no
7401 runpath_var=LD_RUN_PATH
7402 hardcode_runpath_var=yes
7408 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7411 hardcode_shlibpath_var=no
7412 hardcode_runpath_var=yes
7413 runpath_var=LD_RUN_PATH
7416 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7417 no_undefined_flag='${wl}-z ${wl}text'
7418 if test "$GCC" = yes; then
7419 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7421 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7423 runpath_var='LD_RUN_PATH'
7424 hardcode_shlibpath_var=no
7428 no_undefined_flag=' -z text'
7429 # $CC -shared without GNU ld will not create a library from C++
7430 # object files and a static libstdc++, better avoid it by now
7431 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7432 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7433 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7434 hardcode_libdir_flag_spec=
7435 hardcode_shlibpath_var=no
7436 runpath_var='LD_RUN_PATH'
7440 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7441 hardcode_libdir_flag_spec='-L$libdir'
7442 hardcode_shlibpath_var=no
7451 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7452 echo "${ECHO_T}$ld_shlibs" >&6
7453 test "$ld_shlibs" = no && can_build_shared=no
7455 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7456 if test "$GCC" = yes; then
7457 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7461 # Do we need to explicitly link libc?
7463 case "x$archive_cmds_need_lc" in
7465 # Assume -lc should be added
7466 archive_cmds_need_lc=yes
7468 if test "$enable_shared" = yes && test "$GCC" = yes; then
7469 case $archive_cmds in
7471 # FIXME: we may have to deal with multi-command sequences.
7474 # Test whether the compiler implicitly links with -lc since on some
7475 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7476 # to ld, don't add -lc before -lgcc.
7477 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7478 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7480 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7483 (eval $ac_compile) 2>&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } 2>conftest.err; then
7489 libobjs=conftest.$ac_objext
7491 wl=$lt_prog_compiler_wl
7497 lt_save_allow_undefined_flag=$allow_undefined_flag
7498 allow_undefined_flag=
7499 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7500 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); }
7505 archive_cmds_need_lc=no
7507 archive_cmds_need_lc=yes
7509 allow_undefined_flag=$lt_save_allow_undefined_flag
7511 cat conftest.err 1>&5
7514 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7515 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7522 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7523 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7525 if test -n "$hardcode_libdir_flag_spec" || \
7526 test -n "$runpath_var " || \
7527 test "X$hardcode_automatic"="Xyes" ; then
7529 # We can hardcode non-existant directories.
7530 if test "$hardcode_direct" != no &&
7531 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7532 # have to relink, otherwise we might link with an installed library
7533 # when we should be linking with a yet-to-be-installed one
7534 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7535 test "$hardcode_minus_L" != no; then
7536 # Linking always hardcodes the temporary library directory.
7537 hardcode_action=relink
7539 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7540 hardcode_action=immediate
7543 # We cannot hardcode anything, or else we can only hardcode existing
7545 hardcode_action=unsupported
7547 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7548 echo "${ECHO_T}$hardcode_action" >&6
7550 if test "$hardcode_action" = relink; then
7551 # Fast installation is not supported
7552 enable_fast_install=no
7553 elif test "$shlibpath_overrides_runpath" = yes ||
7554 test "$enable_shared" = no; then
7555 # Fast installation is not necessary
7556 enable_fast_install=needless
7561 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7562 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7563 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7564 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7565 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7566 echo "$as_me:$LINENO: result: yes" >&5
7567 echo "${ECHO_T}yes" >&6
7569 # FIXME - insert some real tests, host_os isn't really good enough
7572 if test -n "$STRIP" ; then
7573 striplib="$STRIP -x"
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7582 echo "$as_me:$LINENO: result: no" >&5
7583 echo "${ECHO_T}no" >&6
7588 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7589 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7591 libname_spec='lib$name'
7599 shlibpath_overrides_runpath=unknown
7601 dynamic_linker="$host_os ld.so"
7602 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7603 if test "$GCC" = yes; then
7604 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7605 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7606 # if the path contains ";" then we assume it to be the separator
7607 # otherwise default to the standard path separator (i.e. ":") - it is
7608 # assumed that no part of a normal pathname contains ";" but that should
7609 # okay in the real world where ";" in dirpaths is itself problematic.
7610 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7612 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7615 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7617 need_lib_prefix=unknown
7618 hardcode_into_libs=no
7620 # when you set need_version to no, make sure it does not cause -set_version
7621 # flags to be left without arguments
7622 need_version=unknown
7627 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7628 shlibpath_var=LIBPATH
7630 # AIX 3 has no versioning support, so we append a major version to the name.
7631 soname_spec='${libname}${release}${shared_ext}$major'
7638 hardcode_into_libs=yes
7639 if test "$host_cpu" = ia64; then
7640 # AIX 5 supports IA64
7641 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7642 shlibpath_var=LD_LIBRARY_PATH
7644 # With GCC up to 2.95.x, collect2 would create an import file
7645 # for dependence libraries. The import file would start with
7646 # the line `#! .'. This would cause the generated library to
7647 # depend on `.', always an invalid library. This was fixed in
7648 # development snapshots of GCC prior to 3.0.
7650 aix4 | aix4.[01] | aix4.[01].*)
7651 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7653 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7660 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7661 # soname into executable. Probably we can add versioning support to
7662 # collect2, so additional links can be useful in future.
7663 if test "$aix_use_runtimelinking" = yes; then
7664 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7665 # instead of lib<name>.a to let people know that these are not
7666 # typical AIX shared libraries.
7667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7669 # We preserve .a as extension for shared libraries through AIX4.2
7670 # and later when we are not doing run time linking.
7671 library_names_spec='${libname}${release}.a $libname.a'
7672 soname_spec='${libname}${release}${shared_ext}$major'
7674 shlibpath_var=LIBPATH
7679 library_names_spec='$libname.ixlibrary $libname.a'
7680 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7681 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'
7685 library_names_spec='${libname}${shared_ext}'
7686 dynamic_linker="$host_os ld.so"
7687 shlibpath_var=LIBRARY_PATH
7693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7694 soname_spec='${libname}${release}${shared_ext}$major'
7695 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7696 shlibpath_var=LD_LIBRARY_PATH
7697 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7698 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7699 # the default ld.so.conf also contains /usr/contrib/lib and
7700 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7701 # libtool to hard-code these into programs
7704 cygwin* | mingw* | pw32*)
7705 version_type=windows
7710 case $GCC,$host_os in
7711 yes,cygwin* | yes,mingw* | yes,pw32*)
7712 library_names_spec='$libname.dll.a'
7713 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7714 postinstall_cmds='base_file=`basename \${file}`~
7715 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7716 dldir=$destdir/`dirname \$dlpath`~
7717 test -d \$dldir || mkdir -p \$dldir~
7718 $install_prog $dir/$dlname \$dldir/$dlname'
7719 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7720 dlpath=$dir/\$dldll~
7722 shlibpath_overrides_runpath=yes
7726 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7727 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7728 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7731 # MinGW DLLs use traditional 'lib' prefix
7732 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7733 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7734 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7735 # It is most probably a Windows format PATH printed by
7736 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7737 # path with ; separators, and with drive letters. We can handle the
7738 # drive letters (cygwin fileutils understands them), so leave them,
7739 # especially as we might pass files found there to a mingw objdump,
7740 # which wouldn't understand a cygwinified path. Ahh.
7741 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7743 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7747 # pw32 DLLs use 'pw' prefix rather than 'lib'
7748 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7754 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7757 dynamic_linker='Win32 ld.exe'
7758 # FIXME: first we should search . and the directory the executable is in
7762 darwin* | rhapsody*)
7763 dynamic_linker="$host_os dyld"
7767 # FIXME: Relying on posixy $() will cause problems for
7768 # cross-compilation, but unfortunately the echo tests do not
7769 # yet detect zsh echo's removal of \ escapes.
7770 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7771 soname_spec='${libname}${release}${major}$shared_ext'
7772 shlibpath_overrides_runpath=yes
7773 shlibpath_var=DYLD_LIBRARY_PATH
7774 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7775 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7776 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7777 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"`
7779 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7787 soname_spec='${libname}${release}${shared_ext}$major'
7788 shlibpath_var=LD_LIBRARY_PATH
7796 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7797 version_type=freebsd-$objformat
7798 case $version_type in
7800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7805 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7809 shlibpath_var=LD_LIBRARY_PATH
7812 shlibpath_overrides_runpath=yes
7814 freebsd3.01* | freebsdelf3.01*)
7815 shlibpath_overrides_runpath=yes
7816 hardcode_into_libs=yes
7819 shlibpath_overrides_runpath=no
7820 hardcode_into_libs=yes
7829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7830 soname_spec='${libname}${release}${shared_ext}$major'
7831 shlibpath_var=LD_LIBRARY_PATH
7832 hardcode_into_libs=yes
7835 hpux9* | hpux10* | hpux11*)
7836 # Give a soname corresponding to the major version so that dld.sl refuses to
7837 # link against other versions.
7844 hardcode_into_libs=yes
7845 dynamic_linker="$host_os dld.so"
7846 shlibpath_var=LD_LIBRARY_PATH
7847 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7849 soname_spec='${libname}${release}${shared_ext}$major'
7850 if test "X$HPUX_IA64_MODE" = X32; then
7851 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7853 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7855 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7859 hardcode_into_libs=yes
7860 dynamic_linker="$host_os dld.sl"
7861 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7862 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7864 soname_spec='${libname}${release}${shared_ext}$major'
7865 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7866 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7870 dynamic_linker="$host_os dld.sl"
7871 shlibpath_var=SHLIB_PATH
7872 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7874 soname_spec='${libname}${release}${shared_ext}$major'
7877 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7878 postinstall_cmds='chmod 555 $lib'
7881 irix5* | irix6* | nonstopux*)
7883 nonstopux*) version_type=nonstopux ;;
7885 if test "$lt_cv_prog_gnu_ld" = yes; then
7893 soname_spec='${libname}${release}${shared_ext}$major'
7894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7896 irix5* | nonstopux*)
7900 case $LD in # libtool.m4 will add one of these switches to LD
7901 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7902 libsuff= shlibsuff= libmagic=32-bit;;
7903 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7904 libsuff=32 shlibsuff=N32 libmagic=N32;;
7905 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7906 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7907 *) libsuff= shlibsuff= libmagic=never-match;;
7911 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7912 shlibpath_overrides_runpath=no
7913 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7914 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7915 hardcode_into_libs=yes
7918 # No shared lib support for Linux oldld, aout, or coff.
7919 linux*oldld* | linux*aout* | linux*coff*)
7923 # This must be Linux ELF.
7928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7929 soname_spec='${libname}${release}${shared_ext}$major'
7930 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7931 shlibpath_var=LD_LIBRARY_PATH
7932 shlibpath_overrides_runpath=no
7933 # This implies no fast_install, which is unacceptable.
7934 # Some rework will be needed to allow for fast_install
7935 # before this can be enabled.
7936 hardcode_into_libs=yes
7938 # We used to test for /lib/ld.so.1 and disable shared libraries on
7939 # powerpc, because MkLinux only supported shared libraries with the
7940 # GNU dynamic linker. Since this was broken with cross compilers,
7941 # most powerpc-linux boxes support dynamic linking these days and
7942 # people can always --disable-shared, the test was removed, and we
7943 # assume the GNU/Linux dynamic linker is in use.
7944 dynamic_linker='GNU/Linux ld.so'
7951 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7953 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7954 dynamic_linker='NetBSD (a.out) ld.so'
7956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7957 soname_spec='${libname}${release}${shared_ext}$major'
7958 dynamic_linker='NetBSD ld.elf_so'
7960 shlibpath_var=LD_LIBRARY_PATH
7961 shlibpath_overrides_runpath=yes
7962 hardcode_into_libs=yes
7967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7968 shlibpath_var=LD_LIBRARY_PATH
7969 shlibpath_overrides_runpath=yes
7976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7977 soname_spec='${libname}${release}${shared_ext}$major'
7978 shlibpath_var=LD_LIBRARY_PATH
7979 shlibpath_overrides_runpath=yes
7986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7987 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7988 shlibpath_var=LD_LIBRARY_PATH
7989 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7991 openbsd2.[89] | openbsd2.[89].*)
7992 shlibpath_overrides_runpath=no
7995 shlibpath_overrides_runpath=yes
7999 shlibpath_overrides_runpath=yes
8004 libname_spec='$name'
8007 library_names_spec='$libname${shared_ext} $libname.a'
8008 dynamic_linker='OS/2 ld.exe'
8009 shlibpath_var=LIBPATH
8012 osf3* | osf4* | osf5*)
8016 soname_spec='${libname}${release}${shared_ext}$major'
8017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8018 shlibpath_var=LD_LIBRARY_PATH
8019 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8020 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8025 soname_spec='${libname}${release}${shared_ext}$major'
8026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8027 shlibpath_var=LD_LIBRARY_PATH
8034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8035 soname_spec='${libname}${release}${shared_ext}$major'
8036 shlibpath_var=LD_LIBRARY_PATH
8037 shlibpath_overrides_runpath=yes
8038 hardcode_into_libs=yes
8039 # ldd complains unless libraries are executable
8040 postinstall_cmds='chmod +x $lib'
8045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8046 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8047 shlibpath_var=LD_LIBRARY_PATH
8048 shlibpath_overrides_runpath=yes
8049 if test "$with_gnu_ld" = yes; then
8055 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8058 soname_spec='${libname}${release}${shared_ext}$major'
8059 shlibpath_var=LD_LIBRARY_PATH
8060 case $host_vendor in
8062 shlibpath_overrides_runpath=no
8064 export_dynamic_flag_spec='${wl}-Blargedynsym'
8065 runpath_var=LD_RUN_PATH
8073 shlibpath_overrides_runpath=no
8074 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8080 if test -d /usr/nec ;then
8082 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8083 soname_spec='$libname${shared_ext}.$major'
8084 shlibpath_var=LD_LIBRARY_PATH
8090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8091 soname_spec='${libname}${release}${shared_ext}$major'
8092 shlibpath_var=LD_LIBRARY_PATH
8099 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8100 echo "${ECHO_T}$dynamic_linker" >&6
8101 test "$dynamic_linker" = no && can_build_shared=no
8103 if test "x$enable_dlopen" != xyes; then
8104 enable_dlopen=unknown
8105 enable_dlopen_self=unknown
8106 enable_dlopen_self_static=unknown
8113 lt_cv_dlopen="load_add_on"
8115 lt_cv_dlopen_self=yes
8119 lt_cv_dlopen="LoadLibrary"
8124 lt_cv_dlopen="dlopen"
8129 # if libdl is installed we need to link against it
8130 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8131 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8132 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 ac_check_lib_save_LIBS=$LIBS
8137 cat >conftest.$ac_ext <<_ACEOF
8138 #line $LINENO "configure"
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h. */
8145 /* Override any gcc2 internal prototype to avoid an error. */
8149 /* We use char because int might match the return type of a gcc2
8150 builtin and then its argument prototype would still apply. */
8160 rm -f conftest.$ac_objext conftest$ac_exeext
8161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8162 (eval $ac_link) 2>&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); } &&
8166 { ac_try='test -s conftest$ac_exeext'
8167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); }; }; then
8172 ac_cv_lib_dl_dlopen=yes
8174 echo "$as_me: failed program was:" >&5
8175 sed 's/^/| /' conftest.$ac_ext >&5
8177 ac_cv_lib_dl_dlopen=no
8179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8180 LIBS=$ac_check_lib_save_LIBS
8182 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8183 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8184 if test $ac_cv_lib_dl_dlopen = yes; then
8185 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8190 lt_cv_dlopen_self=yes
8197 echo "$as_me:$LINENO: checking for shl_load" >&5
8198 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8199 if test "${ac_cv_func_shl_load+set}" = set; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8202 cat >conftest.$ac_ext <<_ACEOF
8203 #line $LINENO "configure"
8206 cat confdefs.h >>conftest.$ac_ext
8207 cat >>conftest.$ac_ext <<_ACEOF
8208 /* end confdefs.h. */
8209 /* System header to define __stub macros and hopefully few prototypes,
8210 which can conflict with char shl_load (); below.
8211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8212 <limits.h> exists even on freestanding compilers. */
8214 # include <limits.h>
8216 # include <assert.h>
8218 /* Override any gcc2 internal prototype to avoid an error. */
8223 /* We use char because int might match the return type of a gcc2
8224 builtin and then its argument prototype would still apply. */
8226 /* The GNU C library defines this for functions which it implements
8227 to always fail with ENOSYS. Some functions are actually named
8228 something starting with __ and the normal name is an alias. */
8229 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8232 char (*f) () = shl_load;
8241 return f != shl_load;
8246 rm -f conftest.$ac_objext conftest$ac_exeext
8247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8248 (eval $ac_link) 2>&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); } &&
8252 { ac_try='test -s conftest$ac_exeext'
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then
8258 ac_cv_func_shl_load=yes
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 ac_cv_func_shl_load=no
8265 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8267 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8268 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8269 if test $ac_cv_func_shl_load = yes; then
8270 lt_cv_dlopen="shl_load"
8272 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8273 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8274 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 ac_check_lib_save_LIBS=$LIBS
8279 cat >conftest.$ac_ext <<_ACEOF
8280 #line $LINENO "configure"
8283 cat confdefs.h >>conftest.$ac_ext
8284 cat >>conftest.$ac_ext <<_ACEOF
8285 /* end confdefs.h. */
8287 /* Override any gcc2 internal prototype to avoid an error. */
8291 /* We use char because int might match the return type of a gcc2
8292 builtin and then its argument prototype would still apply. */
8302 rm -f conftest.$ac_objext conftest$ac_exeext
8303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8304 (eval $ac_link) 2>&5
8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); } &&
8308 { ac_try='test -s conftest$ac_exeext'
8309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); }; }; then
8314 ac_cv_lib_dld_shl_load=yes
8316 echo "$as_me: failed program was:" >&5
8317 sed 's/^/| /' conftest.$ac_ext >&5
8319 ac_cv_lib_dld_shl_load=no
8321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8322 LIBS=$ac_check_lib_save_LIBS
8324 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8325 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8326 if test $ac_cv_lib_dld_shl_load = yes; then
8327 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8329 echo "$as_me:$LINENO: checking for dlopen" >&5
8330 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8331 if test "${ac_cv_func_dlopen+set}" = set; then
8332 echo $ECHO_N "(cached) $ECHO_C" >&6
8334 cat >conftest.$ac_ext <<_ACEOF
8335 #line $LINENO "configure"
8338 cat confdefs.h >>conftest.$ac_ext
8339 cat >>conftest.$ac_ext <<_ACEOF
8340 /* end confdefs.h. */
8341 /* System header to define __stub macros and hopefully few prototypes,
8342 which can conflict with char dlopen (); below.
8343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8344 <limits.h> exists even on freestanding compilers. */
8346 # include <limits.h>
8348 # include <assert.h>
8350 /* Override any gcc2 internal prototype to avoid an error. */
8355 /* We use char because int might match the return type of a gcc2
8356 builtin and then its argument prototype would still apply. */
8358 /* The GNU C library defines this for functions which it implements
8359 to always fail with ENOSYS. Some functions are actually named
8360 something starting with __ and the normal name is an alias. */
8361 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8364 char (*f) () = dlopen;
8378 rm -f conftest.$ac_objext conftest$ac_exeext
8379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8380 (eval $ac_link) 2>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } &&
8384 { ac_try='test -s conftest$ac_exeext'
8385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); }; }; then
8390 ac_cv_func_dlopen=yes
8392 echo "$as_me: failed program was:" >&5
8393 sed 's/^/| /' conftest.$ac_ext >&5
8395 ac_cv_func_dlopen=no
8397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8399 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8400 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8401 if test $ac_cv_func_dlopen = yes; then
8402 lt_cv_dlopen="dlopen"
8404 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8405 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8406 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8409 ac_check_lib_save_LIBS=$LIBS
8411 cat >conftest.$ac_ext <<_ACEOF
8412 #line $LINENO "configure"
8415 cat confdefs.h >>conftest.$ac_ext
8416 cat >>conftest.$ac_ext <<_ACEOF
8417 /* end confdefs.h. */
8419 /* Override any gcc2 internal prototype to avoid an error. */
8423 /* We use char because int might match the return type of a gcc2
8424 builtin and then its argument prototype would still apply. */
8434 rm -f conftest.$ac_objext conftest$ac_exeext
8435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8436 (eval $ac_link) 2>&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); } &&
8440 { ac_try='test -s conftest$ac_exeext'
8441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); }; }; then
8446 ac_cv_lib_dl_dlopen=yes
8448 echo "$as_me: failed program was:" >&5
8449 sed 's/^/| /' conftest.$ac_ext >&5
8451 ac_cv_lib_dl_dlopen=no
8453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8454 LIBS=$ac_check_lib_save_LIBS
8456 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8457 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8458 if test $ac_cv_lib_dl_dlopen = yes; then
8459 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8461 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8462 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8463 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 ac_check_lib_save_LIBS=$LIBS
8468 cat >conftest.$ac_ext <<_ACEOF
8469 #line $LINENO "configure"
8472 cat confdefs.h >>conftest.$ac_ext
8473 cat >>conftest.$ac_ext <<_ACEOF
8474 /* end confdefs.h. */
8476 /* Override any gcc2 internal prototype to avoid an error. */
8480 /* We use char because int might match the return type of a gcc2
8481 builtin and then its argument prototype would still apply. */
8491 rm -f conftest.$ac_objext conftest$ac_exeext
8492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8493 (eval $ac_link) 2>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); } &&
8497 { ac_try='test -s conftest$ac_exeext'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; }; then
8503 ac_cv_lib_svld_dlopen=yes
8505 echo "$as_me: failed program was:" >&5
8506 sed 's/^/| /' conftest.$ac_ext >&5
8508 ac_cv_lib_svld_dlopen=no
8510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8511 LIBS=$ac_check_lib_save_LIBS
8513 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8514 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8515 if test $ac_cv_lib_svld_dlopen = yes; then
8516 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8518 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8519 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8520 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 ac_check_lib_save_LIBS=$LIBS
8525 cat >conftest.$ac_ext <<_ACEOF
8526 #line $LINENO "configure"
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8533 /* Override any gcc2 internal prototype to avoid an error. */
8537 /* We use char because int might match the return type of a gcc2
8538 builtin and then its argument prototype would still apply. */
8548 rm -f conftest.$ac_objext conftest$ac_exeext
8549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8550 (eval $ac_link) 2>&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } &&
8554 { ac_try='test -s conftest$ac_exeext'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; }; then
8560 ac_cv_lib_dld_dld_link=yes
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8565 ac_cv_lib_dld_dld_link=no
8567 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8568 LIBS=$ac_check_lib_save_LIBS
8570 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8571 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8572 if test $ac_cv_lib_dld_dld_link = yes; then
8573 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8594 if test "x$lt_cv_dlopen" != xno; then
8600 case $lt_cv_dlopen in
8602 save_CPPFLAGS="$CPPFLAGS"
8603 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8605 save_LDFLAGS="$LDFLAGS"
8606 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8609 LIBS="$lt_cv_dlopen_libs $LIBS"
8611 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8612 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8613 if test "${lt_cv_dlopen_self+set}" = set; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 if test "$cross_compiling" = yes; then :
8617 lt_cv_dlopen_self=cross
8619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8620 lt_status=$lt_dlunknown
8621 cat > conftest.$ac_ext <<EOF
8622 #line 8622 "configure"
8623 #include "confdefs.h"
8632 # define LT_DLGLOBAL RTLD_GLOBAL
8635 # define LT_DLGLOBAL DL_GLOBAL
8637 # define LT_DLGLOBAL 0
8641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8642 find out it does not work in some platform. */
8643 #ifndef LT_DLLAZY_OR_NOW
8645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8648 # define LT_DLLAZY_OR_NOW DL_LAZY
8651 # define LT_DLLAZY_OR_NOW RTLD_NOW
8654 # define LT_DLLAZY_OR_NOW DL_NOW
8656 # define LT_DLLAZY_OR_NOW 0
8664 extern "C" void exit (int);
8667 void fnord() { int i=42;}
8670 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8671 int status = $lt_dlunknown;
8675 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8676 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8677 /* dlclose (self); */
8683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8684 (eval $ac_link) 2>&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8688 (./conftest; exit; ) 2>/dev/null
8691 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8692 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8693 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8696 # compilation failed
8697 lt_cv_dlopen_self=no
8704 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8705 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8707 if test "x$lt_cv_dlopen_self" = xyes; then
8708 LDFLAGS="$LDFLAGS $link_static_flag"
8709 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8710 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8711 if test "${lt_cv_dlopen_self_static+set}" = set; then
8712 echo $ECHO_N "(cached) $ECHO_C" >&6
8714 if test "$cross_compiling" = yes; then :
8715 lt_cv_dlopen_self_static=cross
8717 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8718 lt_status=$lt_dlunknown
8719 cat > conftest.$ac_ext <<EOF
8720 #line 8720 "configure"
8721 #include "confdefs.h"
8730 # define LT_DLGLOBAL RTLD_GLOBAL
8733 # define LT_DLGLOBAL DL_GLOBAL
8735 # define LT_DLGLOBAL 0
8739 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8740 find out it does not work in some platform. */
8741 #ifndef LT_DLLAZY_OR_NOW
8743 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8746 # define LT_DLLAZY_OR_NOW DL_LAZY
8749 # define LT_DLLAZY_OR_NOW RTLD_NOW
8752 # define LT_DLLAZY_OR_NOW DL_NOW
8754 # define LT_DLLAZY_OR_NOW 0
8762 extern "C" void exit (int);
8765 void fnord() { int i=42;}
8768 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8769 int status = $lt_dlunknown;
8773 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8774 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8775 /* dlclose (self); */
8781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8782 (eval $ac_link) 2>&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8786 (./conftest; exit; ) 2>/dev/null
8789 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8790 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8791 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8794 # compilation failed
8795 lt_cv_dlopen_self_static=no
8802 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8803 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8806 CPPFLAGS="$save_CPPFLAGS"
8807 LDFLAGS="$save_LDFLAGS"
8812 case $lt_cv_dlopen_self in
8813 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8814 *) enable_dlopen_self=unknown ;;
8817 case $lt_cv_dlopen_self_static in
8818 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8819 *) enable_dlopen_self_static=unknown ;;
8824 # Report which librarie types wil actually be built
8825 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8826 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8827 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8828 echo "${ECHO_T}$can_build_shared" >&6
8830 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8831 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8832 test "$can_build_shared" = "no" && enable_shared=no
8834 # On AIX, shared libraries and static libraries use the same namespace, and
8835 # are all built from PIC.
8838 test "$enable_shared" = yes && enable_static=no
8839 if test -n "$RANLIB"; then
8840 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8841 postinstall_cmds='$RANLIB $lib'
8846 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8847 test "$enable_shared" = yes && enable_static=no
8850 darwin* | rhapsody*)
8851 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8852 archive_cmds_need_lc=no
8854 rhapsody* | darwin1.[012])
8855 allow_undefined_flag='-undefined suppress'
8858 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8861 # FIXME: Relying on posixy $() will cause problems for
8862 # cross-compilation, but unfortunately the echo tests do not
8863 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8864 # `"' quotes if we put them in here... so don't!
8865 output_verbose_link_cmd='echo'
8866 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8867 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8868 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8869 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}'
8870 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8872 hardcode_automatic=yes
8873 hardcode_shlibpath_var=unsupported
8874 whole_archive_flag_spec='-all_load $convenience'
8875 link_all_deplibs=yes
8879 echo "$as_me:$LINENO: result: $enable_shared" >&5
8880 echo "${ECHO_T}$enable_shared" >&6
8882 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8883 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8884 # Make sure either enable_shared or enable_static is yes.
8885 test "$enable_shared" = yes || enable_static=yes
8886 echo "$as_me:$LINENO: result: $enable_static" >&5
8887 echo "${ECHO_T}$enable_static" >&6
8889 # The else clause should only fire when bootstrapping the
8890 # libtool distribution, otherwise you forgot to ship ltmain.sh
8891 # with your package, and you will get complaints that there are
8892 # no rules to generate ltmain.sh.
8893 if test -f "$ltmain"; then
8894 # See if we are running on zsh, and set the options which allow our commands through
8895 # without removal of \ escapes.
8896 if test -n "${ZSH_VERSION+set}" ; then
8897 setopt NO_GLOB_SUBST
8899 # Now quote all the things that may contain metacharacters while being
8900 # careful not to overquote the AC_SUBSTed values. We take copies of the
8901 # variables and quote the copies for generation of the libtool script.
8902 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8903 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8904 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8905 deplibs_check_method reload_flag reload_cmds need_locks \
8906 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8907 lt_cv_sys_global_symbol_to_c_name_address \
8908 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8909 old_postinstall_cmds old_postuninstall_cmds \
8913 lt_prog_compiler_wl \
8914 lt_prog_compiler_pic \
8915 lt_prog_compiler_static \
8916 lt_prog_compiler_no_builtin_flag \
8917 export_dynamic_flag_spec \
8918 thread_safe_flag_spec \
8919 whole_archive_flag_spec \
8920 enable_shared_with_static_runtimes \
8922 old_archive_from_new_cmds \
8927 compiler_lib_search_path \
8929 archive_expsym_cmds \
8931 postuninstall_cmds \
8932 old_archive_from_expsyms_cmds \
8933 allow_undefined_flag \
8935 export_symbols_cmds \
8936 hardcode_libdir_flag_spec \
8937 hardcode_libdir_flag_spec_ld \
8938 hardcode_libdir_separator \
8939 hardcode_automatic \
8941 module_expsym_cmds \
8942 lt_cv_prog_compiler_c_o \
8947 old_archive_cmds | \
8948 old_archive_from_new_cmds | \
8950 archive_expsym_cmds | \
8952 module_expsym_cmds | \
8953 old_archive_from_expsyms_cmds | \
8954 export_symbols_cmds | \
8955 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8956 postinstall_cmds | postuninstall_cmds | \
8957 old_postinstall_cmds | old_postuninstall_cmds | \
8958 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8959 # Double-quote double-evaled strings.
8960 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8963 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8969 *'\$0 --fallback-echo"')
8970 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8975 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8977 { echo "$as_me:$LINENO: creating $ofile" >&5
8978 echo "$as_me: creating $ofile" >&6;}
8980 cat <<__EOF__ >> "$cfgfile"
8983 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8984 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8985 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8987 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8988 # Free Software Foundation, Inc.
8990 # This file is part of GNU Libtool:
8991 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8993 # This program is free software; you can redistribute it and/or modify
8994 # it under the terms of the GNU General Public License as published by
8995 # the Free Software Foundation; either version 2 of the License, or
8996 # (at your option) any later version.
8998 # This program is distributed in the hope that it will be useful, but
8999 # WITHOUT ANY WARRANTY; without even the implied warranty of
9000 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9001 # General Public License for more details.
9003 # You should have received a copy of the GNU General Public License
9004 # along with this program; if not, write to the Free Software
9005 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9007 # As a special exception to the GNU General Public License, if you
9008 # distribute this file as part of a program that contains a
9009 # configuration script generated by Autoconf, you may include it under
9010 # the same distribution terms that you use for the rest of that program.
9012 # A sed program that does not truncate output.
9015 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9016 Xsed="$SED -e s/^X//"
9018 # The HP-UX ksh and POSIX shell print the target directory to stdout
9020 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9022 # The names of the tagged configurations supported by this script.
9025 # ### BEGIN LIBTOOL CONFIG
9027 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9029 # Shell to use when invoking shell scripts.
9032 # Whether or not to build shared libraries.
9033 build_libtool_libs=$enable_shared
9035 # Whether or not to build static libraries.
9036 build_old_libs=$enable_static
9038 # Whether or not to add -lc for building shared libraries.
9039 build_libtool_need_lc=$archive_cmds_need_lc
9041 # Whether or not to disallow shared libs when runtime libs are static
9042 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9044 # Whether or not to optimize for fast installation.
9045 fast_install=$enable_fast_install
9048 host_alias=$host_alias
9051 # An echo program that does not interpret backslashes.
9056 AR_FLAGS=$lt_AR_FLAGS
9061 # A language-specific compiler.
9064 # Is the compiler the GNU C compiler?
9070 # The linker used to build libraries.
9073 # Whether we need hard or soft links.
9076 # A BSD-compatible nm program.
9079 # A symbol stripping program
9082 # Used to examine libraries when file_magic_cmd begins "file"
9083 MAGIC_CMD=$MAGIC_CMD
9085 # Used on cygwin: DLL creation program.
9088 # Used on cygwin: object dumper.
9091 # Used on cygwin: assembler.
9094 # The name of the directory that contains temporary libtool files.
9097 # How to create reloadable object files.
9098 reload_flag=$lt_reload_flag
9099 reload_cmds=$lt_reload_cmds
9101 # How to pass a linker flag through the compiler.
9102 wl=$lt_lt_prog_compiler_wl
9104 # Object file suffix (normally "o").
9107 # Old archive suffix (normally "a").
9110 # Shared library suffix (normally ".so").
9113 # Executable file suffix (normally "").
9116 # Additional compiler flags for building library objects.
9117 pic_flag=$lt_lt_prog_compiler_pic
9120 # What is the maximum length of a command?
9121 max_cmd_len=$lt_cv_sys_max_cmd_len
9123 # Does compiler simultaneously support -c and -o options?
9124 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9126 # Must we lock files when doing compilation ?
9127 need_locks=$lt_need_locks
9129 # Do we need the lib prefix for modules?
9130 need_lib_prefix=$need_lib_prefix
9132 # Do we need a version for libraries?
9133 need_version=$need_version
9135 # Whether dlopen is supported.
9136 dlopen_support=$enable_dlopen
9138 # Whether dlopen of programs is supported.
9139 dlopen_self=$enable_dlopen_self
9141 # Whether dlopen of statically linked programs is supported.
9142 dlopen_self_static=$enable_dlopen_self_static
9144 # Compiler flag to prevent dynamic linking.
9145 link_static_flag=$lt_lt_prog_compiler_static
9147 # Compiler flag to turn off builtin functions.
9148 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9150 # Compiler flag to allow reflexive dlopens.
9151 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9153 # Compiler flag to generate shared objects directly from archives.
9154 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9156 # Compiler flag to generate thread-safe objects.
9157 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9159 # Library versioning type.
9160 version_type=$version_type
9162 # Format of library name prefix.
9163 libname_spec=$lt_libname_spec
9165 # List of archive names. First name is the real one, the rest are links.
9166 # The last name is the one that the linker finds with -lNAME.
9167 library_names_spec=$lt_library_names_spec
9169 # The coded name of the library, if different from the real name.
9170 soname_spec=$lt_soname_spec
9172 # Commands used to build and install an old-style archive.
9174 old_archive_cmds=$lt_old_archive_cmds
9175 old_postinstall_cmds=$lt_old_postinstall_cmds
9176 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9178 # Create an old-style archive from a shared archive.
9179 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9181 # Create a temporary old-style archive to link instead of a shared archive.
9182 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9184 # Commands used to build and install a shared archive.
9185 archive_cmds=$lt_archive_cmds
9186 archive_expsym_cmds=$lt_archive_expsym_cmds
9187 postinstall_cmds=$lt_postinstall_cmds
9188 postuninstall_cmds=$lt_postuninstall_cmds
9190 # Commands used to build a loadable module (assumed same as above if empty)
9191 module_cmds=$lt_module_cmds
9192 module_expsym_cmds=$lt_module_expsym_cmds
9194 # Commands to strip libraries.
9195 old_striplib=$lt_old_striplib
9196 striplib=$lt_striplib
9198 # Dependencies to place before the objects being linked to create a
9200 predep_objects=$lt_predep_objects
9202 # Dependencies to place after the objects being linked to create a
9204 postdep_objects=$lt_postdep_objects
9206 # Dependencies to place before the objects being linked to create a
9210 # Dependencies to place after the objects being linked to create a
9212 postdeps=$lt_postdeps
9214 # The library search path used internally by the compiler when linking
9216 compiler_lib_search_path=$lt_compiler_lib_search_path
9218 # Method to check whether dependent libraries are shared objects.
9219 deplibs_check_method=$lt_deplibs_check_method
9221 # Command to use when deplibs_check_method == file_magic.
9222 file_magic_cmd=$lt_file_magic_cmd
9224 # Flag that allows shared libraries with undefined symbols to be built.
9225 allow_undefined_flag=$lt_allow_undefined_flag
9227 # Flag that forces no undefined symbols.
9228 no_undefined_flag=$lt_no_undefined_flag
9230 # Commands used to finish a libtool library installation in a directory.
9231 finish_cmds=$lt_finish_cmds
9233 # Same as above, but a single script fragment to be evaled but not shown.
9234 finish_eval=$lt_finish_eval
9236 # Take the output of nm and produce a listing of raw symbols and C names.
9237 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9239 # Transform the output of nm in a proper C declaration
9240 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9242 # Transform the output of nm in a C name address pair
9243 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9245 # This is the shared library runtime path variable.
9246 runpath_var=$runpath_var
9248 # This is the shared library path variable.
9249 shlibpath_var=$shlibpath_var
9251 # Is shlibpath searched before the hard-coded library search path?
9252 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9254 # How to hardcode a shared library path into an executable.
9255 hardcode_action=$hardcode_action
9257 # Whether we should hardcode library paths into libraries.
9258 hardcode_into_libs=$hardcode_into_libs
9260 # Flag to hardcode \$libdir into a binary during linking.
9261 # This must work even if \$libdir does not exist.
9262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9264 # If ld is used when linking, flag to hardcode \$libdir into
9265 # a binary during linking. This must work even if \$libdir does
9267 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9269 # Whether we need a single -rpath flag with a separated argument.
9270 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9272 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9274 hardcode_direct=$hardcode_direct
9276 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9278 hardcode_minus_L=$hardcode_minus_L
9280 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9281 # the resulting binary.
9282 hardcode_shlibpath_var=$hardcode_shlibpath_var
9284 # Set to yes if building a shared library automatically hardcodes DIR into the library
9285 # and all subsequent libraries and executables linked against it.
9286 hardcode_automatic=$hardcode_automatic
9288 # Variables whose values should be saved in libtool wrapper scripts and
9289 # restored at relink time.
9290 variables_saved_for_relink="$variables_saved_for_relink"
9292 # Whether libtool must link a program against all its dependency libraries.
9293 link_all_deplibs=$link_all_deplibs
9295 # Compile-time system search path for libraries
9296 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9298 # Run-time system search path for libraries
9299 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9301 # Fix the shell variable \$srcfile for the compiler.
9302 fix_srcfile_path="$fix_srcfile_path"
9304 # Set to yes if exported symbols are required.
9305 always_export_symbols=$always_export_symbols
9307 # The commands to list exported symbols.
9308 export_symbols_cmds=$lt_export_symbols_cmds
9310 # The commands to extract the exported symbol list from a shared archive.
9311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9313 # Symbols that should not be listed in the preloaded symbols.
9314 exclude_expsyms=$lt_exclude_expsyms
9316 # Symbols that must always be exported.
9317 include_expsyms=$lt_include_expsyms
9319 # ### END LIBTOOL CONFIG
9326 cat <<\EOF >> "$cfgfile"
9328 # AIX sometimes has problems with the GCC collect2 program. For some
9329 # reason, if we set the COLLECT_NAMES environment variable, the problems
9330 # vanish in a puff of smoke.
9331 if test "X${COLLECT_NAMES+set}" != Xset; then
9333 export COLLECT_NAMES
9339 # We use sed instead of cat because bash on DJGPP gets confused if
9340 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9341 # text mode, it properly converts lines to CR/LF. This bash problem
9342 # is reportedly fixed, but why not run on old versions too?
9343 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9345 mv -f "$cfgfile" "$ofile" || \
9346 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9350 # If there is no Makefile yet, we rely on a make rule to execute
9351 # `config.status --recheck' to rerun these tests and create the
9352 # libtool script then.
9353 test -f Makefile && make "$ltmain"
9358 ac_cpp='$CPP $CPPFLAGS'
9359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9366 # Check whether --with-tags or --without-tags was given.
9367 if test "${with_tags+set}" = set; then
9368 withval="$with_tags"
9372 if test -f "$ltmain" && test -n "$tagnames"; then
9373 if test ! -f "${ofile}"; then
9374 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9375 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9378 if test -z "$LTCC"; then
9379 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9380 if test -z "$LTCC"; then
9381 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9382 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9384 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9385 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9389 # Extract list of available tagged configurations in $ofile.
9390 # Note that this assumes the entire list is on one line.
9391 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9393 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9394 for tagname in $tagnames; do
9396 # Check whether tagname contains only valid characters
9397 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9399 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9400 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9401 { (exit 1); exit 1; }; }
9405 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9407 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9408 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9409 { (exit 1); exit 1; }; }
9412 # Update the list of available tags.
9413 if test -n "$tagname"; then
9414 echo appending configuration tag \"$tagname\" to $ofile
9418 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9420 ac_cpp='$CXXCPP $CPPFLAGS'
9421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9428 archive_cmds_need_lc_CXX=no
9429 allow_undefined_flag_CXX=
9430 always_export_symbols_CXX=no
9431 archive_expsym_cmds_CXX=
9432 export_dynamic_flag_spec_CXX=
9433 hardcode_direct_CXX=no
9434 hardcode_libdir_flag_spec_CXX=
9435 hardcode_libdir_flag_spec_ld_CXX=
9436 hardcode_libdir_separator_CXX=
9437 hardcode_minus_L_CXX=no
9438 hardcode_automatic_CXX=no
9440 module_expsym_cmds_CXX=
9441 link_all_deplibs_CXX=unknown
9442 old_archive_cmds_CXX=$old_archive_cmds
9443 no_undefined_flag_CXX=
9444 whole_archive_flag_spec_CXX=
9445 enable_shared_with_static_runtimes_CXX=no
9447 # Dependencies to place before and after the object being linked:
9449 postdep_objects_CXX=
9452 compiler_lib_search_path_CXX=
9454 # Source file extension for C++ test sources.
9457 # Object file extension for compiled C++ test sources.
9461 # Code to be used in simple compile tests
9462 lt_simple_compile_test_code="int some_variable = 0;\n"
9464 # Code to be used in simple link tests
9465 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9467 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9469 # If no C compiler was specified, use CC.
9472 # Allow CC to be a program name with arguments.
9476 # Allow CC to be a program name with arguments.
9481 lt_save_with_gnu_ld=$with_gnu_ld
9482 lt_save_path_LD=$lt_cv_path_LD
9483 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9484 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9486 unset lt_cv_prog_gnu_ld
9488 if test -n "${lt_cv_path_LDCXX+set}"; then
9489 lt_cv_path_LD=$lt_cv_path_LDCXX
9493 test -z "${LDCXX+set}" || LD=$LDCXX
9497 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9499 # We don't want -fno-exception wen compiling C++ code, so set the
9500 # no_builtin_flag separately
9501 if test "$GXX" = yes; then
9502 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9504 lt_prog_compiler_no_builtin_flag_CXX=
9507 if test "$GXX" = yes; then
9508 # Set up default GNU C++ configuration
9511 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9512 if test "${with_gnu_ld+set}" = set; then
9513 withval="$with_gnu_ld"
9514 test "$withval" = no || with_gnu_ld=yes
9519 if test "$GCC" = yes; then
9520 # Check if gcc -print-prog-name=ld gives a path.
9521 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9522 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9525 # gcc leaves a trailing carriage return which upsets mingw
9526 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9528 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9531 # Accept absolute paths.
9533 re_direlt='/[^/][^/]*/\.\./'
9534 # Canonicalize the path of ld
9535 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9536 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9537 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9539 test -z "$LD" && LD="$ac_prog"
9542 # If it fails, then pretend we aren't using GCC.
9546 # If it is relative, then search for the first ld in PATH.
9550 elif test "$with_gnu_ld" = yes; then
9551 echo "$as_me:$LINENO: checking for GNU ld" >&5
9552 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9554 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9555 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9557 if test "${lt_cv_path_LD+set}" = set; then
9558 echo $ECHO_N "(cached) $ECHO_C" >&6
9560 if test -z "$LD"; then
9561 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9562 for ac_dir in $PATH; do
9564 test -z "$ac_dir" && ac_dir=.
9565 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9566 lt_cv_path_LD="$ac_dir/$ac_prog"
9567 # Check to see if the program is GNU ld. I'd rather use --version,
9568 # but apparently some GNU ld's only accept -v.
9569 # Break only if it was the GNU/non-GNU ld that we prefer.
9570 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9571 *GNU* | *'with BFD'*)
9572 test "$with_gnu_ld" != no && break
9575 test "$with_gnu_ld" != yes && break
9582 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9587 if test -n "$LD"; then
9588 echo "$as_me:$LINENO: result: $LD" >&5
9589 echo "${ECHO_T}$LD" >&6
9591 echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6
9594 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9595 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9596 { (exit 1); exit 1; }; }
9597 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9598 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9599 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9600 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9603 case `"$LD" -v 2>&1 </dev/null` in
9604 *GNU* | *'with BFD'*)
9605 lt_cv_prog_gnu_ld=yes
9608 lt_cv_prog_gnu_ld=no
9612 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9613 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9614 with_gnu_ld=$lt_cv_prog_gnu_ld
9618 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9619 # archiving commands below assume that GNU ld is being used.
9620 if test "$with_gnu_ld" = yes; then
9621 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9622 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'
9624 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9625 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9627 # If archive_cmds runs LD, not CC, wlarc should be empty
9628 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9629 # investigate it a little bit more. (MM)
9632 # ancient GNU ld didn't support --whole-archive et. al.
9633 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9634 grep 'no-whole-archive' > /dev/null; then
9635 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9637 whole_archive_flag_spec_CXX=
9643 # A generic and very simple default shared library creation
9644 # command for GNU C++ for the case where it uses the native
9645 # linker, instead of GNU ld. If possible, this setting should
9646 # overridden to take advantage of the native linker features on
9647 # the platform it is being used on.
9648 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9651 # Commands to make compiler produce verbose output that lists
9652 # what "hidden" libraries, object files and flags are used when
9653 # linking a shared library.
9654 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9662 # PORTME: fill in a description of your system's C++ link characteristics
9663 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9664 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9668 # FIXME: insert proper C++ library support
9672 if test "$host_cpu" = ia64; then
9673 # On IA64, the linker does run time linking by default, so we don't
9674 # have to do anything special.
9675 aix_use_runtimelinking=no
9676 exp_sym_flag='-Bexport'
9679 aix_use_runtimelinking=no
9681 # Test if we are trying to use run time linking or normal
9682 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9683 # need to do runtime linking.
9684 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9685 for ld_flag in $LDFLAGS; do
9688 aix_use_runtimelinking=yes
9695 exp_sym_flag='-bexport'
9696 no_entry_flag='-bnoentry'
9699 # When large executables or shared objects are built, AIX ld can
9700 # have problems creating the table of contents. If linking a library
9701 # or program results in "error TOC overflow" add -mminimal-toc to
9702 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9703 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9706 hardcode_direct_CXX=yes
9707 hardcode_libdir_separator_CXX=':'
9708 link_all_deplibs_CXX=yes
9710 if test "$GXX" = yes; then
9711 case $host_os in aix4.012|aix4.012.*)
9712 # We only want to do this on AIX 4.2 and lower, the check
9713 # below for broken collect2 doesn't work under 4.3+
9714 collect2name=`${CC} -print-prog-name=collect2`
9715 if test -f "$collect2name" && \
9716 strings "$collect2name" | grep resolve_lib_name >/dev/null
9718 # We have reworked collect2
9719 hardcode_direct_CXX=yes
9721 # We have old collect2
9722 hardcode_direct_CXX=unsupported
9723 # It fails to find uninstalled libraries when the uninstalled
9724 # path is not listed in the libpath. Setting hardcode_minus_L
9725 # to unsupported forces relinking
9726 hardcode_minus_L_CXX=yes
9727 hardcode_libdir_flag_spec_CXX='-L$libdir'
9728 hardcode_libdir_separator_CXX=
9731 shared_flag='-shared'
9734 if test "$host_cpu" = ia64; then
9735 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9736 # chokes on -Wl,-G. The following line is correct:
9739 if test "$aix_use_runtimelinking" = yes; then
9740 shared_flag='${wl}-G'
9742 shared_flag='${wl}-bM:SRE'
9747 # It seems that -bexpall does not export symbols beginning with
9748 # underscore (_), so it is better to generate a list of symbols to export.
9749 always_export_symbols_CXX=yes
9750 if test "$aix_use_runtimelinking" = yes; then
9751 # Warning - without using the other runtime loading flags (-brtl),
9752 # -berok will link without error, but may produce a broken library.
9753 allow_undefined_flag_CXX='-berok'
9754 # Determine the default libpath from the value encoded in an empty executable.
9755 cat >conftest.$ac_ext <<_ACEOF
9756 #line $LINENO "configure"
9759 cat confdefs.h >>conftest.$ac_ext
9760 cat >>conftest.$ac_ext <<_ACEOF
9761 /* end confdefs.h. */
9771 rm -f conftest.$ac_objext conftest$ac_exeext
9772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9773 (eval $ac_link) 2>&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); } &&
9777 { ac_try='test -s conftest$ac_exeext'
9778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); }; }; then
9784 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9786 # Check for a 64-bit object if we didn't find anything.
9787 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; }
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.$ac_ext >&5
9794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9795 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9797 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9799 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"
9801 if test "$host_cpu" = ia64; then
9802 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9803 allow_undefined_flag_CXX="-z nodefs"
9804 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"
9806 # Determine the default libpath from the value encoded in an empty executable.
9807 cat >conftest.$ac_ext <<_ACEOF
9808 #line $LINENO "configure"
9811 cat confdefs.h >>conftest.$ac_ext
9812 cat >>conftest.$ac_ext <<_ACEOF
9813 /* end confdefs.h. */
9823 rm -f conftest.$ac_objext conftest$ac_exeext
9824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9825 (eval $ac_link) 2>&5
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); } &&
9829 { ac_try='test -s conftest$ac_exeext'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; }; then
9836 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9838 # Check for a 64-bit object if we didn't find anything.
9839 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; }
9842 echo "$as_me: failed program was:" >&5
9843 sed 's/^/| /' conftest.$ac_ext >&5
9846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9847 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9849 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9850 # Warning - without using the other run time loading flags,
9851 # -berok will link without error, but may produce a broken library.
9852 no_undefined_flag_CXX=' ${wl}-bernotok'
9853 allow_undefined_flag_CXX=' ${wl}-berok'
9854 # -bexpall does not export symbols beginning with underscore (_)
9855 always_export_symbols_CXX=yes
9856 # Exported symbols can be pulled into shared objects from archives
9857 whole_archive_flag_spec_CXX=' '
9858 archive_cmds_need_lc_CXX=yes
9859 # This is similar to how AIX traditionally builds it's shared libraries.
9860 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'
9865 case $cc_basename in
9867 # FIXME: insert proper C++ library support
9873 cygwin* | mingw* | pw32*)
9874 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9875 # as there is no search path for DLLs.
9876 hardcode_libdir_flag_spec_CXX='-L$libdir'
9877 allow_undefined_flag_CXX=unsupported
9878 always_export_symbols_CXX=no
9879 enable_shared_with_static_runtimes_CXX=yes
9881 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9882 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'
9883 # If the export-symbols file already is a .def file (1st line
9884 # is EXPORTS), use it as is; otherwise, prepend...
9885 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9886 cp $export_symbols $output_objdir/$soname.def;
9888 echo EXPORTS > $output_objdir/$soname.def;
9889 cat $export_symbols >> $output_objdir/$soname.def;
9891 $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'
9897 darwin* | rhapsody*)
9898 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9899 archive_cmds_need_lc_CXX=no
9901 rhapsody* | darwin1.[012])
9902 allow_undefined_flag_CXX='-undefined suppress'
9905 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9908 lt_int_apple_cc_single_mod=no
9909 output_verbose_link_cmd='echo'
9910 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9911 lt_int_apple_cc_single_mod=yes
9913 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9914 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9916 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
9918 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9920 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9921 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9922 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}'
9924 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
9926 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9927 hardcode_direct_CXX=no
9928 hardcode_automatic_CXX=yes
9929 hardcode_shlibpath_var_CXX=unsupported
9930 whole_archive_flag_spec_CXX='-all_load $convenience'
9931 link_all_deplibs_CXX=yes
9936 case $cc_basename in
9938 # FIXME: insert proper C++ library support
9942 # Green Hills C++ Compiler
9943 # FIXME: insert proper C++ library support
9947 # FIXME: insert proper C++ library support
9953 # C++ shared libraries reported to be fairly broken before switch to ELF
9957 archive_cmds_need_lc_CXX=no
9960 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9967 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9968 hardcode_libdir_separator_CXX=:
9969 export_dynamic_flag_spec_CXX='${wl}-E'
9970 hardcode_direct_CXX=yes
9971 hardcode_minus_L_CXX=yes # Not in the search PATH,
9972 # but as the default
9973 # location of the library.
9975 case $cc_basename in
9977 # FIXME: insert proper C++ library support
9981 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'
9982 # Commands to make compiler produce verbose output that lists
9983 # what "hidden" libraries, object files and flags are used when
9984 # linking a shared library.
9986 # There doesn't appear to be a way to prevent this compiler from
9987 # explicitly linking system object files so we need to strip them
9988 # from the output so that they don't get included in the library
9990 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
9993 if test "$GXX" = yes; then
9994 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'
9996 # FIXME: insert proper C++ library support
10003 if test $with_gnu_ld = no; then
10004 case "$host_cpu" in
10006 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10007 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10008 hardcode_libdir_separator_CXX=:
10011 hardcode_libdir_flag_spec_CXX='-L$libdir'
10014 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10015 hardcode_libdir_separator_CXX=:
10016 export_dynamic_flag_spec_CXX='${wl}-E'
10020 case "$host_cpu" in
10022 hardcode_direct_CXX=no
10023 hardcode_shlibpath_var_CXX=no
10026 hardcode_direct_CXX=no
10027 hardcode_shlibpath_var_CXX=no
10028 hardcode_minus_L_CXX=yes # Not in the search PATH,
10029 # but as the default
10030 # location of the library.
10033 hardcode_direct_CXX=yes
10034 hardcode_minus_L_CXX=yes # Not in the search PATH,
10035 # but as the default
10036 # location of the library.
10040 case $cc_basename in
10042 # FIXME: insert proper C++ library support
10046 case "$host_cpu" in
10048 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10051 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10054 # Commands to make compiler produce verbose output that lists
10055 # what "hidden" libraries, object files and flags are used when
10056 # linking a shared library.
10058 # There doesn't appear to be a way to prevent this compiler from
10059 # explicitly linking system object files so we need to strip them
10060 # from the output so that they don't get included in the library
10062 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'
10065 if test "$GXX" = yes; then
10066 if test $with_gnu_ld = no; then
10067 case "$host_cpu" in
10069 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10072 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'
10077 # FIXME: insert proper C++ library support
10084 case $cc_basename in
10087 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'
10089 # Archives containing C++ object files must be created using
10090 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10091 # necessary to make sure instantiated templates are included
10093 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10096 if test "$GXX" = yes; then
10097 if test "$with_gnu_ld" = no; then
10098 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'
10100 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'
10103 link_all_deplibs_CXX=yes
10106 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10107 hardcode_libdir_separator_CXX=:
10110 case $cc_basename in
10112 # Kuck and Associates, Inc. (KAI) C++ Compiler
10114 # KCC will only create a shared library if the output file
10115 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10116 # to its proper name (with version) after linking.
10117 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'
10118 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'
10119 # Commands to make compiler produce verbose output that lists
10120 # what "hidden" libraries, object files and flags are used when
10121 # linking a shared library.
10123 # There doesn't appear to be a way to prevent this compiler from
10124 # explicitly linking system object files so we need to strip them
10125 # from the output so that they don't get included in the library
10127 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'
10129 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10130 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10132 # Archives containing C++ object files must be created using
10133 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10134 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10139 archive_cmds_need_lc_CXX=no
10140 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10141 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'
10142 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10143 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10144 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10148 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10149 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'
10151 runpath_var=LD_RUN_PATH
10152 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10153 hardcode_libdir_separator_CXX=:
10155 # Commands to make compiler produce verbose output that lists
10156 # what "hidden" libraries, object files and flags are used when
10157 # linking a shared library.
10159 # There doesn't appear to be a way to prevent this compiler from
10160 # explicitly linking system object files so we need to strip them
10161 # from the output so that they don't get included in the library
10163 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'
10168 # FIXME: insert proper C++ library support
10172 # FIXME: insert proper C++ library support
10176 case $cc_basename in
10178 # FIXME: insert proper C++ library support
10182 # FIXME: insert proper C++ library support
10188 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10189 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10191 hardcode_libdir_flag_spec_CXX='-R$libdir'
10192 hardcode_direct_CXX=yes
10193 hardcode_shlibpath_var_CXX=no
10195 # Workaround some broken pre-1.5 toolchains
10196 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10199 case $cc_basename in
10201 # Kuck and Associates, Inc. (KAI) C++ Compiler
10203 # KCC will only create a shared library if the output file
10204 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10205 # to its proper name (with version) after linking.
10206 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'
10208 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10209 hardcode_libdir_separator_CXX=:
10211 # Archives containing C++ object files must be created using
10212 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10213 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10217 # Rational C++ 2.4.1
10218 # FIXME: insert proper C++ library support
10222 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10223 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'
10225 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10226 hardcode_libdir_separator_CXX=:
10228 # Commands to make compiler produce verbose output that lists
10229 # what "hidden" libraries, object files and flags are used when
10230 # linking a shared library.
10232 # There doesn't appear to be a way to prevent this compiler from
10233 # explicitly linking system object files so we need to strip them
10234 # from the output so that they don't get included in the library
10236 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'
10239 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10240 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10241 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'
10243 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10244 hardcode_libdir_separator_CXX=:
10246 # Commands to make compiler produce verbose output that lists
10247 # what "hidden" libraries, object files and flags are used when
10248 # linking a shared library.
10249 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10252 # FIXME: insert proper C++ library support
10259 case $cc_basename in
10261 # Kuck and Associates, Inc. (KAI) C++ Compiler
10263 # KCC will only create a shared library if the output file
10264 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10265 # to its proper name (with version) after linking.
10266 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'
10268 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10269 hardcode_libdir_separator_CXX=:
10271 # Archives containing C++ object files must be created using
10272 # the KAI C++ compiler.
10273 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10276 # Rational C++ 2.4.1
10277 # FIXME: insert proper C++ library support
10281 allow_undefined_flag_CXX=' -expect_unresolved \*'
10282 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'
10283 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10284 echo "-hidden">> $lib.exp~
10285 $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~
10288 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10289 hardcode_libdir_separator_CXX=:
10291 # Commands to make compiler produce verbose output that lists
10292 # what "hidden" libraries, object files and flags are used when
10293 # linking a shared library.
10295 # There doesn't appear to be a way to prevent this compiler from
10296 # explicitly linking system object files so we need to strip them
10297 # from the output so that they don't get included in the library
10299 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'
10302 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10303 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10304 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'
10306 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10307 hardcode_libdir_separator_CXX=:
10309 # Commands to make compiler produce verbose output that lists
10310 # what "hidden" libraries, object files and flags are used when
10311 # linking a shared library.
10312 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10315 # FIXME: insert proper C++ library support
10322 # FIXME: insert proper C++ library support
10326 archive_cmds_need_lc_CXX=no
10327 case $cc_basename in
10329 # FIXME: insert proper C++ library support
10333 # FIXME: insert proper C++ library support
10339 case $cc_basename in
10342 # FIXME: insert proper C++ library support
10347 # FIXME: insert proper C++ library support
10351 # FIXME: insert proper C++ library support
10357 case $cc_basename in
10359 # Sun C++ 4.2, 5.x and Centerline C++
10360 no_undefined_flag_CXX=' -zdefs'
10361 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10362 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10363 $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'
10365 hardcode_libdir_flag_spec_CXX='-R$libdir'
10366 hardcode_shlibpath_var_CXX=no
10368 solaris2.0-5 | solaris2.0-5.*) ;;
10370 # The C++ compiler is used as linker so we must use $wl
10371 # flag to pass the commands to the underlying system
10373 # Supported since Solaris 2.6 (maybe 2.5.1?)
10374 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10377 link_all_deplibs_CXX=yes
10379 # Commands to make compiler produce verbose output that lists
10380 # what "hidden" libraries, object files and flags are used when
10381 # linking a shared library.
10383 # There doesn't appear to be a way to prevent this compiler from
10384 # explicitly linking system object files so we need to strip them
10385 # from the output so that they don't get included in the library
10387 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'
10389 # Archives containing C++ object files must be created using
10390 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10391 # necessary to make sure instantiated templates are included
10393 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10396 # Green Hills C++ Compiler
10397 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10399 # The C++ compiler must be used to create the archive.
10400 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10403 # GNU C++ compiler with Solaris linker
10404 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10405 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10406 if $CC --version | grep -v '^2\.7' > /dev/null; then
10407 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10408 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10409 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10411 # Commands to make compiler produce verbose output that lists
10412 # what "hidden" libraries, object files and flags are used when
10413 # linking a shared library.
10414 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10416 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10418 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10419 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10420 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10422 # Commands to make compiler produce verbose output that lists
10423 # what "hidden" libraries, object files and flags are used when
10424 # linking a shared library.
10425 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10428 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10433 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10434 archive_cmds_need_lc_CXX=no
10437 case $cc_basename in
10439 # NonStop-UX NCC 3.20
10440 # FIXME: insert proper C++ library support
10444 # FIXME: insert proper C++ library support
10450 # FIXME: insert proper C++ library support
10454 # FIXME: insert proper C++ library support
10458 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10459 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10460 test "$ld_shlibs_CXX" = no && can_build_shared=no
10466 ## There is no encapsulation within the following macros, do not change
10467 ## the running order or otherwise move them around unless you know exactly
10468 ## what you are doing...
10470 cat > conftest.$ac_ext <<EOF
10474 Foo (void) { a = 0; }
10480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10481 (eval $ac_compile) 2>&5
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); }; then
10485 # Parse the compiler output and extract the necessary
10486 # objects, libraries and library flags.
10488 # Sentinel used to keep track of whether or not we are before
10489 # the conftest object file.
10490 pre_test_object_deps_done=no
10492 # The `*' in the case matches for architectures that use `case' in
10493 # $output_verbose_cmd can trigger glob expansion during the loop
10494 # eval without this substitution.
10495 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10497 for p in `eval $output_verbose_link_cmd`; do
10501 # Some compilers place space between "-{L,R}" and the path.
10502 # Remove the space.
10503 if test $p = "-L" \
10504 || test $p = "-R"; then
10511 if test "$pre_test_object_deps_done" = no; then
10514 # Internal compiler library paths should come after those
10515 # provided the user. The postdeps already come after the
10516 # user supplied libs so there is no need to process them.
10517 if test -z "$compiler_lib_search_path_CXX"; then
10518 compiler_lib_search_path_CXX="${prev}${p}"
10520 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10523 # The "-l" case would never come before the object being
10524 # linked, so don't bother handling this case.
10527 if test -z "$postdeps_CXX"; then
10528 postdeps_CXX="${prev}${p}"
10530 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10536 # This assumes that the test object file only shows up
10537 # once in the compiler output.
10538 if test "$p" = "conftest.$objext"; then
10539 pre_test_object_deps_done=yes
10543 if test "$pre_test_object_deps_done" = no; then
10544 if test -z "$predep_objects_CXX"; then
10545 predep_objects_CXX="$p"
10547 predep_objects_CXX="$predep_objects_CXX $p"
10550 if test -z "$postdep_objects_CXX"; then
10551 postdep_objects_CXX="$p"
10553 postdep_objects_CXX="$postdep_objects_CXX $p"
10558 *) ;; # Ignore the rest.
10566 echo "libtool.m4: error: problem compiling CXX test program"
10569 $rm -f confest.$objext
10571 case " $postdeps_CXX " in
10572 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10575 lt_prog_compiler_wl_CXX=
10576 lt_prog_compiler_pic_CXX=
10577 lt_prog_compiler_static_CXX=
10579 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10580 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10582 # C++ specific cases for pic, static, wl, etc.
10583 if test "$GXX" = yes; then
10584 lt_prog_compiler_wl_CXX='-Wl,'
10585 lt_prog_compiler_static_CXX='-static'
10589 # All AIX code is PIC.
10590 if test "$host_cpu" = ia64; then
10591 # AIX 5 now supports IA64 processor
10592 lt_prog_compiler_static_CXX='-Bstatic'
10596 # FIXME: we need at least 68020 code to build shared libraries, but
10597 # adding the `-m68020' flag to GCC prevents building anything better,
10599 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10601 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10602 # PIC is the default for these OSes.
10604 mingw* | os2* | pw32*)
10605 # This hack is so that the source file can tell whether it is being
10606 # built for inclusion in a dll (and should export symbols for example).
10607 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10609 darwin* | rhapsody*)
10610 # PIC is the default on this platform
10611 # Common symbols not allowed in MH_DYLIB files
10612 lt_prog_compiler_pic_CXX='-fno-common'
10615 # DJGPP does not support shared libraries at all
10616 lt_prog_compiler_pic_CXX=
10619 if test -d /usr/nec; then
10620 lt_prog_compiler_pic_CXX=-Kconform_pic
10624 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10625 # not for PA HP-UX.
10626 case "$host_cpu" in
10630 lt_prog_compiler_pic_CXX='-fPIC'
10635 lt_prog_compiler_pic_CXX='-fPIC'
10641 # All AIX code is PIC.
10642 if test "$host_cpu" = ia64; then
10643 # AIX 5 now supports IA64 processor
10644 lt_prog_compiler_static_CXX='-Bstatic'
10646 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10650 case $cc_basename in
10652 # Green Hills C++ Compiler
10653 # _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"
10658 case $cc_basename in
10660 lt_prog_compiler_pic_CXX='-KPIC'
10663 # Green Hills C++ Compiler
10664 lt_prog_compiler_pic_CXX='-pic'
10671 # FreeBSD uses GNU C++
10673 hpux9* | hpux10* | hpux11*)
10674 case $cc_basename in
10676 lt_prog_compiler_wl_CXX='-Wl,'
10677 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10678 if test "$host_cpu" != ia64; then
10679 lt_prog_compiler_pic_CXX='+Z'
10683 lt_prog_compiler_wl_CXX='-Wl,'
10684 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10685 case "$host_cpu" in
10690 lt_prog_compiler_pic_CXX='+Z'
10698 irix5* | irix6* | nonstopux*)
10699 case $cc_basename in
10701 lt_prog_compiler_wl_CXX='-Wl,'
10702 lt_prog_compiler_static_CXX='-non_shared'
10703 # CC pic flag -KPIC is the default.
10710 case $cc_basename in
10713 lt_prog_compiler_wl_CXX='--backend -Wl,'
10714 lt_prog_compiler_pic_CXX='-fPIC'
10718 lt_prog_compiler_wl_CXX='-Wl,'
10719 lt_prog_compiler_pic_CXX='-KPIC'
10720 lt_prog_compiler_static_CXX='-static'
10724 # Make sure the PIC flag is empty. It appears that all Alpha
10725 # Linux and Compaq Tru64 Unix objects are PIC.
10726 lt_prog_compiler_pic_CXX=
10727 lt_prog_compiler_static_CXX='-non_shared'
10738 case $cc_basename in
10740 lt_prog_compiler_pic_CXX='-W c,exportall'
10748 osf3* | osf4* | osf5*)
10749 case $cc_basename in
10751 lt_prog_compiler_wl_CXX='--backend -Wl,'
10754 # Rational C++ 2.4.1
10755 lt_prog_compiler_pic_CXX='-pic'
10758 # Digital/Compaq C++
10759 lt_prog_compiler_wl_CXX='-Wl,'
10760 # Make sure the PIC flag is empty. It appears that all Alpha
10761 # Linux and Compaq Tru64 Unix objects are PIC.
10762 lt_prog_compiler_pic_CXX=
10763 lt_prog_compiler_static_CXX='-non_shared'
10772 case $cc_basename in
10774 lt_prog_compiler_pic_CXX='-fPIC'
10781 case $cc_basename in
10783 # Sun C++ 4.2, 5.x and Centerline C++
10784 lt_prog_compiler_pic_CXX='-KPIC'
10785 lt_prog_compiler_static_CXX='-Bstatic'
10786 lt_prog_compiler_wl_CXX='-Qoption ld '
10789 # Green Hills C++ Compiler
10790 lt_prog_compiler_pic_CXX='-PIC'
10797 case $cc_basename in
10800 lt_prog_compiler_pic_CXX='-pic'
10801 lt_prog_compiler_static_CXX='-Bstatic'
10805 lt_prog_compiler_pic_CXX='-pic'
10812 case $cc_basename in
10814 # NonStop-UX NCC 3.20
10815 lt_prog_compiler_pic_CXX='-KPIC'
10826 lt_prog_compiler_can_build_shared_CXX=no
10831 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10832 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10835 # Check to make sure the PIC flag actually works.
10837 if test -n "$lt_prog_compiler_pic_CXX"; then
10838 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10839 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10840 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 lt_prog_compiler_pic_works_CXX=no
10844 ac_outfile=conftest.$ac_objext
10845 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10846 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10847 # Insert the option either (1) after the last *FLAGS variable, or
10848 # (2) before a word containing "conftest.", or (3) at the end.
10849 # Note that $ac_compile itself does not contain backslashes and begins
10850 # with a dollar sign (not a hyphen), so the echo should work correctly.
10851 # The option is referenced via a variable to avoid confusing sed.
10852 lt_compile=`echo "$ac_compile" | $SED \
10853 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10854 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10855 -e 's:$: $lt_compiler_flag:'`
10856 (eval echo "\"\$as_me:10856: $lt_compile\"" >&5)
10857 (eval "$lt_compile" 2>conftest.err)
10859 cat conftest.err >&5
10860 echo "$as_me:10860: \$? = $ac_status" >&5
10861 if (exit $ac_status) && test -s "$ac_outfile"; then
10862 # The compiler can only warn and ignore the option if not recognized
10863 # So say no if there are warnings
10864 if test ! -s conftest.err; then
10865 lt_prog_compiler_pic_works_CXX=yes
10871 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10872 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10874 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10875 case $lt_prog_compiler_pic_CXX in
10877 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10880 lt_prog_compiler_pic_CXX=
10881 lt_prog_compiler_can_build_shared_CXX=no
10886 # For platforms which do not support PIC, -DPIC is meaningless:
10888 lt_prog_compiler_pic_CXX=
10891 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10895 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10896 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10897 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 lt_cv_prog_compiler_c_o_CXX=no
10901 $rm -r conftest 2>/dev/null
10905 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10907 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10908 # that will create temporary files in the current directory regardless of
10909 # the output directory. Thus, making CWD read-only will cause this test
10910 # to fail, enabling locking or at least warning the user not to do parallel
10914 lt_compiler_flag="-o out/conftest2.$ac_objext"
10915 # Insert the option either (1) after the last *FLAGS variable, or
10916 # (2) before a word containing "conftest.", or (3) at the end.
10917 # Note that $ac_compile itself does not contain backslashes and begins
10918 # with a dollar sign (not a hyphen), so the echo should work correctly.
10919 lt_compile=`echo "$ac_compile" | $SED \
10920 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10922 -e 's:$: $lt_compiler_flag:'`
10923 (eval echo "\"\$as_me:10923: $lt_compile\"" >&5)
10924 (eval "$lt_compile" 2>out/conftest.err)
10926 cat out/conftest.err >&5
10927 echo "$as_me:10927: \$? = $ac_status" >&5
10928 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10930 # The compiler can only warn and ignore the option if not recognized
10931 # So say no if there are warnings
10932 if test ! -s out/conftest.err; then
10933 lt_cv_prog_compiler_c_o_CXX=yes
10937 $rm conftest* out/*
10944 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10945 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10948 hard_links="nottested"
10949 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10950 # do not overwrite the value of need_locks provided by the user
10951 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10952 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10955 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10957 ln conftest.a conftest.b 2>&5 || hard_links=no
10958 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10959 echo "$as_me:$LINENO: result: $hard_links" >&5
10960 echo "${ECHO_T}$hard_links" >&6
10961 if test "$hard_links" = no; then
10962 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10963 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10970 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10971 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10973 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10976 # If we're using GNU nm, then we don't want the "-C" option.
10977 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10978 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10979 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'
10981 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'
10985 export_symbols_cmds_CXX="$ltdll_cmds"
10988 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10991 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10995 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10996 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10997 test "$ld_shlibs_CXX" = no && can_build_shared=no
10999 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11000 if test "$GCC" = yes; then
11001 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11005 # Do we need to explicitly link libc?
11007 case "x$archive_cmds_need_lc_CXX" in
11009 # Assume -lc should be added
11010 archive_cmds_need_lc_CXX=yes
11012 if test "$enable_shared" = yes && test "$GCC" = yes; then
11013 case $archive_cmds_CXX in
11015 # FIXME: we may have to deal with multi-command sequences.
11018 # Test whether the compiler implicitly links with -lc since on some
11019 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11020 # to ld, don't add -lc before -lgcc.
11021 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11022 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11024 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11027 (eval $ac_compile) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } 2>conftest.err; then
11033 libobjs=conftest.$ac_objext
11035 wl=$lt_prog_compiler_wl_CXX
11041 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11042 allow_undefined_flag_CXX=
11043 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11044 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }
11049 archive_cmds_need_lc_CXX=no
11051 archive_cmds_need_lc_CXX=yes
11053 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11055 cat conftest.err 1>&5
11058 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11059 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11066 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11067 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11068 hardcode_action_CXX=
11069 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11070 test -n "$runpath_var CXX" || \
11071 test "X$hardcode_automatic_CXX"="Xyes" ; then
11073 # We can hardcode non-existant directories.
11074 if test "$hardcode_direct_CXX" != no &&
11075 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11076 # have to relink, otherwise we might link with an installed library
11077 # when we should be linking with a yet-to-be-installed one
11078 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11079 test "$hardcode_minus_L_CXX" != no; then
11080 # Linking always hardcodes the temporary library directory.
11081 hardcode_action_CXX=relink
11083 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11084 hardcode_action_CXX=immediate
11087 # We cannot hardcode anything, or else we can only hardcode existing
11089 hardcode_action_CXX=unsupported
11091 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11092 echo "${ECHO_T}$hardcode_action_CXX" >&6
11094 if test "$hardcode_action_CXX" = relink; then
11095 # Fast installation is not supported
11096 enable_fast_install=no
11097 elif test "$shlibpath_overrides_runpath" = yes ||
11098 test "$enable_shared" = no; then
11099 # Fast installation is not necessary
11100 enable_fast_install=needless
11105 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11106 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11107 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11108 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11109 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11110 echo "$as_me:$LINENO: result: yes" >&5
11111 echo "${ECHO_T}yes" >&6
11113 # FIXME - insert some real tests, host_os isn't really good enough
11116 if test -n "$STRIP" ; then
11117 striplib="$STRIP -x"
11118 echo "$as_me:$LINENO: result: yes" >&5
11119 echo "${ECHO_T}yes" >&6
11121 echo "$as_me:$LINENO: result: no" >&5
11122 echo "${ECHO_T}no" >&6
11126 echo "$as_me:$LINENO: result: no" >&5
11127 echo "${ECHO_T}no" >&6
11132 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11133 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11134 library_names_spec=
11135 libname_spec='lib$name'
11139 postuninstall_cmds=
11143 shlibpath_overrides_runpath=unknown
11145 dynamic_linker="$host_os ld.so"
11146 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11147 if test "$GCC" = yes; then
11148 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11149 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11150 # if the path contains ";" then we assume it to be the separator
11151 # otherwise default to the standard path separator (i.e. ":") - it is
11152 # assumed that no part of a normal pathname contains ";" but that should
11153 # okay in the real world where ";" in dirpaths is itself problematic.
11154 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11156 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11159 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11161 need_lib_prefix=unknown
11162 hardcode_into_libs=no
11164 # when you set need_version to no, make sure it does not cause -set_version
11165 # flags to be left without arguments
11166 need_version=unknown
11171 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11172 shlibpath_var=LIBPATH
11174 # AIX 3 has no versioning support, so we append a major version to the name.
11175 soname_spec='${libname}${release}${shared_ext}$major'
11182 hardcode_into_libs=yes
11183 if test "$host_cpu" = ia64; then
11184 # AIX 5 supports IA64
11185 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11186 shlibpath_var=LD_LIBRARY_PATH
11188 # With GCC up to 2.95.x, collect2 would create an import file
11189 # for dependence libraries. The import file would start with
11190 # the line `#! .'. This would cause the generated library to
11191 # depend on `.', always an invalid library. This was fixed in
11192 # development snapshots of GCC prior to 3.0.
11194 aix4 | aix4.[01] | aix4.[01].*)
11195 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11197 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11200 can_build_shared=no
11204 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11205 # soname into executable. Probably we can add versioning support to
11206 # collect2, so additional links can be useful in future.
11207 if test "$aix_use_runtimelinking" = yes; then
11208 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11209 # instead of lib<name>.a to let people know that these are not
11210 # typical AIX shared libraries.
11211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11213 # We preserve .a as extension for shared libraries through AIX4.2
11214 # and later when we are not doing run time linking.
11215 library_names_spec='${libname}${release}.a $libname.a'
11216 soname_spec='${libname}${release}${shared_ext}$major'
11218 shlibpath_var=LIBPATH
11223 library_names_spec='$libname.ixlibrary $libname.a'
11224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11225 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'
11229 library_names_spec='${libname}${shared_ext}'
11230 dynamic_linker="$host_os ld.so"
11231 shlibpath_var=LIBRARY_PATH
11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238 soname_spec='${libname}${release}${shared_ext}$major'
11239 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11240 shlibpath_var=LD_LIBRARY_PATH
11241 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11242 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11243 # the default ld.so.conf also contains /usr/contrib/lib and
11244 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11245 # libtool to hard-code these into programs
11248 cygwin* | mingw* | pw32*)
11249 version_type=windows
11254 case $GCC,$host_os in
11255 yes,cygwin* | yes,mingw* | yes,pw32*)
11256 library_names_spec='$libname.dll.a'
11257 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11258 postinstall_cmds='base_file=`basename \${file}`~
11259 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11260 dldir=$destdir/`dirname \$dlpath`~
11261 test -d \$dldir || mkdir -p \$dldir~
11262 $install_prog $dir/$dlname \$dldir/$dlname'
11263 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11264 dlpath=$dir/\$dldll~
11266 shlibpath_overrides_runpath=yes
11270 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11271 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11272 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11275 # MinGW DLLs use traditional 'lib' prefix
11276 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11277 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11278 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11279 # It is most probably a Windows format PATH printed by
11280 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11281 # path with ; separators, and with drive letters. We can handle the
11282 # drive letters (cygwin fileutils understands them), so leave them,
11283 # especially as we might pass files found there to a mingw objdump,
11284 # which wouldn't understand a cygwinified path. Ahh.
11285 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11287 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11291 # pw32 DLLs use 'pw' prefix rather than 'lib'
11292 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11298 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11301 dynamic_linker='Win32 ld.exe'
11302 # FIXME: first we should search . and the directory the executable is in
11306 darwin* | rhapsody*)
11307 dynamic_linker="$host_os dyld"
11308 version_type=darwin
11311 # FIXME: Relying on posixy $() will cause problems for
11312 # cross-compilation, but unfortunately the echo tests do not
11313 # yet detect zsh echo's removal of \ escapes.
11314 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11315 soname_spec='${libname}${release}${major}$shared_ext'
11316 shlibpath_overrides_runpath=yes
11317 shlibpath_var=DYLD_LIBRARY_PATH
11318 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11319 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11320 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11321 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"`
11323 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11331 soname_spec='${libname}${release}${shared_ext}$major'
11332 shlibpath_var=LD_LIBRARY_PATH
11340 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11341 version_type=freebsd-$objformat
11342 case $version_type in
11344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11349 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11353 shlibpath_var=LD_LIBRARY_PATH
11356 shlibpath_overrides_runpath=yes
11358 freebsd3.01* | freebsdelf3.01*)
11359 shlibpath_overrides_runpath=yes
11360 hardcode_into_libs=yes
11363 shlibpath_overrides_runpath=no
11364 hardcode_into_libs=yes
11373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11374 soname_spec='${libname}${release}${shared_ext}$major'
11375 shlibpath_var=LD_LIBRARY_PATH
11376 hardcode_into_libs=yes
11379 hpux9* | hpux10* | hpux11*)
11380 # Give a soname corresponding to the major version so that dld.sl refuses to
11381 # link against other versions.
11385 case "$host_cpu" in
11388 hardcode_into_libs=yes
11389 dynamic_linker="$host_os dld.so"
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 if test "X$HPUX_IA64_MODE" = X32; then
11395 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11397 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11403 hardcode_into_libs=yes
11404 dynamic_linker="$host_os dld.sl"
11405 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11406 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec='${libname}${release}${shared_ext}$major'
11409 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11414 dynamic_linker="$host_os dld.sl"
11415 shlibpath_var=SHLIB_PATH
11416 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418 soname_spec='${libname}${release}${shared_ext}$major'
11421 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11422 postinstall_cmds='chmod 555 $lib'
11425 irix5* | irix6* | nonstopux*)
11427 nonstopux*) version_type=nonstopux ;;
11429 if test "$lt_cv_prog_gnu_ld" = yes; then
11437 soname_spec='${libname}${release}${shared_ext}$major'
11438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11440 irix5* | nonstopux*)
11441 libsuff= shlibsuff=
11444 case $LD in # libtool.m4 will add one of these switches to LD
11445 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11446 libsuff= shlibsuff= libmagic=32-bit;;
11447 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11448 libsuff=32 shlibsuff=N32 libmagic=N32;;
11449 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11450 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11451 *) libsuff= shlibsuff= libmagic=never-match;;
11455 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11456 shlibpath_overrides_runpath=no
11457 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11458 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11459 hardcode_into_libs=yes
11462 # No shared lib support for Linux oldld, aout, or coff.
11463 linux*oldld* | linux*aout* | linux*coff*)
11467 # This must be Linux ELF.
11472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11473 soname_spec='${libname}${release}${shared_ext}$major'
11474 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11475 shlibpath_var=LD_LIBRARY_PATH
11476 shlibpath_overrides_runpath=no
11477 # This implies no fast_install, which is unacceptable.
11478 # Some rework will be needed to allow for fast_install
11479 # before this can be enabled.
11480 hardcode_into_libs=yes
11482 # We used to test for /lib/ld.so.1 and disable shared libraries on
11483 # powerpc, because MkLinux only supported shared libraries with the
11484 # GNU dynamic linker. Since this was broken with cross compilers,
11485 # most powerpc-linux boxes support dynamic linking these days and
11486 # people can always --disable-shared, the test was removed, and we
11487 # assume the GNU/Linux dynamic linker is in use.
11488 dynamic_linker='GNU/Linux ld.so'
11495 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11497 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11498 dynamic_linker='NetBSD (a.out) ld.so'
11500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11501 soname_spec='${libname}${release}${shared_ext}$major'
11502 dynamic_linker='NetBSD ld.elf_so'
11504 shlibpath_var=LD_LIBRARY_PATH
11505 shlibpath_overrides_runpath=yes
11506 hardcode_into_libs=yes
11511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11512 shlibpath_var=LD_LIBRARY_PATH
11513 shlibpath_overrides_runpath=yes
11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11521 soname_spec='${libname}${release}${shared_ext}$major'
11522 shlibpath_var=LD_LIBRARY_PATH
11523 shlibpath_overrides_runpath=yes
11530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11531 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11532 shlibpath_var=LD_LIBRARY_PATH
11533 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11535 openbsd2.[89] | openbsd2.[89].*)
11536 shlibpath_overrides_runpath=no
11539 shlibpath_overrides_runpath=yes
11543 shlibpath_overrides_runpath=yes
11548 libname_spec='$name'
11551 library_names_spec='$libname${shared_ext} $libname.a'
11552 dynamic_linker='OS/2 ld.exe'
11553 shlibpath_var=LIBPATH
11556 osf3* | osf4* | osf5*)
11560 soname_spec='${libname}${release}${shared_ext}$major'
11561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11562 shlibpath_var=LD_LIBRARY_PATH
11563 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11564 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11569 soname_spec='${libname}${release}${shared_ext}$major'
11570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 shlibpath_var=LD_LIBRARY_PATH
11578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11579 soname_spec='${libname}${release}${shared_ext}$major'
11580 shlibpath_var=LD_LIBRARY_PATH
11581 shlibpath_overrides_runpath=yes
11582 hardcode_into_libs=yes
11583 # ldd complains unless libraries are executable
11584 postinstall_cmds='chmod +x $lib'
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11590 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11591 shlibpath_var=LD_LIBRARY_PATH
11592 shlibpath_overrides_runpath=yes
11593 if test "$with_gnu_ld" = yes; then
11599 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11602 soname_spec='${libname}${release}${shared_ext}$major'
11603 shlibpath_var=LD_LIBRARY_PATH
11604 case $host_vendor in
11606 shlibpath_overrides_runpath=no
11608 export_dynamic_flag_spec='${wl}-Blargedynsym'
11609 runpath_var=LD_RUN_PATH
11617 shlibpath_overrides_runpath=no
11618 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11624 if test -d /usr/nec ;then
11626 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11627 soname_spec='$libname${shared_ext}.$major'
11628 shlibpath_var=LD_LIBRARY_PATH
11634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11635 soname_spec='${libname}${release}${shared_ext}$major'
11636 shlibpath_var=LD_LIBRARY_PATH
11643 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11644 echo "${ECHO_T}$dynamic_linker" >&6
11645 test "$dynamic_linker" = no && can_build_shared=no
11647 if test "x$enable_dlopen" != xyes; then
11648 enable_dlopen=unknown
11649 enable_dlopen_self=unknown
11650 enable_dlopen_self_static=unknown
11657 lt_cv_dlopen="load_add_on"
11659 lt_cv_dlopen_self=yes
11663 lt_cv_dlopen="LoadLibrary"
11668 lt_cv_dlopen="dlopen"
11673 # if libdl is installed we need to link against it
11674 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11675 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11676 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 ac_check_lib_save_LIBS=$LIBS
11681 cat >conftest.$ac_ext <<_ACEOF
11682 #line $LINENO "configure"
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11689 /* Override any gcc2 internal prototype to avoid an error. */
11693 /* We use char because int might match the return type of a gcc2
11694 builtin and then its argument prototype would still apply. */
11704 rm -f conftest.$ac_objext conftest$ac_exeext
11705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11706 (eval $ac_link) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); } &&
11710 { ac_try='test -s conftest$ac_exeext'
11711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712 (eval $ac_try) 2>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; }; then
11716 ac_cv_lib_dl_dlopen=yes
11718 echo "$as_me: failed program was:" >&5
11719 sed 's/^/| /' conftest.$ac_ext >&5
11721 ac_cv_lib_dl_dlopen=no
11723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_lib_save_LIBS
11726 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11727 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11728 if test $ac_cv_lib_dl_dlopen = yes; then
11729 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11732 lt_cv_dlopen="dyld"
11734 lt_cv_dlopen_self=yes
11741 echo "$as_me:$LINENO: checking for shl_load" >&5
11742 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11743 if test "${ac_cv_func_shl_load+set}" = set; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 cat >conftest.$ac_ext <<_ACEOF
11747 #line $LINENO "configure"
11750 cat confdefs.h >>conftest.$ac_ext
11751 cat >>conftest.$ac_ext <<_ACEOF
11752 /* end confdefs.h. */
11753 /* System header to define __stub macros and hopefully few prototypes,
11754 which can conflict with char shl_load (); below.
11755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11756 <limits.h> exists even on freestanding compilers. */
11758 # include <limits.h>
11760 # include <assert.h>
11762 /* Override any gcc2 internal prototype to avoid an error. */
11767 /* We use char because int might match the return type of a gcc2
11768 builtin and then its argument prototype would still apply. */
11770 /* The GNU C library defines this for functions which it implements
11771 to always fail with ENOSYS. Some functions are actually named
11772 something starting with __ and the normal name is an alias. */
11773 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11776 char (*f) () = shl_load;
11785 return f != shl_load;
11790 rm -f conftest.$ac_objext conftest$ac_exeext
11791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11792 (eval $ac_link) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try='test -s conftest$ac_exeext'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then
11802 ac_cv_func_shl_load=yes
11804 echo "$as_me: failed program was:" >&5
11805 sed 's/^/| /' conftest.$ac_ext >&5
11807 ac_cv_func_shl_load=no
11809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11811 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11812 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11813 if test $ac_cv_func_shl_load = yes; then
11814 lt_cv_dlopen="shl_load"
11816 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11817 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11818 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11819 echo $ECHO_N "(cached) $ECHO_C" >&6
11821 ac_check_lib_save_LIBS=$LIBS
11823 cat >conftest.$ac_ext <<_ACEOF
11824 #line $LINENO "configure"
11827 cat confdefs.h >>conftest.$ac_ext
11828 cat >>conftest.$ac_ext <<_ACEOF
11829 /* end confdefs.h. */
11831 /* Override any gcc2 internal prototype to avoid an error. */
11835 /* We use char because int might match the return type of a gcc2
11836 builtin and then its argument prototype would still apply. */
11846 rm -f conftest.$ac_objext conftest$ac_exeext
11847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11848 (eval $ac_link) 2>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); } &&
11852 { ac_try='test -s conftest$ac_exeext'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; }; then
11858 ac_cv_lib_dld_shl_load=yes
11860 echo "$as_me: failed program was:" >&5
11861 sed 's/^/| /' conftest.$ac_ext >&5
11863 ac_cv_lib_dld_shl_load=no
11865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_lib_save_LIBS
11868 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11869 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11870 if test $ac_cv_lib_dld_shl_load = yes; then
11871 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11873 echo "$as_me:$LINENO: checking for dlopen" >&5
11874 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11875 if test "${ac_cv_func_dlopen+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 cat >conftest.$ac_ext <<_ACEOF
11879 #line $LINENO "configure"
11882 cat confdefs.h >>conftest.$ac_ext
11883 cat >>conftest.$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11885 /* System header to define __stub macros and hopefully few prototypes,
11886 which can conflict with char dlopen (); below.
11887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11888 <limits.h> exists even on freestanding compilers. */
11890 # include <limits.h>
11892 # include <assert.h>
11894 /* Override any gcc2 internal prototype to avoid an error. */
11899 /* We use char because int might match the return type of a gcc2
11900 builtin and then its argument prototype would still apply. */
11902 /* The GNU C library defines this for functions which it implements
11903 to always fail with ENOSYS. Some functions are actually named
11904 something starting with __ and the normal name is an alias. */
11905 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11908 char (*f) () = dlopen;
11917 return f != dlopen;
11922 rm -f conftest.$ac_objext conftest$ac_exeext
11923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11924 (eval $ac_link) 2>&5
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); } &&
11928 { ac_try='test -s conftest$ac_exeext'
11929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); }; }; then
11934 ac_cv_func_dlopen=yes
11936 echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.$ac_ext >&5
11939 ac_cv_func_dlopen=no
11941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11943 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11944 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11945 if test $ac_cv_func_dlopen = yes; then
11946 lt_cv_dlopen="dlopen"
11948 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11949 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11950 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 ac_check_lib_save_LIBS=$LIBS
11955 cat >conftest.$ac_ext <<_ACEOF
11956 #line $LINENO "configure"
11959 cat confdefs.h >>conftest.$ac_ext
11960 cat >>conftest.$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11963 /* Override any gcc2 internal prototype to avoid an error. */
11967 /* We use char because int might match the return type of a gcc2
11968 builtin and then its argument prototype would still apply. */
11978 rm -f conftest.$ac_objext conftest$ac_exeext
11979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11980 (eval $ac_link) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } &&
11984 { ac_try='test -s conftest$ac_exeext'
11985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986 (eval $ac_try) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }; }; then
11990 ac_cv_lib_dl_dlopen=yes
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.$ac_ext >&5
11995 ac_cv_lib_dl_dlopen=no
11997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_lib_save_LIBS
12000 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12001 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12002 if test $ac_cv_lib_dl_dlopen = yes; then
12003 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12005 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12006 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12007 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12010 ac_check_lib_save_LIBS=$LIBS
12011 LIBS="-lsvld $LIBS"
12012 cat >conftest.$ac_ext <<_ACEOF
12013 #line $LINENO "configure"
12016 cat confdefs.h >>conftest.$ac_ext
12017 cat >>conftest.$ac_ext <<_ACEOF
12018 /* end confdefs.h. */
12020 /* Override any gcc2 internal prototype to avoid an error. */
12024 /* We use char because int might match the return type of a gcc2
12025 builtin and then its argument prototype would still apply. */
12035 rm -f conftest.$ac_objext conftest$ac_exeext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12037 (eval $ac_link) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } &&
12041 { ac_try='test -s conftest$ac_exeext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 ac_cv_lib_svld_dlopen=yes
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.$ac_ext >&5
12052 ac_cv_lib_svld_dlopen=no
12054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_lib_save_LIBS
12057 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12058 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12059 if test $ac_cv_lib_svld_dlopen = yes; then
12060 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12062 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12063 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12064 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 ac_check_lib_save_LIBS=$LIBS
12069 cat >conftest.$ac_ext <<_ACEOF
12070 #line $LINENO "configure"
12073 cat confdefs.h >>conftest.$ac_ext
12074 cat >>conftest.$ac_ext <<_ACEOF
12075 /* end confdefs.h. */
12077 /* Override any gcc2 internal prototype to avoid an error. */
12081 /* We use char because int might match the return type of a gcc2
12082 builtin and then its argument prototype would still apply. */
12092 rm -f conftest.$ac_objext conftest$ac_exeext
12093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12094 (eval $ac_link) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } &&
12098 { ac_try='test -s conftest$ac_exeext'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; }; then
12104 ac_cv_lib_dld_dld_link=yes
12106 echo "$as_me: failed program was:" >&5
12107 sed 's/^/| /' conftest.$ac_ext >&5
12109 ac_cv_lib_dld_dld_link=no
12111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12112 LIBS=$ac_check_lib_save_LIBS
12114 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12115 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12116 if test $ac_cv_lib_dld_dld_link = yes; then
12117 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12138 if test "x$lt_cv_dlopen" != xno; then
12144 case $lt_cv_dlopen in
12146 save_CPPFLAGS="$CPPFLAGS"
12147 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12149 save_LDFLAGS="$LDFLAGS"
12150 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12153 LIBS="$lt_cv_dlopen_libs $LIBS"
12155 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12156 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12157 if test "${lt_cv_dlopen_self+set}" = set; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12160 if test "$cross_compiling" = yes; then :
12161 lt_cv_dlopen_self=cross
12163 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12164 lt_status=$lt_dlunknown
12165 cat > conftest.$ac_ext <<EOF
12166 #line 12166 "configure"
12167 #include "confdefs.h"
12176 # define LT_DLGLOBAL RTLD_GLOBAL
12179 # define LT_DLGLOBAL DL_GLOBAL
12181 # define LT_DLGLOBAL 0
12185 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12186 find out it does not work in some platform. */
12187 #ifndef LT_DLLAZY_OR_NOW
12189 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12192 # define LT_DLLAZY_OR_NOW DL_LAZY
12195 # define LT_DLLAZY_OR_NOW RTLD_NOW
12198 # define LT_DLLAZY_OR_NOW DL_NOW
12200 # define LT_DLLAZY_OR_NOW 0
12208 extern "C" void exit (int);
12211 void fnord() { int i=42;}
12214 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12215 int status = $lt_dlunknown;
12219 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12220 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12221 /* dlclose (self); */
12227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12228 (eval $ac_link) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12232 (./conftest; exit; ) 2>/dev/null
12234 case x$lt_status in
12235 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12236 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12237 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12240 # compilation failed
12241 lt_cv_dlopen_self=no
12248 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12249 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12251 if test "x$lt_cv_dlopen_self" = xyes; then
12252 LDFLAGS="$LDFLAGS $link_static_flag"
12253 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12254 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12255 if test "${lt_cv_dlopen_self_static+set}" = set; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12258 if test "$cross_compiling" = yes; then :
12259 lt_cv_dlopen_self_static=cross
12261 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12262 lt_status=$lt_dlunknown
12263 cat > conftest.$ac_ext <<EOF
12264 #line 12264 "configure"
12265 #include "confdefs.h"
12274 # define LT_DLGLOBAL RTLD_GLOBAL
12277 # define LT_DLGLOBAL DL_GLOBAL
12279 # define LT_DLGLOBAL 0
12283 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12284 find out it does not work in some platform. */
12285 #ifndef LT_DLLAZY_OR_NOW
12287 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12290 # define LT_DLLAZY_OR_NOW DL_LAZY
12293 # define LT_DLLAZY_OR_NOW RTLD_NOW
12296 # define LT_DLLAZY_OR_NOW DL_NOW
12298 # define LT_DLLAZY_OR_NOW 0
12306 extern "C" void exit (int);
12309 void fnord() { int i=42;}
12312 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12313 int status = $lt_dlunknown;
12317 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12318 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12319 /* dlclose (self); */
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12326 (eval $ac_link) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12330 (./conftest; exit; ) 2>/dev/null
12332 case x$lt_status in
12333 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12334 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12335 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12338 # compilation failed
12339 lt_cv_dlopen_self_static=no
12346 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12347 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12350 CPPFLAGS="$save_CPPFLAGS"
12351 LDFLAGS="$save_LDFLAGS"
12356 case $lt_cv_dlopen_self in
12357 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12358 *) enable_dlopen_self=unknown ;;
12361 case $lt_cv_dlopen_self_static in
12362 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12363 *) enable_dlopen_self_static=unknown ;;
12368 # The else clause should only fire when bootstrapping the
12369 # libtool distribution, otherwise you forgot to ship ltmain.sh
12370 # with your package, and you will get complaints that there are
12371 # no rules to generate ltmain.sh.
12372 if test -f "$ltmain"; then
12373 # See if we are running on zsh, and set the options which allow our commands through
12374 # without removal of \ escapes.
12375 if test -n "${ZSH_VERSION+set}" ; then
12376 setopt NO_GLOB_SUBST
12378 # Now quote all the things that may contain metacharacters while being
12379 # careful not to overquote the AC_SUBSTed values. We take copies of the
12380 # variables and quote the copies for generation of the libtool script.
12381 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12382 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12383 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12384 deplibs_check_method reload_flag reload_cmds need_locks \
12385 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12386 lt_cv_sys_global_symbol_to_c_name_address \
12387 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12388 old_postinstall_cmds old_postuninstall_cmds \
12392 lt_prog_compiler_wl_CXX \
12393 lt_prog_compiler_pic_CXX \
12394 lt_prog_compiler_static_CXX \
12395 lt_prog_compiler_no_builtin_flag_CXX \
12396 export_dynamic_flag_spec_CXX \
12397 thread_safe_flag_spec_CXX \
12398 whole_archive_flag_spec_CXX \
12399 enable_shared_with_static_runtimes_CXX \
12400 old_archive_cmds_CXX \
12401 old_archive_from_new_cmds_CXX \
12402 predep_objects_CXX \
12403 postdep_objects_CXX \
12406 compiler_lib_search_path_CXX \
12408 archive_expsym_cmds_CXX \
12409 postinstall_cmds_CXX \
12410 postuninstall_cmds_CXX \
12411 old_archive_from_expsyms_cmds_CXX \
12412 allow_undefined_flag_CXX \
12413 no_undefined_flag_CXX \
12414 export_symbols_cmds_CXX \
12415 hardcode_libdir_flag_spec_CXX \
12416 hardcode_libdir_flag_spec_ld_CXX \
12417 hardcode_libdir_separator_CXX \
12418 hardcode_automatic_CXX \
12420 module_expsym_cmds_CXX \
12421 lt_cv_prog_compiler_c_o_CXX \
12422 exclude_expsyms_CXX \
12423 include_expsyms_CXX; do
12426 old_archive_cmds_CXX | \
12427 old_archive_from_new_cmds_CXX | \
12428 archive_cmds_CXX | \
12429 archive_expsym_cmds_CXX | \
12430 module_cmds_CXX | \
12431 module_expsym_cmds_CXX | \
12432 old_archive_from_expsyms_cmds_CXX | \
12433 export_symbols_cmds_CXX | \
12434 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12435 postinstall_cmds | postuninstall_cmds | \
12436 old_postinstall_cmds | old_postuninstall_cmds | \
12437 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12438 # Double-quote double-evaled strings.
12439 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12442 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12448 *'\$0 --fallback-echo"')
12449 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12455 cat <<__EOF__ >> "$cfgfile"
12456 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12458 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12460 # Shell to use when invoking shell scripts.
12463 # Whether or not to build shared libraries.
12464 build_libtool_libs=$enable_shared
12466 # Whether or not to build static libraries.
12467 build_old_libs=$enable_static
12469 # Whether or not to add -lc for building shared libraries.
12470 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12472 # Whether or not to disallow shared libs when runtime libs are static
12473 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12475 # Whether or not to optimize for fast installation.
12476 fast_install=$enable_fast_install
12479 host_alias=$host_alias
12482 # An echo program that does not interpret backslashes.
12487 AR_FLAGS=$lt_AR_FLAGS
12492 # A language-specific compiler.
12493 CC=$lt_compiler_CXX
12495 # Is the compiler the GNU C compiler?
12501 # The linker used to build libraries.
12504 # Whether we need hard or soft links.
12507 # A BSD-compatible nm program.
12510 # A symbol stripping program
12513 # Used to examine libraries when file_magic_cmd begins "file"
12514 MAGIC_CMD=$MAGIC_CMD
12516 # Used on cygwin: DLL creation program.
12519 # Used on cygwin: object dumper.
12522 # Used on cygwin: assembler.
12525 # The name of the directory that contains temporary libtool files.
12528 # How to create reloadable object files.
12529 reload_flag=$lt_reload_flag
12530 reload_cmds=$lt_reload_cmds
12532 # How to pass a linker flag through the compiler.
12533 wl=$lt_lt_prog_compiler_wl_CXX
12535 # Object file suffix (normally "o").
12536 objext="$ac_objext"
12538 # Old archive suffix (normally "a").
12541 # Shared library suffix (normally ".so").
12544 # Executable file suffix (normally "").
12547 # Additional compiler flags for building library objects.
12548 pic_flag=$lt_lt_prog_compiler_pic_CXX
12551 # What is the maximum length of a command?
12552 max_cmd_len=$lt_cv_sys_max_cmd_len
12554 # Does compiler simultaneously support -c and -o options?
12555 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12557 # Must we lock files when doing compilation ?
12558 need_locks=$lt_need_locks
12560 # Do we need the lib prefix for modules?
12561 need_lib_prefix=$need_lib_prefix
12563 # Do we need a version for libraries?
12564 need_version=$need_version
12566 # Whether dlopen is supported.
12567 dlopen_support=$enable_dlopen
12569 # Whether dlopen of programs is supported.
12570 dlopen_self=$enable_dlopen_self
12572 # Whether dlopen of statically linked programs is supported.
12573 dlopen_self_static=$enable_dlopen_self_static
12575 # Compiler flag to prevent dynamic linking.
12576 link_static_flag=$lt_lt_prog_compiler_static_CXX
12578 # Compiler flag to turn off builtin functions.
12579 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12581 # Compiler flag to allow reflexive dlopens.
12582 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12584 # Compiler flag to generate shared objects directly from archives.
12585 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12587 # Compiler flag to generate thread-safe objects.
12588 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12590 # Library versioning type.
12591 version_type=$version_type
12593 # Format of library name prefix.
12594 libname_spec=$lt_libname_spec
12596 # List of archive names. First name is the real one, the rest are links.
12597 # The last name is the one that the linker finds with -lNAME.
12598 library_names_spec=$lt_library_names_spec
12600 # The coded name of the library, if different from the real name.
12601 soname_spec=$lt_soname_spec
12603 # Commands used to build and install an old-style archive.
12605 old_archive_cmds=$lt_old_archive_cmds_CXX
12606 old_postinstall_cmds=$lt_old_postinstall_cmds
12607 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12609 # Create an old-style archive from a shared archive.
12610 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12612 # Create a temporary old-style archive to link instead of a shared archive.
12613 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12615 # Commands used to build and install a shared archive.
12616 archive_cmds=$lt_archive_cmds_CXX
12617 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12618 postinstall_cmds=$lt_postinstall_cmds
12619 postuninstall_cmds=$lt_postuninstall_cmds
12621 # Commands used to build a loadable module (assumed same as above if empty)
12622 module_cmds=$lt_module_cmds_CXX
12623 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12625 # Commands to strip libraries.
12626 old_striplib=$lt_old_striplib
12627 striplib=$lt_striplib
12629 # Dependencies to place before the objects being linked to create a
12631 predep_objects=$lt_predep_objects_CXX
12633 # Dependencies to place after the objects being linked to create a
12635 postdep_objects=$lt_postdep_objects_CXX
12637 # Dependencies to place before the objects being linked to create a
12639 predeps=$lt_predeps_CXX
12641 # Dependencies to place after the objects being linked to create a
12643 postdeps=$lt_postdeps_CXX
12645 # The library search path used internally by the compiler when linking
12646 # a shared library.
12647 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12649 # Method to check whether dependent libraries are shared objects.
12650 deplibs_check_method=$lt_deplibs_check_method
12652 # Command to use when deplibs_check_method == file_magic.
12653 file_magic_cmd=$lt_file_magic_cmd
12655 # Flag that allows shared libraries with undefined symbols to be built.
12656 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12658 # Flag that forces no undefined symbols.
12659 no_undefined_flag=$lt_no_undefined_flag_CXX
12661 # Commands used to finish a libtool library installation in a directory.
12662 finish_cmds=$lt_finish_cmds
12664 # Same as above, but a single script fragment to be evaled but not shown.
12665 finish_eval=$lt_finish_eval
12667 # Take the output of nm and produce a listing of raw symbols and C names.
12668 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12670 # Transform the output of nm in a proper C declaration
12671 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12673 # Transform the output of nm in a C name address pair
12674 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12676 # This is the shared library runtime path variable.
12677 runpath_var=$runpath_var
12679 # This is the shared library path variable.
12680 shlibpath_var=$shlibpath_var
12682 # Is shlibpath searched before the hard-coded library search path?
12683 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12685 # How to hardcode a shared library path into an executable.
12686 hardcode_action=$hardcode_action_CXX
12688 # Whether we should hardcode library paths into libraries.
12689 hardcode_into_libs=$hardcode_into_libs
12691 # Flag to hardcode \$libdir into a binary during linking.
12692 # This must work even if \$libdir does not exist.
12693 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12695 # If ld is used when linking, flag to hardcode \$libdir into
12696 # a binary during linking. This must work even if \$libdir does
12698 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12700 # Whether we need a single -rpath flag with a separated argument.
12701 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12703 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12704 # resulting binary.
12705 hardcode_direct=$hardcode_direct_CXX
12707 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12708 # resulting binary.
12709 hardcode_minus_L=$hardcode_minus_L_CXX
12711 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12712 # the resulting binary.
12713 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12715 # Set to yes if building a shared library automatically hardcodes DIR into the library
12716 # and all subsequent libraries and executables linked against it.
12717 hardcode_automatic=$hardcode_automatic_CXX
12719 # Variables whose values should be saved in libtool wrapper scripts and
12720 # restored at relink time.
12721 variables_saved_for_relink="$variables_saved_for_relink"
12723 # Whether libtool must link a program against all its dependency libraries.
12724 link_all_deplibs=$link_all_deplibs_CXX
12726 # Compile-time system search path for libraries
12727 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12729 # Run-time system search path for libraries
12730 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12732 # Fix the shell variable \$srcfile for the compiler.
12733 fix_srcfile_path="$fix_srcfile_path_CXX"
12735 # Set to yes if exported symbols are required.
12736 always_export_symbols=$always_export_symbols_CXX
12738 # The commands to list exported symbols.
12739 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12741 # The commands to extract the exported symbol list from a shared archive.
12742 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12744 # Symbols that should not be listed in the preloaded symbols.
12745 exclude_expsyms=$lt_exclude_expsyms_CXX
12747 # Symbols that must always be exported.
12748 include_expsyms=$lt_include_expsyms_CXX
12750 # ### END LIBTOOL TAG CONFIG: $tagname
12756 # If there is no Makefile yet, we rely on a make rule to execute
12757 # `config.status --recheck' to rerun these tests and create the
12758 # libtool script then.
12759 test -f Makefile && make "$ltmain"
12764 ac_cpp='$CPP $CPPFLAGS'
12765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12773 with_gnu_ldcxx=$with_gnu_ld
12774 with_gnu_ld=$lt_save_with_gnu_ld
12775 lt_cv_path_LDCXX=$lt_cv_path_LD
12776 lt_cv_path_LD=$lt_save_path_LD
12777 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12778 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12786 if test -n "$F77" && test "X$F77" != "Xno"; then
12789 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12790 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12791 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12794 archive_cmds_need_lc_F77=no
12795 allow_undefined_flag_F77=
12796 always_export_symbols_F77=no
12797 archive_expsym_cmds_F77=
12798 export_dynamic_flag_spec_F77=
12799 hardcode_direct_F77=no
12800 hardcode_libdir_flag_spec_F77=
12801 hardcode_libdir_flag_spec_ld_F77=
12802 hardcode_libdir_separator_F77=
12803 hardcode_minus_L_F77=no
12804 hardcode_automatic_F77=no
12806 module_expsym_cmds_F77=
12807 link_all_deplibs_F77=unknown
12808 old_archive_cmds_F77=$old_archive_cmds
12809 no_undefined_flag_F77=
12810 whole_archive_flag_spec_F77=
12811 enable_shared_with_static_runtimes_F77=no
12813 # Source file extension for f77 test sources.
12816 # Object file extension for compiled f77 test sources.
12820 # Code to be used in simple compile tests
12821 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12823 # Code to be used in simple link tests
12824 lt_simple_link_test_code=" program t\n end\n"
12826 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12828 # If no C compiler was specified, use CC.
12831 # Allow CC to be a program name with arguments.
12835 # Allow CC to be a program name with arguments.
12840 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12842 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12843 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12844 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12845 echo "${ECHO_T}$can_build_shared" >&6
12847 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12848 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12849 test "$can_build_shared" = "no" && enable_shared=no
12851 # On AIX, shared libraries and static libraries use the same namespace, and
12852 # are all built from PIC.
12855 test "$enable_shared" = yes && enable_static=no
12856 if test -n "$RANLIB"; then
12857 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12858 postinstall_cmds='$RANLIB $lib'
12862 test "$enable_shared" = yes && enable_static=no
12865 echo "$as_me:$LINENO: result: $enable_shared" >&5
12866 echo "${ECHO_T}$enable_shared" >&6
12868 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12869 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12870 # Make sure either enable_shared or enable_static is yes.
12871 test "$enable_shared" = yes || enable_static=yes
12872 echo "$as_me:$LINENO: result: $enable_static" >&5
12873 echo "${ECHO_T}$enable_static" >&6
12875 test "$ld_shlibs_F77" = no && can_build_shared=no
12880 lt_prog_compiler_wl_F77=
12881 lt_prog_compiler_pic_F77=
12882 lt_prog_compiler_static_F77=
12884 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12885 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12887 if test "$GCC" = yes; then
12888 lt_prog_compiler_wl_F77='-Wl,'
12889 lt_prog_compiler_static_F77='-static'
12893 # All AIX code is PIC.
12894 if test "$host_cpu" = ia64; then
12895 # AIX 5 now supports IA64 processor
12896 lt_prog_compiler_static_F77='-Bstatic'
12901 # FIXME: we need at least 68020 code to build shared libraries, but
12902 # adding the `-m68020' flag to GCC prevents building anything better,
12904 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12907 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12908 # PIC is the default for these OSes.
12911 mingw* | pw32* | os2*)
12912 # This hack is so that the source file can tell whether it is being
12913 # built for inclusion in a dll (and should export symbols for example).
12914 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12917 darwin* | rhapsody*)
12918 # PIC is the default on this platform
12919 # Common symbols not allowed in MH_DYLIB files
12920 lt_prog_compiler_pic_F77='-fno-common'
12924 # Just because we use GCC doesn't mean we suddenly get shared libraries
12925 # on systems that don't support them.
12926 lt_prog_compiler_can_build_shared_F77=no
12931 if test -d /usr/nec; then
12932 lt_prog_compiler_pic_F77=-Kconform_pic
12937 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12938 # not for PA HP-UX.
12939 case "$host_cpu" in
12944 lt_prog_compiler_pic_F77='-fPIC'
12950 lt_prog_compiler_pic_F77='-fPIC'
12954 # PORTME Check for flag to pass linker flags through the system compiler.
12957 lt_prog_compiler_wl_F77='-Wl,'
12958 if test "$host_cpu" = ia64; then
12959 # AIX 5 now supports IA64 processor
12960 lt_prog_compiler_static_F77='-Bstatic'
12962 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12966 mingw* | pw32* | os2*)
12967 # This hack is so that the source file can tell whether it is being
12968 # built for inclusion in a dll (and should export symbols for example).
12969 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12972 hpux9* | hpux10* | hpux11*)
12973 lt_prog_compiler_wl_F77='-Wl,'
12974 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12975 # not for PA HP-UX.
12976 case "$host_cpu" in
12981 lt_prog_compiler_pic_F77='+Z'
12984 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12985 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12988 irix5* | irix6* | nonstopux*)
12989 lt_prog_compiler_wl_F77='-Wl,'
12990 # PIC (with -KPIC) is the default.
12991 lt_prog_compiler_static_F77='-non_shared'
12995 lt_prog_compiler_pic_F77='-KPIC'
12996 lt_prog_compiler_static_F77='-Bstatic'
13002 lt_prog_compiler_wl_F77='-Wl,'
13003 lt_prog_compiler_pic_F77='-KPIC'
13004 lt_prog_compiler_static_F77='-static'
13007 lt_prog_compiler_wl_F77='-Wl,'
13008 # All Alpha code is PIC.
13009 lt_prog_compiler_static_F77='-non_shared'
13014 osf3* | osf4* | osf5*)
13015 lt_prog_compiler_wl_F77='-Wl,'
13016 # All OSF/1 code is PIC.
13017 lt_prog_compiler_static_F77='-non_shared'
13021 lt_prog_compiler_pic_F77='-Kpic'
13022 lt_prog_compiler_static_F77='-dn'
13026 lt_prog_compiler_wl_F77='-Wl,'
13027 lt_prog_compiler_pic_F77='-KPIC'
13028 lt_prog_compiler_static_F77='-Bstatic'
13032 lt_prog_compiler_wl_F77='-Qoption ld '
13033 lt_prog_compiler_pic_F77='-PIC'
13034 lt_prog_compiler_static_F77='-Bstatic'
13037 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13038 lt_prog_compiler_wl_F77='-Wl,'
13039 lt_prog_compiler_pic_F77='-KPIC'
13040 lt_prog_compiler_static_F77='-Bstatic'
13044 if test -d /usr/nec ;then
13045 lt_prog_compiler_pic_F77='-Kconform_pic'
13046 lt_prog_compiler_static_F77='-Bstatic'
13051 lt_prog_compiler_pic_F77='-pic'
13052 lt_prog_compiler_static_F77='-Bstatic'
13056 lt_prog_compiler_can_build_shared_F77=no
13061 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13062 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13065 # Check to make sure the PIC flag actually works.
13067 if test -n "$lt_prog_compiler_pic_F77"; then
13068 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13069 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13070 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 lt_prog_compiler_pic_works_F77=no
13074 ac_outfile=conftest.$ac_objext
13075 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13076 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13077 # Insert the option either (1) after the last *FLAGS variable, or
13078 # (2) before a word containing "conftest.", or (3) at the end.
13079 # Note that $ac_compile itself does not contain backslashes and begins
13080 # with a dollar sign (not a hyphen), so the echo should work correctly.
13081 # The option is referenced via a variable to avoid confusing sed.
13082 lt_compile=`echo "$ac_compile" | $SED \
13083 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13085 -e 's:$: $lt_compiler_flag:'`
13086 (eval echo "\"\$as_me:13086: $lt_compile\"" >&5)
13087 (eval "$lt_compile" 2>conftest.err)
13089 cat conftest.err >&5
13090 echo "$as_me:13090: \$? = $ac_status" >&5
13091 if (exit $ac_status) && test -s "$ac_outfile"; then
13092 # The compiler can only warn and ignore the option if not recognized
13093 # So say no if there are warnings
13094 if test ! -s conftest.err; then
13095 lt_prog_compiler_pic_works_F77=yes
13101 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13102 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13104 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13105 case $lt_prog_compiler_pic_F77 in
13107 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13110 lt_prog_compiler_pic_F77=
13111 lt_prog_compiler_can_build_shared_F77=no
13116 # For platforms which do not support PIC, -DPIC is meaningless:
13118 lt_prog_compiler_pic_F77=
13121 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13125 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13126 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13127 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13128 echo $ECHO_N "(cached) $ECHO_C" >&6
13130 lt_cv_prog_compiler_c_o_F77=no
13131 $rm -r conftest 2>/dev/null
13135 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13137 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13138 # that will create temporary files in the current directory regardless of
13139 # the output directory. Thus, making CWD read-only will cause this test
13140 # to fail, enabling locking or at least warning the user not to do parallel
13144 lt_compiler_flag="-o out/conftest2.$ac_objext"
13145 # Insert the option either (1) after the last *FLAGS variable, or
13146 # (2) before a word containing "conftest.", or (3) at the end.
13147 # Note that $ac_compile itself does not contain backslashes and begins
13148 # with a dollar sign (not a hyphen), so the echo should work correctly.
13149 lt_compile=`echo "$ac_compile" | $SED \
13150 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13152 -e 's:$: $lt_compiler_flag:'`
13153 (eval echo "\"\$as_me:13153: $lt_compile\"" >&5)
13154 (eval "$lt_compile" 2>out/conftest.err)
13156 cat out/conftest.err >&5
13157 echo "$as_me:13157: \$? = $ac_status" >&5
13158 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13160 # The compiler can only warn and ignore the option if not recognized
13161 # So say no if there are warnings
13162 if test ! -s out/conftest.err; then
13163 lt_cv_prog_compiler_c_o_F77=yes
13167 $rm conftest* out/*
13174 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13175 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13178 hard_links="nottested"
13179 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13180 # do not overwrite the value of need_locks provided by the user
13181 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13182 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13185 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13187 ln conftest.a conftest.b 2>&5 || hard_links=no
13188 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13189 echo "$as_me:$LINENO: result: $hard_links" >&5
13190 echo "${ECHO_T}$hard_links" >&6
13191 if test "$hard_links" = no; then
13192 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13193 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13200 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13201 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13204 allow_undefined_flag_F77=
13205 enable_shared_with_static_runtimes_F77=no
13207 archive_expsym_cmds_F77=
13208 old_archive_From_new_cmds_F77=
13209 old_archive_from_expsyms_cmds_F77=
13210 export_dynamic_flag_spec_F77=
13211 whole_archive_flag_spec_F77=
13212 thread_safe_flag_spec_F77=
13213 hardcode_libdir_flag_spec_F77=
13214 hardcode_libdir_flag_spec_ld_F77=
13215 hardcode_libdir_separator_F77=
13216 hardcode_direct_F77=no
13217 hardcode_minus_L_F77=no
13218 hardcode_shlibpath_var_F77=unsupported
13219 link_all_deplibs_F77=unknown
13220 hardcode_automatic_F77=no
13222 module_expsym_cmds_F77=
13223 always_export_symbols_F77=no
13224 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13225 # include_expsyms should be a list of space-separated symbols to be *always*
13226 # included in the symbol list
13227 include_expsyms_F77=
13228 # exclude_expsyms can be an extended regexp of symbols to exclude
13229 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13230 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13231 # as well as any symbol that contains `d'.
13232 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13233 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13234 # platforms (ab)use it in PIC code, but their linkers get confused if
13235 # the symbol is explicitly referenced. Since portable code cannot
13236 # rely on this symbol name, it's probably fine to never include it in
13237 # preloaded symbol tables.
13238 extract_expsyms_cmds=
13241 cygwin* | mingw* | pw32*)
13242 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13243 # When not using gcc, we currently assume that we are using
13244 # Microsoft Visual C++.
13245 if test "$GCC" != yes; then
13255 if test "$with_gnu_ld" = yes; then
13256 # If archive_cmds runs LD, not CC, wlarc should be empty
13259 # See if GNU ld supports shared libraries.
13261 aix3* | aix4* | aix5*)
13262 # On AIX/PPC, the GNU linker is very broken
13263 if test "$host_cpu" != ia64; then
13267 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13268 *** to be unable to reliably create shared libraries on AIX.
13269 *** Therefore, libtool is disabling shared libraries support. If you
13270 *** really care for shared libraries, you may want to modify your PATH
13271 *** so that a non-GNU linker is found, and then restart.
13278 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)'
13279 hardcode_libdir_flag_spec_F77='-L$libdir'
13280 hardcode_minus_L_F77=yes
13282 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13283 # that the semantics of dynamic libraries on AmigaOS, at least up
13284 # to version 4, is to share data among multiple programs linked
13285 # with the same dynamic library. Since this doesn't match the
13286 # behavior of shared libraries on other platforms, we can't use
13292 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13293 allow_undefined_flag_F77=unsupported
13294 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13295 # support --undefined. This deserves some investigation. FIXME
13296 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13302 cygwin* | mingw* | pw32*)
13303 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13304 # as there is no search path for DLLs.
13305 hardcode_libdir_flag_spec_F77='-L$libdir'
13306 allow_undefined_flag_F77=unsupported
13307 always_export_symbols_F77=no
13308 enable_shared_with_static_runtimes_F77=yes
13309 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13311 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13312 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13313 # If the export-symbols file already is a .def file (1st line
13314 # is EXPORTS), use it as is; otherwise, prepend...
13315 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13316 cp $export_symbols $output_objdir/$soname.def;
13318 echo EXPORTS > $output_objdir/$soname.def;
13319 cat $export_symbols >> $output_objdir/$soname.def;
13321 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13328 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13329 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13332 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13333 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13338 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13342 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13343 *** create shared libraries on Solaris systems. Therefore, libtool
13344 *** is disabling shared libraries support. We urge you to upgrade GNU
13345 *** binutils to release 2.9.1 or newer. Another option is to modify
13346 *** your PATH or compiler configuration so that the native linker is
13347 *** used, and then restart.
13350 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13351 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13352 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13359 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13361 hardcode_direct_F77=yes
13362 hardcode_shlibpath_var_F77=no
13366 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13367 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13368 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13375 if test "$ld_shlibs_F77" = yes; then
13376 runpath_var=LD_RUN_PATH
13377 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13378 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13379 # ancient GNU ld didn't support --whole-archive et. al.
13380 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13381 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13383 whole_archive_flag_spec_F77=
13387 # PORTME fill in a description of your system's linker (not GNU ld)
13390 allow_undefined_flag_F77=unsupported
13391 always_export_symbols_F77=yes
13392 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'
13393 # Note: this linker hardcodes the directories in LIBPATH if there
13394 # are no directories specified by -L.
13395 hardcode_minus_L_F77=yes
13396 if test "$GCC" = yes && test -z "$link_static_flag"; then
13397 # Neither direct hardcoding nor static linking is supported with a
13399 hardcode_direct_F77=unsupported
13404 if test "$host_cpu" = ia64; then
13405 # On IA64, the linker does run time linking by default, so we don't
13406 # have to do anything special.
13407 aix_use_runtimelinking=no
13408 exp_sym_flag='-Bexport'
13411 # If we're using GNU nm, then we don't want the "-C" option.
13412 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13413 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13414 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'
13416 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'
13418 aix_use_runtimelinking=no
13420 # Test if we are trying to use run time linking or normal
13421 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13422 # need to do runtime linking.
13423 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13424 for ld_flag in $LDFLAGS; do
13425 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13426 aix_use_runtimelinking=yes
13432 exp_sym_flag='-bexport'
13433 no_entry_flag='-bnoentry'
13436 # When large executables or shared objects are built, AIX ld can
13437 # have problems creating the table of contents. If linking a library
13438 # or program results in "error TOC overflow" add -mminimal-toc to
13439 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13440 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13442 archive_cmds_F77=''
13443 hardcode_direct_F77=yes
13444 hardcode_libdir_separator_F77=':'
13445 link_all_deplibs_F77=yes
13447 if test "$GCC" = yes; then
13448 case $host_os in aix4.012|aix4.012.*)
13449 # We only want to do this on AIX 4.2 and lower, the check
13450 # below for broken collect2 doesn't work under 4.3+
13451 collect2name=`${CC} -print-prog-name=collect2`
13452 if test -f "$collect2name" && \
13453 strings "$collect2name" | grep resolve_lib_name >/dev/null
13455 # We have reworked collect2
13456 hardcode_direct_F77=yes
13458 # We have old collect2
13459 hardcode_direct_F77=unsupported
13460 # It fails to find uninstalled libraries when the uninstalled
13461 # path is not listed in the libpath. Setting hardcode_minus_L
13462 # to unsupported forces relinking
13463 hardcode_minus_L_F77=yes
13464 hardcode_libdir_flag_spec_F77='-L$libdir'
13465 hardcode_libdir_separator_F77=
13468 shared_flag='-shared'
13471 if test "$host_cpu" = ia64; then
13472 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13473 # chokes on -Wl,-G. The following line is correct:
13476 if test "$aix_use_runtimelinking" = yes; then
13477 shared_flag='${wl}-G'
13479 shared_flag='${wl}-bM:SRE'
13484 # It seems that -bexpall does not export symbols beginning with
13485 # underscore (_), so it is better to generate a list of symbols to export.
13486 always_export_symbols_F77=yes
13487 if test "$aix_use_runtimelinking" = yes; then
13488 # Warning - without using the other runtime loading flags (-brtl),
13489 # -berok will link without error, but may produce a broken library.
13490 allow_undefined_flag_F77='-berok'
13491 # Determine the default libpath from the value encoded in an empty executable.
13492 cat >conftest.$ac_ext <<_ACEOF
13497 rm -f conftest.$ac_objext conftest$ac_exeext
13498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13499 (eval $ac_link) 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } &&
13503 { ac_try='test -s conftest$ac_exeext'
13504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13505 (eval $ac_try) 2>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); }; }; then
13510 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13512 # Check for a 64-bit object if we didn't find anything.
13513 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; }
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.$ac_ext >&5
13520 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13521 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13523 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13524 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"
13526 if test "$host_cpu" = ia64; then
13527 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13528 allow_undefined_flag_F77="-z nodefs"
13529 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"
13531 # Determine the default libpath from the value encoded in an empty executable.
13532 cat >conftest.$ac_ext <<_ACEOF
13537 rm -f conftest.$ac_objext conftest$ac_exeext
13538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13539 (eval $ac_link) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } &&
13543 { ac_try='test -s conftest$ac_exeext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13550 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13552 # Check for a 64-bit object if we didn't find anything.
13553 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; }
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.$ac_ext >&5
13560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13561 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13563 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13564 # Warning - without using the other run time loading flags,
13565 # -berok will link without error, but may produce a broken library.
13566 no_undefined_flag_F77=' ${wl}-bernotok'
13567 allow_undefined_flag_F77=' ${wl}-berok'
13568 # -bexpall does not export symbols beginning with underscore (_)
13569 always_export_symbols_F77=yes
13570 # Exported symbols can be pulled into shared objects from archives
13571 whole_archive_flag_spec_F77=' '
13572 archive_cmds_need_lc_F77=yes
13573 # This is similar to how AIX traditionally builds it's shared libraries.
13574 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'
13580 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)'
13581 hardcode_libdir_flag_spec_F77='-L$libdir'
13582 hardcode_minus_L_F77=yes
13583 # see comment about different semantics on the GNU ld section
13588 export_dynamic_flag_spec_F77=-rdynamic
13591 cygwin* | mingw* | pw32*)
13592 # When not using gcc, we currently assume that we are using
13593 # Microsoft Visual C++.
13594 # hardcode_libdir_flag_spec is actually meaningless, as there is
13595 # no search path for DLLs.
13596 hardcode_libdir_flag_spec_F77=' '
13597 allow_undefined_flag_F77=unsupported
13598 # Tell ltmain to make .lib files, not .a files.
13600 # Tell ltmain to make .dll files, not .so files.
13602 # FIXME: Setting linknames here is a bad hack.
13603 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13604 # The linker will automatically build a .lib file if we build a DLL.
13605 old_archive_From_new_cmds_F77='true'
13606 # FIXME: Should let the user specify the lib program.
13607 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13608 fix_srcfile_path='`cygpath -w "$srcfile"`'
13609 enable_shared_with_static_runtimes_F77=yes
13612 darwin* | rhapsody*)
13613 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13614 archive_cmds_need_lc_F77=no
13616 rhapsody* | darwin1.[012])
13617 allow_undefined_flag_F77='-undefined suppress'
13620 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13623 # FIXME: Relying on posixy $() will cause problems for
13624 # cross-compilation, but unfortunately the echo tests do not
13625 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13626 # `"' quotes if we put them in here... so don't!
13627 lt_int_apple_cc_single_mod=no
13628 output_verbose_link_cmd='echo'
13629 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13630 lt_int_apple_cc_single_mod=yes
13632 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13633 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13635 archive_cmds_F77='$CC -r ${wl}-bind_at_load -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'
13637 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13638 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13639 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13640 archive_expsym_cmds_F77='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}'
13642 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
13644 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13645 hardcode_direct_F77=no
13646 hardcode_automatic_F77=yes
13647 hardcode_shlibpath_var_F77=unsupported
13648 whole_archive_flag_spec_F77='-all_load $convenience'
13649 link_all_deplibs_F77=yes
13654 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13655 hardcode_libdir_flag_spec_F77='-L$libdir'
13656 hardcode_shlibpath_var_F77=no
13663 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13664 # support. Future versions do this automatically, but an explicit c++rt0.o
13665 # does not break anything, and helps significantly (at the cost of a little
13668 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13669 hardcode_libdir_flag_spec_F77='-R$libdir'
13670 hardcode_direct_F77=yes
13671 hardcode_shlibpath_var_F77=no
13674 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13676 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13677 hardcode_direct_F77=yes
13678 hardcode_minus_L_F77=yes
13679 hardcode_shlibpath_var_F77=no
13682 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13684 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13685 hardcode_libdir_flag_spec_F77='-R$libdir'
13686 hardcode_direct_F77=yes
13687 hardcode_shlibpath_var_F77=no
13691 if test "$GCC" = yes; then
13692 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'
13694 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'
13696 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13697 hardcode_libdir_separator_F77=:
13698 hardcode_direct_F77=yes
13700 # hardcode_minus_L: Not really in the search PATH,
13701 # but as the default location of the library.
13702 hardcode_minus_L_F77=yes
13703 export_dynamic_flag_spec_F77='${wl}-E'
13707 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13708 case "$host_cpu" in
13710 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13713 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13717 case "$host_cpu" in
13719 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13722 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13726 if test "$with_gnu_ld" = no; then
13727 case "$host_cpu" in
13729 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13730 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13731 hardcode_libdir_separator_F77=:
13732 hardcode_direct_F77=no
13733 hardcode_shlibpath_var_F77=no
13736 hardcode_libdir_flag_spec_F77='-L$libdir'
13737 hardcode_direct_F77=no
13738 hardcode_shlibpath_var_F77=no
13740 # hardcode_minus_L: Not really in the search PATH,
13741 # but as the default location of the library.
13742 hardcode_minus_L_F77=yes
13745 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13746 hardcode_libdir_separator_F77=:
13747 hardcode_direct_F77=yes
13748 export_dynamic_flag_spec_F77='${wl}-E'
13750 # hardcode_minus_L: Not really in the search PATH,
13751 # but as the default location of the library.
13752 hardcode_minus_L_F77=yes
13758 irix5* | irix6* | nonstopux*)
13759 if test "$GCC" = yes; then
13760 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'
13762 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'
13763 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13765 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13766 hardcode_libdir_separator_F77=:
13767 link_all_deplibs_F77=yes
13771 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13772 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13774 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13776 hardcode_libdir_flag_spec_F77='-R$libdir'
13777 hardcode_direct_F77=yes
13778 hardcode_shlibpath_var_F77=no
13782 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13783 hardcode_direct_F77=yes
13784 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13785 hardcode_libdir_separator_F77=:
13786 hardcode_shlibpath_var_F77=no
13790 hardcode_direct_F77=yes
13791 hardcode_shlibpath_var_F77=no
13792 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13793 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13794 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13795 export_dynamic_flag_spec_F77='${wl}-E'
13798 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13799 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13800 hardcode_libdir_flag_spec_F77='-R$libdir'
13803 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13804 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13811 hardcode_libdir_flag_spec_F77='-L$libdir'
13812 hardcode_minus_L_F77=yes
13813 allow_undefined_flag_F77=unsupported
13814 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'
13815 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13819 if test "$GCC" = yes; then
13820 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13821 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'
13823 allow_undefined_flag_F77=' -expect_unresolved \*'
13824 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'
13826 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13827 hardcode_libdir_separator_F77=:
13830 osf4* | osf5*) # as osf3* with the addition of -msym flag
13831 if test "$GCC" = yes; then
13832 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13833 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'
13834 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13836 allow_undefined_flag_F77=' -expect_unresolved \*'
13837 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'
13838 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~
13839 $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'
13841 # Both c and cxx compiler support -rpath directly
13842 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13844 hardcode_libdir_separator_F77=:
13848 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13849 hardcode_shlibpath_var_F77=no
13850 export_dynamic_flag_spec_F77='${wl}-Bexport'
13851 runpath_var=LD_RUN_PATH
13852 hardcode_runpath_var=yes
13856 no_undefined_flag_F77=' -z text'
13857 if test "$GCC" = yes; then
13858 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13859 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13860 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13862 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13863 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13864 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13866 hardcode_libdir_flag_spec_F77='-R$libdir'
13867 hardcode_shlibpath_var_F77=no
13869 solaris2.[0-5] | solaris2.[0-5].*) ;;
13870 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13871 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13873 link_all_deplibs_F77=yes
13877 if test "x$host_vendor" = xsequent; then
13878 # Use $CC to link under sequent, because it throws in some extra .o
13879 # files that make .init and .fini sections work.
13880 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13882 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13884 hardcode_libdir_flag_spec_F77='-L$libdir'
13885 hardcode_direct_F77=yes
13886 hardcode_minus_L_F77=yes
13887 hardcode_shlibpath_var_F77=no
13891 case $host_vendor in
13893 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13894 hardcode_direct_F77=yes # is this really true???
13897 ## LD is ld it makes a PLAMLIB
13898 ## CC just makes a GrossModule.
13899 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13900 reload_cmds_F77='$CC -r -o $output$reload_objs'
13901 hardcode_direct_F77=no
13904 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13905 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13908 runpath_var='LD_RUN_PATH'
13909 hardcode_shlibpath_var_F77=no
13913 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13914 hardcode_shlibpath_var_F77=no
13915 export_dynamic_flag_spec_F77='-Bexport'
13919 if test -d /usr/nec; then
13920 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13921 hardcode_shlibpath_var_F77=no
13922 runpath_var=LD_RUN_PATH
13923 hardcode_runpath_var=yes
13929 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13930 hardcode_direct_F77=yes
13931 hardcode_minus_L_F77=no
13932 hardcode_shlibpath_var_F77=no
13933 hardcode_runpath_var=yes
13934 runpath_var=LD_RUN_PATH
13937 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13938 no_undefined_flag_F77='${wl}-z ${wl}text'
13939 if test "$GCC" = yes; then
13940 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13942 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13944 runpath_var='LD_RUN_PATH'
13945 hardcode_shlibpath_var_F77=no
13949 no_undefined_flag_F77=' -z text'
13950 # $CC -shared without GNU ld will not create a library from C++
13951 # object files and a static libstdc++, better avoid it by now
13952 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13953 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13954 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13955 hardcode_libdir_flag_spec_F77=
13956 hardcode_shlibpath_var_F77=no
13957 runpath_var='LD_RUN_PATH'
13961 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13962 hardcode_libdir_flag_spec_F77='-L$libdir'
13963 hardcode_shlibpath_var_F77=no
13972 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13973 echo "${ECHO_T}$ld_shlibs_F77" >&6
13974 test "$ld_shlibs_F77" = no && can_build_shared=no
13976 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13977 if test "$GCC" = yes; then
13978 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13982 # Do we need to explicitly link libc?
13984 case "x$archive_cmds_need_lc_F77" in
13986 # Assume -lc should be added
13987 archive_cmds_need_lc_F77=yes
13989 if test "$enable_shared" = yes && test "$GCC" = yes; then
13990 case $archive_cmds_F77 in
13992 # FIXME: we may have to deal with multi-command sequences.
13995 # Test whether the compiler implicitly links with -lc since on some
13996 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13997 # to ld, don't add -lc before -lgcc.
13998 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13999 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14001 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14004 (eval $ac_compile) 2>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); } 2>conftest.err; then
14010 libobjs=conftest.$ac_objext
14012 wl=$lt_prog_compiler_wl_F77
14018 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14019 allow_undefined_flag_F77=
14020 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14021 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }
14026 archive_cmds_need_lc_F77=no
14028 archive_cmds_need_lc_F77=yes
14030 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14032 cat conftest.err 1>&5
14035 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14036 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14043 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14044 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14045 hardcode_action_F77=
14046 if test -n "$hardcode_libdir_flag_spec_F77" || \
14047 test -n "$runpath_var F77" || \
14048 test "X$hardcode_automatic_F77"="Xyes" ; then
14050 # We can hardcode non-existant directories.
14051 if test "$hardcode_direct_F77" != no &&
14052 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14053 # have to relink, otherwise we might link with an installed library
14054 # when we should be linking with a yet-to-be-installed one
14055 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14056 test "$hardcode_minus_L_F77" != no; then
14057 # Linking always hardcodes the temporary library directory.
14058 hardcode_action_F77=relink
14060 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14061 hardcode_action_F77=immediate
14064 # We cannot hardcode anything, or else we can only hardcode existing
14066 hardcode_action_F77=unsupported
14068 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14069 echo "${ECHO_T}$hardcode_action_F77" >&6
14071 if test "$hardcode_action_F77" = relink; then
14072 # Fast installation is not supported
14073 enable_fast_install=no
14074 elif test "$shlibpath_overrides_runpath" = yes ||
14075 test "$enable_shared" = no; then
14076 # Fast installation is not necessary
14077 enable_fast_install=needless
14082 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14083 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14084 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14085 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14086 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14087 echo "$as_me:$LINENO: result: yes" >&5
14088 echo "${ECHO_T}yes" >&6
14090 # FIXME - insert some real tests, host_os isn't really good enough
14093 if test -n "$STRIP" ; then
14094 striplib="$STRIP -x"
14095 echo "$as_me:$LINENO: result: yes" >&5
14096 echo "${ECHO_T}yes" >&6
14098 echo "$as_me:$LINENO: result: no" >&5
14099 echo "${ECHO_T}no" >&6
14103 echo "$as_me:$LINENO: result: no" >&5
14104 echo "${ECHO_T}no" >&6
14109 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14110 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14111 library_names_spec=
14112 libname_spec='lib$name'
14116 postuninstall_cmds=
14120 shlibpath_overrides_runpath=unknown
14122 dynamic_linker="$host_os ld.so"
14123 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14124 if test "$GCC" = yes; then
14125 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14126 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14127 # if the path contains ";" then we assume it to be the separator
14128 # otherwise default to the standard path separator (i.e. ":") - it is
14129 # assumed that no part of a normal pathname contains ";" but that should
14130 # okay in the real world where ";" in dirpaths is itself problematic.
14131 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14133 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14136 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14138 need_lib_prefix=unknown
14139 hardcode_into_libs=no
14141 # when you set need_version to no, make sure it does not cause -set_version
14142 # flags to be left without arguments
14143 need_version=unknown
14148 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14149 shlibpath_var=LIBPATH
14151 # AIX 3 has no versioning support, so we append a major version to the name.
14152 soname_spec='${libname}${release}${shared_ext}$major'
14159 hardcode_into_libs=yes
14160 if test "$host_cpu" = ia64; then
14161 # AIX 5 supports IA64
14162 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14163 shlibpath_var=LD_LIBRARY_PATH
14165 # With GCC up to 2.95.x, collect2 would create an import file
14166 # for dependence libraries. The import file would start with
14167 # the line `#! .'. This would cause the generated library to
14168 # depend on `.', always an invalid library. This was fixed in
14169 # development snapshots of GCC prior to 3.0.
14171 aix4 | aix4.[01] | aix4.[01].*)
14172 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14174 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14177 can_build_shared=no
14181 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14182 # soname into executable. Probably we can add versioning support to
14183 # collect2, so additional links can be useful in future.
14184 if test "$aix_use_runtimelinking" = yes; then
14185 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14186 # instead of lib<name>.a to let people know that these are not
14187 # typical AIX shared libraries.
14188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14190 # We preserve .a as extension for shared libraries through AIX4.2
14191 # and later when we are not doing run time linking.
14192 library_names_spec='${libname}${release}.a $libname.a'
14193 soname_spec='${libname}${release}${shared_ext}$major'
14195 shlibpath_var=LIBPATH
14200 library_names_spec='$libname.ixlibrary $libname.a'
14201 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14202 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'
14206 library_names_spec='${libname}${shared_ext}'
14207 dynamic_linker="$host_os ld.so"
14208 shlibpath_var=LIBRARY_PATH
14214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14215 soname_spec='${libname}${release}${shared_ext}$major'
14216 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14217 shlibpath_var=LD_LIBRARY_PATH
14218 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14219 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14220 # the default ld.so.conf also contains /usr/contrib/lib and
14221 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14222 # libtool to hard-code these into programs
14225 cygwin* | mingw* | pw32*)
14226 version_type=windows
14231 case $GCC,$host_os in
14232 yes,cygwin* | yes,mingw* | yes,pw32*)
14233 library_names_spec='$libname.dll.a'
14234 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14235 postinstall_cmds='base_file=`basename \${file}`~
14236 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14237 dldir=$destdir/`dirname \$dlpath`~
14238 test -d \$dldir || mkdir -p \$dldir~
14239 $install_prog $dir/$dlname \$dldir/$dlname'
14240 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14241 dlpath=$dir/\$dldll~
14243 shlibpath_overrides_runpath=yes
14247 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14248 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14249 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14252 # MinGW DLLs use traditional 'lib' prefix
14253 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14254 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14255 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14256 # It is most probably a Windows format PATH printed by
14257 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14258 # path with ; separators, and with drive letters. We can handle the
14259 # drive letters (cygwin fileutils understands them), so leave them,
14260 # especially as we might pass files found there to a mingw objdump,
14261 # which wouldn't understand a cygwinified path. Ahh.
14262 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14264 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14268 # pw32 DLLs use 'pw' prefix rather than 'lib'
14269 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14275 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14278 dynamic_linker='Win32 ld.exe'
14279 # FIXME: first we should search . and the directory the executable is in
14283 darwin* | rhapsody*)
14284 dynamic_linker="$host_os dyld"
14285 version_type=darwin
14288 # FIXME: Relying on posixy $() will cause problems for
14289 # cross-compilation, but unfortunately the echo tests do not
14290 # yet detect zsh echo's removal of \ escapes.
14291 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14292 soname_spec='${libname}${release}${major}$shared_ext'
14293 shlibpath_overrides_runpath=yes
14294 shlibpath_var=DYLD_LIBRARY_PATH
14295 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14296 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14297 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14298 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"`
14300 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14308 soname_spec='${libname}${release}${shared_ext}$major'
14309 shlibpath_var=LD_LIBRARY_PATH
14317 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14318 version_type=freebsd-$objformat
14319 case $version_type in
14321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14326 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14330 shlibpath_var=LD_LIBRARY_PATH
14333 shlibpath_overrides_runpath=yes
14335 freebsd3.01* | freebsdelf3.01*)
14336 shlibpath_overrides_runpath=yes
14337 hardcode_into_libs=yes
14340 shlibpath_overrides_runpath=no
14341 hardcode_into_libs=yes
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14351 soname_spec='${libname}${release}${shared_ext}$major'
14352 shlibpath_var=LD_LIBRARY_PATH
14353 hardcode_into_libs=yes
14356 hpux9* | hpux10* | hpux11*)
14357 # Give a soname corresponding to the major version so that dld.sl refuses to
14358 # link against other versions.
14362 case "$host_cpu" in
14365 hardcode_into_libs=yes
14366 dynamic_linker="$host_os dld.so"
14367 shlibpath_var=LD_LIBRARY_PATH
14368 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370 soname_spec='${libname}${release}${shared_ext}$major'
14371 if test "X$HPUX_IA64_MODE" = X32; then
14372 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14374 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14376 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14380 hardcode_into_libs=yes
14381 dynamic_linker="$host_os dld.sl"
14382 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14387 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14391 dynamic_linker="$host_os dld.sl"
14392 shlibpath_var=SHLIB_PATH
14393 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14395 soname_spec='${libname}${release}${shared_ext}$major'
14398 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14399 postinstall_cmds='chmod 555 $lib'
14402 irix5* | irix6* | nonstopux*)
14404 nonstopux*) version_type=nonstopux ;;
14406 if test "$lt_cv_prog_gnu_ld" = yes; then
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14417 irix5* | nonstopux*)
14418 libsuff= shlibsuff=
14421 case $LD in # libtool.m4 will add one of these switches to LD
14422 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14423 libsuff= shlibsuff= libmagic=32-bit;;
14424 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14425 libsuff=32 shlibsuff=N32 libmagic=N32;;
14426 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14427 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14428 *) libsuff= shlibsuff= libmagic=never-match;;
14432 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14433 shlibpath_overrides_runpath=no
14434 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14435 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14436 hardcode_into_libs=yes
14439 # No shared lib support for Linux oldld, aout, or coff.
14440 linux*oldld* | linux*aout* | linux*coff*)
14444 # This must be Linux ELF.
14449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14450 soname_spec='${libname}${release}${shared_ext}$major'
14451 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14452 shlibpath_var=LD_LIBRARY_PATH
14453 shlibpath_overrides_runpath=no
14454 # This implies no fast_install, which is unacceptable.
14455 # Some rework will be needed to allow for fast_install
14456 # before this can be enabled.
14457 hardcode_into_libs=yes
14459 # We used to test for /lib/ld.so.1 and disable shared libraries on
14460 # powerpc, because MkLinux only supported shared libraries with the
14461 # GNU dynamic linker. Since this was broken with cross compilers,
14462 # most powerpc-linux boxes support dynamic linking these days and
14463 # people can always --disable-shared, the test was removed, and we
14464 # assume the GNU/Linux dynamic linker is in use.
14465 dynamic_linker='GNU/Linux ld.so'
14472 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14474 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14475 dynamic_linker='NetBSD (a.out) ld.so'
14477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14478 soname_spec='${libname}${release}${shared_ext}$major'
14479 dynamic_linker='NetBSD ld.elf_so'
14481 shlibpath_var=LD_LIBRARY_PATH
14482 shlibpath_overrides_runpath=yes
14483 hardcode_into_libs=yes
14488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14489 shlibpath_var=LD_LIBRARY_PATH
14490 shlibpath_overrides_runpath=yes
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 shlibpath_var=LD_LIBRARY_PATH
14500 shlibpath_overrides_runpath=yes
14507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14508 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14509 shlibpath_var=LD_LIBRARY_PATH
14510 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14512 openbsd2.[89] | openbsd2.[89].*)
14513 shlibpath_overrides_runpath=no
14516 shlibpath_overrides_runpath=yes
14520 shlibpath_overrides_runpath=yes
14525 libname_spec='$name'
14528 library_names_spec='$libname${shared_ext} $libname.a'
14529 dynamic_linker='OS/2 ld.exe'
14530 shlibpath_var=LIBPATH
14533 osf3* | osf4* | osf5*)
14537 soname_spec='${libname}${release}${shared_ext}$major'
14538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14541 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14546 soname_spec='${libname}${release}${shared_ext}$major'
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 shlibpath_var=LD_LIBRARY_PATH
14555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14556 soname_spec='${libname}${release}${shared_ext}$major'
14557 shlibpath_var=LD_LIBRARY_PATH
14558 shlibpath_overrides_runpath=yes
14559 hardcode_into_libs=yes
14560 # ldd complains unless libraries are executable
14561 postinstall_cmds='chmod +x $lib'
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14567 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14568 shlibpath_var=LD_LIBRARY_PATH
14569 shlibpath_overrides_runpath=yes
14570 if test "$with_gnu_ld" = yes; then
14576 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 shlibpath_var=LD_LIBRARY_PATH
14581 case $host_vendor in
14583 shlibpath_overrides_runpath=no
14585 export_dynamic_flag_spec='${wl}-Blargedynsym'
14586 runpath_var=LD_RUN_PATH
14594 shlibpath_overrides_runpath=no
14595 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14601 if test -d /usr/nec ;then
14603 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14604 soname_spec='$libname${shared_ext}.$major'
14605 shlibpath_var=LD_LIBRARY_PATH
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 soname_spec='${libname}${release}${shared_ext}$major'
14613 shlibpath_var=LD_LIBRARY_PATH
14620 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14621 echo "${ECHO_T}$dynamic_linker" >&6
14622 test "$dynamic_linker" = no && can_build_shared=no
14625 # The else clause should only fire when bootstrapping the
14626 # libtool distribution, otherwise you forgot to ship ltmain.sh
14627 # with your package, and you will get complaints that there are
14628 # no rules to generate ltmain.sh.
14629 if test -f "$ltmain"; then
14630 # See if we are running on zsh, and set the options which allow our commands through
14631 # without removal of \ escapes.
14632 if test -n "${ZSH_VERSION+set}" ; then
14633 setopt NO_GLOB_SUBST
14635 # Now quote all the things that may contain metacharacters while being
14636 # careful not to overquote the AC_SUBSTed values. We take copies of the
14637 # variables and quote the copies for generation of the libtool script.
14638 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14639 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14640 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14641 deplibs_check_method reload_flag reload_cmds need_locks \
14642 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14643 lt_cv_sys_global_symbol_to_c_name_address \
14644 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14645 old_postinstall_cmds old_postuninstall_cmds \
14649 lt_prog_compiler_wl_F77 \
14650 lt_prog_compiler_pic_F77 \
14651 lt_prog_compiler_static_F77 \
14652 lt_prog_compiler_no_builtin_flag_F77 \
14653 export_dynamic_flag_spec_F77 \
14654 thread_safe_flag_spec_F77 \
14655 whole_archive_flag_spec_F77 \
14656 enable_shared_with_static_runtimes_F77 \
14657 old_archive_cmds_F77 \
14658 old_archive_from_new_cmds_F77 \
14659 predep_objects_F77 \
14660 postdep_objects_F77 \
14663 compiler_lib_search_path_F77 \
14665 archive_expsym_cmds_F77 \
14666 postinstall_cmds_F77 \
14667 postuninstall_cmds_F77 \
14668 old_archive_from_expsyms_cmds_F77 \
14669 allow_undefined_flag_F77 \
14670 no_undefined_flag_F77 \
14671 export_symbols_cmds_F77 \
14672 hardcode_libdir_flag_spec_F77 \
14673 hardcode_libdir_flag_spec_ld_F77 \
14674 hardcode_libdir_separator_F77 \
14675 hardcode_automatic_F77 \
14677 module_expsym_cmds_F77 \
14678 lt_cv_prog_compiler_c_o_F77 \
14679 exclude_expsyms_F77 \
14680 include_expsyms_F77; do
14683 old_archive_cmds_F77 | \
14684 old_archive_from_new_cmds_F77 | \
14685 archive_cmds_F77 | \
14686 archive_expsym_cmds_F77 | \
14687 module_cmds_F77 | \
14688 module_expsym_cmds_F77 | \
14689 old_archive_from_expsyms_cmds_F77 | \
14690 export_symbols_cmds_F77 | \
14691 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14692 postinstall_cmds | postuninstall_cmds | \
14693 old_postinstall_cmds | old_postuninstall_cmds | \
14694 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14695 # Double-quote double-evaled strings.
14696 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14699 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14705 *'\$0 --fallback-echo"')
14706 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14712 cat <<__EOF__ >> "$cfgfile"
14713 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14715 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14717 # Shell to use when invoking shell scripts.
14720 # Whether or not to build shared libraries.
14721 build_libtool_libs=$enable_shared
14723 # Whether or not to build static libraries.
14724 build_old_libs=$enable_static
14726 # Whether or not to add -lc for building shared libraries.
14727 build_libtool_need_lc=$archive_cmds_need_lc_F77
14729 # Whether or not to disallow shared libs when runtime libs are static
14730 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14732 # Whether or not to optimize for fast installation.
14733 fast_install=$enable_fast_install
14736 host_alias=$host_alias
14739 # An echo program that does not interpret backslashes.
14744 AR_FLAGS=$lt_AR_FLAGS
14749 # A language-specific compiler.
14750 CC=$lt_compiler_F77
14752 # Is the compiler the GNU C compiler?
14758 # The linker used to build libraries.
14761 # Whether we need hard or soft links.
14764 # A BSD-compatible nm program.
14767 # A symbol stripping program
14770 # Used to examine libraries when file_magic_cmd begins "file"
14771 MAGIC_CMD=$MAGIC_CMD
14773 # Used on cygwin: DLL creation program.
14776 # Used on cygwin: object dumper.
14779 # Used on cygwin: assembler.
14782 # The name of the directory that contains temporary libtool files.
14785 # How to create reloadable object files.
14786 reload_flag=$lt_reload_flag
14787 reload_cmds=$lt_reload_cmds
14789 # How to pass a linker flag through the compiler.
14790 wl=$lt_lt_prog_compiler_wl_F77
14792 # Object file suffix (normally "o").
14793 objext="$ac_objext"
14795 # Old archive suffix (normally "a").
14798 # Shared library suffix (normally ".so").
14801 # Executable file suffix (normally "").
14804 # Additional compiler flags for building library objects.
14805 pic_flag=$lt_lt_prog_compiler_pic_F77
14808 # What is the maximum length of a command?
14809 max_cmd_len=$lt_cv_sys_max_cmd_len
14811 # Does compiler simultaneously support -c and -o options?
14812 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14814 # Must we lock files when doing compilation ?
14815 need_locks=$lt_need_locks
14817 # Do we need the lib prefix for modules?
14818 need_lib_prefix=$need_lib_prefix
14820 # Do we need a version for libraries?
14821 need_version=$need_version
14823 # Whether dlopen is supported.
14824 dlopen_support=$enable_dlopen
14826 # Whether dlopen of programs is supported.
14827 dlopen_self=$enable_dlopen_self
14829 # Whether dlopen of statically linked programs is supported.
14830 dlopen_self_static=$enable_dlopen_self_static
14832 # Compiler flag to prevent dynamic linking.
14833 link_static_flag=$lt_lt_prog_compiler_static_F77
14835 # Compiler flag to turn off builtin functions.
14836 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14838 # Compiler flag to allow reflexive dlopens.
14839 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14841 # Compiler flag to generate shared objects directly from archives.
14842 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14844 # Compiler flag to generate thread-safe objects.
14845 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14847 # Library versioning type.
14848 version_type=$version_type
14850 # Format of library name prefix.
14851 libname_spec=$lt_libname_spec
14853 # List of archive names. First name is the real one, the rest are links.
14854 # The last name is the one that the linker finds with -lNAME.
14855 library_names_spec=$lt_library_names_spec
14857 # The coded name of the library, if different from the real name.
14858 soname_spec=$lt_soname_spec
14860 # Commands used to build and install an old-style archive.
14862 old_archive_cmds=$lt_old_archive_cmds_F77
14863 old_postinstall_cmds=$lt_old_postinstall_cmds
14864 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14866 # Create an old-style archive from a shared archive.
14867 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14869 # Create a temporary old-style archive to link instead of a shared archive.
14870 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14872 # Commands used to build and install a shared archive.
14873 archive_cmds=$lt_archive_cmds_F77
14874 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14875 postinstall_cmds=$lt_postinstall_cmds
14876 postuninstall_cmds=$lt_postuninstall_cmds
14878 # Commands used to build a loadable module (assumed same as above if empty)
14879 module_cmds=$lt_module_cmds_F77
14880 module_expsym_cmds=$lt_module_expsym_cmds_F77
14882 # Commands to strip libraries.
14883 old_striplib=$lt_old_striplib
14884 striplib=$lt_striplib
14886 # Dependencies to place before the objects being linked to create a
14888 predep_objects=$lt_predep_objects_F77
14890 # Dependencies to place after the objects being linked to create a
14892 postdep_objects=$lt_postdep_objects_F77
14894 # Dependencies to place before the objects being linked to create a
14896 predeps=$lt_predeps_F77
14898 # Dependencies to place after the objects being linked to create a
14900 postdeps=$lt_postdeps_F77
14902 # The library search path used internally by the compiler when linking
14903 # a shared library.
14904 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14906 # Method to check whether dependent libraries are shared objects.
14907 deplibs_check_method=$lt_deplibs_check_method
14909 # Command to use when deplibs_check_method == file_magic.
14910 file_magic_cmd=$lt_file_magic_cmd
14912 # Flag that allows shared libraries with undefined symbols to be built.
14913 allow_undefined_flag=$lt_allow_undefined_flag_F77
14915 # Flag that forces no undefined symbols.
14916 no_undefined_flag=$lt_no_undefined_flag_F77
14918 # Commands used to finish a libtool library installation in a directory.
14919 finish_cmds=$lt_finish_cmds
14921 # Same as above, but a single script fragment to be evaled but not shown.
14922 finish_eval=$lt_finish_eval
14924 # Take the output of nm and produce a listing of raw symbols and C names.
14925 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14927 # Transform the output of nm in a proper C declaration
14928 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14930 # Transform the output of nm in a C name address pair
14931 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14933 # This is the shared library runtime path variable.
14934 runpath_var=$runpath_var
14936 # This is the shared library path variable.
14937 shlibpath_var=$shlibpath_var
14939 # Is shlibpath searched before the hard-coded library search path?
14940 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14942 # How to hardcode a shared library path into an executable.
14943 hardcode_action=$hardcode_action_F77
14945 # Whether we should hardcode library paths into libraries.
14946 hardcode_into_libs=$hardcode_into_libs
14948 # Flag to hardcode \$libdir into a binary during linking.
14949 # This must work even if \$libdir does not exist.
14950 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14952 # If ld is used when linking, flag to hardcode \$libdir into
14953 # a binary during linking. This must work even if \$libdir does
14955 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14957 # Whether we need a single -rpath flag with a separated argument.
14958 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14960 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14961 # resulting binary.
14962 hardcode_direct=$hardcode_direct_F77
14964 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14965 # resulting binary.
14966 hardcode_minus_L=$hardcode_minus_L_F77
14968 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14969 # the resulting binary.
14970 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14972 # Set to yes if building a shared library automatically hardcodes DIR into the library
14973 # and all subsequent libraries and executables linked against it.
14974 hardcode_automatic=$hardcode_automatic_F77
14976 # Variables whose values should be saved in libtool wrapper scripts and
14977 # restored at relink time.
14978 variables_saved_for_relink="$variables_saved_for_relink"
14980 # Whether libtool must link a program against all its dependency libraries.
14981 link_all_deplibs=$link_all_deplibs_F77
14983 # Compile-time system search path for libraries
14984 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14986 # Run-time system search path for libraries
14987 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14989 # Fix the shell variable \$srcfile for the compiler.
14990 fix_srcfile_path="$fix_srcfile_path_F77"
14992 # Set to yes if exported symbols are required.
14993 always_export_symbols=$always_export_symbols_F77
14995 # The commands to list exported symbols.
14996 export_symbols_cmds=$lt_export_symbols_cmds_F77
14998 # The commands to extract the exported symbol list from a shared archive.
14999 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15001 # Symbols that should not be listed in the preloaded symbols.
15002 exclude_expsyms=$lt_exclude_expsyms_F77
15004 # Symbols that must always be exported.
15005 include_expsyms=$lt_include_expsyms_F77
15007 # ### END LIBTOOL TAG CONFIG: $tagname
15013 # If there is no Makefile yet, we rely on a make rule to execute
15014 # `config.status --recheck' to rerun these tests and create the
15015 # libtool script then.
15016 test -f Makefile && make "$ltmain"
15021 ac_cpp='$CPP $CPPFLAGS'
15022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15034 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15038 # Source file extension for Java test sources.
15041 # Object file extension for compiled Java test sources.
15045 # Code to be used in simple compile tests
15046 lt_simple_compile_test_code="class foo {}\n"
15048 # Code to be used in simple link tests
15049 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15051 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15053 # If no C compiler was specified, use CC.
15056 # Allow CC to be a program name with arguments.
15060 # Allow CC to be a program name with arguments.
15066 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15067 archive_cmds_need_lc_GCJ=no
15070 ## There is no encapsulation within the following macros, do not change
15071 ## the running order or otherwise move them around unless you know exactly
15072 ## what you are doing...
15074 lt_prog_compiler_no_builtin_flag_GCJ=
15076 if test "$GCC" = yes; then
15077 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15079 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15080 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15081 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15082 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 lt_cv_prog_compiler_rtti_exceptions=no
15085 ac_outfile=conftest.$ac_objext
15086 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15087 lt_compiler_flag="-fno-rtti -fno-exceptions"
15088 # Insert the option either (1) after the last *FLAGS variable, or
15089 # (2) before a word containing "conftest.", or (3) at the end.
15090 # Note that $ac_compile itself does not contain backslashes and begins
15091 # with a dollar sign (not a hyphen), so the echo should work correctly.
15092 # The option is referenced via a variable to avoid confusing sed.
15093 lt_compile=`echo "$ac_compile" | $SED \
15094 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15096 -e 's:$: $lt_compiler_flag:'`
15097 (eval echo "\"\$as_me:15097: $lt_compile\"" >&5)
15098 (eval "$lt_compile" 2>conftest.err)
15100 cat conftest.err >&5
15101 echo "$as_me:15101: \$? = $ac_status" >&5
15102 if (exit $ac_status) && test -s "$ac_outfile"; then
15103 # The compiler can only warn and ignore the option if not recognized
15104 # So say no if there are warnings
15105 if test ! -s conftest.err; then
15106 lt_cv_prog_compiler_rtti_exceptions=yes
15112 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15113 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15115 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15116 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15123 lt_prog_compiler_wl_GCJ=
15124 lt_prog_compiler_pic_GCJ=
15125 lt_prog_compiler_static_GCJ=
15127 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15128 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15130 if test "$GCC" = yes; then
15131 lt_prog_compiler_wl_GCJ='-Wl,'
15132 lt_prog_compiler_static_GCJ='-static'
15136 # All AIX code is PIC.
15137 if test "$host_cpu" = ia64; then
15138 # AIX 5 now supports IA64 processor
15139 lt_prog_compiler_static_GCJ='-Bstatic'
15144 # FIXME: we need at least 68020 code to build shared libraries, but
15145 # adding the `-m68020' flag to GCC prevents building anything better,
15147 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15150 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15151 # PIC is the default for these OSes.
15154 mingw* | pw32* | os2*)
15155 # This hack is so that the source file can tell whether it is being
15156 # built for inclusion in a dll (and should export symbols for example).
15157 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15160 darwin* | rhapsody*)
15161 # PIC is the default on this platform
15162 # Common symbols not allowed in MH_DYLIB files
15163 lt_prog_compiler_pic_GCJ='-fno-common'
15167 # Just because we use GCC doesn't mean we suddenly get shared libraries
15168 # on systems that don't support them.
15169 lt_prog_compiler_can_build_shared_GCJ=no
15174 if test -d /usr/nec; then
15175 lt_prog_compiler_pic_GCJ=-Kconform_pic
15180 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15181 # not for PA HP-UX.
15182 case "$host_cpu" in
15187 lt_prog_compiler_pic_GCJ='-fPIC'
15193 lt_prog_compiler_pic_GCJ='-fPIC'
15197 # PORTME Check for flag to pass linker flags through the system compiler.
15200 lt_prog_compiler_wl_GCJ='-Wl,'
15201 if test "$host_cpu" = ia64; then
15202 # AIX 5 now supports IA64 processor
15203 lt_prog_compiler_static_GCJ='-Bstatic'
15205 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15209 mingw* | pw32* | os2*)
15210 # This hack is so that the source file can tell whether it is being
15211 # built for inclusion in a dll (and should export symbols for example).
15212 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15215 hpux9* | hpux10* | hpux11*)
15216 lt_prog_compiler_wl_GCJ='-Wl,'
15217 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15218 # not for PA HP-UX.
15219 case "$host_cpu" in
15224 lt_prog_compiler_pic_GCJ='+Z'
15227 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15228 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15231 irix5* | irix6* | nonstopux*)
15232 lt_prog_compiler_wl_GCJ='-Wl,'
15233 # PIC (with -KPIC) is the default.
15234 lt_prog_compiler_static_GCJ='-non_shared'
15238 lt_prog_compiler_pic_GCJ='-KPIC'
15239 lt_prog_compiler_static_GCJ='-Bstatic'
15245 lt_prog_compiler_wl_GCJ='-Wl,'
15246 lt_prog_compiler_pic_GCJ='-KPIC'
15247 lt_prog_compiler_static_GCJ='-static'
15250 lt_prog_compiler_wl_GCJ='-Wl,'
15251 # All Alpha code is PIC.
15252 lt_prog_compiler_static_GCJ='-non_shared'
15257 osf3* | osf4* | osf5*)
15258 lt_prog_compiler_wl_GCJ='-Wl,'
15259 # All OSF/1 code is PIC.
15260 lt_prog_compiler_static_GCJ='-non_shared'
15264 lt_prog_compiler_pic_GCJ='-Kpic'
15265 lt_prog_compiler_static_GCJ='-dn'
15269 lt_prog_compiler_wl_GCJ='-Wl,'
15270 lt_prog_compiler_pic_GCJ='-KPIC'
15271 lt_prog_compiler_static_GCJ='-Bstatic'
15275 lt_prog_compiler_wl_GCJ='-Qoption ld '
15276 lt_prog_compiler_pic_GCJ='-PIC'
15277 lt_prog_compiler_static_GCJ='-Bstatic'
15280 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15281 lt_prog_compiler_wl_GCJ='-Wl,'
15282 lt_prog_compiler_pic_GCJ='-KPIC'
15283 lt_prog_compiler_static_GCJ='-Bstatic'
15287 if test -d /usr/nec ;then
15288 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15289 lt_prog_compiler_static_GCJ='-Bstatic'
15294 lt_prog_compiler_pic_GCJ='-pic'
15295 lt_prog_compiler_static_GCJ='-Bstatic'
15299 lt_prog_compiler_can_build_shared_GCJ=no
15304 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15305 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15308 # Check to make sure the PIC flag actually works.
15310 if test -n "$lt_prog_compiler_pic_GCJ"; then
15311 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15312 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15313 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15314 echo $ECHO_N "(cached) $ECHO_C" >&6
15316 lt_prog_compiler_pic_works_GCJ=no
15317 ac_outfile=conftest.$ac_objext
15318 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15319 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15320 # Insert the option either (1) after the last *FLAGS variable, or
15321 # (2) before a word containing "conftest.", or (3) at the end.
15322 # Note that $ac_compile itself does not contain backslashes and begins
15323 # with a dollar sign (not a hyphen), so the echo should work correctly.
15324 # The option is referenced via a variable to avoid confusing sed.
15325 lt_compile=`echo "$ac_compile" | $SED \
15326 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15328 -e 's:$: $lt_compiler_flag:'`
15329 (eval echo "\"\$as_me:15329: $lt_compile\"" >&5)
15330 (eval "$lt_compile" 2>conftest.err)
15332 cat conftest.err >&5
15333 echo "$as_me:15333: \$? = $ac_status" >&5
15334 if (exit $ac_status) && test -s "$ac_outfile"; then
15335 # The compiler can only warn and ignore the option if not recognized
15336 # So say no if there are warnings
15337 if test ! -s conftest.err; then
15338 lt_prog_compiler_pic_works_GCJ=yes
15344 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15345 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15347 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15348 case $lt_prog_compiler_pic_GCJ in
15350 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15353 lt_prog_compiler_pic_GCJ=
15354 lt_prog_compiler_can_build_shared_GCJ=no
15359 # For platforms which do not support PIC, -DPIC is meaningless:
15361 lt_prog_compiler_pic_GCJ=
15364 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15368 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15369 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15370 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 lt_cv_prog_compiler_c_o_GCJ=no
15374 $rm -r conftest 2>/dev/null
15378 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15380 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15381 # that will create temporary files in the current directory regardless of
15382 # the output directory. Thus, making CWD read-only will cause this test
15383 # to fail, enabling locking or at least warning the user not to do parallel
15387 lt_compiler_flag="-o out/conftest2.$ac_objext"
15388 # Insert the option either (1) after the last *FLAGS variable, or
15389 # (2) before a word containing "conftest.", or (3) at the end.
15390 # Note that $ac_compile itself does not contain backslashes and begins
15391 # with a dollar sign (not a hyphen), so the echo should work correctly.
15392 lt_compile=`echo "$ac_compile" | $SED \
15393 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15394 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15395 -e 's:$: $lt_compiler_flag:'`
15396 (eval echo "\"\$as_me:15396: $lt_compile\"" >&5)
15397 (eval "$lt_compile" 2>out/conftest.err)
15399 cat out/conftest.err >&5
15400 echo "$as_me:15400: \$? = $ac_status" >&5
15401 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15403 # The compiler can only warn and ignore the option if not recognized
15404 # So say no if there are warnings
15405 if test ! -s out/conftest.err; then
15406 lt_cv_prog_compiler_c_o_GCJ=yes
15410 $rm conftest* out/*
15417 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15418 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15421 hard_links="nottested"
15422 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15423 # do not overwrite the value of need_locks provided by the user
15424 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15425 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15428 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15430 ln conftest.a conftest.b 2>&5 || hard_links=no
15431 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15432 echo "$as_me:$LINENO: result: $hard_links" >&5
15433 echo "${ECHO_T}$hard_links" >&6
15434 if test "$hard_links" = no; then
15435 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15436 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15443 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15444 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15447 allow_undefined_flag_GCJ=
15448 enable_shared_with_static_runtimes_GCJ=no
15450 archive_expsym_cmds_GCJ=
15451 old_archive_From_new_cmds_GCJ=
15452 old_archive_from_expsyms_cmds_GCJ=
15453 export_dynamic_flag_spec_GCJ=
15454 whole_archive_flag_spec_GCJ=
15455 thread_safe_flag_spec_GCJ=
15456 hardcode_libdir_flag_spec_GCJ=
15457 hardcode_libdir_flag_spec_ld_GCJ=
15458 hardcode_libdir_separator_GCJ=
15459 hardcode_direct_GCJ=no
15460 hardcode_minus_L_GCJ=no
15461 hardcode_shlibpath_var_GCJ=unsupported
15462 link_all_deplibs_GCJ=unknown
15463 hardcode_automatic_GCJ=no
15465 module_expsym_cmds_GCJ=
15466 always_export_symbols_GCJ=no
15467 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15468 # include_expsyms should be a list of space-separated symbols to be *always*
15469 # included in the symbol list
15470 include_expsyms_GCJ=
15471 # exclude_expsyms can be an extended regexp of symbols to exclude
15472 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15473 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15474 # as well as any symbol that contains `d'.
15475 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15476 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15477 # platforms (ab)use it in PIC code, but their linkers get confused if
15478 # the symbol is explicitly referenced. Since portable code cannot
15479 # rely on this symbol name, it's probably fine to never include it in
15480 # preloaded symbol tables.
15481 extract_expsyms_cmds=
15484 cygwin* | mingw* | pw32*)
15485 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15486 # When not using gcc, we currently assume that we are using
15487 # Microsoft Visual C++.
15488 if test "$GCC" != yes; then
15498 if test "$with_gnu_ld" = yes; then
15499 # If archive_cmds runs LD, not CC, wlarc should be empty
15502 # See if GNU ld supports shared libraries.
15504 aix3* | aix4* | aix5*)
15505 # On AIX/PPC, the GNU linker is very broken
15506 if test "$host_cpu" != ia64; then
15510 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15511 *** to be unable to reliably create shared libraries on AIX.
15512 *** Therefore, libtool is disabling shared libraries support. If you
15513 *** really care for shared libraries, you may want to modify your PATH
15514 *** so that a non-GNU linker is found, and then restart.
15521 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)'
15522 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15523 hardcode_minus_L_GCJ=yes
15525 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15526 # that the semantics of dynamic libraries on AmigaOS, at least up
15527 # to version 4, is to share data among multiple programs linked
15528 # with the same dynamic library. Since this doesn't match the
15529 # behavior of shared libraries on other platforms, we can't use
15535 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15536 allow_undefined_flag_GCJ=unsupported
15537 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15538 # support --undefined. This deserves some investigation. FIXME
15539 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15545 cygwin* | mingw* | pw32*)
15546 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15547 # as there is no search path for DLLs.
15548 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15549 allow_undefined_flag_GCJ=unsupported
15550 always_export_symbols_GCJ=no
15551 enable_shared_with_static_runtimes_GCJ=yes
15552 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15554 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15555 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15556 # If the export-symbols file already is a .def file (1st line
15557 # is EXPORTS), use it as is; otherwise, prepend...
15558 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15559 cp $export_symbols $output_objdir/$soname.def;
15561 echo EXPORTS > $output_objdir/$soname.def;
15562 cat $export_symbols >> $output_objdir/$soname.def;
15564 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15571 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15572 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15575 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15576 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15581 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15585 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15586 *** create shared libraries on Solaris systems. Therefore, libtool
15587 *** is disabling shared libraries support. We urge you to upgrade GNU
15588 *** binutils to release 2.9.1 or newer. Another option is to modify
15589 *** your PATH or compiler configuration so that the native linker is
15590 *** used, and then restart.
15593 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15594 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15595 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15602 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15604 hardcode_direct_GCJ=yes
15605 hardcode_shlibpath_var_GCJ=no
15609 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15610 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15611 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15618 if test "$ld_shlibs_GCJ" = yes; then
15619 runpath_var=LD_RUN_PATH
15620 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15621 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15622 # ancient GNU ld didn't support --whole-archive et. al.
15623 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15624 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15626 whole_archive_flag_spec_GCJ=
15630 # PORTME fill in a description of your system's linker (not GNU ld)
15633 allow_undefined_flag_GCJ=unsupported
15634 always_export_symbols_GCJ=yes
15635 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'
15636 # Note: this linker hardcodes the directories in LIBPATH if there
15637 # are no directories specified by -L.
15638 hardcode_minus_L_GCJ=yes
15639 if test "$GCC" = yes && test -z "$link_static_flag"; then
15640 # Neither direct hardcoding nor static linking is supported with a
15642 hardcode_direct_GCJ=unsupported
15647 if test "$host_cpu" = ia64; then
15648 # On IA64, the linker does run time linking by default, so we don't
15649 # have to do anything special.
15650 aix_use_runtimelinking=no
15651 exp_sym_flag='-Bexport'
15654 # If we're using GNU nm, then we don't want the "-C" option.
15655 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15656 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15657 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'
15659 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'
15661 aix_use_runtimelinking=no
15663 # Test if we are trying to use run time linking or normal
15664 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15665 # need to do runtime linking.
15666 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15667 for ld_flag in $LDFLAGS; do
15668 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15669 aix_use_runtimelinking=yes
15675 exp_sym_flag='-bexport'
15676 no_entry_flag='-bnoentry'
15679 # When large executables or shared objects are built, AIX ld can
15680 # have problems creating the table of contents. If linking a library
15681 # or program results in "error TOC overflow" add -mminimal-toc to
15682 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15683 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15685 archive_cmds_GCJ=''
15686 hardcode_direct_GCJ=yes
15687 hardcode_libdir_separator_GCJ=':'
15688 link_all_deplibs_GCJ=yes
15690 if test "$GCC" = yes; then
15691 case $host_os in aix4.012|aix4.012.*)
15692 # We only want to do this on AIX 4.2 and lower, the check
15693 # below for broken collect2 doesn't work under 4.3+
15694 collect2name=`${CC} -print-prog-name=collect2`
15695 if test -f "$collect2name" && \
15696 strings "$collect2name" | grep resolve_lib_name >/dev/null
15698 # We have reworked collect2
15699 hardcode_direct_GCJ=yes
15701 # We have old collect2
15702 hardcode_direct_GCJ=unsupported
15703 # It fails to find uninstalled libraries when the uninstalled
15704 # path is not listed in the libpath. Setting hardcode_minus_L
15705 # to unsupported forces relinking
15706 hardcode_minus_L_GCJ=yes
15707 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15708 hardcode_libdir_separator_GCJ=
15711 shared_flag='-shared'
15714 if test "$host_cpu" = ia64; then
15715 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15716 # chokes on -Wl,-G. The following line is correct:
15719 if test "$aix_use_runtimelinking" = yes; then
15720 shared_flag='${wl}-G'
15722 shared_flag='${wl}-bM:SRE'
15727 # It seems that -bexpall does not export symbols beginning with
15728 # underscore (_), so it is better to generate a list of symbols to export.
15729 always_export_symbols_GCJ=yes
15730 if test "$aix_use_runtimelinking" = yes; then
15731 # Warning - without using the other runtime loading flags (-brtl),
15732 # -berok will link without error, but may produce a broken library.
15733 allow_undefined_flag_GCJ='-berok'
15734 # Determine the default libpath from the value encoded in an empty executable.
15735 cat >conftest.$ac_ext <<_ACEOF
15736 #line $LINENO "configure"
15739 cat confdefs.h >>conftest.$ac_ext
15740 cat >>conftest.$ac_ext <<_ACEOF
15741 /* end confdefs.h. */
15751 rm -f conftest.$ac_objext conftest$ac_exeext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15753 (eval $ac_link) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -s conftest$ac_exeext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15764 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15766 # Check for a 64-bit object if we didn't find anything.
15767 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; }
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15775 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15777 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15778 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"
15780 if test "$host_cpu" = ia64; then
15781 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15782 allow_undefined_flag_GCJ="-z nodefs"
15783 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"
15785 # Determine the default libpath from the value encoded in an empty executable.
15786 cat >conftest.$ac_ext <<_ACEOF
15787 #line $LINENO "configure"
15790 cat confdefs.h >>conftest.$ac_ext
15791 cat >>conftest.$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15802 rm -f conftest.$ac_objext conftest$ac_exeext
15803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15804 (eval $ac_link) 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); } &&
15808 { ac_try='test -s conftest$ac_exeext'
15809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15810 (eval $ac_try) 2>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); }; }; then
15815 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15817 # Check for a 64-bit object if we didn't find anything.
15818 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; }
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.$ac_ext >&5
15825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15826 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15828 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15829 # Warning - without using the other run time loading flags,
15830 # -berok will link without error, but may produce a broken library.
15831 no_undefined_flag_GCJ=' ${wl}-bernotok'
15832 allow_undefined_flag_GCJ=' ${wl}-berok'
15833 # -bexpall does not export symbols beginning with underscore (_)
15834 always_export_symbols_GCJ=yes
15835 # Exported symbols can be pulled into shared objects from archives
15836 whole_archive_flag_spec_GCJ=' '
15837 archive_cmds_need_lc_GCJ=yes
15838 # This is similar to how AIX traditionally builds it's shared libraries.
15839 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'
15845 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)'
15846 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15847 hardcode_minus_L_GCJ=yes
15848 # see comment about different semantics on the GNU ld section
15853 export_dynamic_flag_spec_GCJ=-rdynamic
15856 cygwin* | mingw* | pw32*)
15857 # When not using gcc, we currently assume that we are using
15858 # Microsoft Visual C++.
15859 # hardcode_libdir_flag_spec is actually meaningless, as there is
15860 # no search path for DLLs.
15861 hardcode_libdir_flag_spec_GCJ=' '
15862 allow_undefined_flag_GCJ=unsupported
15863 # Tell ltmain to make .lib files, not .a files.
15865 # Tell ltmain to make .dll files, not .so files.
15867 # FIXME: Setting linknames here is a bad hack.
15868 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15869 # The linker will automatically build a .lib file if we build a DLL.
15870 old_archive_From_new_cmds_GCJ='true'
15871 # FIXME: Should let the user specify the lib program.
15872 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15873 fix_srcfile_path='`cygpath -w "$srcfile"`'
15874 enable_shared_with_static_runtimes_GCJ=yes
15877 darwin* | rhapsody*)
15878 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15879 archive_cmds_need_lc_GCJ=no
15881 rhapsody* | darwin1.[012])
15882 allow_undefined_flag_GCJ='-undefined suppress'
15885 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15888 # FIXME: Relying on posixy $() will cause problems for
15889 # cross-compilation, but unfortunately the echo tests do not
15890 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15891 # `"' quotes if we put them in here... so don't!
15892 lt_int_apple_cc_single_mod=no
15893 output_verbose_link_cmd='echo'
15894 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15895 lt_int_apple_cc_single_mod=yes
15897 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15898 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15900 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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'
15902 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15903 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15904 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15905 archive_expsym_cmds_GCJ='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}'
15907 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
15909 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15910 hardcode_direct_GCJ=no
15911 hardcode_automatic_GCJ=yes
15912 hardcode_shlibpath_var_GCJ=unsupported
15913 whole_archive_flag_spec_GCJ='-all_load $convenience'
15914 link_all_deplibs_GCJ=yes
15919 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15920 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15921 hardcode_shlibpath_var_GCJ=no
15928 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15929 # support. Future versions do this automatically, but an explicit c++rt0.o
15930 # does not break anything, and helps significantly (at the cost of a little
15933 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15934 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15935 hardcode_direct_GCJ=yes
15936 hardcode_shlibpath_var_GCJ=no
15939 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15941 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15942 hardcode_direct_GCJ=yes
15943 hardcode_minus_L_GCJ=yes
15944 hardcode_shlibpath_var_GCJ=no
15947 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15949 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15950 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15951 hardcode_direct_GCJ=yes
15952 hardcode_shlibpath_var_GCJ=no
15956 if test "$GCC" = yes; then
15957 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'
15959 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'
15961 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15962 hardcode_libdir_separator_GCJ=:
15963 hardcode_direct_GCJ=yes
15965 # hardcode_minus_L: Not really in the search PATH,
15966 # but as the default location of the library.
15967 hardcode_minus_L_GCJ=yes
15968 export_dynamic_flag_spec_GCJ='${wl}-E'
15972 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15973 case "$host_cpu" in
15975 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15978 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15982 case "$host_cpu" in
15984 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15987 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15991 if test "$with_gnu_ld" = no; then
15992 case "$host_cpu" in
15994 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15995 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15996 hardcode_libdir_separator_GCJ=:
15997 hardcode_direct_GCJ=no
15998 hardcode_shlibpath_var_GCJ=no
16001 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16002 hardcode_direct_GCJ=no
16003 hardcode_shlibpath_var_GCJ=no
16005 # hardcode_minus_L: Not really in the search PATH,
16006 # but as the default location of the library.
16007 hardcode_minus_L_GCJ=yes
16010 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16011 hardcode_libdir_separator_GCJ=:
16012 hardcode_direct_GCJ=yes
16013 export_dynamic_flag_spec_GCJ='${wl}-E'
16015 # hardcode_minus_L: Not really in the search PATH,
16016 # but as the default location of the library.
16017 hardcode_minus_L_GCJ=yes
16023 irix5* | irix6* | nonstopux*)
16024 if test "$GCC" = yes; then
16025 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'
16027 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'
16028 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16030 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16031 hardcode_libdir_separator_GCJ=:
16032 link_all_deplibs_GCJ=yes
16036 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16037 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16039 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16041 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16042 hardcode_direct_GCJ=yes
16043 hardcode_shlibpath_var_GCJ=no
16047 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16048 hardcode_direct_GCJ=yes
16049 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16050 hardcode_libdir_separator_GCJ=:
16051 hardcode_shlibpath_var_GCJ=no
16055 hardcode_direct_GCJ=yes
16056 hardcode_shlibpath_var_GCJ=no
16057 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16058 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16059 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16060 export_dynamic_flag_spec_GCJ='${wl}-E'
16063 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16064 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16065 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16068 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16069 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16076 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16077 hardcode_minus_L_GCJ=yes
16078 allow_undefined_flag_GCJ=unsupported
16079 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'
16080 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16084 if test "$GCC" = yes; then
16085 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16086 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'
16088 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16089 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'
16091 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16092 hardcode_libdir_separator_GCJ=:
16095 osf4* | osf5*) # as osf3* with the addition of -msym flag
16096 if test "$GCC" = yes; then
16097 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16098 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'
16099 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16101 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16102 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'
16103 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~
16104 $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'
16106 # Both c and cxx compiler support -rpath directly
16107 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16109 hardcode_libdir_separator_GCJ=:
16113 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16114 hardcode_shlibpath_var_GCJ=no
16115 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16116 runpath_var=LD_RUN_PATH
16117 hardcode_runpath_var=yes
16121 no_undefined_flag_GCJ=' -z text'
16122 if test "$GCC" = yes; then
16123 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16124 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16125 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16127 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16128 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16129 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16131 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16132 hardcode_shlibpath_var_GCJ=no
16134 solaris2.[0-5] | solaris2.[0-5].*) ;;
16135 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16136 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16138 link_all_deplibs_GCJ=yes
16142 if test "x$host_vendor" = xsequent; then
16143 # Use $CC to link under sequent, because it throws in some extra .o
16144 # files that make .init and .fini sections work.
16145 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16147 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16149 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16150 hardcode_direct_GCJ=yes
16151 hardcode_minus_L_GCJ=yes
16152 hardcode_shlibpath_var_GCJ=no
16156 case $host_vendor in
16158 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16159 hardcode_direct_GCJ=yes # is this really true???
16162 ## LD is ld it makes a PLAMLIB
16163 ## CC just makes a GrossModule.
16164 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16165 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16166 hardcode_direct_GCJ=no
16169 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16170 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16173 runpath_var='LD_RUN_PATH'
16174 hardcode_shlibpath_var_GCJ=no
16178 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16179 hardcode_shlibpath_var_GCJ=no
16180 export_dynamic_flag_spec_GCJ='-Bexport'
16184 if test -d /usr/nec; then
16185 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16186 hardcode_shlibpath_var_GCJ=no
16187 runpath_var=LD_RUN_PATH
16188 hardcode_runpath_var=yes
16194 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16195 hardcode_direct_GCJ=yes
16196 hardcode_minus_L_GCJ=no
16197 hardcode_shlibpath_var_GCJ=no
16198 hardcode_runpath_var=yes
16199 runpath_var=LD_RUN_PATH
16202 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16203 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16204 if test "$GCC" = yes; then
16205 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16207 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16209 runpath_var='LD_RUN_PATH'
16210 hardcode_shlibpath_var_GCJ=no
16214 no_undefined_flag_GCJ=' -z text'
16215 # $CC -shared without GNU ld will not create a library from C++
16216 # object files and a static libstdc++, better avoid it by now
16217 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16218 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16219 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16220 hardcode_libdir_flag_spec_GCJ=
16221 hardcode_shlibpath_var_GCJ=no
16222 runpath_var='LD_RUN_PATH'
16226 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16227 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16228 hardcode_shlibpath_var_GCJ=no
16237 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16238 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16239 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16241 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16242 if test "$GCC" = yes; then
16243 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16247 # Do we need to explicitly link libc?
16249 case "x$archive_cmds_need_lc_GCJ" in
16251 # Assume -lc should be added
16252 archive_cmds_need_lc_GCJ=yes
16254 if test "$enable_shared" = yes && test "$GCC" = yes; then
16255 case $archive_cmds_GCJ in
16257 # FIXME: we may have to deal with multi-command sequences.
16260 # Test whether the compiler implicitly links with -lc since on some
16261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16262 # to ld, don't add -lc before -lgcc.
16263 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16264 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16266 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16269 (eval $ac_compile) 2>&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } 2>conftest.err; then
16275 libobjs=conftest.$ac_objext
16277 wl=$lt_prog_compiler_wl_GCJ
16283 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16284 allow_undefined_flag_GCJ=
16285 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16286 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }
16291 archive_cmds_need_lc_GCJ=no
16293 archive_cmds_need_lc_GCJ=yes
16295 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16297 cat conftest.err 1>&5
16300 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16301 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16308 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16309 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16310 hardcode_action_GCJ=
16311 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16312 test -n "$runpath_var GCJ" || \
16313 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16315 # We can hardcode non-existant directories.
16316 if test "$hardcode_direct_GCJ" != no &&
16317 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16318 # have to relink, otherwise we might link with an installed library
16319 # when we should be linking with a yet-to-be-installed one
16320 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16321 test "$hardcode_minus_L_GCJ" != no; then
16322 # Linking always hardcodes the temporary library directory.
16323 hardcode_action_GCJ=relink
16325 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16326 hardcode_action_GCJ=immediate
16329 # We cannot hardcode anything, or else we can only hardcode existing
16331 hardcode_action_GCJ=unsupported
16333 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16334 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16336 if test "$hardcode_action_GCJ" = relink; then
16337 # Fast installation is not supported
16338 enable_fast_install=no
16339 elif test "$shlibpath_overrides_runpath" = yes ||
16340 test "$enable_shared" = no; then
16341 # Fast installation is not necessary
16342 enable_fast_install=needless
16347 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16348 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16349 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16350 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16351 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16352 echo "$as_me:$LINENO: result: yes" >&5
16353 echo "${ECHO_T}yes" >&6
16355 # FIXME - insert some real tests, host_os isn't really good enough
16358 if test -n "$STRIP" ; then
16359 striplib="$STRIP -x"
16360 echo "$as_me:$LINENO: result: yes" >&5
16361 echo "${ECHO_T}yes" >&6
16363 echo "$as_me:$LINENO: result: no" >&5
16364 echo "${ECHO_T}no" >&6
16368 echo "$as_me:$LINENO: result: no" >&5
16369 echo "${ECHO_T}no" >&6
16374 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16375 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16376 library_names_spec=
16377 libname_spec='lib$name'
16381 postuninstall_cmds=
16385 shlibpath_overrides_runpath=unknown
16387 dynamic_linker="$host_os ld.so"
16388 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16389 if test "$GCC" = yes; then
16390 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16391 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16392 # if the path contains ";" then we assume it to be the separator
16393 # otherwise default to the standard path separator (i.e. ":") - it is
16394 # assumed that no part of a normal pathname contains ";" but that should
16395 # okay in the real world where ";" in dirpaths is itself problematic.
16396 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16398 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16401 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16403 need_lib_prefix=unknown
16404 hardcode_into_libs=no
16406 # when you set need_version to no, make sure it does not cause -set_version
16407 # flags to be left without arguments
16408 need_version=unknown
16413 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16414 shlibpath_var=LIBPATH
16416 # AIX 3 has no versioning support, so we append a major version to the name.
16417 soname_spec='${libname}${release}${shared_ext}$major'
16424 hardcode_into_libs=yes
16425 if test "$host_cpu" = ia64; then
16426 # AIX 5 supports IA64
16427 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16428 shlibpath_var=LD_LIBRARY_PATH
16430 # With GCC up to 2.95.x, collect2 would create an import file
16431 # for dependence libraries. The import file would start with
16432 # the line `#! .'. This would cause the generated library to
16433 # depend on `.', always an invalid library. This was fixed in
16434 # development snapshots of GCC prior to 3.0.
16436 aix4 | aix4.[01] | aix4.[01].*)
16437 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16439 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16442 can_build_shared=no
16446 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16447 # soname into executable. Probably we can add versioning support to
16448 # collect2, so additional links can be useful in future.
16449 if test "$aix_use_runtimelinking" = yes; then
16450 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16451 # instead of lib<name>.a to let people know that these are not
16452 # typical AIX shared libraries.
16453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16455 # We preserve .a as extension for shared libraries through AIX4.2
16456 # and later when we are not doing run time linking.
16457 library_names_spec='${libname}${release}.a $libname.a'
16458 soname_spec='${libname}${release}${shared_ext}$major'
16460 shlibpath_var=LIBPATH
16465 library_names_spec='$libname.ixlibrary $libname.a'
16466 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16467 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'
16471 library_names_spec='${libname}${shared_ext}'
16472 dynamic_linker="$host_os ld.so"
16473 shlibpath_var=LIBRARY_PATH
16479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16480 soname_spec='${libname}${release}${shared_ext}$major'
16481 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16482 shlibpath_var=LD_LIBRARY_PATH
16483 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16484 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16485 # the default ld.so.conf also contains /usr/contrib/lib and
16486 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16487 # libtool to hard-code these into programs
16490 cygwin* | mingw* | pw32*)
16491 version_type=windows
16496 case $GCC,$host_os in
16497 yes,cygwin* | yes,mingw* | yes,pw32*)
16498 library_names_spec='$libname.dll.a'
16499 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16500 postinstall_cmds='base_file=`basename \${file}`~
16501 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16502 dldir=$destdir/`dirname \$dlpath`~
16503 test -d \$dldir || mkdir -p \$dldir~
16504 $install_prog $dir/$dlname \$dldir/$dlname'
16505 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16506 dlpath=$dir/\$dldll~
16508 shlibpath_overrides_runpath=yes
16512 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16513 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16514 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16517 # MinGW DLLs use traditional 'lib' prefix
16518 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16519 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16520 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16521 # It is most probably a Windows format PATH printed by
16522 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16523 # path with ; separators, and with drive letters. We can handle the
16524 # drive letters (cygwin fileutils understands them), so leave them,
16525 # especially as we might pass files found there to a mingw objdump,
16526 # which wouldn't understand a cygwinified path. Ahh.
16527 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16529 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16533 # pw32 DLLs use 'pw' prefix rather than 'lib'
16534 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16540 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16543 dynamic_linker='Win32 ld.exe'
16544 # FIXME: first we should search . and the directory the executable is in
16548 darwin* | rhapsody*)
16549 dynamic_linker="$host_os dyld"
16550 version_type=darwin
16553 # FIXME: Relying on posixy $() will cause problems for
16554 # cross-compilation, but unfortunately the echo tests do not
16555 # yet detect zsh echo's removal of \ escapes.
16556 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16557 soname_spec='${libname}${release}${major}$shared_ext'
16558 shlibpath_overrides_runpath=yes
16559 shlibpath_var=DYLD_LIBRARY_PATH
16560 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16561 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16562 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16563 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"`
16565 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16573 soname_spec='${libname}${release}${shared_ext}$major'
16574 shlibpath_var=LD_LIBRARY_PATH
16582 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16583 version_type=freebsd-$objformat
16584 case $version_type in
16586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16591 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16595 shlibpath_var=LD_LIBRARY_PATH
16598 shlibpath_overrides_runpath=yes
16600 freebsd3.01* | freebsdelf3.01*)
16601 shlibpath_overrides_runpath=yes
16602 hardcode_into_libs=yes
16605 shlibpath_overrides_runpath=no
16606 hardcode_into_libs=yes
16615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16616 soname_spec='${libname}${release}${shared_ext}$major'
16617 shlibpath_var=LD_LIBRARY_PATH
16618 hardcode_into_libs=yes
16621 hpux9* | hpux10* | hpux11*)
16622 # Give a soname corresponding to the major version so that dld.sl refuses to
16623 # link against other versions.
16627 case "$host_cpu" in
16630 hardcode_into_libs=yes
16631 dynamic_linker="$host_os dld.so"
16632 shlibpath_var=LD_LIBRARY_PATH
16633 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16635 soname_spec='${libname}${release}${shared_ext}$major'
16636 if test "X$HPUX_IA64_MODE" = X32; then
16637 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16639 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16641 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16645 hardcode_into_libs=yes
16646 dynamic_linker="$host_os dld.sl"
16647 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16648 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16650 soname_spec='${libname}${release}${shared_ext}$major'
16651 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16652 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16656 dynamic_linker="$host_os dld.sl"
16657 shlibpath_var=SHLIB_PATH
16658 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16660 soname_spec='${libname}${release}${shared_ext}$major'
16663 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16664 postinstall_cmds='chmod 555 $lib'
16667 irix5* | irix6* | nonstopux*)
16669 nonstopux*) version_type=nonstopux ;;
16671 if test "$lt_cv_prog_gnu_ld" = yes; then
16679 soname_spec='${libname}${release}${shared_ext}$major'
16680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16682 irix5* | nonstopux*)
16683 libsuff= shlibsuff=
16686 case $LD in # libtool.m4 will add one of these switches to LD
16687 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16688 libsuff= shlibsuff= libmagic=32-bit;;
16689 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16690 libsuff=32 shlibsuff=N32 libmagic=N32;;
16691 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16692 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16693 *) libsuff= shlibsuff= libmagic=never-match;;
16697 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16698 shlibpath_overrides_runpath=no
16699 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16700 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16701 hardcode_into_libs=yes
16704 # No shared lib support for Linux oldld, aout, or coff.
16705 linux*oldld* | linux*aout* | linux*coff*)
16709 # This must be Linux ELF.
16714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16715 soname_spec='${libname}${release}${shared_ext}$major'
16716 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16717 shlibpath_var=LD_LIBRARY_PATH
16718 shlibpath_overrides_runpath=no
16719 # This implies no fast_install, which is unacceptable.
16720 # Some rework will be needed to allow for fast_install
16721 # before this can be enabled.
16722 hardcode_into_libs=yes
16724 # We used to test for /lib/ld.so.1 and disable shared libraries on
16725 # powerpc, because MkLinux only supported shared libraries with the
16726 # GNU dynamic linker. Since this was broken with cross compilers,
16727 # most powerpc-linux boxes support dynamic linking these days and
16728 # people can always --disable-shared, the test was removed, and we
16729 # assume the GNU/Linux dynamic linker is in use.
16730 dynamic_linker='GNU/Linux ld.so'
16737 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16739 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16740 dynamic_linker='NetBSD (a.out) ld.so'
16742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16743 soname_spec='${libname}${release}${shared_ext}$major'
16744 dynamic_linker='NetBSD ld.elf_so'
16746 shlibpath_var=LD_LIBRARY_PATH
16747 shlibpath_overrides_runpath=yes
16748 hardcode_into_libs=yes
16753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16754 shlibpath_var=LD_LIBRARY_PATH
16755 shlibpath_overrides_runpath=yes
16762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16763 soname_spec='${libname}${release}${shared_ext}$major'
16764 shlibpath_var=LD_LIBRARY_PATH
16765 shlibpath_overrides_runpath=yes
16772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16773 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16774 shlibpath_var=LD_LIBRARY_PATH
16775 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16777 openbsd2.[89] | openbsd2.[89].*)
16778 shlibpath_overrides_runpath=no
16781 shlibpath_overrides_runpath=yes
16785 shlibpath_overrides_runpath=yes
16790 libname_spec='$name'
16793 library_names_spec='$libname${shared_ext} $libname.a'
16794 dynamic_linker='OS/2 ld.exe'
16795 shlibpath_var=LIBPATH
16798 osf3* | osf4* | osf5*)
16802 soname_spec='${libname}${release}${shared_ext}$major'
16803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16804 shlibpath_var=LD_LIBRARY_PATH
16805 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16806 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16811 soname_spec='${libname}${release}${shared_ext}$major'
16812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16813 shlibpath_var=LD_LIBRARY_PATH
16820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16821 soname_spec='${libname}${release}${shared_ext}$major'
16822 shlibpath_var=LD_LIBRARY_PATH
16823 shlibpath_overrides_runpath=yes
16824 hardcode_into_libs=yes
16825 # ldd complains unless libraries are executable
16826 postinstall_cmds='chmod +x $lib'
16831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16832 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16833 shlibpath_var=LD_LIBRARY_PATH
16834 shlibpath_overrides_runpath=yes
16835 if test "$with_gnu_ld" = yes; then
16841 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16844 soname_spec='${libname}${release}${shared_ext}$major'
16845 shlibpath_var=LD_LIBRARY_PATH
16846 case $host_vendor in
16848 shlibpath_overrides_runpath=no
16850 export_dynamic_flag_spec='${wl}-Blargedynsym'
16851 runpath_var=LD_RUN_PATH
16859 shlibpath_overrides_runpath=no
16860 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16866 if test -d /usr/nec ;then
16868 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16869 soname_spec='$libname${shared_ext}.$major'
16870 shlibpath_var=LD_LIBRARY_PATH
16876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16877 soname_spec='${libname}${release}${shared_ext}$major'
16878 shlibpath_var=LD_LIBRARY_PATH
16885 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16886 echo "${ECHO_T}$dynamic_linker" >&6
16887 test "$dynamic_linker" = no && can_build_shared=no
16889 if test "x$enable_dlopen" != xyes; then
16890 enable_dlopen=unknown
16891 enable_dlopen_self=unknown
16892 enable_dlopen_self_static=unknown
16899 lt_cv_dlopen="load_add_on"
16901 lt_cv_dlopen_self=yes
16905 lt_cv_dlopen="LoadLibrary"
16910 lt_cv_dlopen="dlopen"
16915 # if libdl is installed we need to link against it
16916 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16917 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16918 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 ac_check_lib_save_LIBS=$LIBS
16923 cat >conftest.$ac_ext <<_ACEOF
16924 #line $LINENO "configure"
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16931 /* Override any gcc2 internal prototype to avoid an error. */
16935 /* We use char because int might match the return type of a gcc2
16936 builtin and then its argument prototype would still apply. */
16946 rm -f conftest.$ac_objext conftest$ac_exeext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16948 (eval $ac_link) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); } &&
16952 { ac_try='test -s conftest$ac_exeext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_cv_lib_dl_dlopen=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16963 ac_cv_lib_dl_dlopen=no
16965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16966 LIBS=$ac_check_lib_save_LIBS
16968 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16969 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16970 if test $ac_cv_lib_dl_dlopen = yes; then
16971 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16974 lt_cv_dlopen="dyld"
16976 lt_cv_dlopen_self=yes
16983 echo "$as_me:$LINENO: checking for shl_load" >&5
16984 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16985 if test "${ac_cv_func_shl_load+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 cat >conftest.$ac_ext <<_ACEOF
16989 #line $LINENO "configure"
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 /* System header to define __stub macros and hopefully few prototypes,
16996 which can conflict with char shl_load (); below.
16997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16998 <limits.h> exists even on freestanding compilers. */
17000 # include <limits.h>
17002 # include <assert.h>
17004 /* Override any gcc2 internal prototype to avoid an error. */
17009 /* We use char because int might match the return type of a gcc2
17010 builtin and then its argument prototype would still apply. */
17012 /* The GNU C library defines this for functions which it implements
17013 to always fail with ENOSYS. Some functions are actually named
17014 something starting with __ and the normal name is an alias. */
17015 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17018 char (*f) () = shl_load;
17027 return f != shl_load;
17032 rm -f conftest.$ac_objext conftest$ac_exeext
17033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17034 (eval $ac_link) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } &&
17038 { ac_try='test -s conftest$ac_exeext'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; }; then
17044 ac_cv_func_shl_load=yes
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.$ac_ext >&5
17049 ac_cv_func_shl_load=no
17051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17053 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17054 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17055 if test $ac_cv_func_shl_load = yes; then
17056 lt_cv_dlopen="shl_load"
17058 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17059 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17060 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 ac_check_lib_save_LIBS=$LIBS
17065 cat >conftest.$ac_ext <<_ACEOF
17066 #line $LINENO "configure"
17069 cat confdefs.h >>conftest.$ac_ext
17070 cat >>conftest.$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17073 /* Override any gcc2 internal prototype to avoid an error. */
17077 /* We use char because int might match the return type of a gcc2
17078 builtin and then its argument prototype would still apply. */
17088 rm -f conftest.$ac_objext conftest$ac_exeext
17089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17090 (eval $ac_link) 2>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); } &&
17094 { ac_try='test -s conftest$ac_exeext'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; }; then
17100 ac_cv_lib_dld_shl_load=yes
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 ac_cv_lib_dld_shl_load=no
17107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17108 LIBS=$ac_check_lib_save_LIBS
17110 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17111 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17112 if test $ac_cv_lib_dld_shl_load = yes; then
17113 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17115 echo "$as_me:$LINENO: checking for dlopen" >&5
17116 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17117 if test "${ac_cv_func_dlopen+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 cat >conftest.$ac_ext <<_ACEOF
17121 #line $LINENO "configure"
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 /* System header to define __stub macros and hopefully few prototypes,
17128 which can conflict with char dlopen (); below.
17129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17130 <limits.h> exists even on freestanding compilers. */
17132 # include <limits.h>
17134 # include <assert.h>
17136 /* Override any gcc2 internal prototype to avoid an error. */
17141 /* We use char because int might match the return type of a gcc2
17142 builtin and then its argument prototype would still apply. */
17144 /* The GNU C library defines this for functions which it implements
17145 to always fail with ENOSYS. Some functions are actually named
17146 something starting with __ and the normal name is an alias. */
17147 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17150 char (*f) () = dlopen;
17159 return f != dlopen;
17164 rm -f conftest.$ac_objext conftest$ac_exeext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17166 (eval $ac_link) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } &&
17170 { ac_try='test -s conftest$ac_exeext'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; }; then
17176 ac_cv_func_dlopen=yes
17178 echo "$as_me: failed program was:" >&5
17179 sed 's/^/| /' conftest.$ac_ext >&5
17181 ac_cv_func_dlopen=no
17183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17185 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17186 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17187 if test $ac_cv_func_dlopen = yes; then
17188 lt_cv_dlopen="dlopen"
17190 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17191 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17192 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 ac_check_lib_save_LIBS=$LIBS
17197 cat >conftest.$ac_ext <<_ACEOF
17198 #line $LINENO "configure"
17201 cat confdefs.h >>conftest.$ac_ext
17202 cat >>conftest.$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17205 /* Override any gcc2 internal prototype to avoid an error. */
17209 /* We use char because int might match the return type of a gcc2
17210 builtin and then its argument prototype would still apply. */
17220 rm -f conftest.$ac_objext conftest$ac_exeext
17221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17222 (eval $ac_link) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try='test -s conftest$ac_exeext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17232 ac_cv_lib_dl_dlopen=yes
17234 echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.$ac_ext >&5
17237 ac_cv_lib_dl_dlopen=no
17239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17240 LIBS=$ac_check_lib_save_LIBS
17242 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17243 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17244 if test $ac_cv_lib_dl_dlopen = yes; then
17245 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17247 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17248 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17249 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17250 echo $ECHO_N "(cached) $ECHO_C" >&6
17252 ac_check_lib_save_LIBS=$LIBS
17253 LIBS="-lsvld $LIBS"
17254 cat >conftest.$ac_ext <<_ACEOF
17255 #line $LINENO "configure"
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17262 /* Override any gcc2 internal prototype to avoid an error. */
17266 /* We use char because int might match the return type of a gcc2
17267 builtin and then its argument prototype would still apply. */
17277 rm -f conftest.$ac_objext conftest$ac_exeext
17278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17279 (eval $ac_link) 2>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } &&
17283 { ac_try='test -s conftest$ac_exeext'
17284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285 (eval $ac_try) 2>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; }; then
17289 ac_cv_lib_svld_dlopen=yes
17291 echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.$ac_ext >&5
17294 ac_cv_lib_svld_dlopen=no
17296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17297 LIBS=$ac_check_lib_save_LIBS
17299 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17300 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17301 if test $ac_cv_lib_svld_dlopen = yes; then
17302 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17304 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17305 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17306 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 ac_check_lib_save_LIBS=$LIBS
17311 cat >conftest.$ac_ext <<_ACEOF
17312 #line $LINENO "configure"
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17319 /* Override any gcc2 internal prototype to avoid an error. */
17323 /* We use char because int might match the return type of a gcc2
17324 builtin and then its argument prototype would still apply. */
17334 rm -f conftest.$ac_objext conftest$ac_exeext
17335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17336 (eval $ac_link) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); } &&
17340 { ac_try='test -s conftest$ac_exeext'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; }; then
17346 ac_cv_lib_dld_dld_link=yes
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17351 ac_cv_lib_dld_dld_link=no
17353 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17354 LIBS=$ac_check_lib_save_LIBS
17356 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17357 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17358 if test $ac_cv_lib_dld_dld_link = yes; then
17359 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17380 if test "x$lt_cv_dlopen" != xno; then
17386 case $lt_cv_dlopen in
17388 save_CPPFLAGS="$CPPFLAGS"
17389 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17391 save_LDFLAGS="$LDFLAGS"
17392 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17395 LIBS="$lt_cv_dlopen_libs $LIBS"
17397 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17398 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17399 if test "${lt_cv_dlopen_self+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 if test "$cross_compiling" = yes; then :
17403 lt_cv_dlopen_self=cross
17405 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17406 lt_status=$lt_dlunknown
17407 cat > conftest.$ac_ext <<EOF
17408 #line 17408 "configure"
17409 #include "confdefs.h"
17418 # define LT_DLGLOBAL RTLD_GLOBAL
17421 # define LT_DLGLOBAL DL_GLOBAL
17423 # define LT_DLGLOBAL 0
17427 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17428 find out it does not work in some platform. */
17429 #ifndef LT_DLLAZY_OR_NOW
17431 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17434 # define LT_DLLAZY_OR_NOW DL_LAZY
17437 # define LT_DLLAZY_OR_NOW RTLD_NOW
17440 # define LT_DLLAZY_OR_NOW DL_NOW
17442 # define LT_DLLAZY_OR_NOW 0
17450 extern "C" void exit (int);
17453 void fnord() { int i=42;}
17456 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17457 int status = $lt_dlunknown;
17461 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17462 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17463 /* dlclose (self); */
17469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17470 (eval $ac_link) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17474 (./conftest; exit; ) 2>/dev/null
17476 case x$lt_status in
17477 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17478 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17479 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17482 # compilation failed
17483 lt_cv_dlopen_self=no
17490 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17491 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17493 if test "x$lt_cv_dlopen_self" = xyes; then
17494 LDFLAGS="$LDFLAGS $link_static_flag"
17495 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17496 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17497 if test "${lt_cv_dlopen_self_static+set}" = set; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 if test "$cross_compiling" = yes; then :
17501 lt_cv_dlopen_self_static=cross
17503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17504 lt_status=$lt_dlunknown
17505 cat > conftest.$ac_ext <<EOF
17506 #line 17506 "configure"
17507 #include "confdefs.h"
17516 # define LT_DLGLOBAL RTLD_GLOBAL
17519 # define LT_DLGLOBAL DL_GLOBAL
17521 # define LT_DLGLOBAL 0
17525 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17526 find out it does not work in some platform. */
17527 #ifndef LT_DLLAZY_OR_NOW
17529 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17532 # define LT_DLLAZY_OR_NOW DL_LAZY
17535 # define LT_DLLAZY_OR_NOW RTLD_NOW
17538 # define LT_DLLAZY_OR_NOW DL_NOW
17540 # define LT_DLLAZY_OR_NOW 0
17548 extern "C" void exit (int);
17551 void fnord() { int i=42;}
17554 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17555 int status = $lt_dlunknown;
17559 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17560 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17561 /* dlclose (self); */
17567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17568 (eval $ac_link) 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17572 (./conftest; exit; ) 2>/dev/null
17574 case x$lt_status in
17575 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17576 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17577 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17580 # compilation failed
17581 lt_cv_dlopen_self_static=no
17588 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17589 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17592 CPPFLAGS="$save_CPPFLAGS"
17593 LDFLAGS="$save_LDFLAGS"
17598 case $lt_cv_dlopen_self in
17599 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17600 *) enable_dlopen_self=unknown ;;
17603 case $lt_cv_dlopen_self_static in
17604 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17605 *) enable_dlopen_self_static=unknown ;;
17610 # The else clause should only fire when bootstrapping the
17611 # libtool distribution, otherwise you forgot to ship ltmain.sh
17612 # with your package, and you will get complaints that there are
17613 # no rules to generate ltmain.sh.
17614 if test -f "$ltmain"; then
17615 # See if we are running on zsh, and set the options which allow our commands through
17616 # without removal of \ escapes.
17617 if test -n "${ZSH_VERSION+set}" ; then
17618 setopt NO_GLOB_SUBST
17620 # Now quote all the things that may contain metacharacters while being
17621 # careful not to overquote the AC_SUBSTed values. We take copies of the
17622 # variables and quote the copies for generation of the libtool script.
17623 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17624 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17625 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17626 deplibs_check_method reload_flag reload_cmds need_locks \
17627 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17628 lt_cv_sys_global_symbol_to_c_name_address \
17629 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17630 old_postinstall_cmds old_postuninstall_cmds \
17634 lt_prog_compiler_wl_GCJ \
17635 lt_prog_compiler_pic_GCJ \
17636 lt_prog_compiler_static_GCJ \
17637 lt_prog_compiler_no_builtin_flag_GCJ \
17638 export_dynamic_flag_spec_GCJ \
17639 thread_safe_flag_spec_GCJ \
17640 whole_archive_flag_spec_GCJ \
17641 enable_shared_with_static_runtimes_GCJ \
17642 old_archive_cmds_GCJ \
17643 old_archive_from_new_cmds_GCJ \
17644 predep_objects_GCJ \
17645 postdep_objects_GCJ \
17648 compiler_lib_search_path_GCJ \
17650 archive_expsym_cmds_GCJ \
17651 postinstall_cmds_GCJ \
17652 postuninstall_cmds_GCJ \
17653 old_archive_from_expsyms_cmds_GCJ \
17654 allow_undefined_flag_GCJ \
17655 no_undefined_flag_GCJ \
17656 export_symbols_cmds_GCJ \
17657 hardcode_libdir_flag_spec_GCJ \
17658 hardcode_libdir_flag_spec_ld_GCJ \
17659 hardcode_libdir_separator_GCJ \
17660 hardcode_automatic_GCJ \
17662 module_expsym_cmds_GCJ \
17663 lt_cv_prog_compiler_c_o_GCJ \
17664 exclude_expsyms_GCJ \
17665 include_expsyms_GCJ; do
17668 old_archive_cmds_GCJ | \
17669 old_archive_from_new_cmds_GCJ | \
17670 archive_cmds_GCJ | \
17671 archive_expsym_cmds_GCJ | \
17672 module_cmds_GCJ | \
17673 module_expsym_cmds_GCJ | \
17674 old_archive_from_expsyms_cmds_GCJ | \
17675 export_symbols_cmds_GCJ | \
17676 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17677 postinstall_cmds | postuninstall_cmds | \
17678 old_postinstall_cmds | old_postuninstall_cmds | \
17679 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17680 # Double-quote double-evaled strings.
17681 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17684 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17690 *'\$0 --fallback-echo"')
17691 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17697 cat <<__EOF__ >> "$cfgfile"
17698 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17700 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17702 # Shell to use when invoking shell scripts.
17705 # Whether or not to build shared libraries.
17706 build_libtool_libs=$enable_shared
17708 # Whether or not to build static libraries.
17709 build_old_libs=$enable_static
17711 # Whether or not to add -lc for building shared libraries.
17712 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17714 # Whether or not to disallow shared libs when runtime libs are static
17715 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17717 # Whether or not to optimize for fast installation.
17718 fast_install=$enable_fast_install
17721 host_alias=$host_alias
17724 # An echo program that does not interpret backslashes.
17729 AR_FLAGS=$lt_AR_FLAGS
17734 # A language-specific compiler.
17735 CC=$lt_compiler_GCJ
17737 # Is the compiler the GNU C compiler?
17743 # The linker used to build libraries.
17746 # Whether we need hard or soft links.
17749 # A BSD-compatible nm program.
17752 # A symbol stripping program
17755 # Used to examine libraries when file_magic_cmd begins "file"
17756 MAGIC_CMD=$MAGIC_CMD
17758 # Used on cygwin: DLL creation program.
17761 # Used on cygwin: object dumper.
17764 # Used on cygwin: assembler.
17767 # The name of the directory that contains temporary libtool files.
17770 # How to create reloadable object files.
17771 reload_flag=$lt_reload_flag
17772 reload_cmds=$lt_reload_cmds
17774 # How to pass a linker flag through the compiler.
17775 wl=$lt_lt_prog_compiler_wl_GCJ
17777 # Object file suffix (normally "o").
17778 objext="$ac_objext"
17780 # Old archive suffix (normally "a").
17783 # Shared library suffix (normally ".so").
17786 # Executable file suffix (normally "").
17789 # Additional compiler flags for building library objects.
17790 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17793 # What is the maximum length of a command?
17794 max_cmd_len=$lt_cv_sys_max_cmd_len
17796 # Does compiler simultaneously support -c and -o options?
17797 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17799 # Must we lock files when doing compilation ?
17800 need_locks=$lt_need_locks
17802 # Do we need the lib prefix for modules?
17803 need_lib_prefix=$need_lib_prefix
17805 # Do we need a version for libraries?
17806 need_version=$need_version
17808 # Whether dlopen is supported.
17809 dlopen_support=$enable_dlopen
17811 # Whether dlopen of programs is supported.
17812 dlopen_self=$enable_dlopen_self
17814 # Whether dlopen of statically linked programs is supported.
17815 dlopen_self_static=$enable_dlopen_self_static
17817 # Compiler flag to prevent dynamic linking.
17818 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17820 # Compiler flag to turn off builtin functions.
17821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17823 # Compiler flag to allow reflexive dlopens.
17824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17826 # Compiler flag to generate shared objects directly from archives.
17827 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17829 # Compiler flag to generate thread-safe objects.
17830 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17832 # Library versioning type.
17833 version_type=$version_type
17835 # Format of library name prefix.
17836 libname_spec=$lt_libname_spec
17838 # List of archive names. First name is the real one, the rest are links.
17839 # The last name is the one that the linker finds with -lNAME.
17840 library_names_spec=$lt_library_names_spec
17842 # The coded name of the library, if different from the real name.
17843 soname_spec=$lt_soname_spec
17845 # Commands used to build and install an old-style archive.
17847 old_archive_cmds=$lt_old_archive_cmds_GCJ
17848 old_postinstall_cmds=$lt_old_postinstall_cmds
17849 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17851 # Create an old-style archive from a shared archive.
17852 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17854 # Create a temporary old-style archive to link instead of a shared archive.
17855 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17857 # Commands used to build and install a shared archive.
17858 archive_cmds=$lt_archive_cmds_GCJ
17859 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17860 postinstall_cmds=$lt_postinstall_cmds
17861 postuninstall_cmds=$lt_postuninstall_cmds
17863 # Commands used to build a loadable module (assumed same as above if empty)
17864 module_cmds=$lt_module_cmds_GCJ
17865 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17867 # Commands to strip libraries.
17868 old_striplib=$lt_old_striplib
17869 striplib=$lt_striplib
17871 # Dependencies to place before the objects being linked to create a
17873 predep_objects=$lt_predep_objects_GCJ
17875 # Dependencies to place after the objects being linked to create a
17877 postdep_objects=$lt_postdep_objects_GCJ
17879 # Dependencies to place before the objects being linked to create a
17881 predeps=$lt_predeps_GCJ
17883 # Dependencies to place after the objects being linked to create a
17885 postdeps=$lt_postdeps_GCJ
17887 # The library search path used internally by the compiler when linking
17888 # a shared library.
17889 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17891 # Method to check whether dependent libraries are shared objects.
17892 deplibs_check_method=$lt_deplibs_check_method
17894 # Command to use when deplibs_check_method == file_magic.
17895 file_magic_cmd=$lt_file_magic_cmd
17897 # Flag that allows shared libraries with undefined symbols to be built.
17898 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17900 # Flag that forces no undefined symbols.
17901 no_undefined_flag=$lt_no_undefined_flag_GCJ
17903 # Commands used to finish a libtool library installation in a directory.
17904 finish_cmds=$lt_finish_cmds
17906 # Same as above, but a single script fragment to be evaled but not shown.
17907 finish_eval=$lt_finish_eval
17909 # Take the output of nm and produce a listing of raw symbols and C names.
17910 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17912 # Transform the output of nm in a proper C declaration
17913 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17915 # Transform the output of nm in a C name address pair
17916 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17918 # This is the shared library runtime path variable.
17919 runpath_var=$runpath_var
17921 # This is the shared library path variable.
17922 shlibpath_var=$shlibpath_var
17924 # Is shlibpath searched before the hard-coded library search path?
17925 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17927 # How to hardcode a shared library path into an executable.
17928 hardcode_action=$hardcode_action_GCJ
17930 # Whether we should hardcode library paths into libraries.
17931 hardcode_into_libs=$hardcode_into_libs
17933 # Flag to hardcode \$libdir into a binary during linking.
17934 # This must work even if \$libdir does not exist.
17935 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17937 # If ld is used when linking, flag to hardcode \$libdir into
17938 # a binary during linking. This must work even if \$libdir does
17940 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17942 # Whether we need a single -rpath flag with a separated argument.
17943 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17945 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17946 # resulting binary.
17947 hardcode_direct=$hardcode_direct_GCJ
17949 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17950 # resulting binary.
17951 hardcode_minus_L=$hardcode_minus_L_GCJ
17953 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17954 # the resulting binary.
17955 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17957 # Set to yes if building a shared library automatically hardcodes DIR into the library
17958 # and all subsequent libraries and executables linked against it.
17959 hardcode_automatic=$hardcode_automatic_GCJ
17961 # Variables whose values should be saved in libtool wrapper scripts and
17962 # restored at relink time.
17963 variables_saved_for_relink="$variables_saved_for_relink"
17965 # Whether libtool must link a program against all its dependency libraries.
17966 link_all_deplibs=$link_all_deplibs_GCJ
17968 # Compile-time system search path for libraries
17969 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17971 # Run-time system search path for libraries
17972 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17974 # Fix the shell variable \$srcfile for the compiler.
17975 fix_srcfile_path="$fix_srcfile_path_GCJ"
17977 # Set to yes if exported symbols are required.
17978 always_export_symbols=$always_export_symbols_GCJ
17980 # The commands to list exported symbols.
17981 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17983 # The commands to extract the exported symbol list from a shared archive.
17984 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17986 # Symbols that should not be listed in the preloaded symbols.
17987 exclude_expsyms=$lt_exclude_expsyms_GCJ
17989 # Symbols that must always be exported.
17990 include_expsyms=$lt_include_expsyms_GCJ
17992 # ### END LIBTOOL TAG CONFIG: $tagname
17998 # If there is no Makefile yet, we rely on a make rule to execute
17999 # `config.status --recheck' to rerun these tests and create the
18000 # libtool script then.
18001 test -f Makefile && make "$ltmain"
18006 ac_cpp='$CPP $CPPFLAGS'
18007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18022 # Source file extension for RC test sources.
18025 # Object file extension for compiled RC test sources.
18029 # Code to be used in simple compile tests
18030 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18032 # Code to be used in simple link tests
18033 lt_simple_link_test_code="$lt_simple_compile_test_code"
18035 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18037 # If no C compiler was specified, use CC.
18040 # Allow CC to be a program name with arguments.
18044 # Allow CC to be a program name with arguments.
18049 lt_cv_prog_compiler_c_o_RC=yes
18051 # The else clause should only fire when bootstrapping the
18052 # libtool distribution, otherwise you forgot to ship ltmain.sh
18053 # with your package, and you will get complaints that there are
18054 # no rules to generate ltmain.sh.
18055 if test -f "$ltmain"; then
18056 # See if we are running on zsh, and set the options which allow our commands through
18057 # without removal of \ escapes.
18058 if test -n "${ZSH_VERSION+set}" ; then
18059 setopt NO_GLOB_SUBST
18061 # Now quote all the things that may contain metacharacters while being
18062 # careful not to overquote the AC_SUBSTed values. We take copies of the
18063 # variables and quote the copies for generation of the libtool script.
18064 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18065 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18066 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18067 deplibs_check_method reload_flag reload_cmds need_locks \
18068 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18069 lt_cv_sys_global_symbol_to_c_name_address \
18070 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18071 old_postinstall_cmds old_postuninstall_cmds \
18075 lt_prog_compiler_wl_RC \
18076 lt_prog_compiler_pic_RC \
18077 lt_prog_compiler_static_RC \
18078 lt_prog_compiler_no_builtin_flag_RC \
18079 export_dynamic_flag_spec_RC \
18080 thread_safe_flag_spec_RC \
18081 whole_archive_flag_spec_RC \
18082 enable_shared_with_static_runtimes_RC \
18083 old_archive_cmds_RC \
18084 old_archive_from_new_cmds_RC \
18085 predep_objects_RC \
18086 postdep_objects_RC \
18089 compiler_lib_search_path_RC \
18091 archive_expsym_cmds_RC \
18092 postinstall_cmds_RC \
18093 postuninstall_cmds_RC \
18094 old_archive_from_expsyms_cmds_RC \
18095 allow_undefined_flag_RC \
18096 no_undefined_flag_RC \
18097 export_symbols_cmds_RC \
18098 hardcode_libdir_flag_spec_RC \
18099 hardcode_libdir_flag_spec_ld_RC \
18100 hardcode_libdir_separator_RC \
18101 hardcode_automatic_RC \
18103 module_expsym_cmds_RC \
18104 lt_cv_prog_compiler_c_o_RC \
18105 exclude_expsyms_RC \
18106 include_expsyms_RC; do
18109 old_archive_cmds_RC | \
18110 old_archive_from_new_cmds_RC | \
18111 archive_cmds_RC | \
18112 archive_expsym_cmds_RC | \
18114 module_expsym_cmds_RC | \
18115 old_archive_from_expsyms_cmds_RC | \
18116 export_symbols_cmds_RC | \
18117 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18118 postinstall_cmds | postuninstall_cmds | \
18119 old_postinstall_cmds | old_postuninstall_cmds | \
18120 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18121 # Double-quote double-evaled strings.
18122 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18125 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18131 *'\$0 --fallback-echo"')
18132 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18138 cat <<__EOF__ >> "$cfgfile"
18139 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18141 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18143 # Shell to use when invoking shell scripts.
18146 # Whether or not to build shared libraries.
18147 build_libtool_libs=$enable_shared
18149 # Whether or not to build static libraries.
18150 build_old_libs=$enable_static
18152 # Whether or not to add -lc for building shared libraries.
18153 build_libtool_need_lc=$archive_cmds_need_lc_RC
18155 # Whether or not to disallow shared libs when runtime libs are static
18156 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18158 # Whether or not to optimize for fast installation.
18159 fast_install=$enable_fast_install
18162 host_alias=$host_alias
18165 # An echo program that does not interpret backslashes.
18170 AR_FLAGS=$lt_AR_FLAGS
18175 # A language-specific compiler.
18178 # Is the compiler the GNU C compiler?
18184 # The linker used to build libraries.
18187 # Whether we need hard or soft links.
18190 # A BSD-compatible nm program.
18193 # A symbol stripping program
18196 # Used to examine libraries when file_magic_cmd begins "file"
18197 MAGIC_CMD=$MAGIC_CMD
18199 # Used on cygwin: DLL creation program.
18202 # Used on cygwin: object dumper.
18205 # Used on cygwin: assembler.
18208 # The name of the directory that contains temporary libtool files.
18211 # How to create reloadable object files.
18212 reload_flag=$lt_reload_flag
18213 reload_cmds=$lt_reload_cmds
18215 # How to pass a linker flag through the compiler.
18216 wl=$lt_lt_prog_compiler_wl_RC
18218 # Object file suffix (normally "o").
18219 objext="$ac_objext"
18221 # Old archive suffix (normally "a").
18224 # Shared library suffix (normally ".so").
18227 # Executable file suffix (normally "").
18230 # Additional compiler flags for building library objects.
18231 pic_flag=$lt_lt_prog_compiler_pic_RC
18234 # What is the maximum length of a command?
18235 max_cmd_len=$lt_cv_sys_max_cmd_len
18237 # Does compiler simultaneously support -c and -o options?
18238 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18240 # Must we lock files when doing compilation ?
18241 need_locks=$lt_need_locks
18243 # Do we need the lib prefix for modules?
18244 need_lib_prefix=$need_lib_prefix
18246 # Do we need a version for libraries?
18247 need_version=$need_version
18249 # Whether dlopen is supported.
18250 dlopen_support=$enable_dlopen
18252 # Whether dlopen of programs is supported.
18253 dlopen_self=$enable_dlopen_self
18255 # Whether dlopen of statically linked programs is supported.
18256 dlopen_self_static=$enable_dlopen_self_static
18258 # Compiler flag to prevent dynamic linking.
18259 link_static_flag=$lt_lt_prog_compiler_static_RC
18261 # Compiler flag to turn off builtin functions.
18262 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18264 # Compiler flag to allow reflexive dlopens.
18265 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18267 # Compiler flag to generate shared objects directly from archives.
18268 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18270 # Compiler flag to generate thread-safe objects.
18271 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18273 # Library versioning type.
18274 version_type=$version_type
18276 # Format of library name prefix.
18277 libname_spec=$lt_libname_spec
18279 # List of archive names. First name is the real one, the rest are links.
18280 # The last name is the one that the linker finds with -lNAME.
18281 library_names_spec=$lt_library_names_spec
18283 # The coded name of the library, if different from the real name.
18284 soname_spec=$lt_soname_spec
18286 # Commands used to build and install an old-style archive.
18288 old_archive_cmds=$lt_old_archive_cmds_RC
18289 old_postinstall_cmds=$lt_old_postinstall_cmds
18290 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18292 # Create an old-style archive from a shared archive.
18293 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18295 # Create a temporary old-style archive to link instead of a shared archive.
18296 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18298 # Commands used to build and install a shared archive.
18299 archive_cmds=$lt_archive_cmds_RC
18300 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18301 postinstall_cmds=$lt_postinstall_cmds
18302 postuninstall_cmds=$lt_postuninstall_cmds
18304 # Commands used to build a loadable module (assumed same as above if empty)
18305 module_cmds=$lt_module_cmds_RC
18306 module_expsym_cmds=$lt_module_expsym_cmds_RC
18308 # Commands to strip libraries.
18309 old_striplib=$lt_old_striplib
18310 striplib=$lt_striplib
18312 # Dependencies to place before the objects being linked to create a
18314 predep_objects=$lt_predep_objects_RC
18316 # Dependencies to place after the objects being linked to create a
18318 postdep_objects=$lt_postdep_objects_RC
18320 # Dependencies to place before the objects being linked to create a
18322 predeps=$lt_predeps_RC
18324 # Dependencies to place after the objects being linked to create a
18326 postdeps=$lt_postdeps_RC
18328 # The library search path used internally by the compiler when linking
18329 # a shared library.
18330 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18332 # Method to check whether dependent libraries are shared objects.
18333 deplibs_check_method=$lt_deplibs_check_method
18335 # Command to use when deplibs_check_method == file_magic.
18336 file_magic_cmd=$lt_file_magic_cmd
18338 # Flag that allows shared libraries with undefined symbols to be built.
18339 allow_undefined_flag=$lt_allow_undefined_flag_RC
18341 # Flag that forces no undefined symbols.
18342 no_undefined_flag=$lt_no_undefined_flag_RC
18344 # Commands used to finish a libtool library installation in a directory.
18345 finish_cmds=$lt_finish_cmds
18347 # Same as above, but a single script fragment to be evaled but not shown.
18348 finish_eval=$lt_finish_eval
18350 # Take the output of nm and produce a listing of raw symbols and C names.
18351 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18353 # Transform the output of nm in a proper C declaration
18354 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18356 # Transform the output of nm in a C name address pair
18357 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18359 # This is the shared library runtime path variable.
18360 runpath_var=$runpath_var
18362 # This is the shared library path variable.
18363 shlibpath_var=$shlibpath_var
18365 # Is shlibpath searched before the hard-coded library search path?
18366 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18368 # How to hardcode a shared library path into an executable.
18369 hardcode_action=$hardcode_action_RC
18371 # Whether we should hardcode library paths into libraries.
18372 hardcode_into_libs=$hardcode_into_libs
18374 # Flag to hardcode \$libdir into a binary during linking.
18375 # This must work even if \$libdir does not exist.
18376 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18378 # If ld is used when linking, flag to hardcode \$libdir into
18379 # a binary during linking. This must work even if \$libdir does
18381 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18383 # Whether we need a single -rpath flag with a separated argument.
18384 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18386 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18387 # resulting binary.
18388 hardcode_direct=$hardcode_direct_RC
18390 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18391 # resulting binary.
18392 hardcode_minus_L=$hardcode_minus_L_RC
18394 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18395 # the resulting binary.
18396 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18398 # Set to yes if building a shared library automatically hardcodes DIR into the library
18399 # and all subsequent libraries and executables linked against it.
18400 hardcode_automatic=$hardcode_automatic_RC
18402 # Variables whose values should be saved in libtool wrapper scripts and
18403 # restored at relink time.
18404 variables_saved_for_relink="$variables_saved_for_relink"
18406 # Whether libtool must link a program against all its dependency libraries.
18407 link_all_deplibs=$link_all_deplibs_RC
18409 # Compile-time system search path for libraries
18410 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18412 # Run-time system search path for libraries
18413 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18415 # Fix the shell variable \$srcfile for the compiler.
18416 fix_srcfile_path="$fix_srcfile_path_RC"
18418 # Set to yes if exported symbols are required.
18419 always_export_symbols=$always_export_symbols_RC
18421 # The commands to list exported symbols.
18422 export_symbols_cmds=$lt_export_symbols_cmds_RC
18424 # The commands to extract the exported symbol list from a shared archive.
18425 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18427 # Symbols that should not be listed in the preloaded symbols.
18428 exclude_expsyms=$lt_exclude_expsyms_RC
18430 # Symbols that must always be exported.
18431 include_expsyms=$lt_include_expsyms_RC
18433 # ### END LIBTOOL TAG CONFIG: $tagname
18439 # If there is no Makefile yet, we rely on a make rule to execute
18440 # `config.status --recheck' to rerun these tests and create the
18441 # libtool script then.
18442 test -f Makefile && make "$ltmain"
18447 ac_cpp='$CPP $CPPFLAGS'
18448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18457 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18458 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18459 { (exit 1); exit 1; }; }
18463 # Append the new tag name to the list of available tags.
18464 if test -n "$tagname" ; then
18465 available_tags="$available_tags $tagname"
18471 # Now substitute the updated list of available tags.
18472 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18473 mv "${ofile}T" "$ofile"
18477 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18478 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18479 { (exit 1); exit 1; }; }
18485 # This can be used to rebuild libtool when needed
18486 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18488 # Always use our own libtool.
18489 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18491 # Prevent multiple expansion
18513 # Extract the first word of "pwd", so it can be a program name with args.
18514 set dummy pwd; ac_word=$2
18515 echo "$as_me:$LINENO: checking for $ac_word" >&5
18516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18517 if test "${ac_cv_path_RPWD+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18526 for as_dir in $PATH
18529 test -z "$as_dir" && as_dir=.
18530 for ac_exec_ext in '' $ac_executable_extensions; do
18531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18532 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18539 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18543 RPWD=$ac_cv_path_RPWD
18545 if test -n "$RPWD"; then
18546 echo "$as_me:$LINENO: result: $RPWD" >&5
18547 echo "${ECHO_T}$RPWD" >&6
18549 echo "$as_me:$LINENO: result: no" >&5
18550 echo "${ECHO_T}no" >&6
18553 if test ${RPWD} = "false"
18555 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18556 echo "$as_me: error: pwd required but not found" >&2;}
18557 { (exit 1); exit 1; }; }
18560 # Extract the first word of "ar", so it can be a program name with args.
18561 set dummy ar; ac_word=$2
18562 echo "$as_me:$LINENO: checking for $ac_word" >&5
18563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18564 if test "${ac_cv_path_AR+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18569 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18573 for as_dir in $PATH
18576 test -z "$as_dir" && as_dir=.
18577 for ac_exec_ext in '' $ac_executable_extensions; do
18578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18579 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18586 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18592 if test -n "$AR"; then
18593 echo "$as_me:$LINENO: result: $AR" >&5
18594 echo "${ECHO_T}$AR" >&6
18596 echo "$as_me:$LINENO: result: no" >&5
18597 echo "${ECHO_T}no" >&6
18600 if test ${AR} = "false"
18602 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18603 echo "$as_me: error: ar required but not found" >&2;}
18604 { (exit 1); exit 1; }; }
18607 # Extract the first word of "sed", so it can be a program name with args.
18608 set dummy sed; ac_word=$2
18609 echo "$as_me:$LINENO: checking for $ac_word" >&5
18610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18611 if test "${ac_cv_path_SED+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18616 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18620 for as_dir in $PATH
18623 test -z "$as_dir" && as_dir=.
18624 for ac_exec_ext in '' $ac_executable_extensions; do
18625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18626 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18633 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18637 SED=$ac_cv_path_SED
18639 if test -n "$SED"; then
18640 echo "$as_me:$LINENO: result: $SED" >&5
18641 echo "${ECHO_T}$SED" >&6
18643 echo "$as_me:$LINENO: result: no" >&5
18644 echo "${ECHO_T}no" >&6
18647 if test ${SED} = "false"
18649 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18650 echo "$as_me: error: sed required but not found" >&2;}
18651 { (exit 1); exit 1; }; }
18654 # Extract the first word of "rm", so it can be a program name with args.
18655 set dummy rm; ac_word=$2
18656 echo "$as_me:$LINENO: checking for $ac_word" >&5
18657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18658 if test "${ac_cv_path_RM+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18663 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18667 for as_dir in $PATH
18670 test -z "$as_dir" && as_dir=.
18671 for ac_exec_ext in '' $ac_executable_extensions; do
18672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18673 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18680 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18686 if test -n "$RM"; then
18687 echo "$as_me:$LINENO: result: $RM" >&5
18688 echo "${ECHO_T}$RM" >&6
18690 echo "$as_me:$LINENO: result: no" >&5
18691 echo "${ECHO_T}no" >&6
18694 if test ${RM} = "false"
18696 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18697 echo "$as_me: error: rm required but not found" >&2;}
18698 { (exit 1); exit 1; }; }
18701 # Extract the first word of "echo", so it can be a program name with args.
18702 set dummy echo; ac_word=$2
18703 echo "$as_me:$LINENO: checking for $ac_word" >&5
18704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18705 if test "${ac_cv_path_ECHO+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18710 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18714 for as_dir in $PATH
18717 test -z "$as_dir" && as_dir=.
18718 for ac_exec_ext in '' $ac_executable_extensions; do
18719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18720 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18727 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18731 ECHO=$ac_cv_path_ECHO
18733 if test -n "$ECHO"; then
18734 echo "$as_me:$LINENO: result: $ECHO" >&5
18735 echo "${ECHO_T}$ECHO" >&6
18737 echo "$as_me:$LINENO: result: no" >&5
18738 echo "${ECHO_T}no" >&6
18741 if test ${ECHO} = "false"
18743 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18744 echo "$as_me: error: echo required but not found" >&2;}
18745 { (exit 1); exit 1; }; }
18748 # Extract the first word of "mkdir", so it can be a program name with args.
18749 set dummy mkdir; ac_word=$2
18750 echo "$as_me:$LINENO: checking for $ac_word" >&5
18751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18752 if test "${ac_cv_path_MKDIR+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18761 for as_dir in $PATH
18764 test -z "$as_dir" && as_dir=.
18765 for ac_exec_ext in '' $ac_executable_extensions; do
18766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18767 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18774 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18778 MKDIR=$ac_cv_path_MKDIR
18780 if test -n "$MKDIR"; then
18781 echo "$as_me:$LINENO: result: $MKDIR" >&5
18782 echo "${ECHO_T}$MKDIR" >&6
18784 echo "$as_me:$LINENO: result: no" >&5
18785 echo "${ECHO_T}no" >&6
18788 if test ${MKDIR} = "false"
18790 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18791 echo "$as_me: error: mkdir required but not found" >&2;}
18792 { (exit 1); exit 1; }; }
18795 # Extract the first word of "date", so it can be a program name with args.
18796 set dummy date; ac_word=$2
18797 echo "$as_me:$LINENO: checking for $ac_word" >&5
18798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18799 if test "${ac_cv_path_DATE+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18808 for as_dir in $PATH
18811 test -z "$as_dir" && as_dir=.
18812 for ac_exec_ext in '' $ac_executable_extensions; do
18813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18814 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18821 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18825 DATE=$ac_cv_path_DATE
18827 if test -n "$DATE"; then
18828 echo "$as_me:$LINENO: result: $DATE" >&5
18829 echo "${ECHO_T}$DATE" >&6
18831 echo "$as_me:$LINENO: result: no" >&5
18832 echo "${ECHO_T}no" >&6
18835 if test ${DATE} = "false"
18837 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18838 echo "$as_me: error: date required but not found" >&2;}
18839 { (exit 1); exit 1; }; }
18842 # Extract the first word of "mv", so it can be a program name with args.
18843 set dummy mv; ac_word=$2
18844 echo "$as_me:$LINENO: checking for $ac_word" >&5
18845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18846 if test "${ac_cv_path_MV+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18851 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18855 for as_dir in $PATH
18858 test -z "$as_dir" && as_dir=.
18859 for ac_exec_ext in '' $ac_executable_extensions; do
18860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18861 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18868 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18874 if test -n "$MV"; then
18875 echo "$as_me:$LINENO: result: $MV" >&5
18876 echo "${ECHO_T}$MV" >&6
18878 echo "$as_me:$LINENO: result: no" >&5
18879 echo "${ECHO_T}no" >&6
18882 if test ${MV} = "false"
18884 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18885 echo "$as_me: error: mv required but not found" >&2;}
18886 { (exit 1); exit 1; }; }
18889 # Extract the first word of "dot", so it can be a program name with args.
18890 set dummy dot; ac_word=$2
18891 echo "$as_me:$LINENO: checking for $ac_word" >&5
18892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18893 if test "${ac_cv_path_DOT+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18898 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18902 for as_dir in $PATH
18905 test -z "$as_dir" && as_dir=.
18906 for ac_exec_ext in '' $ac_executable_extensions; do
18907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18908 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18915 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18919 DOT=$ac_cv_path_DOT
18921 if test -n "$DOT"; then
18922 echo "$as_me:$LINENO: result: $DOT" >&5
18923 echo "${ECHO_T}$DOT" >&6
18925 echo "$as_me:$LINENO: result: no" >&5
18926 echo "${ECHO_T}no" >&6
18930 # Extract the first word of "etags", so it can be a program name with args.
18931 set dummy etags; ac_word=$2
18932 echo "$as_me:$LINENO: checking for $ac_word" >&5
18933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18934 if test "${ac_cv_path_ETAGS+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18939 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18943 for as_dir in $PATH
18946 test -z "$as_dir" && as_dir=.
18947 for ac_exec_ext in '' $ac_executable_extensions; do
18948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18949 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18956 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18960 ETAGS=$ac_cv_path_ETAGS
18962 if test -n "$ETAGS"; then
18963 echo "$as_me:$LINENO: result: $ETAGS" >&5
18964 echo "${ECHO_T}$ETAGS" >&6
18966 echo "$as_me:$LINENO: result: no" >&5
18967 echo "${ECHO_T}no" >&6
18971 # Extract the first word of "python", so it can be a program name with args.
18972 set dummy python; ac_word=$2
18973 echo "$as_me:$LINENO: checking for $ac_word" >&5
18974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18975 if test "${ac_cv_path_PYTHON+set}" = set; then
18976 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18984 for as_dir in $PATH
18987 test -z "$as_dir" && as_dir=.
18988 for ac_exec_ext in '' $ac_executable_extensions; do
18989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18990 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18997 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
19001 PYTHON=$ac_cv_path_PYTHON
19003 if test -n "$PYTHON"; then
19004 echo "$as_me:$LINENO: result: $PYTHON" >&5
19005 echo "${ECHO_T}$PYTHON" >&6
19007 echo "$as_me:$LINENO: result: no" >&5
19008 echo "${ECHO_T}no" >&6
19011 if test ${PYTHON} = "false"
19013 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
19014 echo "$as_me: WARNING: python required but not found" >&2;}
19017 # Extract the first word of "qmtest", so it can be a program name with args.
19018 set dummy qmtest; ac_word=$2
19019 echo "$as_me:$LINENO: checking for $ac_word" >&5
19020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19021 if test "${ac_cv_path_QMTEST+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19026 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19030 for as_dir in $PATH
19033 test -z "$as_dir" && as_dir=.
19034 for ac_exec_ext in '' $ac_executable_extensions; do
19035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19036 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19043 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19047 QMTEST=$ac_cv_path_QMTEST
19049 if test -n "$QMTEST"; then
19050 echo "$as_me:$LINENO: result: $QMTEST" >&5
19051 echo "${ECHO_T}$QMTEST" >&6
19053 echo "$as_me:$LINENO: result: no" >&5
19054 echo "${ECHO_T}no" >&6
19057 if test ${QMTEST} = "false"
19059 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19060 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19063 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19064 pymajor=`echo $pyversion | cut -d. -f1`
19065 pyminor=`echo $pyversion | cut -d. -f2`
19067 if test "$pymajor" -ge "2"
19069 if test "$pymajor" -eq "2"
19071 if test "$pyminor" -lt "2"
19073 { echo "$as_me:$LINENO: WARNING: Python 2.2 or greater required for qmtest" >&5
19074 echo "$as_me: WARNING: Python 2.2 or greater required for qmtest" >&2;}
19078 { echo "$as_me:$LINENO: WARNING: Python 2.2 or greater required for qmtest" >&5
19079 echo "$as_me: WARNING: Python 2.2 or greater required for qmtest" >&2;}
19086 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19087 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19088 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19089 echo $ECHO_N "(cached) $ECHO_C" >&6
19091 ac_check_lib_save_LIBS=$LIBS
19093 cat >conftest.$ac_ext <<_ACEOF
19094 #line $LINENO "configure"
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19101 /* Override any gcc2 internal prototype to avoid an error. */
19105 /* We use char because int might match the return type of a gcc2
19106 builtin and then its argument prototype would still apply. */
19116 rm -f conftest.$ac_objext conftest$ac_exeext
19117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19118 (eval $ac_link) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); } &&
19122 { ac_try='test -s conftest$ac_exeext'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; }; then
19128 ac_cv_lib_elf_elf_begin=yes
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.$ac_ext >&5
19133 ac_cv_lib_elf_elf_begin=no
19135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19136 LIBS=$ac_check_lib_save_LIBS
19138 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19139 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19140 if test $ac_cv_lib_elf_elf_begin = yes; then
19141 cat >>confdefs.h <<_ACEOF
19142 #define HAVE_LIBELF 1
19150 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19151 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19152 if test "${ac_cv_search_dlopen+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 ac_func_search_save_LIBS=$LIBS
19156 ac_cv_search_dlopen=no
19157 cat >conftest.$ac_ext <<_ACEOF
19158 #line $LINENO "configure"
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19165 /* Override any gcc2 internal prototype to avoid an error. */
19169 /* We use char because int might match the return type of a gcc2
19170 builtin and then its argument prototype would still apply. */
19180 rm -f conftest.$ac_objext conftest$ac_exeext
19181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19182 (eval $ac_link) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } &&
19186 { ac_try='test -s conftest$ac_exeext'
19187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19188 (eval $ac_try) 2>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); }; }; then
19192 ac_cv_search_dlopen="none required"
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19199 if test "$ac_cv_search_dlopen" = no; then
19200 for ac_lib in dl; do
19201 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19202 cat >conftest.$ac_ext <<_ACEOF
19203 #line $LINENO "configure"
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19210 /* Override any gcc2 internal prototype to avoid an error. */
19214 /* We use char because int might match the return type of a gcc2
19215 builtin and then its argument prototype would still apply. */
19225 rm -f conftest.$ac_objext conftest$ac_exeext
19226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19227 (eval $ac_link) 2>&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); } &&
19231 { ac_try='test -s conftest$ac_exeext'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; }; then
19237 ac_cv_search_dlopen="-l$ac_lib"
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19247 LIBS=$ac_func_search_save_LIBS
19249 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19250 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19251 if test "$ac_cv_search_dlopen" != no; then
19252 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19254 cat >>confdefs.h <<\_ACEOF
19255 #define HAVE_DLOPEN 1
19259 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19260 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19264 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19265 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19266 if test "${ac_cv_search_mallinfo+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 ac_func_search_save_LIBS=$LIBS
19270 ac_cv_search_mallinfo=no
19271 cat >conftest.$ac_ext <<_ACEOF
19272 #line $LINENO "configure"
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19279 /* Override any gcc2 internal prototype to avoid an error. */
19283 /* We use char because int might match the return type of a gcc2
19284 builtin and then its argument prototype would still apply. */
19294 rm -f conftest.$ac_objext conftest$ac_exeext
19295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19296 (eval $ac_link) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try='test -s conftest$ac_exeext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19306 ac_cv_search_mallinfo="none required"
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19313 if test "$ac_cv_search_mallinfo" = no; then
19314 for ac_lib in malloc; do
19315 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19316 cat >conftest.$ac_ext <<_ACEOF
19317 #line $LINENO "configure"
19320 cat confdefs.h >>conftest.$ac_ext
19321 cat >>conftest.$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19324 /* Override any gcc2 internal prototype to avoid an error. */
19328 /* We use char because int might match the return type of a gcc2
19329 builtin and then its argument prototype would still apply. */
19339 rm -f conftest.$ac_objext conftest$ac_exeext
19340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19341 (eval $ac_link) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } &&
19345 { ac_try='test -s conftest$ac_exeext'
19346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347 (eval $ac_try) 2>&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; }; then
19351 ac_cv_search_mallinfo="-l$ac_lib"
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.$ac_ext >&5
19358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19361 LIBS=$ac_func_search_save_LIBS
19363 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19364 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19365 if test "$ac_cv_search_mallinfo" != no; then
19366 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19368 cat >>confdefs.h <<\_ACEOF
19369 #define HAVE_MALLINFO 1
19376 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19377 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19378 if test "${ac_cv_header_stdc+set}" = set; then
19379 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 cat >conftest.$ac_ext <<_ACEOF
19382 #line $LINENO "configure"
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 #include <stdlib.h>
19389 #include <stdarg.h>
19390 #include <string.h>
19401 rm -f conftest.$ac_objext
19402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19403 (eval $ac_compile) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } &&
19407 { ac_try='test -s conftest.$ac_objext'
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
19413 ac_cv_header_stdc=yes
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19418 ac_cv_header_stdc=no
19420 rm -f conftest.$ac_objext conftest.$ac_ext
19422 if test $ac_cv_header_stdc = yes; then
19423 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19424 cat >conftest.$ac_ext <<_ACEOF
19425 #line $LINENO "configure"
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19431 #include <string.h>
19434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19435 $EGREP "memchr" >/dev/null 2>&1; then
19438 ac_cv_header_stdc=no
19444 if test $ac_cv_header_stdc = yes; then
19445 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19446 cat >conftest.$ac_ext <<_ACEOF
19447 #line $LINENO "configure"
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 #include <stdlib.h>
19456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19457 $EGREP "free" >/dev/null 2>&1; then
19460 ac_cv_header_stdc=no
19466 if test $ac_cv_header_stdc = yes; then
19467 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19468 if test "$cross_compiling" = yes; then
19471 cat >conftest.$ac_ext <<_ACEOF
19472 #line $LINENO "configure"
19475 cat confdefs.h >>conftest.$ac_ext
19476 cat >>conftest.$ac_ext <<_ACEOF
19477 /* end confdefs.h. */
19479 #if ((' ' & 0x0FF) == 0x020)
19480 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19481 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19483 # define ISLOWER(c) \
19484 (('a' <= (c) && (c) <= 'i') \
19485 || ('j' <= (c) && (c) <= 'r') \
19486 || ('s' <= (c) && (c) <= 'z'))
19487 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19490 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19495 for (i = 0; i < 256; i++)
19496 if (XOR (islower (i), ISLOWER (i))
19497 || toupper (i) != TOUPPER (i))
19502 rm -f conftest$ac_exeext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19504 (eval $ac_link) 2>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509 (eval $ac_try) 2>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); }; }; then
19515 echo "$as_me: program exited with status $ac_status" >&5
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19519 ( exit $ac_status )
19520 ac_cv_header_stdc=no
19522 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19526 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19527 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19528 if test $ac_cv_header_stdc = yes; then
19530 cat >>confdefs.h <<\_ACEOF
19531 #define STDC_HEADERS 1
19536 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19537 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19538 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 cat >conftest.$ac_ext <<_ACEOF
19542 #line $LINENO "configure"
19545 cat confdefs.h >>conftest.$ac_ext
19546 cat >>conftest.$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 #include <sys/types.h>
19549 #include <sys/wait.h>
19550 #ifndef WEXITSTATUS
19551 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19554 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19562 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19567 rm -f conftest.$ac_objext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19569 (eval $ac_compile) 2>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } &&
19573 { ac_try='test -s conftest.$ac_objext'
19574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19575 (eval $ac_try) 2>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); }; }; then
19579 ac_cv_header_sys_wait_h=yes
19581 echo "$as_me: failed program was:" >&5
19582 sed 's/^/| /' conftest.$ac_ext >&5
19584 ac_cv_header_sys_wait_h=no
19586 rm -f conftest.$ac_objext conftest.$ac_ext
19588 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19589 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19590 if test $ac_cv_header_sys_wait_h = yes; then
19592 cat >>confdefs.h <<\_ACEOF
19593 #define HAVE_SYS_WAIT_H 1
19607 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19611 echo "$as_me:$LINENO: checking for $ac_header" >&5
19612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19619 # Is the header compilable?
19620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19622 cat >conftest.$ac_ext <<_ACEOF
19623 #line $LINENO "configure"
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 #include <$ac_header>
19632 rm -f conftest.$ac_objext
19633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19634 (eval $ac_compile) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); } &&
19638 { ac_try='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 ac_header_compiler=yes
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19649 ac_header_compiler=no
19651 rm -f conftest.$ac_objext conftest.$ac_ext
19652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19653 echo "${ECHO_T}$ac_header_compiler" >&6
19655 # Is the header present?
19656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19658 cat >conftest.$ac_ext <<_ACEOF
19659 #line $LINENO "configure"
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 #include <$ac_header>
19667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19670 grep -v '^ *+' conftest.er1 >conftest.err
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } >/dev/null; then
19675 if test -s conftest.err; then
19676 ac_cpp_err=$ac_c_preproc_warn_flag
19683 if test -z "$ac_cpp_err"; then
19684 ac_header_preproc=yes
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 ac_header_preproc=no
19691 rm -f conftest.err conftest.$ac_ext
19692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19693 echo "${ECHO_T}$ac_header_preproc" >&6
19695 # So? What about this header?
19696 case $ac_header_compiler:$ac_header_preproc in
19698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19704 ## ------------------------------------ ##
19705 ## Report this to bug-autoconf@gnu.org. ##
19706 ## ------------------------------------ ##
19709 sed "s/^/$as_me: WARNING: /" >&2
19712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19720 ## ------------------------------------ ##
19721 ## Report this to bug-autoconf@gnu.org. ##
19722 ## ------------------------------------ ##
19725 sed "s/^/$as_me: WARNING: /" >&2
19728 echo "$as_me:$LINENO: checking for $ac_header" >&5
19729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19731 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 eval "$as_ac_Header=$ac_header_preproc"
19735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19740 cat >>confdefs.h <<_ACEOF
19741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19752 for ac_header in malloc.h sys/mman.h sys/resource.h
19754 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19756 echo "$as_me:$LINENO: checking for $ac_header" >&5
19757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19764 # Is the header compilable?
19765 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19766 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19767 cat >conftest.$ac_ext <<_ACEOF
19768 #line $LINENO "configure"
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 #include <$ac_header>
19777 rm -f conftest.$ac_objext
19778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19779 (eval $ac_compile) 2>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } &&
19783 { ac_try='test -s conftest.$ac_objext'
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785 (eval $ac_try) 2>&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; }; then
19789 ac_header_compiler=yes
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.$ac_ext >&5
19794 ac_header_compiler=no
19796 rm -f conftest.$ac_objext conftest.$ac_ext
19797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19798 echo "${ECHO_T}$ac_header_compiler" >&6
19800 # Is the header present?
19801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19803 cat >conftest.$ac_ext <<_ACEOF
19804 #line $LINENO "configure"
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 #include <$ac_header>
19812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19815 grep -v '^ *+' conftest.er1 >conftest.err
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } >/dev/null; then
19820 if test -s conftest.err; then
19821 ac_cpp_err=$ac_c_preproc_warn_flag
19828 if test -z "$ac_cpp_err"; then
19829 ac_header_preproc=yes
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 ac_header_preproc=no
19836 rm -f conftest.err conftest.$ac_ext
19837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19838 echo "${ECHO_T}$ac_header_preproc" >&6
19840 # So? What about this header?
19841 case $ac_header_compiler:$ac_header_preproc in
19843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19849 ## ------------------------------------ ##
19850 ## Report this to bug-autoconf@gnu.org. ##
19851 ## ------------------------------------ ##
19854 sed "s/^/$as_me: WARNING: /" >&2
19857 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19858 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19859 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19860 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19865 ## ------------------------------------ ##
19866 ## Report this to bug-autoconf@gnu.org. ##
19867 ## ------------------------------------ ##
19870 sed "s/^/$as_me: WARNING: /" >&2
19873 echo "$as_me:$LINENO: checking for $ac_header" >&5
19874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19878 eval "$as_ac_Header=$ac_header_preproc"
19880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19885 cat >>confdefs.h <<_ACEOF
19886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19896 for ac_header in dlfcn.h link.h
19898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19900 echo "$as_me:$LINENO: checking for $ac_header" >&5
19901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19908 # Is the header compilable?
19909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19911 cat >conftest.$ac_ext <<_ACEOF
19912 #line $LINENO "configure"
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 $ac_includes_default
19919 #include <$ac_header>
19921 rm -f conftest.$ac_objext
19922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19923 (eval $ac_compile) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } &&
19927 { ac_try='test -s conftest.$ac_objext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19933 ac_header_compiler=yes
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19938 ac_header_compiler=no
19940 rm -f conftest.$ac_objext conftest.$ac_ext
19941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19942 echo "${ECHO_T}$ac_header_compiler" >&6
19944 # Is the header present?
19945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19947 cat >conftest.$ac_ext <<_ACEOF
19948 #line $LINENO "configure"
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 #include <$ac_header>
19956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19959 grep -v '^ *+' conftest.er1 >conftest.err
19961 cat conftest.err >&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } >/dev/null; then
19964 if test -s conftest.err; then
19965 ac_cpp_err=$ac_c_preproc_warn_flag
19972 if test -z "$ac_cpp_err"; then
19973 ac_header_preproc=yes
19975 echo "$as_me: failed program was:" >&5
19976 sed 's/^/| /' conftest.$ac_ext >&5
19978 ac_header_preproc=no
19980 rm -f conftest.err conftest.$ac_ext
19981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19982 echo "${ECHO_T}$ac_header_preproc" >&6
19984 # So? What about this header?
19985 case $ac_header_compiler:$ac_header_preproc in
19987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19993 ## ------------------------------------ ##
19994 ## Report this to bug-autoconf@gnu.org. ##
19995 ## ------------------------------------ ##
19998 sed "s/^/$as_me: WARNING: /" >&2
20001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20009 ## ------------------------------------ ##
20010 ## Report this to bug-autoconf@gnu.org. ##
20011 ## ------------------------------------ ##
20014 sed "s/^/$as_me: WARNING: /" >&2
20017 echo "$as_me:$LINENO: checking for $ac_header" >&5
20018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 eval "$as_ac_Header=$ac_header_preproc"
20024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20029 cat >>confdefs.h <<_ACEOF
20030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20039 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20040 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20041 if test "${ac_cv_c_const+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 cat >conftest.$ac_ext <<_ACEOF
20045 #line $LINENO "configure"
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20055 /* FIXME: Include the comments suggested by Paul. */
20056 #ifndef __cplusplus
20057 /* Ultrix mips cc rejects this. */
20058 typedef int charset[2];
20060 /* SunOS 4.1.1 cc rejects this. */
20061 char const *const *ccp;
20063 /* NEC SVR4.0.2 mips cc rejects this. */
20064 struct point {int x, y;};
20065 static struct point const zero = {0,0};
20066 /* AIX XL C 1.02.0.0 rejects this.
20067 It does not let you subtract one const X* pointer from another in
20068 an arm of an if-expression whose if-part is not a constant
20070 const char *g = "string";
20071 ccp = &g + (g ? g-g : 0);
20072 /* HPUX 7.0 cc rejects these. */
20075 ccp = (char const *const *) p;
20076 { /* SCO 3.2v4 cc rejects this. */
20078 char const *s = 0 ? (char *) 0 : (char const *) 0;
20082 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20083 int x[] = {25, 17};
20084 const int *foo = &x[0];
20087 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20088 typedef const int *iptr;
20092 { /* AIX XL C 1.02.0.0 rejects this saying
20093 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20094 struct s { int j; const int *ap[3]; };
20095 struct s *b; b->j = 5;
20097 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20098 const int foo = 10;
20106 rm -f conftest.$ac_objext
20107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20108 (eval $ac_compile) 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } &&
20112 { ac_try='test -s conftest.$ac_objext'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; }; then
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.$ac_ext >&5
20125 rm -f conftest.$ac_objext conftest.$ac_ext
20127 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20128 echo "${ECHO_T}$ac_cv_c_const" >&6
20129 if test $ac_cv_c_const = no; then
20131 cat >>confdefs.h <<\_ACEOF
20137 echo "$as_me:$LINENO: checking for inline" >&5
20138 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20139 if test "${ac_cv_c_inline+set}" = set; then
20140 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 for ac_kw in inline __inline__ __inline; do
20144 cat >conftest.$ac_ext <<_ACEOF
20145 #line $LINENO "configure"
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151 #ifndef __cplusplus
20153 static $ac_kw foo_t static_foo () {return 0; }
20154 $ac_kw foo_t foo () {return 0; }
20158 rm -f conftest.$ac_objext
20159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20160 (eval $ac_compile) 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } &&
20164 { ac_try='test -s conftest.$ac_objext'
20165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20166 (eval $ac_try) 2>&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); }; }; then
20170 ac_cv_c_inline=$ac_kw; break
20172 echo "$as_me: failed program was:" >&5
20173 sed 's/^/| /' conftest.$ac_ext >&5
20176 rm -f conftest.$ac_objext conftest.$ac_ext
20180 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20181 echo "${ECHO_T}$ac_cv_c_inline" >&6
20182 case $ac_cv_c_inline in
20185 cat >>confdefs.h <<\_ACEOF
20189 *) cat >>confdefs.h <<_ACEOF
20190 #define inline $ac_cv_c_inline
20196 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20197 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20198 if test "${ac_cv_c_bigendian+set}" = set; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 # See if sys/param.h defines the BYTE_ORDER macro.
20202 cat >conftest.$ac_ext <<_ACEOF
20203 #line $LINENO "configure"
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 #include <sys/types.h>
20210 #include <sys/param.h>
20215 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20216 bogus endian macros
20223 rm -f conftest.$ac_objext
20224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20225 (eval $ac_compile) 2>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try='test -s conftest.$ac_objext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 # It does; now see whether it defined to BIG_ENDIAN or not.
20236 cat >conftest.$ac_ext <<_ACEOF
20237 #line $LINENO "configure"
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 #include <sys/types.h>
20244 #include <sys/param.h>
20249 #if BYTE_ORDER != BIG_ENDIAN
20257 rm -f conftest.$ac_objext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20259 (eval $ac_compile) 2>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try='test -s conftest.$ac_objext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 ac_cv_c_bigendian=yes
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20274 ac_cv_c_bigendian=no
20276 rm -f conftest.$ac_objext conftest.$ac_ext
20278 echo "$as_me: failed program was:" >&5
20279 sed 's/^/| /' conftest.$ac_ext >&5
20281 # It does not; compile a test program.
20282 if test "$cross_compiling" = yes; then
20283 # try to guess the endianness by grepping values into an object file
20284 ac_cv_c_bigendian=unknown
20285 cat >conftest.$ac_ext <<_ACEOF
20286 #line $LINENO "configure"
20289 cat confdefs.h >>conftest.$ac_ext
20290 cat >>conftest.$ac_ext <<_ACEOF
20291 /* end confdefs.h. */
20292 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20293 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20294 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20295 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20296 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20297 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20301 _ascii (); _ebcdic ();
20306 rm -f conftest.$ac_objext
20307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20308 (eval $ac_compile) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } &&
20312 { ac_try='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20319 ac_cv_c_bigendian=yes
20321 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20322 if test "$ac_cv_c_bigendian" = unknown; then
20323 ac_cv_c_bigendian=no
20325 # finding both strings is unlikely to happen, but who knows?
20326 ac_cv_c_bigendian=unknown
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20334 rm -f conftest.$ac_objext conftest.$ac_ext
20336 cat >conftest.$ac_ext <<_ACEOF
20337 #line $LINENO "configure"
20340 cat confdefs.h >>conftest.$ac_ext
20341 cat >>conftest.$ac_ext <<_ACEOF
20342 /* end confdefs.h. */
20346 /* Are we little or big endian? From Harbison&Steele. */
20350 char c[sizeof (long)];
20353 exit (u.c[sizeof (long) - 1] == 1);
20356 rm -f conftest$ac_exeext
20357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20358 (eval $ac_link) 2>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; }; then
20367 ac_cv_c_bigendian=no
20369 echo "$as_me: program exited with status $ac_status" >&5
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20373 ( exit $ac_status )
20374 ac_cv_c_bigendian=yes
20376 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20379 rm -f conftest.$ac_objext conftest.$ac_ext
20381 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20382 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20383 case $ac_cv_c_bigendian in
20386 cat >>confdefs.h <<\_ACEOF
20392 cat >>confdefs.h <<\_ACEOF
20393 #define ENDIAN_LITTLE
20397 { { echo "$as_me:$LINENO: error: unknown endianness
20398 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20399 echo "$as_me: error: unknown endianness
20400 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20401 { (exit 1); exit 1; }; } ;;
20405 echo "$as_me:$LINENO: checking for pid_t" >&5
20406 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20407 if test "${ac_cv_type_pid_t+set}" = set; then
20408 echo $ECHO_N "(cached) $ECHO_C" >&6
20410 cat >conftest.$ac_ext <<_ACEOF
20411 #line $LINENO "configure"
20414 cat confdefs.h >>conftest.$ac_ext
20415 cat >>conftest.$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417 $ac_includes_default
20423 if (sizeof (pid_t))
20429 rm -f conftest.$ac_objext
20430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20431 (eval $ac_compile) 2>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try='test -s conftest.$ac_objext'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; }; then
20441 ac_cv_type_pid_t=yes
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.$ac_ext >&5
20446 ac_cv_type_pid_t=no
20448 rm -f conftest.$ac_objext conftest.$ac_ext
20450 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20451 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20452 if test $ac_cv_type_pid_t = yes; then
20456 cat >>confdefs.h <<_ACEOF
20462 echo "$as_me:$LINENO: checking for size_t" >&5
20463 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20464 if test "${ac_cv_type_size_t+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20467 cat >conftest.$ac_ext <<_ACEOF
20468 #line $LINENO "configure"
20471 cat confdefs.h >>conftest.$ac_ext
20472 cat >>conftest.$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20474 $ac_includes_default
20480 if (sizeof (size_t))
20486 rm -f conftest.$ac_objext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20488 (eval $ac_compile) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try='test -s conftest.$ac_objext'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 ac_cv_type_size_t=yes
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20503 ac_cv_type_size_t=no
20505 rm -f conftest.$ac_objext conftest.$ac_ext
20507 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20508 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20509 if test $ac_cv_type_size_t = yes; then
20513 cat >>confdefs.h <<_ACEOF
20514 #define size_t unsigned
20519 echo "$as_me:$LINENO: checking for int64_t" >&5
20520 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20521 if test "${ac_cv_type_int64_t+set}" = set; then
20522 echo $ECHO_N "(cached) $ECHO_C" >&6
20524 cat >conftest.$ac_ext <<_ACEOF
20525 #line $LINENO "configure"
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531 $ac_includes_default
20537 if (sizeof (int64_t))
20543 rm -f conftest.$ac_objext
20544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20545 (eval $ac_compile) 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try='test -s conftest.$ac_objext'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; }; then
20555 ac_cv_type_int64_t=yes
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20560 ac_cv_type_int64_t=no
20562 rm -f conftest.$ac_objext conftest.$ac_ext
20564 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20565 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20566 if test $ac_cv_type_int64_t = yes; then
20568 cat >>confdefs.h <<_ACEOF
20569 #define HAVE_INT64_T 1
20574 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20575 echo "$as_me: error: Type int64_t required but not found" >&2;}
20576 { (exit 1); exit 1; }; }
20579 echo "$as_me:$LINENO: checking for uint64_t" >&5
20580 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20581 if test "${ac_cv_type_uint64_t+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 cat >conftest.$ac_ext <<_ACEOF
20585 #line $LINENO "configure"
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 $ac_includes_default
20595 if ((uint64_t *) 0)
20597 if (sizeof (uint64_t))
20603 rm -f conftest.$ac_objext
20604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20605 (eval $ac_compile) 2>&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } &&
20609 { ac_try='test -s conftest.$ac_objext'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; }; then
20615 ac_cv_type_uint64_t=yes
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.$ac_ext >&5
20620 ac_cv_type_uint64_t=no
20622 rm -f conftest.$ac_objext conftest.$ac_ext
20624 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20625 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20626 if test $ac_cv_type_uint64_t = yes; then
20628 cat >>confdefs.h <<_ACEOF
20629 #define HAVE_UINT64_T 1
20634 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20635 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20636 { (exit 1); exit 1; }; }
20639 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20640 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20641 if test "${ac_cv_header_time+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 cat >conftest.$ac_ext <<_ACEOF
20645 #line $LINENO "configure"
20648 cat confdefs.h >>conftest.$ac_ext
20649 cat >>conftest.$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20651 #include <sys/types.h>
20652 #include <sys/time.h>
20658 if ((struct tm *) 0)
20664 rm -f conftest.$ac_objext
20665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20666 (eval $ac_compile) 2>&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); } &&
20670 { ac_try='test -s conftest.$ac_objext'
20671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20672 (eval $ac_try) 2>&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); }; }; then
20676 ac_cv_header_time=yes
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.$ac_ext >&5
20681 ac_cv_header_time=no
20683 rm -f conftest.$ac_objext conftest.$ac_ext
20685 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20686 echo "${ECHO_T}$ac_cv_header_time" >&6
20687 if test $ac_cv_header_time = yes; then
20689 cat >>confdefs.h <<\_ACEOF
20690 #define TIME_WITH_SYS_TIME 1
20695 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20696 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20697 if test "${ac_cv_struct_tm+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20700 cat >conftest.$ac_ext <<_ACEOF
20701 #line $LINENO "configure"
20704 cat confdefs.h >>conftest.$ac_ext
20705 cat >>conftest.$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20707 #include <sys/types.h>
20713 struct tm *tp; tp->tm_sec;
20718 rm -f conftest.$ac_objext
20719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20720 (eval $ac_compile) 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } &&
20724 { ac_try='test -s conftest.$ac_objext'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; }; then
20730 ac_cv_struct_tm=time.h
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20735 ac_cv_struct_tm=sys/time.h
20737 rm -f conftest.$ac_objext conftest.$ac_ext
20739 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20740 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20741 if test $ac_cv_struct_tm = sys/time.h; then
20743 cat >>confdefs.h <<\_ACEOF
20744 #define TM_IN_SYS_TIME 1
20754 ac_cpp='$CPP $CPPFLAGS'
20755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20759 if test "$cross_compiling" = yes; then
20760 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20761 See \`config.log' for more details." >&5
20762 echo "$as_me: error: cannot run test program while cross compiling
20763 See \`config.log' for more details." >&2;}
20764 { (exit 1); exit 1; }; }
20766 cat >conftest.$ac_ext <<_ACEOF
20767 #line $LINENO "configure"
20770 cat confdefs.h >>conftest.$ac_ext
20771 cat >>conftest.$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20774 #include <stdlib.h>
20779 volatile double A, B;
20783 sprintf(Buffer, "%a", A);
20787 if (A != 0x1.999999999999ap-4)
20794 rm -f conftest$ac_exeext
20795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20796 (eval $ac_link) 2>&5
20798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20801 (eval $ac_try) 2>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); }; }; then
20807 echo "$as_me: program exited with status $ac_status" >&5
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20811 ( exit $ac_status )
20814 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20817 ac_cpp='$CPP $CPPFLAGS'
20818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20822 if test "$ac_c_printf_a" = "yes"; then
20824 cat >>confdefs.h <<\_ACEOF
20825 #define HAVE_PRINTF_A 1
20831 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20832 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20833 if test "${ac_cv_cxx_namespaces+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20839 ac_cpp='$CXXCPP $CPPFLAGS'
20840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20844 cat >conftest.$ac_ext <<_ACEOF
20845 #line $LINENO "configure"
20848 cat confdefs.h >>conftest.$ac_ext
20849 cat >>conftest.$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20851 namespace Outer { namespace Inner { int i = 0; }}
20855 using namespace Outer::Inner; return i;
20860 rm -f conftest.$ac_objext
20861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20862 (eval $ac_compile) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } &&
20866 { ac_try='test -s conftest.$ac_objext'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20872 ac_cv_cxx_namespaces=yes
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.$ac_ext >&5
20877 ac_cv_cxx_namespaces=no
20879 rm -f conftest.$ac_objext conftest.$ac_ext
20881 ac_cpp='$CPP $CPPFLAGS'
20882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20888 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20889 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20890 if test "$ac_cv_cxx_namespaces" = yes; then
20892 cat >>confdefs.h <<\_ACEOF
20893 #define HAVE_NAMESPACES
20898 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
20899 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6
20900 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 ac_cpp='$CXXCPP $CPPFLAGS'
20908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20912 cat >conftest.$ac_ext <<_ACEOF
20913 #line $LINENO "configure"
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20919 #include <ext/hash_map>
20920 #ifdef HAVE_NAMESPACES
20921 using namespace std;
20926 hash_map<int, int> t;
20931 rm -f conftest.$ac_objext
20932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20933 (eval $ac_compile) 2>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } &&
20937 { ac_try='test -s conftest.$ac_objext'
20938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20939 (eval $ac_try) 2>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); }; }; then
20943 ac_cv_cxx_have_std_ext_hash_map=yes
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20948 ac_cv_cxx_have_std_ext_hash_map=no
20950 rm -f conftest.$ac_objext conftest.$ac_ext
20952 ac_cpp='$CPP $CPPFLAGS'
20953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20958 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
20959 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6
20960 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes; then
20962 cat >>confdefs.h <<\_ACEOF
20963 #define HAVE_STD_EXT_HASH_MAP
20967 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
20968 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6
20969 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 ac_cpp='$CXXCPP $CPPFLAGS'
20977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20981 cat >conftest.$ac_ext <<_ACEOF
20982 #line $LINENO "configure"
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 #include <ext/hash_map>
20989 #ifdef HAVE_NAMESPACES
20990 using namespace __gnu_cxx;
20995 hash_map<int,int> t;
21000 rm -f conftest.$ac_objext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21002 (eval $ac_compile) 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } &&
21006 { ac_try='test -s conftest.$ac_objext'
21007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21008 (eval $ac_try) 2>&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); }; }; then
21012 ac_cv_cxx_have_gnu_ext_hash_map=yes
21014 echo "$as_me: failed program was:" >&5
21015 sed 's/^/| /' conftest.$ac_ext >&5
21017 ac_cv_cxx_have_gnu_ext_hash_map=no
21019 rm -f conftest.$ac_objext conftest.$ac_ext
21021 ac_cpp='$CPP $CPPFLAGS'
21022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21027 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
21028 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6
21029 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes; then
21031 cat >>confdefs.h <<\_ACEOF
21032 #define HAVE_GNU_EXT_HASH_MAP
21036 echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
21037 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6
21038 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
21039 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 ac_cpp='$CXXCPP $CPPFLAGS'
21046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21050 cat >conftest.$ac_ext <<_ACEOF
21051 #line $LINENO "configure"
21054 cat confdefs.h >>conftest.$ac_ext
21055 cat >>conftest.$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21057 #include <hash_map>
21061 hash_map<int,int> t;
21066 rm -f conftest.$ac_objext
21067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21068 (eval $ac_compile) 2>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } &&
21072 { ac_try='test -s conftest.$ac_objext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21078 ac_cv_cxx_have_global_hash_map=yes
21080 echo "$as_me: failed program was:" >&5
21081 sed 's/^/| /' conftest.$ac_ext >&5
21083 ac_cv_cxx_have_global_hash_map=no
21085 rm -f conftest.$ac_objext conftest.$ac_ext
21087 ac_cpp='$CPP $CPPFLAGS'
21088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21093 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
21094 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6
21095 if test "$ac_cv_cxx_have_global_hash_map" = yes; then
21097 cat >>confdefs.h <<\_ACEOF
21098 #define HAVE_GLOBAL_HASH_MAP
21102 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
21103 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6
21104 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
21105 echo $ECHO_N "(cached) $ECHO_C" >&6
21111 ac_cpp='$CXXCPP $CPPFLAGS'
21112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21116 cat >conftest.$ac_ext <<_ACEOF
21117 #line $LINENO "configure"
21120 cat confdefs.h >>conftest.$ac_ext
21121 cat >>conftest.$ac_ext <<_ACEOF
21122 /* end confdefs.h. */
21123 #include <ext/hash_set>
21124 #ifdef HAVE_NAMESPACES
21125 using namespace std;
21135 rm -f conftest.$ac_objext
21136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21137 (eval $ac_compile) 2>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try='test -s conftest.$ac_objext'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; }; then
21147 ac_cv_cxx_have_std_ext_hash_set=yes
21149 echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.$ac_ext >&5
21152 ac_cv_cxx_have_std_ext_hash_set=no
21154 rm -f conftest.$ac_objext conftest.$ac_ext
21156 ac_cpp='$CPP $CPPFLAGS'
21157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21162 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
21163 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6
21164 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes; then
21166 cat >>confdefs.h <<\_ACEOF
21167 #define HAVE_STD_EXT_HASH_SET
21171 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
21172 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6
21173 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
21174 echo $ECHO_N "(cached) $ECHO_C" >&6
21180 ac_cpp='$CXXCPP $CPPFLAGS'
21181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21185 cat >conftest.$ac_ext <<_ACEOF
21186 #line $LINENO "configure"
21189 cat confdefs.h >>conftest.$ac_ext
21190 cat >>conftest.$ac_ext <<_ACEOF
21191 /* end confdefs.h. */
21192 #include <ext/hash_set>
21193 #ifdef HAVE_NAMESPACES
21194 using namespace __gnu_cxx;
21204 rm -f conftest.$ac_objext
21205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21206 (eval $ac_compile) 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } &&
21210 { ac_try='test -s conftest.$ac_objext'
21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212 (eval $ac_try) 2>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; }; then
21216 ac_cv_cxx_have_gnu_ext_hash_set=yes
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21221 ac_cv_cxx_have_gnu_ext_hash_set=no
21223 rm -f conftest.$ac_objext conftest.$ac_ext
21225 ac_cpp='$CPP $CPPFLAGS'
21226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21231 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
21232 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6
21233 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes; then
21235 cat >>confdefs.h <<\_ACEOF
21236 #define HAVE_GNU_EXT_HASH_SET
21240 echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
21241 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6
21242 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
21243 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 ac_cpp='$CXXCPP $CPPFLAGS'
21250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21254 cat >conftest.$ac_ext <<_ACEOF
21255 #line $LINENO "configure"
21258 cat confdefs.h >>conftest.$ac_ext
21259 cat >>conftest.$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 #include <hash_set>
21265 hash_set<int> t; return 0;
21270 rm -f conftest.$ac_objext
21271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21272 (eval $ac_compile) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); } &&
21276 { ac_try='test -s conftest.$ac_objext'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 ac_cv_cxx_have_global_hash_set=yes
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21287 ac_cv_cxx_have_global_hash_set=no
21289 rm -f conftest.$ac_objext conftest.$ac_ext
21291 ac_cpp='$CPP $CPPFLAGS'
21292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21297 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
21298 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6
21299 if test "$ac_cv_cxx_have_global_hash_set" = yes; then
21301 cat >>confdefs.h <<\_ACEOF
21302 #define HAVE_GLOBAL_HASH_SET
21306 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21307 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21308 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21309 echo $ECHO_N "(cached) $ECHO_C" >&6
21315 ac_cpp='$CXXCPP $CPPFLAGS'
21316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21320 cat >conftest.$ac_ext <<_ACEOF
21321 #line $LINENO "configure"
21324 cat confdefs.h >>conftest.$ac_ext
21325 cat >>conftest.$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 #include <ext/slist>
21328 #ifdef HAVE_NAMESPACES
21329 using namespace std;
21334 slist<int> s; return 0;
21339 rm -f conftest.$ac_objext
21340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21341 (eval $ac_compile) 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); } &&
21345 { ac_try='test -s conftest.$ac_objext'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; }; then
21351 ac_cv_cxx_have_ext_slist=std
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21356 ac_cv_cxx_have_ext_slist=no
21358 rm -f conftest.$ac_objext conftest.$ac_ext
21359 cat >conftest.$ac_ext <<_ACEOF
21360 #line $LINENO "configure"
21363 cat confdefs.h >>conftest.$ac_ext
21364 cat >>conftest.$ac_ext <<_ACEOF
21365 /* end confdefs.h. */
21366 #include <ext/slist>
21367 #ifdef HAVE_NAMESPACES
21368 using namespace __gnu_cxx;
21373 slist<int> s; return 0;
21378 rm -f conftest.$ac_objext
21379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21380 (eval $ac_compile) 2>&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); } &&
21384 { ac_try='test -s conftest.$ac_objext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21390 ac_cv_cxx_have_ext_slist=gnu
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21395 ac_cv_cxx_have_ext_slist=no
21397 rm -f conftest.$ac_objext conftest.$ac_ext
21400 ac_cpp='$CPP $CPPFLAGS'
21401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21407 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21408 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21409 if test "$ac_cv_cxx_have_ext_slist" = std; then
21411 cat >>confdefs.h <<\_ACEOF
21412 #define HAVE_EXT_SLIST std
21416 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21418 cat >>confdefs.h <<\_ACEOF
21419 #define HAVE_EXT_SLIST gnu
21424 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21425 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21426 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21427 echo $ECHO_N "(cached) $ECHO_C" >&6
21433 ac_cpp='$CXXCPP $CPPFLAGS'
21434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21438 cat >conftest.$ac_ext <<_ACEOF
21439 #line $LINENO "configure"
21442 cat confdefs.h >>conftest.$ac_ext
21443 cat >>conftest.$ac_ext <<_ACEOF
21444 /* end confdefs.h. */
21445 #include <iterator>
21446 #ifdef HAVE_NAMESPACES
21447 using namespace std;
21452 iterator<int,int,int> t; return 0;
21457 rm -f conftest.$ac_objext
21458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21459 (eval $ac_compile) 2>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); } &&
21463 { ac_try='test -s conftest.$ac_objext'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_cv_cxx_have_std_iterator=yes
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.$ac_ext >&5
21474 ac_cv_cxx_have_std_iterator=no
21476 rm -f conftest.$ac_objext conftest.$ac_ext
21478 ac_cpp='$CPP $CPPFLAGS'
21479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21485 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21486 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21487 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21489 cat >>confdefs.h <<\_ACEOF
21490 #define HAVE_STD_ITERATOR
21495 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21496 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21497 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21498 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 ac_cpp='$CXXCPP $CPPFLAGS'
21505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21509 cat >conftest.$ac_ext <<_ACEOF
21510 #line $LINENO "configure"
21513 cat confdefs.h >>conftest.$ac_ext
21514 cat >>conftest.$ac_ext <<_ACEOF
21515 /* end confdefs.h. */
21516 #include <iterator>
21517 #ifdef HAVE_NAMESPACES
21518 using namespace std;
21523 bidirectional_iterator<int,int> t; return 0;
21528 rm -f conftest.$ac_objext
21529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21530 (eval $ac_compile) 2>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); } &&
21534 { ac_try='test -s conftest.$ac_objext'
21535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21536 (eval $ac_try) 2>&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); }; }; then
21540 ac_cv_cxx_have_bi_iterator=yes
21542 echo "$as_me: failed program was:" >&5
21543 sed 's/^/| /' conftest.$ac_ext >&5
21545 ac_cv_cxx_have_bi_iterator=no
21547 rm -f conftest.$ac_objext conftest.$ac_ext
21549 ac_cpp='$CPP $CPPFLAGS'
21550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21556 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21557 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21558 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21560 cat >>confdefs.h <<\_ACEOF
21561 #define HAVE_BI_ITERATOR
21566 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21567 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21568 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
21575 ac_cpp='$CXXCPP $CPPFLAGS'
21576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21580 cat >conftest.$ac_ext <<_ACEOF
21581 #line $LINENO "configure"
21584 cat confdefs.h >>conftest.$ac_ext
21585 cat >>conftest.$ac_ext <<_ACEOF
21586 /* end confdefs.h. */
21587 #include <iterator>
21588 #ifdef HAVE_NAMESPACES
21589 using namespace std;
21594 forward_iterator<int,int> t; return 0;
21599 rm -f conftest.$ac_objext
21600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21601 (eval $ac_compile) 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try='test -s conftest.$ac_objext'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; }; then
21611 ac_cv_cxx_have_fwd_iterator=yes
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21616 ac_cv_cxx_have_fwd_iterator=no
21618 rm -f conftest.$ac_objext conftest.$ac_ext
21620 ac_cpp='$CPP $CPPFLAGS'
21621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21627 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21628 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21629 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21631 cat >>confdefs.h <<\_ACEOF
21632 #define HAVE_FWD_ITERATOR
21638 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21639 # for constant arguments. Useless!
21640 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21641 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21642 if test "${ac_cv_working_alloca_h+set}" = set; then
21643 echo $ECHO_N "(cached) $ECHO_C" >&6
21645 cat >conftest.$ac_ext <<_ACEOF
21646 #line $LINENO "configure"
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 #include <alloca.h>
21656 char *p = (char *) alloca (2 * sizeof (int));
21661 rm -f conftest.$ac_objext conftest$ac_exeext
21662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21663 (eval $ac_link) 2>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } &&
21667 { ac_try='test -s conftest$ac_exeext'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; }; then
21673 ac_cv_working_alloca_h=yes
21675 echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.$ac_ext >&5
21678 ac_cv_working_alloca_h=no
21680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21682 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21683 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21684 if test $ac_cv_working_alloca_h = yes; then
21686 cat >>confdefs.h <<\_ACEOF
21687 #define HAVE_ALLOCA_H 1
21692 echo "$as_me:$LINENO: checking for alloca" >&5
21693 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21694 if test "${ac_cv_func_alloca_works+set}" = set; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21697 cat >conftest.$ac_ext <<_ACEOF
21698 #line $LINENO "configure"
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21705 # define alloca __builtin_alloca
21708 # include <malloc.h>
21709 # define alloca _alloca
21712 # include <alloca.h>
21717 # ifndef alloca /* predefined by HP cc +Olibcalls */
21728 char *p = (char *) alloca (1);
21733 rm -f conftest.$ac_objext conftest$ac_exeext
21734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21735 (eval $ac_link) 2>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } &&
21739 { ac_try='test -s conftest$ac_exeext'
21740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21741 (eval $ac_try) 2>&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); }; }; then
21745 ac_cv_func_alloca_works=yes
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21750 ac_cv_func_alloca_works=no
21752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21754 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21755 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21757 if test $ac_cv_func_alloca_works = yes; then
21759 cat >>confdefs.h <<\_ACEOF
21760 #define HAVE_ALLOCA 1
21764 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21765 # that cause trouble. Some versions do not even contain alloca or
21766 # contain a buggy version. If you still want to use their alloca,
21767 # use ar to extract alloca.o from them instead of compiling alloca.c.
21769 ALLOCA=alloca.$ac_objext
21771 cat >>confdefs.h <<\_ACEOF
21776 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21777 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21778 if test "${ac_cv_os_cray+set}" = set; then
21779 echo $ECHO_N "(cached) $ECHO_C" >&6
21781 cat >conftest.$ac_ext <<_ACEOF
21782 #line $LINENO "configure"
21785 cat confdefs.h >>conftest.$ac_ext
21786 cat >>conftest.$ac_ext <<_ACEOF
21787 /* end confdefs.h. */
21788 #if defined(CRAY) && ! defined(CRAY2)
21795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21796 $EGREP "webecray" >/dev/null 2>&1; then
21804 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21805 echo "${ECHO_T}$ac_cv_os_cray" >&6
21806 if test $ac_cv_os_cray = yes; then
21807 for ac_func in _getb67 GETB67 getb67; do
21808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21809 echo "$as_me:$LINENO: checking for $ac_func" >&5
21810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21811 if eval "test \"\${$as_ac_var+set}\" = set"; then
21812 echo $ECHO_N "(cached) $ECHO_C" >&6
21814 cat >conftest.$ac_ext <<_ACEOF
21815 #line $LINENO "configure"
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 /* System header to define __stub macros and hopefully few prototypes,
21822 which can conflict with char $ac_func (); below.
21823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21824 <limits.h> exists even on freestanding compilers. */
21826 # include <limits.h>
21828 # include <assert.h>
21830 /* Override any gcc2 internal prototype to avoid an error. */
21835 /* We use char because int might match the return type of a gcc2
21836 builtin and then its argument prototype would still apply. */
21838 /* The GNU C library defines this for functions which it implements
21839 to always fail with ENOSYS. Some functions are actually named
21840 something starting with __ and the normal name is an alias. */
21841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21844 char (*f) () = $ac_func;
21853 return f != $ac_func;
21858 rm -f conftest.$ac_objext conftest$ac_exeext
21859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21860 (eval $ac_link) 2>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } &&
21864 { ac_try='test -s conftest$ac_exeext'
21865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21866 (eval $ac_try) 2>&5
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); }; }; then
21870 eval "$as_ac_var=yes"
21872 echo "$as_me: failed program was:" >&5
21873 sed 's/^/| /' conftest.$ac_ext >&5
21875 eval "$as_ac_var=no"
21877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21881 if test `eval echo '${'$as_ac_var'}'` = yes; then
21883 cat >>confdefs.h <<_ACEOF
21884 #define CRAY_STACKSEG_END $ac_func
21893 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21894 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21895 if test "${ac_cv_c_stack_direction+set}" = set; then
21896 echo $ECHO_N "(cached) $ECHO_C" >&6
21898 if test "$cross_compiling" = yes; then
21899 ac_cv_c_stack_direction=0
21901 cat >conftest.$ac_ext <<_ACEOF
21902 #line $LINENO "configure"
21905 cat confdefs.h >>conftest.$ac_ext
21906 cat >>conftest.$ac_ext <<_ACEOF
21907 /* end confdefs.h. */
21909 find_stack_direction ()
21911 static char *addr = 0;
21916 return find_stack_direction ();
21919 return (&dummy > addr) ? 1 : -1;
21925 exit (find_stack_direction () < 0);
21928 rm -f conftest$ac_exeext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930 (eval $ac_link) 2>&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21939 ac_cv_c_stack_direction=1
21941 echo "$as_me: program exited with status $ac_status" >&5
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.$ac_ext >&5
21945 ( exit $ac_status )
21946 ac_cv_c_stack_direction=-1
21948 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21951 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21952 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21954 cat >>confdefs.h <<_ACEOF
21955 #define STACK_DIRECTION $ac_cv_c_stack_direction
21961 if test $ac_cv_c_compiler_gnu = yes; then
21962 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21963 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21964 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21965 echo $ECHO_N "(cached) $ECHO_C" >&6
21967 ac_pattern="Autoconf.*'x'"
21968 cat >conftest.$ac_ext <<_ACEOF
21969 #line $LINENO "configure"
21972 cat confdefs.h >>conftest.$ac_ext
21973 cat >>conftest.$ac_ext <<_ACEOF
21974 /* end confdefs.h. */
21978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21979 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21980 ac_cv_prog_gcc_traditional=yes
21982 ac_cv_prog_gcc_traditional=no
21987 if test $ac_cv_prog_gcc_traditional = no; then
21988 cat >conftest.$ac_ext <<_ACEOF
21989 #line $LINENO "configure"
21992 cat confdefs.h >>conftest.$ac_ext
21993 cat >>conftest.$ac_ext <<_ACEOF
21994 /* end confdefs.h. */
21995 #include <termio.h>
21998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21999 $EGREP "$ac_pattern" >/dev/null 2>&1; then
22000 ac_cv_prog_gcc_traditional=yes
22006 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
22007 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
22008 if test $ac_cv_prog_gcc_traditional = yes; then
22009 CC="$CC -traditional"
22013 echo "$as_me:$LINENO: checking for working memcmp" >&5
22014 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
22015 if test "${ac_cv_func_memcmp_working+set}" = set; then
22016 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 if test "$cross_compiling" = yes; then
22019 ac_cv_func_memcmp_working=no
22021 cat >conftest.$ac_ext <<_ACEOF
22022 #line $LINENO "configure"
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22033 /* Some versions of memcmp are not 8-bit clean. */
22034 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
22035 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22038 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22039 or more and with at least one buffer not starting on a 4-byte boundary.
22040 William Lewis provided this test program. */
22045 for (i = 0; i < 4; i++)
22049 strcpy (a, "--------01111111");
22050 strcpy (b, "--------10000000");
22051 if (memcmp (a, b, 16) >= 0)
22061 rm -f conftest$ac_exeext
22062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22063 (eval $ac_link) 2>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22068 (eval $ac_try) 2>&5
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); }; }; then
22072 ac_cv_func_memcmp_working=yes
22074 echo "$as_me: program exited with status $ac_status" >&5
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.$ac_ext >&5
22078 ( exit $ac_status )
22079 ac_cv_func_memcmp_working=no
22081 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22084 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22085 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
22086 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
22090 for ac_header in stdlib.h unistd.h
22092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22094 echo "$as_me:$LINENO: checking for $ac_header" >&5
22095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22102 # Is the header compilable?
22103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22105 cat >conftest.$ac_ext <<_ACEOF
22106 #line $LINENO "configure"
22109 cat confdefs.h >>conftest.$ac_ext
22110 cat >>conftest.$ac_ext <<_ACEOF
22111 /* end confdefs.h. */
22112 $ac_includes_default
22113 #include <$ac_header>
22115 rm -f conftest.$ac_objext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22117 (eval $ac_compile) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } &&
22121 { ac_try='test -s conftest.$ac_objext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_header_compiler=yes
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22132 ac_header_compiler=no
22134 rm -f conftest.$ac_objext conftest.$ac_ext
22135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22136 echo "${ECHO_T}$ac_header_compiler" >&6
22138 # Is the header present?
22139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22141 cat >conftest.$ac_ext <<_ACEOF
22142 #line $LINENO "configure"
22145 cat confdefs.h >>conftest.$ac_ext
22146 cat >>conftest.$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148 #include <$ac_header>
22150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22153 grep -v '^ *+' conftest.er1 >conftest.err
22155 cat conftest.err >&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } >/dev/null; then
22158 if test -s conftest.err; then
22159 ac_cpp_err=$ac_c_preproc_warn_flag
22166 if test -z "$ac_cpp_err"; then
22167 ac_header_preproc=yes
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22172 ac_header_preproc=no
22174 rm -f conftest.err conftest.$ac_ext
22175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22176 echo "${ECHO_T}$ac_header_preproc" >&6
22178 # So? What about this header?
22179 case $ac_header_compiler:$ac_header_preproc in
22181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22187 ## ------------------------------------ ##
22188 ## Report this to bug-autoconf@gnu.org. ##
22189 ## ------------------------------------ ##
22192 sed "s/^/$as_me: WARNING: /" >&2
22195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22203 ## ------------------------------------ ##
22204 ## Report this to bug-autoconf@gnu.org. ##
22205 ## ------------------------------------ ##
22208 sed "s/^/$as_me: WARNING: /" >&2
22211 echo "$as_me:$LINENO: checking for $ac_header" >&5
22212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 eval "$as_ac_Header=$ac_header_preproc"
22218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22223 cat >>confdefs.h <<_ACEOF
22224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22232 for ac_func in getpagesize
22234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22235 echo "$as_me:$LINENO: checking for $ac_func" >&5
22236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22237 if eval "test \"\${$as_ac_var+set}\" = set"; then
22238 echo $ECHO_N "(cached) $ECHO_C" >&6
22240 cat >conftest.$ac_ext <<_ACEOF
22241 #line $LINENO "configure"
22244 cat confdefs.h >>conftest.$ac_ext
22245 cat >>conftest.$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22247 /* System header to define __stub macros and hopefully few prototypes,
22248 which can conflict with char $ac_func (); below.
22249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22250 <limits.h> exists even on freestanding compilers. */
22252 # include <limits.h>
22254 # include <assert.h>
22256 /* Override any gcc2 internal prototype to avoid an error. */
22261 /* We use char because int might match the return type of a gcc2
22262 builtin and then its argument prototype would still apply. */
22264 /* The GNU C library defines this for functions which it implements
22265 to always fail with ENOSYS. Some functions are actually named
22266 something starting with __ and the normal name is an alias. */
22267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22270 char (*f) () = $ac_func;
22279 return f != $ac_func;
22284 rm -f conftest.$ac_objext conftest$ac_exeext
22285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22286 (eval $ac_link) 2>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } &&
22290 { ac_try='test -s conftest$ac_exeext'
22291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22292 (eval $ac_try) 2>&5
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; }; then
22296 eval "$as_ac_var=yes"
22298 echo "$as_me: failed program was:" >&5
22299 sed 's/^/| /' conftest.$ac_ext >&5
22301 eval "$as_ac_var=no"
22303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22307 if test `eval echo '${'$as_ac_var'}'` = yes; then
22308 cat >>confdefs.h <<_ACEOF
22309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22315 echo "$as_me:$LINENO: checking for working mmap" >&5
22316 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22317 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 if test "$cross_compiling" = yes; then
22321 ac_cv_func_mmap_fixed_mapped=no
22323 cat >conftest.$ac_ext <<_ACEOF
22324 #line $LINENO "configure"
22327 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22330 $ac_includes_default
22331 /* malloc might have been renamed as rpl_malloc. */
22334 /* Thanks to Mike Haertel and Jim Avera for this test.
22335 Here is a matrix of mmap possibilities:
22336 mmap private not fixed
22337 mmap private fixed at somewhere currently unmapped
22338 mmap private fixed at somewhere already mapped
22339 mmap shared not fixed
22340 mmap shared fixed at somewhere currently unmapped
22341 mmap shared fixed at somewhere already mapped
22342 For private mappings, we should verify that changes cannot be read()
22343 back from the file, nor mmap's back from the file at a different
22344 address. (There have been systems where private was not correctly
22345 implemented like the infamous i386 svr4.0, and systems where the
22346 VM page cache was not coherent with the file system buffer cache
22347 like early versions of FreeBSD and possibly contemporary NetBSD.)
22348 For shared mappings, we should conversely verify that changes get
22349 propagated back to all the places they're supposed to be.
22351 Grep wants private fixed already mapped.
22352 The main things grep needs to know about mmap are:
22353 * does it exist and is it safe to write into the mmap'd area
22354 * how to use it (BSD variants) */
22357 #include <sys/mman.h>
22359 #if !STDC_HEADERS && !HAVE_STDLIB_H
22363 /* This mess was copied from the GNU getpagesize.h. */
22364 #if !HAVE_GETPAGESIZE
22365 /* Assume that all systems that can run configure have sys/param.h. */
22366 # if !HAVE_SYS_PARAM_H
22367 # define HAVE_SYS_PARAM_H 1
22370 # ifdef _SC_PAGESIZE
22371 # define getpagesize() sysconf(_SC_PAGESIZE)
22372 # else /* no _SC_PAGESIZE */
22373 # if HAVE_SYS_PARAM_H
22374 # include <sys/param.h>
22375 # ifdef EXEC_PAGESIZE
22376 # define getpagesize() EXEC_PAGESIZE
22377 # else /* no EXEC_PAGESIZE */
22379 # define getpagesize() NBPG * CLSIZE
22382 # endif /* no CLSIZE */
22383 # else /* no NBPG */
22385 # define getpagesize() NBPC
22386 # else /* no NBPC */
22388 # define getpagesize() PAGESIZE
22389 # endif /* PAGESIZE */
22390 # endif /* no NBPC */
22391 # endif /* no NBPG */
22392 # endif /* no EXEC_PAGESIZE */
22393 # else /* no HAVE_SYS_PARAM_H */
22394 # define getpagesize() 8192 /* punt totally */
22395 # endif /* no HAVE_SYS_PARAM_H */
22396 # endif /* no _SC_PAGESIZE */
22398 #endif /* no HAVE_GETPAGESIZE */
22403 char *data, *data2, *data3;
22407 pagesize = getpagesize ();
22409 /* First, make a file with some known garbage in it. */
22410 data = (char *) malloc (pagesize);
22413 for (i = 0; i < pagesize; ++i)
22414 *(data + i) = rand ();
22416 fd = creat ("conftest.mmap", 0600);
22419 if (write (fd, data, pagesize) != pagesize)
22423 /* Next, try to mmap the file at a fixed address which already has
22424 something else allocated at it. If we can, also make sure that
22425 we see the same garbage. */
22426 fd = open ("conftest.mmap", O_RDWR);
22429 data2 = (char *) malloc (2 * pagesize);
22432 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22433 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22434 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22436 for (i = 0; i < pagesize; ++i)
22437 if (*(data + i) != *(data2 + i))
22440 /* Finally, make sure that changes to the mapped area do not
22441 percolate back to the file as seen by read(). (This is a bug on
22442 some variants of i386 svr4.0.) */
22443 for (i = 0; i < pagesize; ++i)
22444 *(data2 + i) = *(data2 + i) + 1;
22445 data3 = (char *) malloc (pagesize);
22448 if (read (fd, data3, pagesize) != pagesize)
22450 for (i = 0; i < pagesize; ++i)
22451 if (*(data + i) != *(data3 + i))
22457 rm -f conftest$ac_exeext
22458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22459 (eval $ac_link) 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; }; then
22468 ac_cv_func_mmap_fixed_mapped=yes
22470 echo "$as_me: program exited with status $ac_status" >&5
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.$ac_ext >&5
22474 ( exit $ac_status )
22475 ac_cv_func_mmap_fixed_mapped=no
22477 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22480 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22481 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22482 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22484 cat >>confdefs.h <<\_ACEOF
22485 #define HAVE_MMAP 1
22489 rm -f conftest.mmap
22491 echo "$as_me:$LINENO: checking for mmap of files" >&5
22492 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22493 if test "${ac_cv_func_mmap_file+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22504 if test "$cross_compiling" = yes; then
22505 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22506 See \`config.log' for more details." >&5
22507 echo "$as_me: error: cannot run test program while cross compiling
22508 See \`config.log' for more details." >&2;}
22509 { (exit 1); exit 1; }; }
22511 cat >conftest.$ac_ext <<_ACEOF
22512 #line $LINENO "configure"
22515 cat confdefs.h >>conftest.$ac_ext
22516 cat >>conftest.$ac_ext <<_ACEOF
22517 /* end confdefs.h. */
22519 #ifdef HAVE_SYS_TYPES_H
22520 #include <sys/types.h>
22523 #ifdef HAVE_SYS_MMAN_H
22524 #include <sys/mman.h>
22527 #ifdef HAVE_FCNTL_H
22533 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22535 rm -f conftest$ac_exeext
22536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22537 (eval $ac_link) 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; }; then
22546 ac_cv_func_mmap_file=yes
22548 echo "$as_me: program exited with status $ac_status" >&5
22549 echo "$as_me: failed program was:" >&5
22550 sed 's/^/| /' conftest.$ac_ext >&5
22552 ( exit $ac_status )
22553 ac_cv_func_mmap_file=no
22555 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22558 ac_cpp='$CPP $CPPFLAGS'
22559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22565 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22566 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22567 if test "$ac_cv_func_mmap_file" = yes; then
22569 cat >>confdefs.h <<\_ACEOF
22570 #define HAVE_MMAP_FILE
22577 if test ${ac_cv_func_mmap_file} = "no"
22579 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22580 echo "$as_me: error: mmap() of files required but not found" >&2;}
22581 { (exit 1); exit 1; }; }
22583 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22584 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22585 if test "${ac_cv_header_mmap_anon+set}" = set; then
22586 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22596 cat >conftest.$ac_ext <<_ACEOF
22597 #line $LINENO "configure"
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603 #include <sys/mman.h>
22604 #include <unistd.h>
22609 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22614 rm -f conftest.$ac_objext
22615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22616 (eval $ac_compile) 2>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); } &&
22620 { ac_try='test -s conftest.$ac_objext'
22621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622 (eval $ac_try) 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; }; then
22626 ac_cv_header_mmap_anon=yes
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.$ac_ext >&5
22631 ac_cv_header_mmap_anon=no
22633 rm -f conftest.$ac_objext conftest.$ac_ext
22635 ac_cpp='$CPP $CPPFLAGS'
22636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22642 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22643 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22644 if test "$ac_cv_header_mmap_anon" = yes; then
22646 cat >>confdefs.h <<\_ACEOF
22647 #define HAVE_MMAP_ANONYMOUS
22652 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22653 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22654 if test "${ac_cv_type_signal+set}" = set; then
22655 echo $ECHO_N "(cached) $ECHO_C" >&6
22657 cat >conftest.$ac_ext <<_ACEOF
22658 #line $LINENO "configure"
22661 cat confdefs.h >>conftest.$ac_ext
22662 cat >>conftest.$ac_ext <<_ACEOF
22663 /* end confdefs.h. */
22664 #include <sys/types.h>
22665 #include <signal.h>
22670 extern "C" void (*signal (int, void (*)(int)))(int);
22672 void (*signal ()) ();
22683 rm -f conftest.$ac_objext
22684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22685 (eval $ac_compile) 2>&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); } &&
22689 { ac_try='test -s conftest.$ac_objext'
22690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22691 (eval $ac_try) 2>&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); }; }; then
22695 ac_cv_type_signal=void
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.$ac_ext >&5
22700 ac_cv_type_signal=int
22702 rm -f conftest.$ac_objext conftest.$ac_ext
22704 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22705 echo "${ECHO_T}$ac_cv_type_signal" >&6
22707 cat >>confdefs.h <<_ACEOF
22708 #define RETSIGTYPE $ac_cv_type_signal
22723 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22726 echo "$as_me:$LINENO: checking for $ac_func" >&5
22727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22728 if eval "test \"\${$as_ac_var+set}\" = set"; then
22729 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 cat >conftest.$ac_ext <<_ACEOF
22732 #line $LINENO "configure"
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 /* System header to define __stub macros and hopefully few prototypes,
22739 which can conflict with char $ac_func (); below.
22740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22741 <limits.h> exists even on freestanding compilers. */
22743 # include <limits.h>
22745 # include <assert.h>
22747 /* Override any gcc2 internal prototype to avoid an error. */
22752 /* We use char because int might match the return type of a gcc2
22753 builtin and then its argument prototype would still apply. */
22755 /* The GNU C library defines this for functions which it implements
22756 to always fail with ENOSYS. Some functions are actually named
22757 something starting with __ and the normal name is an alias. */
22758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22761 char (*f) () = $ac_func;
22770 return f != $ac_func;
22775 rm -f conftest.$ac_objext conftest$ac_exeext
22776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22777 (eval $ac_link) 2>&5
22779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780 (exit $ac_status); } &&
22781 { ac_try='test -s conftest$ac_exeext'
22782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22783 (eval $ac_try) 2>&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); }; }; then
22787 eval "$as_ac_var=yes"
22789 echo "$as_me: failed program was:" >&5
22790 sed 's/^/| /' conftest.$ac_ext >&5
22792 eval "$as_ac_var=no"
22794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22798 if test `eval echo '${'$as_ac_var'}'` = yes; then
22799 cat >>confdefs.h <<_ACEOF
22800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22808 echo "$as_me:$LINENO: checking for mmap" >&5
22809 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22810 if test "${ac_cv_func_mmap+set}" = set; then
22811 echo $ECHO_N "(cached) $ECHO_C" >&6
22813 cat >conftest.$ac_ext <<_ACEOF
22814 #line $LINENO "configure"
22817 cat confdefs.h >>conftest.$ac_ext
22818 cat >>conftest.$ac_ext <<_ACEOF
22819 /* end confdefs.h. */
22820 /* System header to define __stub macros and hopefully few prototypes,
22821 which can conflict with char mmap (); below.
22822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22823 <limits.h> exists even on freestanding compilers. */
22825 # include <limits.h>
22827 # include <assert.h>
22829 /* Override any gcc2 internal prototype to avoid an error. */
22834 /* We use char because int might match the return type of a gcc2
22835 builtin and then its argument prototype would still apply. */
22837 /* The GNU C library defines this for functions which it implements
22838 to always fail with ENOSYS. Some functions are actually named
22839 something starting with __ and the normal name is an alias. */
22840 #if defined (__stub_mmap) || defined (__stub___mmap)
22843 char (*f) () = mmap;
22857 rm -f conftest.$ac_objext conftest$ac_exeext
22858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22859 (eval $ac_link) 2>&5
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); } &&
22863 { ac_try='test -s conftest$ac_exeext'
22864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865 (eval $ac_try) 2>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; }; then
22869 ac_cv_func_mmap=yes
22871 echo "$as_me: failed program was:" >&5
22872 sed 's/^/| /' conftest.$ac_ext >&5
22876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22878 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22879 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22880 if test $ac_cv_func_mmap = yes; then
22883 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22884 echo "$as_me: error: Function mmap() required but not found" >&2;}
22885 { (exit 1); exit 1; }; }
22888 echo "$as_me:$LINENO: checking for mprotect" >&5
22889 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22890 if test "${ac_cv_func_mprotect+set}" = set; then
22891 echo $ECHO_N "(cached) $ECHO_C" >&6
22893 cat >conftest.$ac_ext <<_ACEOF
22894 #line $LINENO "configure"
22897 cat confdefs.h >>conftest.$ac_ext
22898 cat >>conftest.$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22900 /* System header to define __stub macros and hopefully few prototypes,
22901 which can conflict with char mprotect (); below.
22902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22903 <limits.h> exists even on freestanding compilers. */
22905 # include <limits.h>
22907 # include <assert.h>
22909 /* Override any gcc2 internal prototype to avoid an error. */
22914 /* We use char because int might match the return type of a gcc2
22915 builtin and then its argument prototype would still apply. */
22917 /* The GNU C library defines this for functions which it implements
22918 to always fail with ENOSYS. Some functions are actually named
22919 something starting with __ and the normal name is an alias. */
22920 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22923 char (*f) () = mprotect;
22932 return f != mprotect;
22937 rm -f conftest.$ac_objext conftest$ac_exeext
22938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22939 (eval $ac_link) 2>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } &&
22943 { ac_try='test -s conftest$ac_exeext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 ac_cv_func_mprotect=yes
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.$ac_ext >&5
22954 ac_cv_func_mprotect=no
22956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22958 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22959 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22960 if test $ac_cv_func_mprotect = yes; then
22963 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22964 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22965 { (exit 1); exit 1; }; }
22970 # Check whether --enable-purify or --disable-purify was given.
22971 if test "${enable_purify+set}" = set; then
22972 enableval="$enable_purify"
22977 if test ${enableval} = "no"
22982 ENABLE_PURIFY=ENABLE_PURIFY=1
22986 # Check whether --enable-optimized or --disable-optimized was given.
22987 if test "${enable_optimized+set}" = set; then
22988 enableval="$enable_optimized"
22993 if test ${enableval} = "no"
22998 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
23002 # Check whether --enable-spec2000 or --disable-spec2000 was given.
23003 if test "${enable_spec2000+set}" = set; then
23004 enableval="$enable_spec2000"
23009 if test ${enableval} = "no"
23011 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
23013 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
23015 USE_SPEC=USE_SPEC=1
23023 if test ${enableval} = ""
23025 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
23028 SPEC_ROOT=${enableval}
23031 USE_SPEC=USE_SPEC=1
23035 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
23036 if test "${enable_precompiled_bytecode+set}" = set; then
23037 enableval="$enable_precompiled_bytecode"
23042 if test ${enableval} = "no"
23047 UPB=USE_PRECOMPILED_BYTECODE=1
23052 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
23053 if test "${enable_llc_diffs+set}" = set; then
23054 enableval="$enable_llc_diffs"
23059 if test ${enableval} = "no"
23061 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
23068 # Check whether --enable-jit or --disable-jit was given.
23069 if test "${enable_jit+set}" = set; then
23070 enableval="$enable_jit"
23076 if test ${enableval} = "no"
23083 JIT=TARGET_HAS_JIT=1
23087 JIT=TARGET_HAS_JIT=1
23099 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
23100 if test "${with_llvmgccdir+set}" = set; then
23101 withval="$with_llvmgccdir"
23102 LLVMGCCDIR=$withval
23106 echo "$as_me:$LINENO: checking for llvm-gcc" >&5
23107 echo $ECHO_N "checking for llvm-gcc... $ECHO_C" >&6
23109 if test -d "$LLVMGCCDIR"
23111 if test -x "$LLVMGCCDIR/bin/gcc"
23113 LLVM_GCC_CHECK="$LLVMGCCDIR/bin/gcc"
23117 echo "$as_me:$LINENO: result: $LLVM_GCC_CHECK" >&5
23118 echo "${ECHO_T}$LLVM_GCC_CHECK" >&6
23119 if test "$LLVM_GCC_CHECK" = "no"
23124 echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
23125 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6
23127 if test -x "$LLVM_GCC_CHECK"
23129 cp /dev/null conftest.c
23130 "$LLVM_GCC_CHECK" -S -o - conftest.c | grep implementation > /dev/null 2>&1
23137 echo "$as_me:$LINENO: result: $LLVM_GCC_SANE" >&5
23138 echo "${ECHO_T}$LLVM_GCC_SANE" >&6
23139 if test "$LLVM_GCC_SANE" = "no"
23145 # Check whether --with-bcrepos or --without-bcrepos was given.
23146 if test "${with_bcrepos+set}" = set; then
23147 withval="$with_bcrepos"
23151 BCR=/home/vadve/lattner/LLVMPrograms
23156 # Check whether --with-papi or --without-papi was given.
23157 if test "${with_papi+set}" = set; then
23158 withval="$with_papi"
23162 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
23167 # Check whether --with-purify or --without-purify was given.
23168 if test "${with_purify+set}" = set; then
23169 withval="$with_purify"
23175 ac_config_files="$ac_config_files Makefile.config"
23176 cat >confcache <<\_ACEOF
23177 # This file is a shell script that caches the results of configure
23178 # tests run on this system so they can be shared between configure
23179 # scripts and configure runs, see configure's option --config-cache.
23180 # It is not useful on other systems. If it contains results you don't
23181 # want to keep, you may remove or edit it.
23183 # config.status only pays attention to the cache file if you give it
23184 # the --recheck option to rerun configure.
23186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23188 # following values.
23192 # The following way of writing the cache mishandles newlines in values,
23193 # but we know of no workaround that is simple, portable, and efficient.
23194 # So, don't put newlines in cache variables' values.
23195 # Ultrix sh set writes to stderr and can't be redirected directly,
23196 # and sets the high bit in the cache file unless we assign to the vars.
23199 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23201 # `set' does not quote correctly, so add quotes (double-quote
23202 # substitution turns \\\\ into \\, and sed turns \\ into \).
23205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23208 # `set' quotes correctly as required by POSIX, so do not add quotes.
23210 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23217 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23219 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23221 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23222 if test -w $cache_file; then
23223 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23224 cat confcache >$cache_file
23226 echo "not updating unwritable cache $cache_file"
23231 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23232 # Let make expand exec_prefix.
23233 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23235 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23236 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23237 # trailing colons and then remove the whole line if VPATH becomes empty
23238 # (actually we leave an empty line to preserve line numbers).
23239 if test "x$srcdir" = x.; then
23240 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23241 s/:*\$(srcdir):*/:/;
23242 s/:*\${srcdir}:*/:/;
23244 s/^\([^=]*=[ ]*\):*/\1/;
23250 DEFS=-DHAVE_CONFIG_H
23254 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23255 # 1. Remove the extension, and $U if already installed.
23256 ac_i=`echo "$ac_i" |
23257 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23259 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23260 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23262 LIBOBJS=$ac_libobjs
23264 LTLIBOBJS=$ac_ltlibobjs
23268 : ${CONFIG_STATUS=./config.status}
23269 ac_clean_files_save=$ac_clean_files
23270 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23271 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23272 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23273 cat >$CONFIG_STATUS <<_ACEOF
23275 # Generated by $as_me.
23276 # Run this file to recreate the current configuration.
23277 # Compiler output produced by configure, useful for debugging
23278 # configure, is in config.log if it exists.
23281 ac_cs_recheck=false
23283 SHELL=\${CONFIG_SHELL-$SHELL}
23286 cat >>$CONFIG_STATUS <<\_ACEOF
23287 ## --------------------- ##
23288 ## M4sh Initialization. ##
23289 ## --------------------- ##
23291 # Be Bourne compatible
23292 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23295 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23296 # is contrary to our usage. Disable this feature.
23297 alias -g '${1+"$@"}'='"$@"'
23298 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23302 # Support unset when possible.
23303 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23310 # Work around bugs in pre-3.0 UWIN ksh.
23311 $as_unset ENV MAIL MAILPATH
23318 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23319 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23320 LC_TELEPHONE LC_TIME
23322 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23323 eval $as_var=C; export $as_var
23329 # Required to use basename.
23330 if expr a : '\(a\)' >/dev/null 2>&1; then
23336 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23337 as_basename=basename
23343 # Name of the executable.
23344 as_me=`$as_basename "$0" ||
23345 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23346 X"$0" : 'X\(//\)$' \| \
23347 X"$0" : 'X\(/\)$' \| \
23348 . : '\(.\)' 2>/dev/null ||
23350 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23351 /^X\/\(\/\/\)$/{ s//\1/; q; }
23352 /^X\/\(\/\).*/{ s//\1/; q; }
23356 # PATH needs CR, and LINENO needs CR and PATH.
23357 # Avoid depending upon Character Ranges.
23358 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23359 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23360 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23361 as_cr_digits='0123456789'
23362 as_cr_alnum=$as_cr_Letters$as_cr_digits
23364 # The user is always right.
23365 if test "${PATH_SEPARATOR+set}" != set; then
23366 echo "#! /bin/sh" >conf$$.sh
23367 echo "exit 0" >>conf$$.sh
23369 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23378 as_lineno_1=$LINENO
23379 as_lineno_2=$LINENO
23380 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23381 test "x$as_lineno_1" != "x$as_lineno_2" &&
23382 test "x$as_lineno_3" = "x$as_lineno_2" || {
23383 # Find who we are. Look in the path if we contain no path at all
23386 *[\\/]* ) as_myself=$0 ;;
23387 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23388 for as_dir in $PATH
23391 test -z "$as_dir" && as_dir=.
23392 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23397 # We did not find ourselves, most probably we were run as `sh COMMAND'
23398 # in which case we are not to be found in the path.
23399 if test "x$as_myself" = x; then
23402 if test ! -f "$as_myself"; then
23403 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23404 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23405 { (exit 1); exit 1; }; }
23407 case $CONFIG_SHELL in
23409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23410 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23413 test -z "$as_dir" && as_dir=.
23414 for as_base in sh bash ksh sh5; do
23417 if ("$as_dir/$as_base" -c '
23418 as_lineno_1=$LINENO
23419 as_lineno_2=$LINENO
23420 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23421 test "x$as_lineno_1" != "x$as_lineno_2" &&
23422 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23423 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23424 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23425 CONFIG_SHELL=$as_dir/$as_base
23426 export CONFIG_SHELL
23427 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23435 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23436 # uniformly replaced by the line number. The first 'sed' inserts a
23437 # line-number line before each line; the second 'sed' does the real
23438 # work. The second script uses 'N' to pair each line-number line
23439 # with the numbered line, and appends trailing '-' during
23440 # substitution so that $LINENO is not a special case at line end.
23441 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23442 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23443 sed '=' <$as_myself |
23448 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23451 s,^['$as_cr_digits']*\n,,
23452 ' >$as_me.lineno &&
23453 chmod +x $as_me.lineno ||
23454 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23455 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23456 { (exit 1); exit 1; }; }
23458 # Don't try to exec as it changes $[0], causing all sort of problems
23459 # (the dirname of $[0] is not the place where we might find the
23460 # original and so on. Autoconf is especially sensible to this).
23462 # Exit status is that of the last command.
23467 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23468 *c*,-n*) ECHO_N= ECHO_C='
23470 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23471 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23474 if expr a : '\(a\)' >/dev/null 2>&1; then
23480 rm -f conf$$ conf$$.exe conf$$.file
23482 if ln -s conf$$.file conf$$ 2>/dev/null; then
23483 # We could just check for DJGPP; but this test a) works b) is more generic
23484 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23485 if test -f conf$$.exe; then
23486 # Don't use ln at all; we don't have any links
23491 elif ln conf$$.file conf$$ 2>/dev/null; then
23496 rm -f conf$$ conf$$.exe conf$$.file
23498 if mkdir -p . 2>/dev/null; then
23504 as_executable_p="test -f"
23506 # Sed expression to map a string onto a valid CPP name.
23507 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23509 # Sed expression to map a string onto a valid variable name.
23510 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23514 # We need space, tab and new line, in precisely that order.
23524 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23525 # report actual input values of CONFIG_FILES etc. instead of their
23526 # values after options handling. Logging --version etc. is OK.
23530 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23531 ## Running $as_me. ##
23536 This file was extended by [LLVM] $as_me [1.0], which was
23537 generated by GNU Autoconf 2.57. Invocation command line was
23539 CONFIG_FILES = $CONFIG_FILES
23540 CONFIG_HEADERS = $CONFIG_HEADERS
23541 CONFIG_LINKS = $CONFIG_LINKS
23542 CONFIG_COMMANDS = $CONFIG_COMMANDS
23546 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23550 # Files that config.status was made for.
23551 if test -n "$ac_config_files"; then
23552 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23555 if test -n "$ac_config_headers"; then
23556 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23559 if test -n "$ac_config_links"; then
23560 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23563 if test -n "$ac_config_commands"; then
23564 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23567 cat >>$CONFIG_STATUS <<\_ACEOF
23570 \`$as_me' instantiates files from templates according to the
23571 current configuration.
23573 Usage: $0 [OPTIONS] [FILE]...
23575 -h, --help print this help, then exit
23576 -V, --version print version number, then exit
23577 -q, --quiet do not print progress messages
23578 -d, --debug don't remove temporary files
23579 --recheck update $as_me by reconfiguring in the same conditions
23580 --file=FILE[:TEMPLATE]
23581 instantiate the configuration file FILE
23582 --header=FILE[:TEMPLATE]
23583 instantiate the configuration header FILE
23585 Configuration files:
23588 Configuration headers:
23591 Configuration commands:
23594 Report bugs to <bug-autoconf@gnu.org>."
23597 cat >>$CONFIG_STATUS <<_ACEOF
23599 [LLVM] config.status [1.0]
23600 configured by $0, generated by GNU Autoconf 2.57,
23601 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23603 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23604 Free Software Foundation, Inc.
23605 This config.status script is free software; the Free Software Foundation
23606 gives unlimited permission to copy, distribute and modify it."
23611 cat >>$CONFIG_STATUS <<\_ACEOF
23612 # If no file are specified by the user, then we need to provide default
23613 # value. By we need to know if files were specified by the user.
23619 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23620 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23628 *) # This is not an option, so the user has probably given explicit
23631 ac_need_defaults=false;;
23635 # Handling of the options.
23637 cat >>$CONFIG_STATUS <<\_ACEOF
23638 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23640 --version | --vers* | -V )
23641 echo "$ac_cs_version"; exit 0 ;;
23643 # Conflict between --help and --header
23644 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23645 Try \`$0 --help' for more information." >&5
23646 echo "$as_me: error: ambiguous option: $1
23647 Try \`$0 --help' for more information." >&2;}
23648 { (exit 1); exit 1; }; };;
23649 --help | --hel | -h )
23650 echo "$ac_cs_usage"; exit 0 ;;
23651 --debug | --d* | -d )
23653 --file | --fil | --fi | --f )
23655 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23656 ac_need_defaults=false;;
23657 --header | --heade | --head | --hea )
23659 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23660 ac_need_defaults=false;;
23661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23662 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23665 # This is an error.
23666 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23667 Try \`$0 --help' for more information." >&5
23668 echo "$as_me: error: unrecognized option: $1
23669 Try \`$0 --help' for more information." >&2;}
23670 { (exit 1); exit 1; }; } ;;
23672 *) ac_config_targets="$ac_config_targets $1" ;;
23678 ac_configure_extra_args=
23680 if $ac_cs_silent; then
23682 ac_configure_extra_args="$ac_configure_extra_args --silent"
23686 cat >>$CONFIG_STATUS <<_ACEOF
23687 if \$ac_cs_recheck; then
23688 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23689 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23694 cat >>$CONFIG_STATUS <<_ACEOF
23696 # INIT-COMMANDS section.
23699 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23700 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23701 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23702 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23703 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23704 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23705 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23706 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23707 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23708 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23709 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23710 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23711 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23712 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23713 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23714 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23715 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23716 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23717 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23718 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23719 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23720 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23721 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23722 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23723 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23724 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23725 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23726 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23727 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23728 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23729 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23730 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23731 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23732 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23733 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23734 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23735 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23736 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23737 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23738 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23739 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23740 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23741 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23742 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23743 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23744 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23745 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23746 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23747 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23748 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libprofile/Makefile`
23749 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23750 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23751 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23752 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23753 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23754 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23755 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23756 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23757 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23758 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23759 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23760 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23761 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23762 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23763 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23764 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23765 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23766 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23767 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23768 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23769 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23770 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23771 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23772 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23773 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23774 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23775 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23776 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23777 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23778 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23779 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23780 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23781 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23782 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23783 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23784 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile`
23785 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile`
23786 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23787 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23788 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23789 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23790 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23791 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23792 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23793 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23794 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23795 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23796 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23797 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23798 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23799 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/Makefile`
23800 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile`
23801 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in`
23802 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile`
23803 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in`
23804 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile`
23805 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in`
23806 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile`
23807 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in`
23808 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile`
23809 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in`
23810 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile`
23811 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in`
23812 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile`
23813 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in`
23814 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23815 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23816 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23817 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23818 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23819 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23820 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23821 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23822 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23823 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23824 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23825 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23826 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23827 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23828 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23829 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23830 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23831 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23832 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23833 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23834 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23835 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23836 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23837 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23838 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23839 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23840 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23841 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23842 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23843 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23844 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23845 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23846 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23847 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23848 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23849 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23850 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23851 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23852 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23853 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23854 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23855 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23856 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23857 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23858 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23859 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23860 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23861 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23862 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23863 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23864 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23865 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23866 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23867 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23868 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23869 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23870 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23871 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23872 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23873 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-nm/Makefile`
23874 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-prof/Makefile`
23875 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23876 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23877 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23878 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23879 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23880 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23881 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23882 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23883 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23884 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23890 cat >>$CONFIG_STATUS <<\_ACEOF
23891 for ac_config_target in $ac_config_targets
23893 case "$ac_config_target" in
23894 # Handling of arguments.
23895 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23896 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23897 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23898 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23899 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23900 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23901 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23902 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23903 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23904 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23905 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23906 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23907 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23908 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23909 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23910 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23911 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23912 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23913 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23914 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23915 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23916 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23917 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23918 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23919 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23920 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23921 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23922 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23923 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23924 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23925 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23926 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23927 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23928 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23929 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23930 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23931 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23932 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23933 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23934 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23935 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23936 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23937 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23938 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23939 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23940 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23941 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23942 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23943 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23944 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23945 "runtime/libprofile/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libprofile/Makefile" ;;
23946 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23947 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23948 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23949 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23950 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23951 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23952 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23953 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23954 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23955 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23956 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23957 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23958 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23959 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23960 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23961 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23962 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23963 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23964 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23965 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23966 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23967 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23968 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23969 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23970 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
23971 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23972 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23973 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23974 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23975 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23976 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23977 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23978 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23979 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23980 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23981 "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;;
23982 "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;;
23983 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23984 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23985 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23986 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23987 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23988 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23989 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23990 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23991 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23992 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23993 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23994 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23995 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23996 "test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ;;
23997 "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ;;
23998 "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ;;
23999 "test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ;;
24000 "test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ;;
24001 "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ;;
24002 "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ;;
24003 "test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ;;
24004 "test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ;;
24005 "test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ;;
24006 "test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ;;
24007 "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ;;
24008 "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ;;
24009 "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ;;
24010 "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ;;
24011 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
24012 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
24013 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
24014 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
24015 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
24016 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
24017 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
24018 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
24019 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
24020 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
24021 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
24022 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
24023 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
24024 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
24025 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
24026 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
24027 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
24028 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
24029 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
24030 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
24031 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
24032 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
24033 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
24034 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
24035 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
24036 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
24037 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
24038 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
24039 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
24040 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
24041 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
24042 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
24043 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
24044 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
24045 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
24046 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
24047 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
24048 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
24049 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
24050 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
24051 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
24052 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
24053 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
24054 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
24055 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
24056 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
24057 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
24058 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
24059 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
24060 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
24061 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
24062 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
24063 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
24064 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
24065 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
24066 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
24067 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
24068 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
24069 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
24070 "tools/llvm-nm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-nm/Makefile" ;;
24071 "tools/llvm-prof/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-prof/Makefile" ;;
24072 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
24073 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
24074 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
24075 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
24076 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
24077 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
24078 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
24079 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
24080 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
24081 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
24082 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
24083 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24084 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24085 { (exit 1); exit 1; }; };;
24089 # If the user did not use the arguments to specify the items to instantiate,
24090 # then the envvar interface is used. Set only those that are not.
24091 # We use the long form for the default assignment because of an extremely
24092 # bizarre bug on SunOS 4.1.3.
24093 if $ac_need_defaults; then
24094 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24095 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24096 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24099 # Have a temporary directory for convenience. Make it in the build tree
24100 # simply because there is no reason to put it here, and in addition,
24101 # creating and moving files from /tmp can sometimes cause problems.
24102 # Create a temporary directory, and hook for its removal unless debugging.
24105 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24106 trap '{ (exit 1); exit 1; }' 1 2 13 15
24109 # Create a (secure) tmp directory for tmp files.
24112 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24113 test -n "$tmp" && test -d "$tmp"
24116 tmp=./confstat$$-$RANDOM
24117 (umask 077 && mkdir $tmp)
24120 echo "$me: cannot create a temporary directory in ." >&2
24121 { (exit 1); exit 1; }
24126 cat >>$CONFIG_STATUS <<_ACEOF
24129 # CONFIG_FILES section.
24132 # No need to generate the scripts if there are no CONFIG_FILES.
24133 # This happens for instance when ./config.status config.h
24134 if test -n "\$CONFIG_FILES"; then
24135 # Protect against being on the right side of a sed subst in config.status.
24136 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24137 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24138 s,@SHELL@,$SHELL,;t t
24139 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24140 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24141 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24142 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24143 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24144 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24145 s,@exec_prefix@,$exec_prefix,;t t
24146 s,@prefix@,$prefix,;t t
24147 s,@program_transform_name@,$program_transform_name,;t t
24148 s,@bindir@,$bindir,;t t
24149 s,@sbindir@,$sbindir,;t t
24150 s,@libexecdir@,$libexecdir,;t t
24151 s,@datadir@,$datadir,;t t
24152 s,@sysconfdir@,$sysconfdir,;t t
24153 s,@sharedstatedir@,$sharedstatedir,;t t
24154 s,@localstatedir@,$localstatedir,;t t
24155 s,@libdir@,$libdir,;t t
24156 s,@includedir@,$includedir,;t t
24157 s,@oldincludedir@,$oldincludedir,;t t
24158 s,@infodir@,$infodir,;t t
24159 s,@mandir@,$mandir,;t t
24160 s,@build_alias@,$build_alias,;t t
24161 s,@host_alias@,$host_alias,;t t
24162 s,@target_alias@,$target_alias,;t t
24163 s,@DEFS@,$DEFS,;t t
24164 s,@ECHO_C@,$ECHO_C,;t t
24165 s,@ECHO_N@,$ECHO_N,;t t
24166 s,@ECHO_T@,$ECHO_T,;t t
24167 s,@LIBS@,$LIBS,;t t
24168 s,@subdirs@,$subdirs,;t t
24169 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24170 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24171 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24172 s,@build@,$build,;t t
24173 s,@build_cpu@,$build_cpu,;t t
24174 s,@build_vendor@,$build_vendor,;t t
24175 s,@build_os@,$build_os,;t t
24176 s,@host@,$host,;t t
24177 s,@host_cpu@,$host_cpu,;t t
24178 s,@host_vendor@,$host_vendor,;t t
24179 s,@host_os@,$host_os,;t t
24180 s,@target@,$target,;t t
24181 s,@target_cpu@,$target_cpu,;t t
24182 s,@target_vendor@,$target_vendor,;t t
24183 s,@target_os@,$target_os,;t t
24185 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
24186 s,@ARCH@,$ARCH,;t t
24188 s,@CXXFLAGS@,$CXXFLAGS,;t t
24189 s,@LDFLAGS@,$LDFLAGS,;t t
24190 s,@CPPFLAGS@,$CPPFLAGS,;t t
24191 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24192 s,@EXEEXT@,$EXEEXT,;t t
24193 s,@OBJEXT@,$OBJEXT,;t t
24195 s,@CFLAGS@,$CFLAGS,;t t
24196 s,@ac_ct_CC@,$ac_ct_CC,;t t
24198 s,@ifGNUmake@,$ifGNUmake,;t t
24200 s,@LEXLIB@,$LEXLIB,;t t
24201 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
24202 s,@YACC@,$YACC,;t t
24203 s,@EGREP@,$EGREP,;t t
24204 s,@LN_S@,$LN_S,;t t
24205 s,@ECHO@,$ECHO,;t t
24207 s,@ac_ct_AR@,$ac_ct_AR,;t t
24208 s,@RANLIB@,$RANLIB,;t t
24209 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24210 s,@STRIP@,$STRIP,;t t
24211 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24212 s,@CXXCPP@,$CXXCPP,;t t
24214 s,@FFLAGS@,$FFLAGS,;t t
24215 s,@ac_ct_F77@,$ac_ct_F77,;t t
24216 s,@LIBTOOL@,$LIBTOOL,;t t
24217 s,@RPWD@,$RPWD,;t t
24220 s,@MKDIR@,$MKDIR,;t t
24221 s,@DATE@,$DATE,;t t
24224 s,@ETAGS@,$ETAGS,;t t
24225 s,@PYTHON@,$PYTHON,;t t
24226 s,@QMTEST@,$QMTEST,;t t
24227 s,@ALLOCA@,$ALLOCA,;t t
24228 s,@LIBOBJS@,$LIBOBJS,;t t
24229 s,@MMAP_FILE@,$MMAP_FILE,;t t
24230 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
24231 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
24232 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
24233 s,@USE_SPEC@,$USE_SPEC,;t t
24235 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
24238 s,@PAPIDIR@,$PAPIDIR,;t t
24239 s,@PURIFY@,$PURIFY,;t t
24240 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24245 cat >>$CONFIG_STATUS <<\_ACEOF
24246 # Split the substitutions into bite-sized pieces for seds with
24247 # small command number limits, like on Digital OSF/1 and HP-UX.
24248 ac_max_sed_lines=48
24249 ac_sed_frag=1 # Number of current file.
24250 ac_beg=1 # First line for current file.
24251 ac_end=$ac_max_sed_lines # Line after last line for current file.
24254 while $ac_more_lines; do
24255 if test $ac_beg -gt 1; then
24256 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24258 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24260 if test ! -s $tmp/subs.frag; then
24261 ac_more_lines=false
24263 # The purpose of the label and of the branching condition is to
24264 # speed up the sed processing (if there are no `@' at all, there
24265 # is no need to browse any of the substitutions).
24266 # These are the two extra sed commands mentioned above.
24268 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24269 if test -z "$ac_sed_cmds"; then
24270 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24272 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24274 ac_sed_frag=`expr $ac_sed_frag + 1`
24276 ac_end=`expr $ac_end + $ac_max_sed_lines`
24279 if test -z "$ac_sed_cmds"; then
24282 fi # test -n "$CONFIG_FILES"
24285 cat >>$CONFIG_STATUS <<\_ACEOF
24286 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24287 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24289 - | *:- | *:-:* ) # input from stdin
24291 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24292 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24293 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24294 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24295 * ) ac_file_in=$ac_file.in ;;
24298 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24299 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24300 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24301 X"$ac_file" : 'X\(//\)[^/]' \| \
24302 X"$ac_file" : 'X\(//\)$' \| \
24303 X"$ac_file" : 'X\(/\)' \| \
24304 . : '\(.\)' 2>/dev/null ||
24306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24307 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24308 /^X\(\/\/\)$/{ s//\1/; q; }
24309 /^X\(\/\).*/{ s//\1/; q; }
24311 { if $as_mkdir_p; then
24316 while test ! -d "$as_dir"; do
24317 as_dirs="$as_dir $as_dirs"
24318 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24320 X"$as_dir" : 'X\(//\)[^/]' \| \
24321 X"$as_dir" : 'X\(//\)$' \| \
24322 X"$as_dir" : 'X\(/\)' \| \
24323 . : '\(.\)' 2>/dev/null ||
24325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24327 /^X\(\/\/\)$/{ s//\1/; q; }
24328 /^X\(\/\).*/{ s//\1/; q; }
24331 test ! -n "$as_dirs" || mkdir $as_dirs
24332 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24333 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24334 { (exit 1); exit 1; }; }; }
24338 if test "$ac_dir" != .; then
24339 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24340 # A "../" for each directory in $ac_dir_suffix.
24341 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24343 ac_dir_suffix= ac_top_builddir=
24347 .) # No --srcdir option. We are building in place.
24349 if test -z "$ac_top_builddir"; then
24352 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24354 [\\/]* | ?:[\\/]* ) # Absolute path.
24355 ac_srcdir=$srcdir$ac_dir_suffix;
24356 ac_top_srcdir=$srcdir ;;
24357 *) # Relative path.
24358 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24359 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24361 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24363 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24364 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24365 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24366 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24370 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24371 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24374 if test x"$ac_file" != x-; then
24375 { echo "$as_me:$LINENO: creating $ac_file" >&5
24376 echo "$as_me: creating $ac_file" >&6;}
24379 # Let's still pretend it is `configure' which instantiates (i.e., don't
24380 # use $as_me), people would be surprised to read:
24381 # /* config.h. Generated by config.status. */
24382 if test x"$ac_file" = x-; then
24385 configure_input="$ac_file. "
24387 configure_input=$configure_input"Generated from `echo $ac_file_in |
24388 sed 's,.*/,,'` by configure."
24390 # First look for the input files in the build tree, otherwise in the
24392 ac_file_inputs=`IFS=:
24393 for f in $ac_file_in; do
24395 -) echo $tmp/stdin ;;
24397 # Absolute (can't be DOS-style, as IFS=:)
24398 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24399 echo "$as_me: error: cannot find input file: $f" >&2;}
24400 { (exit 1); exit 1; }; }
24403 if test -f "$f"; then
24406 elif test -f "$srcdir/$f"; then
24411 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24412 echo "$as_me: error: cannot find input file: $f" >&2;}
24413 { (exit 1); exit 1; }; }
24416 done` || { (exit 1); exit 1; }
24418 cat >>$CONFIG_STATUS <<_ACEOF
24422 cat >>$CONFIG_STATUS <<\_ACEOF
24424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24425 s,@configure_input@,$configure_input,;t t
24426 s,@srcdir@,$ac_srcdir,;t t
24427 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24428 s,@top_srcdir@,$ac_top_srcdir,;t t
24429 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24430 s,@builddir@,$ac_builddir,;t t
24431 s,@abs_builddir@,$ac_abs_builddir,;t t
24432 s,@top_builddir@,$ac_top_builddir,;t t
24433 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24434 s,@INSTALL@,$ac_INSTALL,;t t
24435 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24437 if test x"$ac_file" != x-; then
24438 mv $tmp/out $ac_file
24446 cat >>$CONFIG_STATUS <<\_ACEOF
24449 # CONFIG_HEADER section.
24452 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24453 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24455 # ac_d sets the value in "#define NAME VALUE" lines.
24456 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24457 ac_dB='[ ].*$,\1#\2'
24460 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24461 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24462 ac_uB='$,\1#\2define\3'
24466 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24467 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24469 - | *:- | *:-:* ) # input from stdin
24471 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24472 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24473 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24474 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24475 * ) ac_file_in=$ac_file.in ;;
24478 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24479 echo "$as_me: creating $ac_file" >&6;}
24481 # First look for the input files in the build tree, otherwise in the
24483 ac_file_inputs=`IFS=:
24484 for f in $ac_file_in; do
24486 -) echo $tmp/stdin ;;
24488 # Absolute (can't be DOS-style, as IFS=:)
24489 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24490 echo "$as_me: error: cannot find input file: $f" >&2;}
24491 { (exit 1); exit 1; }; }
24494 if test -f "$f"; then
24497 elif test -f "$srcdir/$f"; then
24502 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24503 echo "$as_me: error: cannot find input file: $f" >&2;}
24504 { (exit 1); exit 1; }; }
24507 done` || { (exit 1); exit 1; }
24508 # Remove the trailing spaces.
24509 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24513 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24514 # `conftest.undefs', that substitutes the proper values into
24515 # config.h.in to produce config.h. The first handles `#define'
24516 # templates, and the second `#undef' templates.
24517 # And first: Protect against being on the right side of a sed subst in
24518 # config.status. Protect against being in an unquoted here document
24519 # in config.status.
24520 rm -f conftest.defines conftest.undefs
24521 # Using a here document instead of a string reduces the quoting nightmare.
24522 # Putting comments in sed scripts is not portable.
24524 # `end' is used to avoid that the second main sed command (meant for
24525 # 0-ary CPP macros) applies to n-ary macro definitions.
24526 # See the Autoconf documentation for `clear'.
24527 cat >confdef2sed.sed <<\_ACEOF
24532 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24534 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24537 # If some macros were called several times there might be several times
24538 # the same #defines, which is useless. Nevertheless, we may not want to
24539 # sort them, since we want the *last* AC-DEFINE to be honored.
24540 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24541 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24542 rm -f confdef2sed.sed
24544 # This sed command replaces #undef with comments. This is necessary, for
24545 # example, in the case of _POSIX_SOURCE, which is predefined and required
24546 # on some systems where configure will not decide to define it.
24547 cat >>conftest.undefs <<\_ACEOF
24548 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24551 # Break up conftest.defines because some shells have a limit on the size
24552 # of here documents, and old seds have small limits too (100 cmds).
24553 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24554 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24555 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24556 echo ' :' >>$CONFIG_STATUS
24557 rm -f conftest.tail
24558 while grep . conftest.defines >/dev/null
24560 # Write a limited-size here document to $tmp/defines.sed.
24561 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24562 # Speed up: don't consider the non `#define' lines.
24563 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24564 # Work around the forget-to-reset-the-flag bug.
24565 echo 't clr' >>$CONFIG_STATUS
24566 echo ': clr' >>$CONFIG_STATUS
24567 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24569 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24571 mv $tmp/out $tmp/in
24573 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24574 rm -f conftest.defines
24575 mv conftest.tail conftest.defines
24577 rm -f conftest.defines
24578 echo ' fi # grep' >>$CONFIG_STATUS
24579 echo >>$CONFIG_STATUS
24581 # Break up conftest.undefs because some shells have a limit on the size
24582 # of here documents, and old seds have small limits too (100 cmds).
24583 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24584 rm -f conftest.tail
24585 while grep . conftest.undefs >/dev/null
24587 # Write a limited-size here document to $tmp/undefs.sed.
24588 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24589 # Speed up: don't consider the non `#undef'
24590 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24591 # Work around the forget-to-reset-the-flag bug.
24592 echo 't clr' >>$CONFIG_STATUS
24593 echo ': clr' >>$CONFIG_STATUS
24594 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24596 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24598 mv $tmp/out $tmp/in
24600 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24601 rm -f conftest.undefs
24602 mv conftest.tail conftest.undefs
24604 rm -f conftest.undefs
24606 cat >>$CONFIG_STATUS <<\_ACEOF
24607 # Let's still pretend it is `configure' which instantiates (i.e., don't
24608 # use $as_me), people would be surprised to read:
24609 # /* config.h. Generated by config.status. */
24610 if test x"$ac_file" = x-; then
24611 echo "/* Generated by configure. */" >$tmp/config.h
24613 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24615 cat $tmp/in >>$tmp/config.h
24617 if test x"$ac_file" != x-; then
24618 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24619 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24620 echo "$as_me: $ac_file is unchanged" >&6;}
24622 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24623 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24624 X"$ac_file" : 'X\(//\)[^/]' \| \
24625 X"$ac_file" : 'X\(//\)$' \| \
24626 X"$ac_file" : 'X\(/\)' \| \
24627 . : '\(.\)' 2>/dev/null ||
24629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24630 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24631 /^X\(\/\/\)$/{ s//\1/; q; }
24632 /^X\(\/\).*/{ s//\1/; q; }
24634 { if $as_mkdir_p; then
24639 while test ! -d "$as_dir"; do
24640 as_dirs="$as_dir $as_dirs"
24641 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24643 X"$as_dir" : 'X\(//\)[^/]' \| \
24644 X"$as_dir" : 'X\(//\)$' \| \
24645 X"$as_dir" : 'X\(/\)' \| \
24646 . : '\(.\)' 2>/dev/null ||
24648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24650 /^X\(\/\/\)$/{ s//\1/; q; }
24651 /^X\(\/\).*/{ s//\1/; q; }
24654 test ! -n "$as_dirs" || mkdir $as_dirs
24655 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24656 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24657 { (exit 1); exit 1; }; }; }
24660 mv $tmp/config.h $ac_file
24664 rm -f $tmp/config.h
24668 cat >>$CONFIG_STATUS <<\_ACEOF
24671 # CONFIG_COMMANDS section.
24673 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24674 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24675 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24676 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24677 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24678 X"$ac_dest" : 'X\(//\)[^/]' \| \
24679 X"$ac_dest" : 'X\(//\)$' \| \
24680 X"$ac_dest" : 'X\(/\)' \| \
24681 . : '\(.\)' 2>/dev/null ||
24683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24685 /^X\(\/\/\)$/{ s//\1/; q; }
24686 /^X\(\/\).*/{ s//\1/; q; }
24690 if test "$ac_dir" != .; then
24691 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24692 # A "../" for each directory in $ac_dir_suffix.
24693 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24695 ac_dir_suffix= ac_top_builddir=
24699 .) # No --srcdir option. We are building in place.
24701 if test -z "$ac_top_builddir"; then
24704 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24706 [\\/]* | ?:[\\/]* ) # Absolute path.
24707 ac_srcdir=$srcdir$ac_dir_suffix;
24708 ac_top_srcdir=$srcdir ;;
24709 *) # Relative path.
24710 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24711 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24713 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24715 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24716 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24717 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24718 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24721 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24722 echo "$as_me: executing $ac_dest commands" >&6;}
24724 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24725 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24726 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24727 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24728 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24729 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24730 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24731 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24732 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24733 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24734 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24735 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24736 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24737 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24738 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24739 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24740 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24741 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24742 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24743 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24744 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24745 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24746 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24747 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24748 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24749 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24750 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24751 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24752 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24753 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24754 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24755 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24756 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24757 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24758 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24759 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24760 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24761 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24762 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24763 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24764 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24765 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24766 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24767 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24768 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24769 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24770 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24771 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24772 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24773 runtime/libprofile/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libprofile/Makefile runtime/libprofile/Makefile ;;
24774 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24775 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24776 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24777 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24778 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24779 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24780 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24781 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24782 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24783 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24784 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24785 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24786 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24787 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24788 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24789 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24790 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24791 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24792 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24793 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24794 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24795 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24796 test/Programs/External/SPEC/Makefile.spec ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile.spec test/Programs/External/SPEC/Makefile.spec ;;
24797 test/Programs/External/SPEC/CFP2000/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/Makefile test/Programs/External/SPEC/CFP2000/Makefile ;;
24798 test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/177.mesa/Makefile test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ;;
24799 test/Programs/External/SPEC/CFP2000/179.art/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/179.art/Makefile test/Programs/External/SPEC/CFP2000/179.art/Makefile ;;
24800 test/Programs/External/SPEC/CFP2000/183.equake/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/183.equake/Makefile test/Programs/External/SPEC/CFP2000/183.equake/Makefile ;;
24801 test/Programs/External/SPEC/CFP2000/188.ammp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/188.ammp/Makefile test/Programs/External/SPEC/CFP2000/188.ammp/Makefile ;;
24802 test/Programs/External/SPEC/CINT2000/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/Makefile test/Programs/External/SPEC/CINT2000/Makefile ;;
24803 test/Programs/External/SPEC/CINT2000/164.gzip/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/164.gzip/Makefile test/Programs/External/SPEC/CINT2000/164.gzip/Makefile ;;
24804 test/Programs/External/SPEC/CINT2000/175.vpr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/175.vpr/Makefile test/Programs/External/SPEC/CINT2000/175.vpr/Makefile ;;
24805 test/Programs/External/SPEC/CINT2000/176.gcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/176.gcc/Makefile test/Programs/External/SPEC/CINT2000/176.gcc/Makefile ;;
24806 test/Programs/External/SPEC/CINT2000/181.mcf/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/181.mcf/Makefile test/Programs/External/SPEC/CINT2000/181.mcf/Makefile ;;
24807 test/Programs/External/SPEC/CINT2000/186.crafty/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/186.crafty/Makefile test/Programs/External/SPEC/CINT2000/186.crafty/Makefile ;;
24808 test/Programs/External/SPEC/CINT2000/197.parser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/197.parser/Makefile test/Programs/External/SPEC/CINT2000/197.parser/Makefile ;;
24809 test/Programs/External/SPEC/CINT2000/252.eon/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/252.eon/Makefile test/Programs/External/SPEC/CINT2000/252.eon/Makefile ;;
24810 test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ;;
24811 test/Programs/External/SPEC/CINT2000/254.gap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/254.gap/Makefile test/Programs/External/SPEC/CINT2000/254.gap/Makefile ;;
24812 test/Programs/External/SPEC/CINT2000/255.vortex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/255.vortex/Makefile test/Programs/External/SPEC/CINT2000/255.vortex/Makefile ;;
24813 test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile ;;
24814 test/Programs/External/SPEC/CINT2000/300.twolf/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/300.twolf/Makefile test/Programs/External/SPEC/CINT2000/300.twolf/Makefile ;;
24815 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24816 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24817 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24818 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24819 test/Programs/MultiSource/Applications/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Burg/Makefile test/Programs/MultiSource/Applications/Burg/Makefile ;;
24820 test/Programs/MultiSource/Applications/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/aha/Makefile test/Programs/MultiSource/Applications/aha/Makefile ;;
24821 test/Programs/MultiSource/Applications/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/sgefa/Makefile test/Programs/MultiSource/Applications/sgefa/Makefile ;;
24822 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24823 test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ;;
24824 test/Programs/MultiSource/Benchmarks/FreeBench/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/Makefile ;;
24825 test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile ;;
24826 test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in ;;
24827 test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile ;;
24828 test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in ;;
24829 test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile ;;
24830 test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in ;;
24831 test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile ;;
24832 test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in ;;
24833 test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile ;;
24834 test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in ;;
24835 test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile ;;
24836 test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in ;;
24837 test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile ;;
24838 test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in ;;
24839 test/Programs/MultiSource/Benchmarks/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/Makefile test/Programs/MultiSource/Benchmarks/McCat/Makefile ;;
24840 test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ;;
24841 test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ;;
24842 test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ;;
24843 test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ;;
24844 test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ;;
24845 test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ;;
24846 test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ;;
24847 test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ;;
24848 test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ;;
24849 test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ;;
24850 test/Programs/MultiSource/Benchmarks/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/Makefile test/Programs/MultiSource/Benchmarks/Olden/Makefile ;;
24851 test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ;;
24852 test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ;;
24853 test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ;;
24854 test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/health/Makefile test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ;;
24855 test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ;;
24856 test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ;;
24857 test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/power/Makefile test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ;;
24858 test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ;;
24859 test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ;;
24860 test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ;;
24861 test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ;;
24862 test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ;;
24863 test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ;;
24864 test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ;;
24865 test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ;;
24866 test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ;;
24867 test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ;;
24868 test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ;;
24869 test/Programs/MultiSource/Benchmarks/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/sim/Makefile test/Programs/MultiSource/Benchmarks/sim/Makefile ;;
24870 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24871 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24872 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24873 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24874 test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ;;
24875 test/Programs/SingleSource/Benchmarks/Shootout/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Shootout/Makefile test/Programs/SingleSource/Benchmarks/Shootout/Makefile ;;
24876 test/Programs/SingleSource/Benchmarks/Stanford/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Stanford/Makefile test/Programs/SingleSource/Benchmarks/Stanford/Makefile ;;
24877 test/Programs/SingleSource/Benchmarks/Misc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Misc/Makefile test/Programs/SingleSource/Benchmarks/Misc/Makefile ;;
24878 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24879 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24880 test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ;;
24881 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24882 test/Programs/SingleSource/Regression/C/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C/Makefile test/Programs/SingleSource/Regression/C/Makefile ;;
24883 test/Programs/SingleSource/Regression/C++/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/Makefile test/Programs/SingleSource/Regression/C++/Makefile ;;
24884 test/Programs/SingleSource/Regression/C++/EH/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/EH/Makefile test/Programs/SingleSource/Regression/C++/EH/Makefile ;;
24885 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24886 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24887 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24888 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24889 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24890 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24891 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24892 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24893 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24894 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24895 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24896 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24897 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24898 tools/llvm-nm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-nm/Makefile tools/llvm-nm/Makefile ;;
24899 tools/llvm-prof/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-prof/Makefile tools/llvm-prof/Makefile ;;
24900 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24901 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24902 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24903 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24904 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24905 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24906 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24907 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24908 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24909 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24914 cat >>$CONFIG_STATUS <<\_ACEOF
24916 { (exit 0); exit 0; }
24918 chmod +x $CONFIG_STATUS
24919 ac_clean_files=$ac_clean_files_save
24922 # configure is writing to config.log, and then calls config.status.
24923 # config.status does its own redirection, appending to config.log.
24924 # Unfortunately, on DOS this fails, as config.log is still kept open
24925 # by configure, so config.status won't be able to write to it; its
24926 # output is simply discarded. So we exec the FD to /dev/null,
24927 # effectively closing config.log, so it can be properly (re)opened and
24928 # appended to by config.status. When coming back to configure, we
24929 # need to make the FD available again.
24930 if test "$no_create" != yes; then
24932 ac_config_status_args=
24933 test "$silent" = yes &&
24934 ac_config_status_args="$ac_config_status_args --quiet"
24936 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24938 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24939 # would make configure fail if this is the last instruction.
24940 $ac_cs_success || { (exit 1); exit 1; }
24944 # CONFIG_SUBDIRS section.
24946 if test "$no_recursion" != yes; then
24948 # Remove --cache-file and --srcdir arguments so they do not pile up.
24949 ac_sub_configure_args=
24951 for ac_arg in $ac_configure_args; do
24952 if test -n "$ac_prev"; then
24957 -cache-file | --cache-file | --cache-fil | --cache-fi \
24958 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24959 ac_prev=cache_file ;;
24960 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24961 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24964 --config-cache | -C)
24966 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24968 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24970 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24974 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24978 # Always prepend --prefix to ensure using the same prefix
24979 # in subdir configurations.
24980 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24983 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24985 # Do not complain, so a configure script can configure whichever
24986 # parts of a large source tree are present.
24987 test -d $srcdir/$ac_dir || continue
24989 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24990 echo "$as_me: configuring in $ac_dir" >&6;}
24991 { if $as_mkdir_p; then
24996 while test ! -d "$as_dir"; do
24997 as_dirs="$as_dir $as_dirs"
24998 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25000 X"$as_dir" : 'X\(//\)[^/]' \| \
25001 X"$as_dir" : 'X\(//\)$' \| \
25002 X"$as_dir" : 'X\(/\)' \| \
25003 . : '\(.\)' 2>/dev/null ||
25005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25007 /^X\(\/\/\)$/{ s//\1/; q; }
25008 /^X\(\/\).*/{ s//\1/; q; }
25011 test ! -n "$as_dirs" || mkdir $as_dirs
25012 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25013 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25014 { (exit 1); exit 1; }; }; }
25018 if test "$ac_dir" != .; then
25019 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25020 # A "../" for each directory in $ac_dir_suffix.
25021 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25023 ac_dir_suffix= ac_top_builddir=
25027 .) # No --srcdir option. We are building in place.
25029 if test -z "$ac_top_builddir"; then
25032 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25034 [\\/]* | ?:[\\/]* ) # Absolute path.
25035 ac_srcdir=$srcdir$ac_dir_suffix;
25036 ac_top_srcdir=$srcdir ;;
25037 *) # Relative path.
25038 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25039 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25041 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
25043 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
25044 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
25045 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
25046 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
25051 # Check for guested configure; otherwise get Cygnus style configure.
25052 if test -f $ac_srcdir/configure.gnu; then
25053 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
25054 elif test -f $ac_srcdir/configure; then
25055 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
25056 elif test -f $ac_srcdir/configure.in; then
25057 ac_sub_configure=$ac_configure
25059 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25060 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25064 # The recursion is here.
25065 if test -n "$ac_sub_configure"; then
25066 # Make the cache file name correct relative to the subdirectory.
25067 case $cache_file in
25068 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
25069 *) # Relative path.
25070 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
25073 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25074 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25075 # The eval makes quoting arguments work.
25076 eval $ac_sub_configure $ac_sub_configure_args \
25077 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
25078 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25079 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25080 { (exit 1); exit 1; }; }
25088 if test $llvmgccwarn = yes
25090 { echo "$as_me:$LINENO: WARNING: ***** llvm C/C++ front end was not found, or does not" >&5
25091 echo "$as_me: WARNING: ***** llvm C/C++ front end was not found, or does not" >&2;}
25092 { echo "$as_me:$LINENO: WARNING: ***** appear to be working." >&5
25093 echo "$as_me: WARNING: ***** appear to be working." >&2;}
25094 { echo "$as_me:$LINENO: WARNING: ***** " >&5
25095 echo "$as_me: WARNING: ***** " >&2;}
25096 { echo "$as_me:$LINENO: WARNING: ***** Please check configure's --with-llvmgccdir option." >&5
25097 echo "$as_me: WARNING: ***** Please check configure's --with-llvmgccdir option." >&2;}
25098 { echo "$as_me:$LINENO: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&5
25099 echo "$as_me: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&2;}
25100 { echo "$as_me:$LINENO: WARNING: ***** but you should be able to build the llvm tools." >&5
25101 echo "$as_me: WARNING: ***** but you should be able to build the llvm tools." >&2;}