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 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 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 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 PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 if test ${srcdir} != "."
1514 if test -f ${srcdir}/include/Config/config.h
1516 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1517 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1518 { (exit 1); exit 1; }; }
1522 ac_config_headers="$ac_config_headers include/Config/config.h"
1524 ac_config_commands="$ac_config_commands Makefile"
1527 ac_config_commands="$ac_config_commands Makefile.common"
1530 ac_config_commands="$ac_config_commands Makefile.rules"
1533 ac_config_commands="$ac_config_commands lib/Makefile"
1536 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1539 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1542 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1545 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1548 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1551 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1554 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1557 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1560 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1563 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1566 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1569 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1572 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1575 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1578 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1581 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1584 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1587 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1590 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1593 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1596 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1599 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1602 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1605 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1620 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1623 ac_config_commands="$ac_config_commands runtime/Makefile"
1626 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1629 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1632 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1635 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1638 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1668 ac_config_commands="$ac_config_commands test/Makefile"
1671 ac_config_commands="$ac_config_commands test/Makefile.tests"
1674 ac_config_commands="$ac_config_commands test/QMTestDB/QMTest/llvm.py"
1677 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1680 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1683 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1686 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1689 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1692 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1695 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1698 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1725 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1728 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1734 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1737 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1740 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1788 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1791 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1923 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1926 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1953 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1956 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1959 ac_config_commands="$ac_config_commands tools/Makefile"
1962 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1965 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1968 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1971 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1974 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1977 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1980 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1983 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1986 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1989 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1992 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1995 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
1998 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2001 ac_config_commands="$ac_config_commands utils/Makefile"
2004 ac_config_commands="$ac_config_commands www/docs/Makefile"
2007 ac_config_commands="$ac_config_commands projects/Makefile"
2010 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2013 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2016 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2019 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2022 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2025 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2028 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2031 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2034 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2037 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2040 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2043 ac_config_commands="$ac_config_commands support/Makefile"
2046 ac_config_commands="$ac_config_commands support/lib/Makefile"
2049 ac_config_commands="$ac_config_commands support/lib/Support/Makefile"
2052 ac_config_commands="$ac_config_commands support/tools/Makefile"
2055 ac_config_commands="$ac_config_commands support/tools/Burg/Makefile"
2058 ac_config_commands="$ac_config_commands support/tools/Burg/Doc/Makefile"
2061 ac_config_commands="$ac_config_commands support/tools/TableGen/Makefile"
2066 # Find a good install program. We prefer a C program (faster),
2067 # so one script is as good as another. But avoid the broken or
2068 # incompatible versions:
2069 # SysV /etc/install, /usr/sbin/install
2070 # SunOS /usr/etc/install
2071 # IRIX /sbin/install
2073 # AmigaOS /C/install, which installs bootblocks on floppy discs
2074 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2075 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2076 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2077 # ./install, which can be erroneously created by make from ./install.sh.
2078 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2079 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2080 if test -z "$INSTALL"; then
2081 if test "${ac_cv_path_install+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 test -z "$as_dir" && as_dir=.
2089 # Account for people who put trailing slashes in PATH elements.
2091 ./ | .// | /cC/* | \
2092 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2095 # OSF1 and SCO ODT 3.0 have their own names for install.
2096 # Don't use installbsd from OSF since it installs stuff as root
2098 for ac_prog in ginstall scoinst install; do
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2101 if test $ac_prog = install &&
2102 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2103 # AIX install. It has an incompatible calling convention.
2105 elif test $ac_prog = install &&
2106 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2107 # program-specific install script used by HP pwplus--don't use.
2110 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2122 if test "${ac_cv_path_install+set}" = set; then
2123 INSTALL=$ac_cv_path_install
2125 # As a last resort, use the slow shell script. We don't cache a
2126 # path for INSTALL within a source directory, because that will
2127 # break other packages using the cache if that directory is
2128 # removed, or if the path is relative.
2129 INSTALL=$ac_install_sh
2132 echo "$as_me:$LINENO: result: $INSTALL" >&5
2133 echo "${ECHO_T}$INSTALL" >&6
2135 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2136 # It thinks the first close brace ends the variable substitution.
2137 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2139 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2141 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2144 # Make sure we can run config.sub.
2145 $ac_config_sub sun4 >/dev/null 2>&1 ||
2146 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2147 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2148 { (exit 1); exit 1; }; }
2150 echo "$as_me:$LINENO: checking build system type" >&5
2151 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2152 if test "${ac_cv_build+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 ac_cv_build_alias=$build_alias
2156 test -z "$ac_cv_build_alias" &&
2157 ac_cv_build_alias=`$ac_config_guess`
2158 test -z "$ac_cv_build_alias" &&
2159 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2160 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2161 { (exit 1); exit 1; }; }
2162 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2163 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2164 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2165 { (exit 1); exit 1; }; }
2168 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2169 echo "${ECHO_T}$ac_cv_build" >&6
2171 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2172 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2173 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2176 echo "$as_me:$LINENO: checking host system type" >&5
2177 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2178 if test "${ac_cv_host+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 ac_cv_host_alias=$host_alias
2182 test -z "$ac_cv_host_alias" &&
2183 ac_cv_host_alias=$ac_cv_build_alias
2184 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2185 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2186 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2187 { (exit 1); exit 1; }; }
2190 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2191 echo "${ECHO_T}$ac_cv_host" >&6
2193 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2194 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2195 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2198 echo "$as_me:$LINENO: checking target system type" >&5
2199 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2200 if test "${ac_cv_target+set}" = set; then
2201 echo $ECHO_N "(cached) $ECHO_C" >&6
2203 ac_cv_target_alias=$target_alias
2204 test "x$ac_cv_target_alias" = "x" &&
2205 ac_cv_target_alias=$ac_cv_host_alias
2206 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2207 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2208 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2209 { (exit 1); exit 1; }; }
2212 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2213 echo "${ECHO_T}$ac_cv_target" >&6
2214 target=$ac_cv_target
2215 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2216 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2217 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2220 # The aliases save the names the user supplied, while $host etc.
2221 # will get canonicalized.
2222 test -n "$target_alias" &&
2223 test "$program_prefix$program_suffix$program_transform_name" = \
2225 program_prefix=${target_alias}-
2230 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2236 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2246 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2255 *sparc*solaris*) ARCH=Sparc
2262 ac_cpp='$CXXCPP $CPPFLAGS'
2263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2266 if test -n "$ac_tool_prefix"; then
2267 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2271 echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2273 if test "${ac_cv_prog_CXX+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$CXX"; then
2277 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 if test -n "$CXX"; then
2297 echo "$as_me:$LINENO: result: $CXX" >&5
2298 echo "${ECHO_T}$CXX" >&6
2300 echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2304 test -n "$CXX" && break
2307 if test -z "$CXX"; then
2309 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2311 # Extract the first word of "$ac_prog", so it can be a program name with args.
2312 set dummy $ac_prog; ac_word=$2
2313 echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2315 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 if test -n "$ac_ct_CXX"; then
2319 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2328 ac_cv_prog_ac_ct_CXX="$ac_prog"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2338 if test -n "$ac_ct_CXX"; then
2339 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2340 echo "${ECHO_T}$ac_ct_CXX" >&6
2342 echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6
2346 test -n "$ac_ct_CXX" && break
2348 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2354 # Provide some information about the compiler.
2355 echo "$as_me:$LINENO:" \
2356 "checking for C++ compiler version" >&5
2357 ac_compiler=`set X $ac_compile; echo $2`
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2359 (eval $ac_compiler --version </dev/null >&5) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2364 (eval $ac_compiler -v </dev/null >&5) 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2368 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2369 (eval $ac_compiler -V </dev/null >&5) 2>&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }
2374 cat >conftest.$ac_ext <<_ACEOF
2375 #line $LINENO "configure"
2378 cat confdefs.h >>conftest.$ac_ext
2379 cat >>conftest.$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2390 ac_clean_files_save=$ac_clean_files
2391 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2392 # Try to create an executable without -o first, disregard a.out.
2393 # It will help us diagnose broken compilers, and finding out an intuition
2395 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2396 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2397 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2398 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2399 (eval $ac_link_default) 2>&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; then
2403 # Find the output, starting from the most likely. This scheme is
2404 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2407 # Be careful to initialize this variable, since it used to be cached.
2408 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2410 # b.out is created by i960 compilers.
2411 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2413 test -f "$ac_file" || continue
2415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2418 # This is the source file.
2421 # We found the default executable, but exeext='' is most
2425 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2426 # FIXME: I believe we export ac_cv_exeext for Libtool,
2427 # but it would be cool to find out if it's true. Does anybody
2428 # maintain Libtool? --akim.
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2439 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2440 See \`config.log' for more details." >&5
2441 echo "$as_me: error: C++ compiler cannot create executables
2442 See \`config.log' for more details." >&2;}
2443 { (exit 77); exit 77; }; }
2446 ac_exeext=$ac_cv_exeext
2447 echo "$as_me:$LINENO: result: $ac_file" >&5
2448 echo "${ECHO_T}$ac_file" >&6
2450 # Check the compiler produces executables we can run. If not, either
2451 # the compiler is broken, or we cross compile.
2452 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2453 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2454 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2455 # If not cross compiling, check that we can run a simple program.
2456 if test "$cross_compiling" != yes; then
2457 if { ac_try='./$ac_file'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; }; then
2465 if test "$cross_compiling" = maybe; then
2468 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2469 If you meant to cross compile, use \`--host'.
2470 See \`config.log' for more details." >&5
2471 echo "$as_me: error: cannot run C++ compiled programs.
2472 If you meant to cross compile, use \`--host'.
2473 See \`config.log' for more details." >&2;}
2474 { (exit 1); exit 1; }; }
2478 echo "$as_me:$LINENO: result: yes" >&5
2479 echo "${ECHO_T}yes" >&6
2481 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2482 ac_clean_files=$ac_clean_files_save
2483 # Check the compiler produces executables we can run. If not, either
2484 # the compiler is broken, or we cross compile.
2485 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2486 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2487 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2488 echo "${ECHO_T}$cross_compiling" >&6
2490 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2491 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2493 (eval $ac_link) 2>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; then
2497 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2498 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2499 # work properly (i.e., refer to `conftest.exe'), while it won't with
2501 for ac_file in conftest.exe conftest conftest.*; do
2502 test -f "$ac_file" || continue
2504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2505 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2512 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2513 See \`config.log' for more details." >&5
2514 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2519 rm -f conftest$ac_cv_exeext
2520 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2521 echo "${ECHO_T}$ac_cv_exeext" >&6
2523 rm -f conftest.$ac_ext
2524 EXEEXT=$ac_cv_exeext
2526 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2527 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2528 if test "${ac_cv_objext+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 cat >conftest.$ac_ext <<_ACEOF
2532 #line $LINENO "configure"
2535 cat confdefs.h >>conftest.$ac_ext
2536 cat >>conftest.$ac_ext <<_ACEOF
2537 /* end confdefs.h. */
2547 rm -f conftest.o conftest.obj
2548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549 (eval $ac_compile) 2>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; then
2553 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2555 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2556 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2561 echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2564 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2565 See \`config.log' for more details." >&5
2566 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2567 See \`config.log' for more details." >&2;}
2568 { (exit 1); exit 1; }; }
2571 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2573 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2574 echo "${ECHO_T}$ac_cv_objext" >&6
2575 OBJEXT=$ac_cv_objext
2577 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2578 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2579 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 cat >conftest.$ac_ext <<_ACEOF
2583 #line $LINENO "configure"
2586 cat confdefs.h >>conftest.$ac_ext
2587 cat >>conftest.$ac_ext <<_ACEOF
2588 /* end confdefs.h. */
2601 rm -f conftest.$ac_objext
2602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2603 (eval $ac_compile) 2>&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); } &&
2607 { ac_try='test -s conftest.$ac_objext'
2608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; }; then
2615 echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2620 rm -f conftest.$ac_objext conftest.$ac_ext
2621 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2624 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2625 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2626 GXX=`test $ac_compiler_gnu = yes && echo yes`
2627 ac_test_CXXFLAGS=${CXXFLAGS+set}
2628 ac_save_CXXFLAGS=$CXXFLAGS
2630 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2631 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2632 if test "${ac_cv_prog_cxx_g+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 cat >conftest.$ac_ext <<_ACEOF
2636 #line $LINENO "configure"
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* 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
2663 ac_cv_prog_cxx_g=yes
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2670 rm -f conftest.$ac_objext conftest.$ac_ext
2672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2674 if test "$ac_test_CXXFLAGS" = set; then
2675 CXXFLAGS=$ac_save_CXXFLAGS
2676 elif test $ac_cv_prog_cxx_g = yes; then
2677 if test "$GXX" = yes; then
2683 if test "$GXX" = yes; then
2689 for ac_declaration in \
2691 '#include <stdlib.h>' \
2692 'extern "C" void std::exit (int) throw (); using std::exit;' \
2693 'extern "C" void std::exit (int); using std::exit;' \
2694 'extern "C" void exit (int) throw ();' \
2695 'extern "C" void exit (int);' \
2698 cat >conftest.$ac_ext <<_ACEOF
2699 #line $LINENO "configure"
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2715 rm -f conftest.$ac_objext
2716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2717 (eval $ac_compile) 2>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try='test -s conftest.$ac_objext'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; }; then
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2734 rm -f conftest.$ac_objext conftest.$ac_ext
2735 cat >conftest.$ac_ext <<_ACEOF
2736 #line $LINENO "configure"
2739 cat confdefs.h >>conftest.$ac_ext
2740 cat >>conftest.$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2751 rm -f conftest.$ac_objext
2752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2753 (eval $ac_compile) 2>&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); } &&
2757 { ac_try='test -s conftest.$ac_objext'
2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; }; then
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2769 rm -f conftest.$ac_objext conftest.$ac_ext
2772 if test -n "$ac_declaration"; then
2773 echo '#ifdef __cplusplus' >>confdefs.h
2774 echo $ac_declaration >>confdefs.h
2775 echo '#endif' >>confdefs.h
2779 ac_cpp='$CPP $CPPFLAGS'
2780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2785 ac_cpp='$CPP $CPPFLAGS'
2786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2789 if test -n "$ac_tool_prefix"; then
2792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2793 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2794 echo "$as_me:$LINENO: checking for $ac_word" >&5
2795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2796 if test "${ac_cv_prog_CC+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 if test -n "$CC"; then
2800 ac_cv_prog_CC="$CC" # Let the user override the test.
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test -n "$CC"; then
2820 echo "$as_me:$LINENO: result: $CC" >&5
2821 echo "${ECHO_T}$CC" >&6
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2827 test -n "$CC" && break
2830 if test -z "$CC"; then
2834 # Extract the first word of "$ac_prog", so it can be a program name with args.
2835 set dummy $ac_prog; ac_word=$2
2836 echo "$as_me:$LINENO: checking for $ac_word" >&5
2837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2838 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 if test -n "$ac_ct_CC"; then
2842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851 ac_cv_prog_ac_ct_CC="$ac_prog"
2852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2861 if test -n "$ac_ct_CC"; then
2862 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2863 echo "${ECHO_T}$ac_ct_CC" >&6
2865 echo "$as_me:$LINENO: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2869 test -n "$ac_ct_CC" && break
2876 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2877 See \`config.log' for more details." >&5
2878 echo "$as_me: error: no acceptable C compiler found in \$PATH
2879 See \`config.log' for more details." >&2;}
2880 { (exit 1); exit 1; }; }
2882 # Provide some information about the compiler.
2883 echo "$as_me:$LINENO:" \
2884 "checking for C compiler version" >&5
2885 ac_compiler=`set X $ac_compile; echo $2`
2886 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2887 (eval $ac_compiler --version </dev/null >&5) 2>&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }
2891 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2892 (eval $ac_compiler -v </dev/null >&5) 2>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }
2896 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2897 (eval $ac_compiler -V </dev/null >&5) 2>&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }
2902 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2903 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2904 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 cat >conftest.$ac_ext <<_ACEOF
2908 #line $LINENO "configure"
2911 cat confdefs.h >>conftest.$ac_ext
2912 cat >>conftest.$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2926 rm -f conftest.$ac_objext
2927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } &&
2932 { ac_try='test -s conftest.$ac_objext'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; }; then
2940 echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2945 rm -f conftest.$ac_objext conftest.$ac_ext
2946 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2949 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2950 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2951 GCC=`test $ac_compiler_gnu = yes && echo yes`
2952 ac_test_CFLAGS=${CFLAGS+set}
2953 ac_save_CFLAGS=$CFLAGS
2955 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2956 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2957 if test "${ac_cv_prog_cc_g+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 cat >conftest.$ac_ext <<_ACEOF
2961 #line $LINENO "configure"
2964 cat confdefs.h >>conftest.$ac_ext
2965 cat >>conftest.$ac_ext <<_ACEOF
2966 /* 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
2997 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2998 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2999 if test "$ac_test_CFLAGS" = set; then
3000 CFLAGS=$ac_save_CFLAGS
3001 elif test $ac_cv_prog_cc_g = yes; then
3002 if test "$GCC" = yes; then
3008 if test "$GCC" = yes; then
3014 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3015 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3016 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3017 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 ac_cv_prog_cc_stdc=no
3021 cat >conftest.$ac_ext <<_ACEOF
3022 #line $LINENO "configure"
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3030 #include <sys/types.h>
3031 #include <sys/stat.h>
3032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3033 struct buf { int x; };
3034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3035 static char *e (p, i)
3041 static char *f (char * (*g) (char **, int), char **p, ...)
3046 s = g (p, va_arg (v,int));
3050 int test (int i, double x);
3051 struct s1 {int (*f) (int a);};
3052 struct s2 {int (*f) (double a);};
3053 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3059 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3064 # Don't try gcc -ansi; that turns off useful extensions and
3065 # breaks some systems' header files.
3066 # AIX -qlanglvl=ansi
3067 # Ultrix and OSF/1 -std1
3068 # HP-UX 10.20 and later -Ae
3069 # HP-UX older versions -Aa -D_HPUX_SOURCE
3070 # SVR4 -Xc -D__EXTENSIONS__
3071 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3073 CC="$ac_save_CC $ac_arg"
3074 rm -f conftest.$ac_objext
3075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3076 (eval $ac_compile) 2>&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); } &&
3080 { ac_try='test -s conftest.$ac_objext'
3081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }; }; then
3086 ac_cv_prog_cc_stdc=$ac_arg
3089 echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3093 rm -f conftest.$ac_objext
3095 rm -f conftest.$ac_ext conftest.$ac_objext
3100 case "x$ac_cv_prog_cc_stdc" in
3102 echo "$as_me:$LINENO: result: none needed" >&5
3103 echo "${ECHO_T}none needed" >&6 ;;
3105 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3106 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3107 CC="$CC $ac_cv_prog_cc_stdc" ;;
3110 # Some people use a C++ compiler to compile C. Since we use `exit',
3111 # in C++ we need to declare it. In case someone uses the same compiler
3112 # for both compiling C and C++ we need to have the C++ compiler decide
3113 # the declaration of exit, since it's the most demanding environment.
3114 cat >conftest.$ac_ext <<_ACEOF
3119 rm -f conftest.$ac_objext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3121 (eval $ac_compile) 2>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } &&
3125 { ac_try='test -s conftest.$ac_objext'
3126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }; }; then
3131 for ac_declaration in \
3133 '#include <stdlib.h>' \
3134 'extern "C" void std::exit (int) throw (); using std::exit;' \
3135 'extern "C" void std::exit (int); using std::exit;' \
3136 'extern "C" void exit (int) throw ();' \
3137 'extern "C" void exit (int);' \
3140 cat >conftest.$ac_ext <<_ACEOF
3141 #line $LINENO "configure"
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3157 rm -f conftest.$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } &&
3163 { ac_try='test -s conftest.$ac_objext'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; }; then
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3176 rm -f conftest.$ac_objext conftest.$ac_ext
3177 cat >conftest.$ac_ext <<_ACEOF
3178 #line $LINENO "configure"
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h. */
3193 rm -f conftest.$ac_objext
3194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3195 (eval $ac_compile) 2>&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } &&
3199 { ac_try='test -s conftest.$ac_objext'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; }; then
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3211 rm -f conftest.$ac_objext conftest.$ac_ext
3214 if test -n "$ac_declaration"; then
3215 echo '#ifdef __cplusplus' >>confdefs.h
3216 echo $ac_declaration >>confdefs.h
3217 echo '#endif' >>confdefs.h
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3225 rm -f conftest.$ac_objext conftest.$ac_ext
3227 ac_cpp='$CPP $CPPFLAGS'
3228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233 ac_cpp='$CPP $CPPFLAGS'
3234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3237 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3238 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3239 # On Suns, sometimes $CPP names a directory.
3240 if test -n "$CPP" && test -d "$CPP"; then
3243 if test -z "$CPP"; then
3244 if test "${ac_cv_prog_CPP+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 # Double quotes because CPP needs to be expanded
3248 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3251 for ac_c_preproc_warn_flag in '' yes
3253 # Use a header file that comes with gcc, so configuring glibc
3254 # with a fresh cross-compiler works.
3255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 # <limits.h> exists even on freestanding compilers.
3257 # On the NeXT, cc -E runs the code through the compiler's parser,
3258 # not just through cpp. "Syntax error" is here to catch this case.
3259 cat >conftest.$ac_ext <<_ACEOF
3260 #line $LINENO "configure"
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3267 # include <limits.h>
3269 # include <assert.h>
3273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3276 grep -v '^ *+' conftest.er1 >conftest.err
3278 cat conftest.err >&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } >/dev/null; then
3281 if test -s conftest.err; then
3282 ac_cpp_err=$ac_c_preproc_warn_flag
3289 if test -z "$ac_cpp_err"; then
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3295 # Broken: fails on valid input.
3298 rm -f conftest.err conftest.$ac_ext
3300 # OK, works on sane cases. Now check whether non-existent headers
3301 # can be detected and how.
3302 cat >conftest.$ac_ext <<_ACEOF
3303 #line $LINENO "configure"
3306 cat confdefs.h >>conftest.$ac_ext
3307 cat >>conftest.$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3309 #include <ac_nonexistent.h>
3311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3314 grep -v '^ *+' conftest.er1 >conftest.err
3316 cat conftest.err >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); } >/dev/null; then
3319 if test -s conftest.err; then
3320 ac_cpp_err=$ac_c_preproc_warn_flag
3327 if test -z "$ac_cpp_err"; then
3328 # Broken: success on invalid input.
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3334 # Passes both tests.
3338 rm -f conftest.err conftest.$ac_ext
3341 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3342 rm -f conftest.err conftest.$ac_ext
3343 if $ac_preproc_ok; then
3355 echo "$as_me:$LINENO: result: $CPP" >&5
3356 echo "${ECHO_T}$CPP" >&6
3358 for ac_c_preproc_warn_flag in '' yes
3360 # Use a header file that comes with gcc, so configuring glibc
3361 # with a fresh cross-compiler works.
3362 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3363 # <limits.h> exists even on freestanding compilers.
3364 # On the NeXT, cc -E runs the code through the compiler's parser,
3365 # not just through cpp. "Syntax error" is here to catch this case.
3366 cat >conftest.$ac_ext <<_ACEOF
3367 #line $LINENO "configure"
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3374 # include <limits.h>
3376 # include <assert.h>
3380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3383 grep -v '^ *+' conftest.er1 >conftest.err
3385 cat conftest.err >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } >/dev/null; then
3388 if test -s conftest.err; then
3389 ac_cpp_err=$ac_c_preproc_warn_flag
3396 if test -z "$ac_cpp_err"; then
3399 echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.$ac_ext >&5
3402 # Broken: fails on valid input.
3405 rm -f conftest.err conftest.$ac_ext
3407 # OK, works on sane cases. Now check whether non-existent headers
3408 # can be detected and how.
3409 cat >conftest.$ac_ext <<_ACEOF
3410 #line $LINENO "configure"
3413 cat confdefs.h >>conftest.$ac_ext
3414 cat >>conftest.$ac_ext <<_ACEOF
3415 /* end confdefs.h. */
3416 #include <ac_nonexistent.h>
3418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3421 grep -v '^ *+' conftest.er1 >conftest.err
3423 cat conftest.err >&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); } >/dev/null; then
3426 if test -s conftest.err; then
3427 ac_cpp_err=$ac_c_preproc_warn_flag
3434 if test -z "$ac_cpp_err"; then
3435 # Broken: success on invalid input.
3438 echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3441 # Passes both tests.
3445 rm -f conftest.err conftest.$ac_ext
3448 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3449 rm -f conftest.err conftest.$ac_ext
3450 if $ac_preproc_ok; then
3453 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3454 See \`config.log' for more details." >&5
3455 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3456 See \`config.log' for more details." >&2;}
3457 { (exit 1); exit 1; }; }
3461 ac_cpp='$CPP $CPPFLAGS'
3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 if test "$GCC" != "yes"
3469 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3470 echo "$as_me: error: gcc required but not found" >&2;}
3471 { (exit 1); exit 1; }; }
3474 if test "$GXX" != "yes"
3476 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3477 echo "$as_me: error: g++ required but not found" >&2;}
3478 { (exit 1); exit 1; }; }
3481 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3482 if test "$gccmajor" -lt "3"
3484 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3485 echo "$as_me: error: gcc 3.x required" >&2;}
3486 { (exit 1); exit 1; }; }
3489 echo "$as_me:$LINENO: checking for GNU make" >&5
3490 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3491 if test "${_cv_gnu_make_command+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 _cv_gnu_make_command='' ;
3495 for a in "$MAKE" make gmake gnumake ; do
3496 if test -z "$a" ; then continue ; fi ;
3497 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3498 _cv_gnu_make_command=$a ;
3504 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3505 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3506 if test "x$_cv_gnu_make_command" != "x" ; then
3510 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3511 echo "${ECHO_T}\"Not found\"" >&6;
3515 if test -z "$_cv_gnu_make_command"
3517 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3518 echo "$as_me: error: GNU Make required but not found" >&2;}
3519 { (exit 1); exit 1; }; }
3523 echo "$as_me:$LINENO: checking " >&5
3524 echo $ECHO_N "checking ... $ECHO_C" >&6
3525 if test "${ac_cv_has_flex+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 for ac_prog in flex lex
3530 # Extract the first word of "$ac_prog", so it can be a program name with args.
3531 set dummy $ac_prog; ac_word=$2
3532 echo "$as_me:$LINENO: checking for $ac_word" >&5
3533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3534 if test "${ac_cv_prog_LEX+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3537 if test -n "$LEX"; then
3538 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_prog_LEX="$ac_prog"
3548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 if test -n "$LEX"; then
3558 echo "$as_me:$LINENO: result: $LEX" >&5
3559 echo "${ECHO_T}$LEX" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3565 test -n "$LEX" && break
3567 test -n "$LEX" || LEX=":"
3569 if test -z "$LEXLIB"
3571 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3572 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3573 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3574 echo $ECHO_N "(cached) $ECHO_C" >&6
3576 ac_check_lib_save_LIBS=$LIBS
3578 cat >conftest.$ac_ext <<_ACEOF
3579 #line $LINENO "configure"
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3586 /* Override any gcc2 internal prototype to avoid an error. */
3590 /* We use char because int might match the return type of a gcc2
3591 builtin and then its argument prototype would still apply. */
3601 rm -f conftest.$ac_objext conftest$ac_exeext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3603 (eval $ac_link) 2>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try='test -s conftest$ac_exeext'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_cv_lib_fl_yywrap=yes
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 ac_cv_lib_fl_yywrap=no
3620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3621 LIBS=$ac_check_lib_save_LIBS
3623 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3624 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3625 if test $ac_cv_lib_fl_yywrap = yes; then
3628 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3629 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3630 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3633 ac_check_lib_save_LIBS=$LIBS
3635 cat >conftest.$ac_ext <<_ACEOF
3636 #line $LINENO "configure"
3639 cat confdefs.h >>conftest.$ac_ext
3640 cat >>conftest.$ac_ext <<_ACEOF
3641 /* end confdefs.h. */
3643 /* Override any gcc2 internal prototype to avoid an error. */
3647 /* We use char because int might match the return type of a gcc2
3648 builtin and then its argument prototype would still apply. */
3658 rm -f conftest.$ac_objext conftest$ac_exeext
3659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3660 (eval $ac_link) 2>&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } &&
3664 { ac_try='test -s conftest$ac_exeext'
3665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); }; }; then
3670 ac_cv_lib_l_yywrap=yes
3672 echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3675 ac_cv_lib_l_yywrap=no
3677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3678 LIBS=$ac_check_lib_save_LIBS
3680 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3681 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3682 if test $ac_cv_lib_l_yywrap = yes; then
3690 if test "x$LEX" != "x:"; then
3691 echo "$as_me:$LINENO: checking lex output file root" >&5
3692 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3693 if test "${ac_cv_prog_lex_root+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 # The minimal lex program is just a single line: %%. But some broken lexes
3697 # (Solaris, I think it was) want two %% lines, so accommodate them.
3698 cat >conftest.l <<_ACEOF
3702 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3703 (eval $LEX conftest.l) 2>&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }
3707 if test -f lex.yy.c; then
3708 ac_cv_prog_lex_root=lex.yy
3709 elif test -f lexyy.c; then
3710 ac_cv_prog_lex_root=lexyy
3712 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3713 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3714 { (exit 1); exit 1; }; }
3717 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3718 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3720 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3722 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3723 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3724 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 # POSIX says lex can declare yytext either as a pointer or an array; the
3728 # default is implementation-dependent. Figure out which it is, since
3729 # not all implementations provide the %pointer and %array declarations.
3730 ac_cv_prog_lex_yytext_pointer=no
3731 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3733 LIBS="$LIBS $LEXLIB"
3734 cat >conftest.$ac_ext <<_ACEOF
3735 `cat $LEX_OUTPUT_ROOT.c`
3737 rm -f conftest.$ac_objext conftest$ac_exeext
3738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3739 (eval $ac_link) 2>&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); } &&
3743 { ac_try='test -s conftest$ac_exeext'
3744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }; }; then
3749 ac_cv_prog_lex_yytext_pointer=yes
3751 echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3757 rm -f "${LEX_OUTPUT_ROOT}.c"
3760 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3761 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3762 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3764 cat >>confdefs.h <<\_ACEOF
3765 #define YYTEXT_POINTER 1
3773 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3774 echo "${ECHO_T}$ac_cv_has_flex" >&6
3775 if test "$LEX" != "flex"; then
3776 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3777 echo "$as_me: error: flex not found but required" >&2;}
3778 { (exit 1); exit 1; }; }
3781 echo "$as_me:$LINENO: checking " >&5
3782 echo $ECHO_N "checking ... $ECHO_C" >&6
3783 if test "${ac_cv_has_bison+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 for ac_prog in 'bison -y' byacc
3788 # Extract the first word of "$ac_prog", so it can be a program name with args.
3789 set dummy $ac_prog; ac_word=$2
3790 echo "$as_me:$LINENO: checking for $ac_word" >&5
3791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3792 if test "${ac_cv_prog_YACC+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 if test -n "$YACC"; then
3796 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir=.
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3805 ac_cv_prog_YACC="$ac_prog"
3806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 YACC=$ac_cv_prog_YACC
3815 if test -n "$YACC"; then
3816 echo "$as_me:$LINENO: result: $YACC" >&5
3817 echo "${ECHO_T}$YACC" >&6
3819 echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3823 test -n "$YACC" && break
3825 test -n "$YACC" || YACC="yacc"
3829 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3830 echo "${ECHO_T}$ac_cv_has_bison" >&6
3831 if test "$YACC" != "bison -y"; then
3832 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3833 echo "$as_me: error: bison not found but required" >&2;}
3834 { (exit 1); exit 1; }; }
3841 # Check whether --enable-shared or --disable-shared was given.
3842 if test "${enable_shared+set}" = set; then
3843 enableval="$enable_shared"
3844 p=${PACKAGE-default}
3846 yes) enable_shared=yes ;;
3847 no) enable_shared=no ;;
3850 # Look at the argument we got. We use all the common list separators.
3851 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3852 for pkg in $enableval; do
3854 if test "X$pkg" = "X$p"; then
3865 # Check whether --enable-static or --disable-static was given.
3866 if test "${enable_static+set}" = set; then
3867 enableval="$enable_static"
3868 p=${PACKAGE-default}
3870 yes) enable_static=yes ;;
3871 no) enable_static=no ;;
3874 # Look at the argument we got. We use all the common list separators.
3875 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3876 for pkg in $enableval; do
3878 if test "X$pkg" = "X$p"; then
3889 # Check whether --enable-fast-install or --disable-fast-install was given.
3890 if test "${enable_fast_install+set}" = set; then
3891 enableval="$enable_fast_install"
3892 p=${PACKAGE-default}
3894 yes) enable_fast_install=yes ;;
3895 no) enable_fast_install=no ;;
3897 enable_fast_install=no
3898 # Look at the argument we got. We use all the common list separators.
3899 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3900 for pkg in $enableval; do
3902 if test "X$pkg" = "X$p"; then
3903 enable_fast_install=yes
3910 enable_fast_install=yes
3913 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3914 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3915 if test "${lt_cv_path_SED+set}" = set; then
3916 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 # Loop through the user's path and test for sed and gsed.
3919 # Then use that list of sed's as ones to test for truncation.
3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 test -z "$as_dir" && as_dir=.
3925 for lt_ac_prog in sed gsed; do
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3928 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3935 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3936 # along with /bin/sed that truncates output.
3937 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3938 test ! -f $lt_ac_sed && break
3939 cat /dev/null > conftest.in
3941 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3942 # Check for GNU sed and select it if it is found.
3943 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3944 lt_cv_path_SED=$lt_ac_sed
3948 cat conftest.in conftest.in >conftest.tmp
3949 mv conftest.tmp conftest.in
3950 cp conftest.in conftest.nl
3952 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3953 cmp -s conftest.out conftest.nl || break
3954 # 10000 chars as input seems more than enough
3955 test $lt_ac_count -gt 10 && break
3956 lt_ac_count=`expr $lt_ac_count + 1`
3957 if test $lt_ac_count -gt $lt_ac_max; then
3958 lt_ac_max=$lt_ac_count
3959 lt_cv_path_SED=$lt_ac_sed
3967 echo "$as_me:$LINENO: result: $SED" >&5
3968 echo "${ECHO_T}$SED" >&6
3970 echo "$as_me:$LINENO: checking for egrep" >&5
3971 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3972 if test "${ac_cv_prog_egrep+set}" = set; then
3973 echo $ECHO_N "(cached) $ECHO_C" >&6
3975 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3976 then ac_cv_prog_egrep='grep -E'
3977 else ac_cv_prog_egrep='egrep'
3980 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3981 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3982 EGREP=$ac_cv_prog_egrep
3986 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3987 if test "${with_gnu_ld+set}" = set; then
3988 withval="$with_gnu_ld"
3989 test "$withval" = no || with_gnu_ld=yes
3994 if test "$GCC" = yes; then
3995 # Check if gcc -print-prog-name=ld gives a path.
3996 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3997 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4000 # gcc leaves a trailing carriage return which upsets mingw
4001 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4003 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4006 # Accept absolute paths.
4008 re_direlt='/[^/][^/]*/\.\./'
4009 # Canonicalize the path of ld
4010 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4011 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4012 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4014 test -z "$LD" && LD="$ac_prog"
4017 # If it fails, then pretend we aren't using GCC.
4021 # If it is relative, then search for the first ld in PATH.
4025 elif test "$with_gnu_ld" = yes; then
4026 echo "$as_me:$LINENO: checking for GNU ld" >&5
4027 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4029 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4030 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4032 if test "${lt_cv_path_LD+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 if test -z "$LD"; then
4036 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4037 for ac_dir in $PATH; do
4039 test -z "$ac_dir" && ac_dir=.
4040 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4041 lt_cv_path_LD="$ac_dir/$ac_prog"
4042 # Check to see if the program is GNU ld. I'd rather use --version,
4043 # but apparently some GNU ld's only accept -v.
4044 # Break only if it was the GNU/non-GNU ld that we prefer.
4045 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4046 *GNU* | *'with BFD'*)
4047 test "$with_gnu_ld" != no && break
4050 test "$with_gnu_ld" != yes && break
4057 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4062 if test -n "$LD"; then
4063 echo "$as_me:$LINENO: result: $LD" >&5
4064 echo "${ECHO_T}$LD" >&6
4066 echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6
4069 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4070 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4071 { (exit 1); exit 1; }; }
4072 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4073 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4074 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4078 case `"$LD" -v 2>&1 </dev/null` in
4079 *GNU* | *'with BFD'*)
4080 lt_cv_prog_gnu_ld=yes
4083 lt_cv_prog_gnu_ld=no
4087 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4088 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4089 with_gnu_ld=$lt_cv_prog_gnu_ld
4092 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4093 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4094 if test "${lt_cv_ld_reload_flag+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 lt_cv_ld_reload_flag='-r'
4099 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4100 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4101 reload_flag=$lt_cv_ld_reload_flag
4102 case $reload_flag in
4104 *) reload_flag=" $reload_flag" ;;
4106 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4108 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4109 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4110 if test "${lt_cv_path_NM+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 if test -n "$NM"; then
4114 # Let the user override the test.
4117 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4118 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4120 test -z "$ac_dir" && ac_dir=.
4121 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4122 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4123 # Check to see if the nm accepts a BSD-compat flag.
4124 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4125 # nm: unknown option "B" ignored
4126 # Tru64's nm complains that /dev/null is an invalid object file
4127 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4128 */dev/null* | *'Invalid file or object type'*)
4129 lt_cv_path_NM="$tmp_nm -B"
4133 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4135 lt_cv_path_NM="$tmp_nm -p"
4139 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4140 continue # so that we can try to find one that supports BSD flags
4147 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4150 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4151 echo "${ECHO_T}$lt_cv_path_NM" >&6
4154 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4155 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4157 if test "$LN_S" = "ln -s"; then
4158 echo "$as_me:$LINENO: result: yes" >&5
4159 echo "${ECHO_T}yes" >&6
4161 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4162 echo "${ECHO_T}no, using $LN_S" >&6
4165 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4166 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4167 if test "${lt_cv_deplibs_check_method+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 lt_cv_file_magic_cmd='$MAGIC_CMD'
4171 lt_cv_file_magic_test_file=
4172 lt_cv_deplibs_check_method='unknown'
4173 # Need to set the preceding variable on all platforms that support
4174 # interlibrary dependencies.
4175 # 'none' -- dependencies not supported.
4176 # `unknown' -- same as none, but documents that we really don't know.
4177 # 'pass_all' -- all dependencies passed with no checks.
4178 # 'test_compile' -- check by making test program.
4179 # 'file_magic [[regex]]' -- check by looking for files in library path
4180 # which responds to the $file_magic_cmd with a given extended regex.
4181 # If you have `file' or equivalent on your system and you're not sure
4182 # whether `pass_all' will *always* work, you probably want this one.
4186 lt_cv_deplibs_check_method=pass_all
4190 lt_cv_deplibs_check_method=pass_all
4194 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4195 lt_cv_file_magic_cmd='/usr/bin/file -L'
4196 lt_cv_file_magic_test_file=/shlib/libc.so
4199 cygwin* | mingw* | pw32*)
4200 # win32_libid is a shell function defined in ltmain.sh
4201 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4202 lt_cv_file_magic_cmd='win32_libid'
4205 darwin* | rhapsody*)
4206 # this will be overwritten by pass_all, but leave it in just in case
4207 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4208 lt_cv_file_magic_cmd='/usr/bin/file -L'
4210 rhapsody* | darwin1.[012])
4211 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4214 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4217 lt_cv_deplibs_check_method=pass_all
4221 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4224 # Not sure whether the presence of OpenBSD here was a mistake.
4225 # Let's accept both of them until this is cleared up.
4226 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4227 lt_cv_file_magic_cmd=/usr/bin/file
4228 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4232 lt_cv_deplibs_check_method=pass_all
4237 lt_cv_deplibs_check_method=pass_all
4240 hpux10.20* | hpux11*)
4241 lt_cv_file_magic_cmd=/usr/bin/file
4244 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4245 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4248 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]'
4249 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4253 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4258 irix5* | irix6* | nonstopux*)
4260 irix5* | nonstopux*)
4261 # this will be overridden with pass_all, but let us keep it just in case
4262 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4266 *-32|*"-32 ") libmagic=32-bit;;
4267 *-n32|*"-n32 ") libmagic=N32;;
4268 *-64|*"-64 ") libmagic=64-bit;;
4269 *) libmagic=never-match;;
4271 # this will be overridden with pass_all, but let us keep it just in case
4272 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4275 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4276 lt_cv_deplibs_check_method=pass_all
4279 # This must be Linux ELF.
4282 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4283 lt_cv_deplibs_check_method=pass_all ;;
4285 # glibc up to 2.1.1 does not perform some relocations on ARM
4286 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4288 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4292 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4300 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4301 lt_cv_file_magic_cmd=/usr/bin/file
4302 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4306 lt_cv_deplibs_check_method=unknown
4310 lt_cv_file_magic_cmd=/usr/bin/file
4311 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4312 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4315 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4319 osf3* | osf4* | osf5*)
4320 # this will be overridden with pass_all, but let us keep it just in case
4321 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4322 lt_cv_file_magic_test_file=/shlib/libc.so
4323 lt_cv_deplibs_check_method=pass_all
4327 lt_cv_deplibs_check_method=pass_all
4331 lt_cv_deplibs_check_method=pass_all
4332 lt_cv_file_magic_test_file=/lib/libc.so
4335 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4336 case $host_vendor in
4338 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]'
4339 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4342 lt_cv_deplibs_check_method=pass_all
4345 lt_cv_file_magic_cmd='/bin/file'
4346 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4349 lt_cv_file_magic_cmd='/bin/file'
4350 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4351 lt_cv_file_magic_test_file=/lib/libc.so
4354 lt_cv_deplibs_check_method=pass_all
4359 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4360 lt_cv_deplibs_check_method=pass_all
4365 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4366 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4367 file_magic_cmd=$lt_cv_file_magic_cmd
4368 deplibs_check_method=$lt_cv_deplibs_check_method
4369 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4374 # If no C compiler was specified, use CC.
4377 # Allow CC to be a program name with arguments.
4380 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4381 if test "${enable_libtool_lock+set}" = set; then
4382 enableval="$enable_libtool_lock"
4385 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4387 # Some flags need to be propagated to the compiler or linker for good
4391 # Find out which ABI we are using.
4392 echo 'int i;' > conftest.$ac_ext
4393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4394 (eval $ac_compile) 2>&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); }; then
4398 case `/usr/bin/file conftest.$ac_objext` in
4410 # Find out which ABI we are using.
4411 echo '#line 4411 "configure"' > conftest.$ac_ext
4412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4413 (eval $ac_compile) 2>&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; then
4417 if test "$lt_cv_prog_gnu_ld" = yes; then
4418 case `/usr/bin/file conftest.$ac_objext` in
4420 LD="${LD-ld} -melf32bsmip"
4423 LD="${LD-ld} -melf32bmipn32"
4426 LD="${LD-ld} -melf64bmip"
4430 case `/usr/bin/file conftest.$ac_objext` in
4446 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4447 # Find out which ABI we are using.
4448 echo 'int i;' > conftest.$ac_ext
4449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4450 (eval $ac_compile) 2>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }; then
4454 case "`/usr/bin/file conftest.o`" in
4458 LD="${LD-ld} -m elf_i386"
4461 LD="${LD-ld} -m elf32ppclinux"
4464 LD="${LD-ld} -m elf_s390"
4467 LD="${LD-ld} -m elf32_sparc"
4474 LD="${LD-ld} -m elf_x86_64"
4476 ppc*-*linux*|powerpc*-*linux*)
4477 LD="${LD-ld} -m elf64ppc"
4480 LD="${LD-ld} -m elf64_s390"
4483 LD="${LD-ld} -m elf64_sparc"
4493 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4494 SAVE_CFLAGS="$CFLAGS"
4495 CFLAGS="$CFLAGS -belf"
4496 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4497 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4498 if test "${lt_cv_cc_needs_belf+set}" = set; then
4499 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 ac_cpp='$CPP $CPPFLAGS'
4503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4507 cat >conftest.$ac_ext <<_ACEOF
4508 #line $LINENO "configure"
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4523 rm -f conftest.$ac_objext conftest$ac_exeext
4524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4525 (eval $ac_link) 2>&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } &&
4529 { ac_try='test -s conftest$ac_exeext'
4530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; }; then
4535 lt_cv_cc_needs_belf=yes
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.$ac_ext >&5
4540 lt_cv_cc_needs_belf=no
4542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4544 ac_cpp='$CPP $CPPFLAGS'
4545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4550 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4551 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4552 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4553 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4554 CFLAGS="$SAVE_CFLAGS"
4560 need_locks="$enable_libtool_lock"
4564 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4565 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4566 if test "${ac_cv_header_stdc+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 cat >conftest.$ac_ext <<_ACEOF
4570 #line $LINENO "configure"
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4589 rm -f conftest.$ac_objext
4590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4591 (eval $ac_compile) 2>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } &&
4595 { ac_try='test -s conftest.$ac_objext'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; }; then
4601 ac_cv_header_stdc=yes
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4606 ac_cv_header_stdc=no
4608 rm -f conftest.$ac_objext conftest.$ac_ext
4610 if test $ac_cv_header_stdc = yes; then
4611 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4612 cat >conftest.$ac_ext <<_ACEOF
4613 #line $LINENO "configure"
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4623 $EGREP "memchr" >/dev/null 2>&1; then
4626 ac_cv_header_stdc=no
4632 if test $ac_cv_header_stdc = yes; then
4633 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4634 cat >conftest.$ac_ext <<_ACEOF
4635 #line $LINENO "configure"
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4645 $EGREP "free" >/dev/null 2>&1; then
4648 ac_cv_header_stdc=no
4654 if test $ac_cv_header_stdc = yes; then
4655 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4656 if test "$cross_compiling" = yes; then
4659 cat >conftest.$ac_ext <<_ACEOF
4660 #line $LINENO "configure"
4663 cat confdefs.h >>conftest.$ac_ext
4664 cat >>conftest.$ac_ext <<_ACEOF
4665 /* end confdefs.h. */
4667 #if ((' ' & 0x0FF) == 0x020)
4668 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4669 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4671 # define ISLOWER(c) \
4672 (('a' <= (c) && (c) <= 'i') \
4673 || ('j' <= (c) && (c) <= 'r') \
4674 || ('s' <= (c) && (c) <= 'z'))
4675 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4678 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4683 for (i = 0; i < 256; i++)
4684 if (XOR (islower (i), ISLOWER (i))
4685 || toupper (i) != TOUPPER (i))
4690 rm -f conftest$ac_exeext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4692 (eval $ac_link) 2>&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); }; }; then
4703 echo "$as_me: program exited with status $ac_status" >&5
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4708 ac_cv_header_stdc=no
4710 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4714 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4715 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4716 if test $ac_cv_header_stdc = yes; then
4718 cat >>confdefs.h <<\_ACEOF
4719 #define STDC_HEADERS 1
4724 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4734 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4735 inttypes.h stdint.h unistd.h
4737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4738 echo "$as_me:$LINENO: checking for $ac_header" >&5
4739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 cat >conftest.$ac_ext <<_ACEOF
4744 #line $LINENO "configure"
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4750 $ac_includes_default
4752 #include <$ac_header>
4754 rm -f conftest.$ac_objext
4755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4756 (eval $ac_compile) 2>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try='test -s conftest.$ac_objext'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; }; then
4766 eval "$as_ac_Header=yes"
4768 echo "$as_me: failed program was:" >&5
4769 sed 's/^/| /' conftest.$ac_ext >&5
4771 eval "$as_ac_Header=no"
4773 rm -f conftest.$ac_objext conftest.$ac_ext
4775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4778 cat >>confdefs.h <<_ACEOF
4779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4788 for ac_header in dlfcn.h
4790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4792 echo "$as_me:$LINENO: checking for $ac_header" >&5
4793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4795 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4800 # Is the header compilable?
4801 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4802 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4803 cat >conftest.$ac_ext <<_ACEOF
4804 #line $LINENO "configure"
4807 cat confdefs.h >>conftest.$ac_ext
4808 cat >>conftest.$ac_ext <<_ACEOF
4809 /* end confdefs.h. */
4810 $ac_includes_default
4811 #include <$ac_header>
4813 rm -f conftest.$ac_objext
4814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4815 (eval $ac_compile) 2>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } &&
4819 { ac_try='test -s conftest.$ac_objext'
4820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; }; then
4825 ac_header_compiler=yes
4827 echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4830 ac_header_compiler=no
4832 rm -f conftest.$ac_objext conftest.$ac_ext
4833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4834 echo "${ECHO_T}$ac_header_compiler" >&6
4836 # Is the header present?
4837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4839 cat >conftest.$ac_ext <<_ACEOF
4840 #line $LINENO "configure"
4843 cat confdefs.h >>conftest.$ac_ext
4844 cat >>conftest.$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4846 #include <$ac_header>
4848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4851 grep -v '^ *+' conftest.er1 >conftest.err
4853 cat conftest.err >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); } >/dev/null; then
4856 if test -s conftest.err; then
4857 ac_cpp_err=$ac_c_preproc_warn_flag
4864 if test -z "$ac_cpp_err"; then
4865 ac_header_preproc=yes
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.$ac_ext >&5
4870 ac_header_preproc=no
4872 rm -f conftest.err conftest.$ac_ext
4873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4874 echo "${ECHO_T}$ac_header_preproc" >&6
4876 # So? What about this header?
4877 case $ac_header_compiler:$ac_header_preproc in
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4885 ## ------------------------------------ ##
4886 ## Report this to bug-autoconf@gnu.org. ##
4887 ## ------------------------------------ ##
4890 sed "s/^/$as_me: WARNING: /" >&2
4893 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4894 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4895 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4896 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4901 ## ------------------------------------ ##
4902 ## Report this to bug-autoconf@gnu.org. ##
4903 ## ------------------------------------ ##
4906 sed "s/^/$as_me: WARNING: /" >&2
4909 echo "$as_me:$LINENO: checking for $ac_header" >&5
4910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4912 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 eval "$as_ac_Header=$ac_header_preproc"
4916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4921 cat >>confdefs.h <<_ACEOF
4922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4930 ac_cpp='$CXXCPP $CPPFLAGS'
4931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4934 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4935 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4936 if test -z "$CXXCPP"; then
4937 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 # Double quotes because CXXCPP needs to be expanded
4941 for CXXCPP in "$CXX -E" "/lib/cpp"
4944 for ac_cxx_preproc_warn_flag in '' yes
4946 # Use a header file that comes with gcc, so configuring glibc
4947 # with a fresh cross-compiler works.
4948 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4949 # <limits.h> exists even on freestanding compilers.
4950 # On the NeXT, cc -E runs the code through the compiler's parser,
4951 # not just through cpp. "Syntax error" is here to catch this case.
4952 cat >conftest.$ac_ext <<_ACEOF
4953 #line $LINENO "configure"
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 # include <limits.h>
4962 # include <assert.h>
4966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4969 grep -v '^ *+' conftest.er1 >conftest.err
4971 cat conftest.err >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } >/dev/null; then
4974 if test -s conftest.err; then
4975 ac_cpp_err=$ac_cxx_preproc_warn_flag
4982 if test -z "$ac_cpp_err"; then
4985 echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.$ac_ext >&5
4988 # Broken: fails on valid input.
4991 rm -f conftest.err conftest.$ac_ext
4993 # OK, works on sane cases. Now check whether non-existent headers
4994 # can be detected and how.
4995 cat >conftest.$ac_ext <<_ACEOF
4996 #line $LINENO "configure"
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 #include <ac_nonexistent.h>
5004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5007 grep -v '^ *+' conftest.er1 >conftest.err
5009 cat conftest.err >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } >/dev/null; then
5012 if test -s conftest.err; then
5013 ac_cpp_err=$ac_cxx_preproc_warn_flag
5020 if test -z "$ac_cpp_err"; then
5021 # Broken: success on invalid input.
5024 echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.$ac_ext >&5
5027 # Passes both tests.
5031 rm -f conftest.err conftest.$ac_ext
5034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5035 rm -f conftest.err conftest.$ac_ext
5036 if $ac_preproc_ok; then
5041 ac_cv_prog_CXXCPP=$CXXCPP
5044 CXXCPP=$ac_cv_prog_CXXCPP
5046 ac_cv_prog_CXXCPP=$CXXCPP
5048 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5049 echo "${ECHO_T}$CXXCPP" >&6
5051 for ac_cxx_preproc_warn_flag in '' yes
5053 # Use a header file that comes with gcc, so configuring glibc
5054 # with a fresh cross-compiler works.
5055 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5056 # <limits.h> exists even on freestanding compilers.
5057 # On the NeXT, cc -E runs the code through the compiler's parser,
5058 # not just through cpp. "Syntax error" is here to catch this case.
5059 cat >conftest.$ac_ext <<_ACEOF
5060 #line $LINENO "configure"
5063 cat confdefs.h >>conftest.$ac_ext
5064 cat >>conftest.$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5067 # include <limits.h>
5069 # include <assert.h>
5073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5076 grep -v '^ *+' conftest.er1 >conftest.err
5078 cat conftest.err >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } >/dev/null; then
5081 if test -s conftest.err; then
5082 ac_cpp_err=$ac_cxx_preproc_warn_flag
5089 if test -z "$ac_cpp_err"; then
5092 echo "$as_me: failed program was:" >&5
5093 sed 's/^/| /' conftest.$ac_ext >&5
5095 # Broken: fails on valid input.
5098 rm -f conftest.err conftest.$ac_ext
5100 # OK, works on sane cases. Now check whether non-existent headers
5101 # can be detected and how.
5102 cat >conftest.$ac_ext <<_ACEOF
5103 #line $LINENO "configure"
5106 cat confdefs.h >>conftest.$ac_ext
5107 cat >>conftest.$ac_ext <<_ACEOF
5108 /* end confdefs.h. */
5109 #include <ac_nonexistent.h>
5111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5114 grep -v '^ *+' conftest.er1 >conftest.err
5116 cat conftest.err >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } >/dev/null; then
5119 if test -s conftest.err; then
5120 ac_cpp_err=$ac_cxx_preproc_warn_flag
5127 if test -z "$ac_cpp_err"; then
5128 # Broken: success on invalid input.
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.$ac_ext >&5
5134 # Passes both tests.
5138 rm -f conftest.err conftest.$ac_ext
5141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5142 rm -f conftest.err conftest.$ac_ext
5143 if $ac_preproc_ok; then
5146 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5147 See \`config.log' for more details." >&5
5148 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5149 See \`config.log' for more details." >&2;}
5150 { (exit 1); exit 1; }; }
5154 ac_cpp='$CXXCPP $CPPFLAGS'
5155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5161 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5162 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5163 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5164 if test -n "$ac_tool_prefix"; then
5165 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5167 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5168 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5169 echo "$as_me:$LINENO: checking for $ac_word" >&5
5170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5171 if test "${ac_cv_prog_F77+set}" = set; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 if test -n "$F77"; then
5175 ac_cv_prog_F77="$F77" # Let the user override the test.
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 if test -n "$F77"; then
5195 echo "$as_me:$LINENO: result: $F77" >&5
5196 echo "${ECHO_T}$F77" >&6
5198 echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5202 test -n "$F77" && break
5205 if test -z "$F77"; then
5207 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5209 # Extract the first word of "$ac_prog", so it can be a program name with args.
5210 set dummy $ac_prog; ac_word=$2
5211 echo "$as_me:$LINENO: checking for $ac_word" >&5
5212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5213 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5214 echo $ECHO_N "(cached) $ECHO_C" >&6
5216 if test -n "$ac_ct_F77"; then
5217 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5226 ac_cv_prog_ac_ct_F77="$ac_prog"
5227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5236 if test -n "$ac_ct_F77"; then
5237 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5238 echo "${ECHO_T}$ac_ct_F77" >&6
5240 echo "$as_me:$LINENO: result: no" >&5
5241 echo "${ECHO_T}no" >&6
5244 test -n "$ac_ct_F77" && break
5251 # Provide some information about the compiler.
5252 echo "$as_me:5252:" \
5253 "checking for Fortran 77 compiler version" >&5
5254 ac_compiler=`set X $ac_compile; echo $2`
5255 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5256 (eval $ac_compiler --version </dev/null >&5) 2>&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); }
5260 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5261 (eval $ac_compiler -v </dev/null >&5) 2>&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); }
5265 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5266 (eval $ac_compiler -V </dev/null >&5) 2>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); }
5271 # If we don't use `.F' as extension, the preprocessor is not run on the
5275 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5276 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5277 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 cat >conftest.$ac_ext <<_ACEOF
5288 rm -f conftest.$ac_objext
5289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5290 (eval $ac_compile) 2>&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); } &&
5294 { ac_try='test -s conftest.$ac_objext'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; }; then
5302 echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5307 rm -f conftest.$ac_objext conftest.$ac_ext
5308 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5311 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5312 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5314 G77=`test $ac_compiler_gnu = yes && echo yes`
5315 ac_test_FFLAGS=${FFLAGS+set}
5316 ac_save_FFLAGS=$FFLAGS
5318 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5319 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5320 if test "${ac_cv_prog_f77_g+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 cat >conftest.$ac_ext <<_ACEOF
5329 rm -f conftest.$ac_objext
5330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5331 (eval $ac_compile) 2>&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); } &&
5335 { ac_try='test -s conftest.$ac_objext'
5336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); }; }; then
5341 ac_cv_prog_f77_g=yes
5343 echo "$as_me: failed program was:" >&5
5344 sed 's/^/| /' conftest.$ac_ext >&5
5348 rm -f conftest.$ac_objext conftest.$ac_ext
5351 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5352 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5353 if test "$ac_test_FFLAGS" = set; then
5354 FFLAGS=$ac_save_FFLAGS
5355 elif test $ac_cv_prog_f77_g = yes; then
5356 if test "$G77" = yes; then
5362 if test "$G77" = yes; then
5369 ac_cpp='$CPP $CPPFLAGS'
5370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5376 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5378 # find the maximum length of command line arguments
5379 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5380 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5381 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5382 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 # On DJGPP, this test can blow up pretty badly due to problems in libc
5390 # (any single argument exceeding 2000 bytes causes a buffer overrun
5391 # during glob expansion). Even if it were fixed, the result of this
5392 # check would be larger than it should be.
5393 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5397 # Under GNU Hurd, this test is not required because there is
5398 # no limit to the length of command line arguments.
5399 # Libtool will interpret -1 as no limit whatsoever
5400 lt_cv_sys_max_cmd_len=-1;
5404 # On Win9x/ME, this test blows up -- it succeeds, but takes
5405 # about 5 minutes as the teststring grows exponentially.
5406 # Worse, since 9x/ME are not pre-emptively multitasking,
5407 # you end up with a "frozen" computer, even though with patience
5408 # the test eventually succeeds (with a max line length of 256k).
5409 # Instead, let's just punt: use the minimum linelength reported by
5410 # all of the supported platforms: 8192 (on NT/2K/XP).
5411 lt_cv_sys_max_cmd_len=8192;
5415 # If test is not a shell built-in, we'll probably end up computing a
5416 # maximum length that is only half of the actual maximum length, but
5418 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5419 = "XX$testring") >/dev/null 2>&1 &&
5420 new_result=`expr "X$testring" : ".*" 2>&1` &&
5421 lt_cv_sys_max_cmd_len=$new_result &&
5422 test $i != 17 # 1/2 MB should be enough
5425 testring=$testring$testring
5428 # Add a significant safety factor because C++ compilers can tack on massive
5429 # amounts of additional arguments before passing them to the linker.
5430 # It appears as though 1/2 is a usable value.
5431 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5437 if test -n $lt_cv_sys_max_cmd_len ; then
5438 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5439 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5441 echo "$as_me:$LINENO: result: none" >&5
5442 echo "${ECHO_T}none" >&6
5448 # Check for command to grab the raw symbol name followed by C symbol from nm.
5449 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5450 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5451 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5455 # These are sane defaults that work on at least a few old systems.
5456 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5458 # Character class describing NM global symbol codes.
5459 symcode='[BCDEGRST]'
5461 # Regexp to match symbols that can be accessed directly from C.
5462 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5464 # Transform the above into a raw symbol and a C symbol.
5465 symxfrm='\1 \2\3 \3'
5467 # Transform an extracted symbol line into a proper C declaration
5468 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5470 # Transform an extracted symbol line into symbol name and symbol address
5471 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'"
5473 # Define system-specific variables.
5478 cygwin* | mingw* | pw32*)
5479 symcode='[ABCDGISTW]'
5481 hpux*) # Its linker distinguishes data from code symbols
5482 if test "$host_cpu" = ia64; then
5483 symcode='[ABCDEGRST]'
5485 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5486 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'"
5489 symcode='[BCDEGRST]'
5492 symcode='[BCDEGQRST]'
5502 # Handle CRLF in mingw tool chain
5506 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5510 # If we're using GNU nm, then use its standard symbol codes.
5511 case `$NM -V 2>&1` in
5512 *GNU* | *'with BFD'*)
5513 symcode='[ABCDGISTW]' ;;
5516 # Try without a prefix undercore, then with it.
5517 for ac_symprfx in "" "_"; do
5519 # Write the raw and C identifiers.
5520 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5522 # Check to see that the pipe works correctly.
5526 cat > conftest.$ac_ext <<EOF
5531 void nm_test_func(){}
5535 int main(){nm_test_var='a';nm_test_func();return(0);}
5538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5539 (eval $ac_compile) 2>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; then
5543 # Now try to grab the symbols.
5545 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5546 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); } && test -s "$nlist"; then
5550 # Try sorting and uniquifying the output.
5551 if sort "$nlist" | uniq > "$nlist"T; then
5552 mv -f "$nlist"T "$nlist"
5557 # Make sure that we snagged all the symbols we need.
5558 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5559 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5560 cat <<EOF > conftest.$ac_ext
5566 # Now generate the symbol file.
5567 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5569 cat <<EOF >> conftest.$ac_ext
5570 #if defined (__STDC__) && __STDC__
5571 # define lt_ptr_t void *
5573 # define lt_ptr_t char *
5577 /* The mapping between symbol names and symbols. */
5582 lt_preloaded_symbols[] =
5585 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5586 cat <<\EOF >> conftest.$ac_ext
5594 # Now try linking the two files.
5595 mv conftest.$ac_objext conftstm.$ac_objext
5596 lt_save_LIBS="$LIBS"
5597 lt_save_CFLAGS="$CFLAGS"
5598 LIBS="conftstm.$ac_objext"
5599 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5601 (eval $ac_link) 2>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5607 LIBS="$lt_save_LIBS"
5608 CFLAGS="$lt_save_CFLAGS"
5610 echo "cannot find nm_test_func in $nlist" >&5
5613 echo "cannot find nm_test_var in $nlist" >&5
5616 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5619 echo "$progname: failed program was:" >&5
5620 cat conftest.$ac_ext >&5
5622 rm -f conftest* conftst*
5624 # Do not use the global_symbol_pipe unless it works.
5625 if test "$pipe_works" = yes; then
5628 lt_cv_sys_global_symbol_pipe=
5634 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5635 lt_cv_sys_global_symbol_to_cdecl=
5637 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5638 echo "$as_me:$LINENO: result: failed" >&5
5639 echo "${ECHO_T}failed" >&6
5641 echo "$as_me:$LINENO: result: ok" >&5
5642 echo "${ECHO_T}ok" >&6
5645 echo "$as_me:$LINENO: checking for objdir" >&5
5646 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5647 if test "${lt_cv_objdir+set}" = set; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 rm -f .libs 2>/dev/null
5651 mkdir .libs 2>/dev/null
5652 if test -d .libs; then
5655 # MS-DOS does not allow filenames that begin with a dot.
5658 rmdir .libs 2>/dev/null
5660 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5661 echo "${ECHO_T}$lt_cv_objdir" >&6
5662 objdir=$lt_cv_objdir
5670 # AIX sometimes has problems with the GCC collect2 program. For some
5671 # reason, if we set the COLLECT_NAMES environment variable, the problems
5672 # vanish in a puff of smoke.
5673 if test "X${COLLECT_NAMES+set}" != Xset; then
5675 export COLLECT_NAMES
5680 # Sed substitution that helps us do robust quoting. It backslashifies
5681 # metacharacters that are still active within double-quoted strings.
5682 Xsed='sed -e s/^X//'
5683 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5685 # Same as above, but do not quote variable references.
5686 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5688 # Sed substitution to delay expansion of an escaped shell variable in a
5689 # double_quote_subst'ed string.
5690 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5692 # Sed substitution to avoid accidental globbing in evaled expressions
5693 no_glob_subst='s/\*/\\\*/g'
5700 can_build_shared=yes
5702 # All known linkers require a `.a' archive for static linking (except M$VC,
5703 # which needs '.lib').
5705 ltmain="$ac_aux_dir/ltmain.sh"
5706 ofile="$default_ofile"
5707 with_gnu_ld="$lt_cv_prog_gnu_ld"
5709 if test -n "$ac_tool_prefix"; then
5710 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5711 set dummy ${ac_tool_prefix}ar; ac_word=$2
5712 echo "$as_me:$LINENO: checking for $ac_word" >&5
5713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5714 if test "${ac_cv_prog_AR+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 if test -n "$AR"; then
5718 ac_cv_prog_AR="$AR" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_AR="${ac_tool_prefix}ar"
5728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 if test -n "$AR"; then
5738 echo "$as_me:$LINENO: result: $AR" >&5
5739 echo "${ECHO_T}$AR" >&6
5741 echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6
5746 if test -z "$ac_cv_prog_AR"; then
5748 # Extract the first word of "ar", so it can be a program name with args.
5749 set dummy ar; ac_word=$2
5750 echo "$as_me:$LINENO: checking for $ac_word" >&5
5751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5752 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 if test -n "$ac_ct_AR"; then
5756 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_ac_ct_AR="ar"
5766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5775 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5776 if test -n "$ac_ct_AR"; then
5777 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5778 echo "${ECHO_T}$ac_ct_AR" >&6
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5789 if test -n "$ac_tool_prefix"; then
5790 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5791 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5792 echo "$as_me:$LINENO: checking for $ac_word" >&5
5793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5794 if test "${ac_cv_prog_RANLIB+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 if test -n "$RANLIB"; then
5798 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 RANLIB=$ac_cv_prog_RANLIB
5817 if test -n "$RANLIB"; then
5818 echo "$as_me:$LINENO: result: $RANLIB" >&5
5819 echo "${ECHO_T}$RANLIB" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5826 if test -z "$ac_cv_prog_RANLIB"; then
5827 ac_ct_RANLIB=$RANLIB
5828 # Extract the first word of "ranlib", so it can be a program name with args.
5829 set dummy ranlib; ac_word=$2
5830 echo "$as_me:$LINENO: checking for $ac_word" >&5
5831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5832 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5833 echo $ECHO_N "(cached) $ECHO_C" >&6
5835 if test -n "$ac_ct_RANLIB"; then
5836 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_ac_ct_RANLIB="ranlib"
5846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5855 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5856 if test -n "$ac_ct_RANLIB"; then
5857 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5858 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5860 echo "$as_me:$LINENO: result: no" >&5
5861 echo "${ECHO_T}no" >&6
5864 RANLIB=$ac_ct_RANLIB
5866 RANLIB="$ac_cv_prog_RANLIB"
5869 if test -n "$ac_tool_prefix"; then
5870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5871 set dummy ${ac_tool_prefix}strip; ac_word=$2
5872 echo "$as_me:$LINENO: checking for $ac_word" >&5
5873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5874 if test "${ac_cv_prog_STRIP+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 if test -n "$STRIP"; then
5878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 STRIP=$ac_cv_prog_STRIP
5897 if test -n "$STRIP"; then
5898 echo "$as_me:$LINENO: result: $STRIP" >&5
5899 echo "${ECHO_T}$STRIP" >&6
5901 echo "$as_me:$LINENO: result: no" >&5
5902 echo "${ECHO_T}no" >&6
5906 if test -z "$ac_cv_prog_STRIP"; then
5908 # Extract the first word of "strip", so it can be a program name with args.
5909 set dummy strip; ac_word=$2
5910 echo "$as_me:$LINENO: checking for $ac_word" >&5
5911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5915 if test -n "$ac_ct_STRIP"; then
5916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_ac_ct_STRIP="strip"
5926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5936 if test -n "$ac_ct_STRIP"; then
5937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5938 echo "${ECHO_T}$ac_ct_STRIP" >&6
5940 echo "$as_me:$LINENO: result: no" >&5
5941 echo "${ECHO_T}no" >&6
5946 STRIP="$ac_cv_prog_STRIP"
5951 old_CFLAGS="$CFLAGS"
5953 # Set sane defaults for various variables
5954 test -z "$AR" && AR=ar
5955 test -z "$AR_FLAGS" && AR_FLAGS=cru
5956 test -z "$AS" && AS=as
5957 test -z "$CC" && CC=cc
5958 test -z "$LTCC" && LTCC=$CC
5959 test -z "$DLLTOOL" && DLLTOOL=dlltool
5960 test -z "$LD" && LD=ld
5961 test -z "$LN_S" && LN_S="ln -s"
5962 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5963 test -z "$NM" && NM=nm
5964 test -z "$SED" && SED=sed
5965 test -z "$OBJDUMP" && OBJDUMP=objdump
5966 test -z "$RANLIB" && RANLIB=:
5967 test -z "$STRIP" && STRIP=:
5968 test -z "$ac_objext" && ac_objext=o
5970 # Determine commands to create old-style static archives.
5971 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5972 old_postinstall_cmds='chmod 644 $oldlib'
5973 old_postuninstall_cmds=
5975 if test -n "$RANLIB"; then
5978 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5981 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5984 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5987 # Only perform the check for file, if the check method requires it
5988 case $deplibs_check_method in
5990 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5991 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5992 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5993 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6001 lt_save_MAGIC_CMD="$MAGIC_CMD"
6002 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6003 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6004 for ac_dir in $ac_dummy; do
6006 test -z "$ac_dir" && ac_dir=.
6007 if test -f $ac_dir/${ac_tool_prefix}file; then
6008 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6009 if test -n "$file_magic_test_file"; then
6010 case $deplibs_check_method in
6012 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6014 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6015 $EGREP "$file_magic_regex" > /dev/null; then
6020 *** Warning: the command libtool uses to detect shared libraries,
6021 *** $file_magic_cmd, produces output that libtool cannot recognize.
6022 *** The result is that libtool may fail to recognize shared libraries
6023 *** as such. This will affect the creation of libtool libraries that
6024 *** depend on shared libraries, but programs linked with such libtool
6025 *** libraries will work regardless of this problem. Nevertheless, you
6026 *** may want to report the problem to your system manager and/or to
6027 *** bug-libtool@gnu.org
6037 MAGIC_CMD="$lt_save_MAGIC_CMD"
6042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6043 if test -n "$MAGIC_CMD"; then
6044 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6045 echo "${ECHO_T}$MAGIC_CMD" >&6
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6051 if test -z "$lt_cv_path_MAGIC_CMD"; then
6052 if test -n "$ac_tool_prefix"; then
6053 echo "$as_me:$LINENO: checking for file" >&5
6054 echo $ECHO_N "checking for file... $ECHO_C" >&6
6055 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6060 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6063 lt_save_MAGIC_CMD="$MAGIC_CMD"
6064 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6065 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6066 for ac_dir in $ac_dummy; do
6068 test -z "$ac_dir" && ac_dir=.
6069 if test -f $ac_dir/file; then
6070 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6071 if test -n "$file_magic_test_file"; then
6072 case $deplibs_check_method in
6074 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6075 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6076 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6077 $EGREP "$file_magic_regex" > /dev/null; then
6082 *** Warning: the command libtool uses to detect shared libraries,
6083 *** $file_magic_cmd, produces output that libtool cannot recognize.
6084 *** The result is that libtool may fail to recognize shared libraries
6085 *** as such. This will affect the creation of libtool libraries that
6086 *** depend on shared libraries, but programs linked with such libtool
6087 *** libraries will work regardless of this problem. Nevertheless, you
6088 *** may want to report the problem to your system manager and/or to
6089 *** bug-libtool@gnu.org
6099 MAGIC_CMD="$lt_save_MAGIC_CMD"
6104 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6105 if test -n "$MAGIC_CMD"; then
6106 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6107 echo "${ECHO_T}$MAGIC_CMD" >&6
6109 echo "$as_me:$LINENO: result: no" >&5
6110 echo "${ECHO_T}no" >&6
6125 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6126 if test "${enable_libtool_lock+set}" = set; then
6127 enableval="$enable_libtool_lock"
6130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6133 # Check whether --with-pic or --without-pic was given.
6134 if test "${with_pic+set}" = set; then
6140 test -z "$pic_mode" && pic_mode=default
6142 # Use C for the default configuration in the libtool script
6146 ac_cpp='$CPP $CPPFLAGS'
6147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6152 # Source file extension for C test sources.
6155 # Object file extension for compiled C test sources.
6159 # Code to be used in simple compile tests
6160 lt_simple_compile_test_code="int some_variable = 0;\n"
6162 # Code to be used in simple link tests
6163 lt_simple_link_test_code='int main(){return(0);}\n'
6166 # If no C compiler was specified, use CC.
6169 # Allow CC to be a program name with arguments.
6174 # Check for any special shared library compilation flags.
6177 if test "$GCC" = no; then
6180 lt_prog_cc_shlib='-belf'
6184 if test -n "$lt_prog_cc_shlib"; then
6185 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6186 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6187 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6189 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6190 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6191 lt_cv_prog_cc_can_build_shared=no
6197 # Check to make sure the static flag actually works.
6199 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6200 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6201 if test "${lt_prog_compiler_static_works+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 lt_prog_compiler_static_works=no
6205 save_LDFLAGS="$LDFLAGS"
6206 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6207 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6208 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6209 # The compiler can only warn and ignore the option if not recognized
6210 # So say no if there are warnings
6211 if test -s conftest.err; then
6212 # Append any errors to the config.log.
6213 cat conftest.err 1>&5
6215 lt_prog_compiler_static_works=yes
6219 LDFLAGS="$save_LDFLAGS"
6222 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6223 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6225 if test x"$lt_prog_compiler_static_works" = xyes; then
6228 lt_prog_compiler_static=
6234 ## There is no encapsulation within the following macros, do not change
6235 ## the running order or otherwise move them around unless you know exactly
6236 ## what you are doing...
6238 lt_prog_compiler_no_builtin_flag=
6240 if test "$GCC" = yes; then
6241 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6243 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6244 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6245 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 lt_cv_prog_compiler_rtti_exceptions=no
6249 ac_outfile=conftest.$ac_objext
6250 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6251 lt_compiler_flag="-fno-rtti -fno-exceptions"
6252 # Insert the option either (1) after the last *FLAGS variable, or
6253 # (2) before a word containing "conftest.", or (3) at the end.
6254 # Note that $ac_compile itself does not contain backslashes and begins
6255 # with a dollar sign (not a hyphen), so the echo should work correctly.
6256 # The option is referenced via a variable to avoid confusing sed.
6257 lt_compile=`echo "$ac_compile" | $SED \
6258 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6260 -e 's:$: $lt_compiler_flag:'`
6261 (eval echo "\"\$as_me:6261: $lt_compile\"" >&5)
6262 (eval "$lt_compile" 2>conftest.err)
6264 cat conftest.err >&5
6265 echo "$as_me:6265: \$? = $ac_status" >&5
6266 if (exit $ac_status) && test -s "$ac_outfile"; then
6267 # The compiler can only warn and ignore the option if not recognized
6268 # So say no if there are warnings
6269 if test ! -s conftest.err; then
6270 lt_cv_prog_compiler_rtti_exceptions=yes
6276 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6277 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6279 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6280 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6287 lt_prog_compiler_wl=
6288 lt_prog_compiler_pic=
6289 lt_prog_compiler_static=
6291 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6292 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6294 if test "$GCC" = yes; then
6295 lt_prog_compiler_wl='-Wl,'
6296 lt_prog_compiler_static='-static'
6300 # All AIX code is PIC.
6301 if test "$host_cpu" = ia64; then
6302 # AIX 5 now supports IA64 processor
6303 lt_prog_compiler_static='-Bstatic'
6308 # FIXME: we need at least 68020 code to build shared libraries, but
6309 # adding the `-m68020' flag to GCC prevents building anything better,
6311 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6314 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6315 # PIC is the default for these OSes.
6318 mingw* | pw32* | os2*)
6319 # This hack is so that the source file can tell whether it is being
6320 # built for inclusion in a dll (and should export symbols for example).
6321 lt_prog_compiler_pic='-DDLL_EXPORT'
6324 darwin* | rhapsody*)
6325 # PIC is the default on this platform
6326 # Common symbols not allowed in MH_DYLIB files
6327 lt_prog_compiler_pic='-fno-common'
6331 # Just because we use GCC doesn't mean we suddenly get shared libraries
6332 # on systems that don't support them.
6333 lt_prog_compiler_can_build_shared=no
6338 if test -d /usr/nec; then
6339 lt_prog_compiler_pic=-Kconform_pic
6344 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6351 lt_prog_compiler_pic='-fPIC'
6357 lt_prog_compiler_pic='-fPIC'
6361 # PORTME Check for flag to pass linker flags through the system compiler.
6364 lt_prog_compiler_wl='-Wl,'
6365 if test "$host_cpu" = ia64; then
6366 # AIX 5 now supports IA64 processor
6367 lt_prog_compiler_static='-Bstatic'
6369 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6373 mingw* | pw32* | os2*)
6374 # This hack is so that the source file can tell whether it is being
6375 # built for inclusion in a dll (and should export symbols for example).
6376 lt_prog_compiler_pic='-DDLL_EXPORT'
6379 hpux9* | hpux10* | hpux11*)
6380 lt_prog_compiler_wl='-Wl,'
6381 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6388 lt_prog_compiler_pic='+Z'
6391 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6392 lt_prog_compiler_static='${wl}-a ${wl}archive'
6395 irix5* | irix6* | nonstopux*)
6396 lt_prog_compiler_wl='-Wl,'
6397 # PIC (with -KPIC) is the default.
6398 lt_prog_compiler_static='-non_shared'
6402 lt_prog_compiler_pic='-KPIC'
6403 lt_prog_compiler_static='-Bstatic'
6409 lt_prog_compiler_wl='-Wl,'
6410 lt_prog_compiler_pic='-KPIC'
6411 lt_prog_compiler_static='-static'
6414 lt_prog_compiler_wl='-Wl,'
6415 # All Alpha code is PIC.
6416 lt_prog_compiler_static='-non_shared'
6421 osf3* | osf4* | osf5*)
6422 lt_prog_compiler_wl='-Wl,'
6423 # All OSF/1 code is PIC.
6424 lt_prog_compiler_static='-non_shared'
6428 lt_prog_compiler_pic='-Kpic'
6429 lt_prog_compiler_static='-dn'
6433 lt_prog_compiler_wl='-Wl,'
6434 lt_prog_compiler_pic='-KPIC'
6435 lt_prog_compiler_static='-Bstatic'
6439 lt_prog_compiler_wl='-Qoption ld '
6440 lt_prog_compiler_pic='-PIC'
6441 lt_prog_compiler_static='-Bstatic'
6444 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6445 lt_prog_compiler_wl='-Wl,'
6446 lt_prog_compiler_pic='-KPIC'
6447 lt_prog_compiler_static='-Bstatic'
6451 if test -d /usr/nec ;then
6452 lt_prog_compiler_pic='-Kconform_pic'
6453 lt_prog_compiler_static='-Bstatic'
6458 lt_prog_compiler_pic='-pic'
6459 lt_prog_compiler_static='-Bstatic'
6463 lt_prog_compiler_can_build_shared=no
6468 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6469 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6472 # Check to make sure the PIC flag actually works.
6474 if test -n "$lt_prog_compiler_pic"; then
6475 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6476 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6477 if test "${lt_prog_compiler_pic_works+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 lt_prog_compiler_pic_works=no
6481 ac_outfile=conftest.$ac_objext
6482 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6483 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6484 # Insert the option either (1) after the last *FLAGS variable, or
6485 # (2) before a word containing "conftest.", or (3) at the end.
6486 # Note that $ac_compile itself does not contain backslashes and begins
6487 # with a dollar sign (not a hyphen), so the echo should work correctly.
6488 # The option is referenced via a variable to avoid confusing sed.
6489 lt_compile=`echo "$ac_compile" | $SED \
6490 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6492 -e 's:$: $lt_compiler_flag:'`
6493 (eval echo "\"\$as_me:6493: $lt_compile\"" >&5)
6494 (eval "$lt_compile" 2>conftest.err)
6496 cat conftest.err >&5
6497 echo "$as_me:6497: \$? = $ac_status" >&5
6498 if (exit $ac_status) && test -s "$ac_outfile"; then
6499 # The compiler can only warn and ignore the option if not recognized
6500 # So say no if there are warnings
6501 if test ! -s conftest.err; then
6502 lt_prog_compiler_pic_works=yes
6508 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6509 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6511 if test x"$lt_prog_compiler_pic_works" = xyes; then
6512 case $lt_prog_compiler_pic in
6514 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6517 lt_prog_compiler_pic=
6518 lt_prog_compiler_can_build_shared=no
6523 # For platforms which do not support PIC, -DPIC is meaningless:
6525 lt_prog_compiler_pic=
6528 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6532 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6533 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6534 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6535 echo $ECHO_N "(cached) $ECHO_C" >&6
6537 lt_cv_prog_compiler_c_o=no
6538 $rm -r conftest 2>/dev/null
6542 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6544 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6545 # that will create temporary files in the current directory regardless of
6546 # the output directory. Thus, making CWD read-only will cause this test
6547 # to fail, enabling locking or at least warning the user not to do parallel
6551 lt_compiler_flag="-o out/conftest2.$ac_objext"
6552 # Insert the option either (1) after the last *FLAGS variable, or
6553 # (2) before a word containing "conftest.", or (3) at the end.
6554 # Note that $ac_compile itself does not contain backslashes and begins
6555 # with a dollar sign (not a hyphen), so the echo should work correctly.
6556 lt_compile=`echo "$ac_compile" | $SED \
6557 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6559 -e 's:$: $lt_compiler_flag:'`
6560 (eval echo "\"\$as_me:6560: $lt_compile\"" >&5)
6561 (eval "$lt_compile" 2>out/conftest.err)
6563 cat out/conftest.err >&5
6564 echo "$as_me:6564: \$? = $ac_status" >&5
6565 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6567 # The compiler can only warn and ignore the option if not recognized
6568 # So say no if there are warnings
6569 if test ! -s out/conftest.err; then
6570 lt_cv_prog_compiler_c_o=yes
6581 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6582 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6585 hard_links="nottested"
6586 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6587 # do not overwrite the value of need_locks provided by the user
6588 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6589 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6592 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6594 ln conftest.a conftest.b 2>&5 || hard_links=no
6595 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6596 echo "$as_me:$LINENO: result: $hard_links" >&5
6597 echo "${ECHO_T}$hard_links" >&6
6598 if test "$hard_links" = no; then
6599 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6600 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6607 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6608 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6611 allow_undefined_flag=
6612 enable_shared_with_static_runtimes=no
6614 archive_expsym_cmds=
6615 old_archive_From_new_cmds=
6616 old_archive_from_expsyms_cmds=
6617 export_dynamic_flag_spec=
6618 whole_archive_flag_spec=
6619 thread_safe_flag_spec=
6620 hardcode_libdir_flag_spec=
6621 hardcode_libdir_flag_spec_ld=
6622 hardcode_libdir_separator=
6625 hardcode_shlibpath_var=unsupported
6626 link_all_deplibs=unknown
6627 hardcode_automatic=no
6630 always_export_symbols=no
6631 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6632 # include_expsyms should be a list of space-separated symbols to be *always*
6633 # included in the symbol list
6635 # exclude_expsyms can be an extended regexp of symbols to exclude
6636 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6637 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6638 # as well as any symbol that contains `d'.
6639 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6640 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6641 # platforms (ab)use it in PIC code, but their linkers get confused if
6642 # the symbol is explicitly referenced. Since portable code cannot
6643 # rely on this symbol name, it's probably fine to never include it in
6644 # preloaded symbol tables.
6645 extract_expsyms_cmds=
6648 cygwin* | mingw* | pw32*)
6649 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6650 # When not using gcc, we currently assume that we are using
6651 # Microsoft Visual C++.
6652 if test "$GCC" != yes; then
6662 if test "$with_gnu_ld" = yes; then
6663 # If archive_cmds runs LD, not CC, wlarc should be empty
6666 # See if GNU ld supports shared libraries.
6668 aix3* | aix4* | aix5*)
6669 # On AIX/PPC, the GNU linker is very broken
6670 if test "$host_cpu" != ia64; then
6674 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6675 *** to be unable to reliably create shared libraries on AIX.
6676 *** Therefore, libtool is disabling shared libraries support. If you
6677 *** really care for shared libraries, you may want to modify your PATH
6678 *** so that a non-GNU linker is found, and then restart.
6685 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)'
6686 hardcode_libdir_flag_spec='-L$libdir'
6687 hardcode_minus_L=yes
6689 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6690 # that the semantics of dynamic libraries on AmigaOS, at least up
6691 # to version 4, is to share data among multiple programs linked
6692 # with the same dynamic library. Since this doesn't match the
6693 # behavior of shared libraries on other platforms, we can't use
6699 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6700 allow_undefined_flag=unsupported
6701 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6702 # support --undefined. This deserves some investigation. FIXME
6703 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6709 cygwin* | mingw* | pw32*)
6710 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6711 # as there is no search path for DLLs.
6712 hardcode_libdir_flag_spec='-L$libdir'
6713 allow_undefined_flag=unsupported
6714 always_export_symbols=no
6715 enable_shared_with_static_runtimes=yes
6716 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6718 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6719 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6720 # If the export-symbols file already is a .def file (1st line
6721 # is EXPORTS), use it as is; otherwise, prepend...
6722 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6723 cp $export_symbols $output_objdir/$soname.def;
6725 echo EXPORTS > $output_objdir/$soname.def;
6726 cat $export_symbols >> $output_objdir/$soname.def;
6728 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6735 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6736 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6740 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6745 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6749 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6750 *** create shared libraries on Solaris systems. Therefore, libtool
6751 *** is disabling shared libraries support. We urge you to upgrade GNU
6752 *** binutils to release 2.9.1 or newer. Another option is to modify
6753 *** your PATH or compiler configuration so that the native linker is
6754 *** used, and then restart.
6757 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6758 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6759 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6766 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6769 hardcode_shlibpath_var=no
6773 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6774 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6775 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6782 if test "$ld_shlibs" = yes; then
6783 runpath_var=LD_RUN_PATH
6784 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6785 export_dynamic_flag_spec='${wl}--export-dynamic'
6786 # ancient GNU ld didn't support --whole-archive et. al.
6787 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6788 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6790 whole_archive_flag_spec=
6794 # PORTME fill in a description of your system's linker (not GNU ld)
6797 allow_undefined_flag=unsupported
6798 always_export_symbols=yes
6799 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'
6800 # Note: this linker hardcodes the directories in LIBPATH if there
6801 # are no directories specified by -L.
6802 hardcode_minus_L=yes
6803 if test "$GCC" = yes && test -z "$link_static_flag"; then
6804 # Neither direct hardcoding nor static linking is supported with a
6806 hardcode_direct=unsupported
6811 if test "$host_cpu" = ia64; then
6812 # On IA64, the linker does run time linking by default, so we don't
6813 # have to do anything special.
6814 aix_use_runtimelinking=no
6815 exp_sym_flag='-Bexport'
6818 # If we're using GNU nm, then we don't want the "-C" option.
6819 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6820 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6821 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'
6823 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'
6825 aix_use_runtimelinking=no
6827 # Test if we are trying to use run time linking or normal
6828 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6829 # need to do runtime linking.
6830 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6831 for ld_flag in $LDFLAGS; do
6832 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6833 aix_use_runtimelinking=yes
6839 exp_sym_flag='-bexport'
6840 no_entry_flag='-bnoentry'
6843 # When large executables or shared objects are built, AIX ld can
6844 # have problems creating the table of contents. If linking a library
6845 # or program results in "error TOC overflow" add -mminimal-toc to
6846 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6847 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6851 hardcode_libdir_separator=':'
6852 link_all_deplibs=yes
6854 if test "$GCC" = yes; then
6855 case $host_os in aix4.012|aix4.012.*)
6856 # We only want to do this on AIX 4.2 and lower, the check
6857 # below for broken collect2 doesn't work under 4.3+
6858 collect2name=`${CC} -print-prog-name=collect2`
6859 if test -f "$collect2name" && \
6860 strings "$collect2name" | grep resolve_lib_name >/dev/null
6862 # We have reworked collect2
6865 # We have old collect2
6866 hardcode_direct=unsupported
6867 # It fails to find uninstalled libraries when the uninstalled
6868 # path is not listed in the libpath. Setting hardcode_minus_L
6869 # to unsupported forces relinking
6870 hardcode_minus_L=yes
6871 hardcode_libdir_flag_spec='-L$libdir'
6872 hardcode_libdir_separator=
6875 shared_flag='-shared'
6878 if test "$host_cpu" = ia64; then
6879 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6880 # chokes on -Wl,-G. The following line is correct:
6883 if test "$aix_use_runtimelinking" = yes; then
6884 shared_flag='${wl}-G'
6886 shared_flag='${wl}-bM:SRE'
6891 # It seems that -bexpall does not export symbols beginning with
6892 # underscore (_), so it is better to generate a list of symbols to export.
6893 always_export_symbols=yes
6894 if test "$aix_use_runtimelinking" = yes; then
6895 # Warning - without using the other runtime loading flags (-brtl),
6896 # -berok will link without error, but may produce a broken library.
6897 allow_undefined_flag='-berok'
6898 # Determine the default libpath from the value encoded in an empty executable.
6899 cat >conftest.$ac_ext <<_ACEOF
6900 #line $LINENO "configure"
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6915 rm -f conftest.$ac_objext conftest$ac_exeext
6916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6917 (eval $ac_link) 2>&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); } &&
6921 { ac_try='test -s conftest$ac_exeext'
6922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); }; }; then
6928 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6930 # Check for a 64-bit object if we didn't find anything.
6931 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; }
6934 echo "$as_me: failed program was:" >&5
6935 sed 's/^/| /' conftest.$ac_ext >&5
6938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6939 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6941 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6942 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"
6944 if test "$host_cpu" = ia64; then
6945 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6946 allow_undefined_flag="-z nodefs"
6947 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"
6949 # Determine the default libpath from the value encoded in an empty executable.
6950 cat >conftest.$ac_ext <<_ACEOF
6951 #line $LINENO "configure"
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6966 rm -f conftest.$ac_objext conftest$ac_exeext
6967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6968 (eval $ac_link) 2>&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); } &&
6972 { ac_try='test -s conftest$ac_exeext'
6973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); }; }; then
6979 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6981 # Check for a 64-bit object if we didn't find anything.
6982 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; }
6985 echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.$ac_ext >&5
6989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6990 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6992 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6993 # Warning - without using the other run time loading flags,
6994 # -berok will link without error, but may produce a broken library.
6995 no_undefined_flag=' ${wl}-bernotok'
6996 allow_undefined_flag=' ${wl}-berok'
6997 # -bexpall does not export symbols beginning with underscore (_)
6998 always_export_symbols=yes
6999 # Exported symbols can be pulled into shared objects from archives
7000 whole_archive_flag_spec=' '
7001 archive_cmds_need_lc=yes
7002 # This is similar to how AIX traditionally builds it's shared libraries.
7003 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'
7009 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)'
7010 hardcode_libdir_flag_spec='-L$libdir'
7011 hardcode_minus_L=yes
7012 # see comment about different semantics on the GNU ld section
7017 export_dynamic_flag_spec=-rdynamic
7020 cygwin* | mingw* | pw32*)
7021 # When not using gcc, we currently assume that we are using
7022 # Microsoft Visual C++.
7023 # hardcode_libdir_flag_spec is actually meaningless, as there is
7024 # no search path for DLLs.
7025 hardcode_libdir_flag_spec=' '
7026 allow_undefined_flag=unsupported
7027 # Tell ltmain to make .lib files, not .a files.
7029 # Tell ltmain to make .dll files, not .so files.
7031 # FIXME: Setting linknames here is a bad hack.
7032 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7033 # The linker will automatically build a .lib file if we build a DLL.
7034 old_archive_From_new_cmds='true'
7035 # FIXME: Should let the user specify the lib program.
7036 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7037 fix_srcfile_path='`cygpath -w "$srcfile"`'
7038 enable_shared_with_static_runtimes=yes
7041 darwin* | rhapsody*)
7042 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7043 archive_cmds_need_lc=no
7045 rhapsody* | darwin1.[012])
7046 allow_undefined_flag='-undefined suppress'
7049 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7052 # FIXME: Relying on posixy $() will cause problems for
7053 # cross-compilation, but unfortunately the echo tests do not
7054 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7055 # `"' quotes if we put them in here... so don't!
7056 lt_int_apple_cc_single_mod=no
7057 output_verbose_link_cmd='echo'
7058 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7059 lt_int_apple_cc_single_mod=yes
7061 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7062 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7064 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'
7066 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7067 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7068 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7069 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}'
7071 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}'
7073 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}'
7075 hardcode_automatic=yes
7076 hardcode_shlibpath_var=unsupported
7077 whole_archive_flag_spec='-all_load $convenience'
7078 link_all_deplibs=yes
7083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7084 hardcode_libdir_flag_spec='-L$libdir'
7085 hardcode_shlibpath_var=no
7092 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7093 # support. Future versions do this automatically, but an explicit c++rt0.o
7094 # does not break anything, and helps significantly (at the cost of a little
7097 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7098 hardcode_libdir_flag_spec='-R$libdir'
7100 hardcode_shlibpath_var=no
7103 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7105 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7107 hardcode_minus_L=yes
7108 hardcode_shlibpath_var=no
7111 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7113 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7114 hardcode_libdir_flag_spec='-R$libdir'
7116 hardcode_shlibpath_var=no
7120 if test "$GCC" = yes; then
7121 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'
7123 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'
7125 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7126 hardcode_libdir_separator=:
7129 # hardcode_minus_L: Not really in the search PATH,
7130 # but as the default location of the library.
7131 hardcode_minus_L=yes
7132 export_dynamic_flag_spec='${wl}-E'
7136 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7139 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7142 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7148 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7151 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7155 if test "$with_gnu_ld" = no; then
7158 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7159 hardcode_libdir_flag_spec_ld='+b $libdir'
7160 hardcode_libdir_separator=:
7162 hardcode_shlibpath_var=no
7165 hardcode_libdir_flag_spec='-L$libdir'
7167 hardcode_shlibpath_var=no
7169 # hardcode_minus_L: Not really in the search PATH,
7170 # but as the default location of the library.
7171 hardcode_minus_L=yes
7174 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7175 hardcode_libdir_separator=:
7177 export_dynamic_flag_spec='${wl}-E'
7179 # hardcode_minus_L: Not really in the search PATH,
7180 # but as the default location of the library.
7181 hardcode_minus_L=yes
7187 irix5* | irix6* | nonstopux*)
7188 if test "$GCC" = yes; then
7189 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'
7191 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'
7192 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7195 hardcode_libdir_separator=:
7196 link_all_deplibs=yes
7200 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7201 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7203 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7205 hardcode_libdir_flag_spec='-R$libdir'
7207 hardcode_shlibpath_var=no
7211 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7213 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7214 hardcode_libdir_separator=:
7215 hardcode_shlibpath_var=no
7220 hardcode_shlibpath_var=no
7221 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7222 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7223 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7224 export_dynamic_flag_spec='${wl}-E'
7227 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7228 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7229 hardcode_libdir_flag_spec='-R$libdir'
7232 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7233 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7240 hardcode_libdir_flag_spec='-L$libdir'
7241 hardcode_minus_L=yes
7242 allow_undefined_flag=unsupported
7243 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'
7244 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7248 if test "$GCC" = yes; then
7249 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7250 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'
7252 allow_undefined_flag=' -expect_unresolved \*'
7253 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'
7255 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7256 hardcode_libdir_separator=:
7259 osf4* | osf5*) # as osf3* with the addition of -msym flag
7260 if test "$GCC" = yes; then
7261 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7262 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'
7263 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7265 allow_undefined_flag=' -expect_unresolved \*'
7266 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'
7267 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7268 $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'
7270 # Both c and cxx compiler support -rpath directly
7271 hardcode_libdir_flag_spec='-rpath $libdir'
7273 hardcode_libdir_separator=:
7277 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7278 hardcode_shlibpath_var=no
7279 export_dynamic_flag_spec='${wl}-Bexport'
7280 runpath_var=LD_RUN_PATH
7281 hardcode_runpath_var=yes
7285 no_undefined_flag=' -z text'
7286 if test "$GCC" = yes; then
7287 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7288 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7289 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7291 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7292 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7293 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7295 hardcode_libdir_flag_spec='-R$libdir'
7296 hardcode_shlibpath_var=no
7298 solaris2.[0-5] | solaris2.[0-5].*) ;;
7299 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7300 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7302 link_all_deplibs=yes
7306 if test "x$host_vendor" = xsequent; then
7307 # Use $CC to link under sequent, because it throws in some extra .o
7308 # files that make .init and .fini sections work.
7309 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7311 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7313 hardcode_libdir_flag_spec='-L$libdir'
7315 hardcode_minus_L=yes
7316 hardcode_shlibpath_var=no
7320 case $host_vendor in
7322 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7323 hardcode_direct=yes # is this really true???
7326 ## LD is ld it makes a PLAMLIB
7327 ## CC just makes a GrossModule.
7328 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7329 reload_cmds='$CC -r -o $output$reload_objs'
7333 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7334 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7337 runpath_var='LD_RUN_PATH'
7338 hardcode_shlibpath_var=no
7342 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7343 hardcode_shlibpath_var=no
7344 export_dynamic_flag_spec='-Bexport'
7348 if test -d /usr/nec; then
7349 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7350 hardcode_shlibpath_var=no
7351 runpath_var=LD_RUN_PATH
7352 hardcode_runpath_var=yes
7358 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7361 hardcode_shlibpath_var=no
7362 hardcode_runpath_var=yes
7363 runpath_var=LD_RUN_PATH
7366 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7367 no_undefined_flag='${wl}-z ${wl}text'
7368 if test "$GCC" = yes; then
7369 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7371 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7373 runpath_var='LD_RUN_PATH'
7374 hardcode_shlibpath_var=no
7378 no_undefined_flag=' -z text'
7379 # $CC -shared without GNU ld will not create a library from C++
7380 # object files and a static libstdc++, better avoid it by now
7381 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7382 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7383 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7384 hardcode_libdir_flag_spec=
7385 hardcode_shlibpath_var=no
7386 runpath_var='LD_RUN_PATH'
7390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7391 hardcode_libdir_flag_spec='-L$libdir'
7392 hardcode_shlibpath_var=no
7401 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7402 echo "${ECHO_T}$ld_shlibs" >&6
7403 test "$ld_shlibs" = no && can_build_shared=no
7405 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7406 if test "$GCC" = yes; then
7407 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7411 # Do we need to explicitly link libc?
7413 case "x$archive_cmds_need_lc" in
7415 # Assume -lc should be added
7416 archive_cmds_need_lc=yes
7418 if test "$enable_shared" = yes && test "$GCC" = yes; then
7419 case $archive_cmds in
7421 # FIXME: we may have to deal with multi-command sequences.
7424 # Test whether the compiler implicitly links with -lc since on some
7425 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7426 # to ld, don't add -lc before -lgcc.
7427 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7428 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7430 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7433 (eval $ac_compile) 2>&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } 2>conftest.err; then
7439 libobjs=conftest.$ac_objext
7441 wl=$lt_prog_compiler_wl
7447 lt_save_allow_undefined_flag=$allow_undefined_flag
7448 allow_undefined_flag=
7449 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7450 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }
7455 archive_cmds_need_lc=no
7457 archive_cmds_need_lc=yes
7459 allow_undefined_flag=$lt_save_allow_undefined_flag
7461 cat conftest.err 1>&5
7464 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7465 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7472 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7473 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7475 if test -n "$hardcode_libdir_flag_spec" || \
7476 test -n "$runpath_var " || \
7477 test "X$hardcode_automatic"="Xyes" ; then
7479 # We can hardcode non-existant directories.
7480 if test "$hardcode_direct" != no &&
7481 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7482 # have to relink, otherwise we might link with an installed library
7483 # when we should be linking with a yet-to-be-installed one
7484 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7485 test "$hardcode_minus_L" != no; then
7486 # Linking always hardcodes the temporary library directory.
7487 hardcode_action=relink
7489 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7490 hardcode_action=immediate
7493 # We cannot hardcode anything, or else we can only hardcode existing
7495 hardcode_action=unsupported
7497 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7498 echo "${ECHO_T}$hardcode_action" >&6
7500 if test "$hardcode_action" = relink; then
7501 # Fast installation is not supported
7502 enable_fast_install=no
7503 elif test "$shlibpath_overrides_runpath" = yes ||
7504 test "$enable_shared" = no; then
7505 # Fast installation is not necessary
7506 enable_fast_install=needless
7511 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7512 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7513 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7514 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7515 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7519 # FIXME - insert some real tests, host_os isn't really good enough
7522 if test -n "$STRIP" ; then
7523 striplib="$STRIP -x"
7524 echo "$as_me:$LINENO: result: yes" >&5
7525 echo "${ECHO_T}yes" >&6
7527 echo "$as_me:$LINENO: result: no" >&5
7528 echo "${ECHO_T}no" >&6
7532 echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6
7538 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7539 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7541 libname_spec='lib$name'
7549 shlibpath_overrides_runpath=unknown
7551 dynamic_linker="$host_os ld.so"
7552 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7553 if test "$GCC" = yes; then
7554 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7555 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7556 # if the path contains ";" then we assume it to be the separator
7557 # otherwise default to the standard path separator (i.e. ":") - it is
7558 # assumed that no part of a normal pathname contains ";" but that should
7559 # okay in the real world where ";" in dirpaths is itself problematic.
7560 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7562 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7565 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7567 need_lib_prefix=unknown
7568 hardcode_into_libs=no
7570 # when you set need_version to no, make sure it does not cause -set_version
7571 # flags to be left without arguments
7572 need_version=unknown
7577 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7578 shlibpath_var=LIBPATH
7580 # AIX 3 has no versioning support, so we append a major version to the name.
7581 soname_spec='${libname}${release}${shared_ext}$major'
7588 hardcode_into_libs=yes
7589 if test "$host_cpu" = ia64; then
7590 # AIX 5 supports IA64
7591 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7592 shlibpath_var=LD_LIBRARY_PATH
7594 # With GCC up to 2.95.x, collect2 would create an import file
7595 # for dependence libraries. The import file would start with
7596 # the line `#! .'. This would cause the generated library to
7597 # depend on `.', always an invalid library. This was fixed in
7598 # development snapshots of GCC prior to 3.0.
7600 aix4 | aix4.[01] | aix4.[01].*)
7601 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7603 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7610 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7611 # soname into executable. Probably we can add versioning support to
7612 # collect2, so additional links can be useful in future.
7613 if test "$aix_use_runtimelinking" = yes; then
7614 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7615 # instead of lib<name>.a to let people know that these are not
7616 # typical AIX shared libraries.
7617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7619 # We preserve .a as extension for shared libraries through AIX4.2
7620 # and later when we are not doing run time linking.
7621 library_names_spec='${libname}${release}.a $libname.a'
7622 soname_spec='${libname}${release}${shared_ext}$major'
7624 shlibpath_var=LIBPATH
7629 library_names_spec='$libname.ixlibrary $libname.a'
7630 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7631 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'
7635 library_names_spec='${libname}${shared_ext}'
7636 dynamic_linker="$host_os ld.so"
7637 shlibpath_var=LIBRARY_PATH
7643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7644 soname_spec='${libname}${release}${shared_ext}$major'
7645 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7646 shlibpath_var=LD_LIBRARY_PATH
7647 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7648 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7649 # the default ld.so.conf also contains /usr/contrib/lib and
7650 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7651 # libtool to hard-code these into programs
7654 cygwin* | mingw* | pw32*)
7655 version_type=windows
7660 case $GCC,$host_os in
7661 yes,cygwin* | yes,mingw* | yes,pw32*)
7662 library_names_spec='$libname.dll.a'
7663 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7664 postinstall_cmds='base_file=`basename \${file}`~
7665 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7666 dldir=$destdir/`dirname \$dlpath`~
7667 test -d \$dldir || mkdir -p \$dldir~
7668 $install_prog $dir/$dlname \$dldir/$dlname'
7669 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7670 dlpath=$dir/\$dldll~
7672 shlibpath_overrides_runpath=yes
7676 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7677 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7678 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7681 # MinGW DLLs use traditional 'lib' prefix
7682 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7683 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7684 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7685 # It is most probably a Windows format PATH printed by
7686 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7687 # path with ; separators, and with drive letters. We can handle the
7688 # drive letters (cygwin fileutils understands them), so leave them,
7689 # especially as we might pass files found there to a mingw objdump,
7690 # which wouldn't understand a cygwinified path. Ahh.
7691 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7693 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7697 # pw32 DLLs use 'pw' prefix rather than 'lib'
7698 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7704 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7707 dynamic_linker='Win32 ld.exe'
7708 # FIXME: first we should search . and the directory the executable is in
7712 darwin* | rhapsody*)
7713 dynamic_linker="$host_os dyld"
7717 # FIXME: Relying on posixy $() will cause problems for
7718 # cross-compilation, but unfortunately the echo tests do not
7719 # yet detect zsh echo's removal of \ escapes.
7720 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7721 soname_spec='${libname}${release}${major}$shared_ext'
7722 shlibpath_overrides_runpath=yes
7723 shlibpath_var=DYLD_LIBRARY_PATH
7724 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7725 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7726 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7727 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"`
7729 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7737 soname_spec='${libname}${release}${shared_ext}$major'
7738 shlibpath_var=LD_LIBRARY_PATH
7746 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7747 version_type=freebsd-$objformat
7748 case $version_type in
7750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7755 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7759 shlibpath_var=LD_LIBRARY_PATH
7762 shlibpath_overrides_runpath=yes
7764 freebsd3.01* | freebsdelf3.01*)
7765 shlibpath_overrides_runpath=yes
7766 hardcode_into_libs=yes
7769 shlibpath_overrides_runpath=no
7770 hardcode_into_libs=yes
7779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7780 soname_spec='${libname}${release}${shared_ext}$major'
7781 shlibpath_var=LD_LIBRARY_PATH
7782 hardcode_into_libs=yes
7785 hpux9* | hpux10* | hpux11*)
7786 # Give a soname corresponding to the major version so that dld.sl refuses to
7787 # link against other versions.
7794 hardcode_into_libs=yes
7795 dynamic_linker="$host_os dld.so"
7796 shlibpath_var=LD_LIBRARY_PATH
7797 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7799 soname_spec='${libname}${release}${shared_ext}$major'
7800 if test "X$HPUX_IA64_MODE" = X32; then
7801 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7803 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7805 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7809 hardcode_into_libs=yes
7810 dynamic_linker="$host_os dld.sl"
7811 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7814 soname_spec='${libname}${release}${shared_ext}$major'
7815 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7816 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7820 dynamic_linker="$host_os dld.sl"
7821 shlibpath_var=SHLIB_PATH
7822 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7824 soname_spec='${libname}${release}${shared_ext}$major'
7827 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7828 postinstall_cmds='chmod 555 $lib'
7831 irix5* | irix6* | nonstopux*)
7833 nonstopux*) version_type=nonstopux ;;
7835 if test "$lt_cv_prog_gnu_ld" = yes; then
7843 soname_spec='${libname}${release}${shared_ext}$major'
7844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7846 irix5* | nonstopux*)
7850 case $LD in # libtool.m4 will add one of these switches to LD
7851 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7852 libsuff= shlibsuff= libmagic=32-bit;;
7853 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7854 libsuff=32 shlibsuff=N32 libmagic=N32;;
7855 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7856 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7857 *) libsuff= shlibsuff= libmagic=never-match;;
7861 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7862 shlibpath_overrides_runpath=no
7863 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7864 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7865 hardcode_into_libs=yes
7868 # No shared lib support for Linux oldld, aout, or coff.
7869 linux*oldld* | linux*aout* | linux*coff*)
7873 # This must be Linux ELF.
7878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7879 soname_spec='${libname}${release}${shared_ext}$major'
7880 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7881 shlibpath_var=LD_LIBRARY_PATH
7882 shlibpath_overrides_runpath=no
7883 # This implies no fast_install, which is unacceptable.
7884 # Some rework will be needed to allow for fast_install
7885 # before this can be enabled.
7886 hardcode_into_libs=yes
7888 # We used to test for /lib/ld.so.1 and disable shared libraries on
7889 # powerpc, because MkLinux only supported shared libraries with the
7890 # GNU dynamic linker. Since this was broken with cross compilers,
7891 # most powerpc-linux boxes support dynamic linking these days and
7892 # people can always --disable-shared, the test was removed, and we
7893 # assume the GNU/Linux dynamic linker is in use.
7894 dynamic_linker='GNU/Linux ld.so'
7901 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7903 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7904 dynamic_linker='NetBSD (a.out) ld.so'
7906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7907 soname_spec='${libname}${release}${shared_ext}$major'
7908 dynamic_linker='NetBSD ld.elf_so'
7910 shlibpath_var=LD_LIBRARY_PATH
7911 shlibpath_overrides_runpath=yes
7912 hardcode_into_libs=yes
7917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7918 shlibpath_var=LD_LIBRARY_PATH
7919 shlibpath_overrides_runpath=yes
7926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7927 soname_spec='${libname}${release}${shared_ext}$major'
7928 shlibpath_var=LD_LIBRARY_PATH
7929 shlibpath_overrides_runpath=yes
7936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7937 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7938 shlibpath_var=LD_LIBRARY_PATH
7939 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7941 openbsd2.[89] | openbsd2.[89].*)
7942 shlibpath_overrides_runpath=no
7945 shlibpath_overrides_runpath=yes
7949 shlibpath_overrides_runpath=yes
7954 libname_spec='$name'
7957 library_names_spec='$libname${shared_ext} $libname.a'
7958 dynamic_linker='OS/2 ld.exe'
7959 shlibpath_var=LIBPATH
7962 osf3* | osf4* | osf5*)
7966 soname_spec='${libname}${release}${shared_ext}$major'
7967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7968 shlibpath_var=LD_LIBRARY_PATH
7969 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7970 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7975 soname_spec='${libname}${release}${shared_ext}$major'
7976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7977 shlibpath_var=LD_LIBRARY_PATH
7984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7985 soname_spec='${libname}${release}${shared_ext}$major'
7986 shlibpath_var=LD_LIBRARY_PATH
7987 shlibpath_overrides_runpath=yes
7988 hardcode_into_libs=yes
7989 # ldd complains unless libraries are executable
7990 postinstall_cmds='chmod +x $lib'
7995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7996 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7997 shlibpath_var=LD_LIBRARY_PATH
7998 shlibpath_overrides_runpath=yes
7999 if test "$with_gnu_ld" = yes; then
8005 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8008 soname_spec='${libname}${release}${shared_ext}$major'
8009 shlibpath_var=LD_LIBRARY_PATH
8010 case $host_vendor in
8012 shlibpath_overrides_runpath=no
8014 export_dynamic_flag_spec='${wl}-Blargedynsym'
8015 runpath_var=LD_RUN_PATH
8023 shlibpath_overrides_runpath=no
8024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8030 if test -d /usr/nec ;then
8032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8033 soname_spec='$libname${shared_ext}.$major'
8034 shlibpath_var=LD_LIBRARY_PATH
8040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8041 soname_spec='${libname}${release}${shared_ext}$major'
8042 shlibpath_var=LD_LIBRARY_PATH
8049 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8050 echo "${ECHO_T}$dynamic_linker" >&6
8051 test "$dynamic_linker" = no && can_build_shared=no
8053 if test "x$enable_dlopen" != xyes; then
8054 enable_dlopen=unknown
8055 enable_dlopen_self=unknown
8056 enable_dlopen_self_static=unknown
8063 lt_cv_dlopen="load_add_on"
8065 lt_cv_dlopen_self=yes
8069 lt_cv_dlopen="LoadLibrary"
8074 lt_cv_dlopen="dlopen"
8079 # if libdl is installed we need to link against it
8080 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8081 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8082 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8085 ac_check_lib_save_LIBS=$LIBS
8087 cat >conftest.$ac_ext <<_ACEOF
8088 #line $LINENO "configure"
8091 cat confdefs.h >>conftest.$ac_ext
8092 cat >>conftest.$ac_ext <<_ACEOF
8093 /* end confdefs.h. */
8095 /* Override any gcc2 internal prototype to avoid an error. */
8099 /* We use char because int might match the return type of a gcc2
8100 builtin and then its argument prototype would still apply. */
8110 rm -f conftest.$ac_objext conftest$ac_exeext
8111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8112 (eval $ac_link) 2>&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } &&
8116 { ac_try='test -s conftest$ac_exeext'
8117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); }; }; then
8122 ac_cv_lib_dl_dlopen=yes
8124 echo "$as_me: failed program was:" >&5
8125 sed 's/^/| /' conftest.$ac_ext >&5
8127 ac_cv_lib_dl_dlopen=no
8129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8130 LIBS=$ac_check_lib_save_LIBS
8132 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8133 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8134 if test $ac_cv_lib_dl_dlopen = yes; then
8135 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8140 lt_cv_dlopen_self=yes
8147 echo "$as_me:$LINENO: checking for shl_load" >&5
8148 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8149 if test "${ac_cv_func_shl_load+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8152 cat >conftest.$ac_ext <<_ACEOF
8153 #line $LINENO "configure"
8156 cat confdefs.h >>conftest.$ac_ext
8157 cat >>conftest.$ac_ext <<_ACEOF
8158 /* end confdefs.h. */
8159 /* System header to define __stub macros and hopefully few prototypes,
8160 which can conflict with char shl_load (); below.
8161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8162 <limits.h> exists even on freestanding compilers. */
8164 # include <limits.h>
8166 # include <assert.h>
8168 /* Override any gcc2 internal prototype to avoid an error. */
8173 /* We use char because int might match the return type of a gcc2
8174 builtin and then its argument prototype would still apply. */
8176 /* The GNU C library defines this for functions which it implements
8177 to always fail with ENOSYS. Some functions are actually named
8178 something starting with __ and the normal name is an alias. */
8179 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8182 char (*f) () = shl_load;
8191 return f != shl_load;
8196 rm -f conftest.$ac_objext conftest$ac_exeext
8197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8198 (eval $ac_link) 2>&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); } &&
8202 { ac_try='test -s conftest$ac_exeext'
8203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); }; }; then
8208 ac_cv_func_shl_load=yes
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.$ac_ext >&5
8213 ac_cv_func_shl_load=no
8215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8217 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8218 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8219 if test $ac_cv_func_shl_load = yes; then
8220 lt_cv_dlopen="shl_load"
8222 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8223 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8224 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8225 echo $ECHO_N "(cached) $ECHO_C" >&6
8227 ac_check_lib_save_LIBS=$LIBS
8229 cat >conftest.$ac_ext <<_ACEOF
8230 #line $LINENO "configure"
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8237 /* Override any gcc2 internal prototype to avoid an error. */
8241 /* We use char because int might match the return type of a gcc2
8242 builtin and then its argument prototype would still apply. */
8252 rm -f conftest.$ac_objext conftest$ac_exeext
8253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8254 (eval $ac_link) 2>&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); } &&
8258 { ac_try='test -s conftest$ac_exeext'
8259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); }; }; then
8264 ac_cv_lib_dld_shl_load=yes
8266 echo "$as_me: failed program was:" >&5
8267 sed 's/^/| /' conftest.$ac_ext >&5
8269 ac_cv_lib_dld_shl_load=no
8271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8272 LIBS=$ac_check_lib_save_LIBS
8274 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8275 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8276 if test $ac_cv_lib_dld_shl_load = yes; then
8277 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8279 echo "$as_me:$LINENO: checking for dlopen" >&5
8280 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8281 if test "${ac_cv_func_dlopen+set}" = set; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8284 cat >conftest.$ac_ext <<_ACEOF
8285 #line $LINENO "configure"
8288 cat confdefs.h >>conftest.$ac_ext
8289 cat >>conftest.$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8291 /* System header to define __stub macros and hopefully few prototypes,
8292 which can conflict with char dlopen (); below.
8293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8294 <limits.h> exists even on freestanding compilers. */
8296 # include <limits.h>
8298 # include <assert.h>
8300 /* Override any gcc2 internal prototype to avoid an error. */
8305 /* We use char because int might match the return type of a gcc2
8306 builtin and then its argument prototype would still apply. */
8308 /* The GNU C library defines this for functions which it implements
8309 to always fail with ENOSYS. Some functions are actually named
8310 something starting with __ and the normal name is an alias. */
8311 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8314 char (*f) () = dlopen;
8328 rm -f conftest.$ac_objext conftest$ac_exeext
8329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8330 (eval $ac_link) 2>&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } &&
8334 { ac_try='test -s conftest$ac_exeext'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; }; then
8340 ac_cv_func_dlopen=yes
8342 echo "$as_me: failed program was:" >&5
8343 sed 's/^/| /' conftest.$ac_ext >&5
8345 ac_cv_func_dlopen=no
8347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8349 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8350 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8351 if test $ac_cv_func_dlopen = yes; then
8352 lt_cv_dlopen="dlopen"
8354 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8355 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8356 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8357 echo $ECHO_N "(cached) $ECHO_C" >&6
8359 ac_check_lib_save_LIBS=$LIBS
8361 cat >conftest.$ac_ext <<_ACEOF
8362 #line $LINENO "configure"
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8369 /* Override any gcc2 internal prototype to avoid an error. */
8373 /* We use char because int might match the return type of a gcc2
8374 builtin and then its argument prototype would still apply. */
8384 rm -f conftest.$ac_objext conftest$ac_exeext
8385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8386 (eval $ac_link) 2>&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } &&
8390 { ac_try='test -s conftest$ac_exeext'
8391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); }; }; then
8396 ac_cv_lib_dl_dlopen=yes
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.$ac_ext >&5
8401 ac_cv_lib_dl_dlopen=no
8403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8404 LIBS=$ac_check_lib_save_LIBS
8406 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8407 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8408 if test $ac_cv_lib_dl_dlopen = yes; then
8409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8411 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8412 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8413 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8414 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 ac_check_lib_save_LIBS=$LIBS
8418 cat >conftest.$ac_ext <<_ACEOF
8419 #line $LINENO "configure"
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8426 /* Override any gcc2 internal prototype to avoid an error. */
8430 /* We use char because int might match the return type of a gcc2
8431 builtin and then its argument prototype would still apply. */
8441 rm -f conftest.$ac_objext conftest$ac_exeext
8442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8443 (eval $ac_link) 2>&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); } &&
8447 { ac_try='test -s conftest$ac_exeext'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; }; then
8453 ac_cv_lib_svld_dlopen=yes
8455 echo "$as_me: failed program was:" >&5
8456 sed 's/^/| /' conftest.$ac_ext >&5
8458 ac_cv_lib_svld_dlopen=no
8460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8461 LIBS=$ac_check_lib_save_LIBS
8463 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8464 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8465 if test $ac_cv_lib_svld_dlopen = yes; then
8466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8468 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8469 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8470 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8471 echo $ECHO_N "(cached) $ECHO_C" >&6
8473 ac_check_lib_save_LIBS=$LIBS
8475 cat >conftest.$ac_ext <<_ACEOF
8476 #line $LINENO "configure"
8479 cat confdefs.h >>conftest.$ac_ext
8480 cat >>conftest.$ac_ext <<_ACEOF
8481 /* end confdefs.h. */
8483 /* Override any gcc2 internal prototype to avoid an error. */
8487 /* We use char because int might match the return type of a gcc2
8488 builtin and then its argument prototype would still apply. */
8498 rm -f conftest.$ac_objext conftest$ac_exeext
8499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8500 (eval $ac_link) 2>&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); } &&
8504 { ac_try='test -s conftest$ac_exeext'
8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; }; then
8510 ac_cv_lib_dld_dld_link=yes
8512 echo "$as_me: failed program was:" >&5
8513 sed 's/^/| /' conftest.$ac_ext >&5
8515 ac_cv_lib_dld_dld_link=no
8517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8518 LIBS=$ac_check_lib_save_LIBS
8520 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8521 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8522 if test $ac_cv_lib_dld_dld_link = yes; then
8523 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8544 if test "x$lt_cv_dlopen" != xno; then
8550 case $lt_cv_dlopen in
8552 save_CPPFLAGS="$CPPFLAGS"
8553 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8555 save_LDFLAGS="$LDFLAGS"
8556 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8559 LIBS="$lt_cv_dlopen_libs $LIBS"
8561 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8562 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8563 if test "${lt_cv_dlopen_self+set}" = set; then
8564 echo $ECHO_N "(cached) $ECHO_C" >&6
8566 if test "$cross_compiling" = yes; then :
8567 lt_cv_dlopen_self=cross
8569 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8570 lt_status=$lt_dlunknown
8571 cat > conftest.$ac_ext <<EOF
8572 #line 8572 "configure"
8573 #include "confdefs.h"
8582 # define LT_DLGLOBAL RTLD_GLOBAL
8585 # define LT_DLGLOBAL DL_GLOBAL
8587 # define LT_DLGLOBAL 0
8591 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8592 find out it does not work in some platform. */
8593 #ifndef LT_DLLAZY_OR_NOW
8595 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8598 # define LT_DLLAZY_OR_NOW DL_LAZY
8601 # define LT_DLLAZY_OR_NOW RTLD_NOW
8604 # define LT_DLLAZY_OR_NOW DL_NOW
8606 # define LT_DLLAZY_OR_NOW 0
8614 extern "C" void exit (int);
8617 void fnord() { int i=42;}
8620 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8621 int status = $lt_dlunknown;
8625 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8626 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8627 /* dlclose (self); */
8633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8634 (eval $ac_link) 2>&5
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8638 (./conftest; exit; ) 2>/dev/null
8641 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8642 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8643 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8646 # compilation failed
8647 lt_cv_dlopen_self=no
8654 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8655 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8657 if test "x$lt_cv_dlopen_self" = xyes; then
8658 LDFLAGS="$LDFLAGS $link_static_flag"
8659 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8660 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8661 if test "${lt_cv_dlopen_self_static+set}" = set; then
8662 echo $ECHO_N "(cached) $ECHO_C" >&6
8664 if test "$cross_compiling" = yes; then :
8665 lt_cv_dlopen_self_static=cross
8667 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8668 lt_status=$lt_dlunknown
8669 cat > conftest.$ac_ext <<EOF
8670 #line 8670 "configure"
8671 #include "confdefs.h"
8680 # define LT_DLGLOBAL RTLD_GLOBAL
8683 # define LT_DLGLOBAL DL_GLOBAL
8685 # define LT_DLGLOBAL 0
8689 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8690 find out it does not work in some platform. */
8691 #ifndef LT_DLLAZY_OR_NOW
8693 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8696 # define LT_DLLAZY_OR_NOW DL_LAZY
8699 # define LT_DLLAZY_OR_NOW RTLD_NOW
8702 # define LT_DLLAZY_OR_NOW DL_NOW
8704 # define LT_DLLAZY_OR_NOW 0
8712 extern "C" void exit (int);
8715 void fnord() { int i=42;}
8718 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8719 int status = $lt_dlunknown;
8723 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8724 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8725 /* dlclose (self); */
8731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8732 (eval $ac_link) 2>&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8736 (./conftest; exit; ) 2>/dev/null
8739 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8740 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8741 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8744 # compilation failed
8745 lt_cv_dlopen_self_static=no
8752 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8753 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8756 CPPFLAGS="$save_CPPFLAGS"
8757 LDFLAGS="$save_LDFLAGS"
8762 case $lt_cv_dlopen_self in
8763 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8764 *) enable_dlopen_self=unknown ;;
8767 case $lt_cv_dlopen_self_static in
8768 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8769 *) enable_dlopen_self_static=unknown ;;
8774 # Report which librarie types wil actually be built
8775 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8776 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8777 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8778 echo "${ECHO_T}$can_build_shared" >&6
8780 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8781 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8782 test "$can_build_shared" = "no" && enable_shared=no
8784 # On AIX, shared libraries and static libraries use the same namespace, and
8785 # are all built from PIC.
8788 test "$enable_shared" = yes && enable_static=no
8789 if test -n "$RANLIB"; then
8790 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8791 postinstall_cmds='$RANLIB $lib'
8796 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8797 test "$enable_shared" = yes && enable_static=no
8800 darwin* | rhapsody*)
8801 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8802 archive_cmds_need_lc=no
8804 rhapsody* | darwin1.[012])
8805 allow_undefined_flag='-undefined suppress'
8808 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8811 # FIXME: Relying on posixy $() will cause problems for
8812 # cross-compilation, but unfortunately the echo tests do not
8813 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8814 # `"' quotes if we put them in here... so don't!
8815 output_verbose_link_cmd='echo'
8816 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8817 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8818 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8819 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}'
8820 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}'
8822 hardcode_automatic=yes
8823 hardcode_shlibpath_var=unsupported
8824 whole_archive_flag_spec='-all_load $convenience'
8825 link_all_deplibs=yes
8829 echo "$as_me:$LINENO: result: $enable_shared" >&5
8830 echo "${ECHO_T}$enable_shared" >&6
8832 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8833 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8834 # Make sure either enable_shared or enable_static is yes.
8835 test "$enable_shared" = yes || enable_static=yes
8836 echo "$as_me:$LINENO: result: $enable_static" >&5
8837 echo "${ECHO_T}$enable_static" >&6
8839 # The else clause should only fire when bootstrapping the
8840 # libtool distribution, otherwise you forgot to ship ltmain.sh
8841 # with your package, and you will get complaints that there are
8842 # no rules to generate ltmain.sh.
8843 if test -f "$ltmain"; then
8844 # See if we are running on zsh, and set the options which allow our commands through
8845 # without removal of \ escapes.
8846 if test -n "${ZSH_VERSION+set}" ; then
8847 setopt NO_GLOB_SUBST
8849 # Now quote all the things that may contain metacharacters while being
8850 # careful not to overquote the AC_SUBSTed values. We take copies of the
8851 # variables and quote the copies for generation of the libtool script.
8852 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8853 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8854 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8855 deplibs_check_method reload_flag reload_cmds need_locks \
8856 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8857 lt_cv_sys_global_symbol_to_c_name_address \
8858 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8859 old_postinstall_cmds old_postuninstall_cmds \
8863 lt_prog_compiler_wl \
8864 lt_prog_compiler_pic \
8865 lt_prog_compiler_static \
8866 lt_prog_compiler_no_builtin_flag \
8867 export_dynamic_flag_spec \
8868 thread_safe_flag_spec \
8869 whole_archive_flag_spec \
8870 enable_shared_with_static_runtimes \
8872 old_archive_from_new_cmds \
8877 compiler_lib_search_path \
8879 archive_expsym_cmds \
8881 postuninstall_cmds \
8882 old_archive_from_expsyms_cmds \
8883 allow_undefined_flag \
8885 export_symbols_cmds \
8886 hardcode_libdir_flag_spec \
8887 hardcode_libdir_flag_spec_ld \
8888 hardcode_libdir_separator \
8889 hardcode_automatic \
8891 module_expsym_cmds \
8892 lt_cv_prog_compiler_c_o \
8897 old_archive_cmds | \
8898 old_archive_from_new_cmds | \
8900 archive_expsym_cmds | \
8902 module_expsym_cmds | \
8903 old_archive_from_expsyms_cmds | \
8904 export_symbols_cmds | \
8905 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8906 postinstall_cmds | postuninstall_cmds | \
8907 old_postinstall_cmds | old_postuninstall_cmds | \
8908 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8909 # Double-quote double-evaled strings.
8910 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8913 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8919 *'\$0 --fallback-echo"')
8920 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8925 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8927 { echo "$as_me:$LINENO: creating $ofile" >&5
8928 echo "$as_me: creating $ofile" >&6;}
8930 cat <<__EOF__ >> "$cfgfile"
8933 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8934 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8935 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8937 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8938 # Free Software Foundation, Inc.
8940 # This file is part of GNU Libtool:
8941 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8943 # This program is free software; you can redistribute it and/or modify
8944 # it under the terms of the GNU General Public License as published by
8945 # the Free Software Foundation; either version 2 of the License, or
8946 # (at your option) any later version.
8948 # This program is distributed in the hope that it will be useful, but
8949 # WITHOUT ANY WARRANTY; without even the implied warranty of
8950 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8951 # General Public License for more details.
8953 # You should have received a copy of the GNU General Public License
8954 # along with this program; if not, write to the Free Software
8955 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8957 # As a special exception to the GNU General Public License, if you
8958 # distribute this file as part of a program that contains a
8959 # configuration script generated by Autoconf, you may include it under
8960 # the same distribution terms that you use for the rest of that program.
8962 # A sed program that does not truncate output.
8965 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8966 Xsed="$SED -e s/^X//"
8968 # The HP-UX ksh and POSIX shell print the target directory to stdout
8970 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8972 # The names of the tagged configurations supported by this script.
8975 # ### BEGIN LIBTOOL CONFIG
8977 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8979 # Shell to use when invoking shell scripts.
8982 # Whether or not to build shared libraries.
8983 build_libtool_libs=$enable_shared
8985 # Whether or not to build static libraries.
8986 build_old_libs=$enable_static
8988 # Whether or not to add -lc for building shared libraries.
8989 build_libtool_need_lc=$archive_cmds_need_lc
8991 # Whether or not to disallow shared libs when runtime libs are static
8992 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8994 # Whether or not to optimize for fast installation.
8995 fast_install=$enable_fast_install
8998 host_alias=$host_alias
9001 # An echo program that does not interpret backslashes.
9006 AR_FLAGS=$lt_AR_FLAGS
9011 # A language-specific compiler.
9014 # Is the compiler the GNU C compiler?
9020 # The linker used to build libraries.
9023 # Whether we need hard or soft links.
9026 # A BSD-compatible nm program.
9029 # A symbol stripping program
9032 # Used to examine libraries when file_magic_cmd begins "file"
9033 MAGIC_CMD=$MAGIC_CMD
9035 # Used on cygwin: DLL creation program.
9038 # Used on cygwin: object dumper.
9041 # Used on cygwin: assembler.
9044 # The name of the directory that contains temporary libtool files.
9047 # How to create reloadable object files.
9048 reload_flag=$lt_reload_flag
9049 reload_cmds=$lt_reload_cmds
9051 # How to pass a linker flag through the compiler.
9052 wl=$lt_lt_prog_compiler_wl
9054 # Object file suffix (normally "o").
9057 # Old archive suffix (normally "a").
9060 # Shared library suffix (normally ".so").
9063 # Executable file suffix (normally "").
9066 # Additional compiler flags for building library objects.
9067 pic_flag=$lt_lt_prog_compiler_pic
9070 # What is the maximum length of a command?
9071 max_cmd_len=$lt_cv_sys_max_cmd_len
9073 # Does compiler simultaneously support -c and -o options?
9074 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9076 # Must we lock files when doing compilation ?
9077 need_locks=$lt_need_locks
9079 # Do we need the lib prefix for modules?
9080 need_lib_prefix=$need_lib_prefix
9082 # Do we need a version for libraries?
9083 need_version=$need_version
9085 # Whether dlopen is supported.
9086 dlopen_support=$enable_dlopen
9088 # Whether dlopen of programs is supported.
9089 dlopen_self=$enable_dlopen_self
9091 # Whether dlopen of statically linked programs is supported.
9092 dlopen_self_static=$enable_dlopen_self_static
9094 # Compiler flag to prevent dynamic linking.
9095 link_static_flag=$lt_lt_prog_compiler_static
9097 # Compiler flag to turn off builtin functions.
9098 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9100 # Compiler flag to allow reflexive dlopens.
9101 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9103 # Compiler flag to generate shared objects directly from archives.
9104 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9106 # Compiler flag to generate thread-safe objects.
9107 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9109 # Library versioning type.
9110 version_type=$version_type
9112 # Format of library name prefix.
9113 libname_spec=$lt_libname_spec
9115 # List of archive names. First name is the real one, the rest are links.
9116 # The last name is the one that the linker finds with -lNAME.
9117 library_names_spec=$lt_library_names_spec
9119 # The coded name of the library, if different from the real name.
9120 soname_spec=$lt_soname_spec
9122 # Commands used to build and install an old-style archive.
9124 old_archive_cmds=$lt_old_archive_cmds
9125 old_postinstall_cmds=$lt_old_postinstall_cmds
9126 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9128 # Create an old-style archive from a shared archive.
9129 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9131 # Create a temporary old-style archive to link instead of a shared archive.
9132 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9134 # Commands used to build and install a shared archive.
9135 archive_cmds=$lt_archive_cmds
9136 archive_expsym_cmds=$lt_archive_expsym_cmds
9137 postinstall_cmds=$lt_postinstall_cmds
9138 postuninstall_cmds=$lt_postuninstall_cmds
9140 # Commands used to build a loadable module (assumed same as above if empty)
9141 module_cmds=$lt_module_cmds
9142 module_expsym_cmds=$lt_module_expsym_cmds
9144 # Commands to strip libraries.
9145 old_striplib=$lt_old_striplib
9146 striplib=$lt_striplib
9148 # Dependencies to place before the objects being linked to create a
9150 predep_objects=$lt_predep_objects
9152 # Dependencies to place after the objects being linked to create a
9154 postdep_objects=$lt_postdep_objects
9156 # Dependencies to place before the objects being linked to create a
9160 # Dependencies to place after the objects being linked to create a
9162 postdeps=$lt_postdeps
9164 # The library search path used internally by the compiler when linking
9166 compiler_lib_search_path=$lt_compiler_lib_search_path
9168 # Method to check whether dependent libraries are shared objects.
9169 deplibs_check_method=$lt_deplibs_check_method
9171 # Command to use when deplibs_check_method == file_magic.
9172 file_magic_cmd=$lt_file_magic_cmd
9174 # Flag that allows shared libraries with undefined symbols to be built.
9175 allow_undefined_flag=$lt_allow_undefined_flag
9177 # Flag that forces no undefined symbols.
9178 no_undefined_flag=$lt_no_undefined_flag
9180 # Commands used to finish a libtool library installation in a directory.
9181 finish_cmds=$lt_finish_cmds
9183 # Same as above, but a single script fragment to be evaled but not shown.
9184 finish_eval=$lt_finish_eval
9186 # Take the output of nm and produce a listing of raw symbols and C names.
9187 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9189 # Transform the output of nm in a proper C declaration
9190 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9192 # Transform the output of nm in a C name address pair
9193 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9195 # This is the shared library runtime path variable.
9196 runpath_var=$runpath_var
9198 # This is the shared library path variable.
9199 shlibpath_var=$shlibpath_var
9201 # Is shlibpath searched before the hard-coded library search path?
9202 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9204 # How to hardcode a shared library path into an executable.
9205 hardcode_action=$hardcode_action
9207 # Whether we should hardcode library paths into libraries.
9208 hardcode_into_libs=$hardcode_into_libs
9210 # Flag to hardcode \$libdir into a binary during linking.
9211 # This must work even if \$libdir does not exist.
9212 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9214 # If ld is used when linking, flag to hardcode \$libdir into
9215 # a binary during linking. This must work even if \$libdir does
9217 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9219 # Whether we need a single -rpath flag with a separated argument.
9220 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9222 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9224 hardcode_direct=$hardcode_direct
9226 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9228 hardcode_minus_L=$hardcode_minus_L
9230 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9231 # the resulting binary.
9232 hardcode_shlibpath_var=$hardcode_shlibpath_var
9234 # Set to yes if building a shared library automatically hardcodes DIR into the library
9235 # and all subsequent libraries and executables linked against it.
9236 hardcode_automatic=$hardcode_automatic
9238 # Variables whose values should be saved in libtool wrapper scripts and
9239 # restored at relink time.
9240 variables_saved_for_relink="$variables_saved_for_relink"
9242 # Whether libtool must link a program against all its dependency libraries.
9243 link_all_deplibs=$link_all_deplibs
9245 # Compile-time system search path for libraries
9246 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9248 # Run-time system search path for libraries
9249 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9251 # Fix the shell variable \$srcfile for the compiler.
9252 fix_srcfile_path="$fix_srcfile_path"
9254 # Set to yes if exported symbols are required.
9255 always_export_symbols=$always_export_symbols
9257 # The commands to list exported symbols.
9258 export_symbols_cmds=$lt_export_symbols_cmds
9260 # The commands to extract the exported symbol list from a shared archive.
9261 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9263 # Symbols that should not be listed in the preloaded symbols.
9264 exclude_expsyms=$lt_exclude_expsyms
9266 # Symbols that must always be exported.
9267 include_expsyms=$lt_include_expsyms
9269 # ### END LIBTOOL CONFIG
9276 cat <<\EOF >> "$cfgfile"
9278 # AIX sometimes has problems with the GCC collect2 program. For some
9279 # reason, if we set the COLLECT_NAMES environment variable, the problems
9280 # vanish in a puff of smoke.
9281 if test "X${COLLECT_NAMES+set}" != Xset; then
9283 export COLLECT_NAMES
9289 # We use sed instead of cat because bash on DJGPP gets confused if
9290 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9291 # text mode, it properly converts lines to CR/LF. This bash problem
9292 # is reportedly fixed, but why not run on old versions too?
9293 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9295 mv -f "$cfgfile" "$ofile" || \
9296 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9300 # If there is no Makefile yet, we rely on a make rule to execute
9301 # `config.status --recheck' to rerun these tests and create the
9302 # libtool script then.
9303 test -f Makefile && make "$ltmain"
9308 ac_cpp='$CPP $CPPFLAGS'
9309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9316 # Check whether --with-tags or --without-tags was given.
9317 if test "${with_tags+set}" = set; then
9318 withval="$with_tags"
9322 if test -f "$ltmain" && test -n "$tagnames"; then
9323 if test ! -f "${ofile}"; then
9324 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9325 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9328 if test -z "$LTCC"; then
9329 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9330 if test -z "$LTCC"; then
9331 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9332 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9334 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9335 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9339 # Extract list of available tagged configurations in $ofile.
9340 # Note that this assumes the entire list is on one line.
9341 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9343 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9344 for tagname in $tagnames; do
9346 # Check whether tagname contains only valid characters
9347 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9349 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9350 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9351 { (exit 1); exit 1; }; }
9355 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9357 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9358 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9359 { (exit 1); exit 1; }; }
9362 # Update the list of available tags.
9363 if test -n "$tagname"; then
9364 echo appending configuration tag \"$tagname\" to $ofile
9368 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9370 ac_cpp='$CXXCPP $CPPFLAGS'
9371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9378 archive_cmds_need_lc_CXX=no
9379 allow_undefined_flag_CXX=
9380 always_export_symbols_CXX=no
9381 archive_expsym_cmds_CXX=
9382 export_dynamic_flag_spec_CXX=
9383 hardcode_direct_CXX=no
9384 hardcode_libdir_flag_spec_CXX=
9385 hardcode_libdir_flag_spec_ld_CXX=
9386 hardcode_libdir_separator_CXX=
9387 hardcode_minus_L_CXX=no
9388 hardcode_automatic_CXX=no
9390 module_expsym_cmds_CXX=
9391 link_all_deplibs_CXX=unknown
9392 old_archive_cmds_CXX=$old_archive_cmds
9393 no_undefined_flag_CXX=
9394 whole_archive_flag_spec_CXX=
9395 enable_shared_with_static_runtimes_CXX=no
9397 # Dependencies to place before and after the object being linked:
9399 postdep_objects_CXX=
9402 compiler_lib_search_path_CXX=
9404 # Source file extension for C++ test sources.
9407 # Object file extension for compiled C++ test sources.
9411 # Code to be used in simple compile tests
9412 lt_simple_compile_test_code="int some_variable = 0;\n"
9414 # Code to be used in simple link tests
9415 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9417 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9419 # If no C compiler was specified, use CC.
9422 # Allow CC to be a program name with arguments.
9426 # Allow CC to be a program name with arguments.
9431 lt_save_with_gnu_ld=$with_gnu_ld
9432 lt_save_path_LD=$lt_cv_path_LD
9433 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9434 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9436 unset lt_cv_prog_gnu_ld
9438 if test -n "${lt_cv_path_LDCXX+set}"; then
9439 lt_cv_path_LD=$lt_cv_path_LDCXX
9443 test -z "${LDCXX+set}" || LD=$LDCXX
9447 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9449 # We don't want -fno-exception wen compiling C++ code, so set the
9450 # no_builtin_flag separately
9451 if test "$GXX" = yes; then
9452 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9454 lt_prog_compiler_no_builtin_flag_CXX=
9457 if test "$GXX" = yes; then
9458 # Set up default GNU C++ configuration
9461 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9462 if test "${with_gnu_ld+set}" = set; then
9463 withval="$with_gnu_ld"
9464 test "$withval" = no || with_gnu_ld=yes
9469 if test "$GCC" = yes; then
9470 # Check if gcc -print-prog-name=ld gives a path.
9471 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9472 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9475 # gcc leaves a trailing carriage return which upsets mingw
9476 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9478 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9481 # Accept absolute paths.
9483 re_direlt='/[^/][^/]*/\.\./'
9484 # Canonicalize the path of ld
9485 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9486 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9487 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9489 test -z "$LD" && LD="$ac_prog"
9492 # If it fails, then pretend we aren't using GCC.
9496 # If it is relative, then search for the first ld in PATH.
9500 elif test "$with_gnu_ld" = yes; then
9501 echo "$as_me:$LINENO: checking for GNU ld" >&5
9502 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9504 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9505 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9507 if test "${lt_cv_path_LD+set}" = set; then
9508 echo $ECHO_N "(cached) $ECHO_C" >&6
9510 if test -z "$LD"; then
9511 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9512 for ac_dir in $PATH; do
9514 test -z "$ac_dir" && ac_dir=.
9515 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9516 lt_cv_path_LD="$ac_dir/$ac_prog"
9517 # Check to see if the program is GNU ld. I'd rather use --version,
9518 # but apparently some GNU ld's only accept -v.
9519 # Break only if it was the GNU/non-GNU ld that we prefer.
9520 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9521 *GNU* | *'with BFD'*)
9522 test "$with_gnu_ld" != no && break
9525 test "$with_gnu_ld" != yes && break
9532 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9537 if test -n "$LD"; then
9538 echo "$as_me:$LINENO: result: $LD" >&5
9539 echo "${ECHO_T}$LD" >&6
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9544 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9545 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9546 { (exit 1); exit 1; }; }
9547 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9548 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9549 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9552 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9553 case `"$LD" -v 2>&1 </dev/null` in
9554 *GNU* | *'with BFD'*)
9555 lt_cv_prog_gnu_ld=yes
9558 lt_cv_prog_gnu_ld=no
9562 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9563 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9564 with_gnu_ld=$lt_cv_prog_gnu_ld
9568 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9569 # archiving commands below assume that GNU ld is being used.
9570 if test "$with_gnu_ld" = yes; then
9571 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9572 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'
9574 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9575 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9577 # If archive_cmds runs LD, not CC, wlarc should be empty
9578 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9579 # investigate it a little bit more. (MM)
9582 # ancient GNU ld didn't support --whole-archive et. al.
9583 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9584 grep 'no-whole-archive' > /dev/null; then
9585 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9587 whole_archive_flag_spec_CXX=
9593 # A generic and very simple default shared library creation
9594 # command for GNU C++ for the case where it uses the native
9595 # linker, instead of GNU ld. If possible, this setting should
9596 # overridden to take advantage of the native linker features on
9597 # the platform it is being used on.
9598 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9601 # Commands to make compiler produce verbose output that lists
9602 # what "hidden" libraries, object files and flags are used when
9603 # linking a shared library.
9604 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9612 # PORTME: fill in a description of your system's C++ link characteristics
9613 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9614 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9618 # FIXME: insert proper C++ library support
9622 if test "$host_cpu" = ia64; then
9623 # On IA64, the linker does run time linking by default, so we don't
9624 # have to do anything special.
9625 aix_use_runtimelinking=no
9626 exp_sym_flag='-Bexport'
9629 aix_use_runtimelinking=no
9631 # Test if we are trying to use run time linking or normal
9632 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9633 # need to do runtime linking.
9634 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9635 for ld_flag in $LDFLAGS; do
9638 aix_use_runtimelinking=yes
9645 exp_sym_flag='-bexport'
9646 no_entry_flag='-bnoentry'
9649 # When large executables or shared objects are built, AIX ld can
9650 # have problems creating the table of contents. If linking a library
9651 # or program results in "error TOC overflow" add -mminimal-toc to
9652 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9653 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9656 hardcode_direct_CXX=yes
9657 hardcode_libdir_separator_CXX=':'
9658 link_all_deplibs_CXX=yes
9660 if test "$GXX" = yes; then
9661 case $host_os in aix4.012|aix4.012.*)
9662 # We only want to do this on AIX 4.2 and lower, the check
9663 # below for broken collect2 doesn't work under 4.3+
9664 collect2name=`${CC} -print-prog-name=collect2`
9665 if test -f "$collect2name" && \
9666 strings "$collect2name" | grep resolve_lib_name >/dev/null
9668 # We have reworked collect2
9669 hardcode_direct_CXX=yes
9671 # We have old collect2
9672 hardcode_direct_CXX=unsupported
9673 # It fails to find uninstalled libraries when the uninstalled
9674 # path is not listed in the libpath. Setting hardcode_minus_L
9675 # to unsupported forces relinking
9676 hardcode_minus_L_CXX=yes
9677 hardcode_libdir_flag_spec_CXX='-L$libdir'
9678 hardcode_libdir_separator_CXX=
9681 shared_flag='-shared'
9684 if test "$host_cpu" = ia64; then
9685 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9686 # chokes on -Wl,-G. The following line is correct:
9689 if test "$aix_use_runtimelinking" = yes; then
9690 shared_flag='${wl}-G'
9692 shared_flag='${wl}-bM:SRE'
9697 # It seems that -bexpall does not export symbols beginning with
9698 # underscore (_), so it is better to generate a list of symbols to export.
9699 always_export_symbols_CXX=yes
9700 if test "$aix_use_runtimelinking" = yes; then
9701 # Warning - without using the other runtime loading flags (-brtl),
9702 # -berok will link without error, but may produce a broken library.
9703 allow_undefined_flag_CXX='-berok'
9704 # Determine the default libpath from the value encoded in an empty executable.
9705 cat >conftest.$ac_ext <<_ACEOF
9706 #line $LINENO "configure"
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9721 rm -f conftest.$ac_objext conftest$ac_exeext
9722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9723 (eval $ac_link) 2>&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } &&
9727 { ac_try='test -s conftest$ac_exeext'
9728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); }; }; then
9734 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9736 # Check for a 64-bit object if we didn't find anything.
9737 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; }
9740 echo "$as_me: failed program was:" >&5
9741 sed 's/^/| /' conftest.$ac_ext >&5
9744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9745 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9747 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9749 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"
9751 if test "$host_cpu" = ia64; then
9752 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9753 allow_undefined_flag_CXX="-z nodefs"
9754 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"
9756 # Determine the default libpath from the value encoded in an empty executable.
9757 cat >conftest.$ac_ext <<_ACEOF
9758 #line $LINENO "configure"
9761 cat confdefs.h >>conftest.$ac_ext
9762 cat >>conftest.$ac_ext <<_ACEOF
9763 /* end confdefs.h. */
9773 rm -f conftest.$ac_objext conftest$ac_exeext
9774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9775 (eval $ac_link) 2>&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); } &&
9779 { ac_try='test -s conftest$ac_exeext'
9780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); }; }; then
9786 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9788 # Check for a 64-bit object if we didn't find anything.
9789 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; }
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9797 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9799 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9800 # Warning - without using the other run time loading flags,
9801 # -berok will link without error, but may produce a broken library.
9802 no_undefined_flag_CXX=' ${wl}-bernotok'
9803 allow_undefined_flag_CXX=' ${wl}-berok'
9804 # -bexpall does not export symbols beginning with underscore (_)
9805 always_export_symbols_CXX=yes
9806 # Exported symbols can be pulled into shared objects from archives
9807 whole_archive_flag_spec_CXX=' '
9808 archive_cmds_need_lc_CXX=yes
9809 # This is similar to how AIX traditionally builds it's shared libraries.
9810 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'
9815 case $cc_basename in
9817 # FIXME: insert proper C++ library support
9823 cygwin* | mingw* | pw32*)
9824 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9825 # as there is no search path for DLLs.
9826 hardcode_libdir_flag_spec_CXX='-L$libdir'
9827 allow_undefined_flag_CXX=unsupported
9828 always_export_symbols_CXX=no
9829 enable_shared_with_static_runtimes_CXX=yes
9831 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9832 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'
9833 # If the export-symbols file already is a .def file (1st line
9834 # is EXPORTS), use it as is; otherwise, prepend...
9835 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9836 cp $export_symbols $output_objdir/$soname.def;
9838 echo EXPORTS > $output_objdir/$soname.def;
9839 cat $export_symbols >> $output_objdir/$soname.def;
9841 $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'
9847 darwin* | rhapsody*)
9848 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9849 archive_cmds_need_lc_CXX=no
9851 rhapsody* | darwin1.[012])
9852 allow_undefined_flag_CXX='-undefined suppress'
9855 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9858 lt_int_apple_cc_single_mod=no
9859 output_verbose_link_cmd='echo'
9860 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9861 lt_int_apple_cc_single_mod=yes
9863 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9864 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9866 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'
9868 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9870 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9871 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9872 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}'
9874 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}'
9876 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}'
9877 hardcode_direct_CXX=no
9878 hardcode_automatic_CXX=yes
9879 hardcode_shlibpath_var_CXX=unsupported
9880 whole_archive_flag_spec_CXX='-all_load $convenience'
9881 link_all_deplibs_CXX=yes
9886 case $cc_basename in
9888 # FIXME: insert proper C++ library support
9892 # Green Hills C++ Compiler
9893 # FIXME: insert proper C++ library support
9897 # FIXME: insert proper C++ library support
9903 # C++ shared libraries reported to be fairly broken before switch to ELF
9907 archive_cmds_need_lc_CXX=no
9910 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9917 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9918 hardcode_libdir_separator_CXX=:
9919 export_dynamic_flag_spec_CXX='${wl}-E'
9920 hardcode_direct_CXX=yes
9921 hardcode_minus_L_CXX=yes # Not in the search PATH,
9922 # but as the default
9923 # location of the library.
9925 case $cc_basename in
9927 # FIXME: insert proper C++ library support
9931 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'
9932 # Commands to make compiler produce verbose output that lists
9933 # what "hidden" libraries, object files and flags are used when
9934 # linking a shared library.
9936 # There doesn't appear to be a way to prevent this compiler from
9937 # explicitly linking system object files so we need to strip them
9938 # from the output so that they don't get included in the library
9940 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'
9943 if test "$GXX" = yes; then
9944 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'
9946 # FIXME: insert proper C++ library support
9953 if test $with_gnu_ld = no; then
9956 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9957 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9958 hardcode_libdir_separator_CXX=:
9961 hardcode_libdir_flag_spec_CXX='-L$libdir'
9964 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9965 hardcode_libdir_separator_CXX=:
9966 export_dynamic_flag_spec_CXX='${wl}-E'
9972 hardcode_direct_CXX=no
9973 hardcode_shlibpath_var_CXX=no
9976 hardcode_direct_CXX=no
9977 hardcode_shlibpath_var_CXX=no
9978 hardcode_minus_L_CXX=yes # Not in the search PATH,
9979 # but as the default
9980 # location of the library.
9983 hardcode_direct_CXX=yes
9984 hardcode_minus_L_CXX=yes # Not in the search PATH,
9985 # but as the default
9986 # location of the library.
9990 case $cc_basename in
9992 # FIXME: insert proper C++ library support
9998 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10001 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10004 # Commands to make compiler produce verbose output that lists
10005 # what "hidden" libraries, object files and flags are used when
10006 # linking a shared library.
10008 # There doesn't appear to be a way to prevent this compiler from
10009 # explicitly linking system object files so we need to strip them
10010 # from the output so that they don't get included in the library
10012 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'
10015 if test "$GXX" = yes; then
10016 if test $with_gnu_ld = no; then
10017 case "$host_cpu" in
10019 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10022 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'
10027 # FIXME: insert proper C++ library support
10034 case $cc_basename in
10037 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'
10039 # Archives containing C++ object files must be created using
10040 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10041 # necessary to make sure instantiated templates are included
10043 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10046 if test "$GXX" = yes; then
10047 if test "$with_gnu_ld" = no; then
10048 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'
10050 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'
10053 link_all_deplibs_CXX=yes
10056 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10057 hardcode_libdir_separator_CXX=:
10060 case $cc_basename in
10062 # Kuck and Associates, Inc. (KAI) C++ Compiler
10064 # KCC will only create a shared library if the output file
10065 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10066 # to its proper name (with version) after linking.
10067 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'
10068 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'
10069 # Commands to make compiler produce verbose output that lists
10070 # what "hidden" libraries, object files and flags are used when
10071 # linking a shared library.
10073 # There doesn't appear to be a way to prevent this compiler from
10074 # explicitly linking system object files so we need to strip them
10075 # from the output so that they don't get included in the library
10077 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'
10079 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10080 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10082 # Archives containing C++ object files must be created using
10083 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10084 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10089 archive_cmds_need_lc_CXX=no
10090 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10091 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'
10092 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10093 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10094 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10098 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10099 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'
10101 runpath_var=LD_RUN_PATH
10102 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10103 hardcode_libdir_separator_CXX=:
10105 # Commands to make compiler produce verbose output that lists
10106 # what "hidden" libraries, object files and flags are used when
10107 # linking a shared library.
10109 # There doesn't appear to be a way to prevent this compiler from
10110 # explicitly linking system object files so we need to strip them
10111 # from the output so that they don't get included in the library
10113 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'
10118 # FIXME: insert proper C++ library support
10122 # FIXME: insert proper C++ library support
10126 case $cc_basename in
10128 # FIXME: insert proper C++ library support
10132 # FIXME: insert proper C++ library support
10138 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10139 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10141 hardcode_libdir_flag_spec_CXX='-R$libdir'
10142 hardcode_direct_CXX=yes
10143 hardcode_shlibpath_var_CXX=no
10145 # Workaround some broken pre-1.5 toolchains
10146 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10149 case $cc_basename in
10151 # Kuck and Associates, Inc. (KAI) C++ Compiler
10153 # KCC will only create a shared library if the output file
10154 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10155 # to its proper name (with version) after linking.
10156 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'
10158 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10159 hardcode_libdir_separator_CXX=:
10161 # Archives containing C++ object files must be created using
10162 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10163 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10167 # Rational C++ 2.4.1
10168 # FIXME: insert proper C++ library support
10172 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10173 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'
10175 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10176 hardcode_libdir_separator_CXX=:
10178 # Commands to make compiler produce verbose output that lists
10179 # what "hidden" libraries, object files and flags are used when
10180 # linking a shared library.
10182 # There doesn't appear to be a way to prevent this compiler from
10183 # explicitly linking system object files so we need to strip them
10184 # from the output so that they don't get included in the library
10186 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'
10189 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10190 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10191 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'
10193 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10194 hardcode_libdir_separator_CXX=:
10196 # Commands to make compiler produce verbose output that lists
10197 # what "hidden" libraries, object files and flags are used when
10198 # linking a shared library.
10199 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10202 # FIXME: insert proper C++ library support
10209 case $cc_basename in
10211 # Kuck and Associates, Inc. (KAI) C++ Compiler
10213 # KCC will only create a shared library if the output file
10214 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10215 # to its proper name (with version) after linking.
10216 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'
10218 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10219 hardcode_libdir_separator_CXX=:
10221 # Archives containing C++ object files must be created using
10222 # the KAI C++ compiler.
10223 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10226 # Rational C++ 2.4.1
10227 # FIXME: insert proper C++ library support
10231 allow_undefined_flag_CXX=' -expect_unresolved \*'
10232 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'
10233 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10234 echo "-hidden">> $lib.exp~
10235 $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~
10238 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10239 hardcode_libdir_separator_CXX=:
10241 # Commands to make compiler produce verbose output that lists
10242 # what "hidden" libraries, object files and flags are used when
10243 # linking a shared library.
10245 # There doesn't appear to be a way to prevent this compiler from
10246 # explicitly linking system object files so we need to strip them
10247 # from the output so that they don't get included in the library
10249 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'
10252 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10253 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10254 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'
10256 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10257 hardcode_libdir_separator_CXX=:
10259 # Commands to make compiler produce verbose output that lists
10260 # what "hidden" libraries, object files and flags are used when
10261 # linking a shared library.
10262 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10265 # FIXME: insert proper C++ library support
10272 # FIXME: insert proper C++ library support
10276 archive_cmds_need_lc_CXX=no
10277 case $cc_basename in
10279 # FIXME: insert proper C++ library support
10283 # FIXME: insert proper C++ library support
10289 case $cc_basename in
10292 # FIXME: insert proper C++ library support
10297 # FIXME: insert proper C++ library support
10301 # FIXME: insert proper C++ library support
10307 case $cc_basename in
10309 # Sun C++ 4.2, 5.x and Centerline C++
10310 no_undefined_flag_CXX=' -zdefs'
10311 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10312 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10313 $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'
10315 hardcode_libdir_flag_spec_CXX='-R$libdir'
10316 hardcode_shlibpath_var_CXX=no
10318 solaris2.0-5 | solaris2.0-5.*) ;;
10320 # The C++ compiler is used as linker so we must use $wl
10321 # flag to pass the commands to the underlying system
10323 # Supported since Solaris 2.6 (maybe 2.5.1?)
10324 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10327 link_all_deplibs_CXX=yes
10329 # Commands to make compiler produce verbose output that lists
10330 # what "hidden" libraries, object files and flags are used when
10331 # linking a shared library.
10333 # There doesn't appear to be a way to prevent this compiler from
10334 # explicitly linking system object files so we need to strip them
10335 # from the output so that they don't get included in the library
10337 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'
10339 # Archives containing C++ object files must be created using
10340 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10341 # necessary to make sure instantiated templates are included
10343 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10346 # Green Hills C++ Compiler
10347 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10349 # The C++ compiler must be used to create the archive.
10350 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10353 # GNU C++ compiler with Solaris linker
10354 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10355 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10356 if $CC --version | grep -v '^2\.7' > /dev/null; then
10357 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10358 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10359 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10361 # Commands to make compiler produce verbose output that lists
10362 # what "hidden" libraries, object files and flags are used when
10363 # linking a shared library.
10364 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10366 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10368 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10369 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10370 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10372 # Commands to make compiler produce verbose output that lists
10373 # what "hidden" libraries, object files and flags are used when
10374 # linking a shared library.
10375 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10378 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10383 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10384 archive_cmds_need_lc_CXX=no
10387 case $cc_basename in
10389 # NonStop-UX NCC 3.20
10390 # FIXME: insert proper C++ library support
10394 # FIXME: insert proper C++ library support
10400 # FIXME: insert proper C++ library support
10404 # FIXME: insert proper C++ library support
10408 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10409 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10410 test "$ld_shlibs_CXX" = no && can_build_shared=no
10416 ## There is no encapsulation within the following macros, do not change
10417 ## the running order or otherwise move them around unless you know exactly
10418 ## what you are doing...
10420 cat > conftest.$ac_ext <<EOF
10424 Foo (void) { a = 0; }
10430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10431 (eval $ac_compile) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; then
10435 # Parse the compiler output and extract the necessary
10436 # objects, libraries and library flags.
10438 # Sentinel used to keep track of whether or not we are before
10439 # the conftest object file.
10440 pre_test_object_deps_done=no
10442 # The `*' in the case matches for architectures that use `case' in
10443 # $output_verbose_cmd can trigger glob expansion during the loop
10444 # eval without this substitution.
10445 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10447 for p in `eval $output_verbose_link_cmd`; do
10451 # Some compilers place space between "-{L,R}" and the path.
10452 # Remove the space.
10453 if test $p = "-L" \
10454 || test $p = "-R"; then
10461 if test "$pre_test_object_deps_done" = no; then
10464 # Internal compiler library paths should come after those
10465 # provided the user. The postdeps already come after the
10466 # user supplied libs so there is no need to process them.
10467 if test -z "$compiler_lib_search_path_CXX"; then
10468 compiler_lib_search_path_CXX="${prev}${p}"
10470 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10473 # The "-l" case would never come before the object being
10474 # linked, so don't bother handling this case.
10477 if test -z "$postdeps_CXX"; then
10478 postdeps_CXX="${prev}${p}"
10480 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10486 # This assumes that the test object file only shows up
10487 # once in the compiler output.
10488 if test "$p" = "conftest.$objext"; then
10489 pre_test_object_deps_done=yes
10493 if test "$pre_test_object_deps_done" = no; then
10494 if test -z "$predep_objects_CXX"; then
10495 predep_objects_CXX="$p"
10497 predep_objects_CXX="$predep_objects_CXX $p"
10500 if test -z "$postdep_objects_CXX"; then
10501 postdep_objects_CXX="$p"
10503 postdep_objects_CXX="$postdep_objects_CXX $p"
10508 *) ;; # Ignore the rest.
10516 echo "libtool.m4: error: problem compiling CXX test program"
10519 $rm -f confest.$objext
10521 case " $postdeps_CXX " in
10522 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10525 lt_prog_compiler_wl_CXX=
10526 lt_prog_compiler_pic_CXX=
10527 lt_prog_compiler_static_CXX=
10529 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10530 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10532 # C++ specific cases for pic, static, wl, etc.
10533 if test "$GXX" = yes; then
10534 lt_prog_compiler_wl_CXX='-Wl,'
10535 lt_prog_compiler_static_CXX='-static'
10539 # All AIX code is PIC.
10540 if test "$host_cpu" = ia64; then
10541 # AIX 5 now supports IA64 processor
10542 lt_prog_compiler_static_CXX='-Bstatic'
10546 # FIXME: we need at least 68020 code to build shared libraries, but
10547 # adding the `-m68020' flag to GCC prevents building anything better,
10549 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10551 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10552 # PIC is the default for these OSes.
10554 mingw* | os2* | pw32*)
10555 # This hack is so that the source file can tell whether it is being
10556 # built for inclusion in a dll (and should export symbols for example).
10557 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10559 darwin* | rhapsody*)
10560 # PIC is the default on this platform
10561 # Common symbols not allowed in MH_DYLIB files
10562 lt_prog_compiler_pic_CXX='-fno-common'
10565 # DJGPP does not support shared libraries at all
10566 lt_prog_compiler_pic_CXX=
10569 if test -d /usr/nec; then
10570 lt_prog_compiler_pic_CXX=-Kconform_pic
10574 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10575 # not for PA HP-UX.
10576 case "$host_cpu" in
10580 lt_prog_compiler_pic_CXX='-fPIC'
10585 lt_prog_compiler_pic_CXX='-fPIC'
10591 # All AIX code is PIC.
10592 if test "$host_cpu" = ia64; then
10593 # AIX 5 now supports IA64 processor
10594 lt_prog_compiler_static_CXX='-Bstatic'
10596 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10600 case $cc_basename in
10602 # Green Hills C++ Compiler
10603 # _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"
10608 case $cc_basename in
10610 lt_prog_compiler_pic_CXX='-KPIC'
10613 # Green Hills C++ Compiler
10614 lt_prog_compiler_pic_CXX='-pic'
10621 # FreeBSD uses GNU C++
10623 hpux9* | hpux10* | hpux11*)
10624 case $cc_basename in
10626 lt_prog_compiler_wl_CXX='-Wl,'
10627 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10628 if test "$host_cpu" != ia64; then
10629 lt_prog_compiler_pic_CXX='+Z'
10633 lt_prog_compiler_wl_CXX='-Wl,'
10634 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10635 case "$host_cpu" in
10640 lt_prog_compiler_pic_CXX='+Z'
10648 irix5* | irix6* | nonstopux*)
10649 case $cc_basename in
10651 lt_prog_compiler_wl_CXX='-Wl,'
10652 lt_prog_compiler_static_CXX='-non_shared'
10653 # CC pic flag -KPIC is the default.
10660 case $cc_basename in
10663 lt_prog_compiler_wl_CXX='--backend -Wl,'
10664 lt_prog_compiler_pic_CXX='-fPIC'
10668 lt_prog_compiler_wl_CXX='-Wl,'
10669 lt_prog_compiler_pic_CXX='-KPIC'
10670 lt_prog_compiler_static_CXX='-static'
10674 # Make sure the PIC flag is empty. It appears that all Alpha
10675 # Linux and Compaq Tru64 Unix objects are PIC.
10676 lt_prog_compiler_pic_CXX=
10677 lt_prog_compiler_static_CXX='-non_shared'
10688 case $cc_basename in
10690 lt_prog_compiler_pic_CXX='-W c,exportall'
10698 osf3* | osf4* | osf5*)
10699 case $cc_basename in
10701 lt_prog_compiler_wl_CXX='--backend -Wl,'
10704 # Rational C++ 2.4.1
10705 lt_prog_compiler_pic_CXX='-pic'
10708 # Digital/Compaq C++
10709 lt_prog_compiler_wl_CXX='-Wl,'
10710 # Make sure the PIC flag is empty. It appears that all Alpha
10711 # Linux and Compaq Tru64 Unix objects are PIC.
10712 lt_prog_compiler_pic_CXX=
10713 lt_prog_compiler_static_CXX='-non_shared'
10722 case $cc_basename in
10724 lt_prog_compiler_pic_CXX='-fPIC'
10731 case $cc_basename in
10733 # Sun C++ 4.2, 5.x and Centerline C++
10734 lt_prog_compiler_pic_CXX='-KPIC'
10735 lt_prog_compiler_static_CXX='-Bstatic'
10736 lt_prog_compiler_wl_CXX='-Qoption ld '
10739 # Green Hills C++ Compiler
10740 lt_prog_compiler_pic_CXX='-PIC'
10747 case $cc_basename in
10750 lt_prog_compiler_pic_CXX='-pic'
10751 lt_prog_compiler_static_CXX='-Bstatic'
10755 lt_prog_compiler_pic_CXX='-pic'
10762 case $cc_basename in
10764 # NonStop-UX NCC 3.20
10765 lt_prog_compiler_pic_CXX='-KPIC'
10776 lt_prog_compiler_can_build_shared_CXX=no
10781 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10782 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10785 # Check to make sure the PIC flag actually works.
10787 if test -n "$lt_prog_compiler_pic_CXX"; then
10788 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10789 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10790 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 lt_prog_compiler_pic_works_CXX=no
10794 ac_outfile=conftest.$ac_objext
10795 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10796 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10797 # Insert the option either (1) after the last *FLAGS variable, or
10798 # (2) before a word containing "conftest.", or (3) at the end.
10799 # Note that $ac_compile itself does not contain backslashes and begins
10800 # with a dollar sign (not a hyphen), so the echo should work correctly.
10801 # The option is referenced via a variable to avoid confusing sed.
10802 lt_compile=`echo "$ac_compile" | $SED \
10803 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10805 -e 's:$: $lt_compiler_flag:'`
10806 (eval echo "\"\$as_me:10806: $lt_compile\"" >&5)
10807 (eval "$lt_compile" 2>conftest.err)
10809 cat conftest.err >&5
10810 echo "$as_me:10810: \$? = $ac_status" >&5
10811 if (exit $ac_status) && test -s "$ac_outfile"; then
10812 # The compiler can only warn and ignore the option if not recognized
10813 # So say no if there are warnings
10814 if test ! -s conftest.err; then
10815 lt_prog_compiler_pic_works_CXX=yes
10821 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10822 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10824 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10825 case $lt_prog_compiler_pic_CXX in
10827 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10830 lt_prog_compiler_pic_CXX=
10831 lt_prog_compiler_can_build_shared_CXX=no
10836 # For platforms which do not support PIC, -DPIC is meaningless:
10838 lt_prog_compiler_pic_CXX=
10841 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10845 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10846 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10847 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10848 echo $ECHO_N "(cached) $ECHO_C" >&6
10850 lt_cv_prog_compiler_c_o_CXX=no
10851 $rm -r conftest 2>/dev/null
10855 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10857 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10858 # that will create temporary files in the current directory regardless of
10859 # the output directory. Thus, making CWD read-only will cause this test
10860 # to fail, enabling locking or at least warning the user not to do parallel
10864 lt_compiler_flag="-o out/conftest2.$ac_objext"
10865 # Insert the option either (1) after the last *FLAGS variable, or
10866 # (2) before a word containing "conftest.", or (3) at the end.
10867 # Note that $ac_compile itself does not contain backslashes and begins
10868 # with a dollar sign (not a hyphen), so the echo should work correctly.
10869 lt_compile=`echo "$ac_compile" | $SED \
10870 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10872 -e 's:$: $lt_compiler_flag:'`
10873 (eval echo "\"\$as_me:10873: $lt_compile\"" >&5)
10874 (eval "$lt_compile" 2>out/conftest.err)
10876 cat out/conftest.err >&5
10877 echo "$as_me:10877: \$? = $ac_status" >&5
10878 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10880 # The compiler can only warn and ignore the option if not recognized
10881 # So say no if there are warnings
10882 if test ! -s out/conftest.err; then
10883 lt_cv_prog_compiler_c_o_CXX=yes
10887 $rm conftest* out/*
10894 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10895 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10898 hard_links="nottested"
10899 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10900 # do not overwrite the value of need_locks provided by the user
10901 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10902 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10905 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10907 ln conftest.a conftest.b 2>&5 || hard_links=no
10908 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10909 echo "$as_me:$LINENO: result: $hard_links" >&5
10910 echo "${ECHO_T}$hard_links" >&6
10911 if test "$hard_links" = no; then
10912 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10913 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10920 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10921 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10923 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10926 # If we're using GNU nm, then we don't want the "-C" option.
10927 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10928 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10929 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'
10931 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'
10935 export_symbols_cmds_CXX="$ltdll_cmds"
10938 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10941 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10945 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10946 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10947 test "$ld_shlibs_CXX" = no && can_build_shared=no
10949 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10950 if test "$GCC" = yes; then
10951 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10955 # Do we need to explicitly link libc?
10957 case "x$archive_cmds_need_lc_CXX" in
10959 # Assume -lc should be added
10960 archive_cmds_need_lc_CXX=yes
10962 if test "$enable_shared" = yes && test "$GCC" = yes; then
10963 case $archive_cmds_CXX in
10965 # FIXME: we may have to deal with multi-command sequences.
10968 # Test whether the compiler implicitly links with -lc since on some
10969 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10970 # to ld, don't add -lc before -lgcc.
10971 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10972 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10974 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10977 (eval $ac_compile) 2>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } 2>conftest.err; then
10983 libobjs=conftest.$ac_objext
10985 wl=$lt_prog_compiler_wl_CXX
10991 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10992 allow_undefined_flag_CXX=
10993 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10994 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); }
10999 archive_cmds_need_lc_CXX=no
11001 archive_cmds_need_lc_CXX=yes
11003 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11005 cat conftest.err 1>&5
11008 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11009 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11016 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11017 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11018 hardcode_action_CXX=
11019 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11020 test -n "$runpath_var CXX" || \
11021 test "X$hardcode_automatic_CXX"="Xyes" ; then
11023 # We can hardcode non-existant directories.
11024 if test "$hardcode_direct_CXX" != no &&
11025 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11026 # have to relink, otherwise we might link with an installed library
11027 # when we should be linking with a yet-to-be-installed one
11028 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11029 test "$hardcode_minus_L_CXX" != no; then
11030 # Linking always hardcodes the temporary library directory.
11031 hardcode_action_CXX=relink
11033 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11034 hardcode_action_CXX=immediate
11037 # We cannot hardcode anything, or else we can only hardcode existing
11039 hardcode_action_CXX=unsupported
11041 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11042 echo "${ECHO_T}$hardcode_action_CXX" >&6
11044 if test "$hardcode_action_CXX" = relink; then
11045 # Fast installation is not supported
11046 enable_fast_install=no
11047 elif test "$shlibpath_overrides_runpath" = yes ||
11048 test "$enable_shared" = no; then
11049 # Fast installation is not necessary
11050 enable_fast_install=needless
11055 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11056 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11057 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11058 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11059 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11060 echo "$as_me:$LINENO: result: yes" >&5
11061 echo "${ECHO_T}yes" >&6
11063 # FIXME - insert some real tests, host_os isn't really good enough
11066 if test -n "$STRIP" ; then
11067 striplib="$STRIP -x"
11068 echo "$as_me:$LINENO: result: yes" >&5
11069 echo "${ECHO_T}yes" >&6
11071 echo "$as_me:$LINENO: result: no" >&5
11072 echo "${ECHO_T}no" >&6
11076 echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6
11082 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11083 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11084 library_names_spec=
11085 libname_spec='lib$name'
11089 postuninstall_cmds=
11093 shlibpath_overrides_runpath=unknown
11095 dynamic_linker="$host_os ld.so"
11096 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11097 if test "$GCC" = yes; then
11098 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11099 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11100 # if the path contains ";" then we assume it to be the separator
11101 # otherwise default to the standard path separator (i.e. ":") - it is
11102 # assumed that no part of a normal pathname contains ";" but that should
11103 # okay in the real world where ";" in dirpaths is itself problematic.
11104 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11106 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11109 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11111 need_lib_prefix=unknown
11112 hardcode_into_libs=no
11114 # when you set need_version to no, make sure it does not cause -set_version
11115 # flags to be left without arguments
11116 need_version=unknown
11121 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11122 shlibpath_var=LIBPATH
11124 # AIX 3 has no versioning support, so we append a major version to the name.
11125 soname_spec='${libname}${release}${shared_ext}$major'
11132 hardcode_into_libs=yes
11133 if test "$host_cpu" = ia64; then
11134 # AIX 5 supports IA64
11135 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11136 shlibpath_var=LD_LIBRARY_PATH
11138 # With GCC up to 2.95.x, collect2 would create an import file
11139 # for dependence libraries. The import file would start with
11140 # the line `#! .'. This would cause the generated library to
11141 # depend on `.', always an invalid library. This was fixed in
11142 # development snapshots of GCC prior to 3.0.
11144 aix4 | aix4.[01] | aix4.[01].*)
11145 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11147 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11150 can_build_shared=no
11154 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11155 # soname into executable. Probably we can add versioning support to
11156 # collect2, so additional links can be useful in future.
11157 if test "$aix_use_runtimelinking" = yes; then
11158 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11159 # instead of lib<name>.a to let people know that these are not
11160 # typical AIX shared libraries.
11161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 # We preserve .a as extension for shared libraries through AIX4.2
11164 # and later when we are not doing run time linking.
11165 library_names_spec='${libname}${release}.a $libname.a'
11166 soname_spec='${libname}${release}${shared_ext}$major'
11168 shlibpath_var=LIBPATH
11173 library_names_spec='$libname.ixlibrary $libname.a'
11174 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11175 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'
11179 library_names_spec='${libname}${shared_ext}'
11180 dynamic_linker="$host_os ld.so"
11181 shlibpath_var=LIBRARY_PATH
11187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188 soname_spec='${libname}${release}${shared_ext}$major'
11189 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11190 shlibpath_var=LD_LIBRARY_PATH
11191 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11192 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11193 # the default ld.so.conf also contains /usr/contrib/lib and
11194 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11195 # libtool to hard-code these into programs
11198 cygwin* | mingw* | pw32*)
11199 version_type=windows
11204 case $GCC,$host_os in
11205 yes,cygwin* | yes,mingw* | yes,pw32*)
11206 library_names_spec='$libname.dll.a'
11207 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11208 postinstall_cmds='base_file=`basename \${file}`~
11209 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11210 dldir=$destdir/`dirname \$dlpath`~
11211 test -d \$dldir || mkdir -p \$dldir~
11212 $install_prog $dir/$dlname \$dldir/$dlname'
11213 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11214 dlpath=$dir/\$dldll~
11216 shlibpath_overrides_runpath=yes
11220 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11221 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11222 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11225 # MinGW DLLs use traditional 'lib' prefix
11226 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11227 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11228 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11229 # It is most probably a Windows format PATH printed by
11230 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11231 # path with ; separators, and with drive letters. We can handle the
11232 # drive letters (cygwin fileutils understands them), so leave them,
11233 # especially as we might pass files found there to a mingw objdump,
11234 # which wouldn't understand a cygwinified path. Ahh.
11235 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11237 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11241 # pw32 DLLs use 'pw' prefix rather than 'lib'
11242 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11248 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11251 dynamic_linker='Win32 ld.exe'
11252 # FIXME: first we should search . and the directory the executable is in
11256 darwin* | rhapsody*)
11257 dynamic_linker="$host_os dyld"
11258 version_type=darwin
11261 # FIXME: Relying on posixy $() will cause problems for
11262 # cross-compilation, but unfortunately the echo tests do not
11263 # yet detect zsh echo's removal of \ escapes.
11264 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11265 soname_spec='${libname}${release}${major}$shared_ext'
11266 shlibpath_overrides_runpath=yes
11267 shlibpath_var=DYLD_LIBRARY_PATH
11268 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11269 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11270 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11271 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"`
11273 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11281 soname_spec='${libname}${release}${shared_ext}$major'
11282 shlibpath_var=LD_LIBRARY_PATH
11290 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11291 version_type=freebsd-$objformat
11292 case $version_type in
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11299 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11303 shlibpath_var=LD_LIBRARY_PATH
11306 shlibpath_overrides_runpath=yes
11308 freebsd3.01* | freebsdelf3.01*)
11309 shlibpath_overrides_runpath=yes
11310 hardcode_into_libs=yes
11313 shlibpath_overrides_runpath=no
11314 hardcode_into_libs=yes
11323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11324 soname_spec='${libname}${release}${shared_ext}$major'
11325 shlibpath_var=LD_LIBRARY_PATH
11326 hardcode_into_libs=yes
11329 hpux9* | hpux10* | hpux11*)
11330 # Give a soname corresponding to the major version so that dld.sl refuses to
11331 # link against other versions.
11335 case "$host_cpu" in
11338 hardcode_into_libs=yes
11339 dynamic_linker="$host_os dld.so"
11340 shlibpath_var=LD_LIBRARY_PATH
11341 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11343 soname_spec='${libname}${release}${shared_ext}$major'
11344 if test "X$HPUX_IA64_MODE" = X32; then
11345 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11347 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11349 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11353 hardcode_into_libs=yes
11354 dynamic_linker="$host_os dld.sl"
11355 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11356 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358 soname_spec='${libname}${release}${shared_ext}$major'
11359 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11360 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11364 dynamic_linker="$host_os dld.sl"
11365 shlibpath_var=SHLIB_PATH
11366 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11368 soname_spec='${libname}${release}${shared_ext}$major'
11371 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11372 postinstall_cmds='chmod 555 $lib'
11375 irix5* | irix6* | nonstopux*)
11377 nonstopux*) version_type=nonstopux ;;
11379 if test "$lt_cv_prog_gnu_ld" = yes; then
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11390 irix5* | nonstopux*)
11391 libsuff= shlibsuff=
11394 case $LD in # libtool.m4 will add one of these switches to LD
11395 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11396 libsuff= shlibsuff= libmagic=32-bit;;
11397 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11398 libsuff=32 shlibsuff=N32 libmagic=N32;;
11399 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11400 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11401 *) libsuff= shlibsuff= libmagic=never-match;;
11405 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11406 shlibpath_overrides_runpath=no
11407 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11408 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11409 hardcode_into_libs=yes
11412 # No shared lib support for Linux oldld, aout, or coff.
11413 linux*oldld* | linux*aout* | linux*coff*)
11417 # This must be Linux ELF.
11422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11423 soname_spec='${libname}${release}${shared_ext}$major'
11424 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11425 shlibpath_var=LD_LIBRARY_PATH
11426 shlibpath_overrides_runpath=no
11427 # This implies no fast_install, which is unacceptable.
11428 # Some rework will be needed to allow for fast_install
11429 # before this can be enabled.
11430 hardcode_into_libs=yes
11432 # We used to test for /lib/ld.so.1 and disable shared libraries on
11433 # powerpc, because MkLinux only supported shared libraries with the
11434 # GNU dynamic linker. Since this was broken with cross compilers,
11435 # most powerpc-linux boxes support dynamic linking these days and
11436 # people can always --disable-shared, the test was removed, and we
11437 # assume the GNU/Linux dynamic linker is in use.
11438 dynamic_linker='GNU/Linux ld.so'
11445 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11447 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11448 dynamic_linker='NetBSD (a.out) ld.so'
11450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11451 soname_spec='${libname}${release}${shared_ext}$major'
11452 dynamic_linker='NetBSD ld.elf_so'
11454 shlibpath_var=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath=yes
11456 hardcode_into_libs=yes
11461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462 shlibpath_var=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath=yes
11470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11471 soname_spec='${libname}${release}${shared_ext}$major'
11472 shlibpath_var=LD_LIBRARY_PATH
11473 shlibpath_overrides_runpath=yes
11480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11481 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11482 shlibpath_var=LD_LIBRARY_PATH
11483 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11485 openbsd2.[89] | openbsd2.[89].*)
11486 shlibpath_overrides_runpath=no
11489 shlibpath_overrides_runpath=yes
11493 shlibpath_overrides_runpath=yes
11498 libname_spec='$name'
11501 library_names_spec='$libname${shared_ext} $libname.a'
11502 dynamic_linker='OS/2 ld.exe'
11503 shlibpath_var=LIBPATH
11506 osf3* | osf4* | osf5*)
11510 soname_spec='${libname}${release}${shared_ext}$major'
11511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11512 shlibpath_var=LD_LIBRARY_PATH
11513 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11514 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11519 soname_spec='${libname}${release}${shared_ext}$major'
11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11521 shlibpath_var=LD_LIBRARY_PATH
11528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11529 soname_spec='${libname}${release}${shared_ext}$major'
11530 shlibpath_var=LD_LIBRARY_PATH
11531 shlibpath_overrides_runpath=yes
11532 hardcode_into_libs=yes
11533 # ldd complains unless libraries are executable
11534 postinstall_cmds='chmod +x $lib'
11539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11540 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 shlibpath_overrides_runpath=yes
11543 if test "$with_gnu_ld" = yes; then
11549 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 soname_spec='${libname}${release}${shared_ext}$major'
11553 shlibpath_var=LD_LIBRARY_PATH
11554 case $host_vendor in
11556 shlibpath_overrides_runpath=no
11558 export_dynamic_flag_spec='${wl}-Blargedynsym'
11559 runpath_var=LD_RUN_PATH
11567 shlibpath_overrides_runpath=no
11568 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11574 if test -d /usr/nec ;then
11576 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11577 soname_spec='$libname${shared_ext}.$major'
11578 shlibpath_var=LD_LIBRARY_PATH
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 soname_spec='${libname}${release}${shared_ext}$major'
11586 shlibpath_var=LD_LIBRARY_PATH
11593 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11594 echo "${ECHO_T}$dynamic_linker" >&6
11595 test "$dynamic_linker" = no && can_build_shared=no
11597 if test "x$enable_dlopen" != xyes; then
11598 enable_dlopen=unknown
11599 enable_dlopen_self=unknown
11600 enable_dlopen_self_static=unknown
11607 lt_cv_dlopen="load_add_on"
11609 lt_cv_dlopen_self=yes
11613 lt_cv_dlopen="LoadLibrary"
11618 lt_cv_dlopen="dlopen"
11623 # if libdl is installed we need to link against it
11624 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11625 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11626 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 ac_check_lib_save_LIBS=$LIBS
11631 cat >conftest.$ac_ext <<_ACEOF
11632 #line $LINENO "configure"
11635 cat confdefs.h >>conftest.$ac_ext
11636 cat >>conftest.$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11639 /* Override any gcc2 internal prototype to avoid an error. */
11643 /* We use char because int might match the return type of a gcc2
11644 builtin and then its argument prototype would still apply. */
11654 rm -f conftest.$ac_objext conftest$ac_exeext
11655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11656 (eval $ac_link) 2>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } &&
11660 { ac_try='test -s conftest$ac_exeext'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then
11666 ac_cv_lib_dl_dlopen=yes
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.$ac_ext >&5
11671 ac_cv_lib_dl_dlopen=no
11673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11674 LIBS=$ac_check_lib_save_LIBS
11676 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11677 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11678 if test $ac_cv_lib_dl_dlopen = yes; then
11679 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11682 lt_cv_dlopen="dyld"
11684 lt_cv_dlopen_self=yes
11691 echo "$as_me:$LINENO: checking for shl_load" >&5
11692 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11693 if test "${ac_cv_func_shl_load+set}" = set; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 cat >conftest.$ac_ext <<_ACEOF
11697 #line $LINENO "configure"
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11703 /* System header to define __stub macros and hopefully few prototypes,
11704 which can conflict with char shl_load (); below.
11705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11706 <limits.h> exists even on freestanding compilers. */
11708 # include <limits.h>
11710 # include <assert.h>
11712 /* Override any gcc2 internal prototype to avoid an error. */
11717 /* We use char because int might match the return type of a gcc2
11718 builtin and then its argument prototype would still apply. */
11720 /* The GNU C library defines this for functions which it implements
11721 to always fail with ENOSYS. Some functions are actually named
11722 something starting with __ and the normal name is an alias. */
11723 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11726 char (*f) () = shl_load;
11735 return f != shl_load;
11740 rm -f conftest.$ac_objext conftest$ac_exeext
11741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11742 (eval $ac_link) 2>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); } &&
11746 { ac_try='test -s conftest$ac_exeext'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; }; then
11752 ac_cv_func_shl_load=yes
11754 echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.$ac_ext >&5
11757 ac_cv_func_shl_load=no
11759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11761 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11762 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11763 if test $ac_cv_func_shl_load = yes; then
11764 lt_cv_dlopen="shl_load"
11766 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11767 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11768 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 ac_check_lib_save_LIBS=$LIBS
11773 cat >conftest.$ac_ext <<_ACEOF
11774 #line $LINENO "configure"
11777 cat confdefs.h >>conftest.$ac_ext
11778 cat >>conftest.$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11781 /* Override any gcc2 internal prototype to avoid an error. */
11785 /* We use char because int might match the return type of a gcc2
11786 builtin and then its argument prototype would still apply. */
11796 rm -f conftest.$ac_objext conftest$ac_exeext
11797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11798 (eval $ac_link) 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); } &&
11802 { ac_try='test -s conftest$ac_exeext'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; }; then
11808 ac_cv_lib_dld_shl_load=yes
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11813 ac_cv_lib_dld_shl_load=no
11815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11816 LIBS=$ac_check_lib_save_LIBS
11818 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11819 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11820 if test $ac_cv_lib_dld_shl_load = yes; then
11821 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11823 echo "$as_me:$LINENO: checking for dlopen" >&5
11824 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11825 if test "${ac_cv_func_dlopen+set}" = set; then
11826 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 cat >conftest.$ac_ext <<_ACEOF
11829 #line $LINENO "configure"
11832 cat confdefs.h >>conftest.$ac_ext
11833 cat >>conftest.$ac_ext <<_ACEOF
11834 /* end confdefs.h. */
11835 /* System header to define __stub macros and hopefully few prototypes,
11836 which can conflict with char dlopen (); below.
11837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11838 <limits.h> exists even on freestanding compilers. */
11840 # include <limits.h>
11842 # include <assert.h>
11844 /* Override any gcc2 internal prototype to avoid an error. */
11849 /* We use char because int might match the return type of a gcc2
11850 builtin and then its argument prototype would still apply. */
11852 /* The GNU C library defines this for functions which it implements
11853 to always fail with ENOSYS. Some functions are actually named
11854 something starting with __ and the normal name is an alias. */
11855 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11858 char (*f) () = dlopen;
11867 return f != dlopen;
11872 rm -f conftest.$ac_objext conftest$ac_exeext
11873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11874 (eval $ac_link) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); } &&
11878 { ac_try='test -s conftest$ac_exeext'
11879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); }; }; then
11884 ac_cv_func_dlopen=yes
11886 echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.$ac_ext >&5
11889 ac_cv_func_dlopen=no
11891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11893 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11894 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11895 if test $ac_cv_func_dlopen = yes; then
11896 lt_cv_dlopen="dlopen"
11898 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11899 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11900 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 ac_check_lib_save_LIBS=$LIBS
11905 cat >conftest.$ac_ext <<_ACEOF
11906 #line $LINENO "configure"
11909 cat confdefs.h >>conftest.$ac_ext
11910 cat >>conftest.$ac_ext <<_ACEOF
11911 /* end confdefs.h. */
11913 /* Override any gcc2 internal prototype to avoid an error. */
11917 /* We use char because int might match the return type of a gcc2
11918 builtin and then its argument prototype would still apply. */
11928 rm -f conftest.$ac_objext conftest$ac_exeext
11929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11930 (eval $ac_link) 2>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); } &&
11934 { ac_try='test -s conftest$ac_exeext'
11935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936 (eval $ac_try) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); }; }; then
11940 ac_cv_lib_dl_dlopen=yes
11942 echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11945 ac_cv_lib_dl_dlopen=no
11947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11948 LIBS=$ac_check_lib_save_LIBS
11950 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11951 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11952 if test $ac_cv_lib_dl_dlopen = yes; then
11953 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11955 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11956 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11957 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11960 ac_check_lib_save_LIBS=$LIBS
11961 LIBS="-lsvld $LIBS"
11962 cat >conftest.$ac_ext <<_ACEOF
11963 #line $LINENO "configure"
11966 cat confdefs.h >>conftest.$ac_ext
11967 cat >>conftest.$ac_ext <<_ACEOF
11968 /* end confdefs.h. */
11970 /* Override any gcc2 internal prototype to avoid an error. */
11974 /* We use char because int might match the return type of a gcc2
11975 builtin and then its argument prototype would still apply. */
11985 rm -f conftest.$ac_objext conftest$ac_exeext
11986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11987 (eval $ac_link) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); } &&
11991 { ac_try='test -s conftest$ac_exeext'
11992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11993 (eval $ac_try) 2>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); }; }; then
11997 ac_cv_lib_svld_dlopen=yes
11999 echo "$as_me: failed program was:" >&5
12000 sed 's/^/| /' conftest.$ac_ext >&5
12002 ac_cv_lib_svld_dlopen=no
12004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_lib_save_LIBS
12007 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12008 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12009 if test $ac_cv_lib_svld_dlopen = yes; then
12010 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12012 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12013 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12014 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12015 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 ac_check_lib_save_LIBS=$LIBS
12019 cat >conftest.$ac_ext <<_ACEOF
12020 #line $LINENO "configure"
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12027 /* Override any gcc2 internal prototype to avoid an error. */
12031 /* We use char because int might match the return type of a gcc2
12032 builtin and then its argument prototype would still apply. */
12042 rm -f conftest.$ac_objext conftest$ac_exeext
12043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12044 (eval $ac_link) 2>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); } &&
12048 { ac_try='test -s conftest$ac_exeext'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; }; then
12054 ac_cv_lib_dld_dld_link=yes
12056 echo "$as_me: failed program was:" >&5
12057 sed 's/^/| /' conftest.$ac_ext >&5
12059 ac_cv_lib_dld_dld_link=no
12061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_lib_save_LIBS
12064 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12065 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12066 if test $ac_cv_lib_dld_dld_link = yes; then
12067 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12088 if test "x$lt_cv_dlopen" != xno; then
12094 case $lt_cv_dlopen in
12096 save_CPPFLAGS="$CPPFLAGS"
12097 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12099 save_LDFLAGS="$LDFLAGS"
12100 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12103 LIBS="$lt_cv_dlopen_libs $LIBS"
12105 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12106 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12107 if test "${lt_cv_dlopen_self+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 if test "$cross_compiling" = yes; then :
12111 lt_cv_dlopen_self=cross
12113 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12114 lt_status=$lt_dlunknown
12115 cat > conftest.$ac_ext <<EOF
12116 #line 12116 "configure"
12117 #include "confdefs.h"
12126 # define LT_DLGLOBAL RTLD_GLOBAL
12129 # define LT_DLGLOBAL DL_GLOBAL
12131 # define LT_DLGLOBAL 0
12135 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12136 find out it does not work in some platform. */
12137 #ifndef LT_DLLAZY_OR_NOW
12139 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12142 # define LT_DLLAZY_OR_NOW DL_LAZY
12145 # define LT_DLLAZY_OR_NOW RTLD_NOW
12148 # define LT_DLLAZY_OR_NOW DL_NOW
12150 # define LT_DLLAZY_OR_NOW 0
12158 extern "C" void exit (int);
12161 void fnord() { int i=42;}
12164 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12165 int status = $lt_dlunknown;
12169 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12170 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12171 /* dlclose (self); */
12177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12178 (eval $ac_link) 2>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12182 (./conftest; exit; ) 2>/dev/null
12184 case x$lt_status in
12185 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12186 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12187 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12190 # compilation failed
12191 lt_cv_dlopen_self=no
12198 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12199 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12201 if test "x$lt_cv_dlopen_self" = xyes; then
12202 LDFLAGS="$LDFLAGS $link_static_flag"
12203 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12204 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12205 if test "${lt_cv_dlopen_self_static+set}" = set; then
12206 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 if test "$cross_compiling" = yes; then :
12209 lt_cv_dlopen_self_static=cross
12211 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12212 lt_status=$lt_dlunknown
12213 cat > conftest.$ac_ext <<EOF
12214 #line 12214 "configure"
12215 #include "confdefs.h"
12224 # define LT_DLGLOBAL RTLD_GLOBAL
12227 # define LT_DLGLOBAL DL_GLOBAL
12229 # define LT_DLGLOBAL 0
12233 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12234 find out it does not work in some platform. */
12235 #ifndef LT_DLLAZY_OR_NOW
12237 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12240 # define LT_DLLAZY_OR_NOW DL_LAZY
12243 # define LT_DLLAZY_OR_NOW RTLD_NOW
12246 # define LT_DLLAZY_OR_NOW DL_NOW
12248 # define LT_DLLAZY_OR_NOW 0
12256 extern "C" void exit (int);
12259 void fnord() { int i=42;}
12262 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12263 int status = $lt_dlunknown;
12267 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12268 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12269 /* dlclose (self); */
12275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12276 (eval $ac_link) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12280 (./conftest; exit; ) 2>/dev/null
12282 case x$lt_status in
12283 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12284 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12285 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12288 # compilation failed
12289 lt_cv_dlopen_self_static=no
12296 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12297 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12300 CPPFLAGS="$save_CPPFLAGS"
12301 LDFLAGS="$save_LDFLAGS"
12306 case $lt_cv_dlopen_self in
12307 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12308 *) enable_dlopen_self=unknown ;;
12311 case $lt_cv_dlopen_self_static in
12312 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12313 *) enable_dlopen_self_static=unknown ;;
12318 # The else clause should only fire when bootstrapping the
12319 # libtool distribution, otherwise you forgot to ship ltmain.sh
12320 # with your package, and you will get complaints that there are
12321 # no rules to generate ltmain.sh.
12322 if test -f "$ltmain"; then
12323 # See if we are running on zsh, and set the options which allow our commands through
12324 # without removal of \ escapes.
12325 if test -n "${ZSH_VERSION+set}" ; then
12326 setopt NO_GLOB_SUBST
12328 # Now quote all the things that may contain metacharacters while being
12329 # careful not to overquote the AC_SUBSTed values. We take copies of the
12330 # variables and quote the copies for generation of the libtool script.
12331 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12332 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12333 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12334 deplibs_check_method reload_flag reload_cmds need_locks \
12335 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12336 lt_cv_sys_global_symbol_to_c_name_address \
12337 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12338 old_postinstall_cmds old_postuninstall_cmds \
12342 lt_prog_compiler_wl_CXX \
12343 lt_prog_compiler_pic_CXX \
12344 lt_prog_compiler_static_CXX \
12345 lt_prog_compiler_no_builtin_flag_CXX \
12346 export_dynamic_flag_spec_CXX \
12347 thread_safe_flag_spec_CXX \
12348 whole_archive_flag_spec_CXX \
12349 enable_shared_with_static_runtimes_CXX \
12350 old_archive_cmds_CXX \
12351 old_archive_from_new_cmds_CXX \
12352 predep_objects_CXX \
12353 postdep_objects_CXX \
12356 compiler_lib_search_path_CXX \
12358 archive_expsym_cmds_CXX \
12359 postinstall_cmds_CXX \
12360 postuninstall_cmds_CXX \
12361 old_archive_from_expsyms_cmds_CXX \
12362 allow_undefined_flag_CXX \
12363 no_undefined_flag_CXX \
12364 export_symbols_cmds_CXX \
12365 hardcode_libdir_flag_spec_CXX \
12366 hardcode_libdir_flag_spec_ld_CXX \
12367 hardcode_libdir_separator_CXX \
12368 hardcode_automatic_CXX \
12370 module_expsym_cmds_CXX \
12371 lt_cv_prog_compiler_c_o_CXX \
12372 exclude_expsyms_CXX \
12373 include_expsyms_CXX; do
12376 old_archive_cmds_CXX | \
12377 old_archive_from_new_cmds_CXX | \
12378 archive_cmds_CXX | \
12379 archive_expsym_cmds_CXX | \
12380 module_cmds_CXX | \
12381 module_expsym_cmds_CXX | \
12382 old_archive_from_expsyms_cmds_CXX | \
12383 export_symbols_cmds_CXX | \
12384 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12385 postinstall_cmds | postuninstall_cmds | \
12386 old_postinstall_cmds | old_postuninstall_cmds | \
12387 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12388 # Double-quote double-evaled strings.
12389 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12392 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12398 *'\$0 --fallback-echo"')
12399 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12405 cat <<__EOF__ >> "$cfgfile"
12406 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12408 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12410 # Shell to use when invoking shell scripts.
12413 # Whether or not to build shared libraries.
12414 build_libtool_libs=$enable_shared
12416 # Whether or not to build static libraries.
12417 build_old_libs=$enable_static
12419 # Whether or not to add -lc for building shared libraries.
12420 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12422 # Whether or not to disallow shared libs when runtime libs are static
12423 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12425 # Whether or not to optimize for fast installation.
12426 fast_install=$enable_fast_install
12429 host_alias=$host_alias
12432 # An echo program that does not interpret backslashes.
12437 AR_FLAGS=$lt_AR_FLAGS
12442 # A language-specific compiler.
12443 CC=$lt_compiler_CXX
12445 # Is the compiler the GNU C compiler?
12451 # The linker used to build libraries.
12454 # Whether we need hard or soft links.
12457 # A BSD-compatible nm program.
12460 # A symbol stripping program
12463 # Used to examine libraries when file_magic_cmd begins "file"
12464 MAGIC_CMD=$MAGIC_CMD
12466 # Used on cygwin: DLL creation program.
12469 # Used on cygwin: object dumper.
12472 # Used on cygwin: assembler.
12475 # The name of the directory that contains temporary libtool files.
12478 # How to create reloadable object files.
12479 reload_flag=$lt_reload_flag
12480 reload_cmds=$lt_reload_cmds
12482 # How to pass a linker flag through the compiler.
12483 wl=$lt_lt_prog_compiler_wl_CXX
12485 # Object file suffix (normally "o").
12486 objext="$ac_objext"
12488 # Old archive suffix (normally "a").
12491 # Shared library suffix (normally ".so").
12494 # Executable file suffix (normally "").
12497 # Additional compiler flags for building library objects.
12498 pic_flag=$lt_lt_prog_compiler_pic_CXX
12501 # What is the maximum length of a command?
12502 max_cmd_len=$lt_cv_sys_max_cmd_len
12504 # Does compiler simultaneously support -c and -o options?
12505 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12507 # Must we lock files when doing compilation ?
12508 need_locks=$lt_need_locks
12510 # Do we need the lib prefix for modules?
12511 need_lib_prefix=$need_lib_prefix
12513 # Do we need a version for libraries?
12514 need_version=$need_version
12516 # Whether dlopen is supported.
12517 dlopen_support=$enable_dlopen
12519 # Whether dlopen of programs is supported.
12520 dlopen_self=$enable_dlopen_self
12522 # Whether dlopen of statically linked programs is supported.
12523 dlopen_self_static=$enable_dlopen_self_static
12525 # Compiler flag to prevent dynamic linking.
12526 link_static_flag=$lt_lt_prog_compiler_static_CXX
12528 # Compiler flag to turn off builtin functions.
12529 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12531 # Compiler flag to allow reflexive dlopens.
12532 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12534 # Compiler flag to generate shared objects directly from archives.
12535 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12537 # Compiler flag to generate thread-safe objects.
12538 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12540 # Library versioning type.
12541 version_type=$version_type
12543 # Format of library name prefix.
12544 libname_spec=$lt_libname_spec
12546 # List of archive names. First name is the real one, the rest are links.
12547 # The last name is the one that the linker finds with -lNAME.
12548 library_names_spec=$lt_library_names_spec
12550 # The coded name of the library, if different from the real name.
12551 soname_spec=$lt_soname_spec
12553 # Commands used to build and install an old-style archive.
12555 old_archive_cmds=$lt_old_archive_cmds_CXX
12556 old_postinstall_cmds=$lt_old_postinstall_cmds
12557 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12559 # Create an old-style archive from a shared archive.
12560 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12562 # Create a temporary old-style archive to link instead of a shared archive.
12563 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12565 # Commands used to build and install a shared archive.
12566 archive_cmds=$lt_archive_cmds_CXX
12567 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12568 postinstall_cmds=$lt_postinstall_cmds
12569 postuninstall_cmds=$lt_postuninstall_cmds
12571 # Commands used to build a loadable module (assumed same as above if empty)
12572 module_cmds=$lt_module_cmds_CXX
12573 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12575 # Commands to strip libraries.
12576 old_striplib=$lt_old_striplib
12577 striplib=$lt_striplib
12579 # Dependencies to place before the objects being linked to create a
12581 predep_objects=$lt_predep_objects_CXX
12583 # Dependencies to place after the objects being linked to create a
12585 postdep_objects=$lt_postdep_objects_CXX
12587 # Dependencies to place before the objects being linked to create a
12589 predeps=$lt_predeps_CXX
12591 # Dependencies to place after the objects being linked to create a
12593 postdeps=$lt_postdeps_CXX
12595 # The library search path used internally by the compiler when linking
12596 # a shared library.
12597 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12599 # Method to check whether dependent libraries are shared objects.
12600 deplibs_check_method=$lt_deplibs_check_method
12602 # Command to use when deplibs_check_method == file_magic.
12603 file_magic_cmd=$lt_file_magic_cmd
12605 # Flag that allows shared libraries with undefined symbols to be built.
12606 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12608 # Flag that forces no undefined symbols.
12609 no_undefined_flag=$lt_no_undefined_flag_CXX
12611 # Commands used to finish a libtool library installation in a directory.
12612 finish_cmds=$lt_finish_cmds
12614 # Same as above, but a single script fragment to be evaled but not shown.
12615 finish_eval=$lt_finish_eval
12617 # Take the output of nm and produce a listing of raw symbols and C names.
12618 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12620 # Transform the output of nm in a proper C declaration
12621 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12623 # Transform the output of nm in a C name address pair
12624 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12626 # This is the shared library runtime path variable.
12627 runpath_var=$runpath_var
12629 # This is the shared library path variable.
12630 shlibpath_var=$shlibpath_var
12632 # Is shlibpath searched before the hard-coded library search path?
12633 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12635 # How to hardcode a shared library path into an executable.
12636 hardcode_action=$hardcode_action_CXX
12638 # Whether we should hardcode library paths into libraries.
12639 hardcode_into_libs=$hardcode_into_libs
12641 # Flag to hardcode \$libdir into a binary during linking.
12642 # This must work even if \$libdir does not exist.
12643 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12645 # If ld is used when linking, flag to hardcode \$libdir into
12646 # a binary during linking. This must work even if \$libdir does
12648 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12650 # Whether we need a single -rpath flag with a separated argument.
12651 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12653 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12654 # resulting binary.
12655 hardcode_direct=$hardcode_direct_CXX
12657 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12658 # resulting binary.
12659 hardcode_minus_L=$hardcode_minus_L_CXX
12661 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12662 # the resulting binary.
12663 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12665 # Set to yes if building a shared library automatically hardcodes DIR into the library
12666 # and all subsequent libraries and executables linked against it.
12667 hardcode_automatic=$hardcode_automatic_CXX
12669 # Variables whose values should be saved in libtool wrapper scripts and
12670 # restored at relink time.
12671 variables_saved_for_relink="$variables_saved_for_relink"
12673 # Whether libtool must link a program against all its dependency libraries.
12674 link_all_deplibs=$link_all_deplibs_CXX
12676 # Compile-time system search path for libraries
12677 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12679 # Run-time system search path for libraries
12680 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12682 # Fix the shell variable \$srcfile for the compiler.
12683 fix_srcfile_path="$fix_srcfile_path_CXX"
12685 # Set to yes if exported symbols are required.
12686 always_export_symbols=$always_export_symbols_CXX
12688 # The commands to list exported symbols.
12689 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12691 # The commands to extract the exported symbol list from a shared archive.
12692 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12694 # Symbols that should not be listed in the preloaded symbols.
12695 exclude_expsyms=$lt_exclude_expsyms_CXX
12697 # Symbols that must always be exported.
12698 include_expsyms=$lt_include_expsyms_CXX
12700 # ### END LIBTOOL TAG CONFIG: $tagname
12706 # If there is no Makefile yet, we rely on a make rule to execute
12707 # `config.status --recheck' to rerun these tests and create the
12708 # libtool script then.
12709 test -f Makefile && make "$ltmain"
12714 ac_cpp='$CPP $CPPFLAGS'
12715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12723 with_gnu_ldcxx=$with_gnu_ld
12724 with_gnu_ld=$lt_save_with_gnu_ld
12725 lt_cv_path_LDCXX=$lt_cv_path_LD
12726 lt_cv_path_LD=$lt_save_path_LD
12727 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12728 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12736 if test -n "$F77" && test "X$F77" != "Xno"; then
12739 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12740 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12741 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12744 archive_cmds_need_lc_F77=no
12745 allow_undefined_flag_F77=
12746 always_export_symbols_F77=no
12747 archive_expsym_cmds_F77=
12748 export_dynamic_flag_spec_F77=
12749 hardcode_direct_F77=no
12750 hardcode_libdir_flag_spec_F77=
12751 hardcode_libdir_flag_spec_ld_F77=
12752 hardcode_libdir_separator_F77=
12753 hardcode_minus_L_F77=no
12754 hardcode_automatic_F77=no
12756 module_expsym_cmds_F77=
12757 link_all_deplibs_F77=unknown
12758 old_archive_cmds_F77=$old_archive_cmds
12759 no_undefined_flag_F77=
12760 whole_archive_flag_spec_F77=
12761 enable_shared_with_static_runtimes_F77=no
12763 # Source file extension for f77 test sources.
12766 # Object file extension for compiled f77 test sources.
12770 # Code to be used in simple compile tests
12771 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12773 # Code to be used in simple link tests
12774 lt_simple_link_test_code=" program t\n end\n"
12776 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12778 # If no C compiler was specified, use CC.
12781 # Allow CC to be a program name with arguments.
12785 # Allow CC to be a program name with arguments.
12790 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12792 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12793 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12794 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12795 echo "${ECHO_T}$can_build_shared" >&6
12797 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12798 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12799 test "$can_build_shared" = "no" && enable_shared=no
12801 # On AIX, shared libraries and static libraries use the same namespace, and
12802 # are all built from PIC.
12805 test "$enable_shared" = yes && enable_static=no
12806 if test -n "$RANLIB"; then
12807 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12808 postinstall_cmds='$RANLIB $lib'
12812 test "$enable_shared" = yes && enable_static=no
12815 echo "$as_me:$LINENO: result: $enable_shared" >&5
12816 echo "${ECHO_T}$enable_shared" >&6
12818 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12819 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12820 # Make sure either enable_shared or enable_static is yes.
12821 test "$enable_shared" = yes || enable_static=yes
12822 echo "$as_me:$LINENO: result: $enable_static" >&5
12823 echo "${ECHO_T}$enable_static" >&6
12825 test "$ld_shlibs_F77" = no && can_build_shared=no
12830 lt_prog_compiler_wl_F77=
12831 lt_prog_compiler_pic_F77=
12832 lt_prog_compiler_static_F77=
12834 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12835 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12837 if test "$GCC" = yes; then
12838 lt_prog_compiler_wl_F77='-Wl,'
12839 lt_prog_compiler_static_F77='-static'
12843 # All AIX code is PIC.
12844 if test "$host_cpu" = ia64; then
12845 # AIX 5 now supports IA64 processor
12846 lt_prog_compiler_static_F77='-Bstatic'
12851 # FIXME: we need at least 68020 code to build shared libraries, but
12852 # adding the `-m68020' flag to GCC prevents building anything better,
12854 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12857 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12858 # PIC is the default for these OSes.
12861 mingw* | pw32* | os2*)
12862 # This hack is so that the source file can tell whether it is being
12863 # built for inclusion in a dll (and should export symbols for example).
12864 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12867 darwin* | rhapsody*)
12868 # PIC is the default on this platform
12869 # Common symbols not allowed in MH_DYLIB files
12870 lt_prog_compiler_pic_F77='-fno-common'
12874 # Just because we use GCC doesn't mean we suddenly get shared libraries
12875 # on systems that don't support them.
12876 lt_prog_compiler_can_build_shared_F77=no
12881 if test -d /usr/nec; then
12882 lt_prog_compiler_pic_F77=-Kconform_pic
12887 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12888 # not for PA HP-UX.
12889 case "$host_cpu" in
12894 lt_prog_compiler_pic_F77='-fPIC'
12900 lt_prog_compiler_pic_F77='-fPIC'
12904 # PORTME Check for flag to pass linker flags through the system compiler.
12907 lt_prog_compiler_wl_F77='-Wl,'
12908 if test "$host_cpu" = ia64; then
12909 # AIX 5 now supports IA64 processor
12910 lt_prog_compiler_static_F77='-Bstatic'
12912 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12916 mingw* | pw32* | os2*)
12917 # This hack is so that the source file can tell whether it is being
12918 # built for inclusion in a dll (and should export symbols for example).
12919 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12922 hpux9* | hpux10* | hpux11*)
12923 lt_prog_compiler_wl_F77='-Wl,'
12924 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12925 # not for PA HP-UX.
12926 case "$host_cpu" in
12931 lt_prog_compiler_pic_F77='+Z'
12934 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12935 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12938 irix5* | irix6* | nonstopux*)
12939 lt_prog_compiler_wl_F77='-Wl,'
12940 # PIC (with -KPIC) is the default.
12941 lt_prog_compiler_static_F77='-non_shared'
12945 lt_prog_compiler_pic_F77='-KPIC'
12946 lt_prog_compiler_static_F77='-Bstatic'
12952 lt_prog_compiler_wl_F77='-Wl,'
12953 lt_prog_compiler_pic_F77='-KPIC'
12954 lt_prog_compiler_static_F77='-static'
12957 lt_prog_compiler_wl_F77='-Wl,'
12958 # All Alpha code is PIC.
12959 lt_prog_compiler_static_F77='-non_shared'
12964 osf3* | osf4* | osf5*)
12965 lt_prog_compiler_wl_F77='-Wl,'
12966 # All OSF/1 code is PIC.
12967 lt_prog_compiler_static_F77='-non_shared'
12971 lt_prog_compiler_pic_F77='-Kpic'
12972 lt_prog_compiler_static_F77='-dn'
12976 lt_prog_compiler_wl_F77='-Wl,'
12977 lt_prog_compiler_pic_F77='-KPIC'
12978 lt_prog_compiler_static_F77='-Bstatic'
12982 lt_prog_compiler_wl_F77='-Qoption ld '
12983 lt_prog_compiler_pic_F77='-PIC'
12984 lt_prog_compiler_static_F77='-Bstatic'
12987 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12988 lt_prog_compiler_wl_F77='-Wl,'
12989 lt_prog_compiler_pic_F77='-KPIC'
12990 lt_prog_compiler_static_F77='-Bstatic'
12994 if test -d /usr/nec ;then
12995 lt_prog_compiler_pic_F77='-Kconform_pic'
12996 lt_prog_compiler_static_F77='-Bstatic'
13001 lt_prog_compiler_pic_F77='-pic'
13002 lt_prog_compiler_static_F77='-Bstatic'
13006 lt_prog_compiler_can_build_shared_F77=no
13011 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13012 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13015 # Check to make sure the PIC flag actually works.
13017 if test -n "$lt_prog_compiler_pic_F77"; then
13018 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13019 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13020 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13021 echo $ECHO_N "(cached) $ECHO_C" >&6
13023 lt_prog_compiler_pic_works_F77=no
13024 ac_outfile=conftest.$ac_objext
13025 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13026 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13027 # Insert the option either (1) after the last *FLAGS variable, or
13028 # (2) before a word containing "conftest.", or (3) at the end.
13029 # Note that $ac_compile itself does not contain backslashes and begins
13030 # with a dollar sign (not a hyphen), so the echo should work correctly.
13031 # The option is referenced via a variable to avoid confusing sed.
13032 lt_compile=`echo "$ac_compile" | $SED \
13033 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13035 -e 's:$: $lt_compiler_flag:'`
13036 (eval echo "\"\$as_me:13036: $lt_compile\"" >&5)
13037 (eval "$lt_compile" 2>conftest.err)
13039 cat conftest.err >&5
13040 echo "$as_me:13040: \$? = $ac_status" >&5
13041 if (exit $ac_status) && test -s "$ac_outfile"; then
13042 # The compiler can only warn and ignore the option if not recognized
13043 # So say no if there are warnings
13044 if test ! -s conftest.err; then
13045 lt_prog_compiler_pic_works_F77=yes
13051 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13052 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13054 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13055 case $lt_prog_compiler_pic_F77 in
13057 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13060 lt_prog_compiler_pic_F77=
13061 lt_prog_compiler_can_build_shared_F77=no
13066 # For platforms which do not support PIC, -DPIC is meaningless:
13068 lt_prog_compiler_pic_F77=
13071 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13075 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13076 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13077 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13078 echo $ECHO_N "(cached) $ECHO_C" >&6
13080 lt_cv_prog_compiler_c_o_F77=no
13081 $rm -r conftest 2>/dev/null
13085 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13087 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13088 # that will create temporary files in the current directory regardless of
13089 # the output directory. Thus, making CWD read-only will cause this test
13090 # to fail, enabling locking or at least warning the user not to do parallel
13094 lt_compiler_flag="-o out/conftest2.$ac_objext"
13095 # Insert the option either (1) after the last *FLAGS variable, or
13096 # (2) before a word containing "conftest.", or (3) at the end.
13097 # Note that $ac_compile itself does not contain backslashes and begins
13098 # with a dollar sign (not a hyphen), so the echo should work correctly.
13099 lt_compile=`echo "$ac_compile" | $SED \
13100 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13102 -e 's:$: $lt_compiler_flag:'`
13103 (eval echo "\"\$as_me:13103: $lt_compile\"" >&5)
13104 (eval "$lt_compile" 2>out/conftest.err)
13106 cat out/conftest.err >&5
13107 echo "$as_me:13107: \$? = $ac_status" >&5
13108 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13110 # The compiler can only warn and ignore the option if not recognized
13111 # So say no if there are warnings
13112 if test ! -s out/conftest.err; then
13113 lt_cv_prog_compiler_c_o_F77=yes
13117 $rm conftest* out/*
13124 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13125 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13128 hard_links="nottested"
13129 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13130 # do not overwrite the value of need_locks provided by the user
13131 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13132 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13135 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13137 ln conftest.a conftest.b 2>&5 || hard_links=no
13138 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13139 echo "$as_me:$LINENO: result: $hard_links" >&5
13140 echo "${ECHO_T}$hard_links" >&6
13141 if test "$hard_links" = no; then
13142 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13143 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13150 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13151 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13154 allow_undefined_flag_F77=
13155 enable_shared_with_static_runtimes_F77=no
13157 archive_expsym_cmds_F77=
13158 old_archive_From_new_cmds_F77=
13159 old_archive_from_expsyms_cmds_F77=
13160 export_dynamic_flag_spec_F77=
13161 whole_archive_flag_spec_F77=
13162 thread_safe_flag_spec_F77=
13163 hardcode_libdir_flag_spec_F77=
13164 hardcode_libdir_flag_spec_ld_F77=
13165 hardcode_libdir_separator_F77=
13166 hardcode_direct_F77=no
13167 hardcode_minus_L_F77=no
13168 hardcode_shlibpath_var_F77=unsupported
13169 link_all_deplibs_F77=unknown
13170 hardcode_automatic_F77=no
13172 module_expsym_cmds_F77=
13173 always_export_symbols_F77=no
13174 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13175 # include_expsyms should be a list of space-separated symbols to be *always*
13176 # included in the symbol list
13177 include_expsyms_F77=
13178 # exclude_expsyms can be an extended regexp of symbols to exclude
13179 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13180 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13181 # as well as any symbol that contains `d'.
13182 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13183 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13184 # platforms (ab)use it in PIC code, but their linkers get confused if
13185 # the symbol is explicitly referenced. Since portable code cannot
13186 # rely on this symbol name, it's probably fine to never include it in
13187 # preloaded symbol tables.
13188 extract_expsyms_cmds=
13191 cygwin* | mingw* | pw32*)
13192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13193 # When not using gcc, we currently assume that we are using
13194 # Microsoft Visual C++.
13195 if test "$GCC" != yes; then
13205 if test "$with_gnu_ld" = yes; then
13206 # If archive_cmds runs LD, not CC, wlarc should be empty
13209 # See if GNU ld supports shared libraries.
13211 aix3* | aix4* | aix5*)
13212 # On AIX/PPC, the GNU linker is very broken
13213 if test "$host_cpu" != ia64; then
13217 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13218 *** to be unable to reliably create shared libraries on AIX.
13219 *** Therefore, libtool is disabling shared libraries support. If you
13220 *** really care for shared libraries, you may want to modify your PATH
13221 *** so that a non-GNU linker is found, and then restart.
13228 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)'
13229 hardcode_libdir_flag_spec_F77='-L$libdir'
13230 hardcode_minus_L_F77=yes
13232 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13233 # that the semantics of dynamic libraries on AmigaOS, at least up
13234 # to version 4, is to share data among multiple programs linked
13235 # with the same dynamic library. Since this doesn't match the
13236 # behavior of shared libraries on other platforms, we can't use
13242 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13243 allow_undefined_flag_F77=unsupported
13244 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13245 # support --undefined. This deserves some investigation. FIXME
13246 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13252 cygwin* | mingw* | pw32*)
13253 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13254 # as there is no search path for DLLs.
13255 hardcode_libdir_flag_spec_F77='-L$libdir'
13256 allow_undefined_flag_F77=unsupported
13257 always_export_symbols_F77=no
13258 enable_shared_with_static_runtimes_F77=yes
13259 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13261 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13262 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13263 # If the export-symbols file already is a .def file (1st line
13264 # is EXPORTS), use it as is; otherwise, prepend...
13265 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13266 cp $export_symbols $output_objdir/$soname.def;
13268 echo EXPORTS > $output_objdir/$soname.def;
13269 cat $export_symbols >> $output_objdir/$soname.def;
13271 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13278 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13279 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13282 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13283 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13288 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13292 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13293 *** create shared libraries on Solaris systems. Therefore, libtool
13294 *** is disabling shared libraries support. We urge you to upgrade GNU
13295 *** binutils to release 2.9.1 or newer. Another option is to modify
13296 *** your PATH or compiler configuration so that the native linker is
13297 *** used, and then restart.
13300 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13301 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13302 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13309 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13311 hardcode_direct_F77=yes
13312 hardcode_shlibpath_var_F77=no
13316 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13317 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13318 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13325 if test "$ld_shlibs_F77" = yes; then
13326 runpath_var=LD_RUN_PATH
13327 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13328 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13329 # ancient GNU ld didn't support --whole-archive et. al.
13330 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13331 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13333 whole_archive_flag_spec_F77=
13337 # PORTME fill in a description of your system's linker (not GNU ld)
13340 allow_undefined_flag_F77=unsupported
13341 always_export_symbols_F77=yes
13342 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'
13343 # Note: this linker hardcodes the directories in LIBPATH if there
13344 # are no directories specified by -L.
13345 hardcode_minus_L_F77=yes
13346 if test "$GCC" = yes && test -z "$link_static_flag"; then
13347 # Neither direct hardcoding nor static linking is supported with a
13349 hardcode_direct_F77=unsupported
13354 if test "$host_cpu" = ia64; then
13355 # On IA64, the linker does run time linking by default, so we don't
13356 # have to do anything special.
13357 aix_use_runtimelinking=no
13358 exp_sym_flag='-Bexport'
13361 # If we're using GNU nm, then we don't want the "-C" option.
13362 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13363 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13364 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'
13366 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'
13368 aix_use_runtimelinking=no
13370 # Test if we are trying to use run time linking or normal
13371 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13372 # need to do runtime linking.
13373 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13374 for ld_flag in $LDFLAGS; do
13375 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13376 aix_use_runtimelinking=yes
13382 exp_sym_flag='-bexport'
13383 no_entry_flag='-bnoentry'
13386 # When large executables or shared objects are built, AIX ld can
13387 # have problems creating the table of contents. If linking a library
13388 # or program results in "error TOC overflow" add -mminimal-toc to
13389 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13390 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13392 archive_cmds_F77=''
13393 hardcode_direct_F77=yes
13394 hardcode_libdir_separator_F77=':'
13395 link_all_deplibs_F77=yes
13397 if test "$GCC" = yes; then
13398 case $host_os in aix4.012|aix4.012.*)
13399 # We only want to do this on AIX 4.2 and lower, the check
13400 # below for broken collect2 doesn't work under 4.3+
13401 collect2name=`${CC} -print-prog-name=collect2`
13402 if test -f "$collect2name" && \
13403 strings "$collect2name" | grep resolve_lib_name >/dev/null
13405 # We have reworked collect2
13406 hardcode_direct_F77=yes
13408 # We have old collect2
13409 hardcode_direct_F77=unsupported
13410 # It fails to find uninstalled libraries when the uninstalled
13411 # path is not listed in the libpath. Setting hardcode_minus_L
13412 # to unsupported forces relinking
13413 hardcode_minus_L_F77=yes
13414 hardcode_libdir_flag_spec_F77='-L$libdir'
13415 hardcode_libdir_separator_F77=
13418 shared_flag='-shared'
13421 if test "$host_cpu" = ia64; then
13422 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13423 # chokes on -Wl,-G. The following line is correct:
13426 if test "$aix_use_runtimelinking" = yes; then
13427 shared_flag='${wl}-G'
13429 shared_flag='${wl}-bM:SRE'
13434 # It seems that -bexpall does not export symbols beginning with
13435 # underscore (_), so it is better to generate a list of symbols to export.
13436 always_export_symbols_F77=yes
13437 if test "$aix_use_runtimelinking" = yes; then
13438 # Warning - without using the other runtime loading flags (-brtl),
13439 # -berok will link without error, but may produce a broken library.
13440 allow_undefined_flag_F77='-berok'
13441 # Determine the default libpath from the value encoded in an empty executable.
13442 cat >conftest.$ac_ext <<_ACEOF
13447 rm -f conftest.$ac_objext conftest$ac_exeext
13448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13449 (eval $ac_link) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try='test -s conftest$ac_exeext'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; }; then
13460 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13462 # Check for a 64-bit object if we didn't find anything.
13463 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; }
13466 echo "$as_me: failed program was:" >&5
13467 sed 's/^/| /' conftest.$ac_ext >&5
13470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13471 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13473 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13474 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"
13476 if test "$host_cpu" = ia64; then
13477 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13478 allow_undefined_flag_F77="-z nodefs"
13479 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"
13481 # Determine the default libpath from the value encoded in an empty executable.
13482 cat >conftest.$ac_ext <<_ACEOF
13487 rm -f conftest.$ac_objext conftest$ac_exeext
13488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13489 (eval $ac_link) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); } &&
13493 { ac_try='test -s conftest$ac_exeext'
13494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13495 (eval $ac_try) 2>&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); }; }; then
13500 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13502 # Check for a 64-bit object if we didn't find anything.
13503 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; }
13506 echo "$as_me: failed program was:" >&5
13507 sed 's/^/| /' conftest.$ac_ext >&5
13510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13511 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13513 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13514 # Warning - without using the other run time loading flags,
13515 # -berok will link without error, but may produce a broken library.
13516 no_undefined_flag_F77=' ${wl}-bernotok'
13517 allow_undefined_flag_F77=' ${wl}-berok'
13518 # -bexpall does not export symbols beginning with underscore (_)
13519 always_export_symbols_F77=yes
13520 # Exported symbols can be pulled into shared objects from archives
13521 whole_archive_flag_spec_F77=' '
13522 archive_cmds_need_lc_F77=yes
13523 # This is similar to how AIX traditionally builds it's shared libraries.
13524 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'
13530 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)'
13531 hardcode_libdir_flag_spec_F77='-L$libdir'
13532 hardcode_minus_L_F77=yes
13533 # see comment about different semantics on the GNU ld section
13538 export_dynamic_flag_spec_F77=-rdynamic
13541 cygwin* | mingw* | pw32*)
13542 # When not using gcc, we currently assume that we are using
13543 # Microsoft Visual C++.
13544 # hardcode_libdir_flag_spec is actually meaningless, as there is
13545 # no search path for DLLs.
13546 hardcode_libdir_flag_spec_F77=' '
13547 allow_undefined_flag_F77=unsupported
13548 # Tell ltmain to make .lib files, not .a files.
13550 # Tell ltmain to make .dll files, not .so files.
13552 # FIXME: Setting linknames here is a bad hack.
13553 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13554 # The linker will automatically build a .lib file if we build a DLL.
13555 old_archive_From_new_cmds_F77='true'
13556 # FIXME: Should let the user specify the lib program.
13557 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13558 fix_srcfile_path='`cygpath -w "$srcfile"`'
13559 enable_shared_with_static_runtimes_F77=yes
13562 darwin* | rhapsody*)
13563 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13564 archive_cmds_need_lc_F77=no
13566 rhapsody* | darwin1.[012])
13567 allow_undefined_flag_F77='-undefined suppress'
13570 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13573 # FIXME: Relying on posixy $() will cause problems for
13574 # cross-compilation, but unfortunately the echo tests do not
13575 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13576 # `"' quotes if we put them in here... so don't!
13577 lt_int_apple_cc_single_mod=no
13578 output_verbose_link_cmd='echo'
13579 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13580 lt_int_apple_cc_single_mod=yes
13582 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13583 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13585 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'
13587 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13588 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13589 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13590 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}'
13592 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}'
13594 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}'
13595 hardcode_direct_F77=no
13596 hardcode_automatic_F77=yes
13597 hardcode_shlibpath_var_F77=unsupported
13598 whole_archive_flag_spec_F77='-all_load $convenience'
13599 link_all_deplibs_F77=yes
13604 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13605 hardcode_libdir_flag_spec_F77='-L$libdir'
13606 hardcode_shlibpath_var_F77=no
13613 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13614 # support. Future versions do this automatically, but an explicit c++rt0.o
13615 # does not break anything, and helps significantly (at the cost of a little
13618 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13619 hardcode_libdir_flag_spec_F77='-R$libdir'
13620 hardcode_direct_F77=yes
13621 hardcode_shlibpath_var_F77=no
13624 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13626 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13627 hardcode_direct_F77=yes
13628 hardcode_minus_L_F77=yes
13629 hardcode_shlibpath_var_F77=no
13632 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13634 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13635 hardcode_libdir_flag_spec_F77='-R$libdir'
13636 hardcode_direct_F77=yes
13637 hardcode_shlibpath_var_F77=no
13641 if test "$GCC" = yes; then
13642 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'
13644 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'
13646 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13647 hardcode_libdir_separator_F77=:
13648 hardcode_direct_F77=yes
13650 # hardcode_minus_L: Not really in the search PATH,
13651 # but as the default location of the library.
13652 hardcode_minus_L_F77=yes
13653 export_dynamic_flag_spec_F77='${wl}-E'
13657 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13658 case "$host_cpu" in
13660 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13663 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13667 case "$host_cpu" in
13669 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13672 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13676 if test "$with_gnu_ld" = no; then
13677 case "$host_cpu" in
13679 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13680 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13681 hardcode_libdir_separator_F77=:
13682 hardcode_direct_F77=no
13683 hardcode_shlibpath_var_F77=no
13686 hardcode_libdir_flag_spec_F77='-L$libdir'
13687 hardcode_direct_F77=no
13688 hardcode_shlibpath_var_F77=no
13690 # hardcode_minus_L: Not really in the search PATH,
13691 # but as the default location of the library.
13692 hardcode_minus_L_F77=yes
13695 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13696 hardcode_libdir_separator_F77=:
13697 hardcode_direct_F77=yes
13698 export_dynamic_flag_spec_F77='${wl}-E'
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
13708 irix5* | irix6* | nonstopux*)
13709 if test "$GCC" = yes; then
13710 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'
13712 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'
13713 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13715 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13716 hardcode_libdir_separator_F77=:
13717 link_all_deplibs_F77=yes
13721 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13722 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13724 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13726 hardcode_libdir_flag_spec_F77='-R$libdir'
13727 hardcode_direct_F77=yes
13728 hardcode_shlibpath_var_F77=no
13732 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13733 hardcode_direct_F77=yes
13734 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13735 hardcode_libdir_separator_F77=:
13736 hardcode_shlibpath_var_F77=no
13740 hardcode_direct_F77=yes
13741 hardcode_shlibpath_var_F77=no
13742 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13743 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13744 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13745 export_dynamic_flag_spec_F77='${wl}-E'
13748 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13749 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13750 hardcode_libdir_flag_spec_F77='-R$libdir'
13753 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13754 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13761 hardcode_libdir_flag_spec_F77='-L$libdir'
13762 hardcode_minus_L_F77=yes
13763 allow_undefined_flag_F77=unsupported
13764 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'
13765 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13769 if test "$GCC" = yes; then
13770 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13771 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'
13773 allow_undefined_flag_F77=' -expect_unresolved \*'
13774 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'
13776 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13777 hardcode_libdir_separator_F77=:
13780 osf4* | osf5*) # as osf3* with the addition of -msym flag
13781 if test "$GCC" = yes; then
13782 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13783 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'
13784 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13786 allow_undefined_flag_F77=' -expect_unresolved \*'
13787 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'
13788 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~
13789 $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'
13791 # Both c and cxx compiler support -rpath directly
13792 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13794 hardcode_libdir_separator_F77=:
13798 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13799 hardcode_shlibpath_var_F77=no
13800 export_dynamic_flag_spec_F77='${wl}-Bexport'
13801 runpath_var=LD_RUN_PATH
13802 hardcode_runpath_var=yes
13806 no_undefined_flag_F77=' -z text'
13807 if test "$GCC" = yes; then
13808 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13809 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13810 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13812 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13813 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13814 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13816 hardcode_libdir_flag_spec_F77='-R$libdir'
13817 hardcode_shlibpath_var_F77=no
13819 solaris2.[0-5] | solaris2.[0-5].*) ;;
13820 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13821 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13823 link_all_deplibs_F77=yes
13827 if test "x$host_vendor" = xsequent; then
13828 # Use $CC to link under sequent, because it throws in some extra .o
13829 # files that make .init and .fini sections work.
13830 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13832 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13834 hardcode_libdir_flag_spec_F77='-L$libdir'
13835 hardcode_direct_F77=yes
13836 hardcode_minus_L_F77=yes
13837 hardcode_shlibpath_var_F77=no
13841 case $host_vendor in
13843 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13844 hardcode_direct_F77=yes # is this really true???
13847 ## LD is ld it makes a PLAMLIB
13848 ## CC just makes a GrossModule.
13849 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13850 reload_cmds_F77='$CC -r -o $output$reload_objs'
13851 hardcode_direct_F77=no
13854 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13855 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13858 runpath_var='LD_RUN_PATH'
13859 hardcode_shlibpath_var_F77=no
13863 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13864 hardcode_shlibpath_var_F77=no
13865 export_dynamic_flag_spec_F77='-Bexport'
13869 if test -d /usr/nec; then
13870 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13871 hardcode_shlibpath_var_F77=no
13872 runpath_var=LD_RUN_PATH
13873 hardcode_runpath_var=yes
13879 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13880 hardcode_direct_F77=yes
13881 hardcode_minus_L_F77=no
13882 hardcode_shlibpath_var_F77=no
13883 hardcode_runpath_var=yes
13884 runpath_var=LD_RUN_PATH
13887 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13888 no_undefined_flag_F77='${wl}-z ${wl}text'
13889 if test "$GCC" = yes; then
13890 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13892 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13894 runpath_var='LD_RUN_PATH'
13895 hardcode_shlibpath_var_F77=no
13899 no_undefined_flag_F77=' -z text'
13900 # $CC -shared without GNU ld will not create a library from C++
13901 # object files and a static libstdc++, better avoid it by now
13902 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13903 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13904 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13905 hardcode_libdir_flag_spec_F77=
13906 hardcode_shlibpath_var_F77=no
13907 runpath_var='LD_RUN_PATH'
13911 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13912 hardcode_libdir_flag_spec_F77='-L$libdir'
13913 hardcode_shlibpath_var_F77=no
13922 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13923 echo "${ECHO_T}$ld_shlibs_F77" >&6
13924 test "$ld_shlibs_F77" = no && can_build_shared=no
13926 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13927 if test "$GCC" = yes; then
13928 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13932 # Do we need to explicitly link libc?
13934 case "x$archive_cmds_need_lc_F77" in
13936 # Assume -lc should be added
13937 archive_cmds_need_lc_F77=yes
13939 if test "$enable_shared" = yes && test "$GCC" = yes; then
13940 case $archive_cmds_F77 in
13942 # FIXME: we may have to deal with multi-command sequences.
13945 # Test whether the compiler implicitly links with -lc since on some
13946 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13947 # to ld, don't add -lc before -lgcc.
13948 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13949 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13951 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13954 (eval $ac_compile) 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } 2>conftest.err; then
13960 libobjs=conftest.$ac_objext
13962 wl=$lt_prog_compiler_wl_F77
13968 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13969 allow_undefined_flag_F77=
13970 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13971 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }
13976 archive_cmds_need_lc_F77=no
13978 archive_cmds_need_lc_F77=yes
13980 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13982 cat conftest.err 1>&5
13985 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13986 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13993 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13994 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13995 hardcode_action_F77=
13996 if test -n "$hardcode_libdir_flag_spec_F77" || \
13997 test -n "$runpath_var F77" || \
13998 test "X$hardcode_automatic_F77"="Xyes" ; then
14000 # We can hardcode non-existant directories.
14001 if test "$hardcode_direct_F77" != no &&
14002 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14003 # have to relink, otherwise we might link with an installed library
14004 # when we should be linking with a yet-to-be-installed one
14005 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14006 test "$hardcode_minus_L_F77" != no; then
14007 # Linking always hardcodes the temporary library directory.
14008 hardcode_action_F77=relink
14010 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14011 hardcode_action_F77=immediate
14014 # We cannot hardcode anything, or else we can only hardcode existing
14016 hardcode_action_F77=unsupported
14018 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14019 echo "${ECHO_T}$hardcode_action_F77" >&6
14021 if test "$hardcode_action_F77" = relink; then
14022 # Fast installation is not supported
14023 enable_fast_install=no
14024 elif test "$shlibpath_overrides_runpath" = yes ||
14025 test "$enable_shared" = no; then
14026 # Fast installation is not necessary
14027 enable_fast_install=needless
14032 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14033 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14034 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14035 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14036 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14037 echo "$as_me:$LINENO: result: yes" >&5
14038 echo "${ECHO_T}yes" >&6
14040 # FIXME - insert some real tests, host_os isn't really good enough
14043 if test -n "$STRIP" ; then
14044 striplib="$STRIP -x"
14045 echo "$as_me:$LINENO: result: yes" >&5
14046 echo "${ECHO_T}yes" >&6
14048 echo "$as_me:$LINENO: result: no" >&5
14049 echo "${ECHO_T}no" >&6
14053 echo "$as_me:$LINENO: result: no" >&5
14054 echo "${ECHO_T}no" >&6
14059 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14060 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14061 library_names_spec=
14062 libname_spec='lib$name'
14066 postuninstall_cmds=
14070 shlibpath_overrides_runpath=unknown
14072 dynamic_linker="$host_os ld.so"
14073 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14074 if test "$GCC" = yes; then
14075 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14076 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14077 # if the path contains ";" then we assume it to be the separator
14078 # otherwise default to the standard path separator (i.e. ":") - it is
14079 # assumed that no part of a normal pathname contains ";" but that should
14080 # okay in the real world where ";" in dirpaths is itself problematic.
14081 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14083 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14086 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14088 need_lib_prefix=unknown
14089 hardcode_into_libs=no
14091 # when you set need_version to no, make sure it does not cause -set_version
14092 # flags to be left without arguments
14093 need_version=unknown
14098 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14099 shlibpath_var=LIBPATH
14101 # AIX 3 has no versioning support, so we append a major version to the name.
14102 soname_spec='${libname}${release}${shared_ext}$major'
14109 hardcode_into_libs=yes
14110 if test "$host_cpu" = ia64; then
14111 # AIX 5 supports IA64
14112 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14113 shlibpath_var=LD_LIBRARY_PATH
14115 # With GCC up to 2.95.x, collect2 would create an import file
14116 # for dependence libraries. The import file would start with
14117 # the line `#! .'. This would cause the generated library to
14118 # depend on `.', always an invalid library. This was fixed in
14119 # development snapshots of GCC prior to 3.0.
14121 aix4 | aix4.[01] | aix4.[01].*)
14122 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14124 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14127 can_build_shared=no
14131 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14132 # soname into executable. Probably we can add versioning support to
14133 # collect2, so additional links can be useful in future.
14134 if test "$aix_use_runtimelinking" = yes; then
14135 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14136 # instead of lib<name>.a to let people know that these are not
14137 # typical AIX shared libraries.
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14140 # We preserve .a as extension for shared libraries through AIX4.2
14141 # and later when we are not doing run time linking.
14142 library_names_spec='${libname}${release}.a $libname.a'
14143 soname_spec='${libname}${release}${shared_ext}$major'
14145 shlibpath_var=LIBPATH
14150 library_names_spec='$libname.ixlibrary $libname.a'
14151 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14152 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'
14156 library_names_spec='${libname}${shared_ext}'
14157 dynamic_linker="$host_os ld.so"
14158 shlibpath_var=LIBRARY_PATH
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14165 soname_spec='${libname}${release}${shared_ext}$major'
14166 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14167 shlibpath_var=LD_LIBRARY_PATH
14168 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14169 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14170 # the default ld.so.conf also contains /usr/contrib/lib and
14171 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14172 # libtool to hard-code these into programs
14175 cygwin* | mingw* | pw32*)
14176 version_type=windows
14181 case $GCC,$host_os in
14182 yes,cygwin* | yes,mingw* | yes,pw32*)
14183 library_names_spec='$libname.dll.a'
14184 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14185 postinstall_cmds='base_file=`basename \${file}`~
14186 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14187 dldir=$destdir/`dirname \$dlpath`~
14188 test -d \$dldir || mkdir -p \$dldir~
14189 $install_prog $dir/$dlname \$dldir/$dlname'
14190 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14191 dlpath=$dir/\$dldll~
14193 shlibpath_overrides_runpath=yes
14197 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14198 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14199 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14202 # MinGW DLLs use traditional 'lib' prefix
14203 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14204 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14205 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14206 # It is most probably a Windows format PATH printed by
14207 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14208 # path with ; separators, and with drive letters. We can handle the
14209 # drive letters (cygwin fileutils understands them), so leave them,
14210 # especially as we might pass files found there to a mingw objdump,
14211 # which wouldn't understand a cygwinified path. Ahh.
14212 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14214 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14218 # pw32 DLLs use 'pw' prefix rather than 'lib'
14219 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14225 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14228 dynamic_linker='Win32 ld.exe'
14229 # FIXME: first we should search . and the directory the executable is in
14233 darwin* | rhapsody*)
14234 dynamic_linker="$host_os dyld"
14235 version_type=darwin
14238 # FIXME: Relying on posixy $() will cause problems for
14239 # cross-compilation, but unfortunately the echo tests do not
14240 # yet detect zsh echo's removal of \ escapes.
14241 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14242 soname_spec='${libname}${release}${major}$shared_ext'
14243 shlibpath_overrides_runpath=yes
14244 shlibpath_var=DYLD_LIBRARY_PATH
14245 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14246 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14247 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14248 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"`
14250 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14258 soname_spec='${libname}${release}${shared_ext}$major'
14259 shlibpath_var=LD_LIBRARY_PATH
14267 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14268 version_type=freebsd-$objformat
14269 case $version_type in
14271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14276 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14280 shlibpath_var=LD_LIBRARY_PATH
14283 shlibpath_overrides_runpath=yes
14285 freebsd3.01* | freebsdelf3.01*)
14286 shlibpath_overrides_runpath=yes
14287 hardcode_into_libs=yes
14290 shlibpath_overrides_runpath=no
14291 hardcode_into_libs=yes
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14301 soname_spec='${libname}${release}${shared_ext}$major'
14302 shlibpath_var=LD_LIBRARY_PATH
14303 hardcode_into_libs=yes
14306 hpux9* | hpux10* | hpux11*)
14307 # Give a soname corresponding to the major version so that dld.sl refuses to
14308 # link against other versions.
14312 case "$host_cpu" in
14315 hardcode_into_libs=yes
14316 dynamic_linker="$host_os dld.so"
14317 shlibpath_var=LD_LIBRARY_PATH
14318 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14320 soname_spec='${libname}${release}${shared_ext}$major'
14321 if test "X$HPUX_IA64_MODE" = X32; then
14322 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14324 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14326 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14330 hardcode_into_libs=yes
14331 dynamic_linker="$host_os dld.sl"
14332 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14333 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335 soname_spec='${libname}${release}${shared_ext}$major'
14336 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14337 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14341 dynamic_linker="$host_os dld.sl"
14342 shlibpath_var=SHLIB_PATH
14343 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14345 soname_spec='${libname}${release}${shared_ext}$major'
14348 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14349 postinstall_cmds='chmod 555 $lib'
14352 irix5* | irix6* | nonstopux*)
14354 nonstopux*) version_type=nonstopux ;;
14356 if test "$lt_cv_prog_gnu_ld" = yes; then
14364 soname_spec='${libname}${release}${shared_ext}$major'
14365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14367 irix5* | nonstopux*)
14368 libsuff= shlibsuff=
14371 case $LD in # libtool.m4 will add one of these switches to LD
14372 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14373 libsuff= shlibsuff= libmagic=32-bit;;
14374 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14375 libsuff=32 shlibsuff=N32 libmagic=N32;;
14376 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14377 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14378 *) libsuff= shlibsuff= libmagic=never-match;;
14382 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14383 shlibpath_overrides_runpath=no
14384 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14385 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14386 hardcode_into_libs=yes
14389 # No shared lib support for Linux oldld, aout, or coff.
14390 linux*oldld* | linux*aout* | linux*coff*)
14394 # This must be Linux ELF.
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14402 shlibpath_var=LD_LIBRARY_PATH
14403 shlibpath_overrides_runpath=no
14404 # This implies no fast_install, which is unacceptable.
14405 # Some rework will be needed to allow for fast_install
14406 # before this can be enabled.
14407 hardcode_into_libs=yes
14409 # We used to test for /lib/ld.so.1 and disable shared libraries on
14410 # powerpc, because MkLinux only supported shared libraries with the
14411 # GNU dynamic linker. Since this was broken with cross compilers,
14412 # most powerpc-linux boxes support dynamic linking these days and
14413 # people can always --disable-shared, the test was removed, and we
14414 # assume the GNU/Linux dynamic linker is in use.
14415 dynamic_linker='GNU/Linux ld.so'
14422 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14424 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14425 dynamic_linker='NetBSD (a.out) ld.so'
14427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14428 soname_spec='${libname}${release}${shared_ext}$major'
14429 dynamic_linker='NetBSD ld.elf_so'
14431 shlibpath_var=LD_LIBRARY_PATH
14432 shlibpath_overrides_runpath=yes
14433 hardcode_into_libs=yes
14438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14439 shlibpath_var=LD_LIBRARY_PATH
14440 shlibpath_overrides_runpath=yes
14447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14448 soname_spec='${libname}${release}${shared_ext}$major'
14449 shlibpath_var=LD_LIBRARY_PATH
14450 shlibpath_overrides_runpath=yes
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14458 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14459 shlibpath_var=LD_LIBRARY_PATH
14460 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14462 openbsd2.[89] | openbsd2.[89].*)
14463 shlibpath_overrides_runpath=no
14466 shlibpath_overrides_runpath=yes
14470 shlibpath_overrides_runpath=yes
14475 libname_spec='$name'
14478 library_names_spec='$libname${shared_ext} $libname.a'
14479 dynamic_linker='OS/2 ld.exe'
14480 shlibpath_var=LIBPATH
14483 osf3* | osf4* | osf5*)
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14489 shlibpath_var=LD_LIBRARY_PATH
14490 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14491 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14496 soname_spec='${libname}${release}${shared_ext}$major'
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 shlibpath_var=LD_LIBRARY_PATH
14505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14506 soname_spec='${libname}${release}${shared_ext}$major'
14507 shlibpath_var=LD_LIBRARY_PATH
14508 shlibpath_overrides_runpath=yes
14509 hardcode_into_libs=yes
14510 # ldd complains unless libraries are executable
14511 postinstall_cmds='chmod +x $lib'
14516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14517 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14518 shlibpath_var=LD_LIBRARY_PATH
14519 shlibpath_overrides_runpath=yes
14520 if test "$with_gnu_ld" = yes; then
14526 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14529 soname_spec='${libname}${release}${shared_ext}$major'
14530 shlibpath_var=LD_LIBRARY_PATH
14531 case $host_vendor in
14533 shlibpath_overrides_runpath=no
14535 export_dynamic_flag_spec='${wl}-Blargedynsym'
14536 runpath_var=LD_RUN_PATH
14544 shlibpath_overrides_runpath=no
14545 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14551 if test -d /usr/nec ;then
14553 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14554 soname_spec='$libname${shared_ext}.$major'
14555 shlibpath_var=LD_LIBRARY_PATH
14561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14562 soname_spec='${libname}${release}${shared_ext}$major'
14563 shlibpath_var=LD_LIBRARY_PATH
14570 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14571 echo "${ECHO_T}$dynamic_linker" >&6
14572 test "$dynamic_linker" = no && can_build_shared=no
14575 # The else clause should only fire when bootstrapping the
14576 # libtool distribution, otherwise you forgot to ship ltmain.sh
14577 # with your package, and you will get complaints that there are
14578 # no rules to generate ltmain.sh.
14579 if test -f "$ltmain"; then
14580 # See if we are running on zsh, and set the options which allow our commands through
14581 # without removal of \ escapes.
14582 if test -n "${ZSH_VERSION+set}" ; then
14583 setopt NO_GLOB_SUBST
14585 # Now quote all the things that may contain metacharacters while being
14586 # careful not to overquote the AC_SUBSTed values. We take copies of the
14587 # variables and quote the copies for generation of the libtool script.
14588 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14589 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14590 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14591 deplibs_check_method reload_flag reload_cmds need_locks \
14592 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14593 lt_cv_sys_global_symbol_to_c_name_address \
14594 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14595 old_postinstall_cmds old_postuninstall_cmds \
14599 lt_prog_compiler_wl_F77 \
14600 lt_prog_compiler_pic_F77 \
14601 lt_prog_compiler_static_F77 \
14602 lt_prog_compiler_no_builtin_flag_F77 \
14603 export_dynamic_flag_spec_F77 \
14604 thread_safe_flag_spec_F77 \
14605 whole_archive_flag_spec_F77 \
14606 enable_shared_with_static_runtimes_F77 \
14607 old_archive_cmds_F77 \
14608 old_archive_from_new_cmds_F77 \
14609 predep_objects_F77 \
14610 postdep_objects_F77 \
14613 compiler_lib_search_path_F77 \
14615 archive_expsym_cmds_F77 \
14616 postinstall_cmds_F77 \
14617 postuninstall_cmds_F77 \
14618 old_archive_from_expsyms_cmds_F77 \
14619 allow_undefined_flag_F77 \
14620 no_undefined_flag_F77 \
14621 export_symbols_cmds_F77 \
14622 hardcode_libdir_flag_spec_F77 \
14623 hardcode_libdir_flag_spec_ld_F77 \
14624 hardcode_libdir_separator_F77 \
14625 hardcode_automatic_F77 \
14627 module_expsym_cmds_F77 \
14628 lt_cv_prog_compiler_c_o_F77 \
14629 exclude_expsyms_F77 \
14630 include_expsyms_F77; do
14633 old_archive_cmds_F77 | \
14634 old_archive_from_new_cmds_F77 | \
14635 archive_cmds_F77 | \
14636 archive_expsym_cmds_F77 | \
14637 module_cmds_F77 | \
14638 module_expsym_cmds_F77 | \
14639 old_archive_from_expsyms_cmds_F77 | \
14640 export_symbols_cmds_F77 | \
14641 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14642 postinstall_cmds | postuninstall_cmds | \
14643 old_postinstall_cmds | old_postuninstall_cmds | \
14644 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14645 # Double-quote double-evaled strings.
14646 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14649 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14655 *'\$0 --fallback-echo"')
14656 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14662 cat <<__EOF__ >> "$cfgfile"
14663 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14665 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14667 # Shell to use when invoking shell scripts.
14670 # Whether or not to build shared libraries.
14671 build_libtool_libs=$enable_shared
14673 # Whether or not to build static libraries.
14674 build_old_libs=$enable_static
14676 # Whether or not to add -lc for building shared libraries.
14677 build_libtool_need_lc=$archive_cmds_need_lc_F77
14679 # Whether or not to disallow shared libs when runtime libs are static
14680 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14682 # Whether or not to optimize for fast installation.
14683 fast_install=$enable_fast_install
14686 host_alias=$host_alias
14689 # An echo program that does not interpret backslashes.
14694 AR_FLAGS=$lt_AR_FLAGS
14699 # A language-specific compiler.
14700 CC=$lt_compiler_F77
14702 # Is the compiler the GNU C compiler?
14708 # The linker used to build libraries.
14711 # Whether we need hard or soft links.
14714 # A BSD-compatible nm program.
14717 # A symbol stripping program
14720 # Used to examine libraries when file_magic_cmd begins "file"
14721 MAGIC_CMD=$MAGIC_CMD
14723 # Used on cygwin: DLL creation program.
14726 # Used on cygwin: object dumper.
14729 # Used on cygwin: assembler.
14732 # The name of the directory that contains temporary libtool files.
14735 # How to create reloadable object files.
14736 reload_flag=$lt_reload_flag
14737 reload_cmds=$lt_reload_cmds
14739 # How to pass a linker flag through the compiler.
14740 wl=$lt_lt_prog_compiler_wl_F77
14742 # Object file suffix (normally "o").
14743 objext="$ac_objext"
14745 # Old archive suffix (normally "a").
14748 # Shared library suffix (normally ".so").
14751 # Executable file suffix (normally "").
14754 # Additional compiler flags for building library objects.
14755 pic_flag=$lt_lt_prog_compiler_pic_F77
14758 # What is the maximum length of a command?
14759 max_cmd_len=$lt_cv_sys_max_cmd_len
14761 # Does compiler simultaneously support -c and -o options?
14762 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14764 # Must we lock files when doing compilation ?
14765 need_locks=$lt_need_locks
14767 # Do we need the lib prefix for modules?
14768 need_lib_prefix=$need_lib_prefix
14770 # Do we need a version for libraries?
14771 need_version=$need_version
14773 # Whether dlopen is supported.
14774 dlopen_support=$enable_dlopen
14776 # Whether dlopen of programs is supported.
14777 dlopen_self=$enable_dlopen_self
14779 # Whether dlopen of statically linked programs is supported.
14780 dlopen_self_static=$enable_dlopen_self_static
14782 # Compiler flag to prevent dynamic linking.
14783 link_static_flag=$lt_lt_prog_compiler_static_F77
14785 # Compiler flag to turn off builtin functions.
14786 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14788 # Compiler flag to allow reflexive dlopens.
14789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14791 # Compiler flag to generate shared objects directly from archives.
14792 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14794 # Compiler flag to generate thread-safe objects.
14795 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14797 # Library versioning type.
14798 version_type=$version_type
14800 # Format of library name prefix.
14801 libname_spec=$lt_libname_spec
14803 # List of archive names. First name is the real one, the rest are links.
14804 # The last name is the one that the linker finds with -lNAME.
14805 library_names_spec=$lt_library_names_spec
14807 # The coded name of the library, if different from the real name.
14808 soname_spec=$lt_soname_spec
14810 # Commands used to build and install an old-style archive.
14812 old_archive_cmds=$lt_old_archive_cmds_F77
14813 old_postinstall_cmds=$lt_old_postinstall_cmds
14814 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14816 # Create an old-style archive from a shared archive.
14817 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14819 # Create a temporary old-style archive to link instead of a shared archive.
14820 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14822 # Commands used to build and install a shared archive.
14823 archive_cmds=$lt_archive_cmds_F77
14824 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14825 postinstall_cmds=$lt_postinstall_cmds
14826 postuninstall_cmds=$lt_postuninstall_cmds
14828 # Commands used to build a loadable module (assumed same as above if empty)
14829 module_cmds=$lt_module_cmds_F77
14830 module_expsym_cmds=$lt_module_expsym_cmds_F77
14832 # Commands to strip libraries.
14833 old_striplib=$lt_old_striplib
14834 striplib=$lt_striplib
14836 # Dependencies to place before the objects being linked to create a
14838 predep_objects=$lt_predep_objects_F77
14840 # Dependencies to place after the objects being linked to create a
14842 postdep_objects=$lt_postdep_objects_F77
14844 # Dependencies to place before the objects being linked to create a
14846 predeps=$lt_predeps_F77
14848 # Dependencies to place after the objects being linked to create a
14850 postdeps=$lt_postdeps_F77
14852 # The library search path used internally by the compiler when linking
14853 # a shared library.
14854 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14856 # Method to check whether dependent libraries are shared objects.
14857 deplibs_check_method=$lt_deplibs_check_method
14859 # Command to use when deplibs_check_method == file_magic.
14860 file_magic_cmd=$lt_file_magic_cmd
14862 # Flag that allows shared libraries with undefined symbols to be built.
14863 allow_undefined_flag=$lt_allow_undefined_flag_F77
14865 # Flag that forces no undefined symbols.
14866 no_undefined_flag=$lt_no_undefined_flag_F77
14868 # Commands used to finish a libtool library installation in a directory.
14869 finish_cmds=$lt_finish_cmds
14871 # Same as above, but a single script fragment to be evaled but not shown.
14872 finish_eval=$lt_finish_eval
14874 # Take the output of nm and produce a listing of raw symbols and C names.
14875 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14877 # Transform the output of nm in a proper C declaration
14878 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14880 # Transform the output of nm in a C name address pair
14881 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14883 # This is the shared library runtime path variable.
14884 runpath_var=$runpath_var
14886 # This is the shared library path variable.
14887 shlibpath_var=$shlibpath_var
14889 # Is shlibpath searched before the hard-coded library search path?
14890 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14892 # How to hardcode a shared library path into an executable.
14893 hardcode_action=$hardcode_action_F77
14895 # Whether we should hardcode library paths into libraries.
14896 hardcode_into_libs=$hardcode_into_libs
14898 # Flag to hardcode \$libdir into a binary during linking.
14899 # This must work even if \$libdir does not exist.
14900 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14902 # If ld is used when linking, flag to hardcode \$libdir into
14903 # a binary during linking. This must work even if \$libdir does
14905 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14907 # Whether we need a single -rpath flag with a separated argument.
14908 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14910 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14911 # resulting binary.
14912 hardcode_direct=$hardcode_direct_F77
14914 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14915 # resulting binary.
14916 hardcode_minus_L=$hardcode_minus_L_F77
14918 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14919 # the resulting binary.
14920 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14922 # Set to yes if building a shared library automatically hardcodes DIR into the library
14923 # and all subsequent libraries and executables linked against it.
14924 hardcode_automatic=$hardcode_automatic_F77
14926 # Variables whose values should be saved in libtool wrapper scripts and
14927 # restored at relink time.
14928 variables_saved_for_relink="$variables_saved_for_relink"
14930 # Whether libtool must link a program against all its dependency libraries.
14931 link_all_deplibs=$link_all_deplibs_F77
14933 # Compile-time system search path for libraries
14934 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14936 # Run-time system search path for libraries
14937 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14939 # Fix the shell variable \$srcfile for the compiler.
14940 fix_srcfile_path="$fix_srcfile_path_F77"
14942 # Set to yes if exported symbols are required.
14943 always_export_symbols=$always_export_symbols_F77
14945 # The commands to list exported symbols.
14946 export_symbols_cmds=$lt_export_symbols_cmds_F77
14948 # The commands to extract the exported symbol list from a shared archive.
14949 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14951 # Symbols that should not be listed in the preloaded symbols.
14952 exclude_expsyms=$lt_exclude_expsyms_F77
14954 # Symbols that must always be exported.
14955 include_expsyms=$lt_include_expsyms_F77
14957 # ### END LIBTOOL TAG CONFIG: $tagname
14963 # If there is no Makefile yet, we rely on a make rule to execute
14964 # `config.status --recheck' to rerun these tests and create the
14965 # libtool script then.
14966 test -f Makefile && make "$ltmain"
14971 ac_cpp='$CPP $CPPFLAGS'
14972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14984 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14988 # Source file extension for Java test sources.
14991 # Object file extension for compiled Java test sources.
14995 # Code to be used in simple compile tests
14996 lt_simple_compile_test_code="class foo {}\n"
14998 # Code to be used in simple link tests
14999 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15001 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15003 # If no C compiler was specified, use CC.
15006 # Allow CC to be a program name with arguments.
15010 # Allow CC to be a program name with arguments.
15016 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15017 archive_cmds_need_lc_GCJ=no
15020 ## There is no encapsulation within the following macros, do not change
15021 ## the running order or otherwise move them around unless you know exactly
15022 ## what you are doing...
15024 lt_prog_compiler_no_builtin_flag_GCJ=
15026 if test "$GCC" = yes; then
15027 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15029 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15030 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15031 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 lt_cv_prog_compiler_rtti_exceptions=no
15035 ac_outfile=conftest.$ac_objext
15036 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15037 lt_compiler_flag="-fno-rtti -fno-exceptions"
15038 # Insert the option either (1) after the last *FLAGS variable, or
15039 # (2) before a word containing "conftest.", or (3) at the end.
15040 # Note that $ac_compile itself does not contain backslashes and begins
15041 # with a dollar sign (not a hyphen), so the echo should work correctly.
15042 # The option is referenced via a variable to avoid confusing sed.
15043 lt_compile=`echo "$ac_compile" | $SED \
15044 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15045 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15046 -e 's:$: $lt_compiler_flag:'`
15047 (eval echo "\"\$as_me:15047: $lt_compile\"" >&5)
15048 (eval "$lt_compile" 2>conftest.err)
15050 cat conftest.err >&5
15051 echo "$as_me:15051: \$? = $ac_status" >&5
15052 if (exit $ac_status) && test -s "$ac_outfile"; then
15053 # The compiler can only warn and ignore the option if not recognized
15054 # So say no if there are warnings
15055 if test ! -s conftest.err; then
15056 lt_cv_prog_compiler_rtti_exceptions=yes
15062 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15063 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15065 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15066 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15073 lt_prog_compiler_wl_GCJ=
15074 lt_prog_compiler_pic_GCJ=
15075 lt_prog_compiler_static_GCJ=
15077 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15078 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15080 if test "$GCC" = yes; then
15081 lt_prog_compiler_wl_GCJ='-Wl,'
15082 lt_prog_compiler_static_GCJ='-static'
15086 # All AIX code is PIC.
15087 if test "$host_cpu" = ia64; then
15088 # AIX 5 now supports IA64 processor
15089 lt_prog_compiler_static_GCJ='-Bstatic'
15094 # FIXME: we need at least 68020 code to build shared libraries, but
15095 # adding the `-m68020' flag to GCC prevents building anything better,
15097 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15100 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15101 # PIC is the default for these OSes.
15104 mingw* | pw32* | os2*)
15105 # This hack is so that the source file can tell whether it is being
15106 # built for inclusion in a dll (and should export symbols for example).
15107 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15110 darwin* | rhapsody*)
15111 # PIC is the default on this platform
15112 # Common symbols not allowed in MH_DYLIB files
15113 lt_prog_compiler_pic_GCJ='-fno-common'
15117 # Just because we use GCC doesn't mean we suddenly get shared libraries
15118 # on systems that don't support them.
15119 lt_prog_compiler_can_build_shared_GCJ=no
15124 if test -d /usr/nec; then
15125 lt_prog_compiler_pic_GCJ=-Kconform_pic
15130 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15131 # not for PA HP-UX.
15132 case "$host_cpu" in
15137 lt_prog_compiler_pic_GCJ='-fPIC'
15143 lt_prog_compiler_pic_GCJ='-fPIC'
15147 # PORTME Check for flag to pass linker flags through the system compiler.
15150 lt_prog_compiler_wl_GCJ='-Wl,'
15151 if test "$host_cpu" = ia64; then
15152 # AIX 5 now supports IA64 processor
15153 lt_prog_compiler_static_GCJ='-Bstatic'
15155 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15159 mingw* | pw32* | os2*)
15160 # This hack is so that the source file can tell whether it is being
15161 # built for inclusion in a dll (and should export symbols for example).
15162 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15165 hpux9* | hpux10* | hpux11*)
15166 lt_prog_compiler_wl_GCJ='-Wl,'
15167 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15168 # not for PA HP-UX.
15169 case "$host_cpu" in
15174 lt_prog_compiler_pic_GCJ='+Z'
15177 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15178 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15181 irix5* | irix6* | nonstopux*)
15182 lt_prog_compiler_wl_GCJ='-Wl,'
15183 # PIC (with -KPIC) is the default.
15184 lt_prog_compiler_static_GCJ='-non_shared'
15188 lt_prog_compiler_pic_GCJ='-KPIC'
15189 lt_prog_compiler_static_GCJ='-Bstatic'
15195 lt_prog_compiler_wl_GCJ='-Wl,'
15196 lt_prog_compiler_pic_GCJ='-KPIC'
15197 lt_prog_compiler_static_GCJ='-static'
15200 lt_prog_compiler_wl_GCJ='-Wl,'
15201 # All Alpha code is PIC.
15202 lt_prog_compiler_static_GCJ='-non_shared'
15207 osf3* | osf4* | osf5*)
15208 lt_prog_compiler_wl_GCJ='-Wl,'
15209 # All OSF/1 code is PIC.
15210 lt_prog_compiler_static_GCJ='-non_shared'
15214 lt_prog_compiler_pic_GCJ='-Kpic'
15215 lt_prog_compiler_static_GCJ='-dn'
15219 lt_prog_compiler_wl_GCJ='-Wl,'
15220 lt_prog_compiler_pic_GCJ='-KPIC'
15221 lt_prog_compiler_static_GCJ='-Bstatic'
15225 lt_prog_compiler_wl_GCJ='-Qoption ld '
15226 lt_prog_compiler_pic_GCJ='-PIC'
15227 lt_prog_compiler_static_GCJ='-Bstatic'
15230 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15231 lt_prog_compiler_wl_GCJ='-Wl,'
15232 lt_prog_compiler_pic_GCJ='-KPIC'
15233 lt_prog_compiler_static_GCJ='-Bstatic'
15237 if test -d /usr/nec ;then
15238 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15239 lt_prog_compiler_static_GCJ='-Bstatic'
15244 lt_prog_compiler_pic_GCJ='-pic'
15245 lt_prog_compiler_static_GCJ='-Bstatic'
15249 lt_prog_compiler_can_build_shared_GCJ=no
15254 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15255 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15258 # Check to make sure the PIC flag actually works.
15260 if test -n "$lt_prog_compiler_pic_GCJ"; then
15261 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15262 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15263 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15264 echo $ECHO_N "(cached) $ECHO_C" >&6
15266 lt_prog_compiler_pic_works_GCJ=no
15267 ac_outfile=conftest.$ac_objext
15268 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15269 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15270 # Insert the option either (1) after the last *FLAGS variable, or
15271 # (2) before a word containing "conftest.", or (3) at the end.
15272 # Note that $ac_compile itself does not contain backslashes and begins
15273 # with a dollar sign (not a hyphen), so the echo should work correctly.
15274 # The option is referenced via a variable to avoid confusing sed.
15275 lt_compile=`echo "$ac_compile" | $SED \
15276 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15278 -e 's:$: $lt_compiler_flag:'`
15279 (eval echo "\"\$as_me:15279: $lt_compile\"" >&5)
15280 (eval "$lt_compile" 2>conftest.err)
15282 cat conftest.err >&5
15283 echo "$as_me:15283: \$? = $ac_status" >&5
15284 if (exit $ac_status) && test -s "$ac_outfile"; then
15285 # The compiler can only warn and ignore the option if not recognized
15286 # So say no if there are warnings
15287 if test ! -s conftest.err; then
15288 lt_prog_compiler_pic_works_GCJ=yes
15294 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15295 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15297 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15298 case $lt_prog_compiler_pic_GCJ in
15300 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15303 lt_prog_compiler_pic_GCJ=
15304 lt_prog_compiler_can_build_shared_GCJ=no
15309 # For platforms which do not support PIC, -DPIC is meaningless:
15311 lt_prog_compiler_pic_GCJ=
15314 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15318 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15319 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15320 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15321 echo $ECHO_N "(cached) $ECHO_C" >&6
15323 lt_cv_prog_compiler_c_o_GCJ=no
15324 $rm -r conftest 2>/dev/null
15328 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15330 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15331 # that will create temporary files in the current directory regardless of
15332 # the output directory. Thus, making CWD read-only will cause this test
15333 # to fail, enabling locking or at least warning the user not to do parallel
15337 lt_compiler_flag="-o out/conftest2.$ac_objext"
15338 # Insert the option either (1) after the last *FLAGS variable, or
15339 # (2) before a word containing "conftest.", or (3) at the end.
15340 # Note that $ac_compile itself does not contain backslashes and begins
15341 # with a dollar sign (not a hyphen), so the echo should work correctly.
15342 lt_compile=`echo "$ac_compile" | $SED \
15343 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15345 -e 's:$: $lt_compiler_flag:'`
15346 (eval echo "\"\$as_me:15346: $lt_compile\"" >&5)
15347 (eval "$lt_compile" 2>out/conftest.err)
15349 cat out/conftest.err >&5
15350 echo "$as_me:15350: \$? = $ac_status" >&5
15351 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15353 # The compiler can only warn and ignore the option if not recognized
15354 # So say no if there are warnings
15355 if test ! -s out/conftest.err; then
15356 lt_cv_prog_compiler_c_o_GCJ=yes
15360 $rm conftest* out/*
15367 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15368 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15371 hard_links="nottested"
15372 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15373 # do not overwrite the value of need_locks provided by the user
15374 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15375 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15378 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15380 ln conftest.a conftest.b 2>&5 || hard_links=no
15381 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15382 echo "$as_me:$LINENO: result: $hard_links" >&5
15383 echo "${ECHO_T}$hard_links" >&6
15384 if test "$hard_links" = no; then
15385 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15386 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15393 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15394 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15397 allow_undefined_flag_GCJ=
15398 enable_shared_with_static_runtimes_GCJ=no
15400 archive_expsym_cmds_GCJ=
15401 old_archive_From_new_cmds_GCJ=
15402 old_archive_from_expsyms_cmds_GCJ=
15403 export_dynamic_flag_spec_GCJ=
15404 whole_archive_flag_spec_GCJ=
15405 thread_safe_flag_spec_GCJ=
15406 hardcode_libdir_flag_spec_GCJ=
15407 hardcode_libdir_flag_spec_ld_GCJ=
15408 hardcode_libdir_separator_GCJ=
15409 hardcode_direct_GCJ=no
15410 hardcode_minus_L_GCJ=no
15411 hardcode_shlibpath_var_GCJ=unsupported
15412 link_all_deplibs_GCJ=unknown
15413 hardcode_automatic_GCJ=no
15415 module_expsym_cmds_GCJ=
15416 always_export_symbols_GCJ=no
15417 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15418 # include_expsyms should be a list of space-separated symbols to be *always*
15419 # included in the symbol list
15420 include_expsyms_GCJ=
15421 # exclude_expsyms can be an extended regexp of symbols to exclude
15422 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15423 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15424 # as well as any symbol that contains `d'.
15425 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15426 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15427 # platforms (ab)use it in PIC code, but their linkers get confused if
15428 # the symbol is explicitly referenced. Since portable code cannot
15429 # rely on this symbol name, it's probably fine to never include it in
15430 # preloaded symbol tables.
15431 extract_expsyms_cmds=
15434 cygwin* | mingw* | pw32*)
15435 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15436 # When not using gcc, we currently assume that we are using
15437 # Microsoft Visual C++.
15438 if test "$GCC" != yes; then
15448 if test "$with_gnu_ld" = yes; then
15449 # If archive_cmds runs LD, not CC, wlarc should be empty
15452 # See if GNU ld supports shared libraries.
15454 aix3* | aix4* | aix5*)
15455 # On AIX/PPC, the GNU linker is very broken
15456 if test "$host_cpu" != ia64; then
15460 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15461 *** to be unable to reliably create shared libraries on AIX.
15462 *** Therefore, libtool is disabling shared libraries support. If you
15463 *** really care for shared libraries, you may want to modify your PATH
15464 *** so that a non-GNU linker is found, and then restart.
15471 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)'
15472 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15473 hardcode_minus_L_GCJ=yes
15475 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15476 # that the semantics of dynamic libraries on AmigaOS, at least up
15477 # to version 4, is to share data among multiple programs linked
15478 # with the same dynamic library. Since this doesn't match the
15479 # behavior of shared libraries on other platforms, we can't use
15485 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15486 allow_undefined_flag_GCJ=unsupported
15487 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15488 # support --undefined. This deserves some investigation. FIXME
15489 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15495 cygwin* | mingw* | pw32*)
15496 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15497 # as there is no search path for DLLs.
15498 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15499 allow_undefined_flag_GCJ=unsupported
15500 always_export_symbols_GCJ=no
15501 enable_shared_with_static_runtimes_GCJ=yes
15502 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15504 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15505 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15506 # If the export-symbols file already is a .def file (1st line
15507 # is EXPORTS), use it as is; otherwise, prepend...
15508 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15509 cp $export_symbols $output_objdir/$soname.def;
15511 echo EXPORTS > $output_objdir/$soname.def;
15512 cat $export_symbols >> $output_objdir/$soname.def;
15514 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15521 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15522 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15525 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15526 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15531 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15535 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15536 *** create shared libraries on Solaris systems. Therefore, libtool
15537 *** is disabling shared libraries support. We urge you to upgrade GNU
15538 *** binutils to release 2.9.1 or newer. Another option is to modify
15539 *** your PATH or compiler configuration so that the native linker is
15540 *** used, and then restart.
15543 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15544 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15545 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15552 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15554 hardcode_direct_GCJ=yes
15555 hardcode_shlibpath_var_GCJ=no
15559 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15560 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15561 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15568 if test "$ld_shlibs_GCJ" = yes; then
15569 runpath_var=LD_RUN_PATH
15570 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15571 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15572 # ancient GNU ld didn't support --whole-archive et. al.
15573 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15574 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15576 whole_archive_flag_spec_GCJ=
15580 # PORTME fill in a description of your system's linker (not GNU ld)
15583 allow_undefined_flag_GCJ=unsupported
15584 always_export_symbols_GCJ=yes
15585 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'
15586 # Note: this linker hardcodes the directories in LIBPATH if there
15587 # are no directories specified by -L.
15588 hardcode_minus_L_GCJ=yes
15589 if test "$GCC" = yes && test -z "$link_static_flag"; then
15590 # Neither direct hardcoding nor static linking is supported with a
15592 hardcode_direct_GCJ=unsupported
15597 if test "$host_cpu" = ia64; then
15598 # On IA64, the linker does run time linking by default, so we don't
15599 # have to do anything special.
15600 aix_use_runtimelinking=no
15601 exp_sym_flag='-Bexport'
15604 # If we're using GNU nm, then we don't want the "-C" option.
15605 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15606 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15607 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'
15609 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'
15611 aix_use_runtimelinking=no
15613 # Test if we are trying to use run time linking or normal
15614 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15615 # need to do runtime linking.
15616 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15617 for ld_flag in $LDFLAGS; do
15618 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15619 aix_use_runtimelinking=yes
15625 exp_sym_flag='-bexport'
15626 no_entry_flag='-bnoentry'
15629 # When large executables or shared objects are built, AIX ld can
15630 # have problems creating the table of contents. If linking a library
15631 # or program results in "error TOC overflow" add -mminimal-toc to
15632 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15633 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15635 archive_cmds_GCJ=''
15636 hardcode_direct_GCJ=yes
15637 hardcode_libdir_separator_GCJ=':'
15638 link_all_deplibs_GCJ=yes
15640 if test "$GCC" = yes; then
15641 case $host_os in aix4.012|aix4.012.*)
15642 # We only want to do this on AIX 4.2 and lower, the check
15643 # below for broken collect2 doesn't work under 4.3+
15644 collect2name=`${CC} -print-prog-name=collect2`
15645 if test -f "$collect2name" && \
15646 strings "$collect2name" | grep resolve_lib_name >/dev/null
15648 # We have reworked collect2
15649 hardcode_direct_GCJ=yes
15651 # We have old collect2
15652 hardcode_direct_GCJ=unsupported
15653 # It fails to find uninstalled libraries when the uninstalled
15654 # path is not listed in the libpath. Setting hardcode_minus_L
15655 # to unsupported forces relinking
15656 hardcode_minus_L_GCJ=yes
15657 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15658 hardcode_libdir_separator_GCJ=
15661 shared_flag='-shared'
15664 if test "$host_cpu" = ia64; then
15665 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15666 # chokes on -Wl,-G. The following line is correct:
15669 if test "$aix_use_runtimelinking" = yes; then
15670 shared_flag='${wl}-G'
15672 shared_flag='${wl}-bM:SRE'
15677 # It seems that -bexpall does not export symbols beginning with
15678 # underscore (_), so it is better to generate a list of symbols to export.
15679 always_export_symbols_GCJ=yes
15680 if test "$aix_use_runtimelinking" = yes; then
15681 # Warning - without using the other runtime loading flags (-brtl),
15682 # -berok will link without error, but may produce a broken library.
15683 allow_undefined_flag_GCJ='-berok'
15684 # Determine the default libpath from the value encoded in an empty executable.
15685 cat >conftest.$ac_ext <<_ACEOF
15686 #line $LINENO "configure"
15689 cat confdefs.h >>conftest.$ac_ext
15690 cat >>conftest.$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15701 rm -f conftest.$ac_objext conftest$ac_exeext
15702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15703 (eval $ac_link) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try='test -s conftest$ac_exeext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15714 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15716 # Check for a 64-bit object if we didn't find anything.
15717 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; }
15720 echo "$as_me: failed program was:" >&5
15721 sed 's/^/| /' conftest.$ac_ext >&5
15724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15725 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15727 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15728 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"
15730 if test "$host_cpu" = ia64; then
15731 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15732 allow_undefined_flag_GCJ="-z nodefs"
15733 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"
15735 # Determine the default libpath from the value encoded in an empty executable.
15736 cat >conftest.$ac_ext <<_ACEOF
15737 #line $LINENO "configure"
15740 cat confdefs.h >>conftest.$ac_ext
15741 cat >>conftest.$ac_ext <<_ACEOF
15742 /* end confdefs.h. */
15752 rm -f conftest.$ac_objext conftest$ac_exeext
15753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15754 (eval $ac_link) 2>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } &&
15758 { ac_try='test -s conftest$ac_exeext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15765 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15767 # Check for a 64-bit object if we didn't find anything.
15768 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; }
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15776 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15778 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15779 # Warning - without using the other run time loading flags,
15780 # -berok will link without error, but may produce a broken library.
15781 no_undefined_flag_GCJ=' ${wl}-bernotok'
15782 allow_undefined_flag_GCJ=' ${wl}-berok'
15783 # -bexpall does not export symbols beginning with underscore (_)
15784 always_export_symbols_GCJ=yes
15785 # Exported symbols can be pulled into shared objects from archives
15786 whole_archive_flag_spec_GCJ=' '
15787 archive_cmds_need_lc_GCJ=yes
15788 # This is similar to how AIX traditionally builds it's shared libraries.
15789 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'
15795 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)'
15796 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15797 hardcode_minus_L_GCJ=yes
15798 # see comment about different semantics on the GNU ld section
15803 export_dynamic_flag_spec_GCJ=-rdynamic
15806 cygwin* | mingw* | pw32*)
15807 # When not using gcc, we currently assume that we are using
15808 # Microsoft Visual C++.
15809 # hardcode_libdir_flag_spec is actually meaningless, as there is
15810 # no search path for DLLs.
15811 hardcode_libdir_flag_spec_GCJ=' '
15812 allow_undefined_flag_GCJ=unsupported
15813 # Tell ltmain to make .lib files, not .a files.
15815 # Tell ltmain to make .dll files, not .so files.
15817 # FIXME: Setting linknames here is a bad hack.
15818 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15819 # The linker will automatically build a .lib file if we build a DLL.
15820 old_archive_From_new_cmds_GCJ='true'
15821 # FIXME: Should let the user specify the lib program.
15822 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15823 fix_srcfile_path='`cygpath -w "$srcfile"`'
15824 enable_shared_with_static_runtimes_GCJ=yes
15827 darwin* | rhapsody*)
15828 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15829 archive_cmds_need_lc_GCJ=no
15831 rhapsody* | darwin1.[012])
15832 allow_undefined_flag_GCJ='-undefined suppress'
15835 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15838 # FIXME: Relying on posixy $() will cause problems for
15839 # cross-compilation, but unfortunately the echo tests do not
15840 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15841 # `"' quotes if we put them in here... so don't!
15842 lt_int_apple_cc_single_mod=no
15843 output_verbose_link_cmd='echo'
15844 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15845 lt_int_apple_cc_single_mod=yes
15847 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15848 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15850 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'
15852 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15853 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15854 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15855 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}'
15857 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}'
15859 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}'
15860 hardcode_direct_GCJ=no
15861 hardcode_automatic_GCJ=yes
15862 hardcode_shlibpath_var_GCJ=unsupported
15863 whole_archive_flag_spec_GCJ='-all_load $convenience'
15864 link_all_deplibs_GCJ=yes
15869 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15870 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15871 hardcode_shlibpath_var_GCJ=no
15878 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15879 # support. Future versions do this automatically, but an explicit c++rt0.o
15880 # does not break anything, and helps significantly (at the cost of a little
15883 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15884 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15885 hardcode_direct_GCJ=yes
15886 hardcode_shlibpath_var_GCJ=no
15889 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15891 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15892 hardcode_direct_GCJ=yes
15893 hardcode_minus_L_GCJ=yes
15894 hardcode_shlibpath_var_GCJ=no
15897 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15899 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15900 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15901 hardcode_direct_GCJ=yes
15902 hardcode_shlibpath_var_GCJ=no
15906 if test "$GCC" = yes; then
15907 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'
15909 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'
15911 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15912 hardcode_libdir_separator_GCJ=:
15913 hardcode_direct_GCJ=yes
15915 # hardcode_minus_L: Not really in the search PATH,
15916 # but as the default location of the library.
15917 hardcode_minus_L_GCJ=yes
15918 export_dynamic_flag_spec_GCJ='${wl}-E'
15922 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15923 case "$host_cpu" in
15925 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15928 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15932 case "$host_cpu" in
15934 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15937 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15941 if test "$with_gnu_ld" = no; then
15942 case "$host_cpu" in
15944 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15945 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15946 hardcode_libdir_separator_GCJ=:
15947 hardcode_direct_GCJ=no
15948 hardcode_shlibpath_var_GCJ=no
15951 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15952 hardcode_direct_GCJ=no
15953 hardcode_shlibpath_var_GCJ=no
15955 # hardcode_minus_L: Not really in the search PATH,
15956 # but as the default location of the library.
15957 hardcode_minus_L_GCJ=yes
15960 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15961 hardcode_libdir_separator_GCJ=:
15962 hardcode_direct_GCJ=yes
15963 export_dynamic_flag_spec_GCJ='${wl}-E'
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
15973 irix5* | irix6* | nonstopux*)
15974 if test "$GCC" = yes; then
15975 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'
15977 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'
15978 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15980 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15981 hardcode_libdir_separator_GCJ=:
15982 link_all_deplibs_GCJ=yes
15986 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15987 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15989 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15991 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15992 hardcode_direct_GCJ=yes
15993 hardcode_shlibpath_var_GCJ=no
15997 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15998 hardcode_direct_GCJ=yes
15999 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16000 hardcode_libdir_separator_GCJ=:
16001 hardcode_shlibpath_var_GCJ=no
16005 hardcode_direct_GCJ=yes
16006 hardcode_shlibpath_var_GCJ=no
16007 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16008 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16009 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16010 export_dynamic_flag_spec_GCJ='${wl}-E'
16013 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16014 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16015 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16018 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16019 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16026 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16027 hardcode_minus_L_GCJ=yes
16028 allow_undefined_flag_GCJ=unsupported
16029 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'
16030 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16034 if test "$GCC" = yes; then
16035 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16036 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'
16038 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16039 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'
16041 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16042 hardcode_libdir_separator_GCJ=:
16045 osf4* | osf5*) # as osf3* with the addition of -msym flag
16046 if test "$GCC" = yes; then
16047 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16048 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'
16049 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16051 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16052 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'
16053 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~
16054 $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'
16056 # Both c and cxx compiler support -rpath directly
16057 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16059 hardcode_libdir_separator_GCJ=:
16063 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16064 hardcode_shlibpath_var_GCJ=no
16065 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16066 runpath_var=LD_RUN_PATH
16067 hardcode_runpath_var=yes
16071 no_undefined_flag_GCJ=' -z text'
16072 if test "$GCC" = yes; then
16073 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16074 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16075 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16077 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16078 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16079 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16081 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16082 hardcode_shlibpath_var_GCJ=no
16084 solaris2.[0-5] | solaris2.[0-5].*) ;;
16085 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16086 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16088 link_all_deplibs_GCJ=yes
16092 if test "x$host_vendor" = xsequent; then
16093 # Use $CC to link under sequent, because it throws in some extra .o
16094 # files that make .init and .fini sections work.
16095 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16097 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16099 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16100 hardcode_direct_GCJ=yes
16101 hardcode_minus_L_GCJ=yes
16102 hardcode_shlibpath_var_GCJ=no
16106 case $host_vendor in
16108 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16109 hardcode_direct_GCJ=yes # is this really true???
16112 ## LD is ld it makes a PLAMLIB
16113 ## CC just makes a GrossModule.
16114 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16115 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16116 hardcode_direct_GCJ=no
16119 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16120 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16123 runpath_var='LD_RUN_PATH'
16124 hardcode_shlibpath_var_GCJ=no
16128 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16129 hardcode_shlibpath_var_GCJ=no
16130 export_dynamic_flag_spec_GCJ='-Bexport'
16134 if test -d /usr/nec; then
16135 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16136 hardcode_shlibpath_var_GCJ=no
16137 runpath_var=LD_RUN_PATH
16138 hardcode_runpath_var=yes
16144 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16145 hardcode_direct_GCJ=yes
16146 hardcode_minus_L_GCJ=no
16147 hardcode_shlibpath_var_GCJ=no
16148 hardcode_runpath_var=yes
16149 runpath_var=LD_RUN_PATH
16152 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16153 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16154 if test "$GCC" = yes; then
16155 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16157 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16159 runpath_var='LD_RUN_PATH'
16160 hardcode_shlibpath_var_GCJ=no
16164 no_undefined_flag_GCJ=' -z text'
16165 # $CC -shared without GNU ld will not create a library from C++
16166 # object files and a static libstdc++, better avoid it by now
16167 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16168 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16169 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16170 hardcode_libdir_flag_spec_GCJ=
16171 hardcode_shlibpath_var_GCJ=no
16172 runpath_var='LD_RUN_PATH'
16176 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16177 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16178 hardcode_shlibpath_var_GCJ=no
16187 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16188 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16189 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16191 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16192 if test "$GCC" = yes; then
16193 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16197 # Do we need to explicitly link libc?
16199 case "x$archive_cmds_need_lc_GCJ" in
16201 # Assume -lc should be added
16202 archive_cmds_need_lc_GCJ=yes
16204 if test "$enable_shared" = yes && test "$GCC" = yes; then
16205 case $archive_cmds_GCJ in
16207 # FIXME: we may have to deal with multi-command sequences.
16210 # Test whether the compiler implicitly links with -lc since on some
16211 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16212 # to ld, don't add -lc before -lgcc.
16213 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16214 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16216 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16219 (eval $ac_compile) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } 2>conftest.err; then
16225 libobjs=conftest.$ac_objext
16227 wl=$lt_prog_compiler_wl_GCJ
16233 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16234 allow_undefined_flag_GCJ=
16235 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16236 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }
16241 archive_cmds_need_lc_GCJ=no
16243 archive_cmds_need_lc_GCJ=yes
16245 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16247 cat conftest.err 1>&5
16250 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16251 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16258 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16259 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16260 hardcode_action_GCJ=
16261 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16262 test -n "$runpath_var GCJ" || \
16263 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16265 # We can hardcode non-existant directories.
16266 if test "$hardcode_direct_GCJ" != no &&
16267 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16268 # have to relink, otherwise we might link with an installed library
16269 # when we should be linking with a yet-to-be-installed one
16270 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16271 test "$hardcode_minus_L_GCJ" != no; then
16272 # Linking always hardcodes the temporary library directory.
16273 hardcode_action_GCJ=relink
16275 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16276 hardcode_action_GCJ=immediate
16279 # We cannot hardcode anything, or else we can only hardcode existing
16281 hardcode_action_GCJ=unsupported
16283 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16284 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16286 if test "$hardcode_action_GCJ" = relink; then
16287 # Fast installation is not supported
16288 enable_fast_install=no
16289 elif test "$shlibpath_overrides_runpath" = yes ||
16290 test "$enable_shared" = no; then
16291 # Fast installation is not necessary
16292 enable_fast_install=needless
16297 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16298 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16299 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16300 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16301 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16302 echo "$as_me:$LINENO: result: yes" >&5
16303 echo "${ECHO_T}yes" >&6
16305 # FIXME - insert some real tests, host_os isn't really good enough
16308 if test -n "$STRIP" ; then
16309 striplib="$STRIP -x"
16310 echo "$as_me:$LINENO: result: yes" >&5
16311 echo "${ECHO_T}yes" >&6
16313 echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6
16318 echo "$as_me:$LINENO: result: no" >&5
16319 echo "${ECHO_T}no" >&6
16324 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16325 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16326 library_names_spec=
16327 libname_spec='lib$name'
16331 postuninstall_cmds=
16335 shlibpath_overrides_runpath=unknown
16337 dynamic_linker="$host_os ld.so"
16338 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16339 if test "$GCC" = yes; then
16340 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16341 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16342 # if the path contains ";" then we assume it to be the separator
16343 # otherwise default to the standard path separator (i.e. ":") - it is
16344 # assumed that no part of a normal pathname contains ";" but that should
16345 # okay in the real world where ";" in dirpaths is itself problematic.
16346 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16348 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16351 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16353 need_lib_prefix=unknown
16354 hardcode_into_libs=no
16356 # when you set need_version to no, make sure it does not cause -set_version
16357 # flags to be left without arguments
16358 need_version=unknown
16363 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16364 shlibpath_var=LIBPATH
16366 # AIX 3 has no versioning support, so we append a major version to the name.
16367 soname_spec='${libname}${release}${shared_ext}$major'
16374 hardcode_into_libs=yes
16375 if test "$host_cpu" = ia64; then
16376 # AIX 5 supports IA64
16377 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16378 shlibpath_var=LD_LIBRARY_PATH
16380 # With GCC up to 2.95.x, collect2 would create an import file
16381 # for dependence libraries. The import file would start with
16382 # the line `#! .'. This would cause the generated library to
16383 # depend on `.', always an invalid library. This was fixed in
16384 # development snapshots of GCC prior to 3.0.
16386 aix4 | aix4.[01] | aix4.[01].*)
16387 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16389 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16392 can_build_shared=no
16396 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16397 # soname into executable. Probably we can add versioning support to
16398 # collect2, so additional links can be useful in future.
16399 if test "$aix_use_runtimelinking" = yes; then
16400 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16401 # instead of lib<name>.a to let people know that these are not
16402 # typical AIX shared libraries.
16403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16405 # We preserve .a as extension for shared libraries through AIX4.2
16406 # and later when we are not doing run time linking.
16407 library_names_spec='${libname}${release}.a $libname.a'
16408 soname_spec='${libname}${release}${shared_ext}$major'
16410 shlibpath_var=LIBPATH
16415 library_names_spec='$libname.ixlibrary $libname.a'
16416 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16417 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'
16421 library_names_spec='${libname}${shared_ext}'
16422 dynamic_linker="$host_os ld.so"
16423 shlibpath_var=LIBRARY_PATH
16429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16430 soname_spec='${libname}${release}${shared_ext}$major'
16431 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16432 shlibpath_var=LD_LIBRARY_PATH
16433 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16434 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16435 # the default ld.so.conf also contains /usr/contrib/lib and
16436 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16437 # libtool to hard-code these into programs
16440 cygwin* | mingw* | pw32*)
16441 version_type=windows
16446 case $GCC,$host_os in
16447 yes,cygwin* | yes,mingw* | yes,pw32*)
16448 library_names_spec='$libname.dll.a'
16449 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16450 postinstall_cmds='base_file=`basename \${file}`~
16451 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16452 dldir=$destdir/`dirname \$dlpath`~
16453 test -d \$dldir || mkdir -p \$dldir~
16454 $install_prog $dir/$dlname \$dldir/$dlname'
16455 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16456 dlpath=$dir/\$dldll~
16458 shlibpath_overrides_runpath=yes
16462 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16463 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16464 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16467 # MinGW DLLs use traditional 'lib' prefix
16468 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16469 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16470 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16471 # It is most probably a Windows format PATH printed by
16472 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16473 # path with ; separators, and with drive letters. We can handle the
16474 # drive letters (cygwin fileutils understands them), so leave them,
16475 # especially as we might pass files found there to a mingw objdump,
16476 # which wouldn't understand a cygwinified path. Ahh.
16477 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16479 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16483 # pw32 DLLs use 'pw' prefix rather than 'lib'
16484 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16490 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16493 dynamic_linker='Win32 ld.exe'
16494 # FIXME: first we should search . and the directory the executable is in
16498 darwin* | rhapsody*)
16499 dynamic_linker="$host_os dyld"
16500 version_type=darwin
16503 # FIXME: Relying on posixy $() will cause problems for
16504 # cross-compilation, but unfortunately the echo tests do not
16505 # yet detect zsh echo's removal of \ escapes.
16506 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16507 soname_spec='${libname}${release}${major}$shared_ext'
16508 shlibpath_overrides_runpath=yes
16509 shlibpath_var=DYLD_LIBRARY_PATH
16510 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16511 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16512 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16513 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"`
16515 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16523 soname_spec='${libname}${release}${shared_ext}$major'
16524 shlibpath_var=LD_LIBRARY_PATH
16532 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16533 version_type=freebsd-$objformat
16534 case $version_type in
16536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16541 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16545 shlibpath_var=LD_LIBRARY_PATH
16548 shlibpath_overrides_runpath=yes
16550 freebsd3.01* | freebsdelf3.01*)
16551 shlibpath_overrides_runpath=yes
16552 hardcode_into_libs=yes
16555 shlibpath_overrides_runpath=no
16556 hardcode_into_libs=yes
16565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16566 soname_spec='${libname}${release}${shared_ext}$major'
16567 shlibpath_var=LD_LIBRARY_PATH
16568 hardcode_into_libs=yes
16571 hpux9* | hpux10* | hpux11*)
16572 # Give a soname corresponding to the major version so that dld.sl refuses to
16573 # link against other versions.
16577 case "$host_cpu" in
16580 hardcode_into_libs=yes
16581 dynamic_linker="$host_os dld.so"
16582 shlibpath_var=LD_LIBRARY_PATH
16583 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16585 soname_spec='${libname}${release}${shared_ext}$major'
16586 if test "X$HPUX_IA64_MODE" = X32; then
16587 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16589 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16591 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16595 hardcode_into_libs=yes
16596 dynamic_linker="$host_os dld.sl"
16597 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16598 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16600 soname_spec='${libname}${release}${shared_ext}$major'
16601 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16602 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16606 dynamic_linker="$host_os dld.sl"
16607 shlibpath_var=SHLIB_PATH
16608 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16610 soname_spec='${libname}${release}${shared_ext}$major'
16613 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16614 postinstall_cmds='chmod 555 $lib'
16617 irix5* | irix6* | nonstopux*)
16619 nonstopux*) version_type=nonstopux ;;
16621 if test "$lt_cv_prog_gnu_ld" = yes; then
16629 soname_spec='${libname}${release}${shared_ext}$major'
16630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16632 irix5* | nonstopux*)
16633 libsuff= shlibsuff=
16636 case $LD in # libtool.m4 will add one of these switches to LD
16637 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16638 libsuff= shlibsuff= libmagic=32-bit;;
16639 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16640 libsuff=32 shlibsuff=N32 libmagic=N32;;
16641 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16642 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16643 *) libsuff= shlibsuff= libmagic=never-match;;
16647 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16648 shlibpath_overrides_runpath=no
16649 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16650 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16651 hardcode_into_libs=yes
16654 # No shared lib support for Linux oldld, aout, or coff.
16655 linux*oldld* | linux*aout* | linux*coff*)
16659 # This must be Linux ELF.
16664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16665 soname_spec='${libname}${release}${shared_ext}$major'
16666 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16667 shlibpath_var=LD_LIBRARY_PATH
16668 shlibpath_overrides_runpath=no
16669 # This implies no fast_install, which is unacceptable.
16670 # Some rework will be needed to allow for fast_install
16671 # before this can be enabled.
16672 hardcode_into_libs=yes
16674 # We used to test for /lib/ld.so.1 and disable shared libraries on
16675 # powerpc, because MkLinux only supported shared libraries with the
16676 # GNU dynamic linker. Since this was broken with cross compilers,
16677 # most powerpc-linux boxes support dynamic linking these days and
16678 # people can always --disable-shared, the test was removed, and we
16679 # assume the GNU/Linux dynamic linker is in use.
16680 dynamic_linker='GNU/Linux ld.so'
16687 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16689 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16690 dynamic_linker='NetBSD (a.out) ld.so'
16692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16693 soname_spec='${libname}${release}${shared_ext}$major'
16694 dynamic_linker='NetBSD ld.elf_so'
16696 shlibpath_var=LD_LIBRARY_PATH
16697 shlibpath_overrides_runpath=yes
16698 hardcode_into_libs=yes
16703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16704 shlibpath_var=LD_LIBRARY_PATH
16705 shlibpath_overrides_runpath=yes
16712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16713 soname_spec='${libname}${release}${shared_ext}$major'
16714 shlibpath_var=LD_LIBRARY_PATH
16715 shlibpath_overrides_runpath=yes
16722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16723 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16724 shlibpath_var=LD_LIBRARY_PATH
16725 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16727 openbsd2.[89] | openbsd2.[89].*)
16728 shlibpath_overrides_runpath=no
16731 shlibpath_overrides_runpath=yes
16735 shlibpath_overrides_runpath=yes
16740 libname_spec='$name'
16743 library_names_spec='$libname${shared_ext} $libname.a'
16744 dynamic_linker='OS/2 ld.exe'
16745 shlibpath_var=LIBPATH
16748 osf3* | osf4* | osf5*)
16752 soname_spec='${libname}${release}${shared_ext}$major'
16753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16754 shlibpath_var=LD_LIBRARY_PATH
16755 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16756 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16761 soname_spec='${libname}${release}${shared_ext}$major'
16762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16763 shlibpath_var=LD_LIBRARY_PATH
16770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16771 soname_spec='${libname}${release}${shared_ext}$major'
16772 shlibpath_var=LD_LIBRARY_PATH
16773 shlibpath_overrides_runpath=yes
16774 hardcode_into_libs=yes
16775 # ldd complains unless libraries are executable
16776 postinstall_cmds='chmod +x $lib'
16781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16782 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16783 shlibpath_var=LD_LIBRARY_PATH
16784 shlibpath_overrides_runpath=yes
16785 if test "$with_gnu_ld" = yes; then
16791 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16794 soname_spec='${libname}${release}${shared_ext}$major'
16795 shlibpath_var=LD_LIBRARY_PATH
16796 case $host_vendor in
16798 shlibpath_overrides_runpath=no
16800 export_dynamic_flag_spec='${wl}-Blargedynsym'
16801 runpath_var=LD_RUN_PATH
16809 shlibpath_overrides_runpath=no
16810 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16816 if test -d /usr/nec ;then
16818 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16819 soname_spec='$libname${shared_ext}.$major'
16820 shlibpath_var=LD_LIBRARY_PATH
16826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16827 soname_spec='${libname}${release}${shared_ext}$major'
16828 shlibpath_var=LD_LIBRARY_PATH
16835 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16836 echo "${ECHO_T}$dynamic_linker" >&6
16837 test "$dynamic_linker" = no && can_build_shared=no
16839 if test "x$enable_dlopen" != xyes; then
16840 enable_dlopen=unknown
16841 enable_dlopen_self=unknown
16842 enable_dlopen_self_static=unknown
16849 lt_cv_dlopen="load_add_on"
16851 lt_cv_dlopen_self=yes
16855 lt_cv_dlopen="LoadLibrary"
16860 lt_cv_dlopen="dlopen"
16865 # if libdl is installed we need to link against it
16866 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16867 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16868 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16871 ac_check_lib_save_LIBS=$LIBS
16873 cat >conftest.$ac_ext <<_ACEOF
16874 #line $LINENO "configure"
16877 cat confdefs.h >>conftest.$ac_ext
16878 cat >>conftest.$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16881 /* Override any gcc2 internal prototype to avoid an error. */
16885 /* We use char because int might match the return type of a gcc2
16886 builtin and then its argument prototype would still apply. */
16896 rm -f conftest.$ac_objext conftest$ac_exeext
16897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16898 (eval $ac_link) 2>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } &&
16902 { ac_try='test -s conftest$ac_exeext'
16903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16904 (eval $ac_try) 2>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; }; then
16908 ac_cv_lib_dl_dlopen=yes
16910 echo "$as_me: failed program was:" >&5
16911 sed 's/^/| /' conftest.$ac_ext >&5
16913 ac_cv_lib_dl_dlopen=no
16915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16916 LIBS=$ac_check_lib_save_LIBS
16918 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16919 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16920 if test $ac_cv_lib_dl_dlopen = yes; then
16921 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16924 lt_cv_dlopen="dyld"
16926 lt_cv_dlopen_self=yes
16933 echo "$as_me:$LINENO: checking for shl_load" >&5
16934 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16935 if test "${ac_cv_func_shl_load+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 cat >conftest.$ac_ext <<_ACEOF
16939 #line $LINENO "configure"
16942 cat confdefs.h >>conftest.$ac_ext
16943 cat >>conftest.$ac_ext <<_ACEOF
16944 /* end confdefs.h. */
16945 /* System header to define __stub macros and hopefully few prototypes,
16946 which can conflict with char shl_load (); below.
16947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16948 <limits.h> exists even on freestanding compilers. */
16950 # include <limits.h>
16952 # include <assert.h>
16954 /* Override any gcc2 internal prototype to avoid an error. */
16959 /* We use char because int might match the return type of a gcc2
16960 builtin and then its argument prototype would still apply. */
16962 /* The GNU C library defines this for functions which it implements
16963 to always fail with ENOSYS. Some functions are actually named
16964 something starting with __ and the normal name is an alias. */
16965 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16968 char (*f) () = shl_load;
16977 return f != shl_load;
16982 rm -f conftest.$ac_objext conftest$ac_exeext
16983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16984 (eval $ac_link) 2>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } &&
16988 { ac_try='test -s conftest$ac_exeext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_cv_func_shl_load=yes
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.$ac_ext >&5
16999 ac_cv_func_shl_load=no
17001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17003 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17004 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17005 if test $ac_cv_func_shl_load = yes; then
17006 lt_cv_dlopen="shl_load"
17008 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17009 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17010 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17011 echo $ECHO_N "(cached) $ECHO_C" >&6
17013 ac_check_lib_save_LIBS=$LIBS
17015 cat >conftest.$ac_ext <<_ACEOF
17016 #line $LINENO "configure"
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17023 /* Override any gcc2 internal prototype to avoid an error. */
17027 /* We use char because int might match the return type of a gcc2
17028 builtin and then its argument prototype would still apply. */
17038 rm -f conftest.$ac_objext conftest$ac_exeext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17040 (eval $ac_link) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } &&
17044 { ac_try='test -s conftest$ac_exeext'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; }; then
17050 ac_cv_lib_dld_shl_load=yes
17052 echo "$as_me: failed program was:" >&5
17053 sed 's/^/| /' conftest.$ac_ext >&5
17055 ac_cv_lib_dld_shl_load=no
17057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17058 LIBS=$ac_check_lib_save_LIBS
17060 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17061 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17062 if test $ac_cv_lib_dld_shl_load = yes; then
17063 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17065 echo "$as_me:$LINENO: checking for dlopen" >&5
17066 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17067 if test "${ac_cv_func_dlopen+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 cat >conftest.$ac_ext <<_ACEOF
17071 #line $LINENO "configure"
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 /* System header to define __stub macros and hopefully few prototypes,
17078 which can conflict with char dlopen (); below.
17079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17080 <limits.h> exists even on freestanding compilers. */
17082 # include <limits.h>
17084 # include <assert.h>
17086 /* Override any gcc2 internal prototype to avoid an error. */
17091 /* We use char because int might match the return type of a gcc2
17092 builtin and then its argument prototype would still apply. */
17094 /* The GNU C library defines this for functions which it implements
17095 to always fail with ENOSYS. Some functions are actually named
17096 something starting with __ and the normal name is an alias. */
17097 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17100 char (*f) () = dlopen;
17109 return f != dlopen;
17114 rm -f conftest.$ac_objext conftest$ac_exeext
17115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17116 (eval $ac_link) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try='test -s conftest$ac_exeext'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; }; then
17126 ac_cv_func_dlopen=yes
17128 echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.$ac_ext >&5
17131 ac_cv_func_dlopen=no
17133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17135 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17136 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17137 if test $ac_cv_func_dlopen = yes; then
17138 lt_cv_dlopen="dlopen"
17140 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17141 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17142 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 ac_check_lib_save_LIBS=$LIBS
17147 cat >conftest.$ac_ext <<_ACEOF
17148 #line $LINENO "configure"
17151 cat confdefs.h >>conftest.$ac_ext
17152 cat >>conftest.$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17155 /* Override any gcc2 internal prototype to avoid an error. */
17159 /* We use char because int might match the return type of a gcc2
17160 builtin and then its argument prototype would still apply. */
17170 rm -f conftest.$ac_objext conftest$ac_exeext
17171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17172 (eval $ac_link) 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); } &&
17176 { ac_try='test -s conftest$ac_exeext'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; }; then
17182 ac_cv_lib_dl_dlopen=yes
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.$ac_ext >&5
17187 ac_cv_lib_dl_dlopen=no
17189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17190 LIBS=$ac_check_lib_save_LIBS
17192 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17193 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17194 if test $ac_cv_lib_dl_dlopen = yes; then
17195 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17197 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17198 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17199 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17200 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 ac_check_lib_save_LIBS=$LIBS
17203 LIBS="-lsvld $LIBS"
17204 cat >conftest.$ac_ext <<_ACEOF
17205 #line $LINENO "configure"
17208 cat confdefs.h >>conftest.$ac_ext
17209 cat >>conftest.$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17212 /* Override any gcc2 internal prototype to avoid an error. */
17216 /* We use char because int might match the return type of a gcc2
17217 builtin and then its argument prototype would still apply. */
17227 rm -f conftest.$ac_objext conftest$ac_exeext
17228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17229 (eval $ac_link) 2>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try='test -s conftest$ac_exeext'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; }; then
17239 ac_cv_lib_svld_dlopen=yes
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.$ac_ext >&5
17244 ac_cv_lib_svld_dlopen=no
17246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17247 LIBS=$ac_check_lib_save_LIBS
17249 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17250 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17251 if test $ac_cv_lib_svld_dlopen = yes; then
17252 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17254 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17255 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17256 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17257 echo $ECHO_N "(cached) $ECHO_C" >&6
17259 ac_check_lib_save_LIBS=$LIBS
17261 cat >conftest.$ac_ext <<_ACEOF
17262 #line $LINENO "configure"
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17269 /* Override any gcc2 internal prototype to avoid an error. */
17273 /* We use char because int might match the return type of a gcc2
17274 builtin and then its argument prototype would still apply. */
17284 rm -f conftest.$ac_objext conftest$ac_exeext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17286 (eval $ac_link) 2>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } &&
17290 { ac_try='test -s conftest$ac_exeext'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; }; then
17296 ac_cv_lib_dld_dld_link=yes
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.$ac_ext >&5
17301 ac_cv_lib_dld_dld_link=no
17303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17304 LIBS=$ac_check_lib_save_LIBS
17306 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17307 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17308 if test $ac_cv_lib_dld_dld_link = yes; then
17309 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17330 if test "x$lt_cv_dlopen" != xno; then
17336 case $lt_cv_dlopen in
17338 save_CPPFLAGS="$CPPFLAGS"
17339 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17341 save_LDFLAGS="$LDFLAGS"
17342 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17345 LIBS="$lt_cv_dlopen_libs $LIBS"
17347 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17348 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17349 if test "${lt_cv_dlopen_self+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 if test "$cross_compiling" = yes; then :
17353 lt_cv_dlopen_self=cross
17355 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17356 lt_status=$lt_dlunknown
17357 cat > conftest.$ac_ext <<EOF
17358 #line 17358 "configure"
17359 #include "confdefs.h"
17368 # define LT_DLGLOBAL RTLD_GLOBAL
17371 # define LT_DLGLOBAL DL_GLOBAL
17373 # define LT_DLGLOBAL 0
17377 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17378 find out it does not work in some platform. */
17379 #ifndef LT_DLLAZY_OR_NOW
17381 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17384 # define LT_DLLAZY_OR_NOW DL_LAZY
17387 # define LT_DLLAZY_OR_NOW RTLD_NOW
17390 # define LT_DLLAZY_OR_NOW DL_NOW
17392 # define LT_DLLAZY_OR_NOW 0
17400 extern "C" void exit (int);
17403 void fnord() { int i=42;}
17406 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17407 int status = $lt_dlunknown;
17411 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17412 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17413 /* dlclose (self); */
17419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17420 (eval $ac_link) 2>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17424 (./conftest; exit; ) 2>/dev/null
17426 case x$lt_status in
17427 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17428 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17429 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17432 # compilation failed
17433 lt_cv_dlopen_self=no
17440 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17441 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17443 if test "x$lt_cv_dlopen_self" = xyes; then
17444 LDFLAGS="$LDFLAGS $link_static_flag"
17445 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17446 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17447 if test "${lt_cv_dlopen_self_static+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17450 if test "$cross_compiling" = yes; then :
17451 lt_cv_dlopen_self_static=cross
17453 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17454 lt_status=$lt_dlunknown
17455 cat > conftest.$ac_ext <<EOF
17456 #line 17456 "configure"
17457 #include "confdefs.h"
17466 # define LT_DLGLOBAL RTLD_GLOBAL
17469 # define LT_DLGLOBAL DL_GLOBAL
17471 # define LT_DLGLOBAL 0
17475 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17476 find out it does not work in some platform. */
17477 #ifndef LT_DLLAZY_OR_NOW
17479 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17482 # define LT_DLLAZY_OR_NOW DL_LAZY
17485 # define LT_DLLAZY_OR_NOW RTLD_NOW
17488 # define LT_DLLAZY_OR_NOW DL_NOW
17490 # define LT_DLLAZY_OR_NOW 0
17498 extern "C" void exit (int);
17501 void fnord() { int i=42;}
17504 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17505 int status = $lt_dlunknown;
17509 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17510 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17511 /* dlclose (self); */
17517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17518 (eval $ac_link) 2>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17522 (./conftest; exit; ) 2>/dev/null
17524 case x$lt_status in
17525 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17526 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17527 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17530 # compilation failed
17531 lt_cv_dlopen_self_static=no
17538 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17539 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17542 CPPFLAGS="$save_CPPFLAGS"
17543 LDFLAGS="$save_LDFLAGS"
17548 case $lt_cv_dlopen_self in
17549 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17550 *) enable_dlopen_self=unknown ;;
17553 case $lt_cv_dlopen_self_static in
17554 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17555 *) enable_dlopen_self_static=unknown ;;
17560 # The else clause should only fire when bootstrapping the
17561 # libtool distribution, otherwise you forgot to ship ltmain.sh
17562 # with your package, and you will get complaints that there are
17563 # no rules to generate ltmain.sh.
17564 if test -f "$ltmain"; then
17565 # See if we are running on zsh, and set the options which allow our commands through
17566 # without removal of \ escapes.
17567 if test -n "${ZSH_VERSION+set}" ; then
17568 setopt NO_GLOB_SUBST
17570 # Now quote all the things that may contain metacharacters while being
17571 # careful not to overquote the AC_SUBSTed values. We take copies of the
17572 # variables and quote the copies for generation of the libtool script.
17573 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17574 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17575 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17576 deplibs_check_method reload_flag reload_cmds need_locks \
17577 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17578 lt_cv_sys_global_symbol_to_c_name_address \
17579 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17580 old_postinstall_cmds old_postuninstall_cmds \
17584 lt_prog_compiler_wl_GCJ \
17585 lt_prog_compiler_pic_GCJ \
17586 lt_prog_compiler_static_GCJ \
17587 lt_prog_compiler_no_builtin_flag_GCJ \
17588 export_dynamic_flag_spec_GCJ \
17589 thread_safe_flag_spec_GCJ \
17590 whole_archive_flag_spec_GCJ \
17591 enable_shared_with_static_runtimes_GCJ \
17592 old_archive_cmds_GCJ \
17593 old_archive_from_new_cmds_GCJ \
17594 predep_objects_GCJ \
17595 postdep_objects_GCJ \
17598 compiler_lib_search_path_GCJ \
17600 archive_expsym_cmds_GCJ \
17601 postinstall_cmds_GCJ \
17602 postuninstall_cmds_GCJ \
17603 old_archive_from_expsyms_cmds_GCJ \
17604 allow_undefined_flag_GCJ \
17605 no_undefined_flag_GCJ \
17606 export_symbols_cmds_GCJ \
17607 hardcode_libdir_flag_spec_GCJ \
17608 hardcode_libdir_flag_spec_ld_GCJ \
17609 hardcode_libdir_separator_GCJ \
17610 hardcode_automatic_GCJ \
17612 module_expsym_cmds_GCJ \
17613 lt_cv_prog_compiler_c_o_GCJ \
17614 exclude_expsyms_GCJ \
17615 include_expsyms_GCJ; do
17618 old_archive_cmds_GCJ | \
17619 old_archive_from_new_cmds_GCJ | \
17620 archive_cmds_GCJ | \
17621 archive_expsym_cmds_GCJ | \
17622 module_cmds_GCJ | \
17623 module_expsym_cmds_GCJ | \
17624 old_archive_from_expsyms_cmds_GCJ | \
17625 export_symbols_cmds_GCJ | \
17626 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17627 postinstall_cmds | postuninstall_cmds | \
17628 old_postinstall_cmds | old_postuninstall_cmds | \
17629 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17630 # Double-quote double-evaled strings.
17631 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17634 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17640 *'\$0 --fallback-echo"')
17641 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17647 cat <<__EOF__ >> "$cfgfile"
17648 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17650 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17652 # Shell to use when invoking shell scripts.
17655 # Whether or not to build shared libraries.
17656 build_libtool_libs=$enable_shared
17658 # Whether or not to build static libraries.
17659 build_old_libs=$enable_static
17661 # Whether or not to add -lc for building shared libraries.
17662 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17664 # Whether or not to disallow shared libs when runtime libs are static
17665 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17667 # Whether or not to optimize for fast installation.
17668 fast_install=$enable_fast_install
17671 host_alias=$host_alias
17674 # An echo program that does not interpret backslashes.
17679 AR_FLAGS=$lt_AR_FLAGS
17684 # A language-specific compiler.
17685 CC=$lt_compiler_GCJ
17687 # Is the compiler the GNU C compiler?
17693 # The linker used to build libraries.
17696 # Whether we need hard or soft links.
17699 # A BSD-compatible nm program.
17702 # A symbol stripping program
17705 # Used to examine libraries when file_magic_cmd begins "file"
17706 MAGIC_CMD=$MAGIC_CMD
17708 # Used on cygwin: DLL creation program.
17711 # Used on cygwin: object dumper.
17714 # Used on cygwin: assembler.
17717 # The name of the directory that contains temporary libtool files.
17720 # How to create reloadable object files.
17721 reload_flag=$lt_reload_flag
17722 reload_cmds=$lt_reload_cmds
17724 # How to pass a linker flag through the compiler.
17725 wl=$lt_lt_prog_compiler_wl_GCJ
17727 # Object file suffix (normally "o").
17728 objext="$ac_objext"
17730 # Old archive suffix (normally "a").
17733 # Shared library suffix (normally ".so").
17736 # Executable file suffix (normally "").
17739 # Additional compiler flags for building library objects.
17740 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17743 # What is the maximum length of a command?
17744 max_cmd_len=$lt_cv_sys_max_cmd_len
17746 # Does compiler simultaneously support -c and -o options?
17747 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17749 # Must we lock files when doing compilation ?
17750 need_locks=$lt_need_locks
17752 # Do we need the lib prefix for modules?
17753 need_lib_prefix=$need_lib_prefix
17755 # Do we need a version for libraries?
17756 need_version=$need_version
17758 # Whether dlopen is supported.
17759 dlopen_support=$enable_dlopen
17761 # Whether dlopen of programs is supported.
17762 dlopen_self=$enable_dlopen_self
17764 # Whether dlopen of statically linked programs is supported.
17765 dlopen_self_static=$enable_dlopen_self_static
17767 # Compiler flag to prevent dynamic linking.
17768 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17770 # Compiler flag to turn off builtin functions.
17771 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17773 # Compiler flag to allow reflexive dlopens.
17774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17776 # Compiler flag to generate shared objects directly from archives.
17777 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17779 # Compiler flag to generate thread-safe objects.
17780 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17782 # Library versioning type.
17783 version_type=$version_type
17785 # Format of library name prefix.
17786 libname_spec=$lt_libname_spec
17788 # List of archive names. First name is the real one, the rest are links.
17789 # The last name is the one that the linker finds with -lNAME.
17790 library_names_spec=$lt_library_names_spec
17792 # The coded name of the library, if different from the real name.
17793 soname_spec=$lt_soname_spec
17795 # Commands used to build and install an old-style archive.
17797 old_archive_cmds=$lt_old_archive_cmds_GCJ
17798 old_postinstall_cmds=$lt_old_postinstall_cmds
17799 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17801 # Create an old-style archive from a shared archive.
17802 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17804 # Create a temporary old-style archive to link instead of a shared archive.
17805 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17807 # Commands used to build and install a shared archive.
17808 archive_cmds=$lt_archive_cmds_GCJ
17809 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17810 postinstall_cmds=$lt_postinstall_cmds
17811 postuninstall_cmds=$lt_postuninstall_cmds
17813 # Commands used to build a loadable module (assumed same as above if empty)
17814 module_cmds=$lt_module_cmds_GCJ
17815 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17817 # Commands to strip libraries.
17818 old_striplib=$lt_old_striplib
17819 striplib=$lt_striplib
17821 # Dependencies to place before the objects being linked to create a
17823 predep_objects=$lt_predep_objects_GCJ
17825 # Dependencies to place after the objects being linked to create a
17827 postdep_objects=$lt_postdep_objects_GCJ
17829 # Dependencies to place before the objects being linked to create a
17831 predeps=$lt_predeps_GCJ
17833 # Dependencies to place after the objects being linked to create a
17835 postdeps=$lt_postdeps_GCJ
17837 # The library search path used internally by the compiler when linking
17838 # a shared library.
17839 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17841 # Method to check whether dependent libraries are shared objects.
17842 deplibs_check_method=$lt_deplibs_check_method
17844 # Command to use when deplibs_check_method == file_magic.
17845 file_magic_cmd=$lt_file_magic_cmd
17847 # Flag that allows shared libraries with undefined symbols to be built.
17848 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17850 # Flag that forces no undefined symbols.
17851 no_undefined_flag=$lt_no_undefined_flag_GCJ
17853 # Commands used to finish a libtool library installation in a directory.
17854 finish_cmds=$lt_finish_cmds
17856 # Same as above, but a single script fragment to be evaled but not shown.
17857 finish_eval=$lt_finish_eval
17859 # Take the output of nm and produce a listing of raw symbols and C names.
17860 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17862 # Transform the output of nm in a proper C declaration
17863 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17865 # Transform the output of nm in a C name address pair
17866 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17868 # This is the shared library runtime path variable.
17869 runpath_var=$runpath_var
17871 # This is the shared library path variable.
17872 shlibpath_var=$shlibpath_var
17874 # Is shlibpath searched before the hard-coded library search path?
17875 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17877 # How to hardcode a shared library path into an executable.
17878 hardcode_action=$hardcode_action_GCJ
17880 # Whether we should hardcode library paths into libraries.
17881 hardcode_into_libs=$hardcode_into_libs
17883 # Flag to hardcode \$libdir into a binary during linking.
17884 # This must work even if \$libdir does not exist.
17885 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17887 # If ld is used when linking, flag to hardcode \$libdir into
17888 # a binary during linking. This must work even if \$libdir does
17890 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17892 # Whether we need a single -rpath flag with a separated argument.
17893 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17895 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17896 # resulting binary.
17897 hardcode_direct=$hardcode_direct_GCJ
17899 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17900 # resulting binary.
17901 hardcode_minus_L=$hardcode_minus_L_GCJ
17903 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17904 # the resulting binary.
17905 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17907 # Set to yes if building a shared library automatically hardcodes DIR into the library
17908 # and all subsequent libraries and executables linked against it.
17909 hardcode_automatic=$hardcode_automatic_GCJ
17911 # Variables whose values should be saved in libtool wrapper scripts and
17912 # restored at relink time.
17913 variables_saved_for_relink="$variables_saved_for_relink"
17915 # Whether libtool must link a program against all its dependency libraries.
17916 link_all_deplibs=$link_all_deplibs_GCJ
17918 # Compile-time system search path for libraries
17919 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17921 # Run-time system search path for libraries
17922 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17924 # Fix the shell variable \$srcfile for the compiler.
17925 fix_srcfile_path="$fix_srcfile_path_GCJ"
17927 # Set to yes if exported symbols are required.
17928 always_export_symbols=$always_export_symbols_GCJ
17930 # The commands to list exported symbols.
17931 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17933 # The commands to extract the exported symbol list from a shared archive.
17934 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17936 # Symbols that should not be listed in the preloaded symbols.
17937 exclude_expsyms=$lt_exclude_expsyms_GCJ
17939 # Symbols that must always be exported.
17940 include_expsyms=$lt_include_expsyms_GCJ
17942 # ### END LIBTOOL TAG CONFIG: $tagname
17948 # If there is no Makefile yet, we rely on a make rule to execute
17949 # `config.status --recheck' to rerun these tests and create the
17950 # libtool script then.
17951 test -f Makefile && make "$ltmain"
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17972 # Source file extension for RC test sources.
17975 # Object file extension for compiled RC test sources.
17979 # Code to be used in simple compile tests
17980 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17982 # Code to be used in simple link tests
17983 lt_simple_link_test_code="$lt_simple_compile_test_code"
17985 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17987 # If no C compiler was specified, use CC.
17990 # Allow CC to be a program name with arguments.
17994 # Allow CC to be a program name with arguments.
17999 lt_cv_prog_compiler_c_o_RC=yes
18001 # The else clause should only fire when bootstrapping the
18002 # libtool distribution, otherwise you forgot to ship ltmain.sh
18003 # with your package, and you will get complaints that there are
18004 # no rules to generate ltmain.sh.
18005 if test -f "$ltmain"; then
18006 # See if we are running on zsh, and set the options which allow our commands through
18007 # without removal of \ escapes.
18008 if test -n "${ZSH_VERSION+set}" ; then
18009 setopt NO_GLOB_SUBST
18011 # Now quote all the things that may contain metacharacters while being
18012 # careful not to overquote the AC_SUBSTed values. We take copies of the
18013 # variables and quote the copies for generation of the libtool script.
18014 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18015 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18016 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18017 deplibs_check_method reload_flag reload_cmds need_locks \
18018 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18019 lt_cv_sys_global_symbol_to_c_name_address \
18020 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18021 old_postinstall_cmds old_postuninstall_cmds \
18025 lt_prog_compiler_wl_RC \
18026 lt_prog_compiler_pic_RC \
18027 lt_prog_compiler_static_RC \
18028 lt_prog_compiler_no_builtin_flag_RC \
18029 export_dynamic_flag_spec_RC \
18030 thread_safe_flag_spec_RC \
18031 whole_archive_flag_spec_RC \
18032 enable_shared_with_static_runtimes_RC \
18033 old_archive_cmds_RC \
18034 old_archive_from_new_cmds_RC \
18035 predep_objects_RC \
18036 postdep_objects_RC \
18039 compiler_lib_search_path_RC \
18041 archive_expsym_cmds_RC \
18042 postinstall_cmds_RC \
18043 postuninstall_cmds_RC \
18044 old_archive_from_expsyms_cmds_RC \
18045 allow_undefined_flag_RC \
18046 no_undefined_flag_RC \
18047 export_symbols_cmds_RC \
18048 hardcode_libdir_flag_spec_RC \
18049 hardcode_libdir_flag_spec_ld_RC \
18050 hardcode_libdir_separator_RC \
18051 hardcode_automatic_RC \
18053 module_expsym_cmds_RC \
18054 lt_cv_prog_compiler_c_o_RC \
18055 exclude_expsyms_RC \
18056 include_expsyms_RC; do
18059 old_archive_cmds_RC | \
18060 old_archive_from_new_cmds_RC | \
18061 archive_cmds_RC | \
18062 archive_expsym_cmds_RC | \
18064 module_expsym_cmds_RC | \
18065 old_archive_from_expsyms_cmds_RC | \
18066 export_symbols_cmds_RC | \
18067 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18068 postinstall_cmds | postuninstall_cmds | \
18069 old_postinstall_cmds | old_postuninstall_cmds | \
18070 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18071 # Double-quote double-evaled strings.
18072 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18075 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18081 *'\$0 --fallback-echo"')
18082 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18088 cat <<__EOF__ >> "$cfgfile"
18089 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18091 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18093 # Shell to use when invoking shell scripts.
18096 # Whether or not to build shared libraries.
18097 build_libtool_libs=$enable_shared
18099 # Whether or not to build static libraries.
18100 build_old_libs=$enable_static
18102 # Whether or not to add -lc for building shared libraries.
18103 build_libtool_need_lc=$archive_cmds_need_lc_RC
18105 # Whether or not to disallow shared libs when runtime libs are static
18106 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18108 # Whether or not to optimize for fast installation.
18109 fast_install=$enable_fast_install
18112 host_alias=$host_alias
18115 # An echo program that does not interpret backslashes.
18120 AR_FLAGS=$lt_AR_FLAGS
18125 # A language-specific compiler.
18128 # Is the compiler the GNU C compiler?
18134 # The linker used to build libraries.
18137 # Whether we need hard or soft links.
18140 # A BSD-compatible nm program.
18143 # A symbol stripping program
18146 # Used to examine libraries when file_magic_cmd begins "file"
18147 MAGIC_CMD=$MAGIC_CMD
18149 # Used on cygwin: DLL creation program.
18152 # Used on cygwin: object dumper.
18155 # Used on cygwin: assembler.
18158 # The name of the directory that contains temporary libtool files.
18161 # How to create reloadable object files.
18162 reload_flag=$lt_reload_flag
18163 reload_cmds=$lt_reload_cmds
18165 # How to pass a linker flag through the compiler.
18166 wl=$lt_lt_prog_compiler_wl_RC
18168 # Object file suffix (normally "o").
18169 objext="$ac_objext"
18171 # Old archive suffix (normally "a").
18174 # Shared library suffix (normally ".so").
18177 # Executable file suffix (normally "").
18180 # Additional compiler flags for building library objects.
18181 pic_flag=$lt_lt_prog_compiler_pic_RC
18184 # What is the maximum length of a command?
18185 max_cmd_len=$lt_cv_sys_max_cmd_len
18187 # Does compiler simultaneously support -c and -o options?
18188 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18190 # Must we lock files when doing compilation ?
18191 need_locks=$lt_need_locks
18193 # Do we need the lib prefix for modules?
18194 need_lib_prefix=$need_lib_prefix
18196 # Do we need a version for libraries?
18197 need_version=$need_version
18199 # Whether dlopen is supported.
18200 dlopen_support=$enable_dlopen
18202 # Whether dlopen of programs is supported.
18203 dlopen_self=$enable_dlopen_self
18205 # Whether dlopen of statically linked programs is supported.
18206 dlopen_self_static=$enable_dlopen_self_static
18208 # Compiler flag to prevent dynamic linking.
18209 link_static_flag=$lt_lt_prog_compiler_static_RC
18211 # Compiler flag to turn off builtin functions.
18212 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18214 # Compiler flag to allow reflexive dlopens.
18215 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18217 # Compiler flag to generate shared objects directly from archives.
18218 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18220 # Compiler flag to generate thread-safe objects.
18221 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18223 # Library versioning type.
18224 version_type=$version_type
18226 # Format of library name prefix.
18227 libname_spec=$lt_libname_spec
18229 # List of archive names. First name is the real one, the rest are links.
18230 # The last name is the one that the linker finds with -lNAME.
18231 library_names_spec=$lt_library_names_spec
18233 # The coded name of the library, if different from the real name.
18234 soname_spec=$lt_soname_spec
18236 # Commands used to build and install an old-style archive.
18238 old_archive_cmds=$lt_old_archive_cmds_RC
18239 old_postinstall_cmds=$lt_old_postinstall_cmds
18240 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18242 # Create an old-style archive from a shared archive.
18243 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18245 # Create a temporary old-style archive to link instead of a shared archive.
18246 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18248 # Commands used to build and install a shared archive.
18249 archive_cmds=$lt_archive_cmds_RC
18250 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18251 postinstall_cmds=$lt_postinstall_cmds
18252 postuninstall_cmds=$lt_postuninstall_cmds
18254 # Commands used to build a loadable module (assumed same as above if empty)
18255 module_cmds=$lt_module_cmds_RC
18256 module_expsym_cmds=$lt_module_expsym_cmds_RC
18258 # Commands to strip libraries.
18259 old_striplib=$lt_old_striplib
18260 striplib=$lt_striplib
18262 # Dependencies to place before the objects being linked to create a
18264 predep_objects=$lt_predep_objects_RC
18266 # Dependencies to place after the objects being linked to create a
18268 postdep_objects=$lt_postdep_objects_RC
18270 # Dependencies to place before the objects being linked to create a
18272 predeps=$lt_predeps_RC
18274 # Dependencies to place after the objects being linked to create a
18276 postdeps=$lt_postdeps_RC
18278 # The library search path used internally by the compiler when linking
18279 # a shared library.
18280 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18282 # Method to check whether dependent libraries are shared objects.
18283 deplibs_check_method=$lt_deplibs_check_method
18285 # Command to use when deplibs_check_method == file_magic.
18286 file_magic_cmd=$lt_file_magic_cmd
18288 # Flag that allows shared libraries with undefined symbols to be built.
18289 allow_undefined_flag=$lt_allow_undefined_flag_RC
18291 # Flag that forces no undefined symbols.
18292 no_undefined_flag=$lt_no_undefined_flag_RC
18294 # Commands used to finish a libtool library installation in a directory.
18295 finish_cmds=$lt_finish_cmds
18297 # Same as above, but a single script fragment to be evaled but not shown.
18298 finish_eval=$lt_finish_eval
18300 # Take the output of nm and produce a listing of raw symbols and C names.
18301 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18303 # Transform the output of nm in a proper C declaration
18304 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18306 # Transform the output of nm in a C name address pair
18307 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18309 # This is the shared library runtime path variable.
18310 runpath_var=$runpath_var
18312 # This is the shared library path variable.
18313 shlibpath_var=$shlibpath_var
18315 # Is shlibpath searched before the hard-coded library search path?
18316 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18318 # How to hardcode a shared library path into an executable.
18319 hardcode_action=$hardcode_action_RC
18321 # Whether we should hardcode library paths into libraries.
18322 hardcode_into_libs=$hardcode_into_libs
18324 # Flag to hardcode \$libdir into a binary during linking.
18325 # This must work even if \$libdir does not exist.
18326 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18328 # If ld is used when linking, flag to hardcode \$libdir into
18329 # a binary during linking. This must work even if \$libdir does
18331 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18333 # Whether we need a single -rpath flag with a separated argument.
18334 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18336 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18337 # resulting binary.
18338 hardcode_direct=$hardcode_direct_RC
18340 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18341 # resulting binary.
18342 hardcode_minus_L=$hardcode_minus_L_RC
18344 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18345 # the resulting binary.
18346 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18348 # Set to yes if building a shared library automatically hardcodes DIR into the library
18349 # and all subsequent libraries and executables linked against it.
18350 hardcode_automatic=$hardcode_automatic_RC
18352 # Variables whose values should be saved in libtool wrapper scripts and
18353 # restored at relink time.
18354 variables_saved_for_relink="$variables_saved_for_relink"
18356 # Whether libtool must link a program against all its dependency libraries.
18357 link_all_deplibs=$link_all_deplibs_RC
18359 # Compile-time system search path for libraries
18360 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18362 # Run-time system search path for libraries
18363 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18365 # Fix the shell variable \$srcfile for the compiler.
18366 fix_srcfile_path="$fix_srcfile_path_RC"
18368 # Set to yes if exported symbols are required.
18369 always_export_symbols=$always_export_symbols_RC
18371 # The commands to list exported symbols.
18372 export_symbols_cmds=$lt_export_symbols_cmds_RC
18374 # The commands to extract the exported symbol list from a shared archive.
18375 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18377 # Symbols that should not be listed in the preloaded symbols.
18378 exclude_expsyms=$lt_exclude_expsyms_RC
18380 # Symbols that must always be exported.
18381 include_expsyms=$lt_include_expsyms_RC
18383 # ### END LIBTOOL TAG CONFIG: $tagname
18389 # If there is no Makefile yet, we rely on a make rule to execute
18390 # `config.status --recheck' to rerun these tests and create the
18391 # libtool script then.
18392 test -f Makefile && make "$ltmain"
18397 ac_cpp='$CPP $CPPFLAGS'
18398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18407 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18408 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18409 { (exit 1); exit 1; }; }
18413 # Append the new tag name to the list of available tags.
18414 if test -n "$tagname" ; then
18415 available_tags="$available_tags $tagname"
18421 # Now substitute the updated list of available tags.
18422 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18423 mv "${ofile}T" "$ofile"
18427 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18428 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18429 { (exit 1); exit 1; }; }
18435 # This can be used to rebuild libtool when needed
18436 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18438 # Always use our own libtool.
18439 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18441 # Prevent multiple expansion
18463 # Extract the first word of "pwd", so it can be a program name with args.
18464 set dummy pwd; ac_word=$2
18465 echo "$as_me:$LINENO: checking for $ac_word" >&5
18466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18467 if test "${ac_cv_path_RPWD+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18472 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18476 for as_dir in $PATH
18479 test -z "$as_dir" && as_dir=.
18480 for ac_exec_ext in '' $ac_executable_extensions; do
18481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18482 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18489 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18493 RPWD=$ac_cv_path_RPWD
18495 if test -n "$RPWD"; then
18496 echo "$as_me:$LINENO: result: $RPWD" >&5
18497 echo "${ECHO_T}$RPWD" >&6
18499 echo "$as_me:$LINENO: result: no" >&5
18500 echo "${ECHO_T}no" >&6
18503 if test ${RPWD} = "false"
18505 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18506 echo "$as_me: error: pwd required but not found" >&2;}
18507 { (exit 1); exit 1; }; }
18510 # Extract the first word of "ar", so it can be a program name with args.
18511 set dummy ar; ac_word=$2
18512 echo "$as_me:$LINENO: checking for $ac_word" >&5
18513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18514 if test "${ac_cv_path_AR+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18523 for as_dir in $PATH
18526 test -z "$as_dir" && as_dir=.
18527 for ac_exec_ext in '' $ac_executable_extensions; do
18528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18529 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18536 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18542 if test -n "$AR"; then
18543 echo "$as_me:$LINENO: result: $AR" >&5
18544 echo "${ECHO_T}$AR" >&6
18546 echo "$as_me:$LINENO: result: no" >&5
18547 echo "${ECHO_T}no" >&6
18550 if test ${AR} = "false"
18552 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18553 echo "$as_me: error: ar required but not found" >&2;}
18554 { (exit 1); exit 1; }; }
18557 # Extract the first word of "sed", so it can be a program name with args.
18558 set dummy sed; ac_word=$2
18559 echo "$as_me:$LINENO: checking for $ac_word" >&5
18560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18561 if test "${ac_cv_path_SED+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18566 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18570 for as_dir in $PATH
18573 test -z "$as_dir" && as_dir=.
18574 for ac_exec_ext in '' $ac_executable_extensions; do
18575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18576 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18583 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18587 SED=$ac_cv_path_SED
18589 if test -n "$SED"; then
18590 echo "$as_me:$LINENO: result: $SED" >&5
18591 echo "${ECHO_T}$SED" >&6
18593 echo "$as_me:$LINENO: result: no" >&5
18594 echo "${ECHO_T}no" >&6
18597 if test ${SED} = "false"
18599 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18600 echo "$as_me: error: sed required but not found" >&2;}
18601 { (exit 1); exit 1; }; }
18604 # Extract the first word of "rm", so it can be a program name with args.
18605 set dummy rm; ac_word=$2
18606 echo "$as_me:$LINENO: checking for $ac_word" >&5
18607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18608 if test "${ac_cv_path_RM+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18613 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18617 for as_dir in $PATH
18620 test -z "$as_dir" && as_dir=.
18621 for ac_exec_ext in '' $ac_executable_extensions; do
18622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18623 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18630 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18636 if test -n "$RM"; then
18637 echo "$as_me:$LINENO: result: $RM" >&5
18638 echo "${ECHO_T}$RM" >&6
18640 echo "$as_me:$LINENO: result: no" >&5
18641 echo "${ECHO_T}no" >&6
18644 if test ${RM} = "false"
18646 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18647 echo "$as_me: error: rm required but not found" >&2;}
18648 { (exit 1); exit 1; }; }
18651 # Extract the first word of "echo", so it can be a program name with args.
18652 set dummy echo; ac_word=$2
18653 echo "$as_me:$LINENO: checking for $ac_word" >&5
18654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18655 if test "${ac_cv_path_ECHO+set}" = set; then
18656 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18664 for as_dir in $PATH
18667 test -z "$as_dir" && as_dir=.
18668 for ac_exec_ext in '' $ac_executable_extensions; do
18669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18670 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18677 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18681 ECHO=$ac_cv_path_ECHO
18683 if test -n "$ECHO"; then
18684 echo "$as_me:$LINENO: result: $ECHO" >&5
18685 echo "${ECHO_T}$ECHO" >&6
18687 echo "$as_me:$LINENO: result: no" >&5
18688 echo "${ECHO_T}no" >&6
18691 if test ${ECHO} = "false"
18693 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18694 echo "$as_me: error: echo required but not found" >&2;}
18695 { (exit 1); exit 1; }; }
18698 # Extract the first word of "mkdir", so it can be a program name with args.
18699 set dummy mkdir; ac_word=$2
18700 echo "$as_me:$LINENO: checking for $ac_word" >&5
18701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18702 if test "${ac_cv_path_MKDIR+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18711 for as_dir in $PATH
18714 test -z "$as_dir" && as_dir=.
18715 for ac_exec_ext in '' $ac_executable_extensions; do
18716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18717 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18724 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18728 MKDIR=$ac_cv_path_MKDIR
18730 if test -n "$MKDIR"; then
18731 echo "$as_me:$LINENO: result: $MKDIR" >&5
18732 echo "${ECHO_T}$MKDIR" >&6
18734 echo "$as_me:$LINENO: result: no" >&5
18735 echo "${ECHO_T}no" >&6
18738 if test ${MKDIR} = "false"
18740 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18741 echo "$as_me: error: mkdir required but not found" >&2;}
18742 { (exit 1); exit 1; }; }
18745 # Extract the first word of "date", so it can be a program name with args.
18746 set dummy date; ac_word=$2
18747 echo "$as_me:$LINENO: checking for $ac_word" >&5
18748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18749 if test "${ac_cv_path_DATE+set}" = set; then
18750 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18758 for as_dir in $PATH
18761 test -z "$as_dir" && as_dir=.
18762 for ac_exec_ext in '' $ac_executable_extensions; do
18763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18764 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18771 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18775 DATE=$ac_cv_path_DATE
18777 if test -n "$DATE"; then
18778 echo "$as_me:$LINENO: result: $DATE" >&5
18779 echo "${ECHO_T}$DATE" >&6
18781 echo "$as_me:$LINENO: result: no" >&5
18782 echo "${ECHO_T}no" >&6
18785 if test ${DATE} = "false"
18787 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18788 echo "$as_me: error: date required but not found" >&2;}
18789 { (exit 1); exit 1; }; }
18792 # Extract the first word of "mv", so it can be a program name with args.
18793 set dummy mv; ac_word=$2
18794 echo "$as_me:$LINENO: checking for $ac_word" >&5
18795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18796 if test "${ac_cv_path_MV+set}" = set; then
18797 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18805 for as_dir in $PATH
18808 test -z "$as_dir" && as_dir=.
18809 for ac_exec_ext in '' $ac_executable_extensions; do
18810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18811 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18818 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18824 if test -n "$MV"; then
18825 echo "$as_me:$LINENO: result: $MV" >&5
18826 echo "${ECHO_T}$MV" >&6
18828 echo "$as_me:$LINENO: result: no" >&5
18829 echo "${ECHO_T}no" >&6
18832 if test ${MV} = "false"
18834 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18835 echo "$as_me: error: mv required but not found" >&2;}
18836 { (exit 1); exit 1; }; }
18839 # Extract the first word of "dot", so it can be a program name with args.
18840 set dummy dot; ac_word=$2
18841 echo "$as_me:$LINENO: checking for $ac_word" >&5
18842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18843 if test "${ac_cv_path_DOT+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18852 for as_dir in $PATH
18855 test -z "$as_dir" && as_dir=.
18856 for ac_exec_ext in '' $ac_executable_extensions; do
18857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18858 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18865 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18869 DOT=$ac_cv_path_DOT
18871 if test -n "$DOT"; then
18872 echo "$as_me:$LINENO: result: $DOT" >&5
18873 echo "${ECHO_T}$DOT" >&6
18875 echo "$as_me:$LINENO: result: no" >&5
18876 echo "${ECHO_T}no" >&6
18880 # Extract the first word of "etags", so it can be a program name with args.
18881 set dummy etags; ac_word=$2
18882 echo "$as_me:$LINENO: checking for $ac_word" >&5
18883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18884 if test "${ac_cv_path_ETAGS+set}" = set; then
18885 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18893 for as_dir in $PATH
18896 test -z "$as_dir" && as_dir=.
18897 for ac_exec_ext in '' $ac_executable_extensions; do
18898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18899 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18906 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18910 ETAGS=$ac_cv_path_ETAGS
18912 if test -n "$ETAGS"; then
18913 echo "$as_me:$LINENO: result: $ETAGS" >&5
18914 echo "${ECHO_T}$ETAGS" >&6
18916 echo "$as_me:$LINENO: result: no" >&5
18917 echo "${ECHO_T}no" >&6
18921 # Extract the first word of "purify", so it can be a program name with args.
18922 set dummy purify; ac_word=$2
18923 echo "$as_me:$LINENO: checking for $ac_word" >&5
18924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18925 if test "${ac_cv_path_PURIFY+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18934 for as_dir in $PATH
18937 test -z "$as_dir" && as_dir=.
18938 for ac_exec_ext in '' $ac_executable_extensions; do
18939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18940 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18947 test -z "$ac_cv_path_PURIFY" && ac_cv_path_PURIFY="false"
18951 PURIFY=$ac_cv_path_PURIFY
18953 if test -n "$PURIFY"; then
18954 echo "$as_me:$LINENO: result: $PURIFY" >&5
18955 echo "${ECHO_T}$PURIFY" >&6
18957 echo "$as_me:$LINENO: result: no" >&5
18958 echo "${ECHO_T}no" >&6
18962 # Extract the first word of "python", so it can be a program name with args.
18963 set dummy python; ac_word=$2
18964 echo "$as_me:$LINENO: checking for $ac_word" >&5
18965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18966 if test "${ac_cv_path_PYTHON+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18971 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18975 for as_dir in $PATH
18978 test -z "$as_dir" && as_dir=.
18979 for ac_exec_ext in '' $ac_executable_extensions; do
18980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18981 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18988 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18992 PYTHON=$ac_cv_path_PYTHON
18994 if test -n "$PYTHON"; then
18995 echo "$as_me:$LINENO: result: $PYTHON" >&5
18996 echo "${ECHO_T}$PYTHON" >&6
18998 echo "$as_me:$LINENO: result: no" >&5
18999 echo "${ECHO_T}no" >&6
19002 if test ${PYTHON} = "false"
19004 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
19005 echo "$as_me: WARNING: python required but not found" >&2;}
19008 # Extract the first word of "qmtest", so it can be a program name with args.
19009 set dummy qmtest; ac_word=$2
19010 echo "$as_me:$LINENO: checking for $ac_word" >&5
19011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19012 if test "${ac_cv_path_QMTEST+set}" = set; then
19013 echo $ECHO_N "(cached) $ECHO_C" >&6
19017 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19021 for as_dir in $PATH
19024 test -z "$as_dir" && as_dir=.
19025 for ac_exec_ext in '' $ac_executable_extensions; do
19026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19027 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19034 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19038 QMTEST=$ac_cv_path_QMTEST
19040 if test -n "$QMTEST"; then
19041 echo "$as_me:$LINENO: result: $QMTEST" >&5
19042 echo "${ECHO_T}$QMTEST" >&6
19044 echo "$as_me:$LINENO: result: no" >&5
19045 echo "${ECHO_T}no" >&6
19048 if test ${QMTEST} = "false"
19050 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19051 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19054 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19055 pymajor=`echo $pyversion | cut -d. -f1`
19056 pyminor=`echo $pyversion | cut -d. -f2`
19058 if test "$pymajor" -ge "2"
19060 if test "$pymajor" -eq "2"
19062 if test "$pyminor" -lt "2"
19064 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19065 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19066 { (exit 1); exit 1; }; }
19070 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19071 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19072 { (exit 1); exit 1; }; }
19079 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19080 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19081 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19082 echo $ECHO_N "(cached) $ECHO_C" >&6
19084 ac_check_lib_save_LIBS=$LIBS
19086 cat >conftest.$ac_ext <<_ACEOF
19087 #line $LINENO "configure"
19090 cat confdefs.h >>conftest.$ac_ext
19091 cat >>conftest.$ac_ext <<_ACEOF
19092 /* end confdefs.h. */
19094 /* Override any gcc2 internal prototype to avoid an error. */
19098 /* We use char because int might match the return type of a gcc2
19099 builtin and then its argument prototype would still apply. */
19109 rm -f conftest.$ac_objext conftest$ac_exeext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19111 (eval $ac_link) 2>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } &&
19115 { ac_try='test -s conftest$ac_exeext'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; }; then
19121 ac_cv_lib_elf_elf_begin=yes
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19126 ac_cv_lib_elf_elf_begin=no
19128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19129 LIBS=$ac_check_lib_save_LIBS
19131 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19132 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19133 if test $ac_cv_lib_elf_elf_begin = yes; then
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_LIBELF 1
19143 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19144 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19145 if test "${ac_cv_search_dlopen+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
19148 ac_func_search_save_LIBS=$LIBS
19149 ac_cv_search_dlopen=no
19150 cat >conftest.$ac_ext <<_ACEOF
19151 #line $LINENO "configure"
19154 cat confdefs.h >>conftest.$ac_ext
19155 cat >>conftest.$ac_ext <<_ACEOF
19156 /* end confdefs.h. */
19158 /* Override any gcc2 internal prototype to avoid an error. */
19162 /* We use char because int might match the return type of a gcc2
19163 builtin and then its argument prototype would still apply. */
19173 rm -f conftest.$ac_objext conftest$ac_exeext
19174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19175 (eval $ac_link) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); } &&
19179 { ac_try='test -s conftest$ac_exeext'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; }; then
19185 ac_cv_search_dlopen="none required"
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19192 if test "$ac_cv_search_dlopen" = no; then
19193 for ac_lib in dl; do
19194 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19195 cat >conftest.$ac_ext <<_ACEOF
19196 #line $LINENO "configure"
19199 cat confdefs.h >>conftest.$ac_ext
19200 cat >>conftest.$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19203 /* Override any gcc2 internal prototype to avoid an error. */
19207 /* We use char because int might match the return type of a gcc2
19208 builtin and then its argument prototype would still apply. */
19218 rm -f conftest.$ac_objext conftest$ac_exeext
19219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19220 (eval $ac_link) 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } &&
19224 { ac_try='test -s conftest$ac_exeext'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_cv_search_dlopen="-l$ac_lib"
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19240 LIBS=$ac_func_search_save_LIBS
19242 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19243 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19244 if test "$ac_cv_search_dlopen" != no; then
19245 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19248 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19249 echo "$as_me: error: dlopen() required but not found" >&2;}
19250 { (exit 1); exit 1; }; }
19254 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19255 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19256 if test "${ac_cv_search_mallinfo+set}" = set; then
19257 echo $ECHO_N "(cached) $ECHO_C" >&6
19259 ac_func_search_save_LIBS=$LIBS
19260 ac_cv_search_mallinfo=no
19261 cat >conftest.$ac_ext <<_ACEOF
19262 #line $LINENO "configure"
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19269 /* Override any gcc2 internal prototype to avoid an error. */
19273 /* We use char because int might match the return type of a gcc2
19274 builtin and then its argument prototype would still apply. */
19284 rm -f conftest.$ac_objext conftest$ac_exeext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19286 (eval $ac_link) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } &&
19290 { ac_try='test -s conftest$ac_exeext'
19291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19292 (eval $ac_try) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; }; then
19296 ac_cv_search_mallinfo="none required"
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.$ac_ext >&5
19302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19303 if test "$ac_cv_search_mallinfo" = no; then
19304 for ac_lib in malloc; do
19305 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19306 cat >conftest.$ac_ext <<_ACEOF
19307 #line $LINENO "configure"
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19314 /* Override any gcc2 internal prototype to avoid an error. */
19318 /* We use char because int might match the return type of a gcc2
19319 builtin and then its argument prototype would still apply. */
19329 rm -f conftest.$ac_objext conftest$ac_exeext
19330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19331 (eval $ac_link) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try='test -s conftest$ac_exeext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 ac_cv_search_mallinfo="-l$ac_lib"
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19351 LIBS=$ac_func_search_save_LIBS
19353 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19354 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19355 if test "$ac_cv_search_mallinfo" != no; then
19356 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19357 cat >>confdefs.h <<\_ACEOF
19358 #define HAVE_MALLINFO 1
19365 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19366 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19367 if test "${ac_cv_header_stdc+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 cat >conftest.$ac_ext <<_ACEOF
19371 #line $LINENO "configure"
19374 cat confdefs.h >>conftest.$ac_ext
19375 cat >>conftest.$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 #include <stdlib.h>
19378 #include <stdarg.h>
19379 #include <string.h>
19390 rm -f conftest.$ac_objext
19391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19392 (eval $ac_compile) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19402 ac_cv_header_stdc=yes
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19407 ac_cv_header_stdc=no
19409 rm -f conftest.$ac_objext conftest.$ac_ext
19411 if test $ac_cv_header_stdc = yes; then
19412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19413 cat >conftest.$ac_ext <<_ACEOF
19414 #line $LINENO "configure"
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 #include <string.h>
19423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19424 $EGREP "memchr" >/dev/null 2>&1; then
19427 ac_cv_header_stdc=no
19433 if test $ac_cv_header_stdc = yes; then
19434 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19435 cat >conftest.$ac_ext <<_ACEOF
19436 #line $LINENO "configure"
19439 cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19442 #include <stdlib.h>
19445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19446 $EGREP "free" >/dev/null 2>&1; then
19449 ac_cv_header_stdc=no
19455 if test $ac_cv_header_stdc = yes; then
19456 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19457 if test "$cross_compiling" = yes; then
19460 cat >conftest.$ac_ext <<_ACEOF
19461 #line $LINENO "configure"
19464 cat confdefs.h >>conftest.$ac_ext
19465 cat >>conftest.$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19468 #if ((' ' & 0x0FF) == 0x020)
19469 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19470 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19472 # define ISLOWER(c) \
19473 (('a' <= (c) && (c) <= 'i') \
19474 || ('j' <= (c) && (c) <= 'r') \
19475 || ('s' <= (c) && (c) <= 'z'))
19476 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19479 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19484 for (i = 0; i < 256; i++)
19485 if (XOR (islower (i), ISLOWER (i))
19486 || toupper (i) != TOUPPER (i))
19491 rm -f conftest$ac_exeext
19492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19493 (eval $ac_link) 2>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; }; then
19504 echo "$as_me: program exited with status $ac_status" >&5
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19508 ( exit $ac_status )
19509 ac_cv_header_stdc=no
19511 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19515 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19516 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19517 if test $ac_cv_header_stdc = yes; then
19519 cat >>confdefs.h <<\_ACEOF
19520 #define STDC_HEADERS 1
19525 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19526 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19527 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19528 echo $ECHO_N "(cached) $ECHO_C" >&6
19530 cat >conftest.$ac_ext <<_ACEOF
19531 #line $LINENO "configure"
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #include <sys/types.h>
19538 #include <sys/wait.h>
19539 #ifndef WEXITSTATUS
19540 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19543 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19551 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19556 rm -f conftest.$ac_objext
19557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19558 (eval $ac_compile) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try='test -s conftest.$ac_objext'
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_cv_header_sys_wait_h=yes
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19573 ac_cv_header_sys_wait_h=no
19575 rm -f conftest.$ac_objext conftest.$ac_ext
19577 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19578 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19579 if test $ac_cv_header_sys_wait_h = yes; then
19581 cat >>confdefs.h <<\_ACEOF
19582 #define HAVE_SYS_WAIT_H 1
19596 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19600 echo "$as_me:$LINENO: checking for $ac_header" >&5
19601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19608 # Is the header compilable?
19609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19611 cat >conftest.$ac_ext <<_ACEOF
19612 #line $LINENO "configure"
19615 cat confdefs.h >>conftest.$ac_ext
19616 cat >>conftest.$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 $ac_includes_default
19619 #include <$ac_header>
19621 rm -f conftest.$ac_objext
19622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19623 (eval $ac_compile) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } &&
19627 { ac_try='test -s conftest.$ac_objext'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; }; then
19633 ac_header_compiler=yes
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19638 ac_header_compiler=no
19640 rm -f conftest.$ac_objext conftest.$ac_ext
19641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19642 echo "${ECHO_T}$ac_header_compiler" >&6
19644 # Is the header present?
19645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19647 cat >conftest.$ac_ext <<_ACEOF
19648 #line $LINENO "configure"
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 #include <$ac_header>
19656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19659 grep -v '^ *+' conftest.er1 >conftest.err
19661 cat conftest.err >&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); } >/dev/null; then
19664 if test -s conftest.err; then
19665 ac_cpp_err=$ac_c_preproc_warn_flag
19672 if test -z "$ac_cpp_err"; then
19673 ac_header_preproc=yes
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.$ac_ext >&5
19678 ac_header_preproc=no
19680 rm -f conftest.err conftest.$ac_ext
19681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19682 echo "${ECHO_T}$ac_header_preproc" >&6
19684 # So? What about this header?
19685 case $ac_header_compiler:$ac_header_preproc in
19687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19693 ## ------------------------------------ ##
19694 ## Report this to bug-autoconf@gnu.org. ##
19695 ## ------------------------------------ ##
19698 sed "s/^/$as_me: WARNING: /" >&2
19701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19709 ## ------------------------------------ ##
19710 ## Report this to bug-autoconf@gnu.org. ##
19711 ## ------------------------------------ ##
19714 sed "s/^/$as_me: WARNING: /" >&2
19717 echo "$as_me:$LINENO: checking for $ac_header" >&5
19718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 eval "$as_ac_Header=$ac_header_preproc"
19724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19729 cat >>confdefs.h <<_ACEOF
19730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19742 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19746 echo "$as_me:$LINENO: checking for $ac_header" >&5
19747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19754 # Is the header compilable?
19755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19757 cat >conftest.$ac_ext <<_ACEOF
19758 #line $LINENO "configure"
19761 cat confdefs.h >>conftest.$ac_ext
19762 cat >>conftest.$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19764 $ac_includes_default
19765 #include <$ac_header>
19767 rm -f conftest.$ac_objext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19769 (eval $ac_compile) 2>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } &&
19773 { ac_try='test -s conftest.$ac_objext'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19779 ac_header_compiler=yes
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.$ac_ext >&5
19784 ac_header_compiler=no
19786 rm -f conftest.$ac_objext conftest.$ac_ext
19787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19788 echo "${ECHO_T}$ac_header_compiler" >&6
19790 # Is the header present?
19791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19793 cat >conftest.$ac_ext <<_ACEOF
19794 #line $LINENO "configure"
19797 cat confdefs.h >>conftest.$ac_ext
19798 cat >>conftest.$ac_ext <<_ACEOF
19799 /* end confdefs.h. */
19800 #include <$ac_header>
19802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19803 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19805 grep -v '^ *+' conftest.er1 >conftest.err
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } >/dev/null; then
19810 if test -s conftest.err; then
19811 ac_cpp_err=$ac_c_preproc_warn_flag
19818 if test -z "$ac_cpp_err"; then
19819 ac_header_preproc=yes
19821 echo "$as_me: failed program was:" >&5
19822 sed 's/^/| /' conftest.$ac_ext >&5
19824 ac_header_preproc=no
19826 rm -f conftest.err conftest.$ac_ext
19827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19828 echo "${ECHO_T}$ac_header_preproc" >&6
19830 # So? What about this header?
19831 case $ac_header_compiler:$ac_header_preproc in
19833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19836 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19839 ## ------------------------------------ ##
19840 ## Report this to bug-autoconf@gnu.org. ##
19841 ## ------------------------------------ ##
19844 sed "s/^/$as_me: WARNING: /" >&2
19847 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19849 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19850 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19855 ## ------------------------------------ ##
19856 ## Report this to bug-autoconf@gnu.org. ##
19857 ## ------------------------------------ ##
19860 sed "s/^/$as_me: WARNING: /" >&2
19863 echo "$as_me:$LINENO: checking for $ac_header" >&5
19864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19866 echo $ECHO_N "(cached) $ECHO_C" >&6
19868 eval "$as_ac_Header=$ac_header_preproc"
19870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19875 cat >>confdefs.h <<_ACEOF
19876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19886 for ac_header in dlfcn.h link.h
19888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19890 echo "$as_me:$LINENO: checking for $ac_header" >&5
19891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19893 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19898 # Is the header compilable?
19899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19901 cat >conftest.$ac_ext <<_ACEOF
19902 #line $LINENO "configure"
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19908 $ac_includes_default
19909 #include <$ac_header>
19911 rm -f conftest.$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 ac_header_compiler=yes
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19928 ac_header_compiler=no
19930 rm -f conftest.$ac_objext conftest.$ac_ext
19931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19932 echo "${ECHO_T}$ac_header_compiler" >&6
19934 # Is the header present?
19935 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19937 cat >conftest.$ac_ext <<_ACEOF
19938 #line $LINENO "configure"
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 #include <$ac_header>
19946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19949 grep -v '^ *+' conftest.er1 >conftest.err
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } >/dev/null; then
19954 if test -s conftest.err; then
19955 ac_cpp_err=$ac_c_preproc_warn_flag
19962 if test -z "$ac_cpp_err"; then
19963 ac_header_preproc=yes
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19968 ac_header_preproc=no
19970 rm -f conftest.err conftest.$ac_ext
19971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19972 echo "${ECHO_T}$ac_header_preproc" >&6
19974 # So? What about this header?
19975 case $ac_header_compiler:$ac_header_preproc in
19977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19983 ## ------------------------------------ ##
19984 ## Report this to bug-autoconf@gnu.org. ##
19985 ## ------------------------------------ ##
19988 sed "s/^/$as_me: WARNING: /" >&2
19991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19999 ## ------------------------------------ ##
20000 ## Report this to bug-autoconf@gnu.org. ##
20001 ## ------------------------------------ ##
20004 sed "s/^/$as_me: WARNING: /" >&2
20007 echo "$as_me:$LINENO: checking for $ac_header" >&5
20008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20010 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 eval "$as_ac_Header=$ac_header_preproc"
20014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20019 cat >>confdefs.h <<_ACEOF
20020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20029 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20030 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20031 if test "${ac_cv_c_const+set}" = set; then
20032 echo $ECHO_N "(cached) $ECHO_C" >&6
20034 cat >conftest.$ac_ext <<_ACEOF
20035 #line $LINENO "configure"
20038 cat confdefs.h >>conftest.$ac_ext
20039 cat >>conftest.$ac_ext <<_ACEOF
20040 /* end confdefs.h. */
20045 /* FIXME: Include the comments suggested by Paul. */
20046 #ifndef __cplusplus
20047 /* Ultrix mips cc rejects this. */
20048 typedef int charset[2];
20050 /* SunOS 4.1.1 cc rejects this. */
20051 char const *const *ccp;
20053 /* NEC SVR4.0.2 mips cc rejects this. */
20054 struct point {int x, y;};
20055 static struct point const zero = {0,0};
20056 /* AIX XL C 1.02.0.0 rejects this.
20057 It does not let you subtract one const X* pointer from another in
20058 an arm of an if-expression whose if-part is not a constant
20060 const char *g = "string";
20061 ccp = &g + (g ? g-g : 0);
20062 /* HPUX 7.0 cc rejects these. */
20065 ccp = (char const *const *) p;
20066 { /* SCO 3.2v4 cc rejects this. */
20068 char const *s = 0 ? (char *) 0 : (char const *) 0;
20072 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20073 int x[] = {25, 17};
20074 const int *foo = &x[0];
20077 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20078 typedef const int *iptr;
20082 { /* AIX XL C 1.02.0.0 rejects this saying
20083 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20084 struct s { int j; const int *ap[3]; };
20085 struct s *b; b->j = 5;
20087 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20088 const int foo = 10;
20096 rm -f conftest.$ac_objext
20097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20098 (eval $ac_compile) 2>&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } &&
20102 { ac_try='test -s conftest.$ac_objext'
20103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; }; then
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20115 rm -f conftest.$ac_objext conftest.$ac_ext
20117 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20118 echo "${ECHO_T}$ac_cv_c_const" >&6
20119 if test $ac_cv_c_const = no; then
20121 cat >>confdefs.h <<\_ACEOF
20127 echo "$as_me:$LINENO: checking for inline" >&5
20128 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20129 if test "${ac_cv_c_inline+set}" = set; then
20130 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 for ac_kw in inline __inline__ __inline; do
20134 cat >conftest.$ac_ext <<_ACEOF
20135 #line $LINENO "configure"
20138 cat confdefs.h >>conftest.$ac_ext
20139 cat >>conftest.$ac_ext <<_ACEOF
20140 /* end confdefs.h. */
20141 #ifndef __cplusplus
20143 static $ac_kw foo_t static_foo () {return 0; }
20144 $ac_kw foo_t foo () {return 0; }
20148 rm -f conftest.$ac_objext
20149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20150 (eval $ac_compile) 2>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); } &&
20154 { ac_try='test -s conftest.$ac_objext'
20155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156 (eval $ac_try) 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; }; then
20160 ac_cv_c_inline=$ac_kw; break
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.$ac_ext >&5
20166 rm -f conftest.$ac_objext conftest.$ac_ext
20170 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20171 echo "${ECHO_T}$ac_cv_c_inline" >&6
20172 case $ac_cv_c_inline in
20175 cat >>confdefs.h <<\_ACEOF
20179 *) cat >>confdefs.h <<_ACEOF
20180 #define inline $ac_cv_c_inline
20186 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20187 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20188 if test "${ac_cv_c_bigendian+set}" = set; then
20189 echo $ECHO_N "(cached) $ECHO_C" >&6
20191 # See if sys/param.h defines the BYTE_ORDER macro.
20192 cat >conftest.$ac_ext <<_ACEOF
20193 #line $LINENO "configure"
20196 cat confdefs.h >>conftest.$ac_ext
20197 cat >>conftest.$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20199 #include <sys/types.h>
20200 #include <sys/param.h>
20205 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20206 bogus endian macros
20213 rm -f conftest.$ac_objext
20214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20215 (eval $ac_compile) 2>&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); } &&
20219 { ac_try='test -s conftest.$ac_objext'
20220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20221 (eval $ac_try) 2>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); }; }; then
20225 # It does; now see whether it defined to BIG_ENDIAN or not.
20226 cat >conftest.$ac_ext <<_ACEOF
20227 #line $LINENO "configure"
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 #include <sys/types.h>
20234 #include <sys/param.h>
20239 #if BYTE_ORDER != BIG_ENDIAN
20247 rm -f conftest.$ac_objext
20248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20249 (eval $ac_compile) 2>&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } &&
20253 { ac_try='test -s conftest.$ac_objext'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; }; then
20259 ac_cv_c_bigendian=yes
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20264 ac_cv_c_bigendian=no
20266 rm -f conftest.$ac_objext conftest.$ac_ext
20268 echo "$as_me: failed program was:" >&5
20269 sed 's/^/| /' conftest.$ac_ext >&5
20271 # It does not; compile a test program.
20272 if test "$cross_compiling" = yes; then
20273 # try to guess the endianness by grepping values into an object file
20274 ac_cv_c_bigendian=unknown
20275 cat >conftest.$ac_ext <<_ACEOF
20276 #line $LINENO "configure"
20279 cat confdefs.h >>conftest.$ac_ext
20280 cat >>conftest.$ac_ext <<_ACEOF
20281 /* end confdefs.h. */
20282 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20283 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20284 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20285 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20286 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20287 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20291 _ascii (); _ebcdic ();
20296 rm -f conftest.$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } &&
20302 { ac_try='test -s conftest.$ac_objext'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; }; then
20308 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20309 ac_cv_c_bigendian=yes
20311 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20312 if test "$ac_cv_c_bigendian" = unknown; then
20313 ac_cv_c_bigendian=no
20315 # finding both strings is unlikely to happen, but who knows?
20316 ac_cv_c_bigendian=unknown
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.$ac_ext >&5
20324 rm -f conftest.$ac_objext conftest.$ac_ext
20326 cat >conftest.$ac_ext <<_ACEOF
20327 #line $LINENO "configure"
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20336 /* Are we little or big endian? From Harbison&Steele. */
20340 char c[sizeof (long)];
20343 exit (u.c[sizeof (long) - 1] == 1);
20346 rm -f conftest$ac_exeext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20348 (eval $ac_link) 2>&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_cv_c_bigendian=no
20359 echo "$as_me: program exited with status $ac_status" >&5
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.$ac_ext >&5
20363 ( exit $ac_status )
20364 ac_cv_c_bigendian=yes
20366 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20369 rm -f conftest.$ac_objext conftest.$ac_ext
20371 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20372 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20373 case $ac_cv_c_bigendian in
20375 cat >>confdefs.h <<\_ACEOF
20376 #define ENDIAN_BIG 1
20380 cat >>confdefs.h <<\_ACEOF
20381 #define ENDIAN_LITTLE 1
20385 { { echo "$as_me:$LINENO: error: unknown endianness
20386 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20387 echo "$as_me: error: unknown endianness
20388 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20389 { (exit 1); exit 1; }; } ;;
20393 echo "$as_me:$LINENO: checking for pid_t" >&5
20394 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20395 if test "${ac_cv_type_pid_t+set}" = set; then
20396 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 cat >conftest.$ac_ext <<_ACEOF
20399 #line $LINENO "configure"
20402 cat confdefs.h >>conftest.$ac_ext
20403 cat >>conftest.$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 $ac_includes_default
20411 if (sizeof (pid_t))
20417 rm -f conftest.$ac_objext
20418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20419 (eval $ac_compile) 2>&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } &&
20423 { ac_try='test -s conftest.$ac_objext'
20424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20425 (eval $ac_try) 2>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); }; }; then
20429 ac_cv_type_pid_t=yes
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20434 ac_cv_type_pid_t=no
20436 rm -f conftest.$ac_objext conftest.$ac_ext
20438 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20439 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20440 if test $ac_cv_type_pid_t = yes; then
20444 cat >>confdefs.h <<_ACEOF
20450 echo "$as_me:$LINENO: checking for size_t" >&5
20451 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20452 if test "${ac_cv_type_size_t+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 cat >conftest.$ac_ext <<_ACEOF
20456 #line $LINENO "configure"
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 $ac_includes_default
20468 if (sizeof (size_t))
20474 rm -f conftest.$ac_objext
20475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20476 (eval $ac_compile) 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } &&
20480 { ac_try='test -s conftest.$ac_objext'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; }; then
20486 ac_cv_type_size_t=yes
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.$ac_ext >&5
20491 ac_cv_type_size_t=no
20493 rm -f conftest.$ac_objext conftest.$ac_ext
20495 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20496 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20497 if test $ac_cv_type_size_t = yes; then
20501 cat >>confdefs.h <<_ACEOF
20502 #define size_t unsigned
20507 echo "$as_me:$LINENO: checking for int64_t" >&5
20508 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20509 if test "${ac_cv_type_int64_t+set}" = set; then
20510 echo $ECHO_N "(cached) $ECHO_C" >&6
20512 cat >conftest.$ac_ext <<_ACEOF
20513 #line $LINENO "configure"
20516 cat confdefs.h >>conftest.$ac_ext
20517 cat >>conftest.$ac_ext <<_ACEOF
20518 /* end confdefs.h. */
20519 $ac_includes_default
20525 if (sizeof (int64_t))
20531 rm -f conftest.$ac_objext
20532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20533 (eval $ac_compile) 2>&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } &&
20537 { ac_try='test -s conftest.$ac_objext'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; }; then
20543 ac_cv_type_int64_t=yes
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.$ac_ext >&5
20548 ac_cv_type_int64_t=no
20550 rm -f conftest.$ac_objext conftest.$ac_ext
20552 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20553 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20554 if test $ac_cv_type_int64_t = yes; then
20556 cat >>confdefs.h <<_ACEOF
20557 #define HAVE_INT64_T 1
20562 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20563 echo "$as_me: error: Type int64_t required but not found" >&2;}
20564 { (exit 1); exit 1; }; }
20567 echo "$as_me:$LINENO: checking for uint64_t" >&5
20568 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20569 if test "${ac_cv_type_uint64_t+set}" = set; then
20570 echo $ECHO_N "(cached) $ECHO_C" >&6
20572 cat >conftest.$ac_ext <<_ACEOF
20573 #line $LINENO "configure"
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 $ac_includes_default
20583 if ((uint64_t *) 0)
20585 if (sizeof (uint64_t))
20591 rm -f conftest.$ac_objext
20592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20593 (eval $ac_compile) 2>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } &&
20597 { ac_try='test -s conftest.$ac_objext'
20598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20599 (eval $ac_try) 2>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); }; }; then
20603 ac_cv_type_uint64_t=yes
20605 echo "$as_me: failed program was:" >&5
20606 sed 's/^/| /' conftest.$ac_ext >&5
20608 ac_cv_type_uint64_t=no
20610 rm -f conftest.$ac_objext conftest.$ac_ext
20612 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20613 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20614 if test $ac_cv_type_uint64_t = yes; then
20616 cat >>confdefs.h <<_ACEOF
20617 #define HAVE_UINT64_T 1
20622 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20623 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20624 { (exit 1); exit 1; }; }
20627 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20628 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20629 if test "${ac_cv_header_time+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 cat >conftest.$ac_ext <<_ACEOF
20633 #line $LINENO "configure"
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 #include <sys/types.h>
20640 #include <sys/time.h>
20646 if ((struct tm *) 0)
20652 rm -f conftest.$ac_objext
20653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20654 (eval $ac_compile) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); } &&
20658 { ac_try='test -s conftest.$ac_objext'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; }; then
20664 ac_cv_header_time=yes
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20669 ac_cv_header_time=no
20671 rm -f conftest.$ac_objext conftest.$ac_ext
20673 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20674 echo "${ECHO_T}$ac_cv_header_time" >&6
20675 if test $ac_cv_header_time = yes; then
20677 cat >>confdefs.h <<\_ACEOF
20678 #define TIME_WITH_SYS_TIME 1
20683 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20684 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20685 if test "${ac_cv_struct_tm+set}" = set; then
20686 echo $ECHO_N "(cached) $ECHO_C" >&6
20688 cat >conftest.$ac_ext <<_ACEOF
20689 #line $LINENO "configure"
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 #include <sys/types.h>
20701 struct tm *tp; tp->tm_sec;
20706 rm -f conftest.$ac_objext
20707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20708 (eval $ac_compile) 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } &&
20712 { ac_try='test -s conftest.$ac_objext'
20713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20714 (eval $ac_try) 2>&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; }; then
20718 ac_cv_struct_tm=time.h
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20723 ac_cv_struct_tm=sys/time.h
20725 rm -f conftest.$ac_objext conftest.$ac_ext
20727 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20728 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20729 if test $ac_cv_struct_tm = sys/time.h; then
20731 cat >>confdefs.h <<\_ACEOF
20732 #define TM_IN_SYS_TIME 1
20738 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20739 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20740 if test "${ac_cv_cxx_namespaces+set}" = set; then
20741 echo $ECHO_N "(cached) $ECHO_C" >&6
20746 ac_cpp='$CXXCPP $CPPFLAGS'
20747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20751 cat >conftest.$ac_ext <<_ACEOF
20752 #line $LINENO "configure"
20755 cat confdefs.h >>conftest.$ac_ext
20756 cat >>conftest.$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 namespace Outer { namespace Inner { int i = 0; }}
20762 using namespace Outer::Inner; return i;
20767 rm -f conftest.$ac_objext
20768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20769 (eval $ac_compile) 2>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } &&
20773 { ac_try='test -s conftest.$ac_objext'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; }; then
20779 ac_cv_cxx_namespaces=yes
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.$ac_ext >&5
20784 ac_cv_cxx_namespaces=no
20786 rm -f conftest.$ac_objext conftest.$ac_ext
20788 ac_cpp='$CPP $CPPFLAGS'
20789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20795 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20796 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20797 if test "$ac_cv_cxx_namespaces" = yes; then
20799 cat >>confdefs.h <<\_ACEOF
20800 #define HAVE_NAMESPACES
20805 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20806 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20807 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 ac_cpp='$CXXCPP $CPPFLAGS'
20815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20819 cat >conftest.$ac_ext <<_ACEOF
20820 #line $LINENO "configure"
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 #include <ext/hash_map>
20827 #ifdef HAVE_NAMESPACES
20828 using namespace std;
20833 hash_map<int, int> t; return 0;
20838 rm -f conftest.$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try='test -s conftest.$ac_objext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_cv_cxx_have_ext_hash_map=std
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 ac_cv_cxx_have_ext_hash_map=no
20857 rm -f conftest.$ac_objext conftest.$ac_ext
20858 cat >conftest.$ac_ext <<_ACEOF
20859 #line $LINENO "configure"
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 #include <ext/hash_map>
20866 #ifdef HAVE_NAMESPACES
20867 using namespace __gnu_cxx;
20872 hash_map<int, int> t; return 0;
20877 rm -f conftest.$ac_objext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20879 (eval $ac_compile) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } &&
20883 { ac_try='test -s conftest.$ac_objext'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; }; then
20889 ac_cv_cxx_have_ext_hash_map=gnu
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 ac_cv_cxx_have_ext_hash_map=no
20896 rm -f conftest.$ac_objext conftest.$ac_ext
20898 ac_cpp='$CPP $CPPFLAGS'
20899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20905 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20906 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20907 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20909 cat >>confdefs.h <<\_ACEOF
20910 #define HAVE_STD_EXT_HASH_MAP
20914 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20916 cat >>confdefs.h <<\_ACEOF
20917 #define HAVE_GNU_EXT_HASH_MAP
20922 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20923 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20924 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20925 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 ac_cpp='$CXXCPP $CPPFLAGS'
20932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20936 cat >conftest.$ac_ext <<_ACEOF
20937 #line $LINENO "configure"
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 #include <ext/hash_set>
20944 #ifdef HAVE_NAMESPACES
20945 using namespace std;
20950 hash_set<int> t; return 0;
20955 rm -f conftest.$ac_objext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20957 (eval $ac_compile) 2>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try='test -s conftest.$ac_objext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 ac_cv_cxx_have_ext_hash_set=std
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20972 ac_cv_cxx_have_ext_hash_set=no
20974 rm -f conftest.$ac_objext conftest.$ac_ext
20975 cat >conftest.$ac_ext <<_ACEOF
20976 #line $LINENO "configure"
20979 cat confdefs.h >>conftest.$ac_ext
20980 cat >>conftest.$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 #include <ext/hash_set>
20983 #ifdef HAVE_NAMESPACES
20984 using namespace __gnu_cxx;
20989 hash_set<int> t; return 0;
20994 rm -f conftest.$ac_objext
20995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20996 (eval $ac_compile) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } &&
21000 { ac_try='test -s conftest.$ac_objext'
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002 (eval $ac_try) 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; }; then
21006 ac_cv_cxx_have_ext_hash_set=gnu
21008 echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.$ac_ext >&5
21011 ac_cv_cxx_have_ext_hash_set=no
21013 rm -f conftest.$ac_objext conftest.$ac_ext
21015 ac_cpp='$CPP $CPPFLAGS'
21016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21022 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21023 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21024 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21026 cat >>confdefs.h <<\_ACEOF
21027 #define HAVE_STD_EXT_HASH_SET
21031 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21033 cat >>confdefs.h <<\_ACEOF
21034 #define HAVE_GNU_EXT_HASH_SET
21039 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21040 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21041 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21042 echo $ECHO_N "(cached) $ECHO_C" >&6
21048 ac_cpp='$CXXCPP $CPPFLAGS'
21049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21053 cat >conftest.$ac_ext <<_ACEOF
21054 #line $LINENO "configure"
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 #include <ext/slist>
21061 #ifdef HAVE_NAMESPACES
21062 using namespace std;
21067 slist<int> s; return 0;
21072 rm -f conftest.$ac_objext
21073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21074 (eval $ac_compile) 2>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } &&
21078 { ac_try='test -s conftest.$ac_objext'
21079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080 (eval $ac_try) 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; }; then
21084 ac_cv_cxx_have_ext_slist=std
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21089 ac_cv_cxx_have_ext_slist=no
21091 rm -f conftest.$ac_objext conftest.$ac_ext
21092 cat >conftest.$ac_ext <<_ACEOF
21093 #line $LINENO "configure"
21096 cat confdefs.h >>conftest.$ac_ext
21097 cat >>conftest.$ac_ext <<_ACEOF
21098 /* end confdefs.h. */
21099 #include <ext/slist>
21100 #ifdef HAVE_NAMESPACES
21101 using namespace __gnu_cxx;
21106 slist<int> s; return 0;
21111 rm -f conftest.$ac_objext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21113 (eval $ac_compile) 2>&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -s conftest.$ac_objext'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_cxx_have_ext_slist=gnu
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21128 ac_cv_cxx_have_ext_slist=no
21130 rm -f conftest.$ac_objext conftest.$ac_ext
21133 ac_cpp='$CPP $CPPFLAGS'
21134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21140 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21141 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21142 if test "$ac_cv_cxx_have_ext_slist" = std; then
21144 cat >>confdefs.h <<\_ACEOF
21145 #define HAVE_EXT_SLIST std
21149 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21151 cat >>confdefs.h <<\_ACEOF
21152 #define HAVE_EXT_SLIST gnu
21157 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21158 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21159 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21160 echo $ECHO_N "(cached) $ECHO_C" >&6
21166 ac_cpp='$CXXCPP $CPPFLAGS'
21167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21171 cat >conftest.$ac_ext <<_ACEOF
21172 #line $LINENO "configure"
21175 cat confdefs.h >>conftest.$ac_ext
21176 cat >>conftest.$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21178 #include <iterator>
21179 #ifdef HAVE_NAMESPACES
21180 using namespace std;
21185 iterator<int,int,int> t; return 0;
21190 rm -f conftest.$ac_objext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21192 (eval $ac_compile) 2>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } &&
21196 { ac_try='test -s conftest.$ac_objext'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 ac_cv_cxx_have_std_iterator=yes
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21207 ac_cv_cxx_have_std_iterator=no
21209 rm -f conftest.$ac_objext conftest.$ac_ext
21211 ac_cpp='$CPP $CPPFLAGS'
21212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21218 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21219 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21220 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21222 cat >>confdefs.h <<\_ACEOF
21223 #define HAVE_STD_ITERATOR
21228 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21229 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21230 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21231 echo $ECHO_N "(cached) $ECHO_C" >&6
21237 ac_cpp='$CXXCPP $CPPFLAGS'
21238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21242 cat >conftest.$ac_ext <<_ACEOF
21243 #line $LINENO "configure"
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 #include <iterator>
21250 #ifdef HAVE_NAMESPACES
21251 using namespace std;
21256 bidirectional_iterator<int,int> t; return 0;
21261 rm -f conftest.$ac_objext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21263 (eval $ac_compile) 2>&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } &&
21267 { ac_try='test -s conftest.$ac_objext'
21268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 (eval $ac_try) 2>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); }; }; then
21273 ac_cv_cxx_have_bi_iterator=yes
21275 echo "$as_me: failed program was:" >&5
21276 sed 's/^/| /' conftest.$ac_ext >&5
21278 ac_cv_cxx_have_bi_iterator=no
21280 rm -f conftest.$ac_objext conftest.$ac_ext
21282 ac_cpp='$CPP $CPPFLAGS'
21283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21289 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21290 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21291 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21293 cat >>confdefs.h <<\_ACEOF
21294 #define HAVE_BI_ITERATOR
21299 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21300 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21301 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21302 echo $ECHO_N "(cached) $ECHO_C" >&6
21308 ac_cpp='$CXXCPP $CPPFLAGS'
21309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21313 cat >conftest.$ac_ext <<_ACEOF
21314 #line $LINENO "configure"
21317 cat confdefs.h >>conftest.$ac_ext
21318 cat >>conftest.$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21320 #include <iterator>
21321 #ifdef HAVE_NAMESPACES
21322 using namespace std;
21327 forward_iterator<int,int> t; return 0;
21332 rm -f conftest.$ac_objext
21333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21334 (eval $ac_compile) 2>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } &&
21338 { ac_try='test -s conftest.$ac_objext'
21339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21340 (eval $ac_try) 2>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); }; }; then
21344 ac_cv_cxx_have_fwd_iterator=yes
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.$ac_ext >&5
21349 ac_cv_cxx_have_fwd_iterator=no
21351 rm -f conftest.$ac_objext conftest.$ac_ext
21353 ac_cpp='$CPP $CPPFLAGS'
21354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21360 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21361 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21362 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21364 cat >>confdefs.h <<\_ACEOF
21365 #define HAVE_FWD_ITERATOR
21371 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21372 # for constant arguments. Useless!
21373 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21374 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21375 if test "${ac_cv_working_alloca_h+set}" = set; then
21376 echo $ECHO_N "(cached) $ECHO_C" >&6
21378 cat >conftest.$ac_ext <<_ACEOF
21379 #line $LINENO "configure"
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 #include <alloca.h>
21389 char *p = (char *) alloca (2 * sizeof (int));
21394 rm -f conftest.$ac_objext conftest$ac_exeext
21395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21396 (eval $ac_link) 2>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } &&
21400 { ac_try='test -s conftest$ac_exeext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 ac_cv_working_alloca_h=yes
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21411 ac_cv_working_alloca_h=no
21413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21415 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21416 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21417 if test $ac_cv_working_alloca_h = yes; then
21419 cat >>confdefs.h <<\_ACEOF
21420 #define HAVE_ALLOCA_H 1
21425 echo "$as_me:$LINENO: checking for alloca" >&5
21426 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21427 if test "${ac_cv_func_alloca_works+set}" = set; then
21428 echo $ECHO_N "(cached) $ECHO_C" >&6
21430 cat >conftest.$ac_ext <<_ACEOF
21431 #line $LINENO "configure"
21434 cat confdefs.h >>conftest.$ac_ext
21435 cat >>conftest.$ac_ext <<_ACEOF
21436 /* end confdefs.h. */
21438 # define alloca __builtin_alloca
21441 # include <malloc.h>
21442 # define alloca _alloca
21445 # include <alloca.h>
21450 # ifndef alloca /* predefined by HP cc +Olibcalls */
21461 char *p = (char *) alloca (1);
21466 rm -f conftest.$ac_objext conftest$ac_exeext
21467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21468 (eval $ac_link) 2>&5
21470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 (exit $ac_status); } &&
21472 { ac_try='test -s conftest$ac_exeext'
21473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21474 (eval $ac_try) 2>&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); }; }; then
21478 ac_cv_func_alloca_works=yes
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.$ac_ext >&5
21483 ac_cv_func_alloca_works=no
21485 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21487 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21488 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21490 if test $ac_cv_func_alloca_works = yes; then
21492 cat >>confdefs.h <<\_ACEOF
21493 #define HAVE_ALLOCA 1
21497 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21498 # that cause trouble. Some versions do not even contain alloca or
21499 # contain a buggy version. If you still want to use their alloca,
21500 # use ar to extract alloca.o from them instead of compiling alloca.c.
21502 ALLOCA=alloca.$ac_objext
21504 cat >>confdefs.h <<\_ACEOF
21509 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21510 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21511 if test "${ac_cv_os_cray+set}" = set; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21514 cat >conftest.$ac_ext <<_ACEOF
21515 #line $LINENO "configure"
21518 cat confdefs.h >>conftest.$ac_ext
21519 cat >>conftest.$ac_ext <<_ACEOF
21520 /* end confdefs.h. */
21521 #if defined(CRAY) && ! defined(CRAY2)
21528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21529 $EGREP "webecray" >/dev/null 2>&1; then
21537 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21538 echo "${ECHO_T}$ac_cv_os_cray" >&6
21539 if test $ac_cv_os_cray = yes; then
21540 for ac_func in _getb67 GETB67 getb67; do
21541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21542 echo "$as_me:$LINENO: checking for $ac_func" >&5
21543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21544 if eval "test \"\${$as_ac_var+set}\" = set"; then
21545 echo $ECHO_N "(cached) $ECHO_C" >&6
21547 cat >conftest.$ac_ext <<_ACEOF
21548 #line $LINENO "configure"
21551 cat confdefs.h >>conftest.$ac_ext
21552 cat >>conftest.$ac_ext <<_ACEOF
21553 /* end confdefs.h. */
21554 /* System header to define __stub macros and hopefully few prototypes,
21555 which can conflict with char $ac_func (); below.
21556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21557 <limits.h> exists even on freestanding compilers. */
21559 # include <limits.h>
21561 # include <assert.h>
21563 /* Override any gcc2 internal prototype to avoid an error. */
21568 /* We use char because int might match the return type of a gcc2
21569 builtin and then its argument prototype would still apply. */
21571 /* The GNU C library defines this for functions which it implements
21572 to always fail with ENOSYS. Some functions are actually named
21573 something starting with __ and the normal name is an alias. */
21574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21577 char (*f) () = $ac_func;
21586 return f != $ac_func;
21591 rm -f conftest.$ac_objext conftest$ac_exeext
21592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21593 (eval $ac_link) 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try='test -s conftest$ac_exeext'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; }; then
21603 eval "$as_ac_var=yes"
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21608 eval "$as_ac_var=no"
21610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21614 if test `eval echo '${'$as_ac_var'}'` = yes; then
21616 cat >>confdefs.h <<_ACEOF
21617 #define CRAY_STACKSEG_END $ac_func
21626 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21627 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21628 if test "${ac_cv_c_stack_direction+set}" = set; then
21629 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 if test "$cross_compiling" = yes; then
21632 ac_cv_c_stack_direction=0
21634 cat >conftest.$ac_ext <<_ACEOF
21635 #line $LINENO "configure"
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21642 find_stack_direction ()
21644 static char *addr = 0;
21649 return find_stack_direction ();
21652 return (&dummy > addr) ? 1 : -1;
21658 exit (find_stack_direction () < 0);
21661 rm -f 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); } && { ac_try='./conftest$ac_exeext'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; }; then
21672 ac_cv_c_stack_direction=1
21674 echo "$as_me: program exited with status $ac_status" >&5
21675 echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.$ac_ext >&5
21678 ( exit $ac_status )
21679 ac_cv_c_stack_direction=-1
21681 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21684 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21685 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21687 cat >>confdefs.h <<_ACEOF
21688 #define STACK_DIRECTION $ac_cv_c_stack_direction
21694 if test $ac_cv_c_compiler_gnu = yes; then
21695 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21696 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21697 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21700 ac_pattern="Autoconf.*'x'"
21701 cat >conftest.$ac_ext <<_ACEOF
21702 #line $LINENO "configure"
21705 cat confdefs.h >>conftest.$ac_ext
21706 cat >>conftest.$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21712 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21713 ac_cv_prog_gcc_traditional=yes
21715 ac_cv_prog_gcc_traditional=no
21720 if test $ac_cv_prog_gcc_traditional = no; then
21721 cat >conftest.$ac_ext <<_ACEOF
21722 #line $LINENO "configure"
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 #include <termio.h>
21731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21732 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21733 ac_cv_prog_gcc_traditional=yes
21739 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21740 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21741 if test $ac_cv_prog_gcc_traditional = yes; then
21742 CC="$CC -traditional"
21746 echo "$as_me:$LINENO: checking for working memcmp" >&5
21747 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21748 if test "${ac_cv_func_memcmp_working+set}" = set; then
21749 echo $ECHO_N "(cached) $ECHO_C" >&6
21751 if test "$cross_compiling" = yes; then
21752 ac_cv_func_memcmp_working=no
21754 cat >conftest.$ac_ext <<_ACEOF
21755 #line $LINENO "configure"
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21766 /* Some versions of memcmp are not 8-bit clean. */
21767 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21768 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21771 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21772 or more and with at least one buffer not starting on a 4-byte boundary.
21773 William Lewis provided this test program. */
21778 for (i = 0; i < 4; i++)
21782 strcpy (a, "--------01111111");
21783 strcpy (b, "--------10000000");
21784 if (memcmp (a, b, 16) >= 0)
21794 rm -f conftest$ac_exeext
21795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21796 (eval $ac_link) 2>&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21805 ac_cv_func_memcmp_working=yes
21807 echo "$as_me: program exited with status $ac_status" >&5
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21811 ( exit $ac_status )
21812 ac_cv_func_memcmp_working=no
21814 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21817 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21818 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21819 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21823 for ac_header in stdlib.h unistd.h
21825 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21827 echo "$as_me:$LINENO: checking for $ac_header" >&5
21828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21830 echo $ECHO_N "(cached) $ECHO_C" >&6
21832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21835 # Is the header compilable?
21836 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21838 cat >conftest.$ac_ext <<_ACEOF
21839 #line $LINENO "configure"
21842 cat confdefs.h >>conftest.$ac_ext
21843 cat >>conftest.$ac_ext <<_ACEOF
21844 /* end confdefs.h. */
21845 $ac_includes_default
21846 #include <$ac_header>
21848 rm -f conftest.$ac_objext
21849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21850 (eval $ac_compile) 2>&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } &&
21854 { ac_try='test -s conftest.$ac_objext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860 ac_header_compiler=yes
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.$ac_ext >&5
21865 ac_header_compiler=no
21867 rm -f conftest.$ac_objext conftest.$ac_ext
21868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21869 echo "${ECHO_T}$ac_header_compiler" >&6
21871 # Is the header present?
21872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21874 cat >conftest.$ac_ext <<_ACEOF
21875 #line $LINENO "configure"
21878 cat confdefs.h >>conftest.$ac_ext
21879 cat >>conftest.$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21881 #include <$ac_header>
21883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21886 grep -v '^ *+' conftest.er1 >conftest.err
21888 cat conftest.err >&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } >/dev/null; then
21891 if test -s conftest.err; then
21892 ac_cpp_err=$ac_c_preproc_warn_flag
21899 if test -z "$ac_cpp_err"; then
21900 ac_header_preproc=yes
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.$ac_ext >&5
21905 ac_header_preproc=no
21907 rm -f conftest.err conftest.$ac_ext
21908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21909 echo "${ECHO_T}$ac_header_preproc" >&6
21911 # So? What about this header?
21912 case $ac_header_compiler:$ac_header_preproc in
21914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21920 ## ------------------------------------ ##
21921 ## Report this to bug-autoconf@gnu.org. ##
21922 ## ------------------------------------ ##
21925 sed "s/^/$as_me: WARNING: /" >&2
21928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21936 ## ------------------------------------ ##
21937 ## Report this to bug-autoconf@gnu.org. ##
21938 ## ------------------------------------ ##
21941 sed "s/^/$as_me: WARNING: /" >&2
21944 echo "$as_me:$LINENO: checking for $ac_header" >&5
21945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21947 echo $ECHO_N "(cached) $ECHO_C" >&6
21949 eval "$as_ac_Header=$ac_header_preproc"
21951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21956 cat >>confdefs.h <<_ACEOF
21957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21965 for ac_func in getpagesize
21967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21968 echo "$as_me:$LINENO: checking for $ac_func" >&5
21969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21970 if eval "test \"\${$as_ac_var+set}\" = set"; then
21971 echo $ECHO_N "(cached) $ECHO_C" >&6
21973 cat >conftest.$ac_ext <<_ACEOF
21974 #line $LINENO "configure"
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 /* System header to define __stub macros and hopefully few prototypes,
21981 which can conflict with char $ac_func (); below.
21982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21983 <limits.h> exists even on freestanding compilers. */
21985 # include <limits.h>
21987 # include <assert.h>
21989 /* Override any gcc2 internal prototype to avoid an error. */
21994 /* We use char because int might match the return type of a gcc2
21995 builtin and then its argument prototype would still apply. */
21997 /* The GNU C library defines this for functions which it implements
21998 to always fail with ENOSYS. Some functions are actually named
21999 something starting with __ and the normal name is an alias. */
22000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22003 char (*f) () = $ac_func;
22012 return f != $ac_func;
22017 rm -f conftest.$ac_objext conftest$ac_exeext
22018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22019 (eval $ac_link) 2>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); } &&
22023 { ac_try='test -s conftest$ac_exeext'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; }; then
22029 eval "$as_ac_var=yes"
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.$ac_ext >&5
22034 eval "$as_ac_var=no"
22036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22040 if test `eval echo '${'$as_ac_var'}'` = yes; then
22041 cat >>confdefs.h <<_ACEOF
22042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22048 echo "$as_me:$LINENO: checking for working mmap" >&5
22049 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22050 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22051 echo $ECHO_N "(cached) $ECHO_C" >&6
22053 if test "$cross_compiling" = yes; then
22054 ac_cv_func_mmap_fixed_mapped=no
22056 cat >conftest.$ac_ext <<_ACEOF
22057 #line $LINENO "configure"
22060 cat confdefs.h >>conftest.$ac_ext
22061 cat >>conftest.$ac_ext <<_ACEOF
22062 /* end confdefs.h. */
22063 $ac_includes_default
22064 /* malloc might have been renamed as rpl_malloc. */
22067 /* Thanks to Mike Haertel and Jim Avera for this test.
22068 Here is a matrix of mmap possibilities:
22069 mmap private not fixed
22070 mmap private fixed at somewhere currently unmapped
22071 mmap private fixed at somewhere already mapped
22072 mmap shared not fixed
22073 mmap shared fixed at somewhere currently unmapped
22074 mmap shared fixed at somewhere already mapped
22075 For private mappings, we should verify that changes cannot be read()
22076 back from the file, nor mmap's back from the file at a different
22077 address. (There have been systems where private was not correctly
22078 implemented like the infamous i386 svr4.0, and systems where the
22079 VM page cache was not coherent with the file system buffer cache
22080 like early versions of FreeBSD and possibly contemporary NetBSD.)
22081 For shared mappings, we should conversely verify that changes get
22082 propagated back to all the places they're supposed to be.
22084 Grep wants private fixed already mapped.
22085 The main things grep needs to know about mmap are:
22086 * does it exist and is it safe to write into the mmap'd area
22087 * how to use it (BSD variants) */
22090 #include <sys/mman.h>
22092 #if !STDC_HEADERS && !HAVE_STDLIB_H
22096 /* This mess was copied from the GNU getpagesize.h. */
22097 #if !HAVE_GETPAGESIZE
22098 /* Assume that all systems that can run configure have sys/param.h. */
22099 # if !HAVE_SYS_PARAM_H
22100 # define HAVE_SYS_PARAM_H 1
22103 # ifdef _SC_PAGESIZE
22104 # define getpagesize() sysconf(_SC_PAGESIZE)
22105 # else /* no _SC_PAGESIZE */
22106 # if HAVE_SYS_PARAM_H
22107 # include <sys/param.h>
22108 # ifdef EXEC_PAGESIZE
22109 # define getpagesize() EXEC_PAGESIZE
22110 # else /* no EXEC_PAGESIZE */
22112 # define getpagesize() NBPG * CLSIZE
22115 # endif /* no CLSIZE */
22116 # else /* no NBPG */
22118 # define getpagesize() NBPC
22119 # else /* no NBPC */
22121 # define getpagesize() PAGESIZE
22122 # endif /* PAGESIZE */
22123 # endif /* no NBPC */
22124 # endif /* no NBPG */
22125 # endif /* no EXEC_PAGESIZE */
22126 # else /* no HAVE_SYS_PARAM_H */
22127 # define getpagesize() 8192 /* punt totally */
22128 # endif /* no HAVE_SYS_PARAM_H */
22129 # endif /* no _SC_PAGESIZE */
22131 #endif /* no HAVE_GETPAGESIZE */
22136 char *data, *data2, *data3;
22140 pagesize = getpagesize ();
22142 /* First, make a file with some known garbage in it. */
22143 data = (char *) malloc (pagesize);
22146 for (i = 0; i < pagesize; ++i)
22147 *(data + i) = rand ();
22149 fd = creat ("conftest.mmap", 0600);
22152 if (write (fd, data, pagesize) != pagesize)
22156 /* Next, try to mmap the file at a fixed address which already has
22157 something else allocated at it. If we can, also make sure that
22158 we see the same garbage. */
22159 fd = open ("conftest.mmap", O_RDWR);
22162 data2 = (char *) malloc (2 * pagesize);
22165 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22166 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22167 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22169 for (i = 0; i < pagesize; ++i)
22170 if (*(data + i) != *(data2 + i))
22173 /* Finally, make sure that changes to the mapped area do not
22174 percolate back to the file as seen by read(). (This is a bug on
22175 some variants of i386 svr4.0.) */
22176 for (i = 0; i < pagesize; ++i)
22177 *(data2 + i) = *(data2 + i) + 1;
22178 data3 = (char *) malloc (pagesize);
22181 if (read (fd, data3, pagesize) != pagesize)
22183 for (i = 0; i < pagesize; ++i)
22184 if (*(data + i) != *(data3 + i))
22190 rm -f conftest$ac_exeext
22191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22192 (eval $ac_link) 2>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22197 (eval $ac_try) 2>&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; }; then
22201 ac_cv_func_mmap_fixed_mapped=yes
22203 echo "$as_me: program exited with status $ac_status" >&5
22204 echo "$as_me: failed program was:" >&5
22205 sed 's/^/| /' conftest.$ac_ext >&5
22207 ( exit $ac_status )
22208 ac_cv_func_mmap_fixed_mapped=no
22210 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22213 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22214 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22215 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22217 cat >>confdefs.h <<\_ACEOF
22218 #define HAVE_MMAP 1
22222 rm -f conftest.mmap
22224 echo "$as_me:$LINENO: checking for mmap of files" >&5
22225 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22226 if test "${ac_cv_func_mmap_file+set}" = set; then
22227 echo $ECHO_N "(cached) $ECHO_C" >&6
22232 ac_cpp='$CPP $CPPFLAGS'
22233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22237 if test "$cross_compiling" = yes; then
22238 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22239 See \`config.log' for more details." >&5
22240 echo "$as_me: error: cannot run test program while cross compiling
22241 See \`config.log' for more details." >&2;}
22242 { (exit 1); exit 1; }; }
22244 cat >conftest.$ac_ext <<_ACEOF
22245 #line $LINENO "configure"
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22252 #ifdef HAVE_SYS_MMAN_H
22253 #include <sys/mman.h>
22256 #ifdef HAVE_SYS_TYPES_H
22257 #include <sys/types.h>
22260 #ifdef HAVE_FCNTL_H
22266 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22268 rm -f conftest$ac_exeext
22269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22270 (eval $ac_link) 2>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_cv_func_mmap_file=yes
22281 echo "$as_me: program exited with status $ac_status" >&5
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22285 ( exit $ac_status )
22286 ac_cv_func_mmap_file=no
22288 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22298 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22299 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22300 if test "$ac_cv_func_mmap_file" = yes; then
22301 cat >>confdefs.h <<\_ACEOF
22302 #define HAVE_MMAP_FILE 1
22309 if test ${ac_cv_func_mmap_file} = "no"
22311 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22312 echo "$as_me: error: mmap() of files required but not found" >&2;}
22313 { (exit 1); exit 1; }; }
22315 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22316 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22317 if test "${ac_cv_header_mmap_anon+set}" = set; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22323 ac_cpp='$CPP $CPPFLAGS'
22324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22328 cat >conftest.$ac_ext <<_ACEOF
22329 #line $LINENO "configure"
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 #include <sys/mman.h>
22336 #include <unistd.h>
22341 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22346 rm -f conftest.$ac_objext
22347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22348 (eval $ac_compile) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try='test -s conftest.$ac_objext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_header_mmap_anon=yes
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22363 ac_cv_header_mmap_anon=no
22365 rm -f conftest.$ac_objext conftest.$ac_ext
22367 ac_cpp='$CPP $CPPFLAGS'
22368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22374 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22375 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22376 if test "$ac_cv_header_mmap_anon" = yes; then
22377 cat >>confdefs.h <<\_ACEOF
22378 #define HAVE_MMAP_ANONYMOUS 1
22383 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22384 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22385 if test "${ac_cv_type_signal+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 cat >conftest.$ac_ext <<_ACEOF
22389 #line $LINENO "configure"
22392 cat confdefs.h >>conftest.$ac_ext
22393 cat >>conftest.$ac_ext <<_ACEOF
22394 /* end confdefs.h. */
22395 #include <sys/types.h>
22396 #include <signal.h>
22401 extern "C" void (*signal (int, void (*)(int)))(int);
22403 void (*signal ()) ();
22414 rm -f conftest.$ac_objext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22416 (eval $ac_compile) 2>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); } &&
22420 { ac_try='test -s conftest.$ac_objext'
22421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22422 (eval $ac_try) 2>&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); }; }; then
22426 ac_cv_type_signal=void
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22431 ac_cv_type_signal=int
22433 rm -f conftest.$ac_objext conftest.$ac_ext
22435 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22436 echo "${ECHO_T}$ac_cv_type_signal" >&6
22438 cat >>confdefs.h <<_ACEOF
22439 #define RETSIGTYPE $ac_cv_type_signal
22452 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22455 echo "$as_me:$LINENO: checking for $ac_func" >&5
22456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22457 if eval "test \"\${$as_ac_var+set}\" = set"; then
22458 echo $ECHO_N "(cached) $ECHO_C" >&6
22460 cat >conftest.$ac_ext <<_ACEOF
22461 #line $LINENO "configure"
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 /* System header to define __stub macros and hopefully few prototypes,
22468 which can conflict with char $ac_func (); below.
22469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22470 <limits.h> exists even on freestanding compilers. */
22472 # include <limits.h>
22474 # include <assert.h>
22476 /* Override any gcc2 internal prototype to avoid an error. */
22481 /* We use char because int might match the return type of a gcc2
22482 builtin and then its argument prototype would still apply. */
22484 /* The GNU C library defines this for functions which it implements
22485 to always fail with ENOSYS. Some functions are actually named
22486 something starting with __ and the normal name is an alias. */
22487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22490 char (*f) () = $ac_func;
22499 return f != $ac_func;
22504 rm -f conftest.$ac_objext conftest$ac_exeext
22505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22506 (eval $ac_link) 2>&5
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); } &&
22510 { ac_try='test -s conftest$ac_exeext'
22511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22512 (eval $ac_try) 2>&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; }; then
22516 eval "$as_ac_var=yes"
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22521 eval "$as_ac_var=no"
22523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22527 if test `eval echo '${'$as_ac_var'}'` = yes; then
22528 cat >>confdefs.h <<_ACEOF
22529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22537 echo "$as_me:$LINENO: checking for mmap" >&5
22538 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22539 if test "${ac_cv_func_mmap+set}" = set; then
22540 echo $ECHO_N "(cached) $ECHO_C" >&6
22542 cat >conftest.$ac_ext <<_ACEOF
22543 #line $LINENO "configure"
22546 cat confdefs.h >>conftest.$ac_ext
22547 cat >>conftest.$ac_ext <<_ACEOF
22548 /* end confdefs.h. */
22549 /* System header to define __stub macros and hopefully few prototypes,
22550 which can conflict with char mmap (); below.
22551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22552 <limits.h> exists even on freestanding compilers. */
22554 # include <limits.h>
22556 # include <assert.h>
22558 /* Override any gcc2 internal prototype to avoid an error. */
22563 /* We use char because int might match the return type of a gcc2
22564 builtin and then its argument prototype would still apply. */
22566 /* The GNU C library defines this for functions which it implements
22567 to always fail with ENOSYS. Some functions are actually named
22568 something starting with __ and the normal name is an alias. */
22569 #if defined (__stub_mmap) || defined (__stub___mmap)
22572 char (*f) () = mmap;
22586 rm -f conftest.$ac_objext conftest$ac_exeext
22587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22588 (eval $ac_link) 2>&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } &&
22592 { ac_try='test -s conftest$ac_exeext'
22593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22594 (eval $ac_try) 2>&5
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); }; }; then
22598 ac_cv_func_mmap=yes
22600 echo "$as_me: failed program was:" >&5
22601 sed 's/^/| /' conftest.$ac_ext >&5
22605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22607 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22608 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22609 if test $ac_cv_func_mmap = yes; then
22612 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22613 echo "$as_me: error: Function mmap() required but not found" >&2;}
22614 { (exit 1); exit 1; }; }
22617 echo "$as_me:$LINENO: checking for mprotect" >&5
22618 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22619 if test "${ac_cv_func_mprotect+set}" = set; then
22620 echo $ECHO_N "(cached) $ECHO_C" >&6
22622 cat >conftest.$ac_ext <<_ACEOF
22623 #line $LINENO "configure"
22626 cat confdefs.h >>conftest.$ac_ext
22627 cat >>conftest.$ac_ext <<_ACEOF
22628 /* end confdefs.h. */
22629 /* System header to define __stub macros and hopefully few prototypes,
22630 which can conflict with char mprotect (); below.
22631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22632 <limits.h> exists even on freestanding compilers. */
22634 # include <limits.h>
22636 # include <assert.h>
22638 /* Override any gcc2 internal prototype to avoid an error. */
22643 /* We use char because int might match the return type of a gcc2
22644 builtin and then its argument prototype would still apply. */
22646 /* The GNU C library defines this for functions which it implements
22647 to always fail with ENOSYS. Some functions are actually named
22648 something starting with __ and the normal name is an alias. */
22649 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22652 char (*f) () = mprotect;
22661 return f != mprotect;
22666 rm -f conftest.$ac_objext conftest$ac_exeext
22667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22668 (eval $ac_link) 2>&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } &&
22672 { ac_try='test -s conftest$ac_exeext'
22673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22674 (eval $ac_try) 2>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); }; }; then
22678 ac_cv_func_mprotect=yes
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22683 ac_cv_func_mprotect=no
22685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22687 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22688 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22689 if test $ac_cv_func_mprotect = yes; then
22692 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22693 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22694 { (exit 1); exit 1; }; }
22699 # Check whether --enable-purify or --disable-purify was given.
22700 if test "${enable_purify+set}" = set; then
22701 enableval="$enable_purify"
22706 if test ${enableval} = "no"
22711 ENABLE_PURIFY=ENABLE_PURIFY=1
22715 # Check whether --enable-optimized or --disable-optimized was given.
22716 if test "${enable_optimized+set}" = set; then
22717 enableval="$enable_optimized"
22722 if test ${enableval} = "no"
22727 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22731 # Check whether --enable-spec or --disable-spec was given.
22732 if test "${enable_spec+set}" = set; then
22733 enableval="$enable_spec"
22738 if test ${enableval} = "no"
22743 USE_SPEC=USE_SPEC=1
22747 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22748 if test "${enable_precompiled_bytecode+set}" = set; then
22749 enableval="$enable_precompiled_bytecode"
22754 if test ${enableval} = "no"
22759 UPB=USE_PRECOMPILED_BYTECODE=1
22764 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22765 if test "${enable_llc_diffs+set}" = set; then
22766 enableval="$enable_llc_diffs"
22771 if test ${enableval} = "no"
22773 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22780 # Check whether --enable-jit or --disable-jit was given.
22781 if test "${enable_jit+set}" = set; then
22782 enableval="$enable_jit"
22788 if test ${enableval} = "no"
22795 JIT=TARGET_HAS_JIT=1
22799 JIT=TARGET_HAS_JIT=1
22811 # Check whether --with-spec or --without-spec was given.
22812 if test "${with_spec+set}" = set; then
22813 withval="$with_spec"
22817 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22822 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22823 if test "${with_llvmgccdir+set}" = set; then
22824 withval="$with_llvmgccdir"
22825 LLVMGCCDIR=$withval
22830 # Check whether --with-bcrepos or --without-bcrepos was given.
22831 if test "${with_bcrepos+set}" = set; then
22832 withval="$with_bcrepos"
22836 BCR=/home/vadve/lattner/LLVMPrograms
22841 # Check whether --with-papi or --without-papi was given.
22842 if test "${with_papi+set}" = set; then
22843 withval="$with_papi"
22847 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22852 # Check whether --with-purify or --without-purify was given.
22853 if test "${with_purify+set}" = set; then
22854 withval="$with_purify"
22860 ac_config_files="$ac_config_files Makefile.config"
22861 cat >confcache <<\_ACEOF
22862 # This file is a shell script that caches the results of configure
22863 # tests run on this system so they can be shared between configure
22864 # scripts and configure runs, see configure's option --config-cache.
22865 # It is not useful on other systems. If it contains results you don't
22866 # want to keep, you may remove or edit it.
22868 # config.status only pays attention to the cache file if you give it
22869 # the --recheck option to rerun configure.
22871 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22872 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22873 # following values.
22877 # The following way of writing the cache mishandles newlines in values,
22878 # but we know of no workaround that is simple, portable, and efficient.
22879 # So, don't put newlines in cache variables' values.
22880 # Ultrix sh set writes to stderr and can't be redirected directly,
22881 # and sets the high bit in the cache file unless we assign to the vars.
22884 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22886 # `set' does not quote correctly, so add quotes (double-quote
22887 # substitution turns \\\\ into \\, and sed turns \\ into \).
22890 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22893 # `set' quotes correctly as required by POSIX, so do not add quotes.
22895 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22902 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22904 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22906 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22907 if test -w $cache_file; then
22908 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22909 cat confcache >$cache_file
22911 echo "not updating unwritable cache $cache_file"
22916 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22917 # Let make expand exec_prefix.
22918 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22920 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22921 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22922 # trailing colons and then remove the whole line if VPATH becomes empty
22923 # (actually we leave an empty line to preserve line numbers).
22924 if test "x$srcdir" = x.; then
22925 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22926 s/:*\$(srcdir):*/:/;
22927 s/:*\${srcdir}:*/:/;
22929 s/^\([^=]*=[ ]*\):*/\1/;
22935 DEFS=-DHAVE_CONFIG_H
22939 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22940 # 1. Remove the extension, and $U if already installed.
22941 ac_i=`echo "$ac_i" |
22942 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22944 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22945 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22947 LIBOBJS=$ac_libobjs
22949 LTLIBOBJS=$ac_ltlibobjs
22953 : ${CONFIG_STATUS=./config.status}
22954 ac_clean_files_save=$ac_clean_files
22955 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22956 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22957 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22958 cat >$CONFIG_STATUS <<_ACEOF
22960 # Generated by $as_me.
22961 # Run this file to recreate the current configuration.
22962 # Compiler output produced by configure, useful for debugging
22963 # configure, is in config.log if it exists.
22966 ac_cs_recheck=false
22968 SHELL=\${CONFIG_SHELL-$SHELL}
22971 cat >>$CONFIG_STATUS <<\_ACEOF
22972 ## --------------------- ##
22973 ## M4sh Initialization. ##
22974 ## --------------------- ##
22976 # Be Bourne compatible
22977 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22980 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22981 # is contrary to our usage. Disable this feature.
22982 alias -g '${1+"$@"}'='"$@"'
22983 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22987 # Support unset when possible.
22988 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22995 # Work around bugs in pre-3.0 UWIN ksh.
22996 $as_unset ENV MAIL MAILPATH
23003 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23004 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23005 LC_TELEPHONE LC_TIME
23007 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23008 eval $as_var=C; export $as_var
23014 # Required to use basename.
23015 if expr a : '\(a\)' >/dev/null 2>&1; then
23021 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23022 as_basename=basename
23028 # Name of the executable.
23029 as_me=`$as_basename "$0" ||
23030 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23031 X"$0" : 'X\(//\)$' \| \
23032 X"$0" : 'X\(/\)$' \| \
23033 . : '\(.\)' 2>/dev/null ||
23035 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23036 /^X\/\(\/\/\)$/{ s//\1/; q; }
23037 /^X\/\(\/\).*/{ s//\1/; q; }
23041 # PATH needs CR, and LINENO needs CR and PATH.
23042 # Avoid depending upon Character Ranges.
23043 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23044 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23045 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23046 as_cr_digits='0123456789'
23047 as_cr_alnum=$as_cr_Letters$as_cr_digits
23049 # The user is always right.
23050 if test "${PATH_SEPARATOR+set}" != set; then
23051 echo "#! /bin/sh" >conf$$.sh
23052 echo "exit 0" >>conf$$.sh
23054 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23063 as_lineno_1=$LINENO
23064 as_lineno_2=$LINENO
23065 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23066 test "x$as_lineno_1" != "x$as_lineno_2" &&
23067 test "x$as_lineno_3" = "x$as_lineno_2" || {
23068 # Find who we are. Look in the path if we contain no path at all
23071 *[\\/]* ) as_myself=$0 ;;
23072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23073 for as_dir in $PATH
23076 test -z "$as_dir" && as_dir=.
23077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23082 # We did not find ourselves, most probably we were run as `sh COMMAND'
23083 # in which case we are not to be found in the path.
23084 if test "x$as_myself" = x; then
23087 if test ! -f "$as_myself"; then
23088 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23089 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23090 { (exit 1); exit 1; }; }
23092 case $CONFIG_SHELL in
23094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23095 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23098 test -z "$as_dir" && as_dir=.
23099 for as_base in sh bash ksh sh5; do
23102 if ("$as_dir/$as_base" -c '
23103 as_lineno_1=$LINENO
23104 as_lineno_2=$LINENO
23105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23106 test "x$as_lineno_1" != "x$as_lineno_2" &&
23107 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23108 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23109 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23110 CONFIG_SHELL=$as_dir/$as_base
23111 export CONFIG_SHELL
23112 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23120 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23121 # uniformly replaced by the line number. The first 'sed' inserts a
23122 # line-number line before each line; the second 'sed' does the real
23123 # work. The second script uses 'N' to pair each line-number line
23124 # with the numbered line, and appends trailing '-' during
23125 # substitution so that $LINENO is not a special case at line end.
23126 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23127 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23128 sed '=' <$as_myself |
23133 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23136 s,^['$as_cr_digits']*\n,,
23137 ' >$as_me.lineno &&
23138 chmod +x $as_me.lineno ||
23139 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23140 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23141 { (exit 1); exit 1; }; }
23143 # Don't try to exec as it changes $[0], causing all sort of problems
23144 # (the dirname of $[0] is not the place where we might find the
23145 # original and so on. Autoconf is especially sensible to this).
23147 # Exit status is that of the last command.
23152 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23153 *c*,-n*) ECHO_N= ECHO_C='
23155 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23156 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23159 if expr a : '\(a\)' >/dev/null 2>&1; then
23165 rm -f conf$$ conf$$.exe conf$$.file
23167 if ln -s conf$$.file conf$$ 2>/dev/null; then
23168 # We could just check for DJGPP; but this test a) works b) is more generic
23169 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23170 if test -f conf$$.exe; then
23171 # Don't use ln at all; we don't have any links
23176 elif ln conf$$.file conf$$ 2>/dev/null; then
23181 rm -f conf$$ conf$$.exe conf$$.file
23183 if mkdir -p . 2>/dev/null; then
23189 as_executable_p="test -f"
23191 # Sed expression to map a string onto a valid CPP name.
23192 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23194 # Sed expression to map a string onto a valid variable name.
23195 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23199 # We need space, tab and new line, in precisely that order.
23209 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23210 # report actual input values of CONFIG_FILES etc. instead of their
23211 # values after options handling. Logging --version etc. is OK.
23215 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23216 ## Running $as_me. ##
23221 This file was extended by [LLVM] $as_me [1.0], which was
23222 generated by GNU Autoconf 2.57. Invocation command line was
23224 CONFIG_FILES = $CONFIG_FILES
23225 CONFIG_HEADERS = $CONFIG_HEADERS
23226 CONFIG_LINKS = $CONFIG_LINKS
23227 CONFIG_COMMANDS = $CONFIG_COMMANDS
23231 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23235 # Files that config.status was made for.
23236 if test -n "$ac_config_files"; then
23237 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23240 if test -n "$ac_config_headers"; then
23241 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23244 if test -n "$ac_config_links"; then
23245 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23248 if test -n "$ac_config_commands"; then
23249 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23252 cat >>$CONFIG_STATUS <<\_ACEOF
23255 \`$as_me' instantiates files from templates according to the
23256 current configuration.
23258 Usage: $0 [OPTIONS] [FILE]...
23260 -h, --help print this help, then exit
23261 -V, --version print version number, then exit
23262 -q, --quiet do not print progress messages
23263 -d, --debug don't remove temporary files
23264 --recheck update $as_me by reconfiguring in the same conditions
23265 --file=FILE[:TEMPLATE]
23266 instantiate the configuration file FILE
23267 --header=FILE[:TEMPLATE]
23268 instantiate the configuration header FILE
23270 Configuration files:
23273 Configuration headers:
23276 Configuration commands:
23279 Report bugs to <bug-autoconf@gnu.org>."
23282 cat >>$CONFIG_STATUS <<_ACEOF
23284 [LLVM] config.status [1.0]
23285 configured by $0, generated by GNU Autoconf 2.57,
23286 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23288 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23289 Free Software Foundation, Inc.
23290 This config.status script is free software; the Free Software Foundation
23291 gives unlimited permission to copy, distribute and modify it."
23296 cat >>$CONFIG_STATUS <<\_ACEOF
23297 # If no file are specified by the user, then we need to provide default
23298 # value. By we need to know if files were specified by the user.
23304 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23305 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23313 *) # This is not an option, so the user has probably given explicit
23316 ac_need_defaults=false;;
23320 # Handling of the options.
23322 cat >>$CONFIG_STATUS <<\_ACEOF
23323 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23325 --version | --vers* | -V )
23326 echo "$ac_cs_version"; exit 0 ;;
23328 # Conflict between --help and --header
23329 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23330 Try \`$0 --help' for more information." >&5
23331 echo "$as_me: error: ambiguous option: $1
23332 Try \`$0 --help' for more information." >&2;}
23333 { (exit 1); exit 1; }; };;
23334 --help | --hel | -h )
23335 echo "$ac_cs_usage"; exit 0 ;;
23336 --debug | --d* | -d )
23338 --file | --fil | --fi | --f )
23340 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23341 ac_need_defaults=false;;
23342 --header | --heade | --head | --hea )
23344 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23345 ac_need_defaults=false;;
23346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23347 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23350 # This is an error.
23351 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23352 Try \`$0 --help' for more information." >&5
23353 echo "$as_me: error: unrecognized option: $1
23354 Try \`$0 --help' for more information." >&2;}
23355 { (exit 1); exit 1; }; } ;;
23357 *) ac_config_targets="$ac_config_targets $1" ;;
23363 ac_configure_extra_args=
23365 if $ac_cs_silent; then
23367 ac_configure_extra_args="$ac_configure_extra_args --silent"
23371 cat >>$CONFIG_STATUS <<_ACEOF
23372 if \$ac_cs_recheck; then
23373 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23374 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23379 cat >>$CONFIG_STATUS <<_ACEOF
23381 # INIT-COMMANDS section.
23384 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23552 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23553 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23554 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23555 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23556 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23557 ${srcdir}/autoconf/mkinstalldirs `dirname support/Makefile`
23558 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Makefile`
23559 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Support/Makefile`
23560 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Makefile`
23561 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Makefile`
23562 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Doc/Makefile`
23563 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/TableGen/Makefile`
23569 cat >>$CONFIG_STATUS <<\_ACEOF
23570 for ac_config_target in $ac_config_targets
23572 case "$ac_config_target" in
23573 # Handling of arguments.
23574 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23575 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23576 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23577 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23578 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23579 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23580 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23581 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23582 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23583 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23584 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23585 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23586 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23587 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23588 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23589 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23590 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23591 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23592 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23593 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23594 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23595 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23596 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23597 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23598 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23599 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23600 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23601 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23602 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23603 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23604 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23605 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23606 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23607 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23608 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23609 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23610 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23611 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23612 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23613 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23614 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23615 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23616 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23617 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23618 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23619 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23620 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23621 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23622 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23623 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23624 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23625 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23626 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23627 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23628 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23629 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23630 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23631 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23632 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23633 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23634 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23635 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23636 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23637 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23638 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23639 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23640 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23641 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23642 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23643 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23644 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23645 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23646 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23647 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23648 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23649 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23650 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23651 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23652 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23653 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23654 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23655 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23656 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23657 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23658 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23659 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23660 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23661 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23662 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23663 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23664 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23665 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23666 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23667 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23668 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23669 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23670 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23671 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23672 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23673 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23674 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23675 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23676 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23677 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23678 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23679 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23680 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23681 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23682 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23683 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23684 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23685 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23686 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23687 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23688 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23689 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23690 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23691 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23692 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23693 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23694 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23695 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23696 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23697 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23698 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23699 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23700 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23701 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23702 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23703 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23704 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23705 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23706 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23707 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23708 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23709 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23710 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23711 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23712 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23713 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23714 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23715 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23716 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23717 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23718 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23719 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23720 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23721 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23722 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23723 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23724 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23725 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23726 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23727 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23728 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23729 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23730 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23731 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23732 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23733 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23734 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23735 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23736 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23737 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23738 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23739 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23740 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23741 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23742 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23743 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23744 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23745 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23746 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23747 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23748 "support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/Makefile" ;;
23749 "support/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Makefile" ;;
23750 "support/lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Support/Makefile" ;;
23751 "support/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Makefile" ;;
23752 "support/tools/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Makefile" ;;
23753 "support/tools/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Doc/Makefile" ;;
23754 "support/tools/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/TableGen/Makefile" ;;
23755 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23756 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23757 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23758 { (exit 1); exit 1; }; };;
23762 # If the user did not use the arguments to specify the items to instantiate,
23763 # then the envvar interface is used. Set only those that are not.
23764 # We use the long form for the default assignment because of an extremely
23765 # bizarre bug on SunOS 4.1.3.
23766 if $ac_need_defaults; then
23767 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23768 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23769 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23772 # Have a temporary directory for convenience. Make it in the build tree
23773 # simply because there is no reason to put it here, and in addition,
23774 # creating and moving files from /tmp can sometimes cause problems.
23775 # Create a temporary directory, and hook for its removal unless debugging.
23778 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23779 trap '{ (exit 1); exit 1; }' 1 2 13 15
23782 # Create a (secure) tmp directory for tmp files.
23785 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23786 test -n "$tmp" && test -d "$tmp"
23789 tmp=./confstat$$-$RANDOM
23790 (umask 077 && mkdir $tmp)
23793 echo "$me: cannot create a temporary directory in ." >&2
23794 { (exit 1); exit 1; }
23799 cat >>$CONFIG_STATUS <<_ACEOF
23802 # CONFIG_FILES section.
23805 # No need to generate the scripts if there are no CONFIG_FILES.
23806 # This happens for instance when ./config.status config.h
23807 if test -n "\$CONFIG_FILES"; then
23808 # Protect against being on the right side of a sed subst in config.status.
23809 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23810 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23811 s,@SHELL@,$SHELL,;t t
23812 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23813 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23814 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23815 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23816 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23817 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23818 s,@exec_prefix@,$exec_prefix,;t t
23819 s,@prefix@,$prefix,;t t
23820 s,@program_transform_name@,$program_transform_name,;t t
23821 s,@bindir@,$bindir,;t t
23822 s,@sbindir@,$sbindir,;t t
23823 s,@libexecdir@,$libexecdir,;t t
23824 s,@datadir@,$datadir,;t t
23825 s,@sysconfdir@,$sysconfdir,;t t
23826 s,@sharedstatedir@,$sharedstatedir,;t t
23827 s,@localstatedir@,$localstatedir,;t t
23828 s,@libdir@,$libdir,;t t
23829 s,@includedir@,$includedir,;t t
23830 s,@oldincludedir@,$oldincludedir,;t t
23831 s,@infodir@,$infodir,;t t
23832 s,@mandir@,$mandir,;t t
23833 s,@build_alias@,$build_alias,;t t
23834 s,@host_alias@,$host_alias,;t t
23835 s,@target_alias@,$target_alias,;t t
23836 s,@DEFS@,$DEFS,;t t
23837 s,@ECHO_C@,$ECHO_C,;t t
23838 s,@ECHO_N@,$ECHO_N,;t t
23839 s,@ECHO_T@,$ECHO_T,;t t
23840 s,@LIBS@,$LIBS,;t t
23841 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23842 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23843 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23844 s,@build@,$build,;t t
23845 s,@build_cpu@,$build_cpu,;t t
23846 s,@build_vendor@,$build_vendor,;t t
23847 s,@build_os@,$build_os,;t t
23848 s,@host@,$host,;t t
23849 s,@host_cpu@,$host_cpu,;t t
23850 s,@host_vendor@,$host_vendor,;t t
23851 s,@host_os@,$host_os,;t t
23852 s,@target@,$target,;t t
23853 s,@target_cpu@,$target_cpu,;t t
23854 s,@target_vendor@,$target_vendor,;t t
23855 s,@target_os@,$target_os,;t t
23857 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23858 s,@ARCH@,$ARCH,;t t
23860 s,@CXXFLAGS@,$CXXFLAGS,;t t
23861 s,@LDFLAGS@,$LDFLAGS,;t t
23862 s,@CPPFLAGS@,$CPPFLAGS,;t t
23863 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23864 s,@EXEEXT@,$EXEEXT,;t t
23865 s,@OBJEXT@,$OBJEXT,;t t
23867 s,@CFLAGS@,$CFLAGS,;t t
23868 s,@ac_ct_CC@,$ac_ct_CC,;t t
23870 s,@ifGNUmake@,$ifGNUmake,;t t
23872 s,@LEXLIB@,$LEXLIB,;t t
23873 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23874 s,@YACC@,$YACC,;t t
23875 s,@EGREP@,$EGREP,;t t
23876 s,@LN_S@,$LN_S,;t t
23877 s,@ECHO@,$ECHO,;t t
23879 s,@ac_ct_AR@,$ac_ct_AR,;t t
23880 s,@RANLIB@,$RANLIB,;t t
23881 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23882 s,@STRIP@,$STRIP,;t t
23883 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23884 s,@CXXCPP@,$CXXCPP,;t t
23886 s,@FFLAGS@,$FFLAGS,;t t
23887 s,@ac_ct_F77@,$ac_ct_F77,;t t
23888 s,@LIBTOOL@,$LIBTOOL,;t t
23889 s,@RPWD@,$RPWD,;t t
23892 s,@MKDIR@,$MKDIR,;t t
23893 s,@DATE@,$DATE,;t t
23896 s,@ETAGS@,$ETAGS,;t t
23897 s,@PURIFY@,$PURIFY,;t t
23898 s,@PYTHON@,$PYTHON,;t t
23899 s,@QMTEST@,$QMTEST,;t t
23900 s,@ALLOCA@,$ALLOCA,;t t
23901 s,@LIBOBJS@,$LIBOBJS,;t t
23902 s,@MMAP_FILE@,$MMAP_FILE,;t t
23903 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23904 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23905 s,@USE_SPEC@,$USE_SPEC,;t t
23907 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23909 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23911 s,@PAPIDIR@,$PAPIDIR,;t t
23912 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23917 cat >>$CONFIG_STATUS <<\_ACEOF
23918 # Split the substitutions into bite-sized pieces for seds with
23919 # small command number limits, like on Digital OSF/1 and HP-UX.
23920 ac_max_sed_lines=48
23921 ac_sed_frag=1 # Number of current file.
23922 ac_beg=1 # First line for current file.
23923 ac_end=$ac_max_sed_lines # Line after last line for current file.
23926 while $ac_more_lines; do
23927 if test $ac_beg -gt 1; then
23928 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23930 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23932 if test ! -s $tmp/subs.frag; then
23933 ac_more_lines=false
23935 # The purpose of the label and of the branching condition is to
23936 # speed up the sed processing (if there are no `@' at all, there
23937 # is no need to browse any of the substitutions).
23938 # These are the two extra sed commands mentioned above.
23940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23941 if test -z "$ac_sed_cmds"; then
23942 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23944 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23946 ac_sed_frag=`expr $ac_sed_frag + 1`
23948 ac_end=`expr $ac_end + $ac_max_sed_lines`
23951 if test -z "$ac_sed_cmds"; then
23954 fi # test -n "$CONFIG_FILES"
23957 cat >>$CONFIG_STATUS <<\_ACEOF
23958 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23959 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23961 - | *:- | *:-:* ) # input from stdin
23963 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23964 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23965 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23966 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23967 * ) ac_file_in=$ac_file.in ;;
23970 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23971 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23973 X"$ac_file" : 'X\(//\)[^/]' \| \
23974 X"$ac_file" : 'X\(//\)$' \| \
23975 X"$ac_file" : 'X\(/\)' \| \
23976 . : '\(.\)' 2>/dev/null ||
23978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23979 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23980 /^X\(\/\/\)$/{ s//\1/; q; }
23981 /^X\(\/\).*/{ s//\1/; q; }
23983 { if $as_mkdir_p; then
23988 while test ! -d "$as_dir"; do
23989 as_dirs="$as_dir $as_dirs"
23990 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23992 X"$as_dir" : 'X\(//\)[^/]' \| \
23993 X"$as_dir" : 'X\(//\)$' \| \
23994 X"$as_dir" : 'X\(/\)' \| \
23995 . : '\(.\)' 2>/dev/null ||
23997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23998 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23999 /^X\(\/\/\)$/{ s//\1/; q; }
24000 /^X\(\/\).*/{ s//\1/; q; }
24003 test ! -n "$as_dirs" || mkdir $as_dirs
24004 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24005 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24006 { (exit 1); exit 1; }; }; }
24010 if test "$ac_dir" != .; then
24011 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24012 # A "../" for each directory in $ac_dir_suffix.
24013 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24015 ac_dir_suffix= ac_top_builddir=
24019 .) # No --srcdir option. We are building in place.
24021 if test -z "$ac_top_builddir"; then
24024 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24026 [\\/]* | ?:[\\/]* ) # Absolute path.
24027 ac_srcdir=$srcdir$ac_dir_suffix;
24028 ac_top_srcdir=$srcdir ;;
24029 *) # Relative path.
24030 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24031 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24033 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24035 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24036 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24037 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24038 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24042 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24043 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24046 if test x"$ac_file" != x-; then
24047 { echo "$as_me:$LINENO: creating $ac_file" >&5
24048 echo "$as_me: creating $ac_file" >&6;}
24051 # Let's still pretend it is `configure' which instantiates (i.e., don't
24052 # use $as_me), people would be surprised to read:
24053 # /* config.h. Generated by config.status. */
24054 if test x"$ac_file" = x-; then
24057 configure_input="$ac_file. "
24059 configure_input=$configure_input"Generated from `echo $ac_file_in |
24060 sed 's,.*/,,'` by configure."
24062 # First look for the input files in the build tree, otherwise in the
24064 ac_file_inputs=`IFS=:
24065 for f in $ac_file_in; do
24067 -) echo $tmp/stdin ;;
24069 # Absolute (can't be DOS-style, as IFS=:)
24070 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24071 echo "$as_me: error: cannot find input file: $f" >&2;}
24072 { (exit 1); exit 1; }; }
24075 if test -f "$f"; then
24078 elif test -f "$srcdir/$f"; then
24083 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24084 echo "$as_me: error: cannot find input file: $f" >&2;}
24085 { (exit 1); exit 1; }; }
24088 done` || { (exit 1); exit 1; }
24090 cat >>$CONFIG_STATUS <<_ACEOF
24094 cat >>$CONFIG_STATUS <<\_ACEOF
24096 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24097 s,@configure_input@,$configure_input,;t t
24098 s,@srcdir@,$ac_srcdir,;t t
24099 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24100 s,@top_srcdir@,$ac_top_srcdir,;t t
24101 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24102 s,@builddir@,$ac_builddir,;t t
24103 s,@abs_builddir@,$ac_abs_builddir,;t t
24104 s,@top_builddir@,$ac_top_builddir,;t t
24105 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24106 s,@INSTALL@,$ac_INSTALL,;t t
24107 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24109 if test x"$ac_file" != x-; then
24110 mv $tmp/out $ac_file
24118 cat >>$CONFIG_STATUS <<\_ACEOF
24121 # CONFIG_HEADER section.
24124 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24125 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24127 # ac_d sets the value in "#define NAME VALUE" lines.
24128 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24129 ac_dB='[ ].*$,\1#\2'
24132 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24133 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24134 ac_uB='$,\1#\2define\3'
24138 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24139 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24141 - | *:- | *:-:* ) # input from stdin
24143 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24144 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24145 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24146 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24147 * ) ac_file_in=$ac_file.in ;;
24150 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24151 echo "$as_me: creating $ac_file" >&6;}
24153 # First look for the input files in the build tree, otherwise in the
24155 ac_file_inputs=`IFS=:
24156 for f in $ac_file_in; do
24158 -) echo $tmp/stdin ;;
24160 # Absolute (can't be DOS-style, as IFS=:)
24161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24162 echo "$as_me: error: cannot find input file: $f" >&2;}
24163 { (exit 1); exit 1; }; }
24166 if test -f "$f"; then
24169 elif test -f "$srcdir/$f"; then
24174 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24175 echo "$as_me: error: cannot find input file: $f" >&2;}
24176 { (exit 1); exit 1; }; }
24179 done` || { (exit 1); exit 1; }
24180 # Remove the trailing spaces.
24181 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24185 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24186 # `conftest.undefs', that substitutes the proper values into
24187 # config.h.in to produce config.h. The first handles `#define'
24188 # templates, and the second `#undef' templates.
24189 # And first: Protect against being on the right side of a sed subst in
24190 # config.status. Protect against being in an unquoted here document
24191 # in config.status.
24192 rm -f conftest.defines conftest.undefs
24193 # Using a here document instead of a string reduces the quoting nightmare.
24194 # Putting comments in sed scripts is not portable.
24196 # `end' is used to avoid that the second main sed command (meant for
24197 # 0-ary CPP macros) applies to n-ary macro definitions.
24198 # See the Autoconf documentation for `clear'.
24199 cat >confdef2sed.sed <<\_ACEOF
24204 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24206 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24209 # If some macros were called several times there might be several times
24210 # the same #defines, which is useless. Nevertheless, we may not want to
24211 # sort them, since we want the *last* AC-DEFINE to be honored.
24212 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24213 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24214 rm -f confdef2sed.sed
24216 # This sed command replaces #undef with comments. This is necessary, for
24217 # example, in the case of _POSIX_SOURCE, which is predefined and required
24218 # on some systems where configure will not decide to define it.
24219 cat >>conftest.undefs <<\_ACEOF
24220 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24223 # Break up conftest.defines because some shells have a limit on the size
24224 # of here documents, and old seds have small limits too (100 cmds).
24225 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24226 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24227 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24228 echo ' :' >>$CONFIG_STATUS
24229 rm -f conftest.tail
24230 while grep . conftest.defines >/dev/null
24232 # Write a limited-size here document to $tmp/defines.sed.
24233 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24234 # Speed up: don't consider the non `#define' lines.
24235 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24236 # Work around the forget-to-reset-the-flag bug.
24237 echo 't clr' >>$CONFIG_STATUS
24238 echo ': clr' >>$CONFIG_STATUS
24239 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24241 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24243 mv $tmp/out $tmp/in
24245 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24246 rm -f conftest.defines
24247 mv conftest.tail conftest.defines
24249 rm -f conftest.defines
24250 echo ' fi # grep' >>$CONFIG_STATUS
24251 echo >>$CONFIG_STATUS
24253 # Break up conftest.undefs because some shells have a limit on the size
24254 # of here documents, and old seds have small limits too (100 cmds).
24255 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24256 rm -f conftest.tail
24257 while grep . conftest.undefs >/dev/null
24259 # Write a limited-size here document to $tmp/undefs.sed.
24260 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24261 # Speed up: don't consider the non `#undef'
24262 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24263 # Work around the forget-to-reset-the-flag bug.
24264 echo 't clr' >>$CONFIG_STATUS
24265 echo ': clr' >>$CONFIG_STATUS
24266 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24268 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24270 mv $tmp/out $tmp/in
24272 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24273 rm -f conftest.undefs
24274 mv conftest.tail conftest.undefs
24276 rm -f conftest.undefs
24278 cat >>$CONFIG_STATUS <<\_ACEOF
24279 # Let's still pretend it is `configure' which instantiates (i.e., don't
24280 # use $as_me), people would be surprised to read:
24281 # /* config.h. Generated by config.status. */
24282 if test x"$ac_file" = x-; then
24283 echo "/* Generated by configure. */" >$tmp/config.h
24285 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24287 cat $tmp/in >>$tmp/config.h
24289 if test x"$ac_file" != x-; then
24290 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24291 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24292 echo "$as_me: $ac_file is unchanged" >&6;}
24294 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24295 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24296 X"$ac_file" : 'X\(//\)[^/]' \| \
24297 X"$ac_file" : 'X\(//\)$' \| \
24298 X"$ac_file" : 'X\(/\)' \| \
24299 . : '\(.\)' 2>/dev/null ||
24301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24303 /^X\(\/\/\)$/{ s//\1/; q; }
24304 /^X\(\/\).*/{ s//\1/; q; }
24306 { if $as_mkdir_p; then
24311 while test ! -d "$as_dir"; do
24312 as_dirs="$as_dir $as_dirs"
24313 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24315 X"$as_dir" : 'X\(//\)[^/]' \| \
24316 X"$as_dir" : 'X\(//\)$' \| \
24317 X"$as_dir" : 'X\(/\)' \| \
24318 . : '\(.\)' 2>/dev/null ||
24320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24321 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24322 /^X\(\/\/\)$/{ s//\1/; q; }
24323 /^X\(\/\).*/{ s//\1/; q; }
24326 test ! -n "$as_dirs" || mkdir $as_dirs
24327 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24328 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24329 { (exit 1); exit 1; }; }; }
24332 mv $tmp/config.h $ac_file
24336 rm -f $tmp/config.h
24340 cat >>$CONFIG_STATUS <<\_ACEOF
24343 # CONFIG_COMMANDS section.
24345 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24346 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24347 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24348 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24349 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24350 X"$ac_dest" : 'X\(//\)[^/]' \| \
24351 X"$ac_dest" : 'X\(//\)$' \| \
24352 X"$ac_dest" : 'X\(/\)' \| \
24353 . : '\(.\)' 2>/dev/null ||
24355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24357 /^X\(\/\/\)$/{ s//\1/; q; }
24358 /^X\(\/\).*/{ s//\1/; q; }
24362 if test "$ac_dir" != .; then
24363 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24364 # A "../" for each directory in $ac_dir_suffix.
24365 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24367 ac_dir_suffix= ac_top_builddir=
24371 .) # No --srcdir option. We are building in place.
24373 if test -z "$ac_top_builddir"; then
24376 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24378 [\\/]* | ?:[\\/]* ) # Absolute path.
24379 ac_srcdir=$srcdir$ac_dir_suffix;
24380 ac_top_srcdir=$srcdir ;;
24381 *) # Relative path.
24382 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24383 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24385 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24387 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24388 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24389 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24390 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24393 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24394 echo "$as_me: executing $ac_dest commands" >&6;}
24396 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24397 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24398 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24399 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24400 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24401 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24402 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24403 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24404 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24405 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24406 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24407 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24408 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24409 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24410 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24411 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24412 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24413 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24414 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24415 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24416 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24417 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24418 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24419 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24420 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24421 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24422 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24423 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24424 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24425 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24426 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24427 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24428 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24429 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24430 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24431 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24432 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24433 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24434 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24435 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24436 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24437 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24438 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24439 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24440 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24441 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24442 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24443 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24444 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24445 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24446 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24447 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24448 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24449 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24450 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24451 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24452 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24453 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24454 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24455 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24456 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24457 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24458 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24459 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24460 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24461 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24462 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24463 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24464 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24465 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 ;;
24466 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 ;;
24467 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 ;;
24468 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 ;;
24469 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 ;;
24470 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 ;;
24471 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 ;;
24472 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 ;;
24473 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 ;;
24474 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 ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24482 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24483 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24484 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24485 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 ;;
24486 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 ;;
24487 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 ;;
24488 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24489 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 ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 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 ;;
24504 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 ;;
24505 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 ;;
24506 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 ;;
24507 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 ;;
24508 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 ;;
24509 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 ;;
24510 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 ;;
24511 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 ;;
24512 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 ;;
24513 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 ;;
24514 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 ;;
24515 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 ;;
24516 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 ;;
24517 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 ;;
24518 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 ;;
24519 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 ;;
24520 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 ;;
24521 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24522 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24523 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24524 test/Programs/NoSource/Moria-5.5.2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Moria-5.5.2/Makefile test/Programs/NoSource/Moria-5.5.2/Makefile ;;
24525 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24526 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24527 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24528 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24529 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24530 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24531 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 ;;
24532 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 ;;
24533 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 ;;
24534 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 ;;
24535 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24536 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24537 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 ;;
24538 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24539 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 ;;
24540 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 ;;
24541 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24542 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24543 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24544 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24545 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24546 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24547 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24548 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24549 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24550 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24551 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24552 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24553 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24554 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24555 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24556 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24557 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24558 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24559 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24560 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24561 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24562 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24563 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24564 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24565 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24566 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24567 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24568 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24569 support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/Makefile support/Makefile ;;
24570 support/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Makefile support/lib/Makefile ;;
24571 support/lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Support/Makefile support/lib/Support/Makefile ;;
24572 support/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Makefile support/tools/Makefile ;;
24573 support/tools/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Makefile support/tools/Burg/Makefile ;;
24574 support/tools/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Doc/Makefile support/tools/Burg/Doc/Makefile ;;
24575 support/tools/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/TableGen/Makefile support/tools/TableGen/Makefile ;;
24580 cat >>$CONFIG_STATUS <<\_ACEOF
24582 { (exit 0); exit 0; }
24584 chmod +x $CONFIG_STATUS
24585 ac_clean_files=$ac_clean_files_save
24588 # configure is writing to config.log, and then calls config.status.
24589 # config.status does its own redirection, appending to config.log.
24590 # Unfortunately, on DOS this fails, as config.log is still kept open
24591 # by configure, so config.status won't be able to write to it; its
24592 # output is simply discarded. So we exec the FD to /dev/null,
24593 # effectively closing config.log, so it can be properly (re)opened and
24594 # appended to by config.status. When coming back to configure, we
24595 # need to make the FD available again.
24596 if test "$no_create" != yes; then
24598 ac_config_status_args=
24599 test "$silent" = yes &&
24600 ac_config_status_args="$ac_config_status_args --quiet"
24602 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24604 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24605 # would make configure fail if this is the last instruction.
24606 $ac_cs_success || { (exit 1); exit 1; }