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/Support/Makefile"
1593 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1596 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1599 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1602 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1605 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1620 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1623 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1626 ac_config_commands="$ac_config_commands runtime/Makefile"
1629 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1632 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1635 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1638 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1668 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1671 ac_config_commands="$ac_config_commands test/Makefile"
1674 ac_config_commands="$ac_config_commands test/Makefile.tests"
1677 ac_config_commands="$ac_config_commands test/QMTestDB/QMTest/llvm.py"
1680 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1683 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1686 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1689 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1692 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1695 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1698 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1725 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1728 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1734 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1737 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1740 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1788 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1791 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1923 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1926 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1953 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1956 ac_config_commands="$ac_config_commands tools/Makefile"
1959 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1962 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1965 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1968 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1971 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1974 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1977 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1980 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1983 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1986 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1989 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1992 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
1995 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1998 ac_config_commands="$ac_config_commands utils/Makefile"
2001 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2004 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2007 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2010 ac_config_commands="$ac_config_commands www/docs/Makefile"
2013 ac_config_commands="$ac_config_commands projects/Makefile"
2016 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2019 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2022 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2025 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2028 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2031 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2034 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2037 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2040 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2043 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2046 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2051 # Find a good install program. We prefer a C program (faster),
2052 # so one script is as good as another. But avoid the broken or
2053 # incompatible versions:
2054 # SysV /etc/install, /usr/sbin/install
2055 # SunOS /usr/etc/install
2056 # IRIX /sbin/install
2058 # AmigaOS /C/install, which installs bootblocks on floppy discs
2059 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2060 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2061 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2062 # ./install, which can be erroneously created by make from ./install.sh.
2063 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2064 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2065 if test -z "$INSTALL"; then
2066 if test "${ac_cv_path_install+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir=.
2074 # Account for people who put trailing slashes in PATH elements.
2076 ./ | .// | /cC/* | \
2077 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2080 # OSF1 and SCO ODT 3.0 have their own names for install.
2081 # Don't use installbsd from OSF since it installs stuff as root
2083 for ac_prog in ginstall scoinst install; do
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2086 if test $ac_prog = install &&
2087 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2088 # AIX install. It has an incompatible calling convention.
2090 elif test $ac_prog = install &&
2091 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2092 # program-specific install script used by HP pwplus--don't use.
2095 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2107 if test "${ac_cv_path_install+set}" = set; then
2108 INSTALL=$ac_cv_path_install
2110 # As a last resort, use the slow shell script. We don't cache a
2111 # path for INSTALL within a source directory, because that will
2112 # break other packages using the cache if that directory is
2113 # removed, or if the path is relative.
2114 INSTALL=$ac_install_sh
2117 echo "$as_me:$LINENO: result: $INSTALL" >&5
2118 echo "${ECHO_T}$INSTALL" >&6
2120 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2121 # It thinks the first close brace ends the variable substitution.
2122 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2124 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2126 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2129 # Make sure we can run config.sub.
2130 $ac_config_sub sun4 >/dev/null 2>&1 ||
2131 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2132 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2133 { (exit 1); exit 1; }; }
2135 echo "$as_me:$LINENO: checking build system type" >&5
2136 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2137 if test "${ac_cv_build+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 ac_cv_build_alias=$build_alias
2141 test -z "$ac_cv_build_alias" &&
2142 ac_cv_build_alias=`$ac_config_guess`
2143 test -z "$ac_cv_build_alias" &&
2144 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2145 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2146 { (exit 1); exit 1; }; }
2147 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2148 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2149 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2150 { (exit 1); exit 1; }; }
2153 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2154 echo "${ECHO_T}$ac_cv_build" >&6
2156 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2157 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2158 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2161 echo "$as_me:$LINENO: checking host system type" >&5
2162 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2163 if test "${ac_cv_host+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 ac_cv_host_alias=$host_alias
2167 test -z "$ac_cv_host_alias" &&
2168 ac_cv_host_alias=$ac_cv_build_alias
2169 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2170 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2171 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2172 { (exit 1); exit 1; }; }
2175 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2176 echo "${ECHO_T}$ac_cv_host" >&6
2178 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2179 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2180 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2183 echo "$as_me:$LINENO: checking target system type" >&5
2184 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2185 if test "${ac_cv_target+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 ac_cv_target_alias=$target_alias
2189 test "x$ac_cv_target_alias" = "x" &&
2190 ac_cv_target_alias=$ac_cv_host_alias
2191 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2192 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2193 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2194 { (exit 1); exit 1; }; }
2197 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2198 echo "${ECHO_T}$ac_cv_target" >&6
2199 target=$ac_cv_target
2200 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2201 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2202 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2205 # The aliases save the names the user supplied, while $host etc.
2206 # will get canonicalized.
2207 test -n "$target_alias" &&
2208 test "$program_prefix$program_suffix$program_transform_name" = \
2210 program_prefix=${target_alias}-
2215 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2221 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2231 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2240 *sparc*solaris*) ARCH=Sparc
2247 ac_cpp='$CXXCPP $CPPFLAGS'
2248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2251 if test -n "$ac_tool_prefix"; then
2252 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2256 echo "$as_me:$LINENO: checking for $ac_word" >&5
2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2258 if test "${ac_cv_prog_CXX+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 if test -n "$CXX"; then
2262 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir=.
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2271 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 if test -n "$CXX"; then
2282 echo "$as_me:$LINENO: result: $CXX" >&5
2283 echo "${ECHO_T}$CXX" >&6
2285 echo "$as_me:$LINENO: result: no" >&5
2286 echo "${ECHO_T}no" >&6
2289 test -n "$CXX" && break
2292 if test -z "$CXX"; then
2294 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2296 # Extract the first word of "$ac_prog", so it can be a program name with args.
2297 set dummy $ac_prog; ac_word=$2
2298 echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2300 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 if test -n "$ac_ct_CXX"; then
2304 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2313 ac_cv_prog_ac_ct_CXX="$ac_prog"
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2323 if test -n "$ac_ct_CXX"; then
2324 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2325 echo "${ECHO_T}$ac_ct_CXX" >&6
2327 echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6
2331 test -n "$ac_ct_CXX" && break
2333 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2339 # Provide some information about the compiler.
2340 echo "$as_me:$LINENO:" \
2341 "checking for C++ compiler version" >&5
2342 ac_compiler=`set X $ac_compile; echo $2`
2343 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2344 (eval $ac_compiler --version </dev/null >&5) 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2349 (eval $ac_compiler -v </dev/null >&5) 2>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2354 (eval $ac_compiler -V </dev/null >&5) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2359 cat >conftest.$ac_ext <<_ACEOF
2360 #line $LINENO "configure"
2363 cat confdefs.h >>conftest.$ac_ext
2364 cat >>conftest.$ac_ext <<_ACEOF
2365 /* end confdefs.h. */
2375 ac_clean_files_save=$ac_clean_files
2376 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2377 # Try to create an executable without -o first, disregard a.out.
2378 # It will help us diagnose broken compilers, and finding out an intuition
2380 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2381 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2382 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2384 (eval $ac_link_default) 2>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 # Find the output, starting from the most likely. This scheme is
2389 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2392 # Be careful to initialize this variable, since it used to be cached.
2393 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2395 # b.out is created by i960 compilers.
2396 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2398 test -f "$ac_file" || continue
2400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2403 # This is the source file.
2406 # We found the default executable, but exeext='' is most
2410 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2411 # FIXME: I believe we export ac_cv_exeext for Libtool,
2412 # but it would be cool to find out if it's true. Does anybody
2413 # maintain Libtool? --akim.
2421 echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.$ac_ext >&5
2424 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2425 See \`config.log' for more details." >&5
2426 echo "$as_me: error: C++ compiler cannot create executables
2427 See \`config.log' for more details." >&2;}
2428 { (exit 77); exit 77; }; }
2431 ac_exeext=$ac_cv_exeext
2432 echo "$as_me:$LINENO: result: $ac_file" >&5
2433 echo "${ECHO_T}$ac_file" >&6
2435 # Check the compiler produces executables we can run. If not, either
2436 # the compiler is broken, or we cross compile.
2437 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2438 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2439 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2440 # If not cross compiling, check that we can run a simple program.
2441 if test "$cross_compiling" != yes; then
2442 if { ac_try='./$ac_file'
2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }; }; then
2450 if test "$cross_compiling" = maybe; then
2453 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2454 If you meant to cross compile, use \`--host'.
2455 See \`config.log' for more details." >&5
2456 echo "$as_me: error: cannot run C++ compiled programs.
2457 If you meant to cross compile, use \`--host'.
2458 See \`config.log' for more details." >&2;}
2459 { (exit 1); exit 1; }; }
2463 echo "$as_me:$LINENO: result: yes" >&5
2464 echo "${ECHO_T}yes" >&6
2466 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2467 ac_clean_files=$ac_clean_files_save
2468 # Check the compiler produces executables we can run. If not, either
2469 # the compiler is broken, or we cross compile.
2470 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2471 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2472 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2473 echo "${ECHO_T}$cross_compiling" >&6
2475 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2476 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2478 (eval $ac_link) 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; then
2482 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2483 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2484 # work properly (i.e., refer to `conftest.exe'), while it won't with
2486 for ac_file in conftest.exe conftest conftest.*; do
2487 test -f "$ac_file" || continue
2489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2490 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2497 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2498 See \`config.log' for more details." >&5
2499 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2500 See \`config.log' for more details." >&2;}
2501 { (exit 1); exit 1; }; }
2504 rm -f conftest$ac_cv_exeext
2505 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2506 echo "${ECHO_T}$ac_cv_exeext" >&6
2508 rm -f conftest.$ac_ext
2509 EXEEXT=$ac_cv_exeext
2511 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2512 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2513 if test "${ac_cv_objext+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 cat >conftest.$ac_ext <<_ACEOF
2517 #line $LINENO "configure"
2520 cat confdefs.h >>conftest.$ac_ext
2521 cat >>conftest.$ac_ext <<_ACEOF
2522 /* end confdefs.h. */
2532 rm -f conftest.o conftest.obj
2533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534 (eval $ac_compile) 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; then
2538 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2541 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2546 echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2549 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2550 See \`config.log' for more details." >&5
2551 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2552 See \`config.log' for more details." >&2;}
2553 { (exit 1); exit 1; }; }
2556 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2558 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2559 echo "${ECHO_T}$ac_cv_objext" >&6
2560 OBJEXT=$ac_cv_objext
2562 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2563 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2564 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 cat >conftest.$ac_ext <<_ACEOF
2568 #line $LINENO "configure"
2571 cat confdefs.h >>conftest.$ac_ext
2572 cat >>conftest.$ac_ext <<_ACEOF
2573 /* end confdefs.h. */
2586 rm -f conftest.$ac_objext
2587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2588 (eval $ac_compile) 2>&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); } &&
2592 { ac_try='test -s conftest.$ac_objext'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; }; then
2600 echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.$ac_ext >&5
2605 rm -f conftest.$ac_objext conftest.$ac_ext
2606 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2609 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2610 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2611 GXX=`test $ac_compiler_gnu = yes && echo yes`
2612 ac_test_CXXFLAGS=${CXXFLAGS+set}
2613 ac_save_CXXFLAGS=$CXXFLAGS
2615 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2616 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2617 if test "${ac_cv_prog_cxx_g+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 cat >conftest.$ac_ext <<_ACEOF
2621 #line $LINENO "configure"
2624 cat confdefs.h >>conftest.$ac_ext
2625 cat >>conftest.$ac_ext <<_ACEOF
2626 /* end confdefs.h. */
2636 rm -f conftest.$ac_objext
2637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2638 (eval $ac_compile) 2>&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); } &&
2642 { ac_try='test -s conftest.$ac_objext'
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); }; }; then
2648 ac_cv_prog_cxx_g=yes
2650 echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2655 rm -f conftest.$ac_objext conftest.$ac_ext
2657 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2658 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2659 if test "$ac_test_CXXFLAGS" = set; then
2660 CXXFLAGS=$ac_save_CXXFLAGS
2661 elif test $ac_cv_prog_cxx_g = yes; then
2662 if test "$GXX" = yes; then
2668 if test "$GXX" = yes; then
2674 for ac_declaration in \
2676 '#include <stdlib.h>' \
2677 'extern "C" void std::exit (int) throw (); using std::exit;' \
2678 'extern "C" void std::exit (int); using std::exit;' \
2679 'extern "C" void exit (int) throw ();' \
2680 'extern "C" void exit (int);' \
2683 cat >conftest.$ac_ext <<_ACEOF
2684 #line $LINENO "configure"
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2700 rm -f conftest.$ac_objext
2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2702 (eval $ac_compile) 2>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); } &&
2706 { ac_try='test -s conftest.$ac_objext'
2707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; }; then
2714 echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.$ac_ext >&5
2719 rm -f conftest.$ac_objext conftest.$ac_ext
2720 cat >conftest.$ac_ext <<_ACEOF
2721 #line $LINENO "configure"
2724 cat confdefs.h >>conftest.$ac_ext
2725 cat >>conftest.$ac_ext <<_ACEOF
2726 /* end confdefs.h. */
2736 rm -f conftest.$ac_objext
2737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738 (eval $ac_compile) 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } &&
2742 { ac_try='test -s conftest.$ac_objext'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; }; then
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2754 rm -f conftest.$ac_objext conftest.$ac_ext
2757 if test -n "$ac_declaration"; then
2758 echo '#ifdef __cplusplus' >>confdefs.h
2759 echo $ac_declaration >>confdefs.h
2760 echo '#endif' >>confdefs.h
2764 ac_cpp='$CPP $CPPFLAGS'
2765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2770 ac_cpp='$CPP $CPPFLAGS'
2771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2774 if test -n "$ac_tool_prefix"; then
2777 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2778 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2779 echo "$as_me:$LINENO: checking for $ac_word" >&5
2780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2781 if test "${ac_cv_prog_CC+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 if test -n "$CC"; then
2785 ac_cv_prog_CC="$CC" # Let the user override the test.
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir=.
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 if test -n "$CC"; then
2805 echo "$as_me:$LINENO: result: $CC" >&5
2806 echo "${ECHO_T}$CC" >&6
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2812 test -n "$CC" && break
2815 if test -z "$CC"; then
2819 # Extract the first word of "$ac_prog", so it can be a program name with args.
2820 set dummy $ac_prog; ac_word=$2
2821 echo "$as_me:$LINENO: checking for $ac_word" >&5
2822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2823 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2824 echo $ECHO_N "(cached) $ECHO_C" >&6
2826 if test -n "$ac_ct_CC"; then
2827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2836 ac_cv_prog_ac_ct_CC="$ac_prog"
2837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2846 if test -n "$ac_ct_CC"; then
2847 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2848 echo "${ECHO_T}$ac_ct_CC" >&6
2850 echo "$as_me:$LINENO: result: no" >&5
2851 echo "${ECHO_T}no" >&6
2854 test -n "$ac_ct_CC" && break
2861 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2862 See \`config.log' for more details." >&5
2863 echo "$as_me: error: no acceptable C compiler found in \$PATH
2864 See \`config.log' for more details." >&2;}
2865 { (exit 1); exit 1; }; }
2867 # Provide some information about the compiler.
2868 echo "$as_me:$LINENO:" \
2869 "checking for C compiler version" >&5
2870 ac_compiler=`set X $ac_compile; echo $2`
2871 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2872 (eval $ac_compiler --version </dev/null >&5) 2>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }
2876 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2877 (eval $ac_compiler -v </dev/null >&5) 2>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }
2881 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2882 (eval $ac_compiler -V </dev/null >&5) 2>&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }
2887 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2888 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2889 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 cat >conftest.$ac_ext <<_ACEOF
2893 #line $LINENO "configure"
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2911 rm -f conftest.$ac_objext
2912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2913 (eval $ac_compile) 2>&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } &&
2917 { ac_try='test -s conftest.$ac_objext'
2918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; }; then
2925 echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f conftest.$ac_objext conftest.$ac_ext
2931 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2934 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2935 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2936 GCC=`test $ac_compiler_gnu = yes && echo yes`
2937 ac_test_CFLAGS=${CFLAGS+set}
2938 ac_save_CFLAGS=$CFLAGS
2940 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2941 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2942 if test "${ac_cv_prog_cc_g+set}" = set; then
2943 echo $ECHO_N "(cached) $ECHO_C" >&6
2945 cat >conftest.$ac_ext <<_ACEOF
2946 #line $LINENO "configure"
2949 cat confdefs.h >>conftest.$ac_ext
2950 cat >>conftest.$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2961 rm -f conftest.$ac_objext
2962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2963 (eval $ac_compile) 2>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } &&
2967 { ac_try='test -s conftest.$ac_objext'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; }; then
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2980 rm -f conftest.$ac_objext conftest.$ac_ext
2982 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2983 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2984 if test "$ac_test_CFLAGS" = set; then
2985 CFLAGS=$ac_save_CFLAGS
2986 elif test $ac_cv_prog_cc_g = yes; then
2987 if test "$GCC" = yes; then
2993 if test "$GCC" = yes; then
2999 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3000 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3001 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3002 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 ac_cv_prog_cc_stdc=no
3006 cat >conftest.$ac_ext <<_ACEOF
3007 #line $LINENO "configure"
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3015 #include <sys/types.h>
3016 #include <sys/stat.h>
3017 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3018 struct buf { int x; };
3019 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3020 static char *e (p, i)
3026 static char *f (char * (*g) (char **, int), char **p, ...)
3031 s = g (p, va_arg (v,int));
3035 int test (int i, double x);
3036 struct s1 {int (*f) (int a);};
3037 struct s2 {int (*f) (double a);};
3038 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3044 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3049 # Don't try gcc -ansi; that turns off useful extensions and
3050 # breaks some systems' header files.
3051 # AIX -qlanglvl=ansi
3052 # Ultrix and OSF/1 -std1
3053 # HP-UX 10.20 and later -Ae
3054 # HP-UX older versions -Aa -D_HPUX_SOURCE
3055 # SVR4 -Xc -D__EXTENSIONS__
3056 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3058 CC="$ac_save_CC $ac_arg"
3059 rm -f conftest.$ac_objext
3060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3061 (eval $ac_compile) 2>&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } &&
3065 { ac_try='test -s conftest.$ac_objext'
3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then
3071 ac_cv_prog_cc_stdc=$ac_arg
3074 echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3078 rm -f conftest.$ac_objext
3080 rm -f conftest.$ac_ext conftest.$ac_objext
3085 case "x$ac_cv_prog_cc_stdc" in
3087 echo "$as_me:$LINENO: result: none needed" >&5
3088 echo "${ECHO_T}none needed" >&6 ;;
3090 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3091 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3092 CC="$CC $ac_cv_prog_cc_stdc" ;;
3095 # Some people use a C++ compiler to compile C. Since we use `exit',
3096 # in C++ we need to declare it. In case someone uses the same compiler
3097 # for both compiling C and C++ we need to have the C++ compiler decide
3098 # the declaration of exit, since it's the most demanding environment.
3099 cat >conftest.$ac_ext <<_ACEOF
3104 rm -f conftest.$ac_objext
3105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3106 (eval $ac_compile) 2>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try='test -s conftest.$ac_objext'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3116 for ac_declaration in \
3118 '#include <stdlib.h>' \
3119 'extern "C" void std::exit (int) throw (); using std::exit;' \
3120 'extern "C" void std::exit (int); using std::exit;' \
3121 'extern "C" void exit (int) throw ();' \
3122 'extern "C" void exit (int);' \
3125 cat >conftest.$ac_ext <<_ACEOF
3126 #line $LINENO "configure"
3129 cat confdefs.h >>conftest.$ac_ext
3130 cat >>conftest.$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3142 rm -f conftest.$ac_objext
3143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3144 (eval $ac_compile) 2>&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3161 rm -f conftest.$ac_objext conftest.$ac_ext
3162 cat >conftest.$ac_ext <<_ACEOF
3163 #line $LINENO "configure"
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } &&
3184 { ac_try='test -s conftest.$ac_objext'
3185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); }; }; then
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3196 rm -f conftest.$ac_objext conftest.$ac_ext
3199 if test -n "$ac_declaration"; then
3200 echo '#ifdef __cplusplus' >>confdefs.h
3201 echo $ac_declaration >>confdefs.h
3202 echo '#endif' >>confdefs.h
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3210 rm -f conftest.$ac_objext conftest.$ac_ext
3212 ac_cpp='$CPP $CPPFLAGS'
3213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3222 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3223 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3224 # On Suns, sometimes $CPP names a directory.
3225 if test -n "$CPP" && test -d "$CPP"; then
3228 if test -z "$CPP"; then
3229 if test "${ac_cv_prog_CPP+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 # Double quotes because CPP needs to be expanded
3233 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3236 for ac_c_preproc_warn_flag in '' yes
3238 # Use a header file that comes with gcc, so configuring glibc
3239 # with a fresh cross-compiler works.
3240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3241 # <limits.h> exists even on freestanding compilers.
3242 # On the NeXT, cc -E runs the code through the compiler's parser,
3243 # not just through cpp. "Syntax error" is here to catch this case.
3244 cat >conftest.$ac_ext <<_ACEOF
3245 #line $LINENO "configure"
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3252 # include <limits.h>
3254 # include <assert.h>
3258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3261 grep -v '^ *+' conftest.er1 >conftest.err
3263 cat conftest.err >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); } >/dev/null; then
3266 if test -s conftest.err; then
3267 ac_cpp_err=$ac_c_preproc_warn_flag
3274 if test -z "$ac_cpp_err"; then
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3280 # Broken: fails on valid input.
3283 rm -f conftest.err conftest.$ac_ext
3285 # OK, works on sane cases. Now check whether non-existent headers
3286 # can be detected and how.
3287 cat >conftest.$ac_ext <<_ACEOF
3288 #line $LINENO "configure"
3291 cat confdefs.h >>conftest.$ac_ext
3292 cat >>conftest.$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3294 #include <ac_nonexistent.h>
3296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3299 grep -v '^ *+' conftest.er1 >conftest.err
3301 cat conftest.err >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } >/dev/null; then
3304 if test -s conftest.err; then
3305 ac_cpp_err=$ac_c_preproc_warn_flag
3312 if test -z "$ac_cpp_err"; then
3313 # Broken: success on invalid input.
3316 echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.$ac_ext >&5
3319 # Passes both tests.
3323 rm -f conftest.err conftest.$ac_ext
3326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3327 rm -f conftest.err conftest.$ac_ext
3328 if $ac_preproc_ok; then
3340 echo "$as_me:$LINENO: result: $CPP" >&5
3341 echo "${ECHO_T}$CPP" >&6
3343 for ac_c_preproc_warn_flag in '' yes
3345 # Use a header file that comes with gcc, so configuring glibc
3346 # with a fresh cross-compiler works.
3347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3348 # <limits.h> exists even on freestanding compilers.
3349 # On the NeXT, cc -E runs the code through the compiler's parser,
3350 # not just through cpp. "Syntax error" is here to catch this case.
3351 cat >conftest.$ac_ext <<_ACEOF
3352 #line $LINENO "configure"
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3359 # include <limits.h>
3361 # include <assert.h>
3365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3366 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3368 grep -v '^ *+' conftest.er1 >conftest.err
3370 cat conftest.err >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } >/dev/null; then
3373 if test -s conftest.err; then
3374 ac_cpp_err=$ac_c_preproc_warn_flag
3381 if test -z "$ac_cpp_err"; then
3384 echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.$ac_ext >&5
3387 # Broken: fails on valid input.
3390 rm -f conftest.err conftest.$ac_ext
3392 # OK, works on sane cases. Now check whether non-existent headers
3393 # can be detected and how.
3394 cat >conftest.$ac_ext <<_ACEOF
3395 #line $LINENO "configure"
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3401 #include <ac_nonexistent.h>
3403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3406 grep -v '^ *+' conftest.er1 >conftest.err
3408 cat conftest.err >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } >/dev/null; then
3411 if test -s conftest.err; then
3412 ac_cpp_err=$ac_c_preproc_warn_flag
3419 if test -z "$ac_cpp_err"; then
3420 # Broken: success on invalid input.
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3426 # Passes both tests.
3430 rm -f conftest.err conftest.$ac_ext
3433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3434 rm -f conftest.err conftest.$ac_ext
3435 if $ac_preproc_ok; then
3438 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3439 See \`config.log' for more details." >&5
3440 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3441 See \`config.log' for more details." >&2;}
3442 { (exit 1); exit 1; }; }
3446 ac_cpp='$CPP $CPPFLAGS'
3447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3452 if test "$GCC" != "yes"
3454 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3455 echo "$as_me: error: gcc required but not found" >&2;}
3456 { (exit 1); exit 1; }; }
3459 if test "$GXX" != "yes"
3461 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3462 echo "$as_me: error: g++ required but not found" >&2;}
3463 { (exit 1); exit 1; }; }
3466 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3467 if test "$gccmajor" -lt "3"
3469 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3470 echo "$as_me: error: gcc 3.x required" >&2;}
3471 { (exit 1); exit 1; }; }
3474 echo "$as_me:$LINENO: checking for GNU make" >&5
3475 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3476 if test "${_cv_gnu_make_command+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 _cv_gnu_make_command='' ;
3480 for a in "$MAKE" make gmake gnumake ; do
3481 if test -z "$a" ; then continue ; fi ;
3482 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3483 _cv_gnu_make_command=$a ;
3489 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3490 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3491 if test "x$_cv_gnu_make_command" != "x" ; then
3495 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3496 echo "${ECHO_T}\"Not found\"" >&6;
3500 if test -z "$_cv_gnu_make_command"
3502 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3503 echo "$as_me: error: GNU Make required but not found" >&2;}
3504 { (exit 1); exit 1; }; }
3508 echo "$as_me:$LINENO: checking " >&5
3509 echo $ECHO_N "checking ... $ECHO_C" >&6
3510 if test "${ac_cv_has_flex+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 for ac_prog in flex lex
3515 # Extract the first word of "$ac_prog", so it can be a program name with args.
3516 set dummy $ac_prog; ac_word=$2
3517 echo "$as_me:$LINENO: checking for $ac_word" >&5
3518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3519 if test "${ac_cv_prog_LEX+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 if test -n "$LEX"; then
3523 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir=.
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3532 ac_cv_prog_LEX="$ac_prog"
3533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 if test -n "$LEX"; then
3543 echo "$as_me:$LINENO: result: $LEX" >&5
3544 echo "${ECHO_T}$LEX" >&6
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3550 test -n "$LEX" && break
3552 test -n "$LEX" || LEX=":"
3554 if test -z "$LEXLIB"
3556 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3557 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3558 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 ac_check_lib_save_LIBS=$LIBS
3563 cat >conftest.$ac_ext <<_ACEOF
3564 #line $LINENO "configure"
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3571 /* Override any gcc2 internal prototype to avoid an error. */
3575 /* We use char because int might match the return type of a gcc2
3576 builtin and then its argument prototype would still apply. */
3586 rm -f conftest.$ac_objext conftest$ac_exeext
3587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3588 (eval $ac_link) 2>&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); } &&
3592 { ac_try='test -s conftest$ac_exeext'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; }; then
3598 ac_cv_lib_fl_yywrap=yes
3600 echo "$as_me: failed program was:" >&5
3601 sed 's/^/| /' conftest.$ac_ext >&5
3603 ac_cv_lib_fl_yywrap=no
3605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3606 LIBS=$ac_check_lib_save_LIBS
3608 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3609 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3610 if test $ac_cv_lib_fl_yywrap = yes; then
3613 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3614 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3615 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 ac_check_lib_save_LIBS=$LIBS
3620 cat >conftest.$ac_ext <<_ACEOF
3621 #line $LINENO "configure"
3624 cat confdefs.h >>conftest.$ac_ext
3625 cat >>conftest.$ac_ext <<_ACEOF
3626 /* end confdefs.h. */
3628 /* Override any gcc2 internal prototype to avoid an error. */
3632 /* We use char because int might match the return type of a gcc2
3633 builtin and then its argument prototype would still apply. */
3643 rm -f conftest.$ac_objext conftest$ac_exeext
3644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3645 (eval $ac_link) 2>&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); } &&
3649 { ac_try='test -s conftest$ac_exeext'
3650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); }; }; then
3655 ac_cv_lib_l_yywrap=yes
3657 echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3660 ac_cv_lib_l_yywrap=no
3662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3663 LIBS=$ac_check_lib_save_LIBS
3665 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3666 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3667 if test $ac_cv_lib_l_yywrap = yes; then
3675 if test "x$LEX" != "x:"; then
3676 echo "$as_me:$LINENO: checking lex output file root" >&5
3677 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3678 if test "${ac_cv_prog_lex_root+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 # The minimal lex program is just a single line: %%. But some broken lexes
3682 # (Solaris, I think it was) want two %% lines, so accommodate them.
3683 cat >conftest.l <<_ACEOF
3687 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3688 (eval $LEX conftest.l) 2>&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); }
3692 if test -f lex.yy.c; then
3693 ac_cv_prog_lex_root=lex.yy
3694 elif test -f lexyy.c; then
3695 ac_cv_prog_lex_root=lexyy
3697 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3698 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3699 { (exit 1); exit 1; }; }
3702 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3703 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3705 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3707 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3708 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3709 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 # POSIX says lex can declare yytext either as a pointer or an array; the
3713 # default is implementation-dependent. Figure out which it is, since
3714 # not all implementations provide the %pointer and %array declarations.
3715 ac_cv_prog_lex_yytext_pointer=no
3716 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3718 LIBS="$LIBS $LEXLIB"
3719 cat >conftest.$ac_ext <<_ACEOF
3720 `cat $LEX_OUTPUT_ROOT.c`
3722 rm -f conftest.$ac_objext conftest$ac_exeext
3723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3724 (eval $ac_link) 2>&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } &&
3728 { ac_try='test -s conftest$ac_exeext'
3729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); }; }; then
3734 ac_cv_prog_lex_yytext_pointer=yes
3736 echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3742 rm -f "${LEX_OUTPUT_ROOT}.c"
3745 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3746 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3747 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3749 cat >>confdefs.h <<\_ACEOF
3750 #define YYTEXT_POINTER 1
3758 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3759 echo "${ECHO_T}$ac_cv_has_flex" >&6
3760 if test "$LEX" != "flex"; then
3761 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3762 echo "$as_me: error: flex not found but required" >&2;}
3763 { (exit 1); exit 1; }; }
3766 echo "$as_me:$LINENO: checking " >&5
3767 echo $ECHO_N "checking ... $ECHO_C" >&6
3768 if test "${ac_cv_has_bison+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 for ac_prog in 'bison -y' byacc
3773 # Extract the first word of "$ac_prog", so it can be a program name with args.
3774 set dummy $ac_prog; ac_word=$2
3775 echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3777 if test "${ac_cv_prog_YACC+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 if test -n "$YACC"; then
3781 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790 ac_cv_prog_YACC="$ac_prog"
3791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 YACC=$ac_cv_prog_YACC
3800 if test -n "$YACC"; then
3801 echo "$as_me:$LINENO: result: $YACC" >&5
3802 echo "${ECHO_T}$YACC" >&6
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3808 test -n "$YACC" && break
3810 test -n "$YACC" || YACC="yacc"
3814 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3815 echo "${ECHO_T}$ac_cv_has_bison" >&6
3816 if test "$YACC" != "bison -y"; then
3817 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3818 echo "$as_me: error: bison not found but required" >&2;}
3819 { (exit 1); exit 1; }; }
3826 # Check whether --enable-shared or --disable-shared was given.
3827 if test "${enable_shared+set}" = set; then
3828 enableval="$enable_shared"
3829 p=${PACKAGE-default}
3831 yes) enable_shared=yes ;;
3832 no) enable_shared=no ;;
3835 # Look at the argument we got. We use all the common list separators.
3836 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3837 for pkg in $enableval; do
3839 if test "X$pkg" = "X$p"; then
3850 # Check whether --enable-static or --disable-static was given.
3851 if test "${enable_static+set}" = set; then
3852 enableval="$enable_static"
3853 p=${PACKAGE-default}
3855 yes) enable_static=yes ;;
3856 no) enable_static=no ;;
3859 # Look at the argument we got. We use all the common list separators.
3860 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3861 for pkg in $enableval; do
3863 if test "X$pkg" = "X$p"; then
3874 # Check whether --enable-fast-install or --disable-fast-install was given.
3875 if test "${enable_fast_install+set}" = set; then
3876 enableval="$enable_fast_install"
3877 p=${PACKAGE-default}
3879 yes) enable_fast_install=yes ;;
3880 no) enable_fast_install=no ;;
3882 enable_fast_install=no
3883 # Look at the argument we got. We use all the common list separators.
3884 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3885 for pkg in $enableval; do
3887 if test "X$pkg" = "X$p"; then
3888 enable_fast_install=yes
3895 enable_fast_install=yes
3898 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3899 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3900 if test "${lt_cv_path_SED+set}" = set; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 # Loop through the user's path and test for sed and gsed.
3904 # Then use that list of sed's as ones to test for truncation.
3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3909 test -z "$as_dir" && as_dir=.
3910 for lt_ac_prog in sed gsed; do
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3913 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3920 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3921 # along with /bin/sed that truncates output.
3922 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3923 test ! -f $lt_ac_sed && break
3924 cat /dev/null > conftest.in
3926 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3927 # Check for GNU sed and select it if it is found.
3928 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3929 lt_cv_path_SED=$lt_ac_sed
3933 cat conftest.in conftest.in >conftest.tmp
3934 mv conftest.tmp conftest.in
3935 cp conftest.in conftest.nl
3937 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3938 cmp -s conftest.out conftest.nl || break
3939 # 10000 chars as input seems more than enough
3940 test $lt_ac_count -gt 10 && break
3941 lt_ac_count=`expr $lt_ac_count + 1`
3942 if test $lt_ac_count -gt $lt_ac_max; then
3943 lt_ac_max=$lt_ac_count
3944 lt_cv_path_SED=$lt_ac_sed
3952 echo "$as_me:$LINENO: result: $SED" >&5
3953 echo "${ECHO_T}$SED" >&6
3955 echo "$as_me:$LINENO: checking for egrep" >&5
3956 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3957 if test "${ac_cv_prog_egrep+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3961 then ac_cv_prog_egrep='grep -E'
3962 else ac_cv_prog_egrep='egrep'
3965 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3966 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3967 EGREP=$ac_cv_prog_egrep
3971 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3972 if test "${with_gnu_ld+set}" = set; then
3973 withval="$with_gnu_ld"
3974 test "$withval" = no || with_gnu_ld=yes
3979 if test "$GCC" = yes; then
3980 # Check if gcc -print-prog-name=ld gives a path.
3981 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3982 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3985 # gcc leaves a trailing carriage return which upsets mingw
3986 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3988 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3991 # Accept absolute paths.
3993 re_direlt='/[^/][^/]*/\.\./'
3994 # Canonicalize the path of ld
3995 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3996 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3997 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3999 test -z "$LD" && LD="$ac_prog"
4002 # If it fails, then pretend we aren't using GCC.
4006 # If it is relative, then search for the first ld in PATH.
4010 elif test "$with_gnu_ld" = yes; then
4011 echo "$as_me:$LINENO: checking for GNU ld" >&5
4012 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4014 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4015 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4017 if test "${lt_cv_path_LD+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 if test -z "$LD"; then
4021 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4022 for ac_dir in $PATH; do
4024 test -z "$ac_dir" && ac_dir=.
4025 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4026 lt_cv_path_LD="$ac_dir/$ac_prog"
4027 # Check to see if the program is GNU ld. I'd rather use --version,
4028 # but apparently some GNU ld's only accept -v.
4029 # Break only if it was the GNU/non-GNU ld that we prefer.
4030 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4031 *GNU* | *'with BFD'*)
4032 test "$with_gnu_ld" != no && break
4035 test "$with_gnu_ld" != yes && break
4042 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4047 if test -n "$LD"; then
4048 echo "$as_me:$LINENO: result: $LD" >&5
4049 echo "${ECHO_T}$LD" >&6
4051 echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4054 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4055 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4056 { (exit 1); exit 1; }; }
4057 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4058 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4059 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4063 case `"$LD" -v 2>&1 </dev/null` in
4064 *GNU* | *'with BFD'*)
4065 lt_cv_prog_gnu_ld=yes
4068 lt_cv_prog_gnu_ld=no
4072 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4073 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4074 with_gnu_ld=$lt_cv_prog_gnu_ld
4077 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4078 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4079 if test "${lt_cv_ld_reload_flag+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 lt_cv_ld_reload_flag='-r'
4084 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4085 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4086 reload_flag=$lt_cv_ld_reload_flag
4087 case $reload_flag in
4089 *) reload_flag=" $reload_flag" ;;
4091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4093 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4094 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4095 if test "${lt_cv_path_NM+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 if test -n "$NM"; then
4099 # Let the user override the test.
4102 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4103 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4105 test -z "$ac_dir" && ac_dir=.
4106 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4107 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4108 # Check to see if the nm accepts a BSD-compat flag.
4109 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4110 # nm: unknown option "B" ignored
4111 # Tru64's nm complains that /dev/null is an invalid object file
4112 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4113 */dev/null* | *'Invalid file or object type'*)
4114 lt_cv_path_NM="$tmp_nm -B"
4118 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4120 lt_cv_path_NM="$tmp_nm -p"
4124 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4125 continue # so that we can try to find one that supports BSD flags
4132 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4135 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4136 echo "${ECHO_T}$lt_cv_path_NM" >&6
4139 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4140 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4142 if test "$LN_S" = "ln -s"; then
4143 echo "$as_me:$LINENO: result: yes" >&5
4144 echo "${ECHO_T}yes" >&6
4146 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4147 echo "${ECHO_T}no, using $LN_S" >&6
4150 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4151 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4152 if test "${lt_cv_deplibs_check_method+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 lt_cv_file_magic_cmd='$MAGIC_CMD'
4156 lt_cv_file_magic_test_file=
4157 lt_cv_deplibs_check_method='unknown'
4158 # Need to set the preceding variable on all platforms that support
4159 # interlibrary dependencies.
4160 # 'none' -- dependencies not supported.
4161 # `unknown' -- same as none, but documents that we really don't know.
4162 # 'pass_all' -- all dependencies passed with no checks.
4163 # 'test_compile' -- check by making test program.
4164 # 'file_magic [[regex]]' -- check by looking for files in library path
4165 # which responds to the $file_magic_cmd with a given extended regex.
4166 # If you have `file' or equivalent on your system and you're not sure
4167 # whether `pass_all' will *always* work, you probably want this one.
4171 lt_cv_deplibs_check_method=pass_all
4175 lt_cv_deplibs_check_method=pass_all
4179 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4180 lt_cv_file_magic_cmd='/usr/bin/file -L'
4181 lt_cv_file_magic_test_file=/shlib/libc.so
4184 cygwin* | mingw* | pw32*)
4185 # win32_libid is a shell function defined in ltmain.sh
4186 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4187 lt_cv_file_magic_cmd='win32_libid'
4190 darwin* | rhapsody*)
4191 # this will be overwritten by pass_all, but leave it in just in case
4192 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4193 lt_cv_file_magic_cmd='/usr/bin/file -L'
4195 rhapsody* | darwin1.[012])
4196 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4199 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4202 lt_cv_deplibs_check_method=pass_all
4206 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4209 # Not sure whether the presence of OpenBSD here was a mistake.
4210 # Let's accept both of them until this is cleared up.
4211 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4212 lt_cv_file_magic_cmd=/usr/bin/file
4213 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4217 lt_cv_deplibs_check_method=pass_all
4222 lt_cv_deplibs_check_method=pass_all
4225 hpux10.20* | hpux11*)
4226 lt_cv_file_magic_cmd=/usr/bin/file
4229 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4230 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4233 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]'
4234 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4237 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4238 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4243 irix5* | irix6* | nonstopux*)
4245 irix5* | nonstopux*)
4246 # this will be overridden with pass_all, but let us keep it just in case
4247 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4251 *-32|*"-32 ") libmagic=32-bit;;
4252 *-n32|*"-n32 ") libmagic=N32;;
4253 *-64|*"-64 ") libmagic=64-bit;;
4254 *) libmagic=never-match;;
4256 # this will be overridden with pass_all, but let us keep it just in case
4257 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4260 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4261 lt_cv_deplibs_check_method=pass_all
4264 # This must be Linux ELF.
4267 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4268 lt_cv_deplibs_check_method=pass_all ;;
4270 # glibc up to 2.1.1 does not perform some relocations on ARM
4271 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4273 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4277 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4278 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4280 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4285 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4286 lt_cv_file_magic_cmd=/usr/bin/file
4287 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4291 lt_cv_deplibs_check_method=unknown
4295 lt_cv_file_magic_cmd=/usr/bin/file
4296 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4297 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4298 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4300 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4304 osf3* | osf4* | osf5*)
4305 # this will be overridden with pass_all, but let us keep it just in case
4306 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4307 lt_cv_file_magic_test_file=/shlib/libc.so
4308 lt_cv_deplibs_check_method=pass_all
4312 lt_cv_deplibs_check_method=pass_all
4316 lt_cv_deplibs_check_method=pass_all
4317 lt_cv_file_magic_test_file=/lib/libc.so
4320 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4321 case $host_vendor in
4323 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]'
4324 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4327 lt_cv_deplibs_check_method=pass_all
4330 lt_cv_file_magic_cmd='/bin/file'
4331 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4334 lt_cv_file_magic_cmd='/bin/file'
4335 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4336 lt_cv_file_magic_test_file=/lib/libc.so
4339 lt_cv_deplibs_check_method=pass_all
4344 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4345 lt_cv_deplibs_check_method=pass_all
4350 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4351 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4352 file_magic_cmd=$lt_cv_file_magic_cmd
4353 deplibs_check_method=$lt_cv_deplibs_check_method
4354 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4359 # If no C compiler was specified, use CC.
4362 # Allow CC to be a program name with arguments.
4365 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4366 if test "${enable_libtool_lock+set}" = set; then
4367 enableval="$enable_libtool_lock"
4370 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4372 # Some flags need to be propagated to the compiler or linker for good
4376 # Find out which ABI we are using.
4377 echo 'int i;' > conftest.$ac_ext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379 (eval $ac_compile) 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; then
4383 case `/usr/bin/file conftest.$ac_objext` in
4395 # Find out which ABI we are using.
4396 echo '#line 4396 "configure"' > conftest.$ac_ext
4397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4398 (eval $ac_compile) 2>&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; then
4402 if test "$lt_cv_prog_gnu_ld" = yes; then
4403 case `/usr/bin/file conftest.$ac_objext` in
4405 LD="${LD-ld} -melf32bsmip"
4408 LD="${LD-ld} -melf32bmipn32"
4411 LD="${LD-ld} -melf64bmip"
4415 case `/usr/bin/file conftest.$ac_objext` in
4431 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4432 # Find out which ABI we are using.
4433 echo 'int i;' > conftest.$ac_ext
4434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4435 (eval $ac_compile) 2>&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); }; then
4439 case "`/usr/bin/file conftest.o`" in
4443 LD="${LD-ld} -m elf_i386"
4446 LD="${LD-ld} -m elf32ppclinux"
4449 LD="${LD-ld} -m elf_s390"
4452 LD="${LD-ld} -m elf32_sparc"
4459 LD="${LD-ld} -m elf_x86_64"
4461 ppc*-*linux*|powerpc*-*linux*)
4462 LD="${LD-ld} -m elf64ppc"
4465 LD="${LD-ld} -m elf64_s390"
4468 LD="${LD-ld} -m elf64_sparc"
4478 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4479 SAVE_CFLAGS="$CFLAGS"
4480 CFLAGS="$CFLAGS -belf"
4481 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4482 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4483 if test "${lt_cv_cc_needs_belf+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 ac_cpp='$CPP $CPPFLAGS'
4488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4492 cat >conftest.$ac_ext <<_ACEOF
4493 #line $LINENO "configure"
4496 cat confdefs.h >>conftest.$ac_ext
4497 cat >>conftest.$ac_ext <<_ACEOF
4498 /* end confdefs.h. */
4508 rm -f conftest.$ac_objext conftest$ac_exeext
4509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4510 (eval $ac_link) 2>&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); } &&
4514 { ac_try='test -s conftest$ac_exeext'
4515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; }; then
4520 lt_cv_cc_needs_belf=yes
4522 echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.$ac_ext >&5
4525 lt_cv_cc_needs_belf=no
4527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4529 ac_cpp='$CPP $CPPFLAGS'
4530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4535 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4536 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4537 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4538 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4539 CFLAGS="$SAVE_CFLAGS"
4545 need_locks="$enable_libtool_lock"
4549 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4550 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4551 if test "${ac_cv_header_stdc+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 cat >conftest.$ac_ext <<_ACEOF
4555 #line $LINENO "configure"
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4574 rm -f conftest.$ac_objext
4575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4576 (eval $ac_compile) 2>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try='test -s conftest.$ac_objext'
4581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; }; then
4586 ac_cv_header_stdc=yes
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 ac_cv_header_stdc=no
4593 rm -f conftest.$ac_objext conftest.$ac_ext
4595 if test $ac_cv_header_stdc = yes; then
4596 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4597 cat >conftest.$ac_ext <<_ACEOF
4598 #line $LINENO "configure"
4601 cat confdefs.h >>conftest.$ac_ext
4602 cat >>conftest.$ac_ext <<_ACEOF
4603 /* end confdefs.h. */
4607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4608 $EGREP "memchr" >/dev/null 2>&1; then
4611 ac_cv_header_stdc=no
4617 if test $ac_cv_header_stdc = yes; then
4618 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4619 cat >conftest.$ac_ext <<_ACEOF
4620 #line $LINENO "configure"
4623 cat confdefs.h >>conftest.$ac_ext
4624 cat >>conftest.$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4630 $EGREP "free" >/dev/null 2>&1; then
4633 ac_cv_header_stdc=no
4639 if test $ac_cv_header_stdc = yes; then
4640 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4641 if test "$cross_compiling" = yes; then
4644 cat >conftest.$ac_ext <<_ACEOF
4645 #line $LINENO "configure"
4648 cat confdefs.h >>conftest.$ac_ext
4649 cat >>conftest.$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4652 #if ((' ' & 0x0FF) == 0x020)
4653 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4654 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4656 # define ISLOWER(c) \
4657 (('a' <= (c) && (c) <= 'i') \
4658 || ('j' <= (c) && (c) <= 'r') \
4659 || ('s' <= (c) && (c) <= 'z'))
4660 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4668 for (i = 0; i < 256; i++)
4669 if (XOR (islower (i), ISLOWER (i))
4670 || toupper (i) != TOUPPER (i))
4675 rm -f conftest$ac_exeext
4676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4677 (eval $ac_link) 2>&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; }; then
4688 echo "$as_me: program exited with status $ac_status" >&5
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.$ac_ext >&5
4693 ac_cv_header_stdc=no
4695 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4699 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4700 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4701 if test $ac_cv_header_stdc = yes; then
4703 cat >>confdefs.h <<\_ACEOF
4704 #define STDC_HEADERS 1
4709 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4719 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4720 inttypes.h stdint.h unistd.h
4722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4723 echo "$as_me:$LINENO: checking for $ac_header" >&5
4724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 cat >conftest.$ac_ext <<_ACEOF
4729 #line $LINENO "configure"
4732 cat confdefs.h >>conftest.$ac_ext
4733 cat >>conftest.$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 $ac_includes_default
4737 #include <$ac_header>
4739 rm -f conftest.$ac_objext
4740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4741 (eval $ac_compile) 2>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try='test -s conftest.$ac_objext'
4746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4751 eval "$as_ac_Header=yes"
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4756 eval "$as_ac_Header=no"
4758 rm -f conftest.$ac_objext conftest.$ac_ext
4760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4763 cat >>confdefs.h <<_ACEOF
4764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4773 for ac_header in dlfcn.h
4775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4777 echo "$as_me:$LINENO: checking for $ac_header" >&5
4778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4780 echo $ECHO_N "(cached) $ECHO_C" >&6
4782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4785 # Is the header compilable?
4786 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4788 cat >conftest.$ac_ext <<_ACEOF
4789 #line $LINENO "configure"
4792 cat confdefs.h >>conftest.$ac_ext
4793 cat >>conftest.$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4795 $ac_includes_default
4796 #include <$ac_header>
4798 rm -f conftest.$ac_objext
4799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4800 (eval $ac_compile) 2>&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } &&
4804 { ac_try='test -s conftest.$ac_objext'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; }; then
4810 ac_header_compiler=yes
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4815 ac_header_compiler=no
4817 rm -f conftest.$ac_objext conftest.$ac_ext
4818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4819 echo "${ECHO_T}$ac_header_compiler" >&6
4821 # Is the header present?
4822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4824 cat >conftest.$ac_ext <<_ACEOF
4825 #line $LINENO "configure"
4828 cat confdefs.h >>conftest.$ac_ext
4829 cat >>conftest.$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 #include <$ac_header>
4833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4836 grep -v '^ *+' conftest.er1 >conftest.err
4838 cat conftest.err >&5
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); } >/dev/null; then
4841 if test -s conftest.err; then
4842 ac_cpp_err=$ac_c_preproc_warn_flag
4849 if test -z "$ac_cpp_err"; then
4850 ac_header_preproc=yes
4852 echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.$ac_ext >&5
4855 ac_header_preproc=no
4857 rm -f conftest.err conftest.$ac_ext
4858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4859 echo "${ECHO_T}$ac_header_preproc" >&6
4861 # So? What about this header?
4862 case $ac_header_compiler:$ac_header_preproc in
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4870 ## ------------------------------------ ##
4871 ## Report this to bug-autoconf@gnu.org. ##
4872 ## ------------------------------------ ##
4875 sed "s/^/$as_me: WARNING: /" >&2
4878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4886 ## ------------------------------------ ##
4887 ## Report this to bug-autoconf@gnu.org. ##
4888 ## ------------------------------------ ##
4891 sed "s/^/$as_me: WARNING: /" >&2
4894 echo "$as_me:$LINENO: checking for $ac_header" >&5
4895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4899 eval "$as_ac_Header=$ac_header_preproc"
4901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4906 cat >>confdefs.h <<_ACEOF
4907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4915 ac_cpp='$CXXCPP $CPPFLAGS'
4916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4919 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4920 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4921 if test -z "$CXXCPP"; then
4922 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4923 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 # Double quotes because CXXCPP needs to be expanded
4926 for CXXCPP in "$CXX -E" "/lib/cpp"
4929 for ac_cxx_preproc_warn_flag in '' yes
4931 # Use a header file that comes with gcc, so configuring glibc
4932 # with a fresh cross-compiler works.
4933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4934 # <limits.h> exists even on freestanding compilers.
4935 # On the NeXT, cc -E runs the code through the compiler's parser,
4936 # not just through cpp. "Syntax error" is here to catch this case.
4937 cat >conftest.$ac_ext <<_ACEOF
4938 #line $LINENO "configure"
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4945 # include <limits.h>
4947 # include <assert.h>
4951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4954 grep -v '^ *+' conftest.er1 >conftest.err
4956 cat conftest.err >&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); } >/dev/null; then
4959 if test -s conftest.err; then
4960 ac_cpp_err=$ac_cxx_preproc_warn_flag
4967 if test -z "$ac_cpp_err"; then
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.$ac_ext >&5
4973 # Broken: fails on valid input.
4976 rm -f conftest.err conftest.$ac_ext
4978 # OK, works on sane cases. Now check whether non-existent headers
4979 # can be detected and how.
4980 cat >conftest.$ac_ext <<_ACEOF
4981 #line $LINENO "configure"
4984 cat confdefs.h >>conftest.$ac_ext
4985 cat >>conftest.$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4987 #include <ac_nonexistent.h>
4989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4992 grep -v '^ *+' conftest.er1 >conftest.err
4994 cat conftest.err >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); } >/dev/null; then
4997 if test -s conftest.err; then
4998 ac_cpp_err=$ac_cxx_preproc_warn_flag
5005 if test -z "$ac_cpp_err"; then
5006 # Broken: success on invalid input.
5009 echo "$as_me: failed program was:" >&5
5010 sed 's/^/| /' conftest.$ac_ext >&5
5012 # Passes both tests.
5016 rm -f conftest.err conftest.$ac_ext
5019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5020 rm -f conftest.err conftest.$ac_ext
5021 if $ac_preproc_ok; then
5026 ac_cv_prog_CXXCPP=$CXXCPP
5029 CXXCPP=$ac_cv_prog_CXXCPP
5031 ac_cv_prog_CXXCPP=$CXXCPP
5033 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5034 echo "${ECHO_T}$CXXCPP" >&6
5036 for ac_cxx_preproc_warn_flag in '' yes
5038 # Use a header file that comes with gcc, so configuring glibc
5039 # with a fresh cross-compiler works.
5040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5041 # <limits.h> exists even on freestanding compilers.
5042 # On the NeXT, cc -E runs the code through the compiler's parser,
5043 # not just through cpp. "Syntax error" is here to catch this case.
5044 cat >conftest.$ac_ext <<_ACEOF
5045 #line $LINENO "configure"
5048 cat confdefs.h >>conftest.$ac_ext
5049 cat >>conftest.$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5052 # include <limits.h>
5054 # include <assert.h>
5058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5061 grep -v '^ *+' conftest.er1 >conftest.err
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } >/dev/null; then
5066 if test -s conftest.err; then
5067 ac_cpp_err=$ac_cxx_preproc_warn_flag
5074 if test -z "$ac_cpp_err"; then
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.$ac_ext >&5
5080 # Broken: fails on valid input.
5083 rm -f conftest.err conftest.$ac_ext
5085 # OK, works on sane cases. Now check whether non-existent headers
5086 # can be detected and how.
5087 cat >conftest.$ac_ext <<_ACEOF
5088 #line $LINENO "configure"
5091 cat confdefs.h >>conftest.$ac_ext
5092 cat >>conftest.$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5094 #include <ac_nonexistent.h>
5096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5099 grep -v '^ *+' conftest.er1 >conftest.err
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } >/dev/null; then
5104 if test -s conftest.err; then
5105 ac_cpp_err=$ac_cxx_preproc_warn_flag
5112 if test -z "$ac_cpp_err"; then
5113 # Broken: success on invalid input.
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.$ac_ext >&5
5119 # Passes both tests.
5123 rm -f conftest.err conftest.$ac_ext
5126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5127 rm -f conftest.err conftest.$ac_ext
5128 if $ac_preproc_ok; then
5131 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5132 See \`config.log' for more details." >&5
5133 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5134 See \`config.log' for more details." >&2;}
5135 { (exit 1); exit 1; }; }
5139 ac_cpp='$CXXCPP $CPPFLAGS'
5140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5146 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5147 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5148 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5149 if test -n "$ac_tool_prefix"; then
5150 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5154 echo "$as_me:$LINENO: checking for $ac_word" >&5
5155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5156 if test "${ac_cv_prog_F77+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 if test -n "$F77"; then
5160 ac_cv_prog_F77="$F77" # Let the user override the test.
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 if test -n "$F77"; then
5180 echo "$as_me:$LINENO: result: $F77" >&5
5181 echo "${ECHO_T}$F77" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5187 test -n "$F77" && break
5190 if test -z "$F77"; then
5192 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5194 # Extract the first word of "$ac_prog", so it can be a program name with args.
5195 set dummy $ac_prog; ac_word=$2
5196 echo "$as_me:$LINENO: checking for $ac_word" >&5
5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5198 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 if test -n "$ac_ct_F77"; then
5202 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_ac_ct_F77="$ac_prog"
5212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5221 if test -n "$ac_ct_F77"; then
5222 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5223 echo "${ECHO_T}$ac_ct_F77" >&6
5225 echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6
5229 test -n "$ac_ct_F77" && break
5236 # Provide some information about the compiler.
5237 echo "$as_me:5237:" \
5238 "checking for Fortran 77 compiler version" >&5
5239 ac_compiler=`set X $ac_compile; echo $2`
5240 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5241 (eval $ac_compiler --version </dev/null >&5) 2>&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }
5245 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5246 (eval $ac_compiler -v </dev/null >&5) 2>&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }
5250 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5251 (eval $ac_compiler -V </dev/null >&5) 2>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); }
5256 # If we don't use `.F' as extension, the preprocessor is not run on the
5260 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5261 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5262 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 cat >conftest.$ac_ext <<_ACEOF
5273 rm -f conftest.$ac_objext
5274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5275 (eval $ac_compile) 2>&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } &&
5279 { ac_try='test -s conftest.$ac_objext'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; }; then
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.$ac_ext >&5
5292 rm -f conftest.$ac_objext conftest.$ac_ext
5293 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5296 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5297 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5299 G77=`test $ac_compiler_gnu = yes && echo yes`
5300 ac_test_FFLAGS=${FFLAGS+set}
5301 ac_save_FFLAGS=$FFLAGS
5303 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5304 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5305 if test "${ac_cv_prog_f77_g+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5309 cat >conftest.$ac_ext <<_ACEOF
5314 rm -f conftest.$ac_objext
5315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5316 (eval $ac_compile) 2>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } &&
5320 { ac_try='test -s conftest.$ac_objext'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; }; then
5326 ac_cv_prog_f77_g=yes
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5333 rm -f conftest.$ac_objext conftest.$ac_ext
5336 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5337 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5338 if test "$ac_test_FFLAGS" = set; then
5339 FFLAGS=$ac_save_FFLAGS
5340 elif test $ac_cv_prog_f77_g = yes; then
5341 if test "$G77" = yes; then
5347 if test "$G77" = yes; then
5354 ac_cpp='$CPP $CPPFLAGS'
5355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5361 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5363 # find the maximum length of command line arguments
5364 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5365 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5366 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5374 # On DJGPP, this test can blow up pretty badly due to problems in libc
5375 # (any single argument exceeding 2000 bytes causes a buffer overrun
5376 # during glob expansion). Even if it were fixed, the result of this
5377 # check would be larger than it should be.
5378 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5382 # Under GNU Hurd, this test is not required because there is
5383 # no limit to the length of command line arguments.
5384 # Libtool will interpret -1 as no limit whatsoever
5385 lt_cv_sys_max_cmd_len=-1;
5389 # On Win9x/ME, this test blows up -- it succeeds, but takes
5390 # about 5 minutes as the teststring grows exponentially.
5391 # Worse, since 9x/ME are not pre-emptively multitasking,
5392 # you end up with a "frozen" computer, even though with patience
5393 # the test eventually succeeds (with a max line length of 256k).
5394 # Instead, let's just punt: use the minimum linelength reported by
5395 # all of the supported platforms: 8192 (on NT/2K/XP).
5396 lt_cv_sys_max_cmd_len=8192;
5400 # If test is not a shell built-in, we'll probably end up computing a
5401 # maximum length that is only half of the actual maximum length, but
5403 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5404 = "XX$testring") >/dev/null 2>&1 &&
5405 new_result=`expr "X$testring" : ".*" 2>&1` &&
5406 lt_cv_sys_max_cmd_len=$new_result &&
5407 test $i != 17 # 1/2 MB should be enough
5410 testring=$testring$testring
5413 # Add a significant safety factor because C++ compilers can tack on massive
5414 # amounts of additional arguments before passing them to the linker.
5415 # It appears as though 1/2 is a usable value.
5416 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5422 if test -n $lt_cv_sys_max_cmd_len ; then
5423 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5424 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5426 echo "$as_me:$LINENO: result: none" >&5
5427 echo "${ECHO_T}none" >&6
5433 # Check for command to grab the raw symbol name followed by C symbol from nm.
5434 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5435 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5436 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 # These are sane defaults that work on at least a few old systems.
5441 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5443 # Character class describing NM global symbol codes.
5444 symcode='[BCDEGRST]'
5446 # Regexp to match symbols that can be accessed directly from C.
5447 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5449 # Transform the above into a raw symbol and a C symbol.
5450 symxfrm='\1 \2\3 \3'
5452 # Transform an extracted symbol line into a proper C declaration
5453 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5455 # Transform an extracted symbol line into symbol name and symbol address
5456 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'"
5458 # Define system-specific variables.
5463 cygwin* | mingw* | pw32*)
5464 symcode='[ABCDGISTW]'
5466 hpux*) # Its linker distinguishes data from code symbols
5467 if test "$host_cpu" = ia64; then
5468 symcode='[ABCDEGRST]'
5470 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
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'"
5474 symcode='[BCDEGRST]'
5477 symcode='[BCDEGQRST]'
5487 # Handle CRLF in mingw tool chain
5491 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5495 # If we're using GNU nm, then use its standard symbol codes.
5496 case `$NM -V 2>&1` in
5497 *GNU* | *'with BFD'*)
5498 symcode='[ABCDGISTW]' ;;
5501 # Try without a prefix undercore, then with it.
5502 for ac_symprfx in "" "_"; do
5504 # Write the raw and C identifiers.
5505 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5507 # Check to see that the pipe works correctly.
5511 cat > conftest.$ac_ext <<EOF
5516 void nm_test_func(){}
5520 int main(){nm_test_var='a';nm_test_func();return(0);}
5523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5524 (eval $ac_compile) 2>&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); }; then
5528 # Now try to grab the symbols.
5530 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5531 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } && test -s "$nlist"; then
5535 # Try sorting and uniquifying the output.
5536 if sort "$nlist" | uniq > "$nlist"T; then
5537 mv -f "$nlist"T "$nlist"
5542 # Make sure that we snagged all the symbols we need.
5543 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5544 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5545 cat <<EOF > conftest.$ac_ext
5551 # Now generate the symbol file.
5552 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5554 cat <<EOF >> conftest.$ac_ext
5555 #if defined (__STDC__) && __STDC__
5556 # define lt_ptr_t void *
5558 # define lt_ptr_t char *
5562 /* The mapping between symbol names and symbols. */
5567 lt_preloaded_symbols[] =
5570 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5571 cat <<\EOF >> conftest.$ac_ext
5579 # Now try linking the two files.
5580 mv conftest.$ac_objext conftstm.$ac_objext
5581 lt_save_LIBS="$LIBS"
5582 lt_save_CFLAGS="$CFLAGS"
5583 LIBS="conftstm.$ac_objext"
5584 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5586 (eval $ac_link) 2>&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5592 LIBS="$lt_save_LIBS"
5593 CFLAGS="$lt_save_CFLAGS"
5595 echo "cannot find nm_test_func in $nlist" >&5
5598 echo "cannot find nm_test_var in $nlist" >&5
5601 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5604 echo "$progname: failed program was:" >&5
5605 cat conftest.$ac_ext >&5
5607 rm -f conftest* conftst*
5609 # Do not use the global_symbol_pipe unless it works.
5610 if test "$pipe_works" = yes; then
5613 lt_cv_sys_global_symbol_pipe=
5619 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5620 lt_cv_sys_global_symbol_to_cdecl=
5622 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5623 echo "$as_me:$LINENO: result: failed" >&5
5624 echo "${ECHO_T}failed" >&6
5626 echo "$as_me:$LINENO: result: ok" >&5
5627 echo "${ECHO_T}ok" >&6
5630 echo "$as_me:$LINENO: checking for objdir" >&5
5631 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5632 if test "${lt_cv_objdir+set}" = set; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6
5635 rm -f .libs 2>/dev/null
5636 mkdir .libs 2>/dev/null
5637 if test -d .libs; then
5640 # MS-DOS does not allow filenames that begin with a dot.
5643 rmdir .libs 2>/dev/null
5645 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5646 echo "${ECHO_T}$lt_cv_objdir" >&6
5647 objdir=$lt_cv_objdir
5655 # AIX sometimes has problems with the GCC collect2 program. For some
5656 # reason, if we set the COLLECT_NAMES environment variable, the problems
5657 # vanish in a puff of smoke.
5658 if test "X${COLLECT_NAMES+set}" != Xset; then
5660 export COLLECT_NAMES
5665 # Sed substitution that helps us do robust quoting. It backslashifies
5666 # metacharacters that are still active within double-quoted strings.
5667 Xsed='sed -e s/^X//'
5668 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5670 # Same as above, but do not quote variable references.
5671 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5673 # Sed substitution to delay expansion of an escaped shell variable in a
5674 # double_quote_subst'ed string.
5675 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5677 # Sed substitution to avoid accidental globbing in evaled expressions
5678 no_glob_subst='s/\*/\\\*/g'
5685 can_build_shared=yes
5687 # All known linkers require a `.a' archive for static linking (except M$VC,
5688 # which needs '.lib').
5690 ltmain="$ac_aux_dir/ltmain.sh"
5691 ofile="$default_ofile"
5692 with_gnu_ld="$lt_cv_prog_gnu_ld"
5694 if test -n "$ac_tool_prefix"; then
5695 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5696 set dummy ${ac_tool_prefix}ar; ac_word=$2
5697 echo "$as_me:$LINENO: checking for $ac_word" >&5
5698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5699 if test "${ac_cv_prog_AR+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5702 if test -n "$AR"; then
5703 ac_cv_prog_AR="$AR" # Let the user override the test.
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_AR="${ac_tool_prefix}ar"
5713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 if test -n "$AR"; then
5723 echo "$as_me:$LINENO: result: $AR" >&5
5724 echo "${ECHO_T}$AR" >&6
5726 echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6
5731 if test -z "$ac_cv_prog_AR"; then
5733 # Extract the first word of "ar", so it can be a program name with args.
5734 set dummy ar; ac_word=$2
5735 echo "$as_me:$LINENO: checking for $ac_word" >&5
5736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5737 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5740 if test -n "$ac_ct_AR"; then
5741 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_prog_ac_ct_AR="ar"
5751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5760 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5761 if test -n "$ac_ct_AR"; then
5762 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5763 echo "${ECHO_T}$ac_ct_AR" >&6
5765 echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6
5774 if test -n "$ac_tool_prefix"; then
5775 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5776 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5777 echo "$as_me:$LINENO: checking for $ac_word" >&5
5778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5779 if test "${ac_cv_prog_RANLIB+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 if test -n "$RANLIB"; then
5783 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 RANLIB=$ac_cv_prog_RANLIB
5802 if test -n "$RANLIB"; then
5803 echo "$as_me:$LINENO: result: $RANLIB" >&5
5804 echo "${ECHO_T}$RANLIB" >&6
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5811 if test -z "$ac_cv_prog_RANLIB"; then
5812 ac_ct_RANLIB=$RANLIB
5813 # Extract the first word of "ranlib", so it can be a program name with args.
5814 set dummy ranlib; ac_word=$2
5815 echo "$as_me:$LINENO: checking for $ac_word" >&5
5816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5817 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 if test -n "$ac_ct_RANLIB"; then
5821 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_ac_ct_RANLIB="ranlib"
5831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5840 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5841 if test -n "$ac_ct_RANLIB"; then
5842 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5843 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5849 RANLIB=$ac_ct_RANLIB
5851 RANLIB="$ac_cv_prog_RANLIB"
5854 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5856 set dummy ${ac_tool_prefix}strip; ac_word=$2
5857 echo "$as_me:$LINENO: checking for $ac_word" >&5
5858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5859 if test "${ac_cv_prog_STRIP+set}" = set; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6
5862 if test -n "$STRIP"; then
5863 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 STRIP=$ac_cv_prog_STRIP
5882 if test -n "$STRIP"; then
5883 echo "$as_me:$LINENO: result: $STRIP" >&5
5884 echo "${ECHO_T}$STRIP" >&6
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5891 if test -z "$ac_cv_prog_STRIP"; then
5893 # Extract the first word of "strip", so it can be a program name with args.
5894 set dummy strip; ac_word=$2
5895 echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5897 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 if test -n "$ac_ct_STRIP"; then
5901 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910 ac_cv_prog_ac_ct_STRIP="strip"
5911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5920 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5921 if test -n "$ac_ct_STRIP"; then
5922 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5923 echo "${ECHO_T}$ac_ct_STRIP" >&6
5925 echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6
5931 STRIP="$ac_cv_prog_STRIP"
5936 old_CFLAGS="$CFLAGS"
5938 # Set sane defaults for various variables
5939 test -z "$AR" && AR=ar
5940 test -z "$AR_FLAGS" && AR_FLAGS=cru
5941 test -z "$AS" && AS=as
5942 test -z "$CC" && CC=cc
5943 test -z "$LTCC" && LTCC=$CC
5944 test -z "$DLLTOOL" && DLLTOOL=dlltool
5945 test -z "$LD" && LD=ld
5946 test -z "$LN_S" && LN_S="ln -s"
5947 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5948 test -z "$NM" && NM=nm
5949 test -z "$SED" && SED=sed
5950 test -z "$OBJDUMP" && OBJDUMP=objdump
5951 test -z "$RANLIB" && RANLIB=:
5952 test -z "$STRIP" && STRIP=:
5953 test -z "$ac_objext" && ac_objext=o
5955 # Determine commands to create old-style static archives.
5956 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5957 old_postinstall_cmds='chmod 644 $oldlib'
5958 old_postuninstall_cmds=
5960 if test -n "$RANLIB"; then
5963 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5966 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5969 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5972 # Only perform the check for file, if the check method requires it
5973 case $deplibs_check_method in
5975 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5976 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5977 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5978 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5979 echo $ECHO_N "(cached) $ECHO_C" >&6
5983 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5986 lt_save_MAGIC_CMD="$MAGIC_CMD"
5987 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5988 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5989 for ac_dir in $ac_dummy; do
5991 test -z "$ac_dir" && ac_dir=.
5992 if test -f $ac_dir/${ac_tool_prefix}file; then
5993 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5994 if test -n "$file_magic_test_file"; then
5995 case $deplibs_check_method in
5997 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5998 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5999 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6000 $EGREP "$file_magic_regex" > /dev/null; then
6005 *** Warning: the command libtool uses to detect shared libraries,
6006 *** $file_magic_cmd, produces output that libtool cannot recognize.
6007 *** The result is that libtool may fail to recognize shared libraries
6008 *** as such. This will affect the creation of libtool libraries that
6009 *** depend on shared libraries, but programs linked with such libtool
6010 *** libraries will work regardless of this problem. Nevertheless, you
6011 *** may want to report the problem to your system manager and/or to
6012 *** bug-libtool@gnu.org
6022 MAGIC_CMD="$lt_save_MAGIC_CMD"
6027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6028 if test -n "$MAGIC_CMD"; then
6029 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6030 echo "${ECHO_T}$MAGIC_CMD" >&6
6032 echo "$as_me:$LINENO: result: no" >&5
6033 echo "${ECHO_T}no" >&6
6036 if test -z "$lt_cv_path_MAGIC_CMD"; then
6037 if test -n "$ac_tool_prefix"; then
6038 echo "$as_me:$LINENO: checking for file" >&5
6039 echo $ECHO_N "checking for file... $ECHO_C" >&6
6040 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6
6045 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6048 lt_save_MAGIC_CMD="$MAGIC_CMD"
6049 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6050 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6051 for ac_dir in $ac_dummy; do
6053 test -z "$ac_dir" && ac_dir=.
6054 if test -f $ac_dir/file; then
6055 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6056 if test -n "$file_magic_test_file"; then
6057 case $deplibs_check_method in
6059 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6061 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6062 $EGREP "$file_magic_regex" > /dev/null; then
6067 *** Warning: the command libtool uses to detect shared libraries,
6068 *** $file_magic_cmd, produces output that libtool cannot recognize.
6069 *** The result is that libtool may fail to recognize shared libraries
6070 *** as such. This will affect the creation of libtool libraries that
6071 *** depend on shared libraries, but programs linked with such libtool
6072 *** libraries will work regardless of this problem. Nevertheless, you
6073 *** may want to report the problem to your system manager and/or to
6074 *** bug-libtool@gnu.org
6084 MAGIC_CMD="$lt_save_MAGIC_CMD"
6089 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6090 if test -n "$MAGIC_CMD"; then
6091 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6092 echo "${ECHO_T}$MAGIC_CMD" >&6
6094 echo "$as_me:$LINENO: result: no" >&5
6095 echo "${ECHO_T}no" >&6
6110 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6111 if test "${enable_libtool_lock+set}" = set; then
6112 enableval="$enable_libtool_lock"
6115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6118 # Check whether --with-pic or --without-pic was given.
6119 if test "${with_pic+set}" = set; then
6125 test -z "$pic_mode" && pic_mode=default
6127 # Use C for the default configuration in the libtool script
6131 ac_cpp='$CPP $CPPFLAGS'
6132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6137 # Source file extension for C test sources.
6140 # Object file extension for compiled C test sources.
6144 # Code to be used in simple compile tests
6145 lt_simple_compile_test_code="int some_variable = 0;\n"
6147 # Code to be used in simple link tests
6148 lt_simple_link_test_code='int main(){return(0);}\n'
6151 # If no C compiler was specified, use CC.
6154 # Allow CC to be a program name with arguments.
6159 # Check for any special shared library compilation flags.
6162 if test "$GCC" = no; then
6165 lt_prog_cc_shlib='-belf'
6169 if test -n "$lt_prog_cc_shlib"; then
6170 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6171 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6172 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6174 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6175 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6176 lt_cv_prog_cc_can_build_shared=no
6182 # Check to make sure the static flag actually works.
6184 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6185 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6186 if test "${lt_prog_compiler_static_works+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6189 lt_prog_compiler_static_works=no
6190 save_LDFLAGS="$LDFLAGS"
6191 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6192 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6193 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6194 # The compiler can only warn and ignore the option if not recognized
6195 # So say no if there are warnings
6196 if test -s conftest.err; then
6197 # Append any errors to the config.log.
6198 cat conftest.err 1>&5
6200 lt_prog_compiler_static_works=yes
6204 LDFLAGS="$save_LDFLAGS"
6207 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6208 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6210 if test x"$lt_prog_compiler_static_works" = xyes; then
6213 lt_prog_compiler_static=
6219 ## There is no encapsulation within the following macros, do not change
6220 ## the running order or otherwise move them around unless you know exactly
6221 ## what you are doing...
6223 lt_prog_compiler_no_builtin_flag=
6225 if test "$GCC" = yes; then
6226 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6228 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6229 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6230 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 lt_cv_prog_compiler_rtti_exceptions=no
6234 ac_outfile=conftest.$ac_objext
6235 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6236 lt_compiler_flag="-fno-rtti -fno-exceptions"
6237 # Insert the option either (1) after the last *FLAGS variable, or
6238 # (2) before a word containing "conftest.", or (3) at the end.
6239 # Note that $ac_compile itself does not contain backslashes and begins
6240 # with a dollar sign (not a hyphen), so the echo should work correctly.
6241 # The option is referenced via a variable to avoid confusing sed.
6242 lt_compile=`echo "$ac_compile" | $SED \
6243 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6244 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6245 -e 's:$: $lt_compiler_flag:'`
6246 (eval echo "\"\$as_me:6246: $lt_compile\"" >&5)
6247 (eval "$lt_compile" 2>conftest.err)
6249 cat conftest.err >&5
6250 echo "$as_me:6250: \$? = $ac_status" >&5
6251 if (exit $ac_status) && test -s "$ac_outfile"; then
6252 # The compiler can only warn and ignore the option if not recognized
6253 # So say no if there are warnings
6254 if test ! -s conftest.err; then
6255 lt_cv_prog_compiler_rtti_exceptions=yes
6261 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6262 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6264 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6265 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6272 lt_prog_compiler_wl=
6273 lt_prog_compiler_pic=
6274 lt_prog_compiler_static=
6276 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6277 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6279 if test "$GCC" = yes; then
6280 lt_prog_compiler_wl='-Wl,'
6281 lt_prog_compiler_static='-static'
6285 # All AIX code is PIC.
6286 if test "$host_cpu" = ia64; then
6287 # AIX 5 now supports IA64 processor
6288 lt_prog_compiler_static='-Bstatic'
6293 # FIXME: we need at least 68020 code to build shared libraries, but
6294 # adding the `-m68020' flag to GCC prevents building anything better,
6296 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6299 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6300 # PIC is the default for these OSes.
6303 mingw* | pw32* | os2*)
6304 # This hack is so that the source file can tell whether it is being
6305 # built for inclusion in a dll (and should export symbols for example).
6306 lt_prog_compiler_pic='-DDLL_EXPORT'
6309 darwin* | rhapsody*)
6310 # PIC is the default on this platform
6311 # Common symbols not allowed in MH_DYLIB files
6312 lt_prog_compiler_pic='-fno-common'
6316 # Just because we use GCC doesn't mean we suddenly get shared libraries
6317 # on systems that don't support them.
6318 lt_prog_compiler_can_build_shared=no
6323 if test -d /usr/nec; then
6324 lt_prog_compiler_pic=-Kconform_pic
6329 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6336 lt_prog_compiler_pic='-fPIC'
6342 lt_prog_compiler_pic='-fPIC'
6346 # PORTME Check for flag to pass linker flags through the system compiler.
6349 lt_prog_compiler_wl='-Wl,'
6350 if test "$host_cpu" = ia64; then
6351 # AIX 5 now supports IA64 processor
6352 lt_prog_compiler_static='-Bstatic'
6354 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6358 mingw* | pw32* | os2*)
6359 # This hack is so that the source file can tell whether it is being
6360 # built for inclusion in a dll (and should export symbols for example).
6361 lt_prog_compiler_pic='-DDLL_EXPORT'
6364 hpux9* | hpux10* | hpux11*)
6365 lt_prog_compiler_wl='-Wl,'
6366 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6373 lt_prog_compiler_pic='+Z'
6376 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6377 lt_prog_compiler_static='${wl}-a ${wl}archive'
6380 irix5* | irix6* | nonstopux*)
6381 lt_prog_compiler_wl='-Wl,'
6382 # PIC (with -KPIC) is the default.
6383 lt_prog_compiler_static='-non_shared'
6387 lt_prog_compiler_pic='-KPIC'
6388 lt_prog_compiler_static='-Bstatic'
6394 lt_prog_compiler_wl='-Wl,'
6395 lt_prog_compiler_pic='-KPIC'
6396 lt_prog_compiler_static='-static'
6399 lt_prog_compiler_wl='-Wl,'
6400 # All Alpha code is PIC.
6401 lt_prog_compiler_static='-non_shared'
6406 osf3* | osf4* | osf5*)
6407 lt_prog_compiler_wl='-Wl,'
6408 # All OSF/1 code is PIC.
6409 lt_prog_compiler_static='-non_shared'
6413 lt_prog_compiler_pic='-Kpic'
6414 lt_prog_compiler_static='-dn'
6418 lt_prog_compiler_wl='-Wl,'
6419 lt_prog_compiler_pic='-KPIC'
6420 lt_prog_compiler_static='-Bstatic'
6424 lt_prog_compiler_wl='-Qoption ld '
6425 lt_prog_compiler_pic='-PIC'
6426 lt_prog_compiler_static='-Bstatic'
6429 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6430 lt_prog_compiler_wl='-Wl,'
6431 lt_prog_compiler_pic='-KPIC'
6432 lt_prog_compiler_static='-Bstatic'
6436 if test -d /usr/nec ;then
6437 lt_prog_compiler_pic='-Kconform_pic'
6438 lt_prog_compiler_static='-Bstatic'
6443 lt_prog_compiler_pic='-pic'
6444 lt_prog_compiler_static='-Bstatic'
6448 lt_prog_compiler_can_build_shared=no
6453 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6454 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6457 # Check to make sure the PIC flag actually works.
6459 if test -n "$lt_prog_compiler_pic"; then
6460 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6461 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6462 if test "${lt_prog_compiler_pic_works+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 lt_prog_compiler_pic_works=no
6466 ac_outfile=conftest.$ac_objext
6467 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6468 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6469 # Insert the option either (1) after the last *FLAGS variable, or
6470 # (2) before a word containing "conftest.", or (3) at the end.
6471 # Note that $ac_compile itself does not contain backslashes and begins
6472 # with a dollar sign (not a hyphen), so the echo should work correctly.
6473 # The option is referenced via a variable to avoid confusing sed.
6474 lt_compile=`echo "$ac_compile" | $SED \
6475 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6476 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6477 -e 's:$: $lt_compiler_flag:'`
6478 (eval echo "\"\$as_me:6478: $lt_compile\"" >&5)
6479 (eval "$lt_compile" 2>conftest.err)
6481 cat conftest.err >&5
6482 echo "$as_me:6482: \$? = $ac_status" >&5
6483 if (exit $ac_status) && test -s "$ac_outfile"; then
6484 # The compiler can only warn and ignore the option if not recognized
6485 # So say no if there are warnings
6486 if test ! -s conftest.err; then
6487 lt_prog_compiler_pic_works=yes
6493 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6494 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6496 if test x"$lt_prog_compiler_pic_works" = xyes; then
6497 case $lt_prog_compiler_pic in
6499 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6502 lt_prog_compiler_pic=
6503 lt_prog_compiler_can_build_shared=no
6508 # For platforms which do not support PIC, -DPIC is meaningless:
6510 lt_prog_compiler_pic=
6513 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6517 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6518 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6519 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 lt_cv_prog_compiler_c_o=no
6523 $rm -r conftest 2>/dev/null
6527 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6529 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6530 # that will create temporary files in the current directory regardless of
6531 # the output directory. Thus, making CWD read-only will cause this test
6532 # to fail, enabling locking or at least warning the user not to do parallel
6536 lt_compiler_flag="-o out/conftest2.$ac_objext"
6537 # Insert the option either (1) after the last *FLAGS variable, or
6538 # (2) before a word containing "conftest.", or (3) at the end.
6539 # Note that $ac_compile itself does not contain backslashes and begins
6540 # with a dollar sign (not a hyphen), so the echo should work correctly.
6541 lt_compile=`echo "$ac_compile" | $SED \
6542 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6543 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6544 -e 's:$: $lt_compiler_flag:'`
6545 (eval echo "\"\$as_me:6545: $lt_compile\"" >&5)
6546 (eval "$lt_compile" 2>out/conftest.err)
6548 cat out/conftest.err >&5
6549 echo "$as_me:6549: \$? = $ac_status" >&5
6550 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6552 # The compiler can only warn and ignore the option if not recognized
6553 # So say no if there are warnings
6554 if test ! -s out/conftest.err; then
6555 lt_cv_prog_compiler_c_o=yes
6566 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6567 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6570 hard_links="nottested"
6571 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6572 # do not overwrite the value of need_locks provided by the user
6573 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6574 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6579 ln conftest.a conftest.b 2>&5 || hard_links=no
6580 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6581 echo "$as_me:$LINENO: result: $hard_links" >&5
6582 echo "${ECHO_T}$hard_links" >&6
6583 if test "$hard_links" = no; then
6584 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6585 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6592 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6593 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6596 allow_undefined_flag=
6597 enable_shared_with_static_runtimes=no
6599 archive_expsym_cmds=
6600 old_archive_From_new_cmds=
6601 old_archive_from_expsyms_cmds=
6602 export_dynamic_flag_spec=
6603 whole_archive_flag_spec=
6604 thread_safe_flag_spec=
6605 hardcode_libdir_flag_spec=
6606 hardcode_libdir_flag_spec_ld=
6607 hardcode_libdir_separator=
6610 hardcode_shlibpath_var=unsupported
6611 link_all_deplibs=unknown
6612 hardcode_automatic=no
6615 always_export_symbols=no
6616 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6617 # include_expsyms should be a list of space-separated symbols to be *always*
6618 # included in the symbol list
6620 # exclude_expsyms can be an extended regexp of symbols to exclude
6621 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6622 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6623 # as well as any symbol that contains `d'.
6624 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6625 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6626 # platforms (ab)use it in PIC code, but their linkers get confused if
6627 # the symbol is explicitly referenced. Since portable code cannot
6628 # rely on this symbol name, it's probably fine to never include it in
6629 # preloaded symbol tables.
6630 extract_expsyms_cmds=
6633 cygwin* | mingw* | pw32*)
6634 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6635 # When not using gcc, we currently assume that we are using
6636 # Microsoft Visual C++.
6637 if test "$GCC" != yes; then
6647 if test "$with_gnu_ld" = yes; then
6648 # If archive_cmds runs LD, not CC, wlarc should be empty
6651 # See if GNU ld supports shared libraries.
6653 aix3* | aix4* | aix5*)
6654 # On AIX/PPC, the GNU linker is very broken
6655 if test "$host_cpu" != ia64; then
6659 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6660 *** to be unable to reliably create shared libraries on AIX.
6661 *** Therefore, libtool is disabling shared libraries support. If you
6662 *** really care for shared libraries, you may want to modify your PATH
6663 *** so that a non-GNU linker is found, and then restart.
6670 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)'
6671 hardcode_libdir_flag_spec='-L$libdir'
6672 hardcode_minus_L=yes
6674 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6675 # that the semantics of dynamic libraries on AmigaOS, at least up
6676 # to version 4, is to share data among multiple programs linked
6677 # with the same dynamic library. Since this doesn't match the
6678 # behavior of shared libraries on other platforms, we can't use
6684 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6685 allow_undefined_flag=unsupported
6686 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6687 # support --undefined. This deserves some investigation. FIXME
6688 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6694 cygwin* | mingw* | pw32*)
6695 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6696 # as there is no search path for DLLs.
6697 hardcode_libdir_flag_spec='-L$libdir'
6698 allow_undefined_flag=unsupported
6699 always_export_symbols=no
6700 enable_shared_with_static_runtimes=yes
6701 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6703 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6704 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6705 # If the export-symbols file already is a .def file (1st line
6706 # is EXPORTS), use it as is; otherwise, prepend...
6707 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6708 cp $export_symbols $output_objdir/$soname.def;
6710 echo EXPORTS > $output_objdir/$soname.def;
6711 cat $export_symbols >> $output_objdir/$soname.def;
6713 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6720 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6721 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6724 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6725 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6730 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6734 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6735 *** create shared libraries on Solaris systems. Therefore, libtool
6736 *** is disabling shared libraries support. We urge you to upgrade GNU
6737 *** binutils to release 2.9.1 or newer. Another option is to modify
6738 *** your PATH or compiler configuration so that the native linker is
6739 *** used, and then restart.
6742 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6743 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6744 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6751 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6754 hardcode_shlibpath_var=no
6758 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6759 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6760 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6767 if test "$ld_shlibs" = yes; then
6768 runpath_var=LD_RUN_PATH
6769 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6770 export_dynamic_flag_spec='${wl}--export-dynamic'
6771 # ancient GNU ld didn't support --whole-archive et. al.
6772 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6773 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6775 whole_archive_flag_spec=
6779 # PORTME fill in a description of your system's linker (not GNU ld)
6782 allow_undefined_flag=unsupported
6783 always_export_symbols=yes
6784 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'
6785 # Note: this linker hardcodes the directories in LIBPATH if there
6786 # are no directories specified by -L.
6787 hardcode_minus_L=yes
6788 if test "$GCC" = yes && test -z "$link_static_flag"; then
6789 # Neither direct hardcoding nor static linking is supported with a
6791 hardcode_direct=unsupported
6796 if test "$host_cpu" = ia64; then
6797 # On IA64, the linker does run time linking by default, so we don't
6798 # have to do anything special.
6799 aix_use_runtimelinking=no
6800 exp_sym_flag='-Bexport'
6803 # If we're using GNU nm, then we don't want the "-C" option.
6804 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6805 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6806 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'
6808 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'
6810 aix_use_runtimelinking=no
6812 # Test if we are trying to use run time linking or normal
6813 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6814 # need to do runtime linking.
6815 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6816 for ld_flag in $LDFLAGS; do
6817 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6818 aix_use_runtimelinking=yes
6824 exp_sym_flag='-bexport'
6825 no_entry_flag='-bnoentry'
6828 # When large executables or shared objects are built, AIX ld can
6829 # have problems creating the table of contents. If linking a library
6830 # or program results in "error TOC overflow" add -mminimal-toc to
6831 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6832 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6836 hardcode_libdir_separator=':'
6837 link_all_deplibs=yes
6839 if test "$GCC" = yes; then
6840 case $host_os in aix4.012|aix4.012.*)
6841 # We only want to do this on AIX 4.2 and lower, the check
6842 # below for broken collect2 doesn't work under 4.3+
6843 collect2name=`${CC} -print-prog-name=collect2`
6844 if test -f "$collect2name" && \
6845 strings "$collect2name" | grep resolve_lib_name >/dev/null
6847 # We have reworked collect2
6850 # We have old collect2
6851 hardcode_direct=unsupported
6852 # It fails to find uninstalled libraries when the uninstalled
6853 # path is not listed in the libpath. Setting hardcode_minus_L
6854 # to unsupported forces relinking
6855 hardcode_minus_L=yes
6856 hardcode_libdir_flag_spec='-L$libdir'
6857 hardcode_libdir_separator=
6860 shared_flag='-shared'
6863 if test "$host_cpu" = ia64; then
6864 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6865 # chokes on -Wl,-G. The following line is correct:
6868 if test "$aix_use_runtimelinking" = yes; then
6869 shared_flag='${wl}-G'
6871 shared_flag='${wl}-bM:SRE'
6876 # It seems that -bexpall does not export symbols beginning with
6877 # underscore (_), so it is better to generate a list of symbols to export.
6878 always_export_symbols=yes
6879 if test "$aix_use_runtimelinking" = yes; then
6880 # Warning - without using the other runtime loading flags (-brtl),
6881 # -berok will link without error, but may produce a broken library.
6882 allow_undefined_flag='-berok'
6883 # Determine the default libpath from the value encoded in an empty executable.
6884 cat >conftest.$ac_ext <<_ACEOF
6885 #line $LINENO "configure"
6888 cat confdefs.h >>conftest.$ac_ext
6889 cat >>conftest.$ac_ext <<_ACEOF
6890 /* end confdefs.h. */
6900 rm -f conftest.$ac_objext conftest$ac_exeext
6901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6902 (eval $ac_link) 2>&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } &&
6906 { ac_try='test -s conftest$ac_exeext'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; }; then
6913 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6915 # Check for a 64-bit object if we didn't find anything.
6916 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; }
6919 echo "$as_me: failed program was:" >&5
6920 sed 's/^/| /' conftest.$ac_ext >&5
6923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6924 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6926 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6927 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"
6929 if test "$host_cpu" = ia64; then
6930 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6931 allow_undefined_flag="-z nodefs"
6932 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"
6934 # Determine the default libpath from the value encoded in an empty executable.
6935 cat >conftest.$ac_ext <<_ACEOF
6936 #line $LINENO "configure"
6939 cat confdefs.h >>conftest.$ac_ext
6940 cat >>conftest.$ac_ext <<_ACEOF
6941 /* end confdefs.h. */
6951 rm -f conftest.$ac_objext conftest$ac_exeext
6952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6953 (eval $ac_link) 2>&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); } &&
6957 { ac_try='test -s conftest$ac_exeext'
6958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); }; }; then
6964 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6966 # Check for a 64-bit object if we didn't find anything.
6967 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; }
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.$ac_ext >&5
6974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6975 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6977 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6978 # Warning - without using the other run time loading flags,
6979 # -berok will link without error, but may produce a broken library.
6980 no_undefined_flag=' ${wl}-bernotok'
6981 allow_undefined_flag=' ${wl}-berok'
6982 # -bexpall does not export symbols beginning with underscore (_)
6983 always_export_symbols=yes
6984 # Exported symbols can be pulled into shared objects from archives
6985 whole_archive_flag_spec=' '
6986 archive_cmds_need_lc=yes
6987 # This is similar to how AIX traditionally builds it's shared libraries.
6988 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'
6994 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)'
6995 hardcode_libdir_flag_spec='-L$libdir'
6996 hardcode_minus_L=yes
6997 # see comment about different semantics on the GNU ld section
7002 export_dynamic_flag_spec=-rdynamic
7005 cygwin* | mingw* | pw32*)
7006 # When not using gcc, we currently assume that we are using
7007 # Microsoft Visual C++.
7008 # hardcode_libdir_flag_spec is actually meaningless, as there is
7009 # no search path for DLLs.
7010 hardcode_libdir_flag_spec=' '
7011 allow_undefined_flag=unsupported
7012 # Tell ltmain to make .lib files, not .a files.
7014 # Tell ltmain to make .dll files, not .so files.
7016 # FIXME: Setting linknames here is a bad hack.
7017 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7018 # The linker will automatically build a .lib file if we build a DLL.
7019 old_archive_From_new_cmds='true'
7020 # FIXME: Should let the user specify the lib program.
7021 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7022 fix_srcfile_path='`cygpath -w "$srcfile"`'
7023 enable_shared_with_static_runtimes=yes
7026 darwin* | rhapsody*)
7027 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7028 archive_cmds_need_lc=no
7030 rhapsody* | darwin1.[012])
7031 allow_undefined_flag='-undefined suppress'
7034 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7037 # FIXME: Relying on posixy $() will cause problems for
7038 # cross-compilation, but unfortunately the echo tests do not
7039 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7040 # `"' quotes if we put them in here... so don't!
7041 lt_int_apple_cc_single_mod=no
7042 output_verbose_link_cmd='echo'
7043 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7044 lt_int_apple_cc_single_mod=yes
7046 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7047 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7049 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'
7051 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7052 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7053 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7054 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}'
7056 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}'
7058 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}'
7060 hardcode_automatic=yes
7061 hardcode_shlibpath_var=unsupported
7062 whole_archive_flag_spec='-all_load $convenience'
7063 link_all_deplibs=yes
7068 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7069 hardcode_libdir_flag_spec='-L$libdir'
7070 hardcode_shlibpath_var=no
7077 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7078 # support. Future versions do this automatically, but an explicit c++rt0.o
7079 # does not break anything, and helps significantly (at the cost of a little
7082 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7083 hardcode_libdir_flag_spec='-R$libdir'
7085 hardcode_shlibpath_var=no
7088 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7090 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7092 hardcode_minus_L=yes
7093 hardcode_shlibpath_var=no
7096 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7098 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7099 hardcode_libdir_flag_spec='-R$libdir'
7101 hardcode_shlibpath_var=no
7105 if test "$GCC" = yes; then
7106 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'
7108 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'
7110 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7111 hardcode_libdir_separator=:
7114 # hardcode_minus_L: Not really in the search PATH,
7115 # but as the default location of the library.
7116 hardcode_minus_L=yes
7117 export_dynamic_flag_spec='${wl}-E'
7121 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7124 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7127 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7133 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7136 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7140 if test "$with_gnu_ld" = no; then
7143 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7144 hardcode_libdir_flag_spec_ld='+b $libdir'
7145 hardcode_libdir_separator=:
7147 hardcode_shlibpath_var=no
7150 hardcode_libdir_flag_spec='-L$libdir'
7152 hardcode_shlibpath_var=no
7154 # hardcode_minus_L: Not really in the search PATH,
7155 # but as the default location of the library.
7156 hardcode_minus_L=yes
7159 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7160 hardcode_libdir_separator=:
7162 export_dynamic_flag_spec='${wl}-E'
7164 # hardcode_minus_L: Not really in the search PATH,
7165 # but as the default location of the library.
7166 hardcode_minus_L=yes
7172 irix5* | irix6* | nonstopux*)
7173 if test "$GCC" = yes; then
7174 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'
7176 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'
7177 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7179 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7180 hardcode_libdir_separator=:
7181 link_all_deplibs=yes
7185 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7186 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7188 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7190 hardcode_libdir_flag_spec='-R$libdir'
7192 hardcode_shlibpath_var=no
7196 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7198 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7199 hardcode_libdir_separator=:
7200 hardcode_shlibpath_var=no
7205 hardcode_shlibpath_var=no
7206 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7207 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7208 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7209 export_dynamic_flag_spec='${wl}-E'
7212 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7213 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7214 hardcode_libdir_flag_spec='-R$libdir'
7217 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7218 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7225 hardcode_libdir_flag_spec='-L$libdir'
7226 hardcode_minus_L=yes
7227 allow_undefined_flag=unsupported
7228 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'
7229 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7233 if test "$GCC" = yes; then
7234 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7235 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'
7237 allow_undefined_flag=' -expect_unresolved \*'
7238 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'
7240 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7241 hardcode_libdir_separator=:
7244 osf4* | osf5*) # as osf3* with the addition of -msym flag
7245 if test "$GCC" = yes; then
7246 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7247 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'
7248 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7250 allow_undefined_flag=' -expect_unresolved \*'
7251 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'
7252 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7253 $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'
7255 # Both c and cxx compiler support -rpath directly
7256 hardcode_libdir_flag_spec='-rpath $libdir'
7258 hardcode_libdir_separator=:
7262 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7263 hardcode_shlibpath_var=no
7264 export_dynamic_flag_spec='${wl}-Bexport'
7265 runpath_var=LD_RUN_PATH
7266 hardcode_runpath_var=yes
7270 no_undefined_flag=' -z text'
7271 if test "$GCC" = yes; then
7272 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7273 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7274 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7276 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7277 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7278 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7280 hardcode_libdir_flag_spec='-R$libdir'
7281 hardcode_shlibpath_var=no
7283 solaris2.[0-5] | solaris2.[0-5].*) ;;
7284 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7285 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7287 link_all_deplibs=yes
7291 if test "x$host_vendor" = xsequent; then
7292 # Use $CC to link under sequent, because it throws in some extra .o
7293 # files that make .init and .fini sections work.
7294 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7296 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7298 hardcode_libdir_flag_spec='-L$libdir'
7300 hardcode_minus_L=yes
7301 hardcode_shlibpath_var=no
7305 case $host_vendor in
7307 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7308 hardcode_direct=yes # is this really true???
7311 ## LD is ld it makes a PLAMLIB
7312 ## CC just makes a GrossModule.
7313 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7314 reload_cmds='$CC -r -o $output$reload_objs'
7318 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7319 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7322 runpath_var='LD_RUN_PATH'
7323 hardcode_shlibpath_var=no
7327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7328 hardcode_shlibpath_var=no
7329 export_dynamic_flag_spec='-Bexport'
7333 if test -d /usr/nec; then
7334 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7335 hardcode_shlibpath_var=no
7336 runpath_var=LD_RUN_PATH
7337 hardcode_runpath_var=yes
7343 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7346 hardcode_shlibpath_var=no
7347 hardcode_runpath_var=yes
7348 runpath_var=LD_RUN_PATH
7351 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7352 no_undefined_flag='${wl}-z ${wl}text'
7353 if test "$GCC" = yes; then
7354 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7356 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7358 runpath_var='LD_RUN_PATH'
7359 hardcode_shlibpath_var=no
7363 no_undefined_flag=' -z text'
7364 # $CC -shared without GNU ld will not create a library from C++
7365 # object files and a static libstdc++, better avoid it by now
7366 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7367 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7368 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7369 hardcode_libdir_flag_spec=
7370 hardcode_shlibpath_var=no
7371 runpath_var='LD_RUN_PATH'
7375 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7376 hardcode_libdir_flag_spec='-L$libdir'
7377 hardcode_shlibpath_var=no
7386 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7387 echo "${ECHO_T}$ld_shlibs" >&6
7388 test "$ld_shlibs" = no && can_build_shared=no
7390 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7391 if test "$GCC" = yes; then
7392 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7396 # Do we need to explicitly link libc?
7398 case "x$archive_cmds_need_lc" in
7400 # Assume -lc should be added
7401 archive_cmds_need_lc=yes
7403 if test "$enable_shared" = yes && test "$GCC" = yes; then
7404 case $archive_cmds in
7406 # FIXME: we may have to deal with multi-command sequences.
7409 # Test whether the compiler implicitly links with -lc since on some
7410 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7411 # to ld, don't add -lc before -lgcc.
7412 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7413 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7415 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7418 (eval $ac_compile) 2>&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } 2>conftest.err; then
7424 libobjs=conftest.$ac_objext
7426 wl=$lt_prog_compiler_wl
7432 lt_save_allow_undefined_flag=$allow_undefined_flag
7433 allow_undefined_flag=
7434 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7435 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); }
7440 archive_cmds_need_lc=no
7442 archive_cmds_need_lc=yes
7444 allow_undefined_flag=$lt_save_allow_undefined_flag
7446 cat conftest.err 1>&5
7449 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7450 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7457 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7458 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7460 if test -n "$hardcode_libdir_flag_spec" || \
7461 test -n "$runpath_var " || \
7462 test "X$hardcode_automatic"="Xyes" ; then
7464 # We can hardcode non-existant directories.
7465 if test "$hardcode_direct" != no &&
7466 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7467 # have to relink, otherwise we might link with an installed library
7468 # when we should be linking with a yet-to-be-installed one
7469 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7470 test "$hardcode_minus_L" != no; then
7471 # Linking always hardcodes the temporary library directory.
7472 hardcode_action=relink
7474 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7475 hardcode_action=immediate
7478 # We cannot hardcode anything, or else we can only hardcode existing
7480 hardcode_action=unsupported
7482 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7483 echo "${ECHO_T}$hardcode_action" >&6
7485 if test "$hardcode_action" = relink; then
7486 # Fast installation is not supported
7487 enable_fast_install=no
7488 elif test "$shlibpath_overrides_runpath" = yes ||
7489 test "$enable_shared" = no; then
7490 # Fast installation is not necessary
7491 enable_fast_install=needless
7496 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7497 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7498 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7499 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7500 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7501 echo "$as_me:$LINENO: result: yes" >&5
7502 echo "${ECHO_T}yes" >&6
7504 # FIXME - insert some real tests, host_os isn't really good enough
7507 if test -n "$STRIP" ; then
7508 striplib="$STRIP -x"
7509 echo "$as_me:$LINENO: result: yes" >&5
7510 echo "${ECHO_T}yes" >&6
7512 echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7517 echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6
7523 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7524 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7526 libname_spec='lib$name'
7534 shlibpath_overrides_runpath=unknown
7536 dynamic_linker="$host_os ld.so"
7537 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7538 if test "$GCC" = yes; then
7539 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7540 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7541 # if the path contains ";" then we assume it to be the separator
7542 # otherwise default to the standard path separator (i.e. ":") - it is
7543 # assumed that no part of a normal pathname contains ";" but that should
7544 # okay in the real world where ";" in dirpaths is itself problematic.
7545 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7547 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7550 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7552 need_lib_prefix=unknown
7553 hardcode_into_libs=no
7555 # when you set need_version to no, make sure it does not cause -set_version
7556 # flags to be left without arguments
7557 need_version=unknown
7562 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7563 shlibpath_var=LIBPATH
7565 # AIX 3 has no versioning support, so we append a major version to the name.
7566 soname_spec='${libname}${release}${shared_ext}$major'
7573 hardcode_into_libs=yes
7574 if test "$host_cpu" = ia64; then
7575 # AIX 5 supports IA64
7576 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7577 shlibpath_var=LD_LIBRARY_PATH
7579 # With GCC up to 2.95.x, collect2 would create an import file
7580 # for dependence libraries. The import file would start with
7581 # the line `#! .'. This would cause the generated library to
7582 # depend on `.', always an invalid library. This was fixed in
7583 # development snapshots of GCC prior to 3.0.
7585 aix4 | aix4.[01] | aix4.[01].*)
7586 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7588 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7595 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7596 # soname into executable. Probably we can add versioning support to
7597 # collect2, so additional links can be useful in future.
7598 if test "$aix_use_runtimelinking" = yes; then
7599 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7600 # instead of lib<name>.a to let people know that these are not
7601 # typical AIX shared libraries.
7602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7604 # We preserve .a as extension for shared libraries through AIX4.2
7605 # and later when we are not doing run time linking.
7606 library_names_spec='${libname}${release}.a $libname.a'
7607 soname_spec='${libname}${release}${shared_ext}$major'
7609 shlibpath_var=LIBPATH
7614 library_names_spec='$libname.ixlibrary $libname.a'
7615 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7616 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'
7620 library_names_spec='${libname}${shared_ext}'
7621 dynamic_linker="$host_os ld.so"
7622 shlibpath_var=LIBRARY_PATH
7628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7629 soname_spec='${libname}${release}${shared_ext}$major'
7630 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7631 shlibpath_var=LD_LIBRARY_PATH
7632 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7633 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7634 # the default ld.so.conf also contains /usr/contrib/lib and
7635 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7636 # libtool to hard-code these into programs
7639 cygwin* | mingw* | pw32*)
7640 version_type=windows
7645 case $GCC,$host_os in
7646 yes,cygwin* | yes,mingw* | yes,pw32*)
7647 library_names_spec='$libname.dll.a'
7648 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7649 postinstall_cmds='base_file=`basename \${file}`~
7650 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7651 dldir=$destdir/`dirname \$dlpath`~
7652 test -d \$dldir || mkdir -p \$dldir~
7653 $install_prog $dir/$dlname \$dldir/$dlname'
7654 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7655 dlpath=$dir/\$dldll~
7657 shlibpath_overrides_runpath=yes
7661 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7662 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7663 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7666 # MinGW DLLs use traditional 'lib' prefix
7667 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7668 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7669 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7670 # It is most probably a Windows format PATH printed by
7671 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7672 # path with ; separators, and with drive letters. We can handle the
7673 # drive letters (cygwin fileutils understands them), so leave them,
7674 # especially as we might pass files found there to a mingw objdump,
7675 # which wouldn't understand a cygwinified path. Ahh.
7676 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7678 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7682 # pw32 DLLs use 'pw' prefix rather than 'lib'
7683 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7689 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7692 dynamic_linker='Win32 ld.exe'
7693 # FIXME: first we should search . and the directory the executable is in
7697 darwin* | rhapsody*)
7698 dynamic_linker="$host_os dyld"
7702 # FIXME: Relying on posixy $() will cause problems for
7703 # cross-compilation, but unfortunately the echo tests do not
7704 # yet detect zsh echo's removal of \ escapes.
7705 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7706 soname_spec='${libname}${release}${major}$shared_ext'
7707 shlibpath_overrides_runpath=yes
7708 shlibpath_var=DYLD_LIBRARY_PATH
7709 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7710 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7711 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7712 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"`
7714 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7722 soname_spec='${libname}${release}${shared_ext}$major'
7723 shlibpath_var=LD_LIBRARY_PATH
7731 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7732 version_type=freebsd-$objformat
7733 case $version_type in
7735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7740 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7744 shlibpath_var=LD_LIBRARY_PATH
7747 shlibpath_overrides_runpath=yes
7749 freebsd3.01* | freebsdelf3.01*)
7750 shlibpath_overrides_runpath=yes
7751 hardcode_into_libs=yes
7754 shlibpath_overrides_runpath=no
7755 hardcode_into_libs=yes
7764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7765 soname_spec='${libname}${release}${shared_ext}$major'
7766 shlibpath_var=LD_LIBRARY_PATH
7767 hardcode_into_libs=yes
7770 hpux9* | hpux10* | hpux11*)
7771 # Give a soname corresponding to the major version so that dld.sl refuses to
7772 # link against other versions.
7779 hardcode_into_libs=yes
7780 dynamic_linker="$host_os dld.so"
7781 shlibpath_var=LD_LIBRARY_PATH
7782 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7784 soname_spec='${libname}${release}${shared_ext}$major'
7785 if test "X$HPUX_IA64_MODE" = X32; then
7786 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7788 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7790 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7794 hardcode_into_libs=yes
7795 dynamic_linker="$host_os dld.sl"
7796 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7801 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7805 dynamic_linker="$host_os dld.sl"
7806 shlibpath_var=SHLIB_PATH
7807 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7809 soname_spec='${libname}${release}${shared_ext}$major'
7812 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7813 postinstall_cmds='chmod 555 $lib'
7816 irix5* | irix6* | nonstopux*)
7818 nonstopux*) version_type=nonstopux ;;
7820 if test "$lt_cv_prog_gnu_ld" = yes; then
7828 soname_spec='${libname}${release}${shared_ext}$major'
7829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7831 irix5* | nonstopux*)
7835 case $LD in # libtool.m4 will add one of these switches to LD
7836 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7837 libsuff= shlibsuff= libmagic=32-bit;;
7838 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7839 libsuff=32 shlibsuff=N32 libmagic=N32;;
7840 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7841 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7842 *) libsuff= shlibsuff= libmagic=never-match;;
7846 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7847 shlibpath_overrides_runpath=no
7848 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7849 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7850 hardcode_into_libs=yes
7853 # No shared lib support for Linux oldld, aout, or coff.
7854 linux*oldld* | linux*aout* | linux*coff*)
7858 # This must be Linux ELF.
7863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7864 soname_spec='${libname}${release}${shared_ext}$major'
7865 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7866 shlibpath_var=LD_LIBRARY_PATH
7867 shlibpath_overrides_runpath=no
7868 # This implies no fast_install, which is unacceptable.
7869 # Some rework will be needed to allow for fast_install
7870 # before this can be enabled.
7871 hardcode_into_libs=yes
7873 # We used to test for /lib/ld.so.1 and disable shared libraries on
7874 # powerpc, because MkLinux only supported shared libraries with the
7875 # GNU dynamic linker. Since this was broken with cross compilers,
7876 # most powerpc-linux boxes support dynamic linking these days and
7877 # people can always --disable-shared, the test was removed, and we
7878 # assume the GNU/Linux dynamic linker is in use.
7879 dynamic_linker='GNU/Linux ld.so'
7886 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7888 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7889 dynamic_linker='NetBSD (a.out) ld.so'
7891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7892 soname_spec='${libname}${release}${shared_ext}$major'
7893 dynamic_linker='NetBSD ld.elf_so'
7895 shlibpath_var=LD_LIBRARY_PATH
7896 shlibpath_overrides_runpath=yes
7897 hardcode_into_libs=yes
7902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7903 shlibpath_var=LD_LIBRARY_PATH
7904 shlibpath_overrides_runpath=yes
7911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7912 soname_spec='${libname}${release}${shared_ext}$major'
7913 shlibpath_var=LD_LIBRARY_PATH
7914 shlibpath_overrides_runpath=yes
7921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7922 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7923 shlibpath_var=LD_LIBRARY_PATH
7924 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7926 openbsd2.[89] | openbsd2.[89].*)
7927 shlibpath_overrides_runpath=no
7930 shlibpath_overrides_runpath=yes
7934 shlibpath_overrides_runpath=yes
7939 libname_spec='$name'
7942 library_names_spec='$libname${shared_ext} $libname.a'
7943 dynamic_linker='OS/2 ld.exe'
7944 shlibpath_var=LIBPATH
7947 osf3* | osf4* | osf5*)
7951 soname_spec='${libname}${release}${shared_ext}$major'
7952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7953 shlibpath_var=LD_LIBRARY_PATH
7954 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7955 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7960 soname_spec='${libname}${release}${shared_ext}$major'
7961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7962 shlibpath_var=LD_LIBRARY_PATH
7969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7970 soname_spec='${libname}${release}${shared_ext}$major'
7971 shlibpath_var=LD_LIBRARY_PATH
7972 shlibpath_overrides_runpath=yes
7973 hardcode_into_libs=yes
7974 # ldd complains unless libraries are executable
7975 postinstall_cmds='chmod +x $lib'
7980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7981 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7982 shlibpath_var=LD_LIBRARY_PATH
7983 shlibpath_overrides_runpath=yes
7984 if test "$with_gnu_ld" = yes; then
7990 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7993 soname_spec='${libname}${release}${shared_ext}$major'
7994 shlibpath_var=LD_LIBRARY_PATH
7995 case $host_vendor in
7997 shlibpath_overrides_runpath=no
7999 export_dynamic_flag_spec='${wl}-Blargedynsym'
8000 runpath_var=LD_RUN_PATH
8008 shlibpath_overrides_runpath=no
8009 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8015 if test -d /usr/nec ;then
8017 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8018 soname_spec='$libname${shared_ext}.$major'
8019 shlibpath_var=LD_LIBRARY_PATH
8025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8026 soname_spec='${libname}${release}${shared_ext}$major'
8027 shlibpath_var=LD_LIBRARY_PATH
8034 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8035 echo "${ECHO_T}$dynamic_linker" >&6
8036 test "$dynamic_linker" = no && can_build_shared=no
8038 if test "x$enable_dlopen" != xyes; then
8039 enable_dlopen=unknown
8040 enable_dlopen_self=unknown
8041 enable_dlopen_self_static=unknown
8048 lt_cv_dlopen="load_add_on"
8050 lt_cv_dlopen_self=yes
8054 lt_cv_dlopen="LoadLibrary"
8059 lt_cv_dlopen="dlopen"
8064 # if libdl is installed we need to link against it
8065 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8066 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8067 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8068 echo $ECHO_N "(cached) $ECHO_C" >&6
8070 ac_check_lib_save_LIBS=$LIBS
8072 cat >conftest.$ac_ext <<_ACEOF
8073 #line $LINENO "configure"
8076 cat confdefs.h >>conftest.$ac_ext
8077 cat >>conftest.$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8080 /* Override any gcc2 internal prototype to avoid an error. */
8084 /* We use char because int might match the return type of a gcc2
8085 builtin and then its argument prototype would still apply. */
8095 rm -f conftest.$ac_objext conftest$ac_exeext
8096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8097 (eval $ac_link) 2>&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); } &&
8101 { ac_try='test -s conftest$ac_exeext'
8102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); }; }; then
8107 ac_cv_lib_dl_dlopen=yes
8109 echo "$as_me: failed program was:" >&5
8110 sed 's/^/| /' conftest.$ac_ext >&5
8112 ac_cv_lib_dl_dlopen=no
8114 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8115 LIBS=$ac_check_lib_save_LIBS
8117 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8118 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8119 if test $ac_cv_lib_dl_dlopen = yes; then
8120 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8125 lt_cv_dlopen_self=yes
8132 echo "$as_me:$LINENO: checking for shl_load" >&5
8133 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8134 if test "${ac_cv_func_shl_load+set}" = set; then
8135 echo $ECHO_N "(cached) $ECHO_C" >&6
8137 cat >conftest.$ac_ext <<_ACEOF
8138 #line $LINENO "configure"
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h. */
8144 /* System header to define __stub macros and hopefully few prototypes,
8145 which can conflict with char shl_load (); below.
8146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8147 <limits.h> exists even on freestanding compilers. */
8149 # include <limits.h>
8151 # include <assert.h>
8153 /* Override any gcc2 internal prototype to avoid an error. */
8158 /* We use char because int might match the return type of a gcc2
8159 builtin and then its argument prototype would still apply. */
8161 /* The GNU C library defines this for functions which it implements
8162 to always fail with ENOSYS. Some functions are actually named
8163 something starting with __ and the normal name is an alias. */
8164 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8167 char (*f) () = shl_load;
8176 return f != shl_load;
8181 rm -f conftest.$ac_objext conftest$ac_exeext
8182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8183 (eval $ac_link) 2>&5
8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); } &&
8187 { ac_try='test -s conftest$ac_exeext'
8188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); }; }; then
8193 ac_cv_func_shl_load=yes
8195 echo "$as_me: failed program was:" >&5
8196 sed 's/^/| /' conftest.$ac_ext >&5
8198 ac_cv_func_shl_load=no
8200 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8202 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8203 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8204 if test $ac_cv_func_shl_load = yes; then
8205 lt_cv_dlopen="shl_load"
8207 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8208 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8209 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8210 echo $ECHO_N "(cached) $ECHO_C" >&6
8212 ac_check_lib_save_LIBS=$LIBS
8214 cat >conftest.$ac_ext <<_ACEOF
8215 #line $LINENO "configure"
8218 cat confdefs.h >>conftest.$ac_ext
8219 cat >>conftest.$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8222 /* Override any gcc2 internal prototype to avoid an error. */
8226 /* We use char because int might match the return type of a gcc2
8227 builtin and then its argument prototype would still apply. */
8237 rm -f conftest.$ac_objext conftest$ac_exeext
8238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8239 (eval $ac_link) 2>&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } &&
8243 { ac_try='test -s conftest$ac_exeext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8249 ac_cv_lib_dld_shl_load=yes
8251 echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.$ac_ext >&5
8254 ac_cv_lib_dld_shl_load=no
8256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8257 LIBS=$ac_check_lib_save_LIBS
8259 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8260 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8261 if test $ac_cv_lib_dld_shl_load = yes; then
8262 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8264 echo "$as_me:$LINENO: checking for dlopen" >&5
8265 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8266 if test "${ac_cv_func_dlopen+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8269 cat >conftest.$ac_ext <<_ACEOF
8270 #line $LINENO "configure"
8273 cat confdefs.h >>conftest.$ac_ext
8274 cat >>conftest.$ac_ext <<_ACEOF
8275 /* end confdefs.h. */
8276 /* System header to define __stub macros and hopefully few prototypes,
8277 which can conflict with char dlopen (); below.
8278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8279 <limits.h> exists even on freestanding compilers. */
8281 # include <limits.h>
8283 # include <assert.h>
8285 /* Override any gcc2 internal prototype to avoid an error. */
8290 /* We use char because int might match the return type of a gcc2
8291 builtin and then its argument prototype would still apply. */
8293 /* The GNU C library defines this for functions which it implements
8294 to always fail with ENOSYS. Some functions are actually named
8295 something starting with __ and the normal name is an alias. */
8296 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8299 char (*f) () = dlopen;
8313 rm -f conftest.$ac_objext conftest$ac_exeext
8314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8315 (eval $ac_link) 2>&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } &&
8319 { ac_try='test -s conftest$ac_exeext'
8320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); }; }; then
8325 ac_cv_func_dlopen=yes
8327 echo "$as_me: failed program was:" >&5
8328 sed 's/^/| /' conftest.$ac_ext >&5
8330 ac_cv_func_dlopen=no
8332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8334 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8335 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8336 if test $ac_cv_func_dlopen = yes; then
8337 lt_cv_dlopen="dlopen"
8339 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8340 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8341 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8342 echo $ECHO_N "(cached) $ECHO_C" >&6
8344 ac_check_lib_save_LIBS=$LIBS
8346 cat >conftest.$ac_ext <<_ACEOF
8347 #line $LINENO "configure"
8350 cat confdefs.h >>conftest.$ac_ext
8351 cat >>conftest.$ac_ext <<_ACEOF
8352 /* end confdefs.h. */
8354 /* Override any gcc2 internal prototype to avoid an error. */
8358 /* We use char because int might match the return type of a gcc2
8359 builtin and then its argument prototype would still apply. */
8369 rm -f conftest.$ac_objext conftest$ac_exeext
8370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8371 (eval $ac_link) 2>&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } &&
8375 { ac_try='test -s conftest$ac_exeext'
8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; }; then
8381 ac_cv_lib_dl_dlopen=yes
8383 echo "$as_me: failed program was:" >&5
8384 sed 's/^/| /' conftest.$ac_ext >&5
8386 ac_cv_lib_dl_dlopen=no
8388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8389 LIBS=$ac_check_lib_save_LIBS
8391 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8392 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8393 if test $ac_cv_lib_dl_dlopen = yes; then
8394 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8396 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8397 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8398 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 ac_check_lib_save_LIBS=$LIBS
8403 cat >conftest.$ac_ext <<_ACEOF
8404 #line $LINENO "configure"
8407 cat confdefs.h >>conftest.$ac_ext
8408 cat >>conftest.$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8411 /* Override any gcc2 internal prototype to avoid an error. */
8415 /* We use char because int might match the return type of a gcc2
8416 builtin and then its argument prototype would still apply. */
8426 rm -f conftest.$ac_objext conftest$ac_exeext
8427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8428 (eval $ac_link) 2>&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); } &&
8432 { ac_try='test -s conftest$ac_exeext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8438 ac_cv_lib_svld_dlopen=yes
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8443 ac_cv_lib_svld_dlopen=no
8445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8446 LIBS=$ac_check_lib_save_LIBS
8448 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8449 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8450 if test $ac_cv_lib_svld_dlopen = yes; then
8451 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8453 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8454 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8455 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8456 echo $ECHO_N "(cached) $ECHO_C" >&6
8458 ac_check_lib_save_LIBS=$LIBS
8460 cat >conftest.$ac_ext <<_ACEOF
8461 #line $LINENO "configure"
8464 cat confdefs.h >>conftest.$ac_ext
8465 cat >>conftest.$ac_ext <<_ACEOF
8466 /* end confdefs.h. */
8468 /* Override any gcc2 internal prototype to avoid an error. */
8472 /* We use char because int might match the return type of a gcc2
8473 builtin and then its argument prototype would still apply. */
8483 rm -f conftest.$ac_objext conftest$ac_exeext
8484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8485 (eval $ac_link) 2>&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try='test -s conftest$ac_exeext'
8490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); }; }; then
8495 ac_cv_lib_dld_dld_link=yes
8497 echo "$as_me: failed program was:" >&5
8498 sed 's/^/| /' conftest.$ac_ext >&5
8500 ac_cv_lib_dld_dld_link=no
8502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8503 LIBS=$ac_check_lib_save_LIBS
8505 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8506 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8507 if test $ac_cv_lib_dld_dld_link = yes; then
8508 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8529 if test "x$lt_cv_dlopen" != xno; then
8535 case $lt_cv_dlopen in
8537 save_CPPFLAGS="$CPPFLAGS"
8538 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8540 save_LDFLAGS="$LDFLAGS"
8541 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8544 LIBS="$lt_cv_dlopen_libs $LIBS"
8546 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8547 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8548 if test "${lt_cv_dlopen_self+set}" = set; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 if test "$cross_compiling" = yes; then :
8552 lt_cv_dlopen_self=cross
8554 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8555 lt_status=$lt_dlunknown
8556 cat > conftest.$ac_ext <<EOF
8557 #line 8557 "configure"
8558 #include "confdefs.h"
8567 # define LT_DLGLOBAL RTLD_GLOBAL
8570 # define LT_DLGLOBAL DL_GLOBAL
8572 # define LT_DLGLOBAL 0
8576 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8577 find out it does not work in some platform. */
8578 #ifndef LT_DLLAZY_OR_NOW
8580 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8583 # define LT_DLLAZY_OR_NOW DL_LAZY
8586 # define LT_DLLAZY_OR_NOW RTLD_NOW
8589 # define LT_DLLAZY_OR_NOW DL_NOW
8591 # define LT_DLLAZY_OR_NOW 0
8599 extern "C" void exit (int);
8602 void fnord() { int i=42;}
8605 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8606 int status = $lt_dlunknown;
8610 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8611 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8612 /* dlclose (self); */
8618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8619 (eval $ac_link) 2>&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8623 (./conftest; exit; ) 2>/dev/null
8626 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8627 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8628 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8631 # compilation failed
8632 lt_cv_dlopen_self=no
8639 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8640 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8642 if test "x$lt_cv_dlopen_self" = xyes; then
8643 LDFLAGS="$LDFLAGS $link_static_flag"
8644 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8645 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8646 if test "${lt_cv_dlopen_self_static+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 if test "$cross_compiling" = yes; then :
8650 lt_cv_dlopen_self_static=cross
8652 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8653 lt_status=$lt_dlunknown
8654 cat > conftest.$ac_ext <<EOF
8655 #line 8655 "configure"
8656 #include "confdefs.h"
8665 # define LT_DLGLOBAL RTLD_GLOBAL
8668 # define LT_DLGLOBAL DL_GLOBAL
8670 # define LT_DLGLOBAL 0
8674 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8675 find out it does not work in some platform. */
8676 #ifndef LT_DLLAZY_OR_NOW
8678 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8681 # define LT_DLLAZY_OR_NOW DL_LAZY
8684 # define LT_DLLAZY_OR_NOW RTLD_NOW
8687 # define LT_DLLAZY_OR_NOW DL_NOW
8689 # define LT_DLLAZY_OR_NOW 0
8697 extern "C" void exit (int);
8700 void fnord() { int i=42;}
8703 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8704 int status = $lt_dlunknown;
8708 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8709 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8710 /* dlclose (self); */
8716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8717 (eval $ac_link) 2>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8721 (./conftest; exit; ) 2>/dev/null
8724 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8725 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8726 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8729 # compilation failed
8730 lt_cv_dlopen_self_static=no
8737 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8738 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8741 CPPFLAGS="$save_CPPFLAGS"
8742 LDFLAGS="$save_LDFLAGS"
8747 case $lt_cv_dlopen_self in
8748 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8749 *) enable_dlopen_self=unknown ;;
8752 case $lt_cv_dlopen_self_static in
8753 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8754 *) enable_dlopen_self_static=unknown ;;
8759 # Report which librarie types wil actually be built
8760 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8761 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8762 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8763 echo "${ECHO_T}$can_build_shared" >&6
8765 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8766 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8767 test "$can_build_shared" = "no" && enable_shared=no
8769 # On AIX, shared libraries and static libraries use the same namespace, and
8770 # are all built from PIC.
8773 test "$enable_shared" = yes && enable_static=no
8774 if test -n "$RANLIB"; then
8775 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8776 postinstall_cmds='$RANLIB $lib'
8781 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8782 test "$enable_shared" = yes && enable_static=no
8785 darwin* | rhapsody*)
8786 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8787 archive_cmds_need_lc=no
8789 rhapsody* | darwin1.[012])
8790 allow_undefined_flag='-undefined suppress'
8793 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8796 # FIXME: Relying on posixy $() will cause problems for
8797 # cross-compilation, but unfortunately the echo tests do not
8798 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8799 # `"' quotes if we put them in here... so don't!
8800 output_verbose_link_cmd='echo'
8801 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8802 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8803 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8804 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}'
8805 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}'
8807 hardcode_automatic=yes
8808 hardcode_shlibpath_var=unsupported
8809 whole_archive_flag_spec='-all_load $convenience'
8810 link_all_deplibs=yes
8814 echo "$as_me:$LINENO: result: $enable_shared" >&5
8815 echo "${ECHO_T}$enable_shared" >&6
8817 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8818 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8819 # Make sure either enable_shared or enable_static is yes.
8820 test "$enable_shared" = yes || enable_static=yes
8821 echo "$as_me:$LINENO: result: $enable_static" >&5
8822 echo "${ECHO_T}$enable_static" >&6
8824 # The else clause should only fire when bootstrapping the
8825 # libtool distribution, otherwise you forgot to ship ltmain.sh
8826 # with your package, and you will get complaints that there are
8827 # no rules to generate ltmain.sh.
8828 if test -f "$ltmain"; then
8829 # See if we are running on zsh, and set the options which allow our commands through
8830 # without removal of \ escapes.
8831 if test -n "${ZSH_VERSION+set}" ; then
8832 setopt NO_GLOB_SUBST
8834 # Now quote all the things that may contain metacharacters while being
8835 # careful not to overquote the AC_SUBSTed values. We take copies of the
8836 # variables and quote the copies for generation of the libtool script.
8837 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8838 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8839 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8840 deplibs_check_method reload_flag reload_cmds need_locks \
8841 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8842 lt_cv_sys_global_symbol_to_c_name_address \
8843 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8844 old_postinstall_cmds old_postuninstall_cmds \
8848 lt_prog_compiler_wl \
8849 lt_prog_compiler_pic \
8850 lt_prog_compiler_static \
8851 lt_prog_compiler_no_builtin_flag \
8852 export_dynamic_flag_spec \
8853 thread_safe_flag_spec \
8854 whole_archive_flag_spec \
8855 enable_shared_with_static_runtimes \
8857 old_archive_from_new_cmds \
8862 compiler_lib_search_path \
8864 archive_expsym_cmds \
8866 postuninstall_cmds \
8867 old_archive_from_expsyms_cmds \
8868 allow_undefined_flag \
8870 export_symbols_cmds \
8871 hardcode_libdir_flag_spec \
8872 hardcode_libdir_flag_spec_ld \
8873 hardcode_libdir_separator \
8874 hardcode_automatic \
8876 module_expsym_cmds \
8877 lt_cv_prog_compiler_c_o \
8882 old_archive_cmds | \
8883 old_archive_from_new_cmds | \
8885 archive_expsym_cmds | \
8887 module_expsym_cmds | \
8888 old_archive_from_expsyms_cmds | \
8889 export_symbols_cmds | \
8890 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8891 postinstall_cmds | postuninstall_cmds | \
8892 old_postinstall_cmds | old_postuninstall_cmds | \
8893 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8894 # Double-quote double-evaled strings.
8895 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8898 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8904 *'\$0 --fallback-echo"')
8905 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8910 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8912 { echo "$as_me:$LINENO: creating $ofile" >&5
8913 echo "$as_me: creating $ofile" >&6;}
8915 cat <<__EOF__ >> "$cfgfile"
8918 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8919 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8920 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8922 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8923 # Free Software Foundation, Inc.
8925 # This file is part of GNU Libtool:
8926 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8928 # This program is free software; you can redistribute it and/or modify
8929 # it under the terms of the GNU General Public License as published by
8930 # the Free Software Foundation; either version 2 of the License, or
8931 # (at your option) any later version.
8933 # This program is distributed in the hope that it will be useful, but
8934 # WITHOUT ANY WARRANTY; without even the implied warranty of
8935 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8936 # General Public License for more details.
8938 # You should have received a copy of the GNU General Public License
8939 # along with this program; if not, write to the Free Software
8940 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8942 # As a special exception to the GNU General Public License, if you
8943 # distribute this file as part of a program that contains a
8944 # configuration script generated by Autoconf, you may include it under
8945 # the same distribution terms that you use for the rest of that program.
8947 # A sed program that does not truncate output.
8950 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8951 Xsed="$SED -e s/^X//"
8953 # The HP-UX ksh and POSIX shell print the target directory to stdout
8955 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8957 # The names of the tagged configurations supported by this script.
8960 # ### BEGIN LIBTOOL CONFIG
8962 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8964 # Shell to use when invoking shell scripts.
8967 # Whether or not to build shared libraries.
8968 build_libtool_libs=$enable_shared
8970 # Whether or not to build static libraries.
8971 build_old_libs=$enable_static
8973 # Whether or not to add -lc for building shared libraries.
8974 build_libtool_need_lc=$archive_cmds_need_lc
8976 # Whether or not to disallow shared libs when runtime libs are static
8977 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8979 # Whether or not to optimize for fast installation.
8980 fast_install=$enable_fast_install
8983 host_alias=$host_alias
8986 # An echo program that does not interpret backslashes.
8991 AR_FLAGS=$lt_AR_FLAGS
8996 # A language-specific compiler.
8999 # Is the compiler the GNU C compiler?
9005 # The linker used to build libraries.
9008 # Whether we need hard or soft links.
9011 # A BSD-compatible nm program.
9014 # A symbol stripping program
9017 # Used to examine libraries when file_magic_cmd begins "file"
9018 MAGIC_CMD=$MAGIC_CMD
9020 # Used on cygwin: DLL creation program.
9023 # Used on cygwin: object dumper.
9026 # Used on cygwin: assembler.
9029 # The name of the directory that contains temporary libtool files.
9032 # How to create reloadable object files.
9033 reload_flag=$lt_reload_flag
9034 reload_cmds=$lt_reload_cmds
9036 # How to pass a linker flag through the compiler.
9037 wl=$lt_lt_prog_compiler_wl
9039 # Object file suffix (normally "o").
9042 # Old archive suffix (normally "a").
9045 # Shared library suffix (normally ".so").
9048 # Executable file suffix (normally "").
9051 # Additional compiler flags for building library objects.
9052 pic_flag=$lt_lt_prog_compiler_pic
9055 # What is the maximum length of a command?
9056 max_cmd_len=$lt_cv_sys_max_cmd_len
9058 # Does compiler simultaneously support -c and -o options?
9059 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9061 # Must we lock files when doing compilation ?
9062 need_locks=$lt_need_locks
9064 # Do we need the lib prefix for modules?
9065 need_lib_prefix=$need_lib_prefix
9067 # Do we need a version for libraries?
9068 need_version=$need_version
9070 # Whether dlopen is supported.
9071 dlopen_support=$enable_dlopen
9073 # Whether dlopen of programs is supported.
9074 dlopen_self=$enable_dlopen_self
9076 # Whether dlopen of statically linked programs is supported.
9077 dlopen_self_static=$enable_dlopen_self_static
9079 # Compiler flag to prevent dynamic linking.
9080 link_static_flag=$lt_lt_prog_compiler_static
9082 # Compiler flag to turn off builtin functions.
9083 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9085 # Compiler flag to allow reflexive dlopens.
9086 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9088 # Compiler flag to generate shared objects directly from archives.
9089 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9091 # Compiler flag to generate thread-safe objects.
9092 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9094 # Library versioning type.
9095 version_type=$version_type
9097 # Format of library name prefix.
9098 libname_spec=$lt_libname_spec
9100 # List of archive names. First name is the real one, the rest are links.
9101 # The last name is the one that the linker finds with -lNAME.
9102 library_names_spec=$lt_library_names_spec
9104 # The coded name of the library, if different from the real name.
9105 soname_spec=$lt_soname_spec
9107 # Commands used to build and install an old-style archive.
9109 old_archive_cmds=$lt_old_archive_cmds
9110 old_postinstall_cmds=$lt_old_postinstall_cmds
9111 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9113 # Create an old-style archive from a shared archive.
9114 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9116 # Create a temporary old-style archive to link instead of a shared archive.
9117 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9119 # Commands used to build and install a shared archive.
9120 archive_cmds=$lt_archive_cmds
9121 archive_expsym_cmds=$lt_archive_expsym_cmds
9122 postinstall_cmds=$lt_postinstall_cmds
9123 postuninstall_cmds=$lt_postuninstall_cmds
9125 # Commands used to build a loadable module (assumed same as above if empty)
9126 module_cmds=$lt_module_cmds
9127 module_expsym_cmds=$lt_module_expsym_cmds
9129 # Commands to strip libraries.
9130 old_striplib=$lt_old_striplib
9131 striplib=$lt_striplib
9133 # Dependencies to place before the objects being linked to create a
9135 predep_objects=$lt_predep_objects
9137 # Dependencies to place after the objects being linked to create a
9139 postdep_objects=$lt_postdep_objects
9141 # Dependencies to place before the objects being linked to create a
9145 # Dependencies to place after the objects being linked to create a
9147 postdeps=$lt_postdeps
9149 # The library search path used internally by the compiler when linking
9151 compiler_lib_search_path=$lt_compiler_lib_search_path
9153 # Method to check whether dependent libraries are shared objects.
9154 deplibs_check_method=$lt_deplibs_check_method
9156 # Command to use when deplibs_check_method == file_magic.
9157 file_magic_cmd=$lt_file_magic_cmd
9159 # Flag that allows shared libraries with undefined symbols to be built.
9160 allow_undefined_flag=$lt_allow_undefined_flag
9162 # Flag that forces no undefined symbols.
9163 no_undefined_flag=$lt_no_undefined_flag
9165 # Commands used to finish a libtool library installation in a directory.
9166 finish_cmds=$lt_finish_cmds
9168 # Same as above, but a single script fragment to be evaled but not shown.
9169 finish_eval=$lt_finish_eval
9171 # Take the output of nm and produce a listing of raw symbols and C names.
9172 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9174 # Transform the output of nm in a proper C declaration
9175 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9177 # Transform the output of nm in a C name address pair
9178 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9180 # This is the shared library runtime path variable.
9181 runpath_var=$runpath_var
9183 # This is the shared library path variable.
9184 shlibpath_var=$shlibpath_var
9186 # Is shlibpath searched before the hard-coded library search path?
9187 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9189 # How to hardcode a shared library path into an executable.
9190 hardcode_action=$hardcode_action
9192 # Whether we should hardcode library paths into libraries.
9193 hardcode_into_libs=$hardcode_into_libs
9195 # Flag to hardcode \$libdir into a binary during linking.
9196 # This must work even if \$libdir does not exist.
9197 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9199 # If ld is used when linking, flag to hardcode \$libdir into
9200 # a binary during linking. This must work even if \$libdir does
9202 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9204 # Whether we need a single -rpath flag with a separated argument.
9205 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9207 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9209 hardcode_direct=$hardcode_direct
9211 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9213 hardcode_minus_L=$hardcode_minus_L
9215 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9216 # the resulting binary.
9217 hardcode_shlibpath_var=$hardcode_shlibpath_var
9219 # Set to yes if building a shared library automatically hardcodes DIR into the library
9220 # and all subsequent libraries and executables linked against it.
9221 hardcode_automatic=$hardcode_automatic
9223 # Variables whose values should be saved in libtool wrapper scripts and
9224 # restored at relink time.
9225 variables_saved_for_relink="$variables_saved_for_relink"
9227 # Whether libtool must link a program against all its dependency libraries.
9228 link_all_deplibs=$link_all_deplibs
9230 # Compile-time system search path for libraries
9231 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9233 # Run-time system search path for libraries
9234 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9236 # Fix the shell variable \$srcfile for the compiler.
9237 fix_srcfile_path="$fix_srcfile_path"
9239 # Set to yes if exported symbols are required.
9240 always_export_symbols=$always_export_symbols
9242 # The commands to list exported symbols.
9243 export_symbols_cmds=$lt_export_symbols_cmds
9245 # The commands to extract the exported symbol list from a shared archive.
9246 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9248 # Symbols that should not be listed in the preloaded symbols.
9249 exclude_expsyms=$lt_exclude_expsyms
9251 # Symbols that must always be exported.
9252 include_expsyms=$lt_include_expsyms
9254 # ### END LIBTOOL CONFIG
9261 cat <<\EOF >> "$cfgfile"
9263 # AIX sometimes has problems with the GCC collect2 program. For some
9264 # reason, if we set the COLLECT_NAMES environment variable, the problems
9265 # vanish in a puff of smoke.
9266 if test "X${COLLECT_NAMES+set}" != Xset; then
9268 export COLLECT_NAMES
9274 # We use sed instead of cat because bash on DJGPP gets confused if
9275 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9276 # text mode, it properly converts lines to CR/LF. This bash problem
9277 # is reportedly fixed, but why not run on old versions too?
9278 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9280 mv -f "$cfgfile" "$ofile" || \
9281 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9285 # If there is no Makefile yet, we rely on a make rule to execute
9286 # `config.status --recheck' to rerun these tests and create the
9287 # libtool script then.
9288 test -f Makefile && make "$ltmain"
9293 ac_cpp='$CPP $CPPFLAGS'
9294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9301 # Check whether --with-tags or --without-tags was given.
9302 if test "${with_tags+set}" = set; then
9303 withval="$with_tags"
9307 if test -f "$ltmain" && test -n "$tagnames"; then
9308 if test ! -f "${ofile}"; then
9309 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9310 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9313 if test -z "$LTCC"; then
9314 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9315 if test -z "$LTCC"; then
9316 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9317 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9319 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9320 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9324 # Extract list of available tagged configurations in $ofile.
9325 # Note that this assumes the entire list is on one line.
9326 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9328 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9329 for tagname in $tagnames; do
9331 # Check whether tagname contains only valid characters
9332 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9334 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9335 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9336 { (exit 1); exit 1; }; }
9340 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9342 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9343 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9344 { (exit 1); exit 1; }; }
9347 # Update the list of available tags.
9348 if test -n "$tagname"; then
9349 echo appending configuration tag \"$tagname\" to $ofile
9353 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9355 ac_cpp='$CXXCPP $CPPFLAGS'
9356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9363 archive_cmds_need_lc_CXX=no
9364 allow_undefined_flag_CXX=
9365 always_export_symbols_CXX=no
9366 archive_expsym_cmds_CXX=
9367 export_dynamic_flag_spec_CXX=
9368 hardcode_direct_CXX=no
9369 hardcode_libdir_flag_spec_CXX=
9370 hardcode_libdir_flag_spec_ld_CXX=
9371 hardcode_libdir_separator_CXX=
9372 hardcode_minus_L_CXX=no
9373 hardcode_automatic_CXX=no
9375 module_expsym_cmds_CXX=
9376 link_all_deplibs_CXX=unknown
9377 old_archive_cmds_CXX=$old_archive_cmds
9378 no_undefined_flag_CXX=
9379 whole_archive_flag_spec_CXX=
9380 enable_shared_with_static_runtimes_CXX=no
9382 # Dependencies to place before and after the object being linked:
9384 postdep_objects_CXX=
9387 compiler_lib_search_path_CXX=
9389 # Source file extension for C++ test sources.
9392 # Object file extension for compiled C++ test sources.
9396 # Code to be used in simple compile tests
9397 lt_simple_compile_test_code="int some_variable = 0;\n"
9399 # Code to be used in simple link tests
9400 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9402 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9404 # If no C compiler was specified, use CC.
9407 # Allow CC to be a program name with arguments.
9411 # Allow CC to be a program name with arguments.
9416 lt_save_with_gnu_ld=$with_gnu_ld
9417 lt_save_path_LD=$lt_cv_path_LD
9418 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9419 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9421 unset lt_cv_prog_gnu_ld
9423 if test -n "${lt_cv_path_LDCXX+set}"; then
9424 lt_cv_path_LD=$lt_cv_path_LDCXX
9428 test -z "${LDCXX+set}" || LD=$LDCXX
9432 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9434 # We don't want -fno-exception wen compiling C++ code, so set the
9435 # no_builtin_flag separately
9436 if test "$GXX" = yes; then
9437 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9439 lt_prog_compiler_no_builtin_flag_CXX=
9442 if test "$GXX" = yes; then
9443 # Set up default GNU C++ configuration
9446 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9447 if test "${with_gnu_ld+set}" = set; then
9448 withval="$with_gnu_ld"
9449 test "$withval" = no || with_gnu_ld=yes
9454 if test "$GCC" = yes; then
9455 # Check if gcc -print-prog-name=ld gives a path.
9456 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9457 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9460 # gcc leaves a trailing carriage return which upsets mingw
9461 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9463 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9466 # Accept absolute paths.
9468 re_direlt='/[^/][^/]*/\.\./'
9469 # Canonicalize the path of ld
9470 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9471 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9472 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9474 test -z "$LD" && LD="$ac_prog"
9477 # If it fails, then pretend we aren't using GCC.
9481 # If it is relative, then search for the first ld in PATH.
9485 elif test "$with_gnu_ld" = yes; then
9486 echo "$as_me:$LINENO: checking for GNU ld" >&5
9487 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9489 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9490 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9492 if test "${lt_cv_path_LD+set}" = set; then
9493 echo $ECHO_N "(cached) $ECHO_C" >&6
9495 if test -z "$LD"; then
9496 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9497 for ac_dir in $PATH; do
9499 test -z "$ac_dir" && ac_dir=.
9500 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9501 lt_cv_path_LD="$ac_dir/$ac_prog"
9502 # Check to see if the program is GNU ld. I'd rather use --version,
9503 # but apparently some GNU ld's only accept -v.
9504 # Break only if it was the GNU/non-GNU ld that we prefer.
9505 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9506 *GNU* | *'with BFD'*)
9507 test "$with_gnu_ld" != no && break
9510 test "$with_gnu_ld" != yes && break
9517 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9522 if test -n "$LD"; then
9523 echo "$as_me:$LINENO: result: $LD" >&5
9524 echo "${ECHO_T}$LD" >&6
9526 echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6
9529 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9530 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9531 { (exit 1); exit 1; }; }
9532 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9533 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9534 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9535 echo $ECHO_N "(cached) $ECHO_C" >&6
9537 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9538 case `"$LD" -v 2>&1 </dev/null` in
9539 *GNU* | *'with BFD'*)
9540 lt_cv_prog_gnu_ld=yes
9543 lt_cv_prog_gnu_ld=no
9547 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9548 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9549 with_gnu_ld=$lt_cv_prog_gnu_ld
9553 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9554 # archiving commands below assume that GNU ld is being used.
9555 if test "$with_gnu_ld" = yes; then
9556 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9557 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'
9559 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9560 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9562 # If archive_cmds runs LD, not CC, wlarc should be empty
9563 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9564 # investigate it a little bit more. (MM)
9567 # ancient GNU ld didn't support --whole-archive et. al.
9568 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9569 grep 'no-whole-archive' > /dev/null; then
9570 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9572 whole_archive_flag_spec_CXX=
9578 # A generic and very simple default shared library creation
9579 # command for GNU C++ for the case where it uses the native
9580 # linker, instead of GNU ld. If possible, this setting should
9581 # overridden to take advantage of the native linker features on
9582 # the platform it is being used on.
9583 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9586 # Commands to make compiler produce verbose output that lists
9587 # what "hidden" libraries, object files and flags are used when
9588 # linking a shared library.
9589 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9597 # PORTME: fill in a description of your system's C++ link characteristics
9598 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9599 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9603 # FIXME: insert proper C++ library support
9607 if test "$host_cpu" = ia64; then
9608 # On IA64, the linker does run time linking by default, so we don't
9609 # have to do anything special.
9610 aix_use_runtimelinking=no
9611 exp_sym_flag='-Bexport'
9614 aix_use_runtimelinking=no
9616 # Test if we are trying to use run time linking or normal
9617 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9618 # need to do runtime linking.
9619 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9620 for ld_flag in $LDFLAGS; do
9623 aix_use_runtimelinking=yes
9630 exp_sym_flag='-bexport'
9631 no_entry_flag='-bnoentry'
9634 # When large executables or shared objects are built, AIX ld can
9635 # have problems creating the table of contents. If linking a library
9636 # or program results in "error TOC overflow" add -mminimal-toc to
9637 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9638 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9641 hardcode_direct_CXX=yes
9642 hardcode_libdir_separator_CXX=':'
9643 link_all_deplibs_CXX=yes
9645 if test "$GXX" = yes; then
9646 case $host_os in aix4.012|aix4.012.*)
9647 # We only want to do this on AIX 4.2 and lower, the check
9648 # below for broken collect2 doesn't work under 4.3+
9649 collect2name=`${CC} -print-prog-name=collect2`
9650 if test -f "$collect2name" && \
9651 strings "$collect2name" | grep resolve_lib_name >/dev/null
9653 # We have reworked collect2
9654 hardcode_direct_CXX=yes
9656 # We have old collect2
9657 hardcode_direct_CXX=unsupported
9658 # It fails to find uninstalled libraries when the uninstalled
9659 # path is not listed in the libpath. Setting hardcode_minus_L
9660 # to unsupported forces relinking
9661 hardcode_minus_L_CXX=yes
9662 hardcode_libdir_flag_spec_CXX='-L$libdir'
9663 hardcode_libdir_separator_CXX=
9666 shared_flag='-shared'
9669 if test "$host_cpu" = ia64; then
9670 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9671 # chokes on -Wl,-G. The following line is correct:
9674 if test "$aix_use_runtimelinking" = yes; then
9675 shared_flag='${wl}-G'
9677 shared_flag='${wl}-bM:SRE'
9682 # It seems that -bexpall does not export symbols beginning with
9683 # underscore (_), so it is better to generate a list of symbols to export.
9684 always_export_symbols_CXX=yes
9685 if test "$aix_use_runtimelinking" = yes; then
9686 # Warning - without using the other runtime loading flags (-brtl),
9687 # -berok will link without error, but may produce a broken library.
9688 allow_undefined_flag_CXX='-berok'
9689 # Determine the default libpath from the value encoded in an empty executable.
9690 cat >conftest.$ac_ext <<_ACEOF
9691 #line $LINENO "configure"
9694 cat confdefs.h >>conftest.$ac_ext
9695 cat >>conftest.$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9706 rm -f conftest.$ac_objext conftest$ac_exeext
9707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9708 (eval $ac_link) 2>&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); } &&
9712 { ac_try='test -s conftest$ac_exeext'
9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); }; }; then
9719 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9721 # Check for a 64-bit object if we didn't find anything.
9722 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; }
9725 echo "$as_me: failed program was:" >&5
9726 sed 's/^/| /' conftest.$ac_ext >&5
9729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9730 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9732 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9734 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"
9736 if test "$host_cpu" = ia64; then
9737 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9738 allow_undefined_flag_CXX="-z nodefs"
9739 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"
9741 # Determine the default libpath from the value encoded in an empty executable.
9742 cat >conftest.$ac_ext <<_ACEOF
9743 #line $LINENO "configure"
9746 cat confdefs.h >>conftest.$ac_ext
9747 cat >>conftest.$ac_ext <<_ACEOF
9748 /* end confdefs.h. */
9758 rm -f conftest.$ac_objext conftest$ac_exeext
9759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9760 (eval $ac_link) 2>&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); } &&
9764 { ac_try='test -s conftest$ac_exeext'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; }; then
9771 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9773 # Check for a 64-bit object if we didn't find anything.
9774 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; }
9777 echo "$as_me: failed program was:" >&5
9778 sed 's/^/| /' conftest.$ac_ext >&5
9781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9782 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9784 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9785 # Warning - without using the other run time loading flags,
9786 # -berok will link without error, but may produce a broken library.
9787 no_undefined_flag_CXX=' ${wl}-bernotok'
9788 allow_undefined_flag_CXX=' ${wl}-berok'
9789 # -bexpall does not export symbols beginning with underscore (_)
9790 always_export_symbols_CXX=yes
9791 # Exported symbols can be pulled into shared objects from archives
9792 whole_archive_flag_spec_CXX=' '
9793 archive_cmds_need_lc_CXX=yes
9794 # This is similar to how AIX traditionally builds it's shared libraries.
9795 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'
9800 case $cc_basename in
9802 # FIXME: insert proper C++ library support
9808 cygwin* | mingw* | pw32*)
9809 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9810 # as there is no search path for DLLs.
9811 hardcode_libdir_flag_spec_CXX='-L$libdir'
9812 allow_undefined_flag_CXX=unsupported
9813 always_export_symbols_CXX=no
9814 enable_shared_with_static_runtimes_CXX=yes
9816 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9817 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'
9818 # If the export-symbols file already is a .def file (1st line
9819 # is EXPORTS), use it as is; otherwise, prepend...
9820 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9821 cp $export_symbols $output_objdir/$soname.def;
9823 echo EXPORTS > $output_objdir/$soname.def;
9824 cat $export_symbols >> $output_objdir/$soname.def;
9826 $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'
9832 darwin* | rhapsody*)
9833 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9834 archive_cmds_need_lc_CXX=no
9836 rhapsody* | darwin1.[012])
9837 allow_undefined_flag_CXX='-undefined suppress'
9840 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9843 lt_int_apple_cc_single_mod=no
9844 output_verbose_link_cmd='echo'
9845 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9846 lt_int_apple_cc_single_mod=yes
9848 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9849 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9851 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'
9853 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9855 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9856 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9857 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}'
9859 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}'
9861 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}'
9862 hardcode_direct_CXX=no
9863 hardcode_automatic_CXX=yes
9864 hardcode_shlibpath_var_CXX=unsupported
9865 whole_archive_flag_spec_CXX='-all_load $convenience'
9866 link_all_deplibs_CXX=yes
9871 case $cc_basename in
9873 # FIXME: insert proper C++ library support
9877 # Green Hills C++ Compiler
9878 # FIXME: insert proper C++ library support
9882 # FIXME: insert proper C++ library support
9888 # C++ shared libraries reported to be fairly broken before switch to ELF
9892 archive_cmds_need_lc_CXX=no
9895 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9902 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9903 hardcode_libdir_separator_CXX=:
9904 export_dynamic_flag_spec_CXX='${wl}-E'
9905 hardcode_direct_CXX=yes
9906 hardcode_minus_L_CXX=yes # Not in the search PATH,
9907 # but as the default
9908 # location of the library.
9910 case $cc_basename in
9912 # FIXME: insert proper C++ library support
9916 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'
9917 # Commands to make compiler produce verbose output that lists
9918 # what "hidden" libraries, object files and flags are used when
9919 # linking a shared library.
9921 # There doesn't appear to be a way to prevent this compiler from
9922 # explicitly linking system object files so we need to strip them
9923 # from the output so that they don't get included in the library
9925 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'
9928 if test "$GXX" = yes; then
9929 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'
9931 # FIXME: insert proper C++ library support
9938 if test $with_gnu_ld = no; then
9941 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9942 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9943 hardcode_libdir_separator_CXX=:
9946 hardcode_libdir_flag_spec_CXX='-L$libdir'
9949 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9950 hardcode_libdir_separator_CXX=:
9951 export_dynamic_flag_spec_CXX='${wl}-E'
9957 hardcode_direct_CXX=no
9958 hardcode_shlibpath_var_CXX=no
9961 hardcode_direct_CXX=no
9962 hardcode_shlibpath_var_CXX=no
9963 hardcode_minus_L_CXX=yes # Not in the search PATH,
9964 # but as the default
9965 # location of the library.
9968 hardcode_direct_CXX=yes
9969 hardcode_minus_L_CXX=yes # Not in the search PATH,
9970 # but as the default
9971 # location of the library.
9975 case $cc_basename in
9977 # FIXME: insert proper C++ library support
9983 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9986 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9989 # Commands to make compiler produce verbose output that lists
9990 # what "hidden" libraries, object files and flags are used when
9991 # linking a shared library.
9993 # There doesn't appear to be a way to prevent this compiler from
9994 # explicitly linking system object files so we need to strip them
9995 # from the output so that they don't get included in the library
9997 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'
10000 if test "$GXX" = yes; then
10001 if test $with_gnu_ld = no; then
10002 case "$host_cpu" in
10004 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10007 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'
10012 # FIXME: insert proper C++ library support
10019 case $cc_basename in
10022 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'
10024 # Archives containing C++ object files must be created using
10025 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10026 # necessary to make sure instantiated templates are included
10028 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10031 if test "$GXX" = yes; then
10032 if test "$with_gnu_ld" = no; then
10033 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'
10035 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'
10038 link_all_deplibs_CXX=yes
10041 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10042 hardcode_libdir_separator_CXX=:
10045 case $cc_basename in
10047 # Kuck and Associates, Inc. (KAI) C++ Compiler
10049 # KCC will only create a shared library if the output file
10050 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10051 # to its proper name (with version) after linking.
10052 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'
10053 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'
10054 # Commands to make compiler produce verbose output that lists
10055 # what "hidden" libraries, object files and flags are used when
10056 # linking a shared library.
10058 # There doesn't appear to be a way to prevent this compiler from
10059 # explicitly linking system object files so we need to strip them
10060 # from the output so that they don't get included in the library
10062 output_verbose_link_cmd='templist=`$CC $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'
10064 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10065 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10067 # Archives containing C++ object files must be created using
10068 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10069 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10074 archive_cmds_need_lc_CXX=no
10075 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10076 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'
10077 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10078 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10079 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10083 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084 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'
10086 runpath_var=LD_RUN_PATH
10087 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10088 hardcode_libdir_separator_CXX=:
10090 # Commands to make compiler produce verbose output that lists
10091 # what "hidden" libraries, object files and flags are used when
10092 # linking a shared library.
10094 # There doesn't appear to be a way to prevent this compiler from
10095 # explicitly linking system object files so we need to strip them
10096 # from the output so that they don't get included in the library
10098 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'
10103 # FIXME: insert proper C++ library support
10107 # FIXME: insert proper C++ library support
10111 case $cc_basename in
10113 # FIXME: insert proper C++ library support
10117 # FIXME: insert proper C++ library support
10123 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10124 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10126 hardcode_libdir_flag_spec_CXX='-R$libdir'
10127 hardcode_direct_CXX=yes
10128 hardcode_shlibpath_var_CXX=no
10130 # Workaround some broken pre-1.5 toolchains
10131 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10134 case $cc_basename in
10136 # Kuck and Associates, Inc. (KAI) C++ Compiler
10138 # KCC will only create a shared library if the output file
10139 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10140 # to its proper name (with version) after linking.
10141 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'
10143 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10144 hardcode_libdir_separator_CXX=:
10146 # Archives containing C++ object files must be created using
10147 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10148 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10152 # Rational C++ 2.4.1
10153 # FIXME: insert proper C++ library support
10157 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10158 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'
10160 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10161 hardcode_libdir_separator_CXX=:
10163 # Commands to make compiler produce verbose output that lists
10164 # what "hidden" libraries, object files and flags are used when
10165 # linking a shared library.
10167 # There doesn't appear to be a way to prevent this compiler from
10168 # explicitly linking system object files so we need to strip them
10169 # from the output so that they don't get included in the library
10171 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'
10174 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10175 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10176 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'
10178 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10179 hardcode_libdir_separator_CXX=:
10181 # Commands to make compiler produce verbose output that lists
10182 # what "hidden" libraries, object files and flags are used when
10183 # linking a shared library.
10184 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10187 # FIXME: insert proper C++ library support
10194 case $cc_basename in
10196 # Kuck and Associates, Inc. (KAI) C++ Compiler
10198 # KCC will only create a shared library if the output file
10199 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10200 # to its proper name (with version) after linking.
10201 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'
10203 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10204 hardcode_libdir_separator_CXX=:
10206 # Archives containing C++ object files must be created using
10207 # the KAI C++ compiler.
10208 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10211 # Rational C++ 2.4.1
10212 # FIXME: insert proper C++ library support
10216 allow_undefined_flag_CXX=' -expect_unresolved \*'
10217 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'
10218 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10219 echo "-hidden">> $lib.exp~
10220 $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~
10223 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10224 hardcode_libdir_separator_CXX=:
10226 # Commands to make compiler produce verbose output that lists
10227 # what "hidden" libraries, object files and flags are used when
10228 # linking a shared library.
10230 # There doesn't appear to be a way to prevent this compiler from
10231 # explicitly linking system object files so we need to strip them
10232 # from the output so that they don't get included in the library
10234 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'
10237 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10238 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10239 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'
10241 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10242 hardcode_libdir_separator_CXX=:
10244 # Commands to make compiler produce verbose output that lists
10245 # what "hidden" libraries, object files and flags are used when
10246 # linking a shared library.
10247 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10250 # FIXME: insert proper C++ library support
10257 # FIXME: insert proper C++ library support
10261 archive_cmds_need_lc_CXX=no
10262 case $cc_basename in
10264 # FIXME: insert proper C++ library support
10268 # FIXME: insert proper C++ library support
10274 case $cc_basename in
10277 # FIXME: insert proper C++ library support
10282 # FIXME: insert proper C++ library support
10286 # FIXME: insert proper C++ library support
10292 case $cc_basename in
10294 # Sun C++ 4.2, 5.x and Centerline C++
10295 no_undefined_flag_CXX=' -zdefs'
10296 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10297 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10298 $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'
10300 hardcode_libdir_flag_spec_CXX='-R$libdir'
10301 hardcode_shlibpath_var_CXX=no
10303 solaris2.0-5 | solaris2.0-5.*) ;;
10305 # The C++ compiler is used as linker so we must use $wl
10306 # flag to pass the commands to the underlying system
10308 # Supported since Solaris 2.6 (maybe 2.5.1?)
10309 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10312 link_all_deplibs_CXX=yes
10314 # Commands to make compiler produce verbose output that lists
10315 # what "hidden" libraries, object files and flags are used when
10316 # linking a shared library.
10318 # There doesn't appear to be a way to prevent this compiler from
10319 # explicitly linking system object files so we need to strip them
10320 # from the output so that they don't get included in the library
10322 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'
10324 # Archives containing C++ object files must be created using
10325 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10326 # necessary to make sure instantiated templates are included
10328 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10331 # Green Hills C++ Compiler
10332 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10334 # The C++ compiler must be used to create the archive.
10335 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10338 # GNU C++ compiler with Solaris linker
10339 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10340 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10341 if $CC --version | grep -v '^2\.7' > /dev/null; then
10342 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10343 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10344 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10346 # Commands to make compiler produce verbose output that lists
10347 # what "hidden" libraries, object files and flags are used when
10348 # linking a shared library.
10349 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10351 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10353 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10354 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10355 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10357 # Commands to make compiler produce verbose output that lists
10358 # what "hidden" libraries, object files and flags are used when
10359 # linking a shared library.
10360 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10363 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10368 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10369 archive_cmds_need_lc_CXX=no
10372 case $cc_basename in
10374 # NonStop-UX NCC 3.20
10375 # FIXME: insert proper C++ library support
10379 # FIXME: insert proper C++ library support
10385 # FIXME: insert proper C++ library support
10389 # FIXME: insert proper C++ library support
10393 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10394 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10395 test "$ld_shlibs_CXX" = no && can_build_shared=no
10401 ## There is no encapsulation within the following macros, do not change
10402 ## the running order or otherwise move them around unless you know exactly
10403 ## what you are doing...
10405 cat > conftest.$ac_ext <<EOF
10409 Foo (void) { a = 0; }
10415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10416 (eval $ac_compile) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; then
10420 # Parse the compiler output and extract the necessary
10421 # objects, libraries and library flags.
10423 # Sentinel used to keep track of whether or not we are before
10424 # the conftest object file.
10425 pre_test_object_deps_done=no
10427 # The `*' in the case matches for architectures that use `case' in
10428 # $output_verbose_cmd can trigger glob expansion during the loop
10429 # eval without this substitution.
10430 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10432 for p in `eval $output_verbose_link_cmd`; do
10436 # Some compilers place space between "-{L,R}" and the path.
10437 # Remove the space.
10438 if test $p = "-L" \
10439 || test $p = "-R"; then
10446 if test "$pre_test_object_deps_done" = no; then
10449 # Internal compiler library paths should come after those
10450 # provided the user. The postdeps already come after the
10451 # user supplied libs so there is no need to process them.
10452 if test -z "$compiler_lib_search_path_CXX"; then
10453 compiler_lib_search_path_CXX="${prev}${p}"
10455 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10458 # The "-l" case would never come before the object being
10459 # linked, so don't bother handling this case.
10462 if test -z "$postdeps_CXX"; then
10463 postdeps_CXX="${prev}${p}"
10465 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10471 # This assumes that the test object file only shows up
10472 # once in the compiler output.
10473 if test "$p" = "conftest.$objext"; then
10474 pre_test_object_deps_done=yes
10478 if test "$pre_test_object_deps_done" = no; then
10479 if test -z "$predep_objects_CXX"; then
10480 predep_objects_CXX="$p"
10482 predep_objects_CXX="$predep_objects_CXX $p"
10485 if test -z "$postdep_objects_CXX"; then
10486 postdep_objects_CXX="$p"
10488 postdep_objects_CXX="$postdep_objects_CXX $p"
10493 *) ;; # Ignore the rest.
10501 echo "libtool.m4: error: problem compiling CXX test program"
10504 $rm -f confest.$objext
10506 case " $postdeps_CXX " in
10507 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10510 lt_prog_compiler_wl_CXX=
10511 lt_prog_compiler_pic_CXX=
10512 lt_prog_compiler_static_CXX=
10514 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10515 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10517 # C++ specific cases for pic, static, wl, etc.
10518 if test "$GXX" = yes; then
10519 lt_prog_compiler_wl_CXX='-Wl,'
10520 lt_prog_compiler_static_CXX='-static'
10524 # All AIX code is PIC.
10525 if test "$host_cpu" = ia64; then
10526 # AIX 5 now supports IA64 processor
10527 lt_prog_compiler_static_CXX='-Bstatic'
10531 # FIXME: we need at least 68020 code to build shared libraries, but
10532 # adding the `-m68020' flag to GCC prevents building anything better,
10534 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10536 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10537 # PIC is the default for these OSes.
10539 mingw* | os2* | pw32*)
10540 # This hack is so that the source file can tell whether it is being
10541 # built for inclusion in a dll (and should export symbols for example).
10542 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10544 darwin* | rhapsody*)
10545 # PIC is the default on this platform
10546 # Common symbols not allowed in MH_DYLIB files
10547 lt_prog_compiler_pic_CXX='-fno-common'
10550 # DJGPP does not support shared libraries at all
10551 lt_prog_compiler_pic_CXX=
10554 if test -d /usr/nec; then
10555 lt_prog_compiler_pic_CXX=-Kconform_pic
10559 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10560 # not for PA HP-UX.
10561 case "$host_cpu" in
10565 lt_prog_compiler_pic_CXX='-fPIC'
10570 lt_prog_compiler_pic_CXX='-fPIC'
10576 # All AIX code is PIC.
10577 if test "$host_cpu" = ia64; then
10578 # AIX 5 now supports IA64 processor
10579 lt_prog_compiler_static_CXX='-Bstatic'
10581 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10585 case $cc_basename in
10587 # Green Hills C++ Compiler
10588 # _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"
10593 case $cc_basename in
10595 lt_prog_compiler_pic_CXX='-KPIC'
10598 # Green Hills C++ Compiler
10599 lt_prog_compiler_pic_CXX='-pic'
10606 # FreeBSD uses GNU C++
10608 hpux9* | hpux10* | hpux11*)
10609 case $cc_basename in
10611 lt_prog_compiler_wl_CXX='-Wl,'
10612 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10613 if test "$host_cpu" != ia64; then
10614 lt_prog_compiler_pic_CXX='+Z'
10618 lt_prog_compiler_wl_CXX='-Wl,'
10619 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10620 case "$host_cpu" in
10625 lt_prog_compiler_pic_CXX='+Z'
10633 irix5* | irix6* | nonstopux*)
10634 case $cc_basename in
10636 lt_prog_compiler_wl_CXX='-Wl,'
10637 lt_prog_compiler_static_CXX='-non_shared'
10638 # CC pic flag -KPIC is the default.
10645 case $cc_basename in
10648 lt_prog_compiler_wl_CXX='--backend -Wl,'
10649 lt_prog_compiler_pic_CXX='-fPIC'
10653 lt_prog_compiler_wl_CXX='-Wl,'
10654 lt_prog_compiler_pic_CXX='-KPIC'
10655 lt_prog_compiler_static_CXX='-static'
10659 # Make sure the PIC flag is empty. It appears that all Alpha
10660 # Linux and Compaq Tru64 Unix objects are PIC.
10661 lt_prog_compiler_pic_CXX=
10662 lt_prog_compiler_static_CXX='-non_shared'
10673 case $cc_basename in
10675 lt_prog_compiler_pic_CXX='-W c,exportall'
10683 osf3* | osf4* | osf5*)
10684 case $cc_basename in
10686 lt_prog_compiler_wl_CXX='--backend -Wl,'
10689 # Rational C++ 2.4.1
10690 lt_prog_compiler_pic_CXX='-pic'
10693 # Digital/Compaq C++
10694 lt_prog_compiler_wl_CXX='-Wl,'
10695 # Make sure the PIC flag is empty. It appears that all Alpha
10696 # Linux and Compaq Tru64 Unix objects are PIC.
10697 lt_prog_compiler_pic_CXX=
10698 lt_prog_compiler_static_CXX='-non_shared'
10707 case $cc_basename in
10709 lt_prog_compiler_pic_CXX='-fPIC'
10716 case $cc_basename in
10718 # Sun C++ 4.2, 5.x and Centerline C++
10719 lt_prog_compiler_pic_CXX='-KPIC'
10720 lt_prog_compiler_static_CXX='-Bstatic'
10721 lt_prog_compiler_wl_CXX='-Qoption ld '
10724 # Green Hills C++ Compiler
10725 lt_prog_compiler_pic_CXX='-PIC'
10732 case $cc_basename in
10735 lt_prog_compiler_pic_CXX='-pic'
10736 lt_prog_compiler_static_CXX='-Bstatic'
10740 lt_prog_compiler_pic_CXX='-pic'
10747 case $cc_basename in
10749 # NonStop-UX NCC 3.20
10750 lt_prog_compiler_pic_CXX='-KPIC'
10761 lt_prog_compiler_can_build_shared_CXX=no
10766 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10767 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10770 # Check to make sure the PIC flag actually works.
10772 if test -n "$lt_prog_compiler_pic_CXX"; then
10773 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10774 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10775 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6
10778 lt_prog_compiler_pic_works_CXX=no
10779 ac_outfile=conftest.$ac_objext
10780 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10781 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10782 # Insert the option either (1) after the last *FLAGS variable, or
10783 # (2) before a word containing "conftest.", or (3) at the end.
10784 # Note that $ac_compile itself does not contain backslashes and begins
10785 # with a dollar sign (not a hyphen), so the echo should work correctly.
10786 # The option is referenced via a variable to avoid confusing sed.
10787 lt_compile=`echo "$ac_compile" | $SED \
10788 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10790 -e 's:$: $lt_compiler_flag:'`
10791 (eval echo "\"\$as_me:10791: $lt_compile\"" >&5)
10792 (eval "$lt_compile" 2>conftest.err)
10794 cat conftest.err >&5
10795 echo "$as_me:10795: \$? = $ac_status" >&5
10796 if (exit $ac_status) && test -s "$ac_outfile"; then
10797 # The compiler can only warn and ignore the option if not recognized
10798 # So say no if there are warnings
10799 if test ! -s conftest.err; then
10800 lt_prog_compiler_pic_works_CXX=yes
10806 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10807 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10809 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10810 case $lt_prog_compiler_pic_CXX in
10812 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10815 lt_prog_compiler_pic_CXX=
10816 lt_prog_compiler_can_build_shared_CXX=no
10821 # For platforms which do not support PIC, -DPIC is meaningless:
10823 lt_prog_compiler_pic_CXX=
10826 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10830 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10831 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10832 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 lt_cv_prog_compiler_c_o_CXX=no
10836 $rm -r conftest 2>/dev/null
10840 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10842 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10843 # that will create temporary files in the current directory regardless of
10844 # the output directory. Thus, making CWD read-only will cause this test
10845 # to fail, enabling locking or at least warning the user not to do parallel
10849 lt_compiler_flag="-o out/conftest2.$ac_objext"
10850 # Insert the option either (1) after the last *FLAGS variable, or
10851 # (2) before a word containing "conftest.", or (3) at the end.
10852 # Note that $ac_compile itself does not contain backslashes and begins
10853 # with a dollar sign (not a hyphen), so the echo should work correctly.
10854 lt_compile=`echo "$ac_compile" | $SED \
10855 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10857 -e 's:$: $lt_compiler_flag:'`
10858 (eval echo "\"\$as_me:10858: $lt_compile\"" >&5)
10859 (eval "$lt_compile" 2>out/conftest.err)
10861 cat out/conftest.err >&5
10862 echo "$as_me:10862: \$? = $ac_status" >&5
10863 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10865 # The compiler can only warn and ignore the option if not recognized
10866 # So say no if there are warnings
10867 if test ! -s out/conftest.err; then
10868 lt_cv_prog_compiler_c_o_CXX=yes
10872 $rm conftest* out/*
10879 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10880 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10883 hard_links="nottested"
10884 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10885 # do not overwrite the value of need_locks provided by the user
10886 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10887 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10890 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10892 ln conftest.a conftest.b 2>&5 || hard_links=no
10893 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10894 echo "$as_me:$LINENO: result: $hard_links" >&5
10895 echo "${ECHO_T}$hard_links" >&6
10896 if test "$hard_links" = no; then
10897 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10898 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10905 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10906 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10908 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10911 # If we're using GNU nm, then we don't want the "-C" option.
10912 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10913 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10914 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'
10916 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'
10920 export_symbols_cmds_CXX="$ltdll_cmds"
10923 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10926 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10930 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10931 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10932 test "$ld_shlibs_CXX" = no && can_build_shared=no
10934 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10935 if test "$GCC" = yes; then
10936 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10940 # Do we need to explicitly link libc?
10942 case "x$archive_cmds_need_lc_CXX" in
10944 # Assume -lc should be added
10945 archive_cmds_need_lc_CXX=yes
10947 if test "$enable_shared" = yes && test "$GCC" = yes; then
10948 case $archive_cmds_CXX in
10950 # FIXME: we may have to deal with multi-command sequences.
10953 # Test whether the compiler implicitly links with -lc since on some
10954 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10955 # to ld, don't add -lc before -lgcc.
10956 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10957 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10959 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10962 (eval $ac_compile) 2>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); } 2>conftest.err; then
10968 libobjs=conftest.$ac_objext
10970 wl=$lt_prog_compiler_wl_CXX
10976 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10977 allow_undefined_flag_CXX=
10978 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10979 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }
10984 archive_cmds_need_lc_CXX=no
10986 archive_cmds_need_lc_CXX=yes
10988 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10990 cat conftest.err 1>&5
10993 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10994 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11001 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11002 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11003 hardcode_action_CXX=
11004 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11005 test -n "$runpath_var CXX" || \
11006 test "X$hardcode_automatic_CXX"="Xyes" ; then
11008 # We can hardcode non-existant directories.
11009 if test "$hardcode_direct_CXX" != no &&
11010 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11011 # have to relink, otherwise we might link with an installed library
11012 # when we should be linking with a yet-to-be-installed one
11013 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11014 test "$hardcode_minus_L_CXX" != no; then
11015 # Linking always hardcodes the temporary library directory.
11016 hardcode_action_CXX=relink
11018 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11019 hardcode_action_CXX=immediate
11022 # We cannot hardcode anything, or else we can only hardcode existing
11024 hardcode_action_CXX=unsupported
11026 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11027 echo "${ECHO_T}$hardcode_action_CXX" >&6
11029 if test "$hardcode_action_CXX" = relink; then
11030 # Fast installation is not supported
11031 enable_fast_install=no
11032 elif test "$shlibpath_overrides_runpath" = yes ||
11033 test "$enable_shared" = no; then
11034 # Fast installation is not necessary
11035 enable_fast_install=needless
11040 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11041 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11042 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11043 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11044 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11045 echo "$as_me:$LINENO: result: yes" >&5
11046 echo "${ECHO_T}yes" >&6
11048 # FIXME - insert some real tests, host_os isn't really good enough
11051 if test -n "$STRIP" ; then
11052 striplib="$STRIP -x"
11053 echo "$as_me:$LINENO: result: yes" >&5
11054 echo "${ECHO_T}yes" >&6
11056 echo "$as_me:$LINENO: result: no" >&5
11057 echo "${ECHO_T}no" >&6
11061 echo "$as_me:$LINENO: result: no" >&5
11062 echo "${ECHO_T}no" >&6
11067 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11068 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11069 library_names_spec=
11070 libname_spec='lib$name'
11074 postuninstall_cmds=
11078 shlibpath_overrides_runpath=unknown
11080 dynamic_linker="$host_os ld.so"
11081 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11082 if test "$GCC" = yes; then
11083 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11084 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11085 # if the path contains ";" then we assume it to be the separator
11086 # otherwise default to the standard path separator (i.e. ":") - it is
11087 # assumed that no part of a normal pathname contains ";" but that should
11088 # okay in the real world where ";" in dirpaths is itself problematic.
11089 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11091 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11094 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11096 need_lib_prefix=unknown
11097 hardcode_into_libs=no
11099 # when you set need_version to no, make sure it does not cause -set_version
11100 # flags to be left without arguments
11101 need_version=unknown
11106 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11107 shlibpath_var=LIBPATH
11109 # AIX 3 has no versioning support, so we append a major version to the name.
11110 soname_spec='${libname}${release}${shared_ext}$major'
11117 hardcode_into_libs=yes
11118 if test "$host_cpu" = ia64; then
11119 # AIX 5 supports IA64
11120 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11121 shlibpath_var=LD_LIBRARY_PATH
11123 # With GCC up to 2.95.x, collect2 would create an import file
11124 # for dependence libraries. The import file would start with
11125 # the line `#! .'. This would cause the generated library to
11126 # depend on `.', always an invalid library. This was fixed in
11127 # development snapshots of GCC prior to 3.0.
11129 aix4 | aix4.[01] | aix4.[01].*)
11130 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11132 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11135 can_build_shared=no
11139 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11140 # soname into executable. Probably we can add versioning support to
11141 # collect2, so additional links can be useful in future.
11142 if test "$aix_use_runtimelinking" = yes; then
11143 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11144 # instead of lib<name>.a to let people know that these are not
11145 # typical AIX shared libraries.
11146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148 # We preserve .a as extension for shared libraries through AIX4.2
11149 # and later when we are not doing run time linking.
11150 library_names_spec='${libname}${release}.a $libname.a'
11151 soname_spec='${libname}${release}${shared_ext}$major'
11153 shlibpath_var=LIBPATH
11158 library_names_spec='$libname.ixlibrary $libname.a'
11159 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11160 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'
11164 library_names_spec='${libname}${shared_ext}'
11165 dynamic_linker="$host_os ld.so"
11166 shlibpath_var=LIBRARY_PATH
11172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173 soname_spec='${libname}${release}${shared_ext}$major'
11174 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11175 shlibpath_var=LD_LIBRARY_PATH
11176 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11177 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11178 # the default ld.so.conf also contains /usr/contrib/lib and
11179 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11180 # libtool to hard-code these into programs
11183 cygwin* | mingw* | pw32*)
11184 version_type=windows
11189 case $GCC,$host_os in
11190 yes,cygwin* | yes,mingw* | yes,pw32*)
11191 library_names_spec='$libname.dll.a'
11192 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11193 postinstall_cmds='base_file=`basename \${file}`~
11194 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11195 dldir=$destdir/`dirname \$dlpath`~
11196 test -d \$dldir || mkdir -p \$dldir~
11197 $install_prog $dir/$dlname \$dldir/$dlname'
11198 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11199 dlpath=$dir/\$dldll~
11201 shlibpath_overrides_runpath=yes
11205 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11206 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11207 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11210 # MinGW DLLs use traditional 'lib' prefix
11211 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11212 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11213 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11214 # It is most probably a Windows format PATH printed by
11215 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11216 # path with ; separators, and with drive letters. We can handle the
11217 # drive letters (cygwin fileutils understands them), so leave them,
11218 # especially as we might pass files found there to a mingw objdump,
11219 # which wouldn't understand a cygwinified path. Ahh.
11220 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11222 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11226 # pw32 DLLs use 'pw' prefix rather than 'lib'
11227 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11233 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11236 dynamic_linker='Win32 ld.exe'
11237 # FIXME: first we should search . and the directory the executable is in
11241 darwin* | rhapsody*)
11242 dynamic_linker="$host_os dyld"
11243 version_type=darwin
11246 # FIXME: Relying on posixy $() will cause problems for
11247 # cross-compilation, but unfortunately the echo tests do not
11248 # yet detect zsh echo's removal of \ escapes.
11249 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11250 soname_spec='${libname}${release}${major}$shared_ext'
11251 shlibpath_overrides_runpath=yes
11252 shlibpath_var=DYLD_LIBRARY_PATH
11253 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11254 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11255 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11256 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"`
11258 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11266 soname_spec='${libname}${release}${shared_ext}$major'
11267 shlibpath_var=LD_LIBRARY_PATH
11275 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11276 version_type=freebsd-$objformat
11277 case $version_type in
11279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11284 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11288 shlibpath_var=LD_LIBRARY_PATH
11291 shlibpath_overrides_runpath=yes
11293 freebsd3.01* | freebsdelf3.01*)
11294 shlibpath_overrides_runpath=yes
11295 hardcode_into_libs=yes
11298 shlibpath_overrides_runpath=no
11299 hardcode_into_libs=yes
11308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11309 soname_spec='${libname}${release}${shared_ext}$major'
11310 shlibpath_var=LD_LIBRARY_PATH
11311 hardcode_into_libs=yes
11314 hpux9* | hpux10* | hpux11*)
11315 # Give a soname corresponding to the major version so that dld.sl refuses to
11316 # link against other versions.
11320 case "$host_cpu" in
11323 hardcode_into_libs=yes
11324 dynamic_linker="$host_os dld.so"
11325 shlibpath_var=LD_LIBRARY_PATH
11326 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328 soname_spec='${libname}${release}${shared_ext}$major'
11329 if test "X$HPUX_IA64_MODE" = X32; then
11330 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11332 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11334 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11338 hardcode_into_libs=yes
11339 dynamic_linker="$host_os dld.sl"
11340 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11345 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11349 dynamic_linker="$host_os dld.sl"
11350 shlibpath_var=SHLIB_PATH
11351 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11353 soname_spec='${libname}${release}${shared_ext}$major'
11356 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11357 postinstall_cmds='chmod 555 $lib'
11360 irix5* | irix6* | nonstopux*)
11362 nonstopux*) version_type=nonstopux ;;
11364 if test "$lt_cv_prog_gnu_ld" = yes; then
11372 soname_spec='${libname}${release}${shared_ext}$major'
11373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11375 irix5* | nonstopux*)
11376 libsuff= shlibsuff=
11379 case $LD in # libtool.m4 will add one of these switches to LD
11380 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11381 libsuff= shlibsuff= libmagic=32-bit;;
11382 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11383 libsuff=32 shlibsuff=N32 libmagic=N32;;
11384 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11385 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11386 *) libsuff= shlibsuff= libmagic=never-match;;
11390 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11391 shlibpath_overrides_runpath=no
11392 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11393 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11394 hardcode_into_libs=yes
11397 # No shared lib support for Linux oldld, aout, or coff.
11398 linux*oldld* | linux*aout* | linux*coff*)
11402 # This must be Linux ELF.
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec='${libname}${release}${shared_ext}$major'
11409 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11410 shlibpath_var=LD_LIBRARY_PATH
11411 shlibpath_overrides_runpath=no
11412 # This implies no fast_install, which is unacceptable.
11413 # Some rework will be needed to allow for fast_install
11414 # before this can be enabled.
11415 hardcode_into_libs=yes
11417 # We used to test for /lib/ld.so.1 and disable shared libraries on
11418 # powerpc, because MkLinux only supported shared libraries with the
11419 # GNU dynamic linker. Since this was broken with cross compilers,
11420 # most powerpc-linux boxes support dynamic linking these days and
11421 # people can always --disable-shared, the test was removed, and we
11422 # assume the GNU/Linux dynamic linker is in use.
11423 dynamic_linker='GNU/Linux ld.so'
11430 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11432 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11433 dynamic_linker='NetBSD (a.out) ld.so'
11435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11436 soname_spec='${libname}${release}${shared_ext}$major'
11437 dynamic_linker='NetBSD ld.elf_so'
11439 shlibpath_var=LD_LIBRARY_PATH
11440 shlibpath_overrides_runpath=yes
11441 hardcode_into_libs=yes
11446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11447 shlibpath_var=LD_LIBRARY_PATH
11448 shlibpath_overrides_runpath=yes
11455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11456 soname_spec='${libname}${release}${shared_ext}$major'
11457 shlibpath_var=LD_LIBRARY_PATH
11458 shlibpath_overrides_runpath=yes
11465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11466 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11467 shlibpath_var=LD_LIBRARY_PATH
11468 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11470 openbsd2.[89] | openbsd2.[89].*)
11471 shlibpath_overrides_runpath=no
11474 shlibpath_overrides_runpath=yes
11478 shlibpath_overrides_runpath=yes
11483 libname_spec='$name'
11486 library_names_spec='$libname${shared_ext} $libname.a'
11487 dynamic_linker='OS/2 ld.exe'
11488 shlibpath_var=LIBPATH
11491 osf3* | osf4* | osf5*)
11495 soname_spec='${libname}${release}${shared_ext}$major'
11496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 shlibpath_var=LD_LIBRARY_PATH
11498 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11499 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11504 soname_spec='${libname}${release}${shared_ext}$major'
11505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11506 shlibpath_var=LD_LIBRARY_PATH
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514 soname_spec='${libname}${release}${shared_ext}$major'
11515 shlibpath_var=LD_LIBRARY_PATH
11516 shlibpath_overrides_runpath=yes
11517 hardcode_into_libs=yes
11518 # ldd complains unless libraries are executable
11519 postinstall_cmds='chmod +x $lib'
11524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11525 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 shlibpath_overrides_runpath=yes
11528 if test "$with_gnu_ld" = yes; then
11534 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11537 soname_spec='${libname}${release}${shared_ext}$major'
11538 shlibpath_var=LD_LIBRARY_PATH
11539 case $host_vendor in
11541 shlibpath_overrides_runpath=no
11543 export_dynamic_flag_spec='${wl}-Blargedynsym'
11544 runpath_var=LD_RUN_PATH
11552 shlibpath_overrides_runpath=no
11553 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11559 if test -d /usr/nec ;then
11561 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11562 soname_spec='$libname${shared_ext}.$major'
11563 shlibpath_var=LD_LIBRARY_PATH
11569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570 soname_spec='${libname}${release}${shared_ext}$major'
11571 shlibpath_var=LD_LIBRARY_PATH
11578 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11579 echo "${ECHO_T}$dynamic_linker" >&6
11580 test "$dynamic_linker" = no && can_build_shared=no
11582 if test "x$enable_dlopen" != xyes; then
11583 enable_dlopen=unknown
11584 enable_dlopen_self=unknown
11585 enable_dlopen_self_static=unknown
11592 lt_cv_dlopen="load_add_on"
11594 lt_cv_dlopen_self=yes
11598 lt_cv_dlopen="LoadLibrary"
11603 lt_cv_dlopen="dlopen"
11608 # if libdl is installed we need to link against it
11609 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11610 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11611 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 ac_check_lib_save_LIBS=$LIBS
11616 cat >conftest.$ac_ext <<_ACEOF
11617 #line $LINENO "configure"
11620 cat confdefs.h >>conftest.$ac_ext
11621 cat >>conftest.$ac_ext <<_ACEOF
11622 /* end confdefs.h. */
11624 /* Override any gcc2 internal prototype to avoid an error. */
11628 /* We use char because int might match the return type of a gcc2
11629 builtin and then its argument prototype would still apply. */
11639 rm -f conftest.$ac_objext conftest$ac_exeext
11640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11641 (eval $ac_link) 2>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } &&
11645 { ac_try='test -s conftest$ac_exeext'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 (eval $ac_try) 2>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; }; then
11651 ac_cv_lib_dl_dlopen=yes
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11656 ac_cv_lib_dl_dlopen=no
11658 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11659 LIBS=$ac_check_lib_save_LIBS
11661 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11662 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11663 if test $ac_cv_lib_dl_dlopen = yes; then
11664 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11667 lt_cv_dlopen="dyld"
11669 lt_cv_dlopen_self=yes
11676 echo "$as_me:$LINENO: checking for shl_load" >&5
11677 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11678 if test "${ac_cv_func_shl_load+set}" = set; then
11679 echo $ECHO_N "(cached) $ECHO_C" >&6
11681 cat >conftest.$ac_ext <<_ACEOF
11682 #line $LINENO "configure"
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688 /* System header to define __stub macros and hopefully few prototypes,
11689 which can conflict with char shl_load (); below.
11690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11691 <limits.h> exists even on freestanding compilers. */
11693 # include <limits.h>
11695 # include <assert.h>
11697 /* Override any gcc2 internal prototype to avoid an error. */
11702 /* We use char because int might match the return type of a gcc2
11703 builtin and then its argument prototype would still apply. */
11705 /* The GNU C library defines this for functions which it implements
11706 to always fail with ENOSYS. Some functions are actually named
11707 something starting with __ and the normal name is an alias. */
11708 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11711 char (*f) () = shl_load;
11720 return f != shl_load;
11725 rm -f conftest.$ac_objext conftest$ac_exeext
11726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11727 (eval $ac_link) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); } &&
11731 { ac_try='test -s conftest$ac_exeext'
11732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11733 (eval $ac_try) 2>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); }; }; then
11737 ac_cv_func_shl_load=yes
11739 echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.$ac_ext >&5
11742 ac_cv_func_shl_load=no
11744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11746 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11747 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11748 if test $ac_cv_func_shl_load = yes; then
11749 lt_cv_dlopen="shl_load"
11751 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11752 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11753 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 ac_check_lib_save_LIBS=$LIBS
11758 cat >conftest.$ac_ext <<_ACEOF
11759 #line $LINENO "configure"
11762 cat confdefs.h >>conftest.$ac_ext
11763 cat >>conftest.$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11766 /* Override any gcc2 internal prototype to avoid an error. */
11770 /* We use char because int might match the return type of a gcc2
11771 builtin and then its argument prototype would still apply. */
11781 rm -f conftest.$ac_objext conftest$ac_exeext
11782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11783 (eval $ac_link) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } &&
11787 { ac_try='test -s conftest$ac_exeext'
11788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11789 (eval $ac_try) 2>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); }; }; then
11793 ac_cv_lib_dld_shl_load=yes
11795 echo "$as_me: failed program was:" >&5
11796 sed 's/^/| /' conftest.$ac_ext >&5
11798 ac_cv_lib_dld_shl_load=no
11800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_lib_save_LIBS
11803 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11804 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11805 if test $ac_cv_lib_dld_shl_load = yes; then
11806 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11808 echo "$as_me:$LINENO: checking for dlopen" >&5
11809 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11810 if test "${ac_cv_func_dlopen+set}" = set; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 cat >conftest.$ac_ext <<_ACEOF
11814 #line $LINENO "configure"
11817 cat confdefs.h >>conftest.$ac_ext
11818 cat >>conftest.$ac_ext <<_ACEOF
11819 /* end confdefs.h. */
11820 /* System header to define __stub macros and hopefully few prototypes,
11821 which can conflict with char dlopen (); below.
11822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11823 <limits.h> exists even on freestanding compilers. */
11825 # include <limits.h>
11827 # include <assert.h>
11829 /* Override any gcc2 internal prototype to avoid an error. */
11834 /* We use char because int might match the return type of a gcc2
11835 builtin and then its argument prototype would still apply. */
11837 /* The GNU C library defines this for functions which it implements
11838 to always fail with ENOSYS. Some functions are actually named
11839 something starting with __ and the normal name is an alias. */
11840 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11843 char (*f) () = dlopen;
11852 return f != dlopen;
11857 rm -f conftest.$ac_objext conftest$ac_exeext
11858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11859 (eval $ac_link) 2>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } &&
11863 { ac_try='test -s conftest$ac_exeext'
11864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865 (eval $ac_try) 2>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; }; then
11869 ac_cv_func_dlopen=yes
11871 echo "$as_me: failed program was:" >&5
11872 sed 's/^/| /' conftest.$ac_ext >&5
11874 ac_cv_func_dlopen=no
11876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11878 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11879 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11880 if test $ac_cv_func_dlopen = yes; then
11881 lt_cv_dlopen="dlopen"
11883 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11884 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11885 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11886 echo $ECHO_N "(cached) $ECHO_C" >&6
11888 ac_check_lib_save_LIBS=$LIBS
11890 cat >conftest.$ac_ext <<_ACEOF
11891 #line $LINENO "configure"
11894 cat confdefs.h >>conftest.$ac_ext
11895 cat >>conftest.$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11898 /* Override any gcc2 internal prototype to avoid an error. */
11902 /* We use char because int might match the return type of a gcc2
11903 builtin and then its argument prototype would still apply. */
11913 rm -f conftest.$ac_objext conftest$ac_exeext
11914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11915 (eval $ac_link) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } &&
11919 { ac_try='test -s conftest$ac_exeext'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11925 ac_cv_lib_dl_dlopen=yes
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11930 ac_cv_lib_dl_dlopen=no
11932 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11933 LIBS=$ac_check_lib_save_LIBS
11935 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11936 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11937 if test $ac_cv_lib_dl_dlopen = yes; then
11938 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11940 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11941 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11942 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 ac_check_lib_save_LIBS=$LIBS
11946 LIBS="-lsvld $LIBS"
11947 cat >conftest.$ac_ext <<_ACEOF
11948 #line $LINENO "configure"
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11955 /* Override any gcc2 internal prototype to avoid an error. */
11959 /* We use char because int might match the return type of a gcc2
11960 builtin and then its argument prototype would still apply. */
11970 rm -f conftest.$ac_objext conftest$ac_exeext
11971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11972 (eval $ac_link) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try='test -s conftest$ac_exeext'
11977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11978 (eval $ac_try) 2>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); }; }; then
11982 ac_cv_lib_svld_dlopen=yes
11984 echo "$as_me: failed program was:" >&5
11985 sed 's/^/| /' conftest.$ac_ext >&5
11987 ac_cv_lib_svld_dlopen=no
11989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11990 LIBS=$ac_check_lib_save_LIBS
11992 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11993 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11994 if test $ac_cv_lib_svld_dlopen = yes; then
11995 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11997 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11998 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11999 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12000 echo $ECHO_N "(cached) $ECHO_C" >&6
12002 ac_check_lib_save_LIBS=$LIBS
12004 cat >conftest.$ac_ext <<_ACEOF
12005 #line $LINENO "configure"
12008 cat confdefs.h >>conftest.$ac_ext
12009 cat >>conftest.$ac_ext <<_ACEOF
12010 /* end confdefs.h. */
12012 /* Override any gcc2 internal prototype to avoid an error. */
12016 /* We use char because int might match the return type of a gcc2
12017 builtin and then its argument prototype would still apply. */
12027 rm -f conftest.$ac_objext conftest$ac_exeext
12028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12029 (eval $ac_link) 2>&5
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); } &&
12033 { ac_try='test -s conftest$ac_exeext'
12034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12035 (eval $ac_try) 2>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); }; }; then
12039 ac_cv_lib_dld_dld_link=yes
12041 echo "$as_me: failed program was:" >&5
12042 sed 's/^/| /' conftest.$ac_ext >&5
12044 ac_cv_lib_dld_dld_link=no
12046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12047 LIBS=$ac_check_lib_save_LIBS
12049 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12050 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12051 if test $ac_cv_lib_dld_dld_link = yes; then
12052 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12073 if test "x$lt_cv_dlopen" != xno; then
12079 case $lt_cv_dlopen in
12081 save_CPPFLAGS="$CPPFLAGS"
12082 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12084 save_LDFLAGS="$LDFLAGS"
12085 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12088 LIBS="$lt_cv_dlopen_libs $LIBS"
12090 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12091 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12092 if test "${lt_cv_dlopen_self+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 if test "$cross_compiling" = yes; then :
12096 lt_cv_dlopen_self=cross
12098 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12099 lt_status=$lt_dlunknown
12100 cat > conftest.$ac_ext <<EOF
12101 #line 12101 "configure"
12102 #include "confdefs.h"
12111 # define LT_DLGLOBAL RTLD_GLOBAL
12114 # define LT_DLGLOBAL DL_GLOBAL
12116 # define LT_DLGLOBAL 0
12120 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12121 find out it does not work in some platform. */
12122 #ifndef LT_DLLAZY_OR_NOW
12124 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12127 # define LT_DLLAZY_OR_NOW DL_LAZY
12130 # define LT_DLLAZY_OR_NOW RTLD_NOW
12133 # define LT_DLLAZY_OR_NOW DL_NOW
12135 # define LT_DLLAZY_OR_NOW 0
12143 extern "C" void exit (int);
12146 void fnord() { int i=42;}
12149 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12150 int status = $lt_dlunknown;
12154 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12155 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12156 /* dlclose (self); */
12162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12163 (eval $ac_link) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12167 (./conftest; exit; ) 2>/dev/null
12169 case x$lt_status in
12170 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12171 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12172 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12175 # compilation failed
12176 lt_cv_dlopen_self=no
12183 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12184 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12186 if test "x$lt_cv_dlopen_self" = xyes; then
12187 LDFLAGS="$LDFLAGS $link_static_flag"
12188 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12189 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12190 if test "${lt_cv_dlopen_self_static+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 if test "$cross_compiling" = yes; then :
12194 lt_cv_dlopen_self_static=cross
12196 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12197 lt_status=$lt_dlunknown
12198 cat > conftest.$ac_ext <<EOF
12199 #line 12199 "configure"
12200 #include "confdefs.h"
12209 # define LT_DLGLOBAL RTLD_GLOBAL
12212 # define LT_DLGLOBAL DL_GLOBAL
12214 # define LT_DLGLOBAL 0
12218 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12219 find out it does not work in some platform. */
12220 #ifndef LT_DLLAZY_OR_NOW
12222 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12225 # define LT_DLLAZY_OR_NOW DL_LAZY
12228 # define LT_DLLAZY_OR_NOW RTLD_NOW
12231 # define LT_DLLAZY_OR_NOW DL_NOW
12233 # define LT_DLLAZY_OR_NOW 0
12241 extern "C" void exit (int);
12244 void fnord() { int i=42;}
12247 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12248 int status = $lt_dlunknown;
12252 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12253 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12254 /* dlclose (self); */
12260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12261 (eval $ac_link) 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12265 (./conftest; exit; ) 2>/dev/null
12267 case x$lt_status in
12268 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12269 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12270 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12273 # compilation failed
12274 lt_cv_dlopen_self_static=no
12281 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12282 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12285 CPPFLAGS="$save_CPPFLAGS"
12286 LDFLAGS="$save_LDFLAGS"
12291 case $lt_cv_dlopen_self in
12292 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12293 *) enable_dlopen_self=unknown ;;
12296 case $lt_cv_dlopen_self_static in
12297 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12298 *) enable_dlopen_self_static=unknown ;;
12303 # The else clause should only fire when bootstrapping the
12304 # libtool distribution, otherwise you forgot to ship ltmain.sh
12305 # with your package, and you will get complaints that there are
12306 # no rules to generate ltmain.sh.
12307 if test -f "$ltmain"; then
12308 # See if we are running on zsh, and set the options which allow our commands through
12309 # without removal of \ escapes.
12310 if test -n "${ZSH_VERSION+set}" ; then
12311 setopt NO_GLOB_SUBST
12313 # Now quote all the things that may contain metacharacters while being
12314 # careful not to overquote the AC_SUBSTed values. We take copies of the
12315 # variables and quote the copies for generation of the libtool script.
12316 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12317 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12318 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12319 deplibs_check_method reload_flag reload_cmds need_locks \
12320 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12321 lt_cv_sys_global_symbol_to_c_name_address \
12322 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12323 old_postinstall_cmds old_postuninstall_cmds \
12327 lt_prog_compiler_wl_CXX \
12328 lt_prog_compiler_pic_CXX \
12329 lt_prog_compiler_static_CXX \
12330 lt_prog_compiler_no_builtin_flag_CXX \
12331 export_dynamic_flag_spec_CXX \
12332 thread_safe_flag_spec_CXX \
12333 whole_archive_flag_spec_CXX \
12334 enable_shared_with_static_runtimes_CXX \
12335 old_archive_cmds_CXX \
12336 old_archive_from_new_cmds_CXX \
12337 predep_objects_CXX \
12338 postdep_objects_CXX \
12341 compiler_lib_search_path_CXX \
12343 archive_expsym_cmds_CXX \
12344 postinstall_cmds_CXX \
12345 postuninstall_cmds_CXX \
12346 old_archive_from_expsyms_cmds_CXX \
12347 allow_undefined_flag_CXX \
12348 no_undefined_flag_CXX \
12349 export_symbols_cmds_CXX \
12350 hardcode_libdir_flag_spec_CXX \
12351 hardcode_libdir_flag_spec_ld_CXX \
12352 hardcode_libdir_separator_CXX \
12353 hardcode_automatic_CXX \
12355 module_expsym_cmds_CXX \
12356 lt_cv_prog_compiler_c_o_CXX \
12357 exclude_expsyms_CXX \
12358 include_expsyms_CXX; do
12361 old_archive_cmds_CXX | \
12362 old_archive_from_new_cmds_CXX | \
12363 archive_cmds_CXX | \
12364 archive_expsym_cmds_CXX | \
12365 module_cmds_CXX | \
12366 module_expsym_cmds_CXX | \
12367 old_archive_from_expsyms_cmds_CXX | \
12368 export_symbols_cmds_CXX | \
12369 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12370 postinstall_cmds | postuninstall_cmds | \
12371 old_postinstall_cmds | old_postuninstall_cmds | \
12372 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12373 # Double-quote double-evaled strings.
12374 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12377 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12383 *'\$0 --fallback-echo"')
12384 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12390 cat <<__EOF__ >> "$cfgfile"
12391 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12393 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12395 # Shell to use when invoking shell scripts.
12398 # Whether or not to build shared libraries.
12399 build_libtool_libs=$enable_shared
12401 # Whether or not to build static libraries.
12402 build_old_libs=$enable_static
12404 # Whether or not to add -lc for building shared libraries.
12405 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12407 # Whether or not to disallow shared libs when runtime libs are static
12408 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12410 # Whether or not to optimize for fast installation.
12411 fast_install=$enable_fast_install
12414 host_alias=$host_alias
12417 # An echo program that does not interpret backslashes.
12422 AR_FLAGS=$lt_AR_FLAGS
12427 # A language-specific compiler.
12428 CC=$lt_compiler_CXX
12430 # Is the compiler the GNU C compiler?
12436 # The linker used to build libraries.
12439 # Whether we need hard or soft links.
12442 # A BSD-compatible nm program.
12445 # A symbol stripping program
12448 # Used to examine libraries when file_magic_cmd begins "file"
12449 MAGIC_CMD=$MAGIC_CMD
12451 # Used on cygwin: DLL creation program.
12454 # Used on cygwin: object dumper.
12457 # Used on cygwin: assembler.
12460 # The name of the directory that contains temporary libtool files.
12463 # How to create reloadable object files.
12464 reload_flag=$lt_reload_flag
12465 reload_cmds=$lt_reload_cmds
12467 # How to pass a linker flag through the compiler.
12468 wl=$lt_lt_prog_compiler_wl_CXX
12470 # Object file suffix (normally "o").
12471 objext="$ac_objext"
12473 # Old archive suffix (normally "a").
12476 # Shared library suffix (normally ".so").
12479 # Executable file suffix (normally "").
12482 # Additional compiler flags for building library objects.
12483 pic_flag=$lt_lt_prog_compiler_pic_CXX
12486 # What is the maximum length of a command?
12487 max_cmd_len=$lt_cv_sys_max_cmd_len
12489 # Does compiler simultaneously support -c and -o options?
12490 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12492 # Must we lock files when doing compilation ?
12493 need_locks=$lt_need_locks
12495 # Do we need the lib prefix for modules?
12496 need_lib_prefix=$need_lib_prefix
12498 # Do we need a version for libraries?
12499 need_version=$need_version
12501 # Whether dlopen is supported.
12502 dlopen_support=$enable_dlopen
12504 # Whether dlopen of programs is supported.
12505 dlopen_self=$enable_dlopen_self
12507 # Whether dlopen of statically linked programs is supported.
12508 dlopen_self_static=$enable_dlopen_self_static
12510 # Compiler flag to prevent dynamic linking.
12511 link_static_flag=$lt_lt_prog_compiler_static_CXX
12513 # Compiler flag to turn off builtin functions.
12514 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12516 # Compiler flag to allow reflexive dlopens.
12517 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12519 # Compiler flag to generate shared objects directly from archives.
12520 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12522 # Compiler flag to generate thread-safe objects.
12523 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12525 # Library versioning type.
12526 version_type=$version_type
12528 # Format of library name prefix.
12529 libname_spec=$lt_libname_spec
12531 # List of archive names. First name is the real one, the rest are links.
12532 # The last name is the one that the linker finds with -lNAME.
12533 library_names_spec=$lt_library_names_spec
12535 # The coded name of the library, if different from the real name.
12536 soname_spec=$lt_soname_spec
12538 # Commands used to build and install an old-style archive.
12540 old_archive_cmds=$lt_old_archive_cmds_CXX
12541 old_postinstall_cmds=$lt_old_postinstall_cmds
12542 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12544 # Create an old-style archive from a shared archive.
12545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12547 # Create a temporary old-style archive to link instead of a shared archive.
12548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12550 # Commands used to build and install a shared archive.
12551 archive_cmds=$lt_archive_cmds_CXX
12552 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12553 postinstall_cmds=$lt_postinstall_cmds
12554 postuninstall_cmds=$lt_postuninstall_cmds
12556 # Commands used to build a loadable module (assumed same as above if empty)
12557 module_cmds=$lt_module_cmds_CXX
12558 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12560 # Commands to strip libraries.
12561 old_striplib=$lt_old_striplib
12562 striplib=$lt_striplib
12564 # Dependencies to place before the objects being linked to create a
12566 predep_objects=$lt_predep_objects_CXX
12568 # Dependencies to place after the objects being linked to create a
12570 postdep_objects=$lt_postdep_objects_CXX
12572 # Dependencies to place before the objects being linked to create a
12574 predeps=$lt_predeps_CXX
12576 # Dependencies to place after the objects being linked to create a
12578 postdeps=$lt_postdeps_CXX
12580 # The library search path used internally by the compiler when linking
12581 # a shared library.
12582 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12584 # Method to check whether dependent libraries are shared objects.
12585 deplibs_check_method=$lt_deplibs_check_method
12587 # Command to use when deplibs_check_method == file_magic.
12588 file_magic_cmd=$lt_file_magic_cmd
12590 # Flag that allows shared libraries with undefined symbols to be built.
12591 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12593 # Flag that forces no undefined symbols.
12594 no_undefined_flag=$lt_no_undefined_flag_CXX
12596 # Commands used to finish a libtool library installation in a directory.
12597 finish_cmds=$lt_finish_cmds
12599 # Same as above, but a single script fragment to be evaled but not shown.
12600 finish_eval=$lt_finish_eval
12602 # Take the output of nm and produce a listing of raw symbols and C names.
12603 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12605 # Transform the output of nm in a proper C declaration
12606 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12608 # Transform the output of nm in a C name address pair
12609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12611 # This is the shared library runtime path variable.
12612 runpath_var=$runpath_var
12614 # This is the shared library path variable.
12615 shlibpath_var=$shlibpath_var
12617 # Is shlibpath searched before the hard-coded library search path?
12618 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12620 # How to hardcode a shared library path into an executable.
12621 hardcode_action=$hardcode_action_CXX
12623 # Whether we should hardcode library paths into libraries.
12624 hardcode_into_libs=$hardcode_into_libs
12626 # Flag to hardcode \$libdir into a binary during linking.
12627 # This must work even if \$libdir does not exist.
12628 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12630 # If ld is used when linking, flag to hardcode \$libdir into
12631 # a binary during linking. This must work even if \$libdir does
12633 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12635 # Whether we need a single -rpath flag with a separated argument.
12636 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12638 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12639 # resulting binary.
12640 hardcode_direct=$hardcode_direct_CXX
12642 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12643 # resulting binary.
12644 hardcode_minus_L=$hardcode_minus_L_CXX
12646 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12647 # the resulting binary.
12648 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12650 # Set to yes if building a shared library automatically hardcodes DIR into the library
12651 # and all subsequent libraries and executables linked against it.
12652 hardcode_automatic=$hardcode_automatic_CXX
12654 # Variables whose values should be saved in libtool wrapper scripts and
12655 # restored at relink time.
12656 variables_saved_for_relink="$variables_saved_for_relink"
12658 # Whether libtool must link a program against all its dependency libraries.
12659 link_all_deplibs=$link_all_deplibs_CXX
12661 # Compile-time system search path for libraries
12662 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12664 # Run-time system search path for libraries
12665 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12667 # Fix the shell variable \$srcfile for the compiler.
12668 fix_srcfile_path="$fix_srcfile_path_CXX"
12670 # Set to yes if exported symbols are required.
12671 always_export_symbols=$always_export_symbols_CXX
12673 # The commands to list exported symbols.
12674 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12676 # The commands to extract the exported symbol list from a shared archive.
12677 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12679 # Symbols that should not be listed in the preloaded symbols.
12680 exclude_expsyms=$lt_exclude_expsyms_CXX
12682 # Symbols that must always be exported.
12683 include_expsyms=$lt_include_expsyms_CXX
12685 # ### END LIBTOOL TAG CONFIG: $tagname
12691 # If there is no Makefile yet, we rely on a make rule to execute
12692 # `config.status --recheck' to rerun these tests and create the
12693 # libtool script then.
12694 test -f Makefile && make "$ltmain"
12699 ac_cpp='$CPP $CPPFLAGS'
12700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12708 with_gnu_ldcxx=$with_gnu_ld
12709 with_gnu_ld=$lt_save_with_gnu_ld
12710 lt_cv_path_LDCXX=$lt_cv_path_LD
12711 lt_cv_path_LD=$lt_save_path_LD
12712 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12713 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12721 if test -n "$F77" && test "X$F77" != "Xno"; then
12724 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12725 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12726 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12729 archive_cmds_need_lc_F77=no
12730 allow_undefined_flag_F77=
12731 always_export_symbols_F77=no
12732 archive_expsym_cmds_F77=
12733 export_dynamic_flag_spec_F77=
12734 hardcode_direct_F77=no
12735 hardcode_libdir_flag_spec_F77=
12736 hardcode_libdir_flag_spec_ld_F77=
12737 hardcode_libdir_separator_F77=
12738 hardcode_minus_L_F77=no
12739 hardcode_automatic_F77=no
12741 module_expsym_cmds_F77=
12742 link_all_deplibs_F77=unknown
12743 old_archive_cmds_F77=$old_archive_cmds
12744 no_undefined_flag_F77=
12745 whole_archive_flag_spec_F77=
12746 enable_shared_with_static_runtimes_F77=no
12748 # Source file extension for f77 test sources.
12751 # Object file extension for compiled f77 test sources.
12755 # Code to be used in simple compile tests
12756 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12758 # Code to be used in simple link tests
12759 lt_simple_link_test_code=" program t\n end\n"
12761 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12763 # If no C compiler was specified, use CC.
12766 # Allow CC to be a program name with arguments.
12770 # Allow CC to be a program name with arguments.
12775 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12777 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12778 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12779 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12780 echo "${ECHO_T}$can_build_shared" >&6
12782 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12783 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12784 test "$can_build_shared" = "no" && enable_shared=no
12786 # On AIX, shared libraries and static libraries use the same namespace, and
12787 # are all built from PIC.
12790 test "$enable_shared" = yes && enable_static=no
12791 if test -n "$RANLIB"; then
12792 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12793 postinstall_cmds='$RANLIB $lib'
12797 test "$enable_shared" = yes && enable_static=no
12800 echo "$as_me:$LINENO: result: $enable_shared" >&5
12801 echo "${ECHO_T}$enable_shared" >&6
12803 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12804 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12805 # Make sure either enable_shared or enable_static is yes.
12806 test "$enable_shared" = yes || enable_static=yes
12807 echo "$as_me:$LINENO: result: $enable_static" >&5
12808 echo "${ECHO_T}$enable_static" >&6
12810 test "$ld_shlibs_F77" = no && can_build_shared=no
12815 lt_prog_compiler_wl_F77=
12816 lt_prog_compiler_pic_F77=
12817 lt_prog_compiler_static_F77=
12819 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12820 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12822 if test "$GCC" = yes; then
12823 lt_prog_compiler_wl_F77='-Wl,'
12824 lt_prog_compiler_static_F77='-static'
12828 # All AIX code is PIC.
12829 if test "$host_cpu" = ia64; then
12830 # AIX 5 now supports IA64 processor
12831 lt_prog_compiler_static_F77='-Bstatic'
12836 # FIXME: we need at least 68020 code to build shared libraries, but
12837 # adding the `-m68020' flag to GCC prevents building anything better,
12839 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12842 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12843 # PIC is the default for these OSes.
12846 mingw* | pw32* | os2*)
12847 # This hack is so that the source file can tell whether it is being
12848 # built for inclusion in a dll (and should export symbols for example).
12849 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12852 darwin* | rhapsody*)
12853 # PIC is the default on this platform
12854 # Common symbols not allowed in MH_DYLIB files
12855 lt_prog_compiler_pic_F77='-fno-common'
12859 # Just because we use GCC doesn't mean we suddenly get shared libraries
12860 # on systems that don't support them.
12861 lt_prog_compiler_can_build_shared_F77=no
12866 if test -d /usr/nec; then
12867 lt_prog_compiler_pic_F77=-Kconform_pic
12872 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12873 # not for PA HP-UX.
12874 case "$host_cpu" in
12879 lt_prog_compiler_pic_F77='-fPIC'
12885 lt_prog_compiler_pic_F77='-fPIC'
12889 # PORTME Check for flag to pass linker flags through the system compiler.
12892 lt_prog_compiler_wl_F77='-Wl,'
12893 if test "$host_cpu" = ia64; then
12894 # AIX 5 now supports IA64 processor
12895 lt_prog_compiler_static_F77='-Bstatic'
12897 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12901 mingw* | pw32* | os2*)
12902 # This hack is so that the source file can tell whether it is being
12903 # built for inclusion in a dll (and should export symbols for example).
12904 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12907 hpux9* | hpux10* | hpux11*)
12908 lt_prog_compiler_wl_F77='-Wl,'
12909 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12910 # not for PA HP-UX.
12911 case "$host_cpu" in
12916 lt_prog_compiler_pic_F77='+Z'
12919 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12920 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12923 irix5* | irix6* | nonstopux*)
12924 lt_prog_compiler_wl_F77='-Wl,'
12925 # PIC (with -KPIC) is the default.
12926 lt_prog_compiler_static_F77='-non_shared'
12930 lt_prog_compiler_pic_F77='-KPIC'
12931 lt_prog_compiler_static_F77='-Bstatic'
12937 lt_prog_compiler_wl_F77='-Wl,'
12938 lt_prog_compiler_pic_F77='-KPIC'
12939 lt_prog_compiler_static_F77='-static'
12942 lt_prog_compiler_wl_F77='-Wl,'
12943 # All Alpha code is PIC.
12944 lt_prog_compiler_static_F77='-non_shared'
12949 osf3* | osf4* | osf5*)
12950 lt_prog_compiler_wl_F77='-Wl,'
12951 # All OSF/1 code is PIC.
12952 lt_prog_compiler_static_F77='-non_shared'
12956 lt_prog_compiler_pic_F77='-Kpic'
12957 lt_prog_compiler_static_F77='-dn'
12961 lt_prog_compiler_wl_F77='-Wl,'
12962 lt_prog_compiler_pic_F77='-KPIC'
12963 lt_prog_compiler_static_F77='-Bstatic'
12967 lt_prog_compiler_wl_F77='-Qoption ld '
12968 lt_prog_compiler_pic_F77='-PIC'
12969 lt_prog_compiler_static_F77='-Bstatic'
12972 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12973 lt_prog_compiler_wl_F77='-Wl,'
12974 lt_prog_compiler_pic_F77='-KPIC'
12975 lt_prog_compiler_static_F77='-Bstatic'
12979 if test -d /usr/nec ;then
12980 lt_prog_compiler_pic_F77='-Kconform_pic'
12981 lt_prog_compiler_static_F77='-Bstatic'
12986 lt_prog_compiler_pic_F77='-pic'
12987 lt_prog_compiler_static_F77='-Bstatic'
12991 lt_prog_compiler_can_build_shared_F77=no
12996 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12997 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13000 # Check to make sure the PIC flag actually works.
13002 if test -n "$lt_prog_compiler_pic_F77"; then
13003 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13004 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13005 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 lt_prog_compiler_pic_works_F77=no
13009 ac_outfile=conftest.$ac_objext
13010 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13011 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13012 # Insert the option either (1) after the last *FLAGS variable, or
13013 # (2) before a word containing "conftest.", or (3) at the end.
13014 # Note that $ac_compile itself does not contain backslashes and begins
13015 # with a dollar sign (not a hyphen), so the echo should work correctly.
13016 # The option is referenced via a variable to avoid confusing sed.
13017 lt_compile=`echo "$ac_compile" | $SED \
13018 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13019 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13020 -e 's:$: $lt_compiler_flag:'`
13021 (eval echo "\"\$as_me:13021: $lt_compile\"" >&5)
13022 (eval "$lt_compile" 2>conftest.err)
13024 cat conftest.err >&5
13025 echo "$as_me:13025: \$? = $ac_status" >&5
13026 if (exit $ac_status) && test -s "$ac_outfile"; then
13027 # The compiler can only warn and ignore the option if not recognized
13028 # So say no if there are warnings
13029 if test ! -s conftest.err; then
13030 lt_prog_compiler_pic_works_F77=yes
13036 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13037 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13039 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13040 case $lt_prog_compiler_pic_F77 in
13042 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13045 lt_prog_compiler_pic_F77=
13046 lt_prog_compiler_can_build_shared_F77=no
13051 # For platforms which do not support PIC, -DPIC is meaningless:
13053 lt_prog_compiler_pic_F77=
13056 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13060 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13061 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13062 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13065 lt_cv_prog_compiler_c_o_F77=no
13066 $rm -r conftest 2>/dev/null
13070 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13072 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13073 # that will create temporary files in the current directory regardless of
13074 # the output directory. Thus, making CWD read-only will cause this test
13075 # to fail, enabling locking or at least warning the user not to do parallel
13079 lt_compiler_flag="-o out/conftest2.$ac_objext"
13080 # Insert the option either (1) after the last *FLAGS variable, or
13081 # (2) before a word containing "conftest.", or (3) at the end.
13082 # Note that $ac_compile itself does not contain backslashes and begins
13083 # with a dollar sign (not a hyphen), so the echo should work correctly.
13084 lt_compile=`echo "$ac_compile" | $SED \
13085 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13087 -e 's:$: $lt_compiler_flag:'`
13088 (eval echo "\"\$as_me:13088: $lt_compile\"" >&5)
13089 (eval "$lt_compile" 2>out/conftest.err)
13091 cat out/conftest.err >&5
13092 echo "$as_me:13092: \$? = $ac_status" >&5
13093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13095 # The compiler can only warn and ignore the option if not recognized
13096 # So say no if there are warnings
13097 if test ! -s out/conftest.err; then
13098 lt_cv_prog_compiler_c_o_F77=yes
13102 $rm conftest* out/*
13109 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13110 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13113 hard_links="nottested"
13114 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13115 # do not overwrite the value of need_locks provided by the user
13116 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13117 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13120 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13122 ln conftest.a conftest.b 2>&5 || hard_links=no
13123 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13124 echo "$as_me:$LINENO: result: $hard_links" >&5
13125 echo "${ECHO_T}$hard_links" >&6
13126 if test "$hard_links" = no; then
13127 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13128 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13135 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13136 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13139 allow_undefined_flag_F77=
13140 enable_shared_with_static_runtimes_F77=no
13142 archive_expsym_cmds_F77=
13143 old_archive_From_new_cmds_F77=
13144 old_archive_from_expsyms_cmds_F77=
13145 export_dynamic_flag_spec_F77=
13146 whole_archive_flag_spec_F77=
13147 thread_safe_flag_spec_F77=
13148 hardcode_libdir_flag_spec_F77=
13149 hardcode_libdir_flag_spec_ld_F77=
13150 hardcode_libdir_separator_F77=
13151 hardcode_direct_F77=no
13152 hardcode_minus_L_F77=no
13153 hardcode_shlibpath_var_F77=unsupported
13154 link_all_deplibs_F77=unknown
13155 hardcode_automatic_F77=no
13157 module_expsym_cmds_F77=
13158 always_export_symbols_F77=no
13159 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13160 # include_expsyms should be a list of space-separated symbols to be *always*
13161 # included in the symbol list
13162 include_expsyms_F77=
13163 # exclude_expsyms can be an extended regexp of symbols to exclude
13164 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13165 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13166 # as well as any symbol that contains `d'.
13167 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13168 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13169 # platforms (ab)use it in PIC code, but their linkers get confused if
13170 # the symbol is explicitly referenced. Since portable code cannot
13171 # rely on this symbol name, it's probably fine to never include it in
13172 # preloaded symbol tables.
13173 extract_expsyms_cmds=
13176 cygwin* | mingw* | pw32*)
13177 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13178 # When not using gcc, we currently assume that we are using
13179 # Microsoft Visual C++.
13180 if test "$GCC" != yes; then
13190 if test "$with_gnu_ld" = yes; then
13191 # If archive_cmds runs LD, not CC, wlarc should be empty
13194 # See if GNU ld supports shared libraries.
13196 aix3* | aix4* | aix5*)
13197 # On AIX/PPC, the GNU linker is very broken
13198 if test "$host_cpu" != ia64; then
13202 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13203 *** to be unable to reliably create shared libraries on AIX.
13204 *** Therefore, libtool is disabling shared libraries support. If you
13205 *** really care for shared libraries, you may want to modify your PATH
13206 *** so that a non-GNU linker is found, and then restart.
13213 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)'
13214 hardcode_libdir_flag_spec_F77='-L$libdir'
13215 hardcode_minus_L_F77=yes
13217 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13218 # that the semantics of dynamic libraries on AmigaOS, at least up
13219 # to version 4, is to share data among multiple programs linked
13220 # with the same dynamic library. Since this doesn't match the
13221 # behavior of shared libraries on other platforms, we can't use
13227 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13228 allow_undefined_flag_F77=unsupported
13229 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13230 # support --undefined. This deserves some investigation. FIXME
13231 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13237 cygwin* | mingw* | pw32*)
13238 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13239 # as there is no search path for DLLs.
13240 hardcode_libdir_flag_spec_F77='-L$libdir'
13241 allow_undefined_flag_F77=unsupported
13242 always_export_symbols_F77=no
13243 enable_shared_with_static_runtimes_F77=yes
13244 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13246 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13247 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13248 # If the export-symbols file already is a .def file (1st line
13249 # is EXPORTS), use it as is; otherwise, prepend...
13250 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13251 cp $export_symbols $output_objdir/$soname.def;
13253 echo EXPORTS > $output_objdir/$soname.def;
13254 cat $export_symbols >> $output_objdir/$soname.def;
13256 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13263 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13264 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13267 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13268 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13273 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13277 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13278 *** create shared libraries on Solaris systems. Therefore, libtool
13279 *** is disabling shared libraries support. We urge you to upgrade GNU
13280 *** binutils to release 2.9.1 or newer. Another option is to modify
13281 *** your PATH or compiler configuration so that the native linker is
13282 *** used, and then restart.
13285 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13286 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13287 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13294 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13296 hardcode_direct_F77=yes
13297 hardcode_shlibpath_var_F77=no
13301 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13302 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13303 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13310 if test "$ld_shlibs_F77" = yes; then
13311 runpath_var=LD_RUN_PATH
13312 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13313 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13314 # ancient GNU ld didn't support --whole-archive et. al.
13315 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13316 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13318 whole_archive_flag_spec_F77=
13322 # PORTME fill in a description of your system's linker (not GNU ld)
13325 allow_undefined_flag_F77=unsupported
13326 always_export_symbols_F77=yes
13327 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'
13328 # Note: this linker hardcodes the directories in LIBPATH if there
13329 # are no directories specified by -L.
13330 hardcode_minus_L_F77=yes
13331 if test "$GCC" = yes && test -z "$link_static_flag"; then
13332 # Neither direct hardcoding nor static linking is supported with a
13334 hardcode_direct_F77=unsupported
13339 if test "$host_cpu" = ia64; then
13340 # On IA64, the linker does run time linking by default, so we don't
13341 # have to do anything special.
13342 aix_use_runtimelinking=no
13343 exp_sym_flag='-Bexport'
13346 # If we're using GNU nm, then we don't want the "-C" option.
13347 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13348 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13349 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'
13351 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'
13353 aix_use_runtimelinking=no
13355 # Test if we are trying to use run time linking or normal
13356 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13357 # need to do runtime linking.
13358 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13359 for ld_flag in $LDFLAGS; do
13360 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13361 aix_use_runtimelinking=yes
13367 exp_sym_flag='-bexport'
13368 no_entry_flag='-bnoentry'
13371 # When large executables or shared objects are built, AIX ld can
13372 # have problems creating the table of contents. If linking a library
13373 # or program results in "error TOC overflow" add -mminimal-toc to
13374 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13375 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13377 archive_cmds_F77=''
13378 hardcode_direct_F77=yes
13379 hardcode_libdir_separator_F77=':'
13380 link_all_deplibs_F77=yes
13382 if test "$GCC" = yes; then
13383 case $host_os in aix4.012|aix4.012.*)
13384 # We only want to do this on AIX 4.2 and lower, the check
13385 # below for broken collect2 doesn't work under 4.3+
13386 collect2name=`${CC} -print-prog-name=collect2`
13387 if test -f "$collect2name" && \
13388 strings "$collect2name" | grep resolve_lib_name >/dev/null
13390 # We have reworked collect2
13391 hardcode_direct_F77=yes
13393 # We have old collect2
13394 hardcode_direct_F77=unsupported
13395 # It fails to find uninstalled libraries when the uninstalled
13396 # path is not listed in the libpath. Setting hardcode_minus_L
13397 # to unsupported forces relinking
13398 hardcode_minus_L_F77=yes
13399 hardcode_libdir_flag_spec_F77='-L$libdir'
13400 hardcode_libdir_separator_F77=
13403 shared_flag='-shared'
13406 if test "$host_cpu" = ia64; then
13407 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13408 # chokes on -Wl,-G. The following line is correct:
13411 if test "$aix_use_runtimelinking" = yes; then
13412 shared_flag='${wl}-G'
13414 shared_flag='${wl}-bM:SRE'
13419 # It seems that -bexpall does not export symbols beginning with
13420 # underscore (_), so it is better to generate a list of symbols to export.
13421 always_export_symbols_F77=yes
13422 if test "$aix_use_runtimelinking" = yes; then
13423 # Warning - without using the other runtime loading flags (-brtl),
13424 # -berok will link without error, but may produce a broken library.
13425 allow_undefined_flag_F77='-berok'
13426 # Determine the default libpath from the value encoded in an empty executable.
13427 cat >conftest.$ac_ext <<_ACEOF
13432 rm -f conftest.$ac_objext conftest$ac_exeext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13434 (eval $ac_link) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } &&
13438 { ac_try='test -s conftest$ac_exeext'
13439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440 (eval $ac_try) 2>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); }; }; then
13445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13447 # Check for a 64-bit object if we didn't find anything.
13448 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; }
13451 echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.$ac_ext >&5
13455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13456 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13458 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13459 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"
13461 if test "$host_cpu" = ia64; then
13462 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13463 allow_undefined_flag_F77="-z nodefs"
13464 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"
13466 # Determine the default libpath from the value encoded in an empty executable.
13467 cat >conftest.$ac_ext <<_ACEOF
13472 rm -f conftest.$ac_objext conftest$ac_exeext
13473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13474 (eval $ac_link) 2>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } &&
13478 { ac_try='test -s conftest$ac_exeext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13485 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13487 # Check for a 64-bit object if we didn't find anything.
13488 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; }
13491 echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.$ac_ext >&5
13495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13496 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13498 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13499 # Warning - without using the other run time loading flags,
13500 # -berok will link without error, but may produce a broken library.
13501 no_undefined_flag_F77=' ${wl}-bernotok'
13502 allow_undefined_flag_F77=' ${wl}-berok'
13503 # -bexpall does not export symbols beginning with underscore (_)
13504 always_export_symbols_F77=yes
13505 # Exported symbols can be pulled into shared objects from archives
13506 whole_archive_flag_spec_F77=' '
13507 archive_cmds_need_lc_F77=yes
13508 # This is similar to how AIX traditionally builds it's shared libraries.
13509 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'
13515 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)'
13516 hardcode_libdir_flag_spec_F77='-L$libdir'
13517 hardcode_minus_L_F77=yes
13518 # see comment about different semantics on the GNU ld section
13523 export_dynamic_flag_spec_F77=-rdynamic
13526 cygwin* | mingw* | pw32*)
13527 # When not using gcc, we currently assume that we are using
13528 # Microsoft Visual C++.
13529 # hardcode_libdir_flag_spec is actually meaningless, as there is
13530 # no search path for DLLs.
13531 hardcode_libdir_flag_spec_F77=' '
13532 allow_undefined_flag_F77=unsupported
13533 # Tell ltmain to make .lib files, not .a files.
13535 # Tell ltmain to make .dll files, not .so files.
13537 # FIXME: Setting linknames here is a bad hack.
13538 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13539 # The linker will automatically build a .lib file if we build a DLL.
13540 old_archive_From_new_cmds_F77='true'
13541 # FIXME: Should let the user specify the lib program.
13542 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13543 fix_srcfile_path='`cygpath -w "$srcfile"`'
13544 enable_shared_with_static_runtimes_F77=yes
13547 darwin* | rhapsody*)
13548 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13549 archive_cmds_need_lc_F77=no
13551 rhapsody* | darwin1.[012])
13552 allow_undefined_flag_F77='-undefined suppress'
13555 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13558 # FIXME: Relying on posixy $() will cause problems for
13559 # cross-compilation, but unfortunately the echo tests do not
13560 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13561 # `"' quotes if we put them in here... so don't!
13562 lt_int_apple_cc_single_mod=no
13563 output_verbose_link_cmd='echo'
13564 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13565 lt_int_apple_cc_single_mod=yes
13567 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13568 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13570 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'
13572 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13573 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13574 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13575 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}'
13577 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}'
13579 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}'
13580 hardcode_direct_F77=no
13581 hardcode_automatic_F77=yes
13582 hardcode_shlibpath_var_F77=unsupported
13583 whole_archive_flag_spec_F77='-all_load $convenience'
13584 link_all_deplibs_F77=yes
13589 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13590 hardcode_libdir_flag_spec_F77='-L$libdir'
13591 hardcode_shlibpath_var_F77=no
13598 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13599 # support. Future versions do this automatically, but an explicit c++rt0.o
13600 # does not break anything, and helps significantly (at the cost of a little
13603 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13604 hardcode_libdir_flag_spec_F77='-R$libdir'
13605 hardcode_direct_F77=yes
13606 hardcode_shlibpath_var_F77=no
13609 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13611 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13612 hardcode_direct_F77=yes
13613 hardcode_minus_L_F77=yes
13614 hardcode_shlibpath_var_F77=no
13617 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13619 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13620 hardcode_libdir_flag_spec_F77='-R$libdir'
13621 hardcode_direct_F77=yes
13622 hardcode_shlibpath_var_F77=no
13626 if test "$GCC" = yes; then
13627 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'
13629 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'
13631 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13632 hardcode_libdir_separator_F77=:
13633 hardcode_direct_F77=yes
13635 # hardcode_minus_L: Not really in the search PATH,
13636 # but as the default location of the library.
13637 hardcode_minus_L_F77=yes
13638 export_dynamic_flag_spec_F77='${wl}-E'
13642 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13643 case "$host_cpu" in
13645 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13648 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13652 case "$host_cpu" in
13654 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13657 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13661 if test "$with_gnu_ld" = no; then
13662 case "$host_cpu" in
13664 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13665 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13666 hardcode_libdir_separator_F77=:
13667 hardcode_direct_F77=no
13668 hardcode_shlibpath_var_F77=no
13671 hardcode_libdir_flag_spec_F77='-L$libdir'
13672 hardcode_direct_F77=no
13673 hardcode_shlibpath_var_F77=no
13675 # hardcode_minus_L: Not really in the search PATH,
13676 # but as the default location of the library.
13677 hardcode_minus_L_F77=yes
13680 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13681 hardcode_libdir_separator_F77=:
13682 hardcode_direct_F77=yes
13683 export_dynamic_flag_spec_F77='${wl}-E'
13685 # hardcode_minus_L: Not really in the search PATH,
13686 # but as the default location of the library.
13687 hardcode_minus_L_F77=yes
13693 irix5* | irix6* | nonstopux*)
13694 if test "$GCC" = yes; then
13695 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'
13697 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'
13698 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13700 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13701 hardcode_libdir_separator_F77=:
13702 link_all_deplibs_F77=yes
13706 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13707 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13709 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13711 hardcode_libdir_flag_spec_F77='-R$libdir'
13712 hardcode_direct_F77=yes
13713 hardcode_shlibpath_var_F77=no
13717 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13718 hardcode_direct_F77=yes
13719 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13720 hardcode_libdir_separator_F77=:
13721 hardcode_shlibpath_var_F77=no
13725 hardcode_direct_F77=yes
13726 hardcode_shlibpath_var_F77=no
13727 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13728 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13729 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13730 export_dynamic_flag_spec_F77='${wl}-E'
13733 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13734 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13735 hardcode_libdir_flag_spec_F77='-R$libdir'
13738 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13739 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13746 hardcode_libdir_flag_spec_F77='-L$libdir'
13747 hardcode_minus_L_F77=yes
13748 allow_undefined_flag_F77=unsupported
13749 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'
13750 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13754 if test "$GCC" = yes; then
13755 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13756 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'
13758 allow_undefined_flag_F77=' -expect_unresolved \*'
13759 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'
13761 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13762 hardcode_libdir_separator_F77=:
13765 osf4* | osf5*) # as osf3* with the addition of -msym flag
13766 if test "$GCC" = yes; then
13767 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13768 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'
13769 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13771 allow_undefined_flag_F77=' -expect_unresolved \*'
13772 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'
13773 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~
13774 $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'
13776 # Both c and cxx compiler support -rpath directly
13777 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13779 hardcode_libdir_separator_F77=:
13783 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13784 hardcode_shlibpath_var_F77=no
13785 export_dynamic_flag_spec_F77='${wl}-Bexport'
13786 runpath_var=LD_RUN_PATH
13787 hardcode_runpath_var=yes
13791 no_undefined_flag_F77=' -z text'
13792 if test "$GCC" = yes; then
13793 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13794 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13795 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13797 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13798 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13799 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13801 hardcode_libdir_flag_spec_F77='-R$libdir'
13802 hardcode_shlibpath_var_F77=no
13804 solaris2.[0-5] | solaris2.[0-5].*) ;;
13805 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13806 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13808 link_all_deplibs_F77=yes
13812 if test "x$host_vendor" = xsequent; then
13813 # Use $CC to link under sequent, because it throws in some extra .o
13814 # files that make .init and .fini sections work.
13815 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13817 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13819 hardcode_libdir_flag_spec_F77='-L$libdir'
13820 hardcode_direct_F77=yes
13821 hardcode_minus_L_F77=yes
13822 hardcode_shlibpath_var_F77=no
13826 case $host_vendor in
13828 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13829 hardcode_direct_F77=yes # is this really true???
13832 ## LD is ld it makes a PLAMLIB
13833 ## CC just makes a GrossModule.
13834 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13835 reload_cmds_F77='$CC -r -o $output$reload_objs'
13836 hardcode_direct_F77=no
13839 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13840 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13843 runpath_var='LD_RUN_PATH'
13844 hardcode_shlibpath_var_F77=no
13848 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13849 hardcode_shlibpath_var_F77=no
13850 export_dynamic_flag_spec_F77='-Bexport'
13854 if test -d /usr/nec; then
13855 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13856 hardcode_shlibpath_var_F77=no
13857 runpath_var=LD_RUN_PATH
13858 hardcode_runpath_var=yes
13864 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13865 hardcode_direct_F77=yes
13866 hardcode_minus_L_F77=no
13867 hardcode_shlibpath_var_F77=no
13868 hardcode_runpath_var=yes
13869 runpath_var=LD_RUN_PATH
13872 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13873 no_undefined_flag_F77='${wl}-z ${wl}text'
13874 if test "$GCC" = yes; then
13875 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13877 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13879 runpath_var='LD_RUN_PATH'
13880 hardcode_shlibpath_var_F77=no
13884 no_undefined_flag_F77=' -z text'
13885 # $CC -shared without GNU ld will not create a library from C++
13886 # object files and a static libstdc++, better avoid it by now
13887 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13888 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13889 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13890 hardcode_libdir_flag_spec_F77=
13891 hardcode_shlibpath_var_F77=no
13892 runpath_var='LD_RUN_PATH'
13896 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13897 hardcode_libdir_flag_spec_F77='-L$libdir'
13898 hardcode_shlibpath_var_F77=no
13907 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13908 echo "${ECHO_T}$ld_shlibs_F77" >&6
13909 test "$ld_shlibs_F77" = no && can_build_shared=no
13911 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13912 if test "$GCC" = yes; then
13913 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13917 # Do we need to explicitly link libc?
13919 case "x$archive_cmds_need_lc_F77" in
13921 # Assume -lc should be added
13922 archive_cmds_need_lc_F77=yes
13924 if test "$enable_shared" = yes && test "$GCC" = yes; then
13925 case $archive_cmds_F77 in
13927 # FIXME: we may have to deal with multi-command sequences.
13930 # Test whether the compiler implicitly links with -lc since on some
13931 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13932 # to ld, don't add -lc before -lgcc.
13933 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13934 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13936 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13939 (eval $ac_compile) 2>&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); } 2>conftest.err; then
13945 libobjs=conftest.$ac_objext
13947 wl=$lt_prog_compiler_wl_F77
13953 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13954 allow_undefined_flag_F77=
13955 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13956 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }
13961 archive_cmds_need_lc_F77=no
13963 archive_cmds_need_lc_F77=yes
13965 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13967 cat conftest.err 1>&5
13970 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13971 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13978 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13979 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13980 hardcode_action_F77=
13981 if test -n "$hardcode_libdir_flag_spec_F77" || \
13982 test -n "$runpath_var F77" || \
13983 test "X$hardcode_automatic_F77"="Xyes" ; then
13985 # We can hardcode non-existant directories.
13986 if test "$hardcode_direct_F77" != no &&
13987 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13988 # have to relink, otherwise we might link with an installed library
13989 # when we should be linking with a yet-to-be-installed one
13990 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13991 test "$hardcode_minus_L_F77" != no; then
13992 # Linking always hardcodes the temporary library directory.
13993 hardcode_action_F77=relink
13995 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13996 hardcode_action_F77=immediate
13999 # We cannot hardcode anything, or else we can only hardcode existing
14001 hardcode_action_F77=unsupported
14003 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14004 echo "${ECHO_T}$hardcode_action_F77" >&6
14006 if test "$hardcode_action_F77" = relink; then
14007 # Fast installation is not supported
14008 enable_fast_install=no
14009 elif test "$shlibpath_overrides_runpath" = yes ||
14010 test "$enable_shared" = no; then
14011 # Fast installation is not necessary
14012 enable_fast_install=needless
14017 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14018 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14019 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14020 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14021 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14022 echo "$as_me:$LINENO: result: yes" >&5
14023 echo "${ECHO_T}yes" >&6
14025 # FIXME - insert some real tests, host_os isn't really good enough
14028 if test -n "$STRIP" ; then
14029 striplib="$STRIP -x"
14030 echo "$as_me:$LINENO: result: yes" >&5
14031 echo "${ECHO_T}yes" >&6
14033 echo "$as_me:$LINENO: result: no" >&5
14034 echo "${ECHO_T}no" >&6
14038 echo "$as_me:$LINENO: result: no" >&5
14039 echo "${ECHO_T}no" >&6
14044 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14045 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14046 library_names_spec=
14047 libname_spec='lib$name'
14051 postuninstall_cmds=
14055 shlibpath_overrides_runpath=unknown
14057 dynamic_linker="$host_os ld.so"
14058 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14059 if test "$GCC" = yes; then
14060 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14061 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14062 # if the path contains ";" then we assume it to be the separator
14063 # otherwise default to the standard path separator (i.e. ":") - it is
14064 # assumed that no part of a normal pathname contains ";" but that should
14065 # okay in the real world where ";" in dirpaths is itself problematic.
14066 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14068 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14071 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14073 need_lib_prefix=unknown
14074 hardcode_into_libs=no
14076 # when you set need_version to no, make sure it does not cause -set_version
14077 # flags to be left without arguments
14078 need_version=unknown
14083 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14084 shlibpath_var=LIBPATH
14086 # AIX 3 has no versioning support, so we append a major version to the name.
14087 soname_spec='${libname}${release}${shared_ext}$major'
14094 hardcode_into_libs=yes
14095 if test "$host_cpu" = ia64; then
14096 # AIX 5 supports IA64
14097 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14098 shlibpath_var=LD_LIBRARY_PATH
14100 # With GCC up to 2.95.x, collect2 would create an import file
14101 # for dependence libraries. The import file would start with
14102 # the line `#! .'. This would cause the generated library to
14103 # depend on `.', always an invalid library. This was fixed in
14104 # development snapshots of GCC prior to 3.0.
14106 aix4 | aix4.[01] | aix4.[01].*)
14107 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14109 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14112 can_build_shared=no
14116 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14117 # soname into executable. Probably we can add versioning support to
14118 # collect2, so additional links can be useful in future.
14119 if test "$aix_use_runtimelinking" = yes; then
14120 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14121 # instead of lib<name>.a to let people know that these are not
14122 # typical AIX shared libraries.
14123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14125 # We preserve .a as extension for shared libraries through AIX4.2
14126 # and later when we are not doing run time linking.
14127 library_names_spec='${libname}${release}.a $libname.a'
14128 soname_spec='${libname}${release}${shared_ext}$major'
14130 shlibpath_var=LIBPATH
14135 library_names_spec='$libname.ixlibrary $libname.a'
14136 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14137 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'
14141 library_names_spec='${libname}${shared_ext}'
14142 dynamic_linker="$host_os ld.so"
14143 shlibpath_var=LIBRARY_PATH
14149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14150 soname_spec='${libname}${release}${shared_ext}$major'
14151 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14152 shlibpath_var=LD_LIBRARY_PATH
14153 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14154 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14155 # the default ld.so.conf also contains /usr/contrib/lib and
14156 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14157 # libtool to hard-code these into programs
14160 cygwin* | mingw* | pw32*)
14161 version_type=windows
14166 case $GCC,$host_os in
14167 yes,cygwin* | yes,mingw* | yes,pw32*)
14168 library_names_spec='$libname.dll.a'
14169 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14170 postinstall_cmds='base_file=`basename \${file}`~
14171 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14172 dldir=$destdir/`dirname \$dlpath`~
14173 test -d \$dldir || mkdir -p \$dldir~
14174 $install_prog $dir/$dlname \$dldir/$dlname'
14175 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14176 dlpath=$dir/\$dldll~
14178 shlibpath_overrides_runpath=yes
14182 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14183 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14184 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14187 # MinGW DLLs use traditional 'lib' prefix
14188 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14189 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14190 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14191 # It is most probably a Windows format PATH printed by
14192 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14193 # path with ; separators, and with drive letters. We can handle the
14194 # drive letters (cygwin fileutils understands them), so leave them,
14195 # especially as we might pass files found there to a mingw objdump,
14196 # which wouldn't understand a cygwinified path. Ahh.
14197 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14199 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14203 # pw32 DLLs use 'pw' prefix rather than 'lib'
14204 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14210 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14213 dynamic_linker='Win32 ld.exe'
14214 # FIXME: first we should search . and the directory the executable is in
14218 darwin* | rhapsody*)
14219 dynamic_linker="$host_os dyld"
14220 version_type=darwin
14223 # FIXME: Relying on posixy $() will cause problems for
14224 # cross-compilation, but unfortunately the echo tests do not
14225 # yet detect zsh echo's removal of \ escapes.
14226 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14227 soname_spec='${libname}${release}${major}$shared_ext'
14228 shlibpath_overrides_runpath=yes
14229 shlibpath_var=DYLD_LIBRARY_PATH
14230 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14231 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14232 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14233 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"`
14235 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14243 soname_spec='${libname}${release}${shared_ext}$major'
14244 shlibpath_var=LD_LIBRARY_PATH
14252 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14253 version_type=freebsd-$objformat
14254 case $version_type in
14256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14261 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14265 shlibpath_var=LD_LIBRARY_PATH
14268 shlibpath_overrides_runpath=yes
14270 freebsd3.01* | freebsdelf3.01*)
14271 shlibpath_overrides_runpath=yes
14272 hardcode_into_libs=yes
14275 shlibpath_overrides_runpath=no
14276 hardcode_into_libs=yes
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14286 soname_spec='${libname}${release}${shared_ext}$major'
14287 shlibpath_var=LD_LIBRARY_PATH
14288 hardcode_into_libs=yes
14291 hpux9* | hpux10* | hpux11*)
14292 # Give a soname corresponding to the major version so that dld.sl refuses to
14293 # link against other versions.
14297 case "$host_cpu" in
14300 hardcode_into_libs=yes
14301 dynamic_linker="$host_os dld.so"
14302 shlibpath_var=LD_LIBRARY_PATH
14303 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 soname_spec='${libname}${release}${shared_ext}$major'
14306 if test "X$HPUX_IA64_MODE" = X32; then
14307 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14309 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14311 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14315 hardcode_into_libs=yes
14316 dynamic_linker="$host_os dld.sl"
14317 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14322 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14326 dynamic_linker="$host_os dld.sl"
14327 shlibpath_var=SHLIB_PATH
14328 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14330 soname_spec='${libname}${release}${shared_ext}$major'
14333 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14334 postinstall_cmds='chmod 555 $lib'
14337 irix5* | irix6* | nonstopux*)
14339 nonstopux*) version_type=nonstopux ;;
14341 if test "$lt_cv_prog_gnu_ld" = yes; then
14349 soname_spec='${libname}${release}${shared_ext}$major'
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14352 irix5* | nonstopux*)
14353 libsuff= shlibsuff=
14356 case $LD in # libtool.m4 will add one of these switches to LD
14357 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14358 libsuff= shlibsuff= libmagic=32-bit;;
14359 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14360 libsuff=32 shlibsuff=N32 libmagic=N32;;
14361 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14362 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14363 *) libsuff= shlibsuff= libmagic=never-match;;
14367 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14368 shlibpath_overrides_runpath=no
14369 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14370 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14371 hardcode_into_libs=yes
14374 # No shared lib support for Linux oldld, aout, or coff.
14375 linux*oldld* | linux*aout* | linux*coff*)
14379 # This must be Linux ELF.
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14387 shlibpath_var=LD_LIBRARY_PATH
14388 shlibpath_overrides_runpath=no
14389 # This implies no fast_install, which is unacceptable.
14390 # Some rework will be needed to allow for fast_install
14391 # before this can be enabled.
14392 hardcode_into_libs=yes
14394 # We used to test for /lib/ld.so.1 and disable shared libraries on
14395 # powerpc, because MkLinux only supported shared libraries with the
14396 # GNU dynamic linker. Since this was broken with cross compilers,
14397 # most powerpc-linux boxes support dynamic linking these days and
14398 # people can always --disable-shared, the test was removed, and we
14399 # assume the GNU/Linux dynamic linker is in use.
14400 dynamic_linker='GNU/Linux ld.so'
14407 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14409 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14410 dynamic_linker='NetBSD (a.out) ld.so'
14412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14413 soname_spec='${libname}${release}${shared_ext}$major'
14414 dynamic_linker='NetBSD ld.elf_so'
14416 shlibpath_var=LD_LIBRARY_PATH
14417 shlibpath_overrides_runpath=yes
14418 hardcode_into_libs=yes
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14424 shlibpath_var=LD_LIBRARY_PATH
14425 shlibpath_overrides_runpath=yes
14432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14433 soname_spec='${libname}${release}${shared_ext}$major'
14434 shlibpath_var=LD_LIBRARY_PATH
14435 shlibpath_overrides_runpath=yes
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14443 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14447 openbsd2.[89] | openbsd2.[89].*)
14448 shlibpath_overrides_runpath=no
14451 shlibpath_overrides_runpath=yes
14455 shlibpath_overrides_runpath=yes
14460 libname_spec='$name'
14463 library_names_spec='$libname${shared_ext} $libname.a'
14464 dynamic_linker='OS/2 ld.exe'
14465 shlibpath_var=LIBPATH
14468 osf3* | osf4* | osf5*)
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14476 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14481 soname_spec='${libname}${release}${shared_ext}$major'
14482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483 shlibpath_var=LD_LIBRARY_PATH
14490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14491 soname_spec='${libname}${release}${shared_ext}$major'
14492 shlibpath_var=LD_LIBRARY_PATH
14493 shlibpath_overrides_runpath=yes
14494 hardcode_into_libs=yes
14495 # ldd complains unless libraries are executable
14496 postinstall_cmds='chmod +x $lib'
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14502 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14503 shlibpath_var=LD_LIBRARY_PATH
14504 shlibpath_overrides_runpath=yes
14505 if test "$with_gnu_ld" = yes; then
14511 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 shlibpath_var=LD_LIBRARY_PATH
14516 case $host_vendor in
14518 shlibpath_overrides_runpath=no
14520 export_dynamic_flag_spec='${wl}-Blargedynsym'
14521 runpath_var=LD_RUN_PATH
14529 shlibpath_overrides_runpath=no
14530 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14536 if test -d /usr/nec ;then
14538 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14539 soname_spec='$libname${shared_ext}.$major'
14540 shlibpath_var=LD_LIBRARY_PATH
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14547 soname_spec='${libname}${release}${shared_ext}$major'
14548 shlibpath_var=LD_LIBRARY_PATH
14555 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14556 echo "${ECHO_T}$dynamic_linker" >&6
14557 test "$dynamic_linker" = no && can_build_shared=no
14560 # The else clause should only fire when bootstrapping the
14561 # libtool distribution, otherwise you forgot to ship ltmain.sh
14562 # with your package, and you will get complaints that there are
14563 # no rules to generate ltmain.sh.
14564 if test -f "$ltmain"; then
14565 # See if we are running on zsh, and set the options which allow our commands through
14566 # without removal of \ escapes.
14567 if test -n "${ZSH_VERSION+set}" ; then
14568 setopt NO_GLOB_SUBST
14570 # Now quote all the things that may contain metacharacters while being
14571 # careful not to overquote the AC_SUBSTed values. We take copies of the
14572 # variables and quote the copies for generation of the libtool script.
14573 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14574 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14575 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14576 deplibs_check_method reload_flag reload_cmds need_locks \
14577 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14578 lt_cv_sys_global_symbol_to_c_name_address \
14579 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14580 old_postinstall_cmds old_postuninstall_cmds \
14584 lt_prog_compiler_wl_F77 \
14585 lt_prog_compiler_pic_F77 \
14586 lt_prog_compiler_static_F77 \
14587 lt_prog_compiler_no_builtin_flag_F77 \
14588 export_dynamic_flag_spec_F77 \
14589 thread_safe_flag_spec_F77 \
14590 whole_archive_flag_spec_F77 \
14591 enable_shared_with_static_runtimes_F77 \
14592 old_archive_cmds_F77 \
14593 old_archive_from_new_cmds_F77 \
14594 predep_objects_F77 \
14595 postdep_objects_F77 \
14598 compiler_lib_search_path_F77 \
14600 archive_expsym_cmds_F77 \
14601 postinstall_cmds_F77 \
14602 postuninstall_cmds_F77 \
14603 old_archive_from_expsyms_cmds_F77 \
14604 allow_undefined_flag_F77 \
14605 no_undefined_flag_F77 \
14606 export_symbols_cmds_F77 \
14607 hardcode_libdir_flag_spec_F77 \
14608 hardcode_libdir_flag_spec_ld_F77 \
14609 hardcode_libdir_separator_F77 \
14610 hardcode_automatic_F77 \
14612 module_expsym_cmds_F77 \
14613 lt_cv_prog_compiler_c_o_F77 \
14614 exclude_expsyms_F77 \
14615 include_expsyms_F77; do
14618 old_archive_cmds_F77 | \
14619 old_archive_from_new_cmds_F77 | \
14620 archive_cmds_F77 | \
14621 archive_expsym_cmds_F77 | \
14622 module_cmds_F77 | \
14623 module_expsym_cmds_F77 | \
14624 old_archive_from_expsyms_cmds_F77 | \
14625 export_symbols_cmds_F77 | \
14626 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14627 postinstall_cmds | postuninstall_cmds | \
14628 old_postinstall_cmds | old_postuninstall_cmds | \
14629 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14630 # Double-quote double-evaled strings.
14631 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14634 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14640 *'\$0 --fallback-echo"')
14641 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14647 cat <<__EOF__ >> "$cfgfile"
14648 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14650 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14652 # Shell to use when invoking shell scripts.
14655 # Whether or not to build shared libraries.
14656 build_libtool_libs=$enable_shared
14658 # Whether or not to build static libraries.
14659 build_old_libs=$enable_static
14661 # Whether or not to add -lc for building shared libraries.
14662 build_libtool_need_lc=$archive_cmds_need_lc_F77
14664 # Whether or not to disallow shared libs when runtime libs are static
14665 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14667 # Whether or not to optimize for fast installation.
14668 fast_install=$enable_fast_install
14671 host_alias=$host_alias
14674 # An echo program that does not interpret backslashes.
14679 AR_FLAGS=$lt_AR_FLAGS
14684 # A language-specific compiler.
14685 CC=$lt_compiler_F77
14687 # Is the compiler the GNU C compiler?
14693 # The linker used to build libraries.
14696 # Whether we need hard or soft links.
14699 # A BSD-compatible nm program.
14702 # A symbol stripping program
14705 # Used to examine libraries when file_magic_cmd begins "file"
14706 MAGIC_CMD=$MAGIC_CMD
14708 # Used on cygwin: DLL creation program.
14711 # Used on cygwin: object dumper.
14714 # Used on cygwin: assembler.
14717 # The name of the directory that contains temporary libtool files.
14720 # How to create reloadable object files.
14721 reload_flag=$lt_reload_flag
14722 reload_cmds=$lt_reload_cmds
14724 # How to pass a linker flag through the compiler.
14725 wl=$lt_lt_prog_compiler_wl_F77
14727 # Object file suffix (normally "o").
14728 objext="$ac_objext"
14730 # Old archive suffix (normally "a").
14733 # Shared library suffix (normally ".so").
14736 # Executable file suffix (normally "").
14739 # Additional compiler flags for building library objects.
14740 pic_flag=$lt_lt_prog_compiler_pic_F77
14743 # What is the maximum length of a command?
14744 max_cmd_len=$lt_cv_sys_max_cmd_len
14746 # Does compiler simultaneously support -c and -o options?
14747 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14749 # Must we lock files when doing compilation ?
14750 need_locks=$lt_need_locks
14752 # Do we need the lib prefix for modules?
14753 need_lib_prefix=$need_lib_prefix
14755 # Do we need a version for libraries?
14756 need_version=$need_version
14758 # Whether dlopen is supported.
14759 dlopen_support=$enable_dlopen
14761 # Whether dlopen of programs is supported.
14762 dlopen_self=$enable_dlopen_self
14764 # Whether dlopen of statically linked programs is supported.
14765 dlopen_self_static=$enable_dlopen_self_static
14767 # Compiler flag to prevent dynamic linking.
14768 link_static_flag=$lt_lt_prog_compiler_static_F77
14770 # Compiler flag to turn off builtin functions.
14771 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14773 # Compiler flag to allow reflexive dlopens.
14774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14776 # Compiler flag to generate shared objects directly from archives.
14777 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14779 # Compiler flag to generate thread-safe objects.
14780 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14782 # Library versioning type.
14783 version_type=$version_type
14785 # Format of library name prefix.
14786 libname_spec=$lt_libname_spec
14788 # List of archive names. First name is the real one, the rest are links.
14789 # The last name is the one that the linker finds with -lNAME.
14790 library_names_spec=$lt_library_names_spec
14792 # The coded name of the library, if different from the real name.
14793 soname_spec=$lt_soname_spec
14795 # Commands used to build and install an old-style archive.
14797 old_archive_cmds=$lt_old_archive_cmds_F77
14798 old_postinstall_cmds=$lt_old_postinstall_cmds
14799 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14801 # Create an old-style archive from a shared archive.
14802 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14804 # Create a temporary old-style archive to link instead of a shared archive.
14805 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14807 # Commands used to build and install a shared archive.
14808 archive_cmds=$lt_archive_cmds_F77
14809 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14810 postinstall_cmds=$lt_postinstall_cmds
14811 postuninstall_cmds=$lt_postuninstall_cmds
14813 # Commands used to build a loadable module (assumed same as above if empty)
14814 module_cmds=$lt_module_cmds_F77
14815 module_expsym_cmds=$lt_module_expsym_cmds_F77
14817 # Commands to strip libraries.
14818 old_striplib=$lt_old_striplib
14819 striplib=$lt_striplib
14821 # Dependencies to place before the objects being linked to create a
14823 predep_objects=$lt_predep_objects_F77
14825 # Dependencies to place after the objects being linked to create a
14827 postdep_objects=$lt_postdep_objects_F77
14829 # Dependencies to place before the objects being linked to create a
14831 predeps=$lt_predeps_F77
14833 # Dependencies to place after the objects being linked to create a
14835 postdeps=$lt_postdeps_F77
14837 # The library search path used internally by the compiler when linking
14838 # a shared library.
14839 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14841 # Method to check whether dependent libraries are shared objects.
14842 deplibs_check_method=$lt_deplibs_check_method
14844 # Command to use when deplibs_check_method == file_magic.
14845 file_magic_cmd=$lt_file_magic_cmd
14847 # Flag that allows shared libraries with undefined symbols to be built.
14848 allow_undefined_flag=$lt_allow_undefined_flag_F77
14850 # Flag that forces no undefined symbols.
14851 no_undefined_flag=$lt_no_undefined_flag_F77
14853 # Commands used to finish a libtool library installation in a directory.
14854 finish_cmds=$lt_finish_cmds
14856 # Same as above, but a single script fragment to be evaled but not shown.
14857 finish_eval=$lt_finish_eval
14859 # Take the output of nm and produce a listing of raw symbols and C names.
14860 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14862 # Transform the output of nm in a proper C declaration
14863 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14865 # Transform the output of nm in a C name address pair
14866 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14868 # This is the shared library runtime path variable.
14869 runpath_var=$runpath_var
14871 # This is the shared library path variable.
14872 shlibpath_var=$shlibpath_var
14874 # Is shlibpath searched before the hard-coded library search path?
14875 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14877 # How to hardcode a shared library path into an executable.
14878 hardcode_action=$hardcode_action_F77
14880 # Whether we should hardcode library paths into libraries.
14881 hardcode_into_libs=$hardcode_into_libs
14883 # Flag to hardcode \$libdir into a binary during linking.
14884 # This must work even if \$libdir does not exist.
14885 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14887 # If ld is used when linking, flag to hardcode \$libdir into
14888 # a binary during linking. This must work even if \$libdir does
14890 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14892 # Whether we need a single -rpath flag with a separated argument.
14893 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14895 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14896 # resulting binary.
14897 hardcode_direct=$hardcode_direct_F77
14899 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14900 # resulting binary.
14901 hardcode_minus_L=$hardcode_minus_L_F77
14903 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14904 # the resulting binary.
14905 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14907 # Set to yes if building a shared library automatically hardcodes DIR into the library
14908 # and all subsequent libraries and executables linked against it.
14909 hardcode_automatic=$hardcode_automatic_F77
14911 # Variables whose values should be saved in libtool wrapper scripts and
14912 # restored at relink time.
14913 variables_saved_for_relink="$variables_saved_for_relink"
14915 # Whether libtool must link a program against all its dependency libraries.
14916 link_all_deplibs=$link_all_deplibs_F77
14918 # Compile-time system search path for libraries
14919 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14921 # Run-time system search path for libraries
14922 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14924 # Fix the shell variable \$srcfile for the compiler.
14925 fix_srcfile_path="$fix_srcfile_path_F77"
14927 # Set to yes if exported symbols are required.
14928 always_export_symbols=$always_export_symbols_F77
14930 # The commands to list exported symbols.
14931 export_symbols_cmds=$lt_export_symbols_cmds_F77
14933 # The commands to extract the exported symbol list from a shared archive.
14934 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14936 # Symbols that should not be listed in the preloaded symbols.
14937 exclude_expsyms=$lt_exclude_expsyms_F77
14939 # Symbols that must always be exported.
14940 include_expsyms=$lt_include_expsyms_F77
14942 # ### END LIBTOOL TAG CONFIG: $tagname
14948 # If there is no Makefile yet, we rely on a make rule to execute
14949 # `config.status --recheck' to rerun these tests and create the
14950 # libtool script then.
14951 test -f Makefile && make "$ltmain"
14956 ac_cpp='$CPP $CPPFLAGS'
14957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14969 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14973 # Source file extension for Java test sources.
14976 # Object file extension for compiled Java test sources.
14980 # Code to be used in simple compile tests
14981 lt_simple_compile_test_code="class foo {}\n"
14983 # Code to be used in simple link tests
14984 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14986 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14988 # If no C compiler was specified, use CC.
14991 # Allow CC to be a program name with arguments.
14995 # Allow CC to be a program name with arguments.
15001 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15002 archive_cmds_need_lc_GCJ=no
15005 ## There is no encapsulation within the following macros, do not change
15006 ## the running order or otherwise move them around unless you know exactly
15007 ## what you are doing...
15009 lt_prog_compiler_no_builtin_flag_GCJ=
15011 if test "$GCC" = yes; then
15012 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15014 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15015 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15016 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15019 lt_cv_prog_compiler_rtti_exceptions=no
15020 ac_outfile=conftest.$ac_objext
15021 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15022 lt_compiler_flag="-fno-rtti -fno-exceptions"
15023 # Insert the option either (1) after the last *FLAGS variable, or
15024 # (2) before a word containing "conftest.", or (3) at the end.
15025 # Note that $ac_compile itself does not contain backslashes and begins
15026 # with a dollar sign (not a hyphen), so the echo should work correctly.
15027 # The option is referenced via a variable to avoid confusing sed.
15028 lt_compile=`echo "$ac_compile" | $SED \
15029 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15031 -e 's:$: $lt_compiler_flag:'`
15032 (eval echo "\"\$as_me:15032: $lt_compile\"" >&5)
15033 (eval "$lt_compile" 2>conftest.err)
15035 cat conftest.err >&5
15036 echo "$as_me:15036: \$? = $ac_status" >&5
15037 if (exit $ac_status) && test -s "$ac_outfile"; then
15038 # The compiler can only warn and ignore the option if not recognized
15039 # So say no if there are warnings
15040 if test ! -s conftest.err; then
15041 lt_cv_prog_compiler_rtti_exceptions=yes
15047 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15048 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15050 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15051 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15058 lt_prog_compiler_wl_GCJ=
15059 lt_prog_compiler_pic_GCJ=
15060 lt_prog_compiler_static_GCJ=
15062 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15063 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15065 if test "$GCC" = yes; then
15066 lt_prog_compiler_wl_GCJ='-Wl,'
15067 lt_prog_compiler_static_GCJ='-static'
15071 # All AIX code is PIC.
15072 if test "$host_cpu" = ia64; then
15073 # AIX 5 now supports IA64 processor
15074 lt_prog_compiler_static_GCJ='-Bstatic'
15079 # FIXME: we need at least 68020 code to build shared libraries, but
15080 # adding the `-m68020' flag to GCC prevents building anything better,
15082 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15085 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15086 # PIC is the default for these OSes.
15089 mingw* | pw32* | os2*)
15090 # This hack is so that the source file can tell whether it is being
15091 # built for inclusion in a dll (and should export symbols for example).
15092 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15095 darwin* | rhapsody*)
15096 # PIC is the default on this platform
15097 # Common symbols not allowed in MH_DYLIB files
15098 lt_prog_compiler_pic_GCJ='-fno-common'
15102 # Just because we use GCC doesn't mean we suddenly get shared libraries
15103 # on systems that don't support them.
15104 lt_prog_compiler_can_build_shared_GCJ=no
15109 if test -d /usr/nec; then
15110 lt_prog_compiler_pic_GCJ=-Kconform_pic
15115 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15116 # not for PA HP-UX.
15117 case "$host_cpu" in
15122 lt_prog_compiler_pic_GCJ='-fPIC'
15128 lt_prog_compiler_pic_GCJ='-fPIC'
15132 # PORTME Check for flag to pass linker flags through the system compiler.
15135 lt_prog_compiler_wl_GCJ='-Wl,'
15136 if test "$host_cpu" = ia64; then
15137 # AIX 5 now supports IA64 processor
15138 lt_prog_compiler_static_GCJ='-Bstatic'
15140 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15144 mingw* | pw32* | os2*)
15145 # This hack is so that the source file can tell whether it is being
15146 # built for inclusion in a dll (and should export symbols for example).
15147 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15150 hpux9* | hpux10* | hpux11*)
15151 lt_prog_compiler_wl_GCJ='-Wl,'
15152 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15153 # not for PA HP-UX.
15154 case "$host_cpu" in
15159 lt_prog_compiler_pic_GCJ='+Z'
15162 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15163 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15166 irix5* | irix6* | nonstopux*)
15167 lt_prog_compiler_wl_GCJ='-Wl,'
15168 # PIC (with -KPIC) is the default.
15169 lt_prog_compiler_static_GCJ='-non_shared'
15173 lt_prog_compiler_pic_GCJ='-KPIC'
15174 lt_prog_compiler_static_GCJ='-Bstatic'
15180 lt_prog_compiler_wl_GCJ='-Wl,'
15181 lt_prog_compiler_pic_GCJ='-KPIC'
15182 lt_prog_compiler_static_GCJ='-static'
15185 lt_prog_compiler_wl_GCJ='-Wl,'
15186 # All Alpha code is PIC.
15187 lt_prog_compiler_static_GCJ='-non_shared'
15192 osf3* | osf4* | osf5*)
15193 lt_prog_compiler_wl_GCJ='-Wl,'
15194 # All OSF/1 code is PIC.
15195 lt_prog_compiler_static_GCJ='-non_shared'
15199 lt_prog_compiler_pic_GCJ='-Kpic'
15200 lt_prog_compiler_static_GCJ='-dn'
15204 lt_prog_compiler_wl_GCJ='-Wl,'
15205 lt_prog_compiler_pic_GCJ='-KPIC'
15206 lt_prog_compiler_static_GCJ='-Bstatic'
15210 lt_prog_compiler_wl_GCJ='-Qoption ld '
15211 lt_prog_compiler_pic_GCJ='-PIC'
15212 lt_prog_compiler_static_GCJ='-Bstatic'
15215 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15216 lt_prog_compiler_wl_GCJ='-Wl,'
15217 lt_prog_compiler_pic_GCJ='-KPIC'
15218 lt_prog_compiler_static_GCJ='-Bstatic'
15222 if test -d /usr/nec ;then
15223 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15224 lt_prog_compiler_static_GCJ='-Bstatic'
15229 lt_prog_compiler_pic_GCJ='-pic'
15230 lt_prog_compiler_static_GCJ='-Bstatic'
15234 lt_prog_compiler_can_build_shared_GCJ=no
15239 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15240 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15243 # Check to make sure the PIC flag actually works.
15245 if test -n "$lt_prog_compiler_pic_GCJ"; then
15246 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15247 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15248 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15249 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 lt_prog_compiler_pic_works_GCJ=no
15252 ac_outfile=conftest.$ac_objext
15253 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15254 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15255 # Insert the option either (1) after the last *FLAGS variable, or
15256 # (2) before a word containing "conftest.", or (3) at the end.
15257 # Note that $ac_compile itself does not contain backslashes and begins
15258 # with a dollar sign (not a hyphen), so the echo should work correctly.
15259 # The option is referenced via a variable to avoid confusing sed.
15260 lt_compile=`echo "$ac_compile" | $SED \
15261 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15263 -e 's:$: $lt_compiler_flag:'`
15264 (eval echo "\"\$as_me:15264: $lt_compile\"" >&5)
15265 (eval "$lt_compile" 2>conftest.err)
15267 cat conftest.err >&5
15268 echo "$as_me:15268: \$? = $ac_status" >&5
15269 if (exit $ac_status) && test -s "$ac_outfile"; then
15270 # The compiler can only warn and ignore the option if not recognized
15271 # So say no if there are warnings
15272 if test ! -s conftest.err; then
15273 lt_prog_compiler_pic_works_GCJ=yes
15279 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15280 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15282 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15283 case $lt_prog_compiler_pic_GCJ in
15285 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15288 lt_prog_compiler_pic_GCJ=
15289 lt_prog_compiler_can_build_shared_GCJ=no
15294 # For platforms which do not support PIC, -DPIC is meaningless:
15296 lt_prog_compiler_pic_GCJ=
15299 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15303 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15304 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15305 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 lt_cv_prog_compiler_c_o_GCJ=no
15309 $rm -r conftest 2>/dev/null
15313 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15315 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15316 # that will create temporary files in the current directory regardless of
15317 # the output directory. Thus, making CWD read-only will cause this test
15318 # to fail, enabling locking or at least warning the user not to do parallel
15322 lt_compiler_flag="-o out/conftest2.$ac_objext"
15323 # Insert the option either (1) after the last *FLAGS variable, or
15324 # (2) before a word containing "conftest.", or (3) at the end.
15325 # Note that $ac_compile itself does not contain backslashes and begins
15326 # with a dollar sign (not a hyphen), so the echo should work correctly.
15327 lt_compile=`echo "$ac_compile" | $SED \
15328 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15330 -e 's:$: $lt_compiler_flag:'`
15331 (eval echo "\"\$as_me:15331: $lt_compile\"" >&5)
15332 (eval "$lt_compile" 2>out/conftest.err)
15334 cat out/conftest.err >&5
15335 echo "$as_me:15335: \$? = $ac_status" >&5
15336 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15338 # The compiler can only warn and ignore the option if not recognized
15339 # So say no if there are warnings
15340 if test ! -s out/conftest.err; then
15341 lt_cv_prog_compiler_c_o_GCJ=yes
15345 $rm conftest* out/*
15352 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15353 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15356 hard_links="nottested"
15357 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15358 # do not overwrite the value of need_locks provided by the user
15359 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15360 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15363 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15365 ln conftest.a conftest.b 2>&5 || hard_links=no
15366 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15367 echo "$as_me:$LINENO: result: $hard_links" >&5
15368 echo "${ECHO_T}$hard_links" >&6
15369 if test "$hard_links" = no; then
15370 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15371 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15378 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15379 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15382 allow_undefined_flag_GCJ=
15383 enable_shared_with_static_runtimes_GCJ=no
15385 archive_expsym_cmds_GCJ=
15386 old_archive_From_new_cmds_GCJ=
15387 old_archive_from_expsyms_cmds_GCJ=
15388 export_dynamic_flag_spec_GCJ=
15389 whole_archive_flag_spec_GCJ=
15390 thread_safe_flag_spec_GCJ=
15391 hardcode_libdir_flag_spec_GCJ=
15392 hardcode_libdir_flag_spec_ld_GCJ=
15393 hardcode_libdir_separator_GCJ=
15394 hardcode_direct_GCJ=no
15395 hardcode_minus_L_GCJ=no
15396 hardcode_shlibpath_var_GCJ=unsupported
15397 link_all_deplibs_GCJ=unknown
15398 hardcode_automatic_GCJ=no
15400 module_expsym_cmds_GCJ=
15401 always_export_symbols_GCJ=no
15402 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15403 # include_expsyms should be a list of space-separated symbols to be *always*
15404 # included in the symbol list
15405 include_expsyms_GCJ=
15406 # exclude_expsyms can be an extended regexp of symbols to exclude
15407 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15408 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15409 # as well as any symbol that contains `d'.
15410 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15411 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15412 # platforms (ab)use it in PIC code, but their linkers get confused if
15413 # the symbol is explicitly referenced. Since portable code cannot
15414 # rely on this symbol name, it's probably fine to never include it in
15415 # preloaded symbol tables.
15416 extract_expsyms_cmds=
15419 cygwin* | mingw* | pw32*)
15420 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15421 # When not using gcc, we currently assume that we are using
15422 # Microsoft Visual C++.
15423 if test "$GCC" != yes; then
15433 if test "$with_gnu_ld" = yes; then
15434 # If archive_cmds runs LD, not CC, wlarc should be empty
15437 # See if GNU ld supports shared libraries.
15439 aix3* | aix4* | aix5*)
15440 # On AIX/PPC, the GNU linker is very broken
15441 if test "$host_cpu" != ia64; then
15445 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15446 *** to be unable to reliably create shared libraries on AIX.
15447 *** Therefore, libtool is disabling shared libraries support. If you
15448 *** really care for shared libraries, you may want to modify your PATH
15449 *** so that a non-GNU linker is found, and then restart.
15456 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)'
15457 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15458 hardcode_minus_L_GCJ=yes
15460 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15461 # that the semantics of dynamic libraries on AmigaOS, at least up
15462 # to version 4, is to share data among multiple programs linked
15463 # with the same dynamic library. Since this doesn't match the
15464 # behavior of shared libraries on other platforms, we can't use
15470 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15471 allow_undefined_flag_GCJ=unsupported
15472 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15473 # support --undefined. This deserves some investigation. FIXME
15474 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15480 cygwin* | mingw* | pw32*)
15481 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15482 # as there is no search path for DLLs.
15483 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15484 allow_undefined_flag_GCJ=unsupported
15485 always_export_symbols_GCJ=no
15486 enable_shared_with_static_runtimes_GCJ=yes
15487 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15489 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15490 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15491 # If the export-symbols file already is a .def file (1st line
15492 # is EXPORTS), use it as is; otherwise, prepend...
15493 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15494 cp $export_symbols $output_objdir/$soname.def;
15496 echo EXPORTS > $output_objdir/$soname.def;
15497 cat $export_symbols >> $output_objdir/$soname.def;
15499 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15506 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15507 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15510 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15511 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15516 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15520 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15521 *** create shared libraries on Solaris systems. Therefore, libtool
15522 *** is disabling shared libraries support. We urge you to upgrade GNU
15523 *** binutils to release 2.9.1 or newer. Another option is to modify
15524 *** your PATH or compiler configuration so that the native linker is
15525 *** used, and then restart.
15528 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15529 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15530 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15537 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15539 hardcode_direct_GCJ=yes
15540 hardcode_shlibpath_var_GCJ=no
15544 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15545 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15546 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15553 if test "$ld_shlibs_GCJ" = yes; then
15554 runpath_var=LD_RUN_PATH
15555 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15556 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15557 # ancient GNU ld didn't support --whole-archive et. al.
15558 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15559 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15561 whole_archive_flag_spec_GCJ=
15565 # PORTME fill in a description of your system's linker (not GNU ld)
15568 allow_undefined_flag_GCJ=unsupported
15569 always_export_symbols_GCJ=yes
15570 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'
15571 # Note: this linker hardcodes the directories in LIBPATH if there
15572 # are no directories specified by -L.
15573 hardcode_minus_L_GCJ=yes
15574 if test "$GCC" = yes && test -z "$link_static_flag"; then
15575 # Neither direct hardcoding nor static linking is supported with a
15577 hardcode_direct_GCJ=unsupported
15582 if test "$host_cpu" = ia64; then
15583 # On IA64, the linker does run time linking by default, so we don't
15584 # have to do anything special.
15585 aix_use_runtimelinking=no
15586 exp_sym_flag='-Bexport'
15589 # If we're using GNU nm, then we don't want the "-C" option.
15590 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15591 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15592 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'
15594 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'
15596 aix_use_runtimelinking=no
15598 # Test if we are trying to use run time linking or normal
15599 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15600 # need to do runtime linking.
15601 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15602 for ld_flag in $LDFLAGS; do
15603 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15604 aix_use_runtimelinking=yes
15610 exp_sym_flag='-bexport'
15611 no_entry_flag='-bnoentry'
15614 # When large executables or shared objects are built, AIX ld can
15615 # have problems creating the table of contents. If linking a library
15616 # or program results in "error TOC overflow" add -mminimal-toc to
15617 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15618 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15620 archive_cmds_GCJ=''
15621 hardcode_direct_GCJ=yes
15622 hardcode_libdir_separator_GCJ=':'
15623 link_all_deplibs_GCJ=yes
15625 if test "$GCC" = yes; then
15626 case $host_os in aix4.012|aix4.012.*)
15627 # We only want to do this on AIX 4.2 and lower, the check
15628 # below for broken collect2 doesn't work under 4.3+
15629 collect2name=`${CC} -print-prog-name=collect2`
15630 if test -f "$collect2name" && \
15631 strings "$collect2name" | grep resolve_lib_name >/dev/null
15633 # We have reworked collect2
15634 hardcode_direct_GCJ=yes
15636 # We have old collect2
15637 hardcode_direct_GCJ=unsupported
15638 # It fails to find uninstalled libraries when the uninstalled
15639 # path is not listed in the libpath. Setting hardcode_minus_L
15640 # to unsupported forces relinking
15641 hardcode_minus_L_GCJ=yes
15642 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15643 hardcode_libdir_separator_GCJ=
15646 shared_flag='-shared'
15649 if test "$host_cpu" = ia64; then
15650 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15651 # chokes on -Wl,-G. The following line is correct:
15654 if test "$aix_use_runtimelinking" = yes; then
15655 shared_flag='${wl}-G'
15657 shared_flag='${wl}-bM:SRE'
15662 # It seems that -bexpall does not export symbols beginning with
15663 # underscore (_), so it is better to generate a list of symbols to export.
15664 always_export_symbols_GCJ=yes
15665 if test "$aix_use_runtimelinking" = yes; then
15666 # Warning - without using the other runtime loading flags (-brtl),
15667 # -berok will link without error, but may produce a broken library.
15668 allow_undefined_flag_GCJ='-berok'
15669 # Determine the default libpath from the value encoded in an empty executable.
15670 cat >conftest.$ac_ext <<_ACEOF
15671 #line $LINENO "configure"
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15686 rm -f conftest.$ac_objext conftest$ac_exeext
15687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15688 (eval $ac_link) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -s conftest$ac_exeext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15699 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15701 # Check for a 64-bit object if we didn't find anything.
15702 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; }
15705 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.$ac_ext >&5
15709 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15710 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15712 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15713 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"
15715 if test "$host_cpu" = ia64; then
15716 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15717 allow_undefined_flag_GCJ="-z nodefs"
15718 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"
15720 # Determine the default libpath from the value encoded in an empty executable.
15721 cat >conftest.$ac_ext <<_ACEOF
15722 #line $LINENO "configure"
15725 cat confdefs.h >>conftest.$ac_ext
15726 cat >>conftest.$ac_ext <<_ACEOF
15727 /* end confdefs.h. */
15737 rm -f conftest.$ac_objext conftest$ac_exeext
15738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15739 (eval $ac_link) 2>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } &&
15743 { ac_try='test -s conftest$ac_exeext'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; }; then
15750 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15752 # Check for a 64-bit object if we didn't find anything.
15753 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; }
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.$ac_ext >&5
15760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15761 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15763 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15764 # Warning - without using the other run time loading flags,
15765 # -berok will link without error, but may produce a broken library.
15766 no_undefined_flag_GCJ=' ${wl}-bernotok'
15767 allow_undefined_flag_GCJ=' ${wl}-berok'
15768 # -bexpall does not export symbols beginning with underscore (_)
15769 always_export_symbols_GCJ=yes
15770 # Exported symbols can be pulled into shared objects from archives
15771 whole_archive_flag_spec_GCJ=' '
15772 archive_cmds_need_lc_GCJ=yes
15773 # This is similar to how AIX traditionally builds it's shared libraries.
15774 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'
15780 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)'
15781 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15782 hardcode_minus_L_GCJ=yes
15783 # see comment about different semantics on the GNU ld section
15788 export_dynamic_flag_spec_GCJ=-rdynamic
15791 cygwin* | mingw* | pw32*)
15792 # When not using gcc, we currently assume that we are using
15793 # Microsoft Visual C++.
15794 # hardcode_libdir_flag_spec is actually meaningless, as there is
15795 # no search path for DLLs.
15796 hardcode_libdir_flag_spec_GCJ=' '
15797 allow_undefined_flag_GCJ=unsupported
15798 # Tell ltmain to make .lib files, not .a files.
15800 # Tell ltmain to make .dll files, not .so files.
15802 # FIXME: Setting linknames here is a bad hack.
15803 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15804 # The linker will automatically build a .lib file if we build a DLL.
15805 old_archive_From_new_cmds_GCJ='true'
15806 # FIXME: Should let the user specify the lib program.
15807 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15808 fix_srcfile_path='`cygpath -w "$srcfile"`'
15809 enable_shared_with_static_runtimes_GCJ=yes
15812 darwin* | rhapsody*)
15813 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15814 archive_cmds_need_lc_GCJ=no
15816 rhapsody* | darwin1.[012])
15817 allow_undefined_flag_GCJ='-undefined suppress'
15820 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15823 # FIXME: Relying on posixy $() will cause problems for
15824 # cross-compilation, but unfortunately the echo tests do not
15825 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15826 # `"' quotes if we put them in here... so don't!
15827 lt_int_apple_cc_single_mod=no
15828 output_verbose_link_cmd='echo'
15829 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15830 lt_int_apple_cc_single_mod=yes
15832 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15833 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15835 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'
15837 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15838 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15839 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15840 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}'
15842 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}'
15844 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}'
15845 hardcode_direct_GCJ=no
15846 hardcode_automatic_GCJ=yes
15847 hardcode_shlibpath_var_GCJ=unsupported
15848 whole_archive_flag_spec_GCJ='-all_load $convenience'
15849 link_all_deplibs_GCJ=yes
15854 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15855 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15856 hardcode_shlibpath_var_GCJ=no
15863 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15864 # support. Future versions do this automatically, but an explicit c++rt0.o
15865 # does not break anything, and helps significantly (at the cost of a little
15868 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15869 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15870 hardcode_direct_GCJ=yes
15871 hardcode_shlibpath_var_GCJ=no
15874 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15876 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15877 hardcode_direct_GCJ=yes
15878 hardcode_minus_L_GCJ=yes
15879 hardcode_shlibpath_var_GCJ=no
15882 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15884 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15885 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15886 hardcode_direct_GCJ=yes
15887 hardcode_shlibpath_var_GCJ=no
15891 if test "$GCC" = yes; then
15892 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'
15894 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'
15896 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15897 hardcode_libdir_separator_GCJ=:
15898 hardcode_direct_GCJ=yes
15900 # hardcode_minus_L: Not really in the search PATH,
15901 # but as the default location of the library.
15902 hardcode_minus_L_GCJ=yes
15903 export_dynamic_flag_spec_GCJ='${wl}-E'
15907 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15908 case "$host_cpu" in
15910 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15913 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15917 case "$host_cpu" in
15919 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15922 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15926 if test "$with_gnu_ld" = no; then
15927 case "$host_cpu" in
15929 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15930 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15931 hardcode_libdir_separator_GCJ=:
15932 hardcode_direct_GCJ=no
15933 hardcode_shlibpath_var_GCJ=no
15936 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15937 hardcode_direct_GCJ=no
15938 hardcode_shlibpath_var_GCJ=no
15940 # hardcode_minus_L: Not really in the search PATH,
15941 # but as the default location of the library.
15942 hardcode_minus_L_GCJ=yes
15945 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15946 hardcode_libdir_separator_GCJ=:
15947 hardcode_direct_GCJ=yes
15948 export_dynamic_flag_spec_GCJ='${wl}-E'
15950 # hardcode_minus_L: Not really in the search PATH,
15951 # but as the default location of the library.
15952 hardcode_minus_L_GCJ=yes
15958 irix5* | irix6* | nonstopux*)
15959 if test "$GCC" = yes; then
15960 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'
15962 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'
15963 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15965 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15966 hardcode_libdir_separator_GCJ=:
15967 link_all_deplibs_GCJ=yes
15971 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15972 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15974 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15976 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15977 hardcode_direct_GCJ=yes
15978 hardcode_shlibpath_var_GCJ=no
15982 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15983 hardcode_direct_GCJ=yes
15984 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15985 hardcode_libdir_separator_GCJ=:
15986 hardcode_shlibpath_var_GCJ=no
15990 hardcode_direct_GCJ=yes
15991 hardcode_shlibpath_var_GCJ=no
15992 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15993 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15994 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15995 export_dynamic_flag_spec_GCJ='${wl}-E'
15998 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15999 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16000 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16003 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16004 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16011 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16012 hardcode_minus_L_GCJ=yes
16013 allow_undefined_flag_GCJ=unsupported
16014 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'
16015 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16019 if test "$GCC" = yes; then
16020 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16021 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'
16023 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16024 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'
16026 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16027 hardcode_libdir_separator_GCJ=:
16030 osf4* | osf5*) # as osf3* with the addition of -msym flag
16031 if test "$GCC" = yes; then
16032 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16033 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'
16034 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16036 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16037 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'
16038 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~
16039 $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'
16041 # Both c and cxx compiler support -rpath directly
16042 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16044 hardcode_libdir_separator_GCJ=:
16048 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16049 hardcode_shlibpath_var_GCJ=no
16050 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16051 runpath_var=LD_RUN_PATH
16052 hardcode_runpath_var=yes
16056 no_undefined_flag_GCJ=' -z text'
16057 if test "$GCC" = yes; then
16058 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16059 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16060 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16062 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16063 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16064 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16066 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16067 hardcode_shlibpath_var_GCJ=no
16069 solaris2.[0-5] | solaris2.[0-5].*) ;;
16070 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16071 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16073 link_all_deplibs_GCJ=yes
16077 if test "x$host_vendor" = xsequent; then
16078 # Use $CC to link under sequent, because it throws in some extra .o
16079 # files that make .init and .fini sections work.
16080 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16082 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16084 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16085 hardcode_direct_GCJ=yes
16086 hardcode_minus_L_GCJ=yes
16087 hardcode_shlibpath_var_GCJ=no
16091 case $host_vendor in
16093 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16094 hardcode_direct_GCJ=yes # is this really true???
16097 ## LD is ld it makes a PLAMLIB
16098 ## CC just makes a GrossModule.
16099 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16100 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16101 hardcode_direct_GCJ=no
16104 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16105 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16108 runpath_var='LD_RUN_PATH'
16109 hardcode_shlibpath_var_GCJ=no
16113 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16114 hardcode_shlibpath_var_GCJ=no
16115 export_dynamic_flag_spec_GCJ='-Bexport'
16119 if test -d /usr/nec; then
16120 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16121 hardcode_shlibpath_var_GCJ=no
16122 runpath_var=LD_RUN_PATH
16123 hardcode_runpath_var=yes
16129 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16130 hardcode_direct_GCJ=yes
16131 hardcode_minus_L_GCJ=no
16132 hardcode_shlibpath_var_GCJ=no
16133 hardcode_runpath_var=yes
16134 runpath_var=LD_RUN_PATH
16137 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16138 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16139 if test "$GCC" = yes; then
16140 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16142 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16144 runpath_var='LD_RUN_PATH'
16145 hardcode_shlibpath_var_GCJ=no
16149 no_undefined_flag_GCJ=' -z text'
16150 # $CC -shared without GNU ld will not create a library from C++
16151 # object files and a static libstdc++, better avoid it by now
16152 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16153 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16154 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16155 hardcode_libdir_flag_spec_GCJ=
16156 hardcode_shlibpath_var_GCJ=no
16157 runpath_var='LD_RUN_PATH'
16161 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16162 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16163 hardcode_shlibpath_var_GCJ=no
16172 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16173 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16174 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16176 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16177 if test "$GCC" = yes; then
16178 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16182 # Do we need to explicitly link libc?
16184 case "x$archive_cmds_need_lc_GCJ" in
16186 # Assume -lc should be added
16187 archive_cmds_need_lc_GCJ=yes
16189 if test "$enable_shared" = yes && test "$GCC" = yes; then
16190 case $archive_cmds_GCJ in
16192 # FIXME: we may have to deal with multi-command sequences.
16195 # Test whether the compiler implicitly links with -lc since on some
16196 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16197 # to ld, don't add -lc before -lgcc.
16198 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16199 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16201 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16204 (eval $ac_compile) 2>&5
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); } 2>conftest.err; then
16210 libobjs=conftest.$ac_objext
16212 wl=$lt_prog_compiler_wl_GCJ
16218 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16219 allow_undefined_flag_GCJ=
16220 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16221 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }
16226 archive_cmds_need_lc_GCJ=no
16228 archive_cmds_need_lc_GCJ=yes
16230 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16232 cat conftest.err 1>&5
16235 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16236 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16243 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16244 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16245 hardcode_action_GCJ=
16246 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16247 test -n "$runpath_var GCJ" || \
16248 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16250 # We can hardcode non-existant directories.
16251 if test "$hardcode_direct_GCJ" != no &&
16252 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16253 # have to relink, otherwise we might link with an installed library
16254 # when we should be linking with a yet-to-be-installed one
16255 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16256 test "$hardcode_minus_L_GCJ" != no; then
16257 # Linking always hardcodes the temporary library directory.
16258 hardcode_action_GCJ=relink
16260 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16261 hardcode_action_GCJ=immediate
16264 # We cannot hardcode anything, or else we can only hardcode existing
16266 hardcode_action_GCJ=unsupported
16268 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16269 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16271 if test "$hardcode_action_GCJ" = relink; then
16272 # Fast installation is not supported
16273 enable_fast_install=no
16274 elif test "$shlibpath_overrides_runpath" = yes ||
16275 test "$enable_shared" = no; then
16276 # Fast installation is not necessary
16277 enable_fast_install=needless
16282 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16283 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16284 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16285 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16286 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16287 echo "$as_me:$LINENO: result: yes" >&5
16288 echo "${ECHO_T}yes" >&6
16290 # FIXME - insert some real tests, host_os isn't really good enough
16293 if test -n "$STRIP" ; then
16294 striplib="$STRIP -x"
16295 echo "$as_me:$LINENO: result: yes" >&5
16296 echo "${ECHO_T}yes" >&6
16298 echo "$as_me:$LINENO: result: no" >&5
16299 echo "${ECHO_T}no" >&6
16303 echo "$as_me:$LINENO: result: no" >&5
16304 echo "${ECHO_T}no" >&6
16309 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16310 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16311 library_names_spec=
16312 libname_spec='lib$name'
16316 postuninstall_cmds=
16320 shlibpath_overrides_runpath=unknown
16322 dynamic_linker="$host_os ld.so"
16323 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16324 if test "$GCC" = yes; then
16325 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16326 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16327 # if the path contains ";" then we assume it to be the separator
16328 # otherwise default to the standard path separator (i.e. ":") - it is
16329 # assumed that no part of a normal pathname contains ";" but that should
16330 # okay in the real world where ";" in dirpaths is itself problematic.
16331 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16333 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16336 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16338 need_lib_prefix=unknown
16339 hardcode_into_libs=no
16341 # when you set need_version to no, make sure it does not cause -set_version
16342 # flags to be left without arguments
16343 need_version=unknown
16348 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16349 shlibpath_var=LIBPATH
16351 # AIX 3 has no versioning support, so we append a major version to the name.
16352 soname_spec='${libname}${release}${shared_ext}$major'
16359 hardcode_into_libs=yes
16360 if test "$host_cpu" = ia64; then
16361 # AIX 5 supports IA64
16362 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16363 shlibpath_var=LD_LIBRARY_PATH
16365 # With GCC up to 2.95.x, collect2 would create an import file
16366 # for dependence libraries. The import file would start with
16367 # the line `#! .'. This would cause the generated library to
16368 # depend on `.', always an invalid library. This was fixed in
16369 # development snapshots of GCC prior to 3.0.
16371 aix4 | aix4.[01] | aix4.[01].*)
16372 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16374 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16377 can_build_shared=no
16381 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16382 # soname into executable. Probably we can add versioning support to
16383 # collect2, so additional links can be useful in future.
16384 if test "$aix_use_runtimelinking" = yes; then
16385 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16386 # instead of lib<name>.a to let people know that these are not
16387 # typical AIX shared libraries.
16388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16390 # We preserve .a as extension for shared libraries through AIX4.2
16391 # and later when we are not doing run time linking.
16392 library_names_spec='${libname}${release}.a $libname.a'
16393 soname_spec='${libname}${release}${shared_ext}$major'
16395 shlibpath_var=LIBPATH
16400 library_names_spec='$libname.ixlibrary $libname.a'
16401 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16402 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'
16406 library_names_spec='${libname}${shared_ext}'
16407 dynamic_linker="$host_os ld.so"
16408 shlibpath_var=LIBRARY_PATH
16414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16415 soname_spec='${libname}${release}${shared_ext}$major'
16416 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16417 shlibpath_var=LD_LIBRARY_PATH
16418 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16419 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16420 # the default ld.so.conf also contains /usr/contrib/lib and
16421 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16422 # libtool to hard-code these into programs
16425 cygwin* | mingw* | pw32*)
16426 version_type=windows
16431 case $GCC,$host_os in
16432 yes,cygwin* | yes,mingw* | yes,pw32*)
16433 library_names_spec='$libname.dll.a'
16434 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16435 postinstall_cmds='base_file=`basename \${file}`~
16436 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16437 dldir=$destdir/`dirname \$dlpath`~
16438 test -d \$dldir || mkdir -p \$dldir~
16439 $install_prog $dir/$dlname \$dldir/$dlname'
16440 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16441 dlpath=$dir/\$dldll~
16443 shlibpath_overrides_runpath=yes
16447 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16448 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16449 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16452 # MinGW DLLs use traditional 'lib' prefix
16453 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16454 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16455 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16456 # It is most probably a Windows format PATH printed by
16457 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16458 # path with ; separators, and with drive letters. We can handle the
16459 # drive letters (cygwin fileutils understands them), so leave them,
16460 # especially as we might pass files found there to a mingw objdump,
16461 # which wouldn't understand a cygwinified path. Ahh.
16462 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16464 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16468 # pw32 DLLs use 'pw' prefix rather than 'lib'
16469 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16475 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16478 dynamic_linker='Win32 ld.exe'
16479 # FIXME: first we should search . and the directory the executable is in
16483 darwin* | rhapsody*)
16484 dynamic_linker="$host_os dyld"
16485 version_type=darwin
16488 # FIXME: Relying on posixy $() will cause problems for
16489 # cross-compilation, but unfortunately the echo tests do not
16490 # yet detect zsh echo's removal of \ escapes.
16491 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16492 soname_spec='${libname}${release}${major}$shared_ext'
16493 shlibpath_overrides_runpath=yes
16494 shlibpath_var=DYLD_LIBRARY_PATH
16495 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16496 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16497 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16498 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"`
16500 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16508 soname_spec='${libname}${release}${shared_ext}$major'
16509 shlibpath_var=LD_LIBRARY_PATH
16517 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16518 version_type=freebsd-$objformat
16519 case $version_type in
16521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16526 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16530 shlibpath_var=LD_LIBRARY_PATH
16533 shlibpath_overrides_runpath=yes
16535 freebsd3.01* | freebsdelf3.01*)
16536 shlibpath_overrides_runpath=yes
16537 hardcode_into_libs=yes
16540 shlibpath_overrides_runpath=no
16541 hardcode_into_libs=yes
16550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16551 soname_spec='${libname}${release}${shared_ext}$major'
16552 shlibpath_var=LD_LIBRARY_PATH
16553 hardcode_into_libs=yes
16556 hpux9* | hpux10* | hpux11*)
16557 # Give a soname corresponding to the major version so that dld.sl refuses to
16558 # link against other versions.
16562 case "$host_cpu" in
16565 hardcode_into_libs=yes
16566 dynamic_linker="$host_os dld.so"
16567 shlibpath_var=LD_LIBRARY_PATH
16568 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16570 soname_spec='${libname}${release}${shared_ext}$major'
16571 if test "X$HPUX_IA64_MODE" = X32; then
16572 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16574 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16576 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16580 hardcode_into_libs=yes
16581 dynamic_linker="$host_os dld.sl"
16582 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16587 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16591 dynamic_linker="$host_os dld.sl"
16592 shlibpath_var=SHLIB_PATH
16593 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16595 soname_spec='${libname}${release}${shared_ext}$major'
16598 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16599 postinstall_cmds='chmod 555 $lib'
16602 irix5* | irix6* | nonstopux*)
16604 nonstopux*) version_type=nonstopux ;;
16606 if test "$lt_cv_prog_gnu_ld" = yes; then
16614 soname_spec='${libname}${release}${shared_ext}$major'
16615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16617 irix5* | nonstopux*)
16618 libsuff= shlibsuff=
16621 case $LD in # libtool.m4 will add one of these switches to LD
16622 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16623 libsuff= shlibsuff= libmagic=32-bit;;
16624 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16625 libsuff=32 shlibsuff=N32 libmagic=N32;;
16626 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16627 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16628 *) libsuff= shlibsuff= libmagic=never-match;;
16632 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16633 shlibpath_overrides_runpath=no
16634 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16635 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16636 hardcode_into_libs=yes
16639 # No shared lib support for Linux oldld, aout, or coff.
16640 linux*oldld* | linux*aout* | linux*coff*)
16644 # This must be Linux ELF.
16649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16650 soname_spec='${libname}${release}${shared_ext}$major'
16651 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16652 shlibpath_var=LD_LIBRARY_PATH
16653 shlibpath_overrides_runpath=no
16654 # This implies no fast_install, which is unacceptable.
16655 # Some rework will be needed to allow for fast_install
16656 # before this can be enabled.
16657 hardcode_into_libs=yes
16659 # We used to test for /lib/ld.so.1 and disable shared libraries on
16660 # powerpc, because MkLinux only supported shared libraries with the
16661 # GNU dynamic linker. Since this was broken with cross compilers,
16662 # most powerpc-linux boxes support dynamic linking these days and
16663 # people can always --disable-shared, the test was removed, and we
16664 # assume the GNU/Linux dynamic linker is in use.
16665 dynamic_linker='GNU/Linux ld.so'
16672 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16674 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16675 dynamic_linker='NetBSD (a.out) ld.so'
16677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16678 soname_spec='${libname}${release}${shared_ext}$major'
16679 dynamic_linker='NetBSD ld.elf_so'
16681 shlibpath_var=LD_LIBRARY_PATH
16682 shlibpath_overrides_runpath=yes
16683 hardcode_into_libs=yes
16688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16689 shlibpath_var=LD_LIBRARY_PATH
16690 shlibpath_overrides_runpath=yes
16697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16698 soname_spec='${libname}${release}${shared_ext}$major'
16699 shlibpath_var=LD_LIBRARY_PATH
16700 shlibpath_overrides_runpath=yes
16707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16709 shlibpath_var=LD_LIBRARY_PATH
16710 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16712 openbsd2.[89] | openbsd2.[89].*)
16713 shlibpath_overrides_runpath=no
16716 shlibpath_overrides_runpath=yes
16720 shlibpath_overrides_runpath=yes
16725 libname_spec='$name'
16728 library_names_spec='$libname${shared_ext} $libname.a'
16729 dynamic_linker='OS/2 ld.exe'
16730 shlibpath_var=LIBPATH
16733 osf3* | osf4* | osf5*)
16737 soname_spec='${libname}${release}${shared_ext}$major'
16738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16739 shlibpath_var=LD_LIBRARY_PATH
16740 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16741 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16746 soname_spec='${libname}${release}${shared_ext}$major'
16747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16748 shlibpath_var=LD_LIBRARY_PATH
16755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16756 soname_spec='${libname}${release}${shared_ext}$major'
16757 shlibpath_var=LD_LIBRARY_PATH
16758 shlibpath_overrides_runpath=yes
16759 hardcode_into_libs=yes
16760 # ldd complains unless libraries are executable
16761 postinstall_cmds='chmod +x $lib'
16766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16767 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16768 shlibpath_var=LD_LIBRARY_PATH
16769 shlibpath_overrides_runpath=yes
16770 if test "$with_gnu_ld" = yes; then
16776 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16779 soname_spec='${libname}${release}${shared_ext}$major'
16780 shlibpath_var=LD_LIBRARY_PATH
16781 case $host_vendor in
16783 shlibpath_overrides_runpath=no
16785 export_dynamic_flag_spec='${wl}-Blargedynsym'
16786 runpath_var=LD_RUN_PATH
16794 shlibpath_overrides_runpath=no
16795 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16801 if test -d /usr/nec ;then
16803 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16804 soname_spec='$libname${shared_ext}.$major'
16805 shlibpath_var=LD_LIBRARY_PATH
16811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16812 soname_spec='${libname}${release}${shared_ext}$major'
16813 shlibpath_var=LD_LIBRARY_PATH
16820 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16821 echo "${ECHO_T}$dynamic_linker" >&6
16822 test "$dynamic_linker" = no && can_build_shared=no
16824 if test "x$enable_dlopen" != xyes; then
16825 enable_dlopen=unknown
16826 enable_dlopen_self=unknown
16827 enable_dlopen_self_static=unknown
16834 lt_cv_dlopen="load_add_on"
16836 lt_cv_dlopen_self=yes
16840 lt_cv_dlopen="LoadLibrary"
16845 lt_cv_dlopen="dlopen"
16850 # if libdl is installed we need to link against it
16851 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16852 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16853 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16854 echo $ECHO_N "(cached) $ECHO_C" >&6
16856 ac_check_lib_save_LIBS=$LIBS
16858 cat >conftest.$ac_ext <<_ACEOF
16859 #line $LINENO "configure"
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16866 /* Override any gcc2 internal prototype to avoid an error. */
16870 /* We use char because int might match the return type of a gcc2
16871 builtin and then its argument prototype would still apply. */
16881 rm -f conftest.$ac_objext conftest$ac_exeext
16882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16883 (eval $ac_link) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); } &&
16887 { ac_try='test -s conftest$ac_exeext'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; }; then
16893 ac_cv_lib_dl_dlopen=yes
16895 echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.$ac_ext >&5
16898 ac_cv_lib_dl_dlopen=no
16900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16901 LIBS=$ac_check_lib_save_LIBS
16903 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16904 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16905 if test $ac_cv_lib_dl_dlopen = yes; then
16906 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16909 lt_cv_dlopen="dyld"
16911 lt_cv_dlopen_self=yes
16918 echo "$as_me:$LINENO: checking for shl_load" >&5
16919 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16920 if test "${ac_cv_func_shl_load+set}" = set; then
16921 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 cat >conftest.$ac_ext <<_ACEOF
16924 #line $LINENO "configure"
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 /* System header to define __stub macros and hopefully few prototypes,
16931 which can conflict with char shl_load (); below.
16932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16933 <limits.h> exists even on freestanding compilers. */
16935 # include <limits.h>
16937 # include <assert.h>
16939 /* Override any gcc2 internal prototype to avoid an error. */
16944 /* We use char because int might match the return type of a gcc2
16945 builtin and then its argument prototype would still apply. */
16947 /* The GNU C library defines this for functions which it implements
16948 to always fail with ENOSYS. Some functions are actually named
16949 something starting with __ and the normal name is an alias. */
16950 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16953 char (*f) () = shl_load;
16962 return f != shl_load;
16967 rm -f conftest.$ac_objext conftest$ac_exeext
16968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16969 (eval $ac_link) 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } &&
16973 { ac_try='test -s conftest$ac_exeext'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; }; then
16979 ac_cv_func_shl_load=yes
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.$ac_ext >&5
16984 ac_cv_func_shl_load=no
16986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16988 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16989 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16990 if test $ac_cv_func_shl_load = yes; then
16991 lt_cv_dlopen="shl_load"
16993 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16994 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16995 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16996 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 ac_check_lib_save_LIBS=$LIBS
17000 cat >conftest.$ac_ext <<_ACEOF
17001 #line $LINENO "configure"
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17008 /* Override any gcc2 internal prototype to avoid an error. */
17012 /* We use char because int might match the return type of a gcc2
17013 builtin and then its argument prototype would still apply. */
17023 rm -f conftest.$ac_objext conftest$ac_exeext
17024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17025 (eval $ac_link) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } &&
17029 { ac_try='test -s conftest$ac_exeext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 ac_cv_lib_dld_shl_load=yes
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17040 ac_cv_lib_dld_shl_load=no
17042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17043 LIBS=$ac_check_lib_save_LIBS
17045 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17046 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17047 if test $ac_cv_lib_dld_shl_load = yes; then
17048 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17050 echo "$as_me:$LINENO: checking for dlopen" >&5
17051 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17052 if test "${ac_cv_func_dlopen+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 cat >conftest.$ac_ext <<_ACEOF
17056 #line $LINENO "configure"
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 /* System header to define __stub macros and hopefully few prototypes,
17063 which can conflict with char dlopen (); below.
17064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17065 <limits.h> exists even on freestanding compilers. */
17067 # include <limits.h>
17069 # include <assert.h>
17071 /* Override any gcc2 internal prototype to avoid an error. */
17076 /* We use char because int might match the return type of a gcc2
17077 builtin and then its argument prototype would still apply. */
17079 /* The GNU C library defines this for functions which it implements
17080 to always fail with ENOSYS. Some functions are actually named
17081 something starting with __ and the normal name is an alias. */
17082 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17085 char (*f) () = dlopen;
17094 return f != dlopen;
17099 rm -f conftest.$ac_objext conftest$ac_exeext
17100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17101 (eval $ac_link) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } &&
17105 { ac_try='test -s conftest$ac_exeext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 ac_cv_func_dlopen=yes
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17116 ac_cv_func_dlopen=no
17118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17120 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17121 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17122 if test $ac_cv_func_dlopen = yes; then
17123 lt_cv_dlopen="dlopen"
17125 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17126 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17127 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 ac_check_lib_save_LIBS=$LIBS
17132 cat >conftest.$ac_ext <<_ACEOF
17133 #line $LINENO "configure"
17136 cat confdefs.h >>conftest.$ac_ext
17137 cat >>conftest.$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17140 /* Override any gcc2 internal prototype to avoid an error. */
17144 /* We use char because int might match the return type of a gcc2
17145 builtin and then its argument prototype would still apply. */
17155 rm -f conftest.$ac_objext conftest$ac_exeext
17156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17157 (eval $ac_link) 2>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try='test -s conftest$ac_exeext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 ac_cv_lib_dl_dlopen=yes
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5
17172 ac_cv_lib_dl_dlopen=no
17174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17175 LIBS=$ac_check_lib_save_LIBS
17177 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17178 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17179 if test $ac_cv_lib_dl_dlopen = yes; then
17180 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17182 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17183 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17184 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 ac_check_lib_save_LIBS=$LIBS
17188 LIBS="-lsvld $LIBS"
17189 cat >conftest.$ac_ext <<_ACEOF
17190 #line $LINENO "configure"
17193 cat confdefs.h >>conftest.$ac_ext
17194 cat >>conftest.$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17197 /* Override any gcc2 internal prototype to avoid an error. */
17201 /* We use char because int might match the return type of a gcc2
17202 builtin and then its argument prototype would still apply. */
17212 rm -f conftest.$ac_objext conftest$ac_exeext
17213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17214 (eval $ac_link) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try='test -s conftest$ac_exeext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_cv_lib_svld_dlopen=yes
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 ac_cv_lib_svld_dlopen=no
17231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17232 LIBS=$ac_check_lib_save_LIBS
17234 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17235 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17236 if test $ac_cv_lib_svld_dlopen = yes; then
17237 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17239 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17240 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17241 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17242 echo $ECHO_N "(cached) $ECHO_C" >&6
17244 ac_check_lib_save_LIBS=$LIBS
17246 cat >conftest.$ac_ext <<_ACEOF
17247 #line $LINENO "configure"
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17254 /* Override any gcc2 internal prototype to avoid an error. */
17258 /* We use char because int might match the return type of a gcc2
17259 builtin and then its argument prototype would still apply. */
17269 rm -f conftest.$ac_objext conftest$ac_exeext
17270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17271 (eval $ac_link) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try='test -s conftest$ac_exeext'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; }; then
17281 ac_cv_lib_dld_dld_link=yes
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17286 ac_cv_lib_dld_dld_link=no
17288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17289 LIBS=$ac_check_lib_save_LIBS
17291 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17292 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17293 if test $ac_cv_lib_dld_dld_link = yes; then
17294 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17315 if test "x$lt_cv_dlopen" != xno; then
17321 case $lt_cv_dlopen in
17323 save_CPPFLAGS="$CPPFLAGS"
17324 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17326 save_LDFLAGS="$LDFLAGS"
17327 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17330 LIBS="$lt_cv_dlopen_libs $LIBS"
17332 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17333 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17334 if test "${lt_cv_dlopen_self+set}" = set; then
17335 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 if test "$cross_compiling" = yes; then :
17338 lt_cv_dlopen_self=cross
17340 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17341 lt_status=$lt_dlunknown
17342 cat > conftest.$ac_ext <<EOF
17343 #line 17343 "configure"
17344 #include "confdefs.h"
17353 # define LT_DLGLOBAL RTLD_GLOBAL
17356 # define LT_DLGLOBAL DL_GLOBAL
17358 # define LT_DLGLOBAL 0
17362 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17363 find out it does not work in some platform. */
17364 #ifndef LT_DLLAZY_OR_NOW
17366 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17369 # define LT_DLLAZY_OR_NOW DL_LAZY
17372 # define LT_DLLAZY_OR_NOW RTLD_NOW
17375 # define LT_DLLAZY_OR_NOW DL_NOW
17377 # define LT_DLLAZY_OR_NOW 0
17385 extern "C" void exit (int);
17388 void fnord() { int i=42;}
17391 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17392 int status = $lt_dlunknown;
17396 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17397 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17398 /* dlclose (self); */
17404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17405 (eval $ac_link) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17409 (./conftest; exit; ) 2>/dev/null
17411 case x$lt_status in
17412 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17413 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17414 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17417 # compilation failed
17418 lt_cv_dlopen_self=no
17425 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17426 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17428 if test "x$lt_cv_dlopen_self" = xyes; then
17429 LDFLAGS="$LDFLAGS $link_static_flag"
17430 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17431 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17432 if test "${lt_cv_dlopen_self_static+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17435 if test "$cross_compiling" = yes; then :
17436 lt_cv_dlopen_self_static=cross
17438 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17439 lt_status=$lt_dlunknown
17440 cat > conftest.$ac_ext <<EOF
17441 #line 17441 "configure"
17442 #include "confdefs.h"
17451 # define LT_DLGLOBAL RTLD_GLOBAL
17454 # define LT_DLGLOBAL DL_GLOBAL
17456 # define LT_DLGLOBAL 0
17460 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17461 find out it does not work in some platform. */
17462 #ifndef LT_DLLAZY_OR_NOW
17464 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17467 # define LT_DLLAZY_OR_NOW DL_LAZY
17470 # define LT_DLLAZY_OR_NOW RTLD_NOW
17473 # define LT_DLLAZY_OR_NOW DL_NOW
17475 # define LT_DLLAZY_OR_NOW 0
17483 extern "C" void exit (int);
17486 void fnord() { int i=42;}
17489 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17490 int status = $lt_dlunknown;
17494 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17495 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17496 /* dlclose (self); */
17502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17503 (eval $ac_link) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17507 (./conftest; exit; ) 2>/dev/null
17509 case x$lt_status in
17510 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17511 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17512 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17515 # compilation failed
17516 lt_cv_dlopen_self_static=no
17523 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17524 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17527 CPPFLAGS="$save_CPPFLAGS"
17528 LDFLAGS="$save_LDFLAGS"
17533 case $lt_cv_dlopen_self in
17534 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17535 *) enable_dlopen_self=unknown ;;
17538 case $lt_cv_dlopen_self_static in
17539 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17540 *) enable_dlopen_self_static=unknown ;;
17545 # The else clause should only fire when bootstrapping the
17546 # libtool distribution, otherwise you forgot to ship ltmain.sh
17547 # with your package, and you will get complaints that there are
17548 # no rules to generate ltmain.sh.
17549 if test -f "$ltmain"; then
17550 # See if we are running on zsh, and set the options which allow our commands through
17551 # without removal of \ escapes.
17552 if test -n "${ZSH_VERSION+set}" ; then
17553 setopt NO_GLOB_SUBST
17555 # Now quote all the things that may contain metacharacters while being
17556 # careful not to overquote the AC_SUBSTed values. We take copies of the
17557 # variables and quote the copies for generation of the libtool script.
17558 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17559 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17560 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17561 deplibs_check_method reload_flag reload_cmds need_locks \
17562 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17563 lt_cv_sys_global_symbol_to_c_name_address \
17564 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17565 old_postinstall_cmds old_postuninstall_cmds \
17569 lt_prog_compiler_wl_GCJ \
17570 lt_prog_compiler_pic_GCJ \
17571 lt_prog_compiler_static_GCJ \
17572 lt_prog_compiler_no_builtin_flag_GCJ \
17573 export_dynamic_flag_spec_GCJ \
17574 thread_safe_flag_spec_GCJ \
17575 whole_archive_flag_spec_GCJ \
17576 enable_shared_with_static_runtimes_GCJ \
17577 old_archive_cmds_GCJ \
17578 old_archive_from_new_cmds_GCJ \
17579 predep_objects_GCJ \
17580 postdep_objects_GCJ \
17583 compiler_lib_search_path_GCJ \
17585 archive_expsym_cmds_GCJ \
17586 postinstall_cmds_GCJ \
17587 postuninstall_cmds_GCJ \
17588 old_archive_from_expsyms_cmds_GCJ \
17589 allow_undefined_flag_GCJ \
17590 no_undefined_flag_GCJ \
17591 export_symbols_cmds_GCJ \
17592 hardcode_libdir_flag_spec_GCJ \
17593 hardcode_libdir_flag_spec_ld_GCJ \
17594 hardcode_libdir_separator_GCJ \
17595 hardcode_automatic_GCJ \
17597 module_expsym_cmds_GCJ \
17598 lt_cv_prog_compiler_c_o_GCJ \
17599 exclude_expsyms_GCJ \
17600 include_expsyms_GCJ; do
17603 old_archive_cmds_GCJ | \
17604 old_archive_from_new_cmds_GCJ | \
17605 archive_cmds_GCJ | \
17606 archive_expsym_cmds_GCJ | \
17607 module_cmds_GCJ | \
17608 module_expsym_cmds_GCJ | \
17609 old_archive_from_expsyms_cmds_GCJ | \
17610 export_symbols_cmds_GCJ | \
17611 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17612 postinstall_cmds | postuninstall_cmds | \
17613 old_postinstall_cmds | old_postuninstall_cmds | \
17614 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17615 # Double-quote double-evaled strings.
17616 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17619 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17625 *'\$0 --fallback-echo"')
17626 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17632 cat <<__EOF__ >> "$cfgfile"
17633 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17635 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17637 # Shell to use when invoking shell scripts.
17640 # Whether or not to build shared libraries.
17641 build_libtool_libs=$enable_shared
17643 # Whether or not to build static libraries.
17644 build_old_libs=$enable_static
17646 # Whether or not to add -lc for building shared libraries.
17647 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17649 # Whether or not to disallow shared libs when runtime libs are static
17650 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17652 # Whether or not to optimize for fast installation.
17653 fast_install=$enable_fast_install
17656 host_alias=$host_alias
17659 # An echo program that does not interpret backslashes.
17664 AR_FLAGS=$lt_AR_FLAGS
17669 # A language-specific compiler.
17670 CC=$lt_compiler_GCJ
17672 # Is the compiler the GNU C compiler?
17678 # The linker used to build libraries.
17681 # Whether we need hard or soft links.
17684 # A BSD-compatible nm program.
17687 # A symbol stripping program
17690 # Used to examine libraries when file_magic_cmd begins "file"
17691 MAGIC_CMD=$MAGIC_CMD
17693 # Used on cygwin: DLL creation program.
17696 # Used on cygwin: object dumper.
17699 # Used on cygwin: assembler.
17702 # The name of the directory that contains temporary libtool files.
17705 # How to create reloadable object files.
17706 reload_flag=$lt_reload_flag
17707 reload_cmds=$lt_reload_cmds
17709 # How to pass a linker flag through the compiler.
17710 wl=$lt_lt_prog_compiler_wl_GCJ
17712 # Object file suffix (normally "o").
17713 objext="$ac_objext"
17715 # Old archive suffix (normally "a").
17718 # Shared library suffix (normally ".so").
17721 # Executable file suffix (normally "").
17724 # Additional compiler flags for building library objects.
17725 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17728 # What is the maximum length of a command?
17729 max_cmd_len=$lt_cv_sys_max_cmd_len
17731 # Does compiler simultaneously support -c and -o options?
17732 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17734 # Must we lock files when doing compilation ?
17735 need_locks=$lt_need_locks
17737 # Do we need the lib prefix for modules?
17738 need_lib_prefix=$need_lib_prefix
17740 # Do we need a version for libraries?
17741 need_version=$need_version
17743 # Whether dlopen is supported.
17744 dlopen_support=$enable_dlopen
17746 # Whether dlopen of programs is supported.
17747 dlopen_self=$enable_dlopen_self
17749 # Whether dlopen of statically linked programs is supported.
17750 dlopen_self_static=$enable_dlopen_self_static
17752 # Compiler flag to prevent dynamic linking.
17753 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17755 # Compiler flag to turn off builtin functions.
17756 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17758 # Compiler flag to allow reflexive dlopens.
17759 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17761 # Compiler flag to generate shared objects directly from archives.
17762 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17764 # Compiler flag to generate thread-safe objects.
17765 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17767 # Library versioning type.
17768 version_type=$version_type
17770 # Format of library name prefix.
17771 libname_spec=$lt_libname_spec
17773 # List of archive names. First name is the real one, the rest are links.
17774 # The last name is the one that the linker finds with -lNAME.
17775 library_names_spec=$lt_library_names_spec
17777 # The coded name of the library, if different from the real name.
17778 soname_spec=$lt_soname_spec
17780 # Commands used to build and install an old-style archive.
17782 old_archive_cmds=$lt_old_archive_cmds_GCJ
17783 old_postinstall_cmds=$lt_old_postinstall_cmds
17784 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17786 # Create an old-style archive from a shared archive.
17787 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17789 # Create a temporary old-style archive to link instead of a shared archive.
17790 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17792 # Commands used to build and install a shared archive.
17793 archive_cmds=$lt_archive_cmds_GCJ
17794 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17795 postinstall_cmds=$lt_postinstall_cmds
17796 postuninstall_cmds=$lt_postuninstall_cmds
17798 # Commands used to build a loadable module (assumed same as above if empty)
17799 module_cmds=$lt_module_cmds_GCJ
17800 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17802 # Commands to strip libraries.
17803 old_striplib=$lt_old_striplib
17804 striplib=$lt_striplib
17806 # Dependencies to place before the objects being linked to create a
17808 predep_objects=$lt_predep_objects_GCJ
17810 # Dependencies to place after the objects being linked to create a
17812 postdep_objects=$lt_postdep_objects_GCJ
17814 # Dependencies to place before the objects being linked to create a
17816 predeps=$lt_predeps_GCJ
17818 # Dependencies to place after the objects being linked to create a
17820 postdeps=$lt_postdeps_GCJ
17822 # The library search path used internally by the compiler when linking
17823 # a shared library.
17824 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17826 # Method to check whether dependent libraries are shared objects.
17827 deplibs_check_method=$lt_deplibs_check_method
17829 # Command to use when deplibs_check_method == file_magic.
17830 file_magic_cmd=$lt_file_magic_cmd
17832 # Flag that allows shared libraries with undefined symbols to be built.
17833 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17835 # Flag that forces no undefined symbols.
17836 no_undefined_flag=$lt_no_undefined_flag_GCJ
17838 # Commands used to finish a libtool library installation in a directory.
17839 finish_cmds=$lt_finish_cmds
17841 # Same as above, but a single script fragment to be evaled but not shown.
17842 finish_eval=$lt_finish_eval
17844 # Take the output of nm and produce a listing of raw symbols and C names.
17845 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17847 # Transform the output of nm in a proper C declaration
17848 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17850 # Transform the output of nm in a C name address pair
17851 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17853 # This is the shared library runtime path variable.
17854 runpath_var=$runpath_var
17856 # This is the shared library path variable.
17857 shlibpath_var=$shlibpath_var
17859 # Is shlibpath searched before the hard-coded library search path?
17860 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17862 # How to hardcode a shared library path into an executable.
17863 hardcode_action=$hardcode_action_GCJ
17865 # Whether we should hardcode library paths into libraries.
17866 hardcode_into_libs=$hardcode_into_libs
17868 # Flag to hardcode \$libdir into a binary during linking.
17869 # This must work even if \$libdir does not exist.
17870 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17872 # If ld is used when linking, flag to hardcode \$libdir into
17873 # a binary during linking. This must work even if \$libdir does
17875 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17877 # Whether we need a single -rpath flag with a separated argument.
17878 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17880 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17881 # resulting binary.
17882 hardcode_direct=$hardcode_direct_GCJ
17884 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17885 # resulting binary.
17886 hardcode_minus_L=$hardcode_minus_L_GCJ
17888 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17889 # the resulting binary.
17890 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17892 # Set to yes if building a shared library automatically hardcodes DIR into the library
17893 # and all subsequent libraries and executables linked against it.
17894 hardcode_automatic=$hardcode_automatic_GCJ
17896 # Variables whose values should be saved in libtool wrapper scripts and
17897 # restored at relink time.
17898 variables_saved_for_relink="$variables_saved_for_relink"
17900 # Whether libtool must link a program against all its dependency libraries.
17901 link_all_deplibs=$link_all_deplibs_GCJ
17903 # Compile-time system search path for libraries
17904 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17906 # Run-time system search path for libraries
17907 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17909 # Fix the shell variable \$srcfile for the compiler.
17910 fix_srcfile_path="$fix_srcfile_path_GCJ"
17912 # Set to yes if exported symbols are required.
17913 always_export_symbols=$always_export_symbols_GCJ
17915 # The commands to list exported symbols.
17916 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17918 # The commands to extract the exported symbol list from a shared archive.
17919 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17921 # Symbols that should not be listed in the preloaded symbols.
17922 exclude_expsyms=$lt_exclude_expsyms_GCJ
17924 # Symbols that must always be exported.
17925 include_expsyms=$lt_include_expsyms_GCJ
17927 # ### END LIBTOOL TAG CONFIG: $tagname
17933 # If there is no Makefile yet, we rely on a make rule to execute
17934 # `config.status --recheck' to rerun these tests and create the
17935 # libtool script then.
17936 test -f Makefile && make "$ltmain"
17941 ac_cpp='$CPP $CPPFLAGS'
17942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17957 # Source file extension for RC test sources.
17960 # Object file extension for compiled RC test sources.
17964 # Code to be used in simple compile tests
17965 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17967 # Code to be used in simple link tests
17968 lt_simple_link_test_code="$lt_simple_compile_test_code"
17970 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17972 # If no C compiler was specified, use CC.
17975 # Allow CC to be a program name with arguments.
17979 # Allow CC to be a program name with arguments.
17984 lt_cv_prog_compiler_c_o_RC=yes
17986 # The else clause should only fire when bootstrapping the
17987 # libtool distribution, otherwise you forgot to ship ltmain.sh
17988 # with your package, and you will get complaints that there are
17989 # no rules to generate ltmain.sh.
17990 if test -f "$ltmain"; then
17991 # See if we are running on zsh, and set the options which allow our commands through
17992 # without removal of \ escapes.
17993 if test -n "${ZSH_VERSION+set}" ; then
17994 setopt NO_GLOB_SUBST
17996 # Now quote all the things that may contain metacharacters while being
17997 # careful not to overquote the AC_SUBSTed values. We take copies of the
17998 # variables and quote the copies for generation of the libtool script.
17999 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18000 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18001 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18002 deplibs_check_method reload_flag reload_cmds need_locks \
18003 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18004 lt_cv_sys_global_symbol_to_c_name_address \
18005 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18006 old_postinstall_cmds old_postuninstall_cmds \
18010 lt_prog_compiler_wl_RC \
18011 lt_prog_compiler_pic_RC \
18012 lt_prog_compiler_static_RC \
18013 lt_prog_compiler_no_builtin_flag_RC \
18014 export_dynamic_flag_spec_RC \
18015 thread_safe_flag_spec_RC \
18016 whole_archive_flag_spec_RC \
18017 enable_shared_with_static_runtimes_RC \
18018 old_archive_cmds_RC \
18019 old_archive_from_new_cmds_RC \
18020 predep_objects_RC \
18021 postdep_objects_RC \
18024 compiler_lib_search_path_RC \
18026 archive_expsym_cmds_RC \
18027 postinstall_cmds_RC \
18028 postuninstall_cmds_RC \
18029 old_archive_from_expsyms_cmds_RC \
18030 allow_undefined_flag_RC \
18031 no_undefined_flag_RC \
18032 export_symbols_cmds_RC \
18033 hardcode_libdir_flag_spec_RC \
18034 hardcode_libdir_flag_spec_ld_RC \
18035 hardcode_libdir_separator_RC \
18036 hardcode_automatic_RC \
18038 module_expsym_cmds_RC \
18039 lt_cv_prog_compiler_c_o_RC \
18040 exclude_expsyms_RC \
18041 include_expsyms_RC; do
18044 old_archive_cmds_RC | \
18045 old_archive_from_new_cmds_RC | \
18046 archive_cmds_RC | \
18047 archive_expsym_cmds_RC | \
18049 module_expsym_cmds_RC | \
18050 old_archive_from_expsyms_cmds_RC | \
18051 export_symbols_cmds_RC | \
18052 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18053 postinstall_cmds | postuninstall_cmds | \
18054 old_postinstall_cmds | old_postuninstall_cmds | \
18055 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18056 # Double-quote double-evaled strings.
18057 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18060 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18066 *'\$0 --fallback-echo"')
18067 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18073 cat <<__EOF__ >> "$cfgfile"
18074 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18076 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18078 # Shell to use when invoking shell scripts.
18081 # Whether or not to build shared libraries.
18082 build_libtool_libs=$enable_shared
18084 # Whether or not to build static libraries.
18085 build_old_libs=$enable_static
18087 # Whether or not to add -lc for building shared libraries.
18088 build_libtool_need_lc=$archive_cmds_need_lc_RC
18090 # Whether or not to disallow shared libs when runtime libs are static
18091 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18093 # Whether or not to optimize for fast installation.
18094 fast_install=$enable_fast_install
18097 host_alias=$host_alias
18100 # An echo program that does not interpret backslashes.
18105 AR_FLAGS=$lt_AR_FLAGS
18110 # A language-specific compiler.
18113 # Is the compiler the GNU C compiler?
18119 # The linker used to build libraries.
18122 # Whether we need hard or soft links.
18125 # A BSD-compatible nm program.
18128 # A symbol stripping program
18131 # Used to examine libraries when file_magic_cmd begins "file"
18132 MAGIC_CMD=$MAGIC_CMD
18134 # Used on cygwin: DLL creation program.
18137 # Used on cygwin: object dumper.
18140 # Used on cygwin: assembler.
18143 # The name of the directory that contains temporary libtool files.
18146 # How to create reloadable object files.
18147 reload_flag=$lt_reload_flag
18148 reload_cmds=$lt_reload_cmds
18150 # How to pass a linker flag through the compiler.
18151 wl=$lt_lt_prog_compiler_wl_RC
18153 # Object file suffix (normally "o").
18154 objext="$ac_objext"
18156 # Old archive suffix (normally "a").
18159 # Shared library suffix (normally ".so").
18162 # Executable file suffix (normally "").
18165 # Additional compiler flags for building library objects.
18166 pic_flag=$lt_lt_prog_compiler_pic_RC
18169 # What is the maximum length of a command?
18170 max_cmd_len=$lt_cv_sys_max_cmd_len
18172 # Does compiler simultaneously support -c and -o options?
18173 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18175 # Must we lock files when doing compilation ?
18176 need_locks=$lt_need_locks
18178 # Do we need the lib prefix for modules?
18179 need_lib_prefix=$need_lib_prefix
18181 # Do we need a version for libraries?
18182 need_version=$need_version
18184 # Whether dlopen is supported.
18185 dlopen_support=$enable_dlopen
18187 # Whether dlopen of programs is supported.
18188 dlopen_self=$enable_dlopen_self
18190 # Whether dlopen of statically linked programs is supported.
18191 dlopen_self_static=$enable_dlopen_self_static
18193 # Compiler flag to prevent dynamic linking.
18194 link_static_flag=$lt_lt_prog_compiler_static_RC
18196 # Compiler flag to turn off builtin functions.
18197 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18199 # Compiler flag to allow reflexive dlopens.
18200 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18202 # Compiler flag to generate shared objects directly from archives.
18203 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18205 # Compiler flag to generate thread-safe objects.
18206 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18208 # Library versioning type.
18209 version_type=$version_type
18211 # Format of library name prefix.
18212 libname_spec=$lt_libname_spec
18214 # List of archive names. First name is the real one, the rest are links.
18215 # The last name is the one that the linker finds with -lNAME.
18216 library_names_spec=$lt_library_names_spec
18218 # The coded name of the library, if different from the real name.
18219 soname_spec=$lt_soname_spec
18221 # Commands used to build and install an old-style archive.
18223 old_archive_cmds=$lt_old_archive_cmds_RC
18224 old_postinstall_cmds=$lt_old_postinstall_cmds
18225 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18227 # Create an old-style archive from a shared archive.
18228 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18230 # Create a temporary old-style archive to link instead of a shared archive.
18231 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18233 # Commands used to build and install a shared archive.
18234 archive_cmds=$lt_archive_cmds_RC
18235 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18236 postinstall_cmds=$lt_postinstall_cmds
18237 postuninstall_cmds=$lt_postuninstall_cmds
18239 # Commands used to build a loadable module (assumed same as above if empty)
18240 module_cmds=$lt_module_cmds_RC
18241 module_expsym_cmds=$lt_module_expsym_cmds_RC
18243 # Commands to strip libraries.
18244 old_striplib=$lt_old_striplib
18245 striplib=$lt_striplib
18247 # Dependencies to place before the objects being linked to create a
18249 predep_objects=$lt_predep_objects_RC
18251 # Dependencies to place after the objects being linked to create a
18253 postdep_objects=$lt_postdep_objects_RC
18255 # Dependencies to place before the objects being linked to create a
18257 predeps=$lt_predeps_RC
18259 # Dependencies to place after the objects being linked to create a
18261 postdeps=$lt_postdeps_RC
18263 # The library search path used internally by the compiler when linking
18264 # a shared library.
18265 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18267 # Method to check whether dependent libraries are shared objects.
18268 deplibs_check_method=$lt_deplibs_check_method
18270 # Command to use when deplibs_check_method == file_magic.
18271 file_magic_cmd=$lt_file_magic_cmd
18273 # Flag that allows shared libraries with undefined symbols to be built.
18274 allow_undefined_flag=$lt_allow_undefined_flag_RC
18276 # Flag that forces no undefined symbols.
18277 no_undefined_flag=$lt_no_undefined_flag_RC
18279 # Commands used to finish a libtool library installation in a directory.
18280 finish_cmds=$lt_finish_cmds
18282 # Same as above, but a single script fragment to be evaled but not shown.
18283 finish_eval=$lt_finish_eval
18285 # Take the output of nm and produce a listing of raw symbols and C names.
18286 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18288 # Transform the output of nm in a proper C declaration
18289 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18291 # Transform the output of nm in a C name address pair
18292 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18294 # This is the shared library runtime path variable.
18295 runpath_var=$runpath_var
18297 # This is the shared library path variable.
18298 shlibpath_var=$shlibpath_var
18300 # Is shlibpath searched before the hard-coded library search path?
18301 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18303 # How to hardcode a shared library path into an executable.
18304 hardcode_action=$hardcode_action_RC
18306 # Whether we should hardcode library paths into libraries.
18307 hardcode_into_libs=$hardcode_into_libs
18309 # Flag to hardcode \$libdir into a binary during linking.
18310 # This must work even if \$libdir does not exist.
18311 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18313 # If ld is used when linking, flag to hardcode \$libdir into
18314 # a binary during linking. This must work even if \$libdir does
18316 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18318 # Whether we need a single -rpath flag with a separated argument.
18319 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18321 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18322 # resulting binary.
18323 hardcode_direct=$hardcode_direct_RC
18325 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18326 # resulting binary.
18327 hardcode_minus_L=$hardcode_minus_L_RC
18329 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18330 # the resulting binary.
18331 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18333 # Set to yes if building a shared library automatically hardcodes DIR into the library
18334 # and all subsequent libraries and executables linked against it.
18335 hardcode_automatic=$hardcode_automatic_RC
18337 # Variables whose values should be saved in libtool wrapper scripts and
18338 # restored at relink time.
18339 variables_saved_for_relink="$variables_saved_for_relink"
18341 # Whether libtool must link a program against all its dependency libraries.
18342 link_all_deplibs=$link_all_deplibs_RC
18344 # Compile-time system search path for libraries
18345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18347 # Run-time system search path for libraries
18348 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18350 # Fix the shell variable \$srcfile for the compiler.
18351 fix_srcfile_path="$fix_srcfile_path_RC"
18353 # Set to yes if exported symbols are required.
18354 always_export_symbols=$always_export_symbols_RC
18356 # The commands to list exported symbols.
18357 export_symbols_cmds=$lt_export_symbols_cmds_RC
18359 # The commands to extract the exported symbol list from a shared archive.
18360 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18362 # Symbols that should not be listed in the preloaded symbols.
18363 exclude_expsyms=$lt_exclude_expsyms_RC
18365 # Symbols that must always be exported.
18366 include_expsyms=$lt_include_expsyms_RC
18368 # ### END LIBTOOL TAG CONFIG: $tagname
18374 # If there is no Makefile yet, we rely on a make rule to execute
18375 # `config.status --recheck' to rerun these tests and create the
18376 # libtool script then.
18377 test -f Makefile && make "$ltmain"
18382 ac_cpp='$CPP $CPPFLAGS'
18383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18392 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18393 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18394 { (exit 1); exit 1; }; }
18398 # Append the new tag name to the list of available tags.
18399 if test -n "$tagname" ; then
18400 available_tags="$available_tags $tagname"
18406 # Now substitute the updated list of available tags.
18407 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18408 mv "${ofile}T" "$ofile"
18412 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18413 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18414 { (exit 1); exit 1; }; }
18420 # This can be used to rebuild libtool when needed
18421 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18423 # Always use our own libtool.
18424 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18426 # Prevent multiple expansion
18448 # Extract the first word of "pwd", so it can be a program name with args.
18449 set dummy pwd; ac_word=$2
18450 echo "$as_me:$LINENO: checking for $ac_word" >&5
18451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18452 if test "${ac_cv_path_RPWD+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18457 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18461 for as_dir in $PATH
18464 test -z "$as_dir" && as_dir=.
18465 for ac_exec_ext in '' $ac_executable_extensions; do
18466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18467 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18474 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18478 RPWD=$ac_cv_path_RPWD
18480 if test -n "$RPWD"; then
18481 echo "$as_me:$LINENO: result: $RPWD" >&5
18482 echo "${ECHO_T}$RPWD" >&6
18484 echo "$as_me:$LINENO: result: no" >&5
18485 echo "${ECHO_T}no" >&6
18488 if test ${RPWD} = "false"
18490 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18491 echo "$as_me: error: pwd required but not found" >&2;}
18492 { (exit 1); exit 1; }; }
18495 # Extract the first word of "ar", so it can be a program name with args.
18496 set dummy ar; ac_word=$2
18497 echo "$as_me:$LINENO: checking for $ac_word" >&5
18498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18499 if test "${ac_cv_path_AR+set}" = set; then
18500 echo $ECHO_N "(cached) $ECHO_C" >&6
18504 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18508 for as_dir in $PATH
18511 test -z "$as_dir" && as_dir=.
18512 for ac_exec_ext in '' $ac_executable_extensions; do
18513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18514 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18521 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18527 if test -n "$AR"; then
18528 echo "$as_me:$LINENO: result: $AR" >&5
18529 echo "${ECHO_T}$AR" >&6
18531 echo "$as_me:$LINENO: result: no" >&5
18532 echo "${ECHO_T}no" >&6
18535 if test ${AR} = "false"
18537 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18538 echo "$as_me: error: ar required but not found" >&2;}
18539 { (exit 1); exit 1; }; }
18542 # Extract the first word of "sed", so it can be a program name with args.
18543 set dummy sed; ac_word=$2
18544 echo "$as_me:$LINENO: checking for $ac_word" >&5
18545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18546 if test "${ac_cv_path_SED+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18555 for as_dir in $PATH
18558 test -z "$as_dir" && as_dir=.
18559 for ac_exec_ext in '' $ac_executable_extensions; do
18560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18561 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18568 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18572 SED=$ac_cv_path_SED
18574 if test -n "$SED"; then
18575 echo "$as_me:$LINENO: result: $SED" >&5
18576 echo "${ECHO_T}$SED" >&6
18578 echo "$as_me:$LINENO: result: no" >&5
18579 echo "${ECHO_T}no" >&6
18582 if test ${SED} = "false"
18584 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18585 echo "$as_me: error: sed required but not found" >&2;}
18586 { (exit 1); exit 1; }; }
18589 # Extract the first word of "rm", so it can be a program name with args.
18590 set dummy rm; ac_word=$2
18591 echo "$as_me:$LINENO: checking for $ac_word" >&5
18592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18593 if test "${ac_cv_path_RM+set}" = set; then
18594 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18602 for as_dir in $PATH
18605 test -z "$as_dir" && as_dir=.
18606 for ac_exec_ext in '' $ac_executable_extensions; do
18607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18608 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18615 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18621 if test -n "$RM"; then
18622 echo "$as_me:$LINENO: result: $RM" >&5
18623 echo "${ECHO_T}$RM" >&6
18625 echo "$as_me:$LINENO: result: no" >&5
18626 echo "${ECHO_T}no" >&6
18629 if test ${RM} = "false"
18631 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18632 echo "$as_me: error: rm required but not found" >&2;}
18633 { (exit 1); exit 1; }; }
18636 # Extract the first word of "echo", so it can be a program name with args.
18637 set dummy echo; ac_word=$2
18638 echo "$as_me:$LINENO: checking for $ac_word" >&5
18639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18640 if test "${ac_cv_path_ECHO+set}" = set; then
18641 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18649 for as_dir in $PATH
18652 test -z "$as_dir" && as_dir=.
18653 for ac_exec_ext in '' $ac_executable_extensions; do
18654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18655 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18662 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18666 ECHO=$ac_cv_path_ECHO
18668 if test -n "$ECHO"; then
18669 echo "$as_me:$LINENO: result: $ECHO" >&5
18670 echo "${ECHO_T}$ECHO" >&6
18672 echo "$as_me:$LINENO: result: no" >&5
18673 echo "${ECHO_T}no" >&6
18676 if test ${ECHO} = "false"
18678 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18679 echo "$as_me: error: echo required but not found" >&2;}
18680 { (exit 1); exit 1; }; }
18683 # Extract the first word of "mkdir", so it can be a program name with args.
18684 set dummy mkdir; ac_word=$2
18685 echo "$as_me:$LINENO: checking for $ac_word" >&5
18686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18687 if test "${ac_cv_path_MKDIR+set}" = set; then
18688 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18696 for as_dir in $PATH
18699 test -z "$as_dir" && as_dir=.
18700 for ac_exec_ext in '' $ac_executable_extensions; do
18701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18702 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18709 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18713 MKDIR=$ac_cv_path_MKDIR
18715 if test -n "$MKDIR"; then
18716 echo "$as_me:$LINENO: result: $MKDIR" >&5
18717 echo "${ECHO_T}$MKDIR" >&6
18719 echo "$as_me:$LINENO: result: no" >&5
18720 echo "${ECHO_T}no" >&6
18723 if test ${MKDIR} = "false"
18725 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18726 echo "$as_me: error: mkdir required but not found" >&2;}
18727 { (exit 1); exit 1; }; }
18730 # Extract the first word of "date", so it can be a program name with args.
18731 set dummy date; ac_word=$2
18732 echo "$as_me:$LINENO: checking for $ac_word" >&5
18733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18734 if test "${ac_cv_path_DATE+set}" = set; then
18735 echo $ECHO_N "(cached) $ECHO_C" >&6
18739 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18743 for as_dir in $PATH
18746 test -z "$as_dir" && as_dir=.
18747 for ac_exec_ext in '' $ac_executable_extensions; do
18748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18749 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18756 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18760 DATE=$ac_cv_path_DATE
18762 if test -n "$DATE"; then
18763 echo "$as_me:$LINENO: result: $DATE" >&5
18764 echo "${ECHO_T}$DATE" >&6
18766 echo "$as_me:$LINENO: result: no" >&5
18767 echo "${ECHO_T}no" >&6
18770 if test ${DATE} = "false"
18772 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18773 echo "$as_me: error: date required but not found" >&2;}
18774 { (exit 1); exit 1; }; }
18777 # Extract the first word of "mv", so it can be a program name with args.
18778 set dummy mv; ac_word=$2
18779 echo "$as_me:$LINENO: checking for $ac_word" >&5
18780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18781 if test "${ac_cv_path_MV+set}" = set; then
18782 echo $ECHO_N "(cached) $ECHO_C" >&6
18786 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18790 for as_dir in $PATH
18793 test -z "$as_dir" && as_dir=.
18794 for ac_exec_ext in '' $ac_executable_extensions; do
18795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18796 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18803 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18809 if test -n "$MV"; then
18810 echo "$as_me:$LINENO: result: $MV" >&5
18811 echo "${ECHO_T}$MV" >&6
18813 echo "$as_me:$LINENO: result: no" >&5
18814 echo "${ECHO_T}no" >&6
18817 if test ${MV} = "false"
18819 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18820 echo "$as_me: error: mv required but not found" >&2;}
18821 { (exit 1); exit 1; }; }
18824 # Extract the first word of "dot", so it can be a program name with args.
18825 set dummy dot; ac_word=$2
18826 echo "$as_me:$LINENO: checking for $ac_word" >&5
18827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18828 if test "${ac_cv_path_DOT+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18837 for as_dir in $PATH
18840 test -z "$as_dir" && as_dir=.
18841 for ac_exec_ext in '' $ac_executable_extensions; do
18842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18843 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18850 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18854 DOT=$ac_cv_path_DOT
18856 if test -n "$DOT"; then
18857 echo "$as_me:$LINENO: result: $DOT" >&5
18858 echo "${ECHO_T}$DOT" >&6
18860 echo "$as_me:$LINENO: result: no" >&5
18861 echo "${ECHO_T}no" >&6
18865 # Extract the first word of "etags", so it can be a program name with args.
18866 set dummy etags; ac_word=$2
18867 echo "$as_me:$LINENO: checking for $ac_word" >&5
18868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18869 if test "${ac_cv_path_ETAGS+set}" = set; then
18870 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18878 for as_dir in $PATH
18881 test -z "$as_dir" && as_dir=.
18882 for ac_exec_ext in '' $ac_executable_extensions; do
18883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18884 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18891 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18895 ETAGS=$ac_cv_path_ETAGS
18897 if test -n "$ETAGS"; then
18898 echo "$as_me:$LINENO: result: $ETAGS" >&5
18899 echo "${ECHO_T}$ETAGS" >&6
18901 echo "$as_me:$LINENO: result: no" >&5
18902 echo "${ECHO_T}no" >&6
18906 # Extract the first word of "purify", so it can be a program name with args.
18907 set dummy purify; ac_word=$2
18908 echo "$as_me:$LINENO: checking for $ac_word" >&5
18909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18910 if test "${ac_cv_path_PURIFY+set}" = set; then
18911 echo $ECHO_N "(cached) $ECHO_C" >&6
18915 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18919 for as_dir in $PATH
18922 test -z "$as_dir" && as_dir=.
18923 for ac_exec_ext in '' $ac_executable_extensions; do
18924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18925 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18932 test -z "$ac_cv_path_PURIFY" && ac_cv_path_PURIFY="false"
18936 PURIFY=$ac_cv_path_PURIFY
18938 if test -n "$PURIFY"; then
18939 echo "$as_me:$LINENO: result: $PURIFY" >&5
18940 echo "${ECHO_T}$PURIFY" >&6
18942 echo "$as_me:$LINENO: result: no" >&5
18943 echo "${ECHO_T}no" >&6
18947 # Extract the first word of "python", so it can be a program name with args.
18948 set dummy python; ac_word=$2
18949 echo "$as_me:$LINENO: checking for $ac_word" >&5
18950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18951 if test "${ac_cv_path_PYTHON+set}" = set; then
18952 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18960 for as_dir in $PATH
18963 test -z "$as_dir" && as_dir=.
18964 for ac_exec_ext in '' $ac_executable_extensions; do
18965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18966 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18973 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18977 PYTHON=$ac_cv_path_PYTHON
18979 if test -n "$PYTHON"; then
18980 echo "$as_me:$LINENO: result: $PYTHON" >&5
18981 echo "${ECHO_T}$PYTHON" >&6
18983 echo "$as_me:$LINENO: result: no" >&5
18984 echo "${ECHO_T}no" >&6
18987 if test ${PYTHON} = "false"
18989 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18990 echo "$as_me: WARNING: python required but not found" >&2;}
18993 # Extract the first word of "qmtest", so it can be a program name with args.
18994 set dummy qmtest; ac_word=$2
18995 echo "$as_me:$LINENO: checking for $ac_word" >&5
18996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18997 if test "${ac_cv_path_QMTEST+set}" = set; then
18998 echo $ECHO_N "(cached) $ECHO_C" >&6
19002 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19006 for as_dir in $PATH
19009 test -z "$as_dir" && as_dir=.
19010 for ac_exec_ext in '' $ac_executable_extensions; do
19011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19012 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19019 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19023 QMTEST=$ac_cv_path_QMTEST
19025 if test -n "$QMTEST"; then
19026 echo "$as_me:$LINENO: result: $QMTEST" >&5
19027 echo "${ECHO_T}$QMTEST" >&6
19029 echo "$as_me:$LINENO: result: no" >&5
19030 echo "${ECHO_T}no" >&6
19033 if test ${QMTEST} = "false"
19035 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19036 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19039 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19040 pymajor=`echo $pyversion | cut -d. -f1`
19041 pyminor=`echo $pyversion | cut -d. -f2`
19043 if test "$pymajor" -ge "2"
19045 if test "$pymajor" -eq "2"
19047 if test "$pyminor" -lt "2"
19049 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19050 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19051 { (exit 1); exit 1; }; }
19055 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19056 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19057 { (exit 1); exit 1; }; }
19064 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19065 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19066 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 ac_check_lib_save_LIBS=$LIBS
19071 cat >conftest.$ac_ext <<_ACEOF
19072 #line $LINENO "configure"
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19079 /* Override any gcc2 internal prototype to avoid an error. */
19083 /* We use char because int might match the return type of a gcc2
19084 builtin and then its argument prototype would still apply. */
19094 rm -f conftest.$ac_objext conftest$ac_exeext
19095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19096 (eval $ac_link) 2>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try='test -s conftest$ac_exeext'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; }; then
19106 ac_cv_lib_elf_elf_begin=yes
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.$ac_ext >&5
19111 ac_cv_lib_elf_elf_begin=no
19113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19114 LIBS=$ac_check_lib_save_LIBS
19116 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19117 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19118 if test $ac_cv_lib_elf_elf_begin = yes; then
19119 cat >>confdefs.h <<_ACEOF
19120 #define HAVE_LIBELF 1
19128 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19129 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19130 if test "${ac_cv_search_dlopen+set}" = set; then
19131 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 ac_func_search_save_LIBS=$LIBS
19134 ac_cv_search_dlopen=no
19135 cat >conftest.$ac_ext <<_ACEOF
19136 #line $LINENO "configure"
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19143 /* Override any gcc2 internal prototype to avoid an error. */
19147 /* We use char because int might match the return type of a gcc2
19148 builtin and then its argument prototype would still apply. */
19158 rm -f conftest.$ac_objext conftest$ac_exeext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19160 (eval $ac_link) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } &&
19164 { ac_try='test -s conftest$ac_exeext'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; }; then
19170 ac_cv_search_dlopen="none required"
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19176 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19177 if test "$ac_cv_search_dlopen" = no; then
19178 for ac_lib in dl; do
19179 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19180 cat >conftest.$ac_ext <<_ACEOF
19181 #line $LINENO "configure"
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19188 /* Override any gcc2 internal prototype to avoid an error. */
19192 /* We use char because int might match the return type of a gcc2
19193 builtin and then its argument prototype would still apply. */
19203 rm -f conftest.$ac_objext conftest$ac_exeext
19204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19205 (eval $ac_link) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } &&
19209 { ac_try='test -s conftest$ac_exeext'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; }; then
19215 ac_cv_search_dlopen="-l$ac_lib"
19218 echo "$as_me: failed program was:" >&5
19219 sed 's/^/| /' conftest.$ac_ext >&5
19222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19225 LIBS=$ac_func_search_save_LIBS
19227 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19228 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19229 if test "$ac_cv_search_dlopen" != no; then
19230 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19233 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19234 echo "$as_me: error: dlopen() required but not found" >&2;}
19235 { (exit 1); exit 1; }; }
19239 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19240 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19241 if test "${ac_cv_search_mallinfo+set}" = set; then
19242 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 ac_func_search_save_LIBS=$LIBS
19245 ac_cv_search_mallinfo=no
19246 cat >conftest.$ac_ext <<_ACEOF
19247 #line $LINENO "configure"
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19254 /* Override any gcc2 internal prototype to avoid an error. */
19258 /* We use char because int might match the return type of a gcc2
19259 builtin and then its argument prototype would still apply. */
19269 rm -f conftest.$ac_objext conftest$ac_exeext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19271 (eval $ac_link) 2>&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); } &&
19275 { ac_try='test -s conftest$ac_exeext'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; }; then
19281 ac_cv_search_mallinfo="none required"
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19288 if test "$ac_cv_search_mallinfo" = no; then
19289 for ac_lib in malloc; do
19290 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19291 cat >conftest.$ac_ext <<_ACEOF
19292 #line $LINENO "configure"
19295 cat confdefs.h >>conftest.$ac_ext
19296 cat >>conftest.$ac_ext <<_ACEOF
19297 /* end confdefs.h. */
19299 /* Override any gcc2 internal prototype to avoid an error. */
19303 /* We use char because int might match the return type of a gcc2
19304 builtin and then its argument prototype would still apply. */
19314 rm -f conftest.$ac_objext conftest$ac_exeext
19315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19316 (eval $ac_link) 2>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try='test -s conftest$ac_exeext'
19321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322 (eval $ac_try) 2>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); }; }; then
19326 ac_cv_search_mallinfo="-l$ac_lib"
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.$ac_ext >&5
19333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19336 LIBS=$ac_func_search_save_LIBS
19338 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19339 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19340 if test "$ac_cv_search_mallinfo" != no; then
19341 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19342 cat >>confdefs.h <<\_ACEOF
19343 #define HAVE_MALLINFO 1
19350 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19351 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19352 if test "${ac_cv_header_stdc+set}" = set; then
19353 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 cat >conftest.$ac_ext <<_ACEOF
19356 #line $LINENO "configure"
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 #include <stdlib.h>
19363 #include <stdarg.h>
19364 #include <string.h>
19375 rm -f conftest.$ac_objext
19376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19377 (eval $ac_compile) 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } &&
19381 { ac_try='test -s conftest.$ac_objext'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 ac_cv_header_stdc=yes
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 ac_cv_header_stdc=no
19394 rm -f conftest.$ac_objext conftest.$ac_ext
19396 if test $ac_cv_header_stdc = yes; then
19397 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19398 cat >conftest.$ac_ext <<_ACEOF
19399 #line $LINENO "configure"
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 #include <string.h>
19408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19409 $EGREP "memchr" >/dev/null 2>&1; then
19412 ac_cv_header_stdc=no
19418 if test $ac_cv_header_stdc = yes; then
19419 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19420 cat >conftest.$ac_ext <<_ACEOF
19421 #line $LINENO "configure"
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 #include <stdlib.h>
19430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19431 $EGREP "free" >/dev/null 2>&1; then
19434 ac_cv_header_stdc=no
19440 if test $ac_cv_header_stdc = yes; then
19441 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19442 if test "$cross_compiling" = yes; then
19445 cat >conftest.$ac_ext <<_ACEOF
19446 #line $LINENO "configure"
19449 cat confdefs.h >>conftest.$ac_ext
19450 cat >>conftest.$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19453 #if ((' ' & 0x0FF) == 0x020)
19454 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19455 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19457 # define ISLOWER(c) \
19458 (('a' <= (c) && (c) <= 'i') \
19459 || ('j' <= (c) && (c) <= 'r') \
19460 || ('s' <= (c) && (c) <= 'z'))
19461 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19464 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19469 for (i = 0; i < 256; i++)
19470 if (XOR (islower (i), ISLOWER (i))
19471 || toupper (i) != TOUPPER (i))
19476 rm -f conftest$ac_exeext
19477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19478 (eval $ac_link) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19489 echo "$as_me: program exited with status $ac_status" >&5
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19493 ( exit $ac_status )
19494 ac_cv_header_stdc=no
19496 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19500 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19501 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19502 if test $ac_cv_header_stdc = yes; then
19504 cat >>confdefs.h <<\_ACEOF
19505 #define STDC_HEADERS 1
19510 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19511 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19512 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 cat >conftest.$ac_ext <<_ACEOF
19516 #line $LINENO "configure"
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #include <sys/types.h>
19523 #include <sys/wait.h>
19524 #ifndef WEXITSTATUS
19525 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19528 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19536 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19541 rm -f conftest.$ac_objext
19542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19543 (eval $ac_compile) 2>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } &&
19547 { ac_try='test -s conftest.$ac_objext'
19548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19549 (eval $ac_try) 2>&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; }; then
19553 ac_cv_header_sys_wait_h=yes
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19558 ac_cv_header_sys_wait_h=no
19560 rm -f conftest.$ac_objext conftest.$ac_ext
19562 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19563 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19564 if test $ac_cv_header_sys_wait_h = yes; then
19566 cat >>confdefs.h <<\_ACEOF
19567 #define HAVE_SYS_WAIT_H 1
19581 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19585 echo "$as_me:$LINENO: checking for $ac_header" >&5
19586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19593 # Is the header compilable?
19594 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19596 cat >conftest.$ac_ext <<_ACEOF
19597 #line $LINENO "configure"
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19604 #include <$ac_header>
19606 rm -f conftest.$ac_objext
19607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19608 (eval $ac_compile) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); } &&
19612 { ac_try='test -s conftest.$ac_objext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_header_compiler=yes
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 ac_header_compiler=no
19625 rm -f conftest.$ac_objext conftest.$ac_ext
19626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19627 echo "${ECHO_T}$ac_header_compiler" >&6
19629 # Is the header present?
19630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19632 cat >conftest.$ac_ext <<_ACEOF
19633 #line $LINENO "configure"
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 #include <$ac_header>
19641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19644 grep -v '^ *+' conftest.er1 >conftest.err
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } >/dev/null; then
19649 if test -s conftest.err; then
19650 ac_cpp_err=$ac_c_preproc_warn_flag
19657 if test -z "$ac_cpp_err"; then
19658 ac_header_preproc=yes
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19663 ac_header_preproc=no
19665 rm -f conftest.err conftest.$ac_ext
19666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19667 echo "${ECHO_T}$ac_header_preproc" >&6
19669 # So? What about this header?
19670 case $ac_header_compiler:$ac_header_preproc in
19672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19675 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19678 ## ------------------------------------ ##
19679 ## Report this to bug-autoconf@gnu.org. ##
19680 ## ------------------------------------ ##
19683 sed "s/^/$as_me: WARNING: /" >&2
19686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19694 ## ------------------------------------ ##
19695 ## Report this to bug-autoconf@gnu.org. ##
19696 ## ------------------------------------ ##
19699 sed "s/^/$as_me: WARNING: /" >&2
19702 echo "$as_me:$LINENO: checking for $ac_header" >&5
19703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 eval "$as_ac_Header=$ac_header_preproc"
19709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19714 cat >>confdefs.h <<_ACEOF
19715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19727 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19731 echo "$as_me:$LINENO: checking for $ac_header" >&5
19732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19739 # Is the header compilable?
19740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19742 cat >conftest.$ac_ext <<_ACEOF
19743 #line $LINENO "configure"
19746 cat confdefs.h >>conftest.$ac_ext
19747 cat >>conftest.$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19749 $ac_includes_default
19750 #include <$ac_header>
19752 rm -f conftest.$ac_objext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19754 (eval $ac_compile) 2>&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try='test -s conftest.$ac_objext'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; }; then
19764 ac_header_compiler=yes
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 ac_header_compiler=no
19771 rm -f conftest.$ac_objext conftest.$ac_ext
19772 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19773 echo "${ECHO_T}$ac_header_compiler" >&6
19775 # Is the header present?
19776 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19777 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19778 cat >conftest.$ac_ext <<_ACEOF
19779 #line $LINENO "configure"
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 #include <$ac_header>
19787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19790 grep -v '^ *+' conftest.er1 >conftest.err
19792 cat conftest.err >&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } >/dev/null; then
19795 if test -s conftest.err; then
19796 ac_cpp_err=$ac_c_preproc_warn_flag
19803 if test -z "$ac_cpp_err"; then
19804 ac_header_preproc=yes
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 ac_header_preproc=no
19811 rm -f conftest.err conftest.$ac_ext
19812 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19813 echo "${ECHO_T}$ac_header_preproc" >&6
19815 # So? What about this header?
19816 case $ac_header_compiler:$ac_header_preproc in
19818 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19819 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19824 ## ------------------------------------ ##
19825 ## Report this to bug-autoconf@gnu.org. ##
19826 ## ------------------------------------ ##
19829 sed "s/^/$as_me: WARNING: /" >&2
19832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19840 ## ------------------------------------ ##
19841 ## Report this to bug-autoconf@gnu.org. ##
19842 ## ------------------------------------ ##
19845 sed "s/^/$as_me: WARNING: /" >&2
19848 echo "$as_me:$LINENO: checking for $ac_header" >&5
19849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 eval "$as_ac_Header=$ac_header_preproc"
19855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19860 cat >>confdefs.h <<_ACEOF
19861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19871 for ac_header in dlfcn.h link.h
19873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19875 echo "$as_me:$LINENO: checking for $ac_header" >&5
19876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19883 # Is the header compilable?
19884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19886 cat >conftest.$ac_ext <<_ACEOF
19887 #line $LINENO "configure"
19890 cat confdefs.h >>conftest.$ac_ext
19891 cat >>conftest.$ac_ext <<_ACEOF
19892 /* end confdefs.h. */
19893 $ac_includes_default
19894 #include <$ac_header>
19896 rm -f conftest.$ac_objext
19897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19898 (eval $ac_compile) 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); } &&
19902 { ac_try='test -s conftest.$ac_objext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_header_compiler=yes
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 ac_header_compiler=no
19915 rm -f conftest.$ac_objext conftest.$ac_ext
19916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19917 echo "${ECHO_T}$ac_header_compiler" >&6
19919 # Is the header present?
19920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19922 cat >conftest.$ac_ext <<_ACEOF
19923 #line $LINENO "configure"
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 #include <$ac_header>
19931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19934 grep -v '^ *+' conftest.er1 >conftest.err
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } >/dev/null; then
19939 if test -s conftest.err; then
19940 ac_cpp_err=$ac_c_preproc_warn_flag
19947 if test -z "$ac_cpp_err"; then
19948 ac_header_preproc=yes
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.$ac_ext >&5
19953 ac_header_preproc=no
19955 rm -f conftest.err conftest.$ac_ext
19956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19957 echo "${ECHO_T}$ac_header_preproc" >&6
19959 # So? What about this header?
19960 case $ac_header_compiler:$ac_header_preproc in
19962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19965 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19968 ## ------------------------------------ ##
19969 ## Report this to bug-autoconf@gnu.org. ##
19970 ## ------------------------------------ ##
19973 sed "s/^/$as_me: WARNING: /" >&2
19976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19984 ## ------------------------------------ ##
19985 ## Report this to bug-autoconf@gnu.org. ##
19986 ## ------------------------------------ ##
19989 sed "s/^/$as_me: WARNING: /" >&2
19992 echo "$as_me:$LINENO: checking for $ac_header" >&5
19993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19995 echo $ECHO_N "(cached) $ECHO_C" >&6
19997 eval "$as_ac_Header=$ac_header_preproc"
19999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20004 cat >>confdefs.h <<_ACEOF
20005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20014 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20015 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20016 if test "${ac_cv_c_const+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 cat >conftest.$ac_ext <<_ACEOF
20020 #line $LINENO "configure"
20023 cat confdefs.h >>conftest.$ac_ext
20024 cat >>conftest.$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20030 /* FIXME: Include the comments suggested by Paul. */
20031 #ifndef __cplusplus
20032 /* Ultrix mips cc rejects this. */
20033 typedef int charset[2];
20035 /* SunOS 4.1.1 cc rejects this. */
20036 char const *const *ccp;
20038 /* NEC SVR4.0.2 mips cc rejects this. */
20039 struct point {int x, y;};
20040 static struct point const zero = {0,0};
20041 /* AIX XL C 1.02.0.0 rejects this.
20042 It does not let you subtract one const X* pointer from another in
20043 an arm of an if-expression whose if-part is not a constant
20045 const char *g = "string";
20046 ccp = &g + (g ? g-g : 0);
20047 /* HPUX 7.0 cc rejects these. */
20050 ccp = (char const *const *) p;
20051 { /* SCO 3.2v4 cc rejects this. */
20053 char const *s = 0 ? (char *) 0 : (char const *) 0;
20057 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20058 int x[] = {25, 17};
20059 const int *foo = &x[0];
20062 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20063 typedef const int *iptr;
20067 { /* AIX XL C 1.02.0.0 rejects this saying
20068 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20069 struct s { int j; const int *ap[3]; };
20070 struct s *b; b->j = 5;
20072 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20073 const int foo = 10;
20081 rm -f conftest.$ac_objext
20082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20083 (eval $ac_compile) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } &&
20087 { ac_try='test -s conftest.$ac_objext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.$ac_ext >&5
20100 rm -f conftest.$ac_objext conftest.$ac_ext
20102 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20103 echo "${ECHO_T}$ac_cv_c_const" >&6
20104 if test $ac_cv_c_const = no; then
20106 cat >>confdefs.h <<\_ACEOF
20112 echo "$as_me:$LINENO: checking for inline" >&5
20113 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20114 if test "${ac_cv_c_inline+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 for ac_kw in inline __inline__ __inline; do
20119 cat >conftest.$ac_ext <<_ACEOF
20120 #line $LINENO "configure"
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 #ifndef __cplusplus
20128 static $ac_kw foo_t static_foo () {return 0; }
20129 $ac_kw foo_t foo () {return 0; }
20133 rm -f conftest.$ac_objext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20135 (eval $ac_compile) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } &&
20139 { ac_try='test -s conftest.$ac_objext'
20140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141 (eval $ac_try) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; }; then
20145 ac_cv_c_inline=$ac_kw; break
20147 echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20151 rm -f conftest.$ac_objext conftest.$ac_ext
20155 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20156 echo "${ECHO_T}$ac_cv_c_inline" >&6
20157 case $ac_cv_c_inline in
20160 cat >>confdefs.h <<\_ACEOF
20164 *) cat >>confdefs.h <<_ACEOF
20165 #define inline $ac_cv_c_inline
20171 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20172 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20173 if test "${ac_cv_c_bigendian+set}" = set; then
20174 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 # See if sys/param.h defines the BYTE_ORDER macro.
20177 cat >conftest.$ac_ext <<_ACEOF
20178 #line $LINENO "configure"
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #include <sys/types.h>
20185 #include <sys/param.h>
20190 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20191 bogus endian macros
20198 rm -f conftest.$ac_objext
20199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20200 (eval $ac_compile) 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } &&
20204 { ac_try='test -s conftest.$ac_objext'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; }; then
20210 # It does; now see whether it defined to BIG_ENDIAN or not.
20211 cat >conftest.$ac_ext <<_ACEOF
20212 #line $LINENO "configure"
20215 cat confdefs.h >>conftest.$ac_ext
20216 cat >>conftest.$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20218 #include <sys/types.h>
20219 #include <sys/param.h>
20224 #if BYTE_ORDER != BIG_ENDIAN
20232 rm -f conftest.$ac_objext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20234 (eval $ac_compile) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try='test -s conftest.$ac_objext'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; }; then
20244 ac_cv_c_bigendian=yes
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20249 ac_cv_c_bigendian=no
20251 rm -f conftest.$ac_objext conftest.$ac_ext
20253 echo "$as_me: failed program was:" >&5
20254 sed 's/^/| /' conftest.$ac_ext >&5
20256 # It does not; compile a test program.
20257 if test "$cross_compiling" = yes; then
20258 # try to guess the endianness by grepping values into an object file
20259 ac_cv_c_bigendian=unknown
20260 cat >conftest.$ac_ext <<_ACEOF
20261 #line $LINENO "configure"
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20268 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20269 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20270 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20271 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20272 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20276 _ascii (); _ebcdic ();
20281 rm -f conftest.$ac_objext
20282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20283 (eval $ac_compile) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } &&
20287 { ac_try='test -s conftest.$ac_objext'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20294 ac_cv_c_bigendian=yes
20296 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20297 if test "$ac_cv_c_bigendian" = unknown; then
20298 ac_cv_c_bigendian=no
20300 # finding both strings is unlikely to happen, but who knows?
20301 ac_cv_c_bigendian=unknown
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.$ac_ext >&5
20309 rm -f conftest.$ac_objext conftest.$ac_ext
20311 cat >conftest.$ac_ext <<_ACEOF
20312 #line $LINENO "configure"
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20321 /* Are we little or big endian? From Harbison&Steele. */
20325 char c[sizeof (long)];
20328 exit (u.c[sizeof (long) - 1] == 1);
20331 rm -f conftest$ac_exeext
20332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20333 (eval $ac_link) 2>&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; }; then
20342 ac_cv_c_bigendian=no
20344 echo "$as_me: program exited with status $ac_status" >&5
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20348 ( exit $ac_status )
20349 ac_cv_c_bigendian=yes
20351 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20354 rm -f conftest.$ac_objext conftest.$ac_ext
20356 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20357 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20358 case $ac_cv_c_bigendian in
20360 cat >>confdefs.h <<\_ACEOF
20361 #define ENDIAN_BIG 1
20365 cat >>confdefs.h <<\_ACEOF
20366 #define ENDIAN_LITTLE 1
20370 { { echo "$as_me:$LINENO: error: unknown endianness
20371 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20372 echo "$as_me: error: unknown endianness
20373 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20374 { (exit 1); exit 1; }; } ;;
20378 echo "$as_me:$LINENO: checking for pid_t" >&5
20379 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20380 if test "${ac_cv_type_pid_t+set}" = set; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 cat >conftest.$ac_ext <<_ACEOF
20384 #line $LINENO "configure"
20387 cat confdefs.h >>conftest.$ac_ext
20388 cat >>conftest.$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20390 $ac_includes_default
20396 if (sizeof (pid_t))
20402 rm -f conftest.$ac_objext
20403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20404 (eval $ac_compile) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); } &&
20408 { ac_try='test -s conftest.$ac_objext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_cv_type_pid_t=yes
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20419 ac_cv_type_pid_t=no
20421 rm -f conftest.$ac_objext conftest.$ac_ext
20423 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20424 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20425 if test $ac_cv_type_pid_t = yes; then
20429 cat >>confdefs.h <<_ACEOF
20435 echo "$as_me:$LINENO: checking for size_t" >&5
20436 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20437 if test "${ac_cv_type_size_t+set}" = set; then
20438 echo $ECHO_N "(cached) $ECHO_C" >&6
20440 cat >conftest.$ac_ext <<_ACEOF
20441 #line $LINENO "configure"
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20453 if (sizeof (size_t))
20459 rm -f conftest.$ac_objext
20460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20461 (eval $ac_compile) 2>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } &&
20465 { ac_try='test -s conftest.$ac_objext'
20466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467 (eval $ac_try) 2>&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; }; then
20471 ac_cv_type_size_t=yes
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.$ac_ext >&5
20476 ac_cv_type_size_t=no
20478 rm -f conftest.$ac_objext conftest.$ac_ext
20480 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20481 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20482 if test $ac_cv_type_size_t = yes; then
20486 cat >>confdefs.h <<_ACEOF
20487 #define size_t unsigned
20492 echo "$as_me:$LINENO: checking for int64_t" >&5
20493 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20494 if test "${ac_cv_type_int64_t+set}" = set; then
20495 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 cat >conftest.$ac_ext <<_ACEOF
20498 #line $LINENO "configure"
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 $ac_includes_default
20510 if (sizeof (int64_t))
20516 rm -f conftest.$ac_objext
20517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20518 (eval $ac_compile) 2>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } &&
20522 { ac_try='test -s conftest.$ac_objext'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; }; then
20528 ac_cv_type_int64_t=yes
20530 echo "$as_me: failed program was:" >&5
20531 sed 's/^/| /' conftest.$ac_ext >&5
20533 ac_cv_type_int64_t=no
20535 rm -f conftest.$ac_objext conftest.$ac_ext
20537 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20538 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20539 if test $ac_cv_type_int64_t = yes; then
20541 cat >>confdefs.h <<_ACEOF
20542 #define HAVE_INT64_T 1
20547 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20548 echo "$as_me: error: Type int64_t required but not found" >&2;}
20549 { (exit 1); exit 1; }; }
20552 echo "$as_me:$LINENO: checking for uint64_t" >&5
20553 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20554 if test "${ac_cv_type_uint64_t+set}" = set; then
20555 echo $ECHO_N "(cached) $ECHO_C" >&6
20557 cat >conftest.$ac_ext <<_ACEOF
20558 #line $LINENO "configure"
20561 cat confdefs.h >>conftest.$ac_ext
20562 cat >>conftest.$ac_ext <<_ACEOF
20563 /* end confdefs.h. */
20564 $ac_includes_default
20568 if ((uint64_t *) 0)
20570 if (sizeof (uint64_t))
20576 rm -f conftest.$ac_objext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20578 (eval $ac_compile) 2>&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } &&
20582 { ac_try='test -s conftest.$ac_objext'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; }; then
20588 ac_cv_type_uint64_t=yes
20590 echo "$as_me: failed program was:" >&5
20591 sed 's/^/| /' conftest.$ac_ext >&5
20593 ac_cv_type_uint64_t=no
20595 rm -f conftest.$ac_objext conftest.$ac_ext
20597 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20598 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20599 if test $ac_cv_type_uint64_t = yes; then
20601 cat >>confdefs.h <<_ACEOF
20602 #define HAVE_UINT64_T 1
20607 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20608 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20609 { (exit 1); exit 1; }; }
20612 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20613 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20614 if test "${ac_cv_header_time+set}" = set; then
20615 echo $ECHO_N "(cached) $ECHO_C" >&6
20617 cat >conftest.$ac_ext <<_ACEOF
20618 #line $LINENO "configure"
20621 cat confdefs.h >>conftest.$ac_ext
20622 cat >>conftest.$ac_ext <<_ACEOF
20623 /* end confdefs.h. */
20624 #include <sys/types.h>
20625 #include <sys/time.h>
20631 if ((struct tm *) 0)
20637 rm -f conftest.$ac_objext
20638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20639 (eval $ac_compile) 2>&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } &&
20643 { ac_try='test -s conftest.$ac_objext'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; }; then
20649 ac_cv_header_time=yes
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20654 ac_cv_header_time=no
20656 rm -f conftest.$ac_objext conftest.$ac_ext
20658 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20659 echo "${ECHO_T}$ac_cv_header_time" >&6
20660 if test $ac_cv_header_time = yes; then
20662 cat >>confdefs.h <<\_ACEOF
20663 #define TIME_WITH_SYS_TIME 1
20668 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20669 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20670 if test "${ac_cv_struct_tm+set}" = set; then
20671 echo $ECHO_N "(cached) $ECHO_C" >&6
20673 cat >conftest.$ac_ext <<_ACEOF
20674 #line $LINENO "configure"
20677 cat confdefs.h >>conftest.$ac_ext
20678 cat >>conftest.$ac_ext <<_ACEOF
20679 /* end confdefs.h. */
20680 #include <sys/types.h>
20686 struct tm *tp; tp->tm_sec;
20691 rm -f conftest.$ac_objext
20692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20693 (eval $ac_compile) 2>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -s conftest.$ac_objext'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 ac_cv_struct_tm=time.h
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20708 ac_cv_struct_tm=sys/time.h
20710 rm -f conftest.$ac_objext conftest.$ac_ext
20712 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20713 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20714 if test $ac_cv_struct_tm = sys/time.h; then
20716 cat >>confdefs.h <<\_ACEOF
20717 #define TM_IN_SYS_TIME 1
20723 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20724 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20725 if test "${ac_cv_cxx_namespaces+set}" = set; then
20726 echo $ECHO_N "(cached) $ECHO_C" >&6
20731 ac_cpp='$CXXCPP $CPPFLAGS'
20732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20736 cat >conftest.$ac_ext <<_ACEOF
20737 #line $LINENO "configure"
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 namespace Outer { namespace Inner { int i = 0; }}
20747 using namespace Outer::Inner; return i;
20752 rm -f conftest.$ac_objext
20753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20754 (eval $ac_compile) 2>&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } &&
20758 { ac_try='test -s conftest.$ac_objext'
20759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20760 (eval $ac_try) 2>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); }; }; then
20764 ac_cv_cxx_namespaces=yes
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 ac_cv_cxx_namespaces=no
20771 rm -f conftest.$ac_objext conftest.$ac_ext
20773 ac_cpp='$CPP $CPPFLAGS'
20774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20780 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20781 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20782 if test "$ac_cv_cxx_namespaces" = yes; then
20784 cat >>confdefs.h <<\_ACEOF
20785 #define HAVE_NAMESPACES
20790 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20791 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20792 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20804 cat >conftest.$ac_ext <<_ACEOF
20805 #line $LINENO "configure"
20808 cat confdefs.h >>conftest.$ac_ext
20809 cat >>conftest.$ac_ext <<_ACEOF
20810 /* end confdefs.h. */
20811 #include <ext/hash_map>
20812 #ifdef HAVE_NAMESPACES
20813 using namespace std;
20818 hash_map<int, int> t; return 0;
20823 rm -f conftest.$ac_objext
20824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20825 (eval $ac_compile) 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } &&
20829 { ac_try='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20835 ac_cv_cxx_have_ext_hash_map=std
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20840 ac_cv_cxx_have_ext_hash_map=no
20842 rm -f conftest.$ac_objext conftest.$ac_ext
20843 cat >conftest.$ac_ext <<_ACEOF
20844 #line $LINENO "configure"
20847 cat confdefs.h >>conftest.$ac_ext
20848 cat >>conftest.$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20850 #include <ext/hash_map>
20851 #ifdef HAVE_NAMESPACES
20852 using namespace __gnu_cxx;
20857 hash_map<int, int> t; return 0;
20862 rm -f conftest.$ac_objext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20864 (eval $ac_compile) 2>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try='test -s conftest.$ac_objext'
20869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870 (eval $ac_try) 2>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; }; then
20874 ac_cv_cxx_have_ext_hash_map=gnu
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20879 ac_cv_cxx_have_ext_hash_map=no
20881 rm -f conftest.$ac_objext conftest.$ac_ext
20883 ac_cpp='$CPP $CPPFLAGS'
20884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20890 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20891 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20892 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20894 cat >>confdefs.h <<\_ACEOF
20895 #define HAVE_STD_EXT_HASH_MAP
20899 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20901 cat >>confdefs.h <<\_ACEOF
20902 #define HAVE_GNU_EXT_HASH_MAP
20907 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20908 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20909 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20910 echo $ECHO_N "(cached) $ECHO_C" >&6
20916 ac_cpp='$CXXCPP $CPPFLAGS'
20917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20921 cat >conftest.$ac_ext <<_ACEOF
20922 #line $LINENO "configure"
20925 cat confdefs.h >>conftest.$ac_ext
20926 cat >>conftest.$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 #include <ext/hash_set>
20929 #ifdef HAVE_NAMESPACES
20930 using namespace std;
20935 hash_set<int> t; return 0;
20940 rm -f conftest.$ac_objext
20941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20942 (eval $ac_compile) 2>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } &&
20946 { ac_try='test -s conftest.$ac_objext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_cv_cxx_have_ext_hash_set=std
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20957 ac_cv_cxx_have_ext_hash_set=no
20959 rm -f conftest.$ac_objext conftest.$ac_ext
20960 cat >conftest.$ac_ext <<_ACEOF
20961 #line $LINENO "configure"
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 #include <ext/hash_set>
20968 #ifdef HAVE_NAMESPACES
20969 using namespace __gnu_cxx;
20974 hash_set<int> t; return 0;
20979 rm -f conftest.$ac_objext
20980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20981 (eval $ac_compile) 2>&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } &&
20985 { ac_try='test -s conftest.$ac_objext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_cv_cxx_have_ext_hash_set=gnu
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.$ac_ext >&5
20996 ac_cv_cxx_have_ext_hash_set=no
20998 rm -f conftest.$ac_objext conftest.$ac_ext
21000 ac_cpp='$CPP $CPPFLAGS'
21001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21007 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21008 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21009 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21011 cat >>confdefs.h <<\_ACEOF
21012 #define HAVE_STD_EXT_HASH_SET
21016 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21018 cat >>confdefs.h <<\_ACEOF
21019 #define HAVE_GNU_EXT_HASH_SET
21024 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21025 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21026 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21033 ac_cpp='$CXXCPP $CPPFLAGS'
21034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21038 cat >conftest.$ac_ext <<_ACEOF
21039 #line $LINENO "configure"
21042 cat confdefs.h >>conftest.$ac_ext
21043 cat >>conftest.$ac_ext <<_ACEOF
21044 /* end confdefs.h. */
21045 #include <ext/slist>
21046 #ifdef HAVE_NAMESPACES
21047 using namespace std;
21052 slist<int> s; return 0;
21057 rm -f conftest.$ac_objext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21059 (eval $ac_compile) 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } &&
21063 { ac_try='test -s conftest.$ac_objext'
21064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065 (eval $ac_try) 2>&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); }; }; then
21069 ac_cv_cxx_have_ext_slist=std
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21074 ac_cv_cxx_have_ext_slist=no
21076 rm -f conftest.$ac_objext conftest.$ac_ext
21077 cat >conftest.$ac_ext <<_ACEOF
21078 #line $LINENO "configure"
21081 cat confdefs.h >>conftest.$ac_ext
21082 cat >>conftest.$ac_ext <<_ACEOF
21083 /* end confdefs.h. */
21084 #include <ext/slist>
21085 #ifdef HAVE_NAMESPACES
21086 using namespace __gnu_cxx;
21091 slist<int> s; return 0;
21096 rm -f conftest.$ac_objext
21097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21098 (eval $ac_compile) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } &&
21102 { ac_try='test -s conftest.$ac_objext'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 ac_cv_cxx_have_ext_slist=gnu
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.$ac_ext >&5
21113 ac_cv_cxx_have_ext_slist=no
21115 rm -f conftest.$ac_objext conftest.$ac_ext
21118 ac_cpp='$CPP $CPPFLAGS'
21119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21125 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21126 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21127 if test "$ac_cv_cxx_have_ext_slist" = std; then
21129 cat >>confdefs.h <<\_ACEOF
21130 #define HAVE_EXT_SLIST std
21134 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21136 cat >>confdefs.h <<\_ACEOF
21137 #define HAVE_EXT_SLIST gnu
21142 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21143 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21144 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21145 echo $ECHO_N "(cached) $ECHO_C" >&6
21151 ac_cpp='$CXXCPP $CPPFLAGS'
21152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21156 cat >conftest.$ac_ext <<_ACEOF
21157 #line $LINENO "configure"
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163 #include <iterator>
21164 #ifdef HAVE_NAMESPACES
21165 using namespace std;
21170 iterator<int,int,int> t; return 0;
21175 rm -f conftest.$ac_objext
21176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21177 (eval $ac_compile) 2>&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } &&
21181 { ac_try='test -s conftest.$ac_objext'
21182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183 (eval $ac_try) 2>&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; }; then
21187 ac_cv_cxx_have_std_iterator=yes
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21192 ac_cv_cxx_have_std_iterator=no
21194 rm -f conftest.$ac_objext conftest.$ac_ext
21196 ac_cpp='$CPP $CPPFLAGS'
21197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21203 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21204 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21205 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21207 cat >>confdefs.h <<\_ACEOF
21208 #define HAVE_STD_ITERATOR
21213 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21214 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21215 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21227 cat >conftest.$ac_ext <<_ACEOF
21228 #line $LINENO "configure"
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 #include <iterator>
21235 #ifdef HAVE_NAMESPACES
21236 using namespace std;
21241 bidirectional_iterator<int,int> t; return 0;
21246 rm -f conftest.$ac_objext
21247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21248 (eval $ac_compile) 2>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } &&
21252 { ac_try='test -s conftest.$ac_objext'
21253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21254 (eval $ac_try) 2>&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; }; then
21258 ac_cv_cxx_have_bi_iterator=yes
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21263 ac_cv_cxx_have_bi_iterator=no
21265 rm -f conftest.$ac_objext conftest.$ac_ext
21267 ac_cpp='$CPP $CPPFLAGS'
21268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21274 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21275 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21276 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21278 cat >>confdefs.h <<\_ACEOF
21279 #define HAVE_BI_ITERATOR
21284 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21285 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21286 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21287 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 ac_cpp='$CXXCPP $CPPFLAGS'
21294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21298 cat >conftest.$ac_ext <<_ACEOF
21299 #line $LINENO "configure"
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 #include <iterator>
21306 #ifdef HAVE_NAMESPACES
21307 using namespace std;
21312 forward_iterator<int,int> t; return 0;
21317 rm -f conftest.$ac_objext
21318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21319 (eval $ac_compile) 2>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try='test -s conftest.$ac_objext'
21324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21325 (eval $ac_try) 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; }; then
21329 ac_cv_cxx_have_fwd_iterator=yes
21331 echo "$as_me: failed program was:" >&5
21332 sed 's/^/| /' conftest.$ac_ext >&5
21334 ac_cv_cxx_have_fwd_iterator=no
21336 rm -f conftest.$ac_objext conftest.$ac_ext
21338 ac_cpp='$CPP $CPPFLAGS'
21339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21345 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21346 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21347 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21349 cat >>confdefs.h <<\_ACEOF
21350 #define HAVE_FWD_ITERATOR
21356 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21357 # for constant arguments. Useless!
21358 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21359 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21360 if test "${ac_cv_working_alloca_h+set}" = set; then
21361 echo $ECHO_N "(cached) $ECHO_C" >&6
21363 cat >conftest.$ac_ext <<_ACEOF
21364 #line $LINENO "configure"
21367 cat confdefs.h >>conftest.$ac_ext
21368 cat >>conftest.$ac_ext <<_ACEOF
21369 /* end confdefs.h. */
21370 #include <alloca.h>
21374 char *p = (char *) alloca (2 * sizeof (int));
21379 rm -f conftest.$ac_objext conftest$ac_exeext
21380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21381 (eval $ac_link) 2>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } &&
21385 { ac_try='test -s conftest$ac_exeext'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; }; then
21391 ac_cv_working_alloca_h=yes
21393 echo "$as_me: failed program was:" >&5
21394 sed 's/^/| /' conftest.$ac_ext >&5
21396 ac_cv_working_alloca_h=no
21398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21400 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21401 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21402 if test $ac_cv_working_alloca_h = yes; then
21404 cat >>confdefs.h <<\_ACEOF
21405 #define HAVE_ALLOCA_H 1
21410 echo "$as_me:$LINENO: checking for alloca" >&5
21411 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21412 if test "${ac_cv_func_alloca_works+set}" = set; then
21413 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 cat >conftest.$ac_ext <<_ACEOF
21416 #line $LINENO "configure"
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21423 # define alloca __builtin_alloca
21426 # include <malloc.h>
21427 # define alloca _alloca
21430 # include <alloca.h>
21435 # ifndef alloca /* predefined by HP cc +Olibcalls */
21446 char *p = (char *) alloca (1);
21451 rm -f conftest.$ac_objext conftest$ac_exeext
21452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21453 (eval $ac_link) 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } &&
21457 { ac_try='test -s conftest$ac_exeext'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; }; then
21463 ac_cv_func_alloca_works=yes
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.$ac_ext >&5
21468 ac_cv_func_alloca_works=no
21470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21472 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21473 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21475 if test $ac_cv_func_alloca_works = yes; then
21477 cat >>confdefs.h <<\_ACEOF
21478 #define HAVE_ALLOCA 1
21482 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21483 # that cause trouble. Some versions do not even contain alloca or
21484 # contain a buggy version. If you still want to use their alloca,
21485 # use ar to extract alloca.o from them instead of compiling alloca.c.
21487 ALLOCA=alloca.$ac_objext
21489 cat >>confdefs.h <<\_ACEOF
21494 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21495 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21496 if test "${ac_cv_os_cray+set}" = set; then
21497 echo $ECHO_N "(cached) $ECHO_C" >&6
21499 cat >conftest.$ac_ext <<_ACEOF
21500 #line $LINENO "configure"
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 #if defined(CRAY) && ! defined(CRAY2)
21513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21514 $EGREP "webecray" >/dev/null 2>&1; then
21522 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21523 echo "${ECHO_T}$ac_cv_os_cray" >&6
21524 if test $ac_cv_os_cray = yes; then
21525 for ac_func in _getb67 GETB67 getb67; do
21526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21527 echo "$as_me:$LINENO: checking for $ac_func" >&5
21528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21529 if eval "test \"\${$as_ac_var+set}\" = set"; then
21530 echo $ECHO_N "(cached) $ECHO_C" >&6
21532 cat >conftest.$ac_ext <<_ACEOF
21533 #line $LINENO "configure"
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 /* System header to define __stub macros and hopefully few prototypes,
21540 which can conflict with char $ac_func (); below.
21541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21542 <limits.h> exists even on freestanding compilers. */
21544 # include <limits.h>
21546 # include <assert.h>
21548 /* Override any gcc2 internal prototype to avoid an error. */
21553 /* We use char because int might match the return type of a gcc2
21554 builtin and then its argument prototype would still apply. */
21556 /* The GNU C library defines this for functions which it implements
21557 to always fail with ENOSYS. Some functions are actually named
21558 something starting with __ and the normal name is an alias. */
21559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21562 char (*f) () = $ac_func;
21571 return f != $ac_func;
21576 rm -f conftest.$ac_objext conftest$ac_exeext
21577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21578 (eval $ac_link) 2>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try='test -s conftest$ac_exeext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 eval "$as_ac_var=yes"
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21593 eval "$as_ac_var=no"
21595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21599 if test `eval echo '${'$as_ac_var'}'` = yes; then
21601 cat >>confdefs.h <<_ACEOF
21602 #define CRAY_STACKSEG_END $ac_func
21611 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21612 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21613 if test "${ac_cv_c_stack_direction+set}" = set; then
21614 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 if test "$cross_compiling" = yes; then
21617 ac_cv_c_stack_direction=0
21619 cat >conftest.$ac_ext <<_ACEOF
21620 #line $LINENO "configure"
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21627 find_stack_direction ()
21629 static char *addr = 0;
21634 return find_stack_direction ();
21637 return (&dummy > addr) ? 1 : -1;
21643 exit (find_stack_direction () < 0);
21646 rm -f conftest$ac_exeext
21647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21648 (eval $ac_link) 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21653 (eval $ac_try) 2>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; }; then
21657 ac_cv_c_stack_direction=1
21659 echo "$as_me: program exited with status $ac_status" >&5
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.$ac_ext >&5
21663 ( exit $ac_status )
21664 ac_cv_c_stack_direction=-1
21666 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21669 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21670 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21672 cat >>confdefs.h <<_ACEOF
21673 #define STACK_DIRECTION $ac_cv_c_stack_direction
21679 if test $ac_cv_c_compiler_gnu = yes; then
21680 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21681 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21682 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21685 ac_pattern="Autoconf.*'x'"
21686 cat >conftest.$ac_ext <<_ACEOF
21687 #line $LINENO "configure"
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21697 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21698 ac_cv_prog_gcc_traditional=yes
21700 ac_cv_prog_gcc_traditional=no
21705 if test $ac_cv_prog_gcc_traditional = no; then
21706 cat >conftest.$ac_ext <<_ACEOF
21707 #line $LINENO "configure"
21710 cat confdefs.h >>conftest.$ac_ext
21711 cat >>conftest.$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 #include <termio.h>
21716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21717 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21718 ac_cv_prog_gcc_traditional=yes
21724 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21725 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21726 if test $ac_cv_prog_gcc_traditional = yes; then
21727 CC="$CC -traditional"
21731 echo "$as_me:$LINENO: checking for working memcmp" >&5
21732 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21733 if test "${ac_cv_func_memcmp_working+set}" = set; then
21734 echo $ECHO_N "(cached) $ECHO_C" >&6
21736 if test "$cross_compiling" = yes; then
21737 ac_cv_func_memcmp_working=no
21739 cat >conftest.$ac_ext <<_ACEOF
21740 #line $LINENO "configure"
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21751 /* Some versions of memcmp are not 8-bit clean. */
21752 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21753 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21756 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21757 or more and with at least one buffer not starting on a 4-byte boundary.
21758 William Lewis provided this test program. */
21763 for (i = 0; i < 4; i++)
21767 strcpy (a, "--------01111111");
21768 strcpy (b, "--------10000000");
21769 if (memcmp (a, b, 16) >= 0)
21779 rm -f conftest$ac_exeext
21780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21781 (eval $ac_link) 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21786 (eval $ac_try) 2>&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); }; }; then
21790 ac_cv_func_memcmp_working=yes
21792 echo "$as_me: program exited with status $ac_status" >&5
21793 echo "$as_me: failed program was:" >&5
21794 sed 's/^/| /' conftest.$ac_ext >&5
21796 ( exit $ac_status )
21797 ac_cv_func_memcmp_working=no
21799 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21802 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21803 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21804 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21808 for ac_header in stdlib.h unistd.h
21810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21812 echo "$as_me:$LINENO: checking for $ac_header" >&5
21813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21815 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21820 # Is the header compilable?
21821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21823 cat >conftest.$ac_ext <<_ACEOF
21824 #line $LINENO "configure"
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830 $ac_includes_default
21831 #include <$ac_header>
21833 rm -f conftest.$ac_objext
21834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21835 (eval $ac_compile) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try='test -s conftest.$ac_objext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21845 ac_header_compiler=yes
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.$ac_ext >&5
21850 ac_header_compiler=no
21852 rm -f conftest.$ac_objext conftest.$ac_ext
21853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21854 echo "${ECHO_T}$ac_header_compiler" >&6
21856 # Is the header present?
21857 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21859 cat >conftest.$ac_ext <<_ACEOF
21860 #line $LINENO "configure"
21863 cat confdefs.h >>conftest.$ac_ext
21864 cat >>conftest.$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21866 #include <$ac_header>
21868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21871 grep -v '^ *+' conftest.er1 >conftest.err
21873 cat conftest.err >&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); } >/dev/null; then
21876 if test -s conftest.err; then
21877 ac_cpp_err=$ac_c_preproc_warn_flag
21884 if test -z "$ac_cpp_err"; then
21885 ac_header_preproc=yes
21887 echo "$as_me: failed program was:" >&5
21888 sed 's/^/| /' conftest.$ac_ext >&5
21890 ac_header_preproc=no
21892 rm -f conftest.err conftest.$ac_ext
21893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21894 echo "${ECHO_T}$ac_header_preproc" >&6
21896 # So? What about this header?
21897 case $ac_header_compiler:$ac_header_preproc in
21899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21905 ## ------------------------------------ ##
21906 ## Report this to bug-autoconf@gnu.org. ##
21907 ## ------------------------------------ ##
21910 sed "s/^/$as_me: WARNING: /" >&2
21913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21921 ## ------------------------------------ ##
21922 ## Report this to bug-autoconf@gnu.org. ##
21923 ## ------------------------------------ ##
21926 sed "s/^/$as_me: WARNING: /" >&2
21929 echo "$as_me:$LINENO: checking for $ac_header" >&5
21930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21932 echo $ECHO_N "(cached) $ECHO_C" >&6
21934 eval "$as_ac_Header=$ac_header_preproc"
21936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21941 cat >>confdefs.h <<_ACEOF
21942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21950 for ac_func in getpagesize
21952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21953 echo "$as_me:$LINENO: checking for $ac_func" >&5
21954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21955 if eval "test \"\${$as_ac_var+set}\" = set"; then
21956 echo $ECHO_N "(cached) $ECHO_C" >&6
21958 cat >conftest.$ac_ext <<_ACEOF
21959 #line $LINENO "configure"
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 /* System header to define __stub macros and hopefully few prototypes,
21966 which can conflict with char $ac_func (); below.
21967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21968 <limits.h> exists even on freestanding compilers. */
21970 # include <limits.h>
21972 # include <assert.h>
21974 /* Override any gcc2 internal prototype to avoid an error. */
21979 /* We use char because int might match the return type of a gcc2
21980 builtin and then its argument prototype would still apply. */
21982 /* The GNU C library defines this for functions which it implements
21983 to always fail with ENOSYS. Some functions are actually named
21984 something starting with __ and the normal name is an alias. */
21985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21988 char (*f) () = $ac_func;
21997 return f != $ac_func;
22002 rm -f conftest.$ac_objext conftest$ac_exeext
22003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22004 (eval $ac_link) 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } &&
22008 { ac_try='test -s conftest$ac_exeext'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22014 eval "$as_ac_var=yes"
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22019 eval "$as_ac_var=no"
22021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22025 if test `eval echo '${'$as_ac_var'}'` = yes; then
22026 cat >>confdefs.h <<_ACEOF
22027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22033 echo "$as_me:$LINENO: checking for working mmap" >&5
22034 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22035 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22036 echo $ECHO_N "(cached) $ECHO_C" >&6
22038 if test "$cross_compiling" = yes; then
22039 ac_cv_func_mmap_fixed_mapped=no
22041 cat >conftest.$ac_ext <<_ACEOF
22042 #line $LINENO "configure"
22045 cat confdefs.h >>conftest.$ac_ext
22046 cat >>conftest.$ac_ext <<_ACEOF
22047 /* end confdefs.h. */
22048 $ac_includes_default
22049 /* malloc might have been renamed as rpl_malloc. */
22052 /* Thanks to Mike Haertel and Jim Avera for this test.
22053 Here is a matrix of mmap possibilities:
22054 mmap private not fixed
22055 mmap private fixed at somewhere currently unmapped
22056 mmap private fixed at somewhere already mapped
22057 mmap shared not fixed
22058 mmap shared fixed at somewhere currently unmapped
22059 mmap shared fixed at somewhere already mapped
22060 For private mappings, we should verify that changes cannot be read()
22061 back from the file, nor mmap's back from the file at a different
22062 address. (There have been systems where private was not correctly
22063 implemented like the infamous i386 svr4.0, and systems where the
22064 VM page cache was not coherent with the file system buffer cache
22065 like early versions of FreeBSD and possibly contemporary NetBSD.)
22066 For shared mappings, we should conversely verify that changes get
22067 propagated back to all the places they're supposed to be.
22069 Grep wants private fixed already mapped.
22070 The main things grep needs to know about mmap are:
22071 * does it exist and is it safe to write into the mmap'd area
22072 * how to use it (BSD variants) */
22075 #include <sys/mman.h>
22077 #if !STDC_HEADERS && !HAVE_STDLIB_H
22081 /* This mess was copied from the GNU getpagesize.h. */
22082 #if !HAVE_GETPAGESIZE
22083 /* Assume that all systems that can run configure have sys/param.h. */
22084 # if !HAVE_SYS_PARAM_H
22085 # define HAVE_SYS_PARAM_H 1
22088 # ifdef _SC_PAGESIZE
22089 # define getpagesize() sysconf(_SC_PAGESIZE)
22090 # else /* no _SC_PAGESIZE */
22091 # if HAVE_SYS_PARAM_H
22092 # include <sys/param.h>
22093 # ifdef EXEC_PAGESIZE
22094 # define getpagesize() EXEC_PAGESIZE
22095 # else /* no EXEC_PAGESIZE */
22097 # define getpagesize() NBPG * CLSIZE
22100 # endif /* no CLSIZE */
22101 # else /* no NBPG */
22103 # define getpagesize() NBPC
22104 # else /* no NBPC */
22106 # define getpagesize() PAGESIZE
22107 # endif /* PAGESIZE */
22108 # endif /* no NBPC */
22109 # endif /* no NBPG */
22110 # endif /* no EXEC_PAGESIZE */
22111 # else /* no HAVE_SYS_PARAM_H */
22112 # define getpagesize() 8192 /* punt totally */
22113 # endif /* no HAVE_SYS_PARAM_H */
22114 # endif /* no _SC_PAGESIZE */
22116 #endif /* no HAVE_GETPAGESIZE */
22121 char *data, *data2, *data3;
22125 pagesize = getpagesize ();
22127 /* First, make a file with some known garbage in it. */
22128 data = (char *) malloc (pagesize);
22131 for (i = 0; i < pagesize; ++i)
22132 *(data + i) = rand ();
22134 fd = creat ("conftest.mmap", 0600);
22137 if (write (fd, data, pagesize) != pagesize)
22141 /* Next, try to mmap the file at a fixed address which already has
22142 something else allocated at it. If we can, also make sure that
22143 we see the same garbage. */
22144 fd = open ("conftest.mmap", O_RDWR);
22147 data2 = (char *) malloc (2 * pagesize);
22150 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22151 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22152 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22154 for (i = 0; i < pagesize; ++i)
22155 if (*(data + i) != *(data2 + i))
22158 /* Finally, make sure that changes to the mapped area do not
22159 percolate back to the file as seen by read(). (This is a bug on
22160 some variants of i386 svr4.0.) */
22161 for (i = 0; i < pagesize; ++i)
22162 *(data2 + i) = *(data2 + i) + 1;
22163 data3 = (char *) malloc (pagesize);
22166 if (read (fd, data3, pagesize) != pagesize)
22168 for (i = 0; i < pagesize; ++i)
22169 if (*(data + i) != *(data3 + i))
22175 rm -f conftest$ac_exeext
22176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22177 (eval $ac_link) 2>&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 (eval $ac_try) 2>&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; }; then
22186 ac_cv_func_mmap_fixed_mapped=yes
22188 echo "$as_me: program exited with status $ac_status" >&5
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.$ac_ext >&5
22192 ( exit $ac_status )
22193 ac_cv_func_mmap_fixed_mapped=no
22195 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22198 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22199 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22200 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22202 cat >>confdefs.h <<\_ACEOF
22203 #define HAVE_MMAP 1
22207 rm -f conftest.mmap
22209 echo "$as_me:$LINENO: checking for mmap of files" >&5
22210 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22211 if test "${ac_cv_func_mmap_file+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 ac_cpp='$CPP $CPPFLAGS'
22218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22222 if test "$cross_compiling" = yes; then
22223 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22224 See \`config.log' for more details." >&5
22225 echo "$as_me: error: cannot run test program while cross compiling
22226 See \`config.log' for more details." >&2;}
22227 { (exit 1); exit 1; }; }
22229 cat >conftest.$ac_ext <<_ACEOF
22230 #line $LINENO "configure"
22233 cat confdefs.h >>conftest.$ac_ext
22234 cat >>conftest.$ac_ext <<_ACEOF
22235 /* end confdefs.h. */
22237 #ifdef HAVE_SYS_MMAN_H
22238 #include <sys/mman.h>
22241 #ifdef HAVE_SYS_TYPES_H
22242 #include <sys/types.h>
22245 #ifdef HAVE_FCNTL_H
22251 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22253 rm -f conftest$ac_exeext
22254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22255 (eval $ac_link) 2>&5
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22260 (eval $ac_try) 2>&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); }; }; then
22264 ac_cv_func_mmap_file=yes
22266 echo "$as_me: program exited with status $ac_status" >&5
22267 echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.$ac_ext >&5
22270 ( exit $ac_status )
22271 ac_cv_func_mmap_file=no
22273 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22276 ac_cpp='$CPP $CPPFLAGS'
22277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22283 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22284 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22285 if test "$ac_cv_func_mmap_file" = yes; then
22286 cat >>confdefs.h <<\_ACEOF
22287 #define HAVE_MMAP_FILE 1
22294 if test ${ac_cv_func_mmap_file} = "no"
22296 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22297 echo "$as_me: error: mmap() of files required but not found" >&2;}
22298 { (exit 1); exit 1; }; }
22300 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22301 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22302 if test "${ac_cv_header_mmap_anon+set}" = set; then
22303 echo $ECHO_N "(cached) $ECHO_C" >&6
22308 ac_cpp='$CPP $CPPFLAGS'
22309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22313 cat >conftest.$ac_ext <<_ACEOF
22314 #line $LINENO "configure"
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320 #include <sys/mman.h>
22321 #include <unistd.h>
22326 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22331 rm -f conftest.$ac_objext
22332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22333 (eval $ac_compile) 2>&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); } &&
22337 { ac_try='test -s conftest.$ac_objext'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_header_mmap_anon=yes
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22348 ac_cv_header_mmap_anon=no
22350 rm -f conftest.$ac_objext conftest.$ac_ext
22352 ac_cpp='$CPP $CPPFLAGS'
22353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22359 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22360 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22361 if test "$ac_cv_header_mmap_anon" = yes; then
22362 cat >>confdefs.h <<\_ACEOF
22363 #define HAVE_MMAP_ANONYMOUS 1
22368 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22369 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22370 if test "${ac_cv_type_signal+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 cat >conftest.$ac_ext <<_ACEOF
22374 #line $LINENO "configure"
22377 cat confdefs.h >>conftest.$ac_ext
22378 cat >>conftest.$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 #include <sys/types.h>
22381 #include <signal.h>
22386 extern "C" void (*signal (int, void (*)(int)))(int);
22388 void (*signal ()) ();
22399 rm -f conftest.$ac_objext
22400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22401 (eval $ac_compile) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } &&
22405 { ac_try='test -s conftest.$ac_objext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 ac_cv_type_signal=void
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22416 ac_cv_type_signal=int
22418 rm -f conftest.$ac_objext conftest.$ac_ext
22420 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22421 echo "${ECHO_T}$ac_cv_type_signal" >&6
22423 cat >>confdefs.h <<_ACEOF
22424 #define RETSIGTYPE $ac_cv_type_signal
22437 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22440 echo "$as_me:$LINENO: checking for $ac_func" >&5
22441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22442 if eval "test \"\${$as_ac_var+set}\" = set"; then
22443 echo $ECHO_N "(cached) $ECHO_C" >&6
22445 cat >conftest.$ac_ext <<_ACEOF
22446 #line $LINENO "configure"
22449 cat confdefs.h >>conftest.$ac_ext
22450 cat >>conftest.$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22452 /* System header to define __stub macros and hopefully few prototypes,
22453 which can conflict with char $ac_func (); below.
22454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22455 <limits.h> exists even on freestanding compilers. */
22457 # include <limits.h>
22459 # include <assert.h>
22461 /* Override any gcc2 internal prototype to avoid an error. */
22466 /* We use char because int might match the return type of a gcc2
22467 builtin and then its argument prototype would still apply. */
22469 /* The GNU C library defines this for functions which it implements
22470 to always fail with ENOSYS. Some functions are actually named
22471 something starting with __ and the normal name is an alias. */
22472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22475 char (*f) () = $ac_func;
22484 return f != $ac_func;
22489 rm -f conftest.$ac_objext conftest$ac_exeext
22490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22491 (eval $ac_link) 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } &&
22495 { ac_try='test -s conftest$ac_exeext'
22496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22497 (eval $ac_try) 2>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); }; }; then
22501 eval "$as_ac_var=yes"
22503 echo "$as_me: failed program was:" >&5
22504 sed 's/^/| /' conftest.$ac_ext >&5
22506 eval "$as_ac_var=no"
22508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22512 if test `eval echo '${'$as_ac_var'}'` = yes; then
22513 cat >>confdefs.h <<_ACEOF
22514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22522 echo "$as_me:$LINENO: checking for mmap" >&5
22523 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22524 if test "${ac_cv_func_mmap+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22527 cat >conftest.$ac_ext <<_ACEOF
22528 #line $LINENO "configure"
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534 /* System header to define __stub macros and hopefully few prototypes,
22535 which can conflict with char mmap (); below.
22536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22537 <limits.h> exists even on freestanding compilers. */
22539 # include <limits.h>
22541 # include <assert.h>
22543 /* Override any gcc2 internal prototype to avoid an error. */
22548 /* We use char because int might match the return type of a gcc2
22549 builtin and then its argument prototype would still apply. */
22551 /* The GNU C library defines this for functions which it implements
22552 to always fail with ENOSYS. Some functions are actually named
22553 something starting with __ and the normal name is an alias. */
22554 #if defined (__stub_mmap) || defined (__stub___mmap)
22557 char (*f) () = mmap;
22571 rm -f conftest.$ac_objext conftest$ac_exeext
22572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22573 (eval $ac_link) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } &&
22577 { ac_try='test -s conftest$ac_exeext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 ac_cv_func_mmap=yes
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.$ac_ext >&5
22590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22592 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22593 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22594 if test $ac_cv_func_mmap = yes; then
22597 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22598 echo "$as_me: error: Function mmap() required but not found" >&2;}
22599 { (exit 1); exit 1; }; }
22602 echo "$as_me:$LINENO: checking for mprotect" >&5
22603 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22604 if test "${ac_cv_func_mprotect+set}" = set; then
22605 echo $ECHO_N "(cached) $ECHO_C" >&6
22607 cat >conftest.$ac_ext <<_ACEOF
22608 #line $LINENO "configure"
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 /* System header to define __stub macros and hopefully few prototypes,
22615 which can conflict with char mprotect (); below.
22616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22617 <limits.h> exists even on freestanding compilers. */
22619 # include <limits.h>
22621 # include <assert.h>
22623 /* Override any gcc2 internal prototype to avoid an error. */
22628 /* We use char because int might match the return type of a gcc2
22629 builtin and then its argument prototype would still apply. */
22631 /* The GNU C library defines this for functions which it implements
22632 to always fail with ENOSYS. Some functions are actually named
22633 something starting with __ and the normal name is an alias. */
22634 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22637 char (*f) () = mprotect;
22646 return f != mprotect;
22651 rm -f conftest.$ac_objext conftest$ac_exeext
22652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22653 (eval $ac_link) 2>&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); } &&
22657 { ac_try='test -s conftest$ac_exeext'
22658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22659 (eval $ac_try) 2>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); }; }; then
22663 ac_cv_func_mprotect=yes
22665 echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22668 ac_cv_func_mprotect=no
22670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22672 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22673 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22674 if test $ac_cv_func_mprotect = yes; then
22677 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22678 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22679 { (exit 1); exit 1; }; }
22684 # Check whether --enable-purify or --disable-purify was given.
22685 if test "${enable_purify+set}" = set; then
22686 enableval="$enable_purify"
22691 if test ${enableval} = "no"
22696 ENABLE_PURIFY=ENABLE_PURIFY=1
22700 # Check whether --enable-optimized or --disable-optimized was given.
22701 if test "${enable_optimized+set}" = set; then
22702 enableval="$enable_optimized"
22707 if test ${enableval} = "no"
22712 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22716 # Check whether --enable-spec or --disable-spec was given.
22717 if test "${enable_spec+set}" = set; then
22718 enableval="$enable_spec"
22723 if test ${enableval} = "no"
22728 USE_SPEC=USE_SPEC=1
22732 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22733 if test "${enable_precompiled_bytecode+set}" = set; then
22734 enableval="$enable_precompiled_bytecode"
22739 if test ${enableval} = "no"
22744 UPB=USE_PRECOMPILED_BYTECODE=1
22749 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22750 if test "${enable_llc_diffs+set}" = set; then
22751 enableval="$enable_llc_diffs"
22756 if test ${enableval} = "no"
22758 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22765 # Check whether --enable-jit or --disable-jit was given.
22766 if test "${enable_jit+set}" = set; then
22767 enableval="$enable_jit"
22773 if test ${enableval} = "no"
22780 JIT=TARGET_HAS_JIT=1
22784 JIT=TARGET_HAS_JIT=1
22796 # Check whether --with-spec or --without-spec was given.
22797 if test "${with_spec+set}" = set; then
22798 withval="$with_spec"
22802 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22807 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22808 if test "${with_llvmgccdir+set}" = set; then
22809 withval="$with_llvmgccdir"
22810 LLVMGCCDIR=$withval
22815 # Check whether --with-bcrepos or --without-bcrepos was given.
22816 if test "${with_bcrepos+set}" = set; then
22817 withval="$with_bcrepos"
22821 BCR=/home/vadve/lattner/LLVMPrograms
22826 # Check whether --with-papi or --without-papi was given.
22827 if test "${with_papi+set}" = set; then
22828 withval="$with_papi"
22832 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22837 # Check whether --with-purify or --without-purify was given.
22838 if test "${with_purify+set}" = set; then
22839 withval="$with_purify"
22845 ac_config_files="$ac_config_files Makefile.config"
22846 cat >confcache <<\_ACEOF
22847 # This file is a shell script that caches the results of configure
22848 # tests run on this system so they can be shared between configure
22849 # scripts and configure runs, see configure's option --config-cache.
22850 # It is not useful on other systems. If it contains results you don't
22851 # want to keep, you may remove or edit it.
22853 # config.status only pays attention to the cache file if you give it
22854 # the --recheck option to rerun configure.
22856 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22857 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22858 # following values.
22862 # The following way of writing the cache mishandles newlines in values,
22863 # but we know of no workaround that is simple, portable, and efficient.
22864 # So, don't put newlines in cache variables' values.
22865 # Ultrix sh set writes to stderr and can't be redirected directly,
22866 # and sets the high bit in the cache file unless we assign to the vars.
22869 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22871 # `set' does not quote correctly, so add quotes (double-quote
22872 # substitution turns \\\\ into \\, and sed turns \\ into \).
22875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22878 # `set' quotes correctly as required by POSIX, so do not add quotes.
22880 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22887 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22889 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22891 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22892 if test -w $cache_file; then
22893 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22894 cat confcache >$cache_file
22896 echo "not updating unwritable cache $cache_file"
22901 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22902 # Let make expand exec_prefix.
22903 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22905 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22906 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22907 # trailing colons and then remove the whole line if VPATH becomes empty
22908 # (actually we leave an empty line to preserve line numbers).
22909 if test "x$srcdir" = x.; then
22910 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22911 s/:*\$(srcdir):*/:/;
22912 s/:*\${srcdir}:*/:/;
22914 s/^\([^=]*=[ ]*\):*/\1/;
22920 DEFS=-DHAVE_CONFIG_H
22924 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22925 # 1. Remove the extension, and $U if already installed.
22926 ac_i=`echo "$ac_i" |
22927 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22929 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22930 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22932 LIBOBJS=$ac_libobjs
22934 LTLIBOBJS=$ac_ltlibobjs
22938 : ${CONFIG_STATUS=./config.status}
22939 ac_clean_files_save=$ac_clean_files
22940 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22941 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22942 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22943 cat >$CONFIG_STATUS <<_ACEOF
22945 # Generated by $as_me.
22946 # Run this file to recreate the current configuration.
22947 # Compiler output produced by configure, useful for debugging
22948 # configure, is in config.log if it exists.
22951 ac_cs_recheck=false
22953 SHELL=\${CONFIG_SHELL-$SHELL}
22956 cat >>$CONFIG_STATUS <<\_ACEOF
22957 ## --------------------- ##
22958 ## M4sh Initialization. ##
22959 ## --------------------- ##
22961 # Be Bourne compatible
22962 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22965 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22966 # is contrary to our usage. Disable this feature.
22967 alias -g '${1+"$@"}'='"$@"'
22968 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22972 # Support unset when possible.
22973 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22980 # Work around bugs in pre-3.0 UWIN ksh.
22981 $as_unset ENV MAIL MAILPATH
22988 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22989 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22990 LC_TELEPHONE LC_TIME
22992 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22993 eval $as_var=C; export $as_var
22999 # Required to use basename.
23000 if expr a : '\(a\)' >/dev/null 2>&1; then
23006 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23007 as_basename=basename
23013 # Name of the executable.
23014 as_me=`$as_basename "$0" ||
23015 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23016 X"$0" : 'X\(//\)$' \| \
23017 X"$0" : 'X\(/\)$' \| \
23018 . : '\(.\)' 2>/dev/null ||
23020 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23021 /^X\/\(\/\/\)$/{ s//\1/; q; }
23022 /^X\/\(\/\).*/{ s//\1/; q; }
23026 # PATH needs CR, and LINENO needs CR and PATH.
23027 # Avoid depending upon Character Ranges.
23028 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23029 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23030 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23031 as_cr_digits='0123456789'
23032 as_cr_alnum=$as_cr_Letters$as_cr_digits
23034 # The user is always right.
23035 if test "${PATH_SEPARATOR+set}" != set; then
23036 echo "#! /bin/sh" >conf$$.sh
23037 echo "exit 0" >>conf$$.sh
23039 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23048 as_lineno_1=$LINENO
23049 as_lineno_2=$LINENO
23050 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23051 test "x$as_lineno_1" != "x$as_lineno_2" &&
23052 test "x$as_lineno_3" = "x$as_lineno_2" || {
23053 # Find who we are. Look in the path if we contain no path at all
23056 *[\\/]* ) as_myself=$0 ;;
23057 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23058 for as_dir in $PATH
23061 test -z "$as_dir" && as_dir=.
23062 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23067 # We did not find ourselves, most probably we were run as `sh COMMAND'
23068 # in which case we are not to be found in the path.
23069 if test "x$as_myself" = x; then
23072 if test ! -f "$as_myself"; then
23073 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23074 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23075 { (exit 1); exit 1; }; }
23077 case $CONFIG_SHELL in
23079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23080 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23083 test -z "$as_dir" && as_dir=.
23084 for as_base in sh bash ksh sh5; do
23087 if ("$as_dir/$as_base" -c '
23088 as_lineno_1=$LINENO
23089 as_lineno_2=$LINENO
23090 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23091 test "x$as_lineno_1" != "x$as_lineno_2" &&
23092 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23093 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23094 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23095 CONFIG_SHELL=$as_dir/$as_base
23096 export CONFIG_SHELL
23097 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23105 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23106 # uniformly replaced by the line number. The first 'sed' inserts a
23107 # line-number line before each line; the second 'sed' does the real
23108 # work. The second script uses 'N' to pair each line-number line
23109 # with the numbered line, and appends trailing '-' during
23110 # substitution so that $LINENO is not a special case at line end.
23111 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23112 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23113 sed '=' <$as_myself |
23118 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23121 s,^['$as_cr_digits']*\n,,
23122 ' >$as_me.lineno &&
23123 chmod +x $as_me.lineno ||
23124 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23125 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23126 { (exit 1); exit 1; }; }
23128 # Don't try to exec as it changes $[0], causing all sort of problems
23129 # (the dirname of $[0] is not the place where we might find the
23130 # original and so on. Autoconf is especially sensible to this).
23132 # Exit status is that of the last command.
23137 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23138 *c*,-n*) ECHO_N= ECHO_C='
23140 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23141 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23144 if expr a : '\(a\)' >/dev/null 2>&1; then
23150 rm -f conf$$ conf$$.exe conf$$.file
23152 if ln -s conf$$.file conf$$ 2>/dev/null; then
23153 # We could just check for DJGPP; but this test a) works b) is more generic
23154 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23155 if test -f conf$$.exe; then
23156 # Don't use ln at all; we don't have any links
23161 elif ln conf$$.file conf$$ 2>/dev/null; then
23166 rm -f conf$$ conf$$.exe conf$$.file
23168 if mkdir -p . 2>/dev/null; then
23174 as_executable_p="test -f"
23176 # Sed expression to map a string onto a valid CPP name.
23177 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23179 # Sed expression to map a string onto a valid variable name.
23180 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23184 # We need space, tab and new line, in precisely that order.
23194 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23195 # report actual input values of CONFIG_FILES etc. instead of their
23196 # values after options handling. Logging --version etc. is OK.
23200 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23201 ## Running $as_me. ##
23206 This file was extended by [LLVM] $as_me [1.0], which was
23207 generated by GNU Autoconf 2.57. Invocation command line was
23209 CONFIG_FILES = $CONFIG_FILES
23210 CONFIG_HEADERS = $CONFIG_HEADERS
23211 CONFIG_LINKS = $CONFIG_LINKS
23212 CONFIG_COMMANDS = $CONFIG_COMMANDS
23216 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23220 # Files that config.status was made for.
23221 if test -n "$ac_config_files"; then
23222 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23225 if test -n "$ac_config_headers"; then
23226 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23229 if test -n "$ac_config_links"; then
23230 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23233 if test -n "$ac_config_commands"; then
23234 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23237 cat >>$CONFIG_STATUS <<\_ACEOF
23240 \`$as_me' instantiates files from templates according to the
23241 current configuration.
23243 Usage: $0 [OPTIONS] [FILE]...
23245 -h, --help print this help, then exit
23246 -V, --version print version number, then exit
23247 -q, --quiet do not print progress messages
23248 -d, --debug don't remove temporary files
23249 --recheck update $as_me by reconfiguring in the same conditions
23250 --file=FILE[:TEMPLATE]
23251 instantiate the configuration file FILE
23252 --header=FILE[:TEMPLATE]
23253 instantiate the configuration header FILE
23255 Configuration files:
23258 Configuration headers:
23261 Configuration commands:
23264 Report bugs to <bug-autoconf@gnu.org>."
23267 cat >>$CONFIG_STATUS <<_ACEOF
23269 [LLVM] config.status [1.0]
23270 configured by $0, generated by GNU Autoconf 2.57,
23271 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23273 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23274 Free Software Foundation, Inc.
23275 This config.status script is free software; the Free Software Foundation
23276 gives unlimited permission to copy, distribute and modify it."
23281 cat >>$CONFIG_STATUS <<\_ACEOF
23282 # If no file are specified by the user, then we need to provide default
23283 # value. By we need to know if files were specified by the user.
23289 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23290 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23298 *) # This is not an option, so the user has probably given explicit
23301 ac_need_defaults=false;;
23305 # Handling of the options.
23307 cat >>$CONFIG_STATUS <<\_ACEOF
23308 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23310 --version | --vers* | -V )
23311 echo "$ac_cs_version"; exit 0 ;;
23313 # Conflict between --help and --header
23314 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23315 Try \`$0 --help' for more information." >&5
23316 echo "$as_me: error: ambiguous option: $1
23317 Try \`$0 --help' for more information." >&2;}
23318 { (exit 1); exit 1; }; };;
23319 --help | --hel | -h )
23320 echo "$ac_cs_usage"; exit 0 ;;
23321 --debug | --d* | -d )
23323 --file | --fil | --fi | --f )
23325 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23326 ac_need_defaults=false;;
23327 --header | --heade | --head | --hea )
23329 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23330 ac_need_defaults=false;;
23331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23332 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23335 # This is an error.
23336 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23337 Try \`$0 --help' for more information." >&5
23338 echo "$as_me: error: unrecognized option: $1
23339 Try \`$0 --help' for more information." >&2;}
23340 { (exit 1); exit 1; }; } ;;
23342 *) ac_config_targets="$ac_config_targets $1" ;;
23348 ac_configure_extra_args=
23350 if $ac_cs_silent; then
23352 ac_configure_extra_args="$ac_configure_extra_args --silent"
23356 cat >>$CONFIG_STATUS <<_ACEOF
23357 if \$ac_cs_recheck; then
23358 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23359 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23364 cat >>$CONFIG_STATUS <<_ACEOF
23366 # INIT-COMMANDS section.
23369 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23549 cat >>$CONFIG_STATUS <<\_ACEOF
23550 for ac_config_target in $ac_config_targets
23552 case "$ac_config_target" in
23553 # Handling of arguments.
23554 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23555 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23556 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23557 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23558 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23559 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23560 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23561 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23562 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23563 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23564 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23565 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23566 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23567 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23568 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23569 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23570 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23571 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23572 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23573 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23574 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23575 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23576 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23577 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23578 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23579 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23580 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23581 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23582 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23583 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23584 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23585 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23586 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23587 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23588 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23589 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23590 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23591 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23592 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23593 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23594 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23595 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23596 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23597 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23598 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23599 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23600 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23601 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23602 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23603 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23604 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23605 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23606 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23607 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23608 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23609 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23610 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23611 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23612 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23613 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23614 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23615 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23616 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23617 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23618 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23619 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23620 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23621 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23622 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23623 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23624 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23625 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23626 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23627 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23628 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23629 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23630 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23631 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23632 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23633 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23634 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23635 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23636 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23637 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23638 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23639 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23640 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23641 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23642 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23643 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23644 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23645 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23646 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23647 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23648 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23649 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23650 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23651 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23652 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23653 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23654 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23655 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23656 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23657 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23658 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23659 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23660 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23661 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23662 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23663 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23664 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23665 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23666 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23667 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23668 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23669 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23670 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23671 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23672 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23673 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23674 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23675 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23676 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23677 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23678 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23679 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23680 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23681 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23682 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23683 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23684 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23685 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23686 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23687 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23688 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23689 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23690 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23691 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23692 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23693 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23694 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23695 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23696 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23697 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23698 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23699 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23700 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23701 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23702 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23703 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23704 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23705 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23706 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23707 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23708 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23709 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23710 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23711 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23712 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23713 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23714 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23715 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23716 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23717 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23718 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23719 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23720 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23721 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23722 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23723 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23724 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23725 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23726 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23727 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23728 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23729 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23730 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23731 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23732 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23733 { (exit 1); exit 1; }; };;
23737 # If the user did not use the arguments to specify the items to instantiate,
23738 # then the envvar interface is used. Set only those that are not.
23739 # We use the long form for the default assignment because of an extremely
23740 # bizarre bug on SunOS 4.1.3.
23741 if $ac_need_defaults; then
23742 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23743 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23744 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23747 # Have a temporary directory for convenience. Make it in the build tree
23748 # simply because there is no reason to put it here, and in addition,
23749 # creating and moving files from /tmp can sometimes cause problems.
23750 # Create a temporary directory, and hook for its removal unless debugging.
23753 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23754 trap '{ (exit 1); exit 1; }' 1 2 13 15
23757 # Create a (secure) tmp directory for tmp files.
23760 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23761 test -n "$tmp" && test -d "$tmp"
23764 tmp=./confstat$$-$RANDOM
23765 (umask 077 && mkdir $tmp)
23768 echo "$me: cannot create a temporary directory in ." >&2
23769 { (exit 1); exit 1; }
23774 cat >>$CONFIG_STATUS <<_ACEOF
23777 # CONFIG_FILES section.
23780 # No need to generate the scripts if there are no CONFIG_FILES.
23781 # This happens for instance when ./config.status config.h
23782 if test -n "\$CONFIG_FILES"; then
23783 # Protect against being on the right side of a sed subst in config.status.
23784 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23785 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23786 s,@SHELL@,$SHELL,;t t
23787 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23788 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23789 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23790 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23791 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23792 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23793 s,@exec_prefix@,$exec_prefix,;t t
23794 s,@prefix@,$prefix,;t t
23795 s,@program_transform_name@,$program_transform_name,;t t
23796 s,@bindir@,$bindir,;t t
23797 s,@sbindir@,$sbindir,;t t
23798 s,@libexecdir@,$libexecdir,;t t
23799 s,@datadir@,$datadir,;t t
23800 s,@sysconfdir@,$sysconfdir,;t t
23801 s,@sharedstatedir@,$sharedstatedir,;t t
23802 s,@localstatedir@,$localstatedir,;t t
23803 s,@libdir@,$libdir,;t t
23804 s,@includedir@,$includedir,;t t
23805 s,@oldincludedir@,$oldincludedir,;t t
23806 s,@infodir@,$infodir,;t t
23807 s,@mandir@,$mandir,;t t
23808 s,@build_alias@,$build_alias,;t t
23809 s,@host_alias@,$host_alias,;t t
23810 s,@target_alias@,$target_alias,;t t
23811 s,@DEFS@,$DEFS,;t t
23812 s,@ECHO_C@,$ECHO_C,;t t
23813 s,@ECHO_N@,$ECHO_N,;t t
23814 s,@ECHO_T@,$ECHO_T,;t t
23815 s,@LIBS@,$LIBS,;t t
23816 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23817 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23818 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23819 s,@build@,$build,;t t
23820 s,@build_cpu@,$build_cpu,;t t
23821 s,@build_vendor@,$build_vendor,;t t
23822 s,@build_os@,$build_os,;t t
23823 s,@host@,$host,;t t
23824 s,@host_cpu@,$host_cpu,;t t
23825 s,@host_vendor@,$host_vendor,;t t
23826 s,@host_os@,$host_os,;t t
23827 s,@target@,$target,;t t
23828 s,@target_cpu@,$target_cpu,;t t
23829 s,@target_vendor@,$target_vendor,;t t
23830 s,@target_os@,$target_os,;t t
23832 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23833 s,@ARCH@,$ARCH,;t t
23835 s,@CXXFLAGS@,$CXXFLAGS,;t t
23836 s,@LDFLAGS@,$LDFLAGS,;t t
23837 s,@CPPFLAGS@,$CPPFLAGS,;t t
23838 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23839 s,@EXEEXT@,$EXEEXT,;t t
23840 s,@OBJEXT@,$OBJEXT,;t t
23842 s,@CFLAGS@,$CFLAGS,;t t
23843 s,@ac_ct_CC@,$ac_ct_CC,;t t
23845 s,@ifGNUmake@,$ifGNUmake,;t t
23847 s,@LEXLIB@,$LEXLIB,;t t
23848 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23849 s,@YACC@,$YACC,;t t
23850 s,@EGREP@,$EGREP,;t t
23851 s,@LN_S@,$LN_S,;t t
23852 s,@ECHO@,$ECHO,;t t
23854 s,@ac_ct_AR@,$ac_ct_AR,;t t
23855 s,@RANLIB@,$RANLIB,;t t
23856 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23857 s,@STRIP@,$STRIP,;t t
23858 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23859 s,@CXXCPP@,$CXXCPP,;t t
23861 s,@FFLAGS@,$FFLAGS,;t t
23862 s,@ac_ct_F77@,$ac_ct_F77,;t t
23863 s,@LIBTOOL@,$LIBTOOL,;t t
23864 s,@RPWD@,$RPWD,;t t
23867 s,@MKDIR@,$MKDIR,;t t
23868 s,@DATE@,$DATE,;t t
23871 s,@ETAGS@,$ETAGS,;t t
23872 s,@PURIFY@,$PURIFY,;t t
23873 s,@PYTHON@,$PYTHON,;t t
23874 s,@QMTEST@,$QMTEST,;t t
23875 s,@ALLOCA@,$ALLOCA,;t t
23876 s,@LIBOBJS@,$LIBOBJS,;t t
23877 s,@MMAP_FILE@,$MMAP_FILE,;t t
23878 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23879 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23880 s,@USE_SPEC@,$USE_SPEC,;t t
23882 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23884 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23886 s,@PAPIDIR@,$PAPIDIR,;t t
23887 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23892 cat >>$CONFIG_STATUS <<\_ACEOF
23893 # Split the substitutions into bite-sized pieces for seds with
23894 # small command number limits, like on Digital OSF/1 and HP-UX.
23895 ac_max_sed_lines=48
23896 ac_sed_frag=1 # Number of current file.
23897 ac_beg=1 # First line for current file.
23898 ac_end=$ac_max_sed_lines # Line after last line for current file.
23901 while $ac_more_lines; do
23902 if test $ac_beg -gt 1; then
23903 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23905 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23907 if test ! -s $tmp/subs.frag; then
23908 ac_more_lines=false
23910 # The purpose of the label and of the branching condition is to
23911 # speed up the sed processing (if there are no `@' at all, there
23912 # is no need to browse any of the substitutions).
23913 # These are the two extra sed commands mentioned above.
23915 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23916 if test -z "$ac_sed_cmds"; then
23917 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23919 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23921 ac_sed_frag=`expr $ac_sed_frag + 1`
23923 ac_end=`expr $ac_end + $ac_max_sed_lines`
23926 if test -z "$ac_sed_cmds"; then
23929 fi # test -n "$CONFIG_FILES"
23932 cat >>$CONFIG_STATUS <<\_ACEOF
23933 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23934 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23936 - | *:- | *:-:* ) # input from stdin
23938 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23939 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23940 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23941 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23942 * ) ac_file_in=$ac_file.in ;;
23945 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23946 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23947 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23948 X"$ac_file" : 'X\(//\)[^/]' \| \
23949 X"$ac_file" : 'X\(//\)$' \| \
23950 X"$ac_file" : 'X\(/\)' \| \
23951 . : '\(.\)' 2>/dev/null ||
23953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23955 /^X\(\/\/\)$/{ s//\1/; q; }
23956 /^X\(\/\).*/{ s//\1/; q; }
23958 { if $as_mkdir_p; then
23963 while test ! -d "$as_dir"; do
23964 as_dirs="$as_dir $as_dirs"
23965 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23967 X"$as_dir" : 'X\(//\)[^/]' \| \
23968 X"$as_dir" : 'X\(//\)$' \| \
23969 X"$as_dir" : 'X\(/\)' \| \
23970 . : '\(.\)' 2>/dev/null ||
23972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23974 /^X\(\/\/\)$/{ s//\1/; q; }
23975 /^X\(\/\).*/{ s//\1/; q; }
23978 test ! -n "$as_dirs" || mkdir $as_dirs
23979 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23980 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23981 { (exit 1); exit 1; }; }; }
23985 if test "$ac_dir" != .; then
23986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23987 # A "../" for each directory in $ac_dir_suffix.
23988 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23990 ac_dir_suffix= ac_top_builddir=
23994 .) # No --srcdir option. We are building in place.
23996 if test -z "$ac_top_builddir"; then
23999 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24001 [\\/]* | ?:[\\/]* ) # Absolute path.
24002 ac_srcdir=$srcdir$ac_dir_suffix;
24003 ac_top_srcdir=$srcdir ;;
24004 *) # Relative path.
24005 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24006 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24008 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24010 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24011 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24012 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24013 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24017 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24018 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24021 if test x"$ac_file" != x-; then
24022 { echo "$as_me:$LINENO: creating $ac_file" >&5
24023 echo "$as_me: creating $ac_file" >&6;}
24026 # Let's still pretend it is `configure' which instantiates (i.e., don't
24027 # use $as_me), people would be surprised to read:
24028 # /* config.h. Generated by config.status. */
24029 if test x"$ac_file" = x-; then
24032 configure_input="$ac_file. "
24034 configure_input=$configure_input"Generated from `echo $ac_file_in |
24035 sed 's,.*/,,'` by configure."
24037 # First look for the input files in the build tree, otherwise in the
24039 ac_file_inputs=`IFS=:
24040 for f in $ac_file_in; do
24042 -) echo $tmp/stdin ;;
24044 # Absolute (can't be DOS-style, as IFS=:)
24045 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24046 echo "$as_me: error: cannot find input file: $f" >&2;}
24047 { (exit 1); exit 1; }; }
24050 if test -f "$f"; then
24053 elif test -f "$srcdir/$f"; then
24058 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24059 echo "$as_me: error: cannot find input file: $f" >&2;}
24060 { (exit 1); exit 1; }; }
24063 done` || { (exit 1); exit 1; }
24065 cat >>$CONFIG_STATUS <<_ACEOF
24069 cat >>$CONFIG_STATUS <<\_ACEOF
24071 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24072 s,@configure_input@,$configure_input,;t t
24073 s,@srcdir@,$ac_srcdir,;t t
24074 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24075 s,@top_srcdir@,$ac_top_srcdir,;t t
24076 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24077 s,@builddir@,$ac_builddir,;t t
24078 s,@abs_builddir@,$ac_abs_builddir,;t t
24079 s,@top_builddir@,$ac_top_builddir,;t t
24080 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24081 s,@INSTALL@,$ac_INSTALL,;t t
24082 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24084 if test x"$ac_file" != x-; then
24085 mv $tmp/out $ac_file
24093 cat >>$CONFIG_STATUS <<\_ACEOF
24096 # CONFIG_HEADER section.
24099 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24100 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24102 # ac_d sets the value in "#define NAME VALUE" lines.
24103 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24104 ac_dB='[ ].*$,\1#\2'
24107 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24108 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24109 ac_uB='$,\1#\2define\3'
24113 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24114 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24116 - | *:- | *:-:* ) # input from stdin
24118 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24119 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24120 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24121 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24122 * ) ac_file_in=$ac_file.in ;;
24125 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24126 echo "$as_me: creating $ac_file" >&6;}
24128 # First look for the input files in the build tree, otherwise in the
24130 ac_file_inputs=`IFS=:
24131 for f in $ac_file_in; do
24133 -) echo $tmp/stdin ;;
24135 # Absolute (can't be DOS-style, as IFS=:)
24136 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24137 echo "$as_me: error: cannot find input file: $f" >&2;}
24138 { (exit 1); exit 1; }; }
24141 if test -f "$f"; then
24144 elif test -f "$srcdir/$f"; then
24149 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24150 echo "$as_me: error: cannot find input file: $f" >&2;}
24151 { (exit 1); exit 1; }; }
24154 done` || { (exit 1); exit 1; }
24155 # Remove the trailing spaces.
24156 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24160 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24161 # `conftest.undefs', that substitutes the proper values into
24162 # config.h.in to produce config.h. The first handles `#define'
24163 # templates, and the second `#undef' templates.
24164 # And first: Protect against being on the right side of a sed subst in
24165 # config.status. Protect against being in an unquoted here document
24166 # in config.status.
24167 rm -f conftest.defines conftest.undefs
24168 # Using a here document instead of a string reduces the quoting nightmare.
24169 # Putting comments in sed scripts is not portable.
24171 # `end' is used to avoid that the second main sed command (meant for
24172 # 0-ary CPP macros) applies to n-ary macro definitions.
24173 # See the Autoconf documentation for `clear'.
24174 cat >confdef2sed.sed <<\_ACEOF
24179 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24181 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24184 # If some macros were called several times there might be several times
24185 # the same #defines, which is useless. Nevertheless, we may not want to
24186 # sort them, since we want the *last* AC-DEFINE to be honored.
24187 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24188 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24189 rm -f confdef2sed.sed
24191 # This sed command replaces #undef with comments. This is necessary, for
24192 # example, in the case of _POSIX_SOURCE, which is predefined and required
24193 # on some systems where configure will not decide to define it.
24194 cat >>conftest.undefs <<\_ACEOF
24195 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24198 # Break up conftest.defines because some shells have a limit on the size
24199 # of here documents, and old seds have small limits too (100 cmds).
24200 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24201 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24202 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24203 echo ' :' >>$CONFIG_STATUS
24204 rm -f conftest.tail
24205 while grep . conftest.defines >/dev/null
24207 # Write a limited-size here document to $tmp/defines.sed.
24208 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24209 # Speed up: don't consider the non `#define' lines.
24210 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24211 # Work around the forget-to-reset-the-flag bug.
24212 echo 't clr' >>$CONFIG_STATUS
24213 echo ': clr' >>$CONFIG_STATUS
24214 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24216 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24218 mv $tmp/out $tmp/in
24220 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24221 rm -f conftest.defines
24222 mv conftest.tail conftest.defines
24224 rm -f conftest.defines
24225 echo ' fi # grep' >>$CONFIG_STATUS
24226 echo >>$CONFIG_STATUS
24228 # Break up conftest.undefs because some shells have a limit on the size
24229 # of here documents, and old seds have small limits too (100 cmds).
24230 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24231 rm -f conftest.tail
24232 while grep . conftest.undefs >/dev/null
24234 # Write a limited-size here document to $tmp/undefs.sed.
24235 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24236 # Speed up: don't consider the non `#undef'
24237 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24238 # Work around the forget-to-reset-the-flag bug.
24239 echo 't clr' >>$CONFIG_STATUS
24240 echo ': clr' >>$CONFIG_STATUS
24241 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24243 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24245 mv $tmp/out $tmp/in
24247 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24248 rm -f conftest.undefs
24249 mv conftest.tail conftest.undefs
24251 rm -f conftest.undefs
24253 cat >>$CONFIG_STATUS <<\_ACEOF
24254 # Let's still pretend it is `configure' which instantiates (i.e., don't
24255 # use $as_me), people would be surprised to read:
24256 # /* config.h. Generated by config.status. */
24257 if test x"$ac_file" = x-; then
24258 echo "/* Generated by configure. */" >$tmp/config.h
24260 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24262 cat $tmp/in >>$tmp/config.h
24264 if test x"$ac_file" != x-; then
24265 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24266 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24267 echo "$as_me: $ac_file is unchanged" >&6;}
24269 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24270 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24271 X"$ac_file" : 'X\(//\)[^/]' \| \
24272 X"$ac_file" : 'X\(//\)$' \| \
24273 X"$ac_file" : 'X\(/\)' \| \
24274 . : '\(.\)' 2>/dev/null ||
24276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24278 /^X\(\/\/\)$/{ s//\1/; q; }
24279 /^X\(\/\).*/{ s//\1/; q; }
24281 { if $as_mkdir_p; then
24286 while test ! -d "$as_dir"; do
24287 as_dirs="$as_dir $as_dirs"
24288 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24289 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24290 X"$as_dir" : 'X\(//\)[^/]' \| \
24291 X"$as_dir" : 'X\(//\)$' \| \
24292 X"$as_dir" : 'X\(/\)' \| \
24293 . : '\(.\)' 2>/dev/null ||
24295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24296 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24297 /^X\(\/\/\)$/{ s//\1/; q; }
24298 /^X\(\/\).*/{ s//\1/; q; }
24301 test ! -n "$as_dirs" || mkdir $as_dirs
24302 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24303 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24304 { (exit 1); exit 1; }; }; }
24307 mv $tmp/config.h $ac_file
24311 rm -f $tmp/config.h
24315 cat >>$CONFIG_STATUS <<\_ACEOF
24318 # CONFIG_COMMANDS section.
24320 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24321 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24322 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24323 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24324 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24325 X"$ac_dest" : 'X\(//\)[^/]' \| \
24326 X"$ac_dest" : 'X\(//\)$' \| \
24327 X"$ac_dest" : 'X\(/\)' \| \
24328 . : '\(.\)' 2>/dev/null ||
24330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24331 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24332 /^X\(\/\/\)$/{ s//\1/; q; }
24333 /^X\(\/\).*/{ s//\1/; q; }
24337 if test "$ac_dir" != .; then
24338 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24339 # A "../" for each directory in $ac_dir_suffix.
24340 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24342 ac_dir_suffix= ac_top_builddir=
24346 .) # No --srcdir option. We are building in place.
24348 if test -z "$ac_top_builddir"; then
24351 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24353 [\\/]* | ?:[\\/]* ) # Absolute path.
24354 ac_srcdir=$srcdir$ac_dir_suffix;
24355 ac_top_srcdir=$srcdir ;;
24356 *) # Relative path.
24357 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24358 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24360 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24362 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24363 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24364 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24365 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24368 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24369 echo "$as_me: executing $ac_dest commands" >&6;}
24371 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24372 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24373 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24374 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24375 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24376 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24377 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24378 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24379 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24380 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24381 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24382 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24383 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24384 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24385 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24386 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24387 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24388 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24389 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24390 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24391 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24392 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24393 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24394 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24395 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24396 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24397 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24398 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24399 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24400 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24401 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24402 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24403 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24404 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24405 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24406 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24407 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24408 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24409 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24410 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24411 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24412 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24413 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24414 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24415 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24416 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24417 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24418 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24419 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24420 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24421 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24422 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24423 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24424 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24425 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24426 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24427 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24428 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24429 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24430 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24431 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24432 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24433 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24434 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24435 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24436 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24437 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24438 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24439 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24440 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24441 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 ;;
24442 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 ;;
24443 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 ;;
24444 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 ;;
24445 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 ;;
24446 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 ;;
24447 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 ;;
24448 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 ;;
24449 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 ;;
24450 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 ;;
24451 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 ;;
24452 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 ;;
24453 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 ;;
24454 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 ;;
24455 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 ;;
24456 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 ;;
24457 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24458 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24459 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24460 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24461 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 ;;
24462 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 ;;
24463 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 ;;
24464 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24465 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 ;;
24466 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 ;;
24467 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 ;;
24468 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 ;;
24469 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 ;;
24470 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 ;;
24471 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 ;;
24472 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 ;;
24473 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 ;;
24474 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 ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 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 ;;
24482 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 ;;
24483 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 ;;
24484 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 ;;
24485 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 ;;
24486 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 ;;
24487 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 ;;
24488 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 ;;
24489 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 ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24498 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24499 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24500 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 ;;
24501 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24502 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24503 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24504 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24505 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24506 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24507 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 ;;
24508 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 ;;
24509 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 ;;
24510 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 ;;
24511 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24512 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24513 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 ;;
24514 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24515 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24516 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24517 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24518 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24519 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24520 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24521 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24522 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24523 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24524 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24525 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24526 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24527 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24528 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24529 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24530 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24531 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24532 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24533 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24534 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24535 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24536 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24537 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24538 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24539 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24540 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24541 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24542 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24543 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24544 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24545 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24550 cat >>$CONFIG_STATUS <<\_ACEOF
24552 { (exit 0); exit 0; }
24554 chmod +x $CONFIG_STATUS
24555 ac_clean_files=$ac_clean_files_save
24558 # configure is writing to config.log, and then calls config.status.
24559 # config.status does its own redirection, appending to config.log.
24560 # Unfortunately, on DOS this fails, as config.log is still kept open
24561 # by configure, so config.status won't be able to write to it; its
24562 # output is simply discarded. So we exec the FD to /dev/null,
24563 # effectively closing config.log, so it can be properly (re)opened and
24564 # appended to by config.status. When coming back to configure, we
24565 # need to make the FD available again.
24566 if test "$no_create" != yes; then
24568 ac_config_status_args=
24569 test "$silent" = yes &&
24570 ac_config_status_args="$ac_config_status_args --quiet"
24572 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24574 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24575 # would make configure fail if this is the last instruction.
24576 $ac_cs_success || { (exit 1); exit 1; }